/* Logo Styling */
.site-logo {
    height: 40px;
    width: auto;
    display: block;
}

.site-logo svg {
    height: 100%;
    width: auto;
}

.site-logo .logo-color {
    fill: var(--text-primary);
}

[data-theme="dark"] .site-logo .logo-color {
    fill: var(--color-primary);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-hover) 100%);
    color: var(--text-inverse);
    position: relative;
    min-height: 300px;
}

/* Wave SVG */
.wave-bottom {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.wave-svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 50px;
    transform: rotateX(180deg);
}

/* Section Badge - Framework doesn't have pill badges */
.section-badge {
    display: inline-block;
    background: rgba(var(--color-primary-rgb), 0.1);
    color: var(--color-primary);
    padding: 0.5rem 1rem;
    border-radius: 999px;
    font-weight: 500;
    margin-bottom: 1rem;
}

/* Stats - Framework doesn't have large number styles */
.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-primary);
}

/* Quick Links Bar */
.quick-links-bar {
    background-color: var(--bg-inverse);
    border-bottom: 1px solid var(--border-primary);
}

.quick-links-bar a {
    color: var(--text-inverse);
    transition: opacity var(--transition-fast);
}

.quick-links-bar a:hover {
    opacity: 0.8;
    color: var(--text-inverse);
}

footer {
    border-top: 1px solid var(--border-primary);
    background-color: var(--bg-secondary);
}

/* Portal */
.portal-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
            max-width: 1200px;
            margin: 0 auto;
            padding: 2rem;
        }

        .portal-card {
            background: var(--bg-secondary);
            border-radius: var(--radius-lg);
            padding: 2rem;
            text-align: center;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            position: relative;
            overflow: hidden;
            border: 1px solid var(--border-primary);
        }

        .portal-card:not(.disabled):hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-lg);
        }

        .portal-card.disabled {
            opacity: 0.5;
            cursor: not-allowed;
        }

        .portal-card.disabled::after {
            content: "Coming Soon";
            position: absolute;
            top: 1rem;
            right: 1rem;
            background: var(--color-primary);
            color: var(--text-inverse);
            padding: 0.25rem 0.75rem;
            border-radius: var(--radius-full);
            font-size: 0.75rem;
            font-weight: 500;
        }

        .portal-icon {
            width: 64px;
            height: 64px;
            margin: 0 auto 1.5rem;
            background: var(--color-primary);
            border-radius: var(--radius-lg);
            display: flex;
            align-items: center;
            justify-content: center;
            animation: pulse 2s infinite;
        }

        .portal-icon svg {
            width: 32px;
            height: 32px;
            stroke: var(--text-inverse);
        }

        .portal-card h3 {
            margin-bottom: 1rem;
            color: var(--text-primary);
        }

        .portal-card p {
            color: var(--text-muted);
            margin-bottom: 2rem;
            min-height: 3em;
        }

        .portal-card .echo-button {
            width: 100%;
            margin-top: auto;
        }

        @keyframes pulse {
            0% {
                box-shadow: 0 0 0 0 rgba(var(--color-primary-rgb), 0.4);
            }
            70% {
                box-shadow: 0 0 0 10px rgba(var(--color-primary-rgb), 0);
            }
            100% {
                box-shadow: 0 0 0 0 rgba(var(--color-primary-rgb), 0);
            }
        }

        /* Logo Styling */
        .site-logo {
            display: block;
        }

        .site-logo svg {
            height: 100%;
            width: 100%;
        }

        /* Always white logo in hero section regardless of theme */
        .hero-portal .site-logo .logo-color {
            fill: white;
        }

        /* Hero Portal */
        .hero-portal {
            text-align: center;
            padding: 4rem 2rem;
            background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-hover) 100%);
            color: var(--text-inverse);
            margin-bottom: 2rem;
        }