/* ============================================
   Header, Hero, Trust Bar — Premium Light/Dark
   ============================================ */

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--bg-overlay);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border-light);
    transition: all var(--t-theme);
}

.header-inner {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 600;
    color: var(--text-primary);
}

.logo span { color: var(--gold); }

.logo-icon {
    width: 34px;
    height: 34px;
    background: var(--gold-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    color: #fff;
    font-weight: 700;
    font-family: var(--font-heading);
}

/* Nav */
.nav {
    display: flex;
    align-items: center;
    gap: 0.15rem;
}

.nav-link {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--text-secondary);
    letter-spacing: 0.01em;
    transition: color var(--t-fast);
    position: relative;
}

.nav-link:hover { color: var(--gold); }

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 1rem;
    right: 1rem;
    height: 1.5px;
    background: var(--gold);
    transform: scaleX(0);
    transition: transform var(--t-normal);
    border-radius: 1px;
}

.nav-link:hover::after { transform: scaleX(1); }

/* Dropdown */
.nav-dropdown { position: relative; }

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 230px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--t-normal);
    box-shadow: var(--shadow-lg);
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(4px);
}

.nav-dropdown-link {
    display: block;
    padding: 0.55rem 1.25rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
    transition: all var(--t-fast);
}

.nav-dropdown-link:hover {
    color: var(--gold);
    background: var(--gold-glow);
    padding-left: 1.5rem;
}

.nav-dropdown-label {
    font-size: 0.65rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-tertiary);
    padding: 0.6rem 1.25rem 0.25rem;
    font-weight: 600;
}

/* Partner & Theme Buttons */
.nav-partner {
    margin-left: 0.5rem;
    padding: 0.45rem 1.25rem;
    background: var(--gold-gradient);
    border-radius: var(--radius);
    font-size: 0.8rem;
    font-weight: 500;
    color: #fff;
    letter-spacing: 0.02em;
    transition: all var(--t-normal);
    border: none;
}

.nav-partner:hover {
    box-shadow: var(--shadow-gold);
    transform: translateY(-1px);
}

.theme-toggle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--border-medium);
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    margin-left: 0.75rem;
    transition: all var(--t-normal);
    color: var(--text-secondary);
}

.theme-toggle:hover {
    border-color: var(--gold);
    color: var(--gold);
}

/* Mobile Menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 0.5rem;
    background: none;
    border: none;
}

.menu-toggle span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--text-primary);
    transition: all var(--t-normal);
    border-radius: 1px;
}

/* ============================================
   Hero — Elegant, Bright, Premium
   ============================================ */

.hero {
    min-height: calc(100vh - var(--footer-height, 130px));
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    padding-top: 100px;
    padding-bottom: 0;
    background: var(--bg-primary);
}

.hero > .container {
    display: flex;
    align-items: flex-start;
    padding-top: 1.5rem;
    padding-bottom: 0;
    flex-shrink: 0;
}
.hero .trust-bar {
    width: 100%;
    flex-shrink: 0;
    margin-top: auto;
    margin-bottom: auto;
}

.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -15%;
    width: 60%;
    height: 120%;
    background: radial-gradient(ellipse, var(--gold-glow) 0%, transparent 65%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--border-light);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 680px;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.72rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 1.25rem;
    padding: 0.4rem 1.25rem 0.4rem 1rem;
    border-left: 2px solid var(--gold);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.8rem, 6vw, 4.2rem);
    font-weight: 600;
    line-height: 1.12;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.hero-title span { color: var(--gold); }

.hero-description {
    font-size: 1.05rem;
    font-weight: 300;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 540px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ============================================
   Trust Bar
   ============================================ */

.trust-bar {
    background: rgba(255,255,255,0.02);
    padding: 1.3rem 0;
    border-top: 1px solid var(--border-light);
    transition: background-color var(--t-theme);
}

.trust-bar-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.88rem;
    color: var(--text-secondary);
}

.trust-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--gold-glow);
    border: 1px solid var(--gold-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: var(--gold);
    flex-shrink: 0;
}

.trust-item strong {
    color: var(--text-primary);
    font-weight: 600;
}

.trust-separator {
    width: 1px;
    height: 28px;
    background: var(--border-light);
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 968px) {
    .menu-toggle { display: flex; }

    .nav {
        position: fixed;
        top: 76px;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--bg-overlay);
        backdrop-filter: blur(24px);
        flex-direction: column;
        align-items: flex-start;
        padding: 2rem;
        gap: 0;
        transform: translateX(100%);
        transition: transform var(--t-normal);
    }

    .nav.active { transform: translateX(0); }

    .nav-link {
        padding: 0.85rem 0;
        font-size: 1.05rem;
        width: 100%;
    }

    .nav-link::after { display: none; }

    .nav-dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: transparent;
        border: none;
        box-shadow: none;
        padding-left: 1rem;
        display: none;
    }

    .nav-dropdown.active .nav-dropdown-menu { display: block; }
    .nav-partner { margin-left: 0; margin-top: 1rem; text-align: center; }
    .theme-toggle { margin-left: 0; margin-top: 0.75rem; }
}

@media (max-width: 600px) {
    .trust-bar-inner { flex-direction: column; gap: 1.25rem; }
    .trust-separator { display: none; }
    .hero-buttons { flex-direction: column; }
    .hero-buttons .btn { text-align: center; justify-content: center; }
}

/* Anchor-Sprung: Hero-padding-top 110px = scroll-margin-top + section-padding-top (48px) -> 62px */
section[id]:not(.hero) { scroll-margin-top: 78px; }
