:root {
    --font-serif: 'Instrument Serif', serif;
    --font-sans: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-sans);
    color: white;
    background-color: #050505;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Global Section Background Styling for Blending */
.hero-bg-container, .how-it-works, .pain-points, .pricing {
    position: relative;
    z-index: 1;
}

.hero-bg-container::before, .how-it-works::before, .pain-points::before, .pricing::before {
    content: '';
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    background-repeat: no-repeat;
    z-index: -1;
    pointer-events: none;
    /* Feathering the edges */
    -webkit-mask-image: linear-gradient(to bottom, transparent, black 20%, black 80%, transparent);
    mask-image: linear-gradient(to bottom, transparent, black 20%, black 80%, transparent);
    mix-blend-mode: screen;
}

/* Extend backgrounds to overlap without moving content */
.how-it-works::before, .pain-points::before, .pricing::before {
    top: -30vh;
    height: calc(100% + 30vh);
}

/* Glassmorphism Navbar - Now Globally Fixed */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 1.5rem 4rem;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.logo-container:hover {
    transform: scale(1.05);
}

.logo-icon {
    width: 24px;
    height: 24px;
    background-color: white;
    transform: rotate(45deg);
}

.logo-text {
    font-family: var(--font-serif);
    font-size: 2.25rem;
    color: white;
    font-style: italic;
    line-height: 1;
    transform: translateY(2px);
}

/* nav-actions — defined once below in auth section */

/* Mobile overlay — hidden by default on all viewports */
.mobile-menu-overlay {
    display: none;
}
.mobile-menu-close-btn {
    display: none;
}

.mobile-menu-btn {
    display: none; /* Hide on desktop */
}

.nav-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    background: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    padding: 0;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
    text-transform: lowercase;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.5rem 1.2rem;
    border-radius: 100px;
}

.nav-links a:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

.nav-login-btn {
    color: white;
    text-decoration: none;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.6rem 1.8rem;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 100px;
    transition: all 0.3s ease;
}

.nav-login-btn:hover {
    background: white;
    color: black;
}

/* Hero Section Container */
.hero-bg-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.hero-bg-container::before {
    background-image: url('hero section.png');
    /* Hero only needs bottom feathering */
    -webkit-mask-image: linear-gradient(to bottom, black 50%, transparent);
    mask-image: linear-gradient(to bottom, black 50%, transparent);
    mix-blend-mode: normal; /* Hero is the base */
}

@keyframes bgReveal {
    from { filter: brightness(0); }
    to { filter: brightness(1); }
}

/* Hero Section */
.hero {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 2rem 0; /* padding-top offsets the fixed navbar */
    text-align: center;
}

.hero-content {
    max-width: 900px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: 6rem;
    font-weight: 400;
    line-height: 1.05;
    color: white;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}

.hero-subtitle {
    font-family: var(--font-sans);
    font-size: 1.25rem;
    font-weight: 400;
    color: white;
    opacity: 0;
    max-width: 650px;
    line-height: 1.6;
    margin-bottom: 0.5rem;
    transform: translateY(20px);
    animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.5s forwards;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.hero-cta-group {
    display: flex;
    gap: 1.25rem;
    margin-top: 0.5rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.7s forwards;
}

/* Common CTA Button */
.cta-button {
    background-color: white;
    color: black;
    font-family: var(--font-sans);
    text-decoration: none;
    padding: 1.1rem 2.5rem;
    border-radius: 100px;
    font-weight: 600;
    font-size: 1.05rem;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, background-color 0.3s ease;
    border: 1px solid transparent;
    display: inline-block;
}

.cta-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3), 0 0 20px rgba(255, 255, 255, 0.2);
    background-color: #f5f5f5;
}

@keyframes fadeUp {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

.hero-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: white;
}

.hero-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    color: white;
}

/* ========================================= */
/* How It Works — Premium Redesign */
/* ========================================= */
.how-it-works {
    position: relative;
    padding: 0;
    padding-top: 8rem;
    margin-top: 0;
    min-height: 220vh;
    z-index: 2;
    background: #0a0a0a;
}

.how-it-works::before {
    background-image: url('how it works new.png');
    filter: brightness(1.5) saturate(1.2);
    opacity: 0.5;
}

/* Background layers */
.hiw-spotlight {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 80%;
    background: radial-gradient(ellipse at center, rgba(139, 74, 158, 0.06) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
    clip-path: inset(0);
}

.hiw-noise {
    position: absolute;
    inset: 0;
    background-image: url('data:image/svg+xml,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)"/%3E%3C/svg%3E');
    opacity: 0.02;
    pointer-events: none;
    z-index: 1;
}

/* Header */
.hiw-header {
    position: relative;
    z-index: 20;
    text-align: center;
    margin-bottom: 4rem;
    padding: 0 2rem;
}

.hiw-label {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    color: #8B4A9E;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    display: block;
}

.hiw-title {
    font-family: var(--font-serif);
    font-size: 5.5rem;
    font-weight: 400;
    color: white;
    margin: 0;
    line-height: 1.05;
}

/* Sticky Cards Wrapper */
.hiw-cards-wrapper {
    position: relative;
    padding-bottom: 10vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10;
    overflow: visible;
}

/* Each card sticky + stacked */
.hiw-card {
    position: sticky;
    width: 100%;
    max-width: 820px;
    margin: 0 auto 15vh;
    padding: 0 2rem;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    transform-origin: center top;
}

.hiw-card:nth-child(1) { top: 12vh; z-index: 10; }
.hiw-card:nth-child(2) { top: 16vh; z-index: 11; }
.hiw-card:nth-child(3) { top: 20vh; z-index: 12; margin-bottom: 5vh; }

/* Card Inner — Glassmorphism */
.hiw-card-inner {
    position: relative;
    width: 100%;
    background: rgba(255, 255, 255, 0.025);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 28px;
    padding: 3rem 3.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6),
                0 0 0 0.5px rgba(255, 255, 255, 0.05) inset;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.5s ease;
    overflow: hidden;
}

.hiw-card-inner:hover {
    transform: translateY(-6px);
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.7),
                0 0 40px rgba(139, 74, 158, 0.06),
                0 0 0 0.5px rgba(255, 255, 255, 0.08) inset;
}

/* Ambient glow behind card */
.hiw-card-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(ellipse at center, rgba(139, 74, 158, 0.04) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* Step Number Badge */
.hiw-step-badge {
    font-family: var(--font-serif);
    font-size: 5rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.04);
    line-height: 1;
    position: absolute;
    top: 1.5rem;
    right: 2.5rem;
    z-index: 1;
    user-select: none;
}

/* Card Header: icon + title */
.hiw-card-header {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    position: relative;
    z-index: 2;
}

.hiw-card-header h3 {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    font-weight: 400;
    color: white;
    margin: 0;
    line-height: 1.15;
}

/* Icons */
.hiw-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.35s ease;
}

.hiw-icon-accent {
    background: rgba(139, 74, 158, 0.12);
    border-color: rgba(139, 74, 158, 0.3);
    color: #CBA5D9;
}

.hiw-card-inner:hover .hiw-icon {
    border-color: rgba(139, 74, 158, 0.4);
    color: white;
}

/* Description */
.hiw-desc {
    font-family: var(--font-sans);
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.45);
    margin: 0;
    position: relative;
    z-index: 2;
    max-width: 600px;
}

/* Feature Pills */
.hiw-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    position: relative;
    z-index: 2;
    margin-top: 0.25rem;
}

.hiw-pill {
    font-family: var(--font-sans);
    font-size: 0.78rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 100px;
    padding: 0.4rem 1rem;
    letter-spacing: 0.02em;
    transition: all 0.3s ease;
}

.hiw-card-inner:hover .hiw-pill {
    color: rgba(255, 255, 255, 0.6);
    border-color: rgba(139, 74, 158, 0.2);
    background: rgba(139, 74, 158, 0.06);
}

/* HIW Mobile */
@media (max-width: 768px) {
    .how-it-works {
        min-height: 180vh;
        padding-top: 5rem;
        padding-bottom: 4rem;
    }
    .hiw-title {
        font-size: 3rem;
    }
    .hiw-header {
        margin-bottom: 2rem;
    }
    .hiw-cards-wrapper {
        padding-bottom: 5vh;
    }
    .hiw-card {
        margin-bottom: 8vh;
        max-width: 100%;
    }
    .hiw-card:nth-child(3) {
        margin-bottom: 0;
    }
    .hiw-card-inner {
        padding: 2rem 1.75rem;
    }
    .hiw-card-header h3 {
        font-size: 1.6rem;
    }
    .hiw-step-badge {
        font-size: 3rem;
        top: 1rem;
        right: 1.5rem;
    }
    .hiw-desc {
        font-size: 0.95rem;
    }
}

/* ========================================= */
/* ========================================= */
/* Pain Points Redesign */
/* ========================================= */
.pain-points {
    position: relative;
    width: 100%;
    padding: 12rem 2rem;
    background: #0a0a0a;
    overflow: hidden;
    z-index: 5;
}

/* Background Effects */
.pp-spotlight {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(ellipse at center, rgba(139, 74, 158, 0.08) 0%, transparent 65%);
    pointer-events: none;
    z-index: 0;
}

.pp-noise {
    position: absolute;
    inset: 0;
    background-image: url('data:image/svg+xml,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)"/%3E%3C/svg%3E');
    opacity: 0.025;
    pointer-events: none;
    z-index: 1;
}

/* Header */
.pp-header {
    position: relative;
    text-align: center;
    margin-bottom: 6rem;
    z-index: 2;
}

.pp-label {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    color: #8B4A9E;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    display: block;
}

.pp-title {
    font-family: var(--font-serif);
    font-size: 5.5rem;
    font-weight: 400;
    color: white;
    margin: 0;
    line-height: 1.05;
}

/* Two-column grid */
.pp-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 4rem;
    z-index: 2;
}

.pp-divider-glow {
    width: 1px;
    align-self: stretch;
    background: linear-gradient(to bottom, transparent 5%, rgba(139, 74, 158, 0.4) 30%, rgba(139, 74, 158, 0.4) 70%, transparent 95%);
    box-shadow: 0 0 15px rgba(139, 74, 158, 0.15);
}

/* Column tags */
.column-tag {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.45);
    text-transform: uppercase;
    margin-bottom: 2.5rem;
    position: relative;
    padding-bottom: 12px;
}

.column-tag::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 2px;
    background: #8B4A9E;
    border-radius: 1px;
}

.pp-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Glassmorphism Cards */
.pp-glass-card {
    position: relative;
    background: rgba(255, 255, 255, 0.025);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    padding: 2rem 2.25rem;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.pp-glass-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(139, 74, 158, 0.35);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4),
                0 0 25px rgba(139, 74, 158, 0.08);
}

/* Card Icon */
.pp-card-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.35s ease;
}

.pp-card-icon.highlight {
    background: rgba(139, 74, 158, 0.12);
    border-color: rgba(139, 74, 158, 0.3);
    color: #CBA5D9;
}

.pp-glass-card:hover .pp-card-icon {
    border-color: rgba(139, 74, 158, 0.45);
    color: white;
}

/* Card Text */
.pp-card-body h4 {
    font-family: var(--font-sans);
    font-size: 1.2rem;
    font-weight: 600;
    color: white;
    margin: 0 0 0.5rem 0;
}

.pp-card-body p {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.45);
    margin: 0;
}

/* Priority Card Accent */
.priority-high {
    background: linear-gradient(135deg, rgba(139, 74, 158, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
    border-color: rgba(139, 74, 158, 0.18);
}

.priority-high::after {
    content: '';
    position: absolute;
    top: -1px;
    right: 30px;
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(139, 74, 158, 0.7), transparent);
    border-radius: 1px;
}

/* Footer & CTA */
.pp-footer {
    position: relative;
    margin-top: 8rem;
    text-align: center;
    z-index: 2;
}

.pp-transition-text {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2.5rem;
    font-style: italic;
    font-weight: 300;
}

.magnetic-cta {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 1.25rem 3.5rem;
    background: white;
    color: #0a0a0a;
    text-decoration: none;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 1.05rem;
    border-radius: 100px;
    overflow: hidden;
    transition: transform 0.15s ease-out, box-shadow 0.3s ease;
}

.magnetic-cta span {
    position: relative;
    z-index: 2;
    display: inline-block;
    transition: transform 0.15s ease-out;
}

.magnetic-cta:hover {
    box-shadow: 0 0 40px rgba(139, 74, 158, 0.35);
}

.cta-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, #8B4A9E, #CBA5D9);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.magnetic-cta:hover .cta-glow {
    opacity: 0.08;
}

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.stagger-1 { transition-delay: 0.08s; }
.stagger-2 { transition-delay: 0.16s; }
.stagger-3 { transition-delay: 0.24s; }

/* Ambient Particles */
.pp-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.pp-particle {
    position: absolute;
    background: rgba(139, 74, 158, 0.35);
    border-radius: 50%;
    filter: blur(1px);
    animation: floatParticle linear infinite;
}

@keyframes floatParticle {
    0%   { transform: translateY(0) translateX(0); opacity: 0; }
    15%  { opacity: 0.5; }
    85%  { opacity: 0.5; }
    100% { transform: translateY(-80px) translateX(15px); opacity: 0; }
}

/* Pain Points Mobile */
@media (max-width: 900px) {
    .pain-points {
        padding: 6rem 1.5rem;
    }
    .pp-title {
        font-size: 3.2rem;
    }
    .pp-header {
        margin-bottom: 3.5rem;
    }
    .pp-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .pp-divider-glow {
        width: 100%;
        height: 1px;
        order: 2;
    }
    .pp-column.creators { order: 1; }
    .pp-column.brands { order: 3; }
    .pp-footer {
        margin-top: 4rem;
    }
    .pp-transition-text {
        font-size: 1.6rem;
    }
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem 2rem;
    }
    .hero-title { font-size: 4rem; }
    .hero-subtitle { font-size: 1.1rem; padding: 0 1rem; }
    .hero-cta-group { flex-direction: column; width: 100%; max-width: 350px; }
    .cta-button { text-align: center; width: 100%; }
    .pp-title { font-size: 3.5rem; }
}

/* ========================================= */
/* Pricing Section */
/* ========================================= */
.pricing {
    color: white;
    width: 100%;
    padding: 10rem 2rem;
    margin-top: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 4;
    background: #0a0a0a;
    position: relative;
}

.pricing::before {
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    mix-blend-mode: overlay;
    filter: none;
    opacity: 0.04;
    z-index: 0;
    -webkit-mask-image: none;
    mask-image: none;
}

.pricing-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
}

.pricing-title {
    font-family: var(--font-serif);
    font-size: 4.5rem;
    color: white;
    font-weight: 400;
    line-height: 1;
}

.pricing-toggle-wrapper {
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

.pricing-toggle {
    display: inline-flex;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    padding: 0.25rem;
    position: relative;
}

.pricing-toggle::before {
    content: '';
    position: absolute;
    top: 0.25rem;
    left: 0.25rem;
    width: calc(50% - 0.25rem);
    height: calc(100% - 0.5rem);
    background: white;
    border-radius: 100px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.pricing-toggle.brands-active::before {
    transform: translateX(100%);
}

.toggle-btn {
    background: none;
    border: none;
    padding: 0.75rem 2rem;
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 600;
    color: black;
    cursor: pointer;
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
    border-radius: 100px;
}

.toggle-btn:not(.active) {
    color: rgba(255, 255, 255, 0.6);
}

.pricing-grid {
    display: none;
    max-width: 1200px;
    width: 100%;
    gap: 2rem;
    justify-content: center;
    align-items: stretch;
}

.pricing-grid.active {
    display: flex;
}

.pricing-card {
    background: black;
    border-radius: 24px;
    padding: 3rem 2.5rem;
    flex: 1;
    max-width: 380px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255,255,255,0.1);
    position: relative;
}

.pricing-card.highlighted {
    background: #5C2D6E;
    color: white;
    box-shadow: 0 20px 40px rgba(92, 45, 110, 0.2);
    transform: scale(1.05);
    border: none;
}

.badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    color: black;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.4rem 1rem;
    border-radius: 100px;
    letter-spacing: 1px;
}

.plan-name {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 1rem;
}

.pricing-card:not(.highlighted) .plan-name {
    color: white;
}

.plan-price {
    font-family: var(--font-sans);
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 2rem;
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
}

.pricing-card:not(.highlighted) .plan-price {
    color: white;
}

.plan-price span {
    font-size: 1rem;
    font-weight: 500;
    opacity: 0.6;
}

.plan-features {
    list-style: none;
    margin-bottom: 3rem;
    flex: 1;
}

.plan-features li {
    font-family: var(--font-sans);
    font-size: 1.05rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    line-height: 1.4;
}

.pricing-card:not(.highlighted) .plan-features li {
    color: rgba(255, 255, 255, 0.85);
}

.pricing-card.highlighted .plan-features li {
    color: rgba(255, 255, 255, 0.85);
}

.check {
    color: white;
    font-weight: bold;
}

.pricing-card.highlighted .check {
    color: white;
}

.pricing-card .cta-button.outline {
    background: transparent;
    border: 1px solid white;
    color: white;
    text-align: center;
    width: 100%;
}

.pricing-card .cta-button.outline:hover {
    background: white;
    color: black;
}

.pricing-card .cta-button.light {
    background: white;
    color: black;
    text-align: center;
    width: 100%;
}

.pricing-card .cta-button.light:hover {
    background: #f0f0f0;
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.pricing-footer {
    margin-top: 4rem;
    text-align: center;
}

.brand-fee {
    display: none;
    color: #666;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.brand-fee.active {
    display: block;
}

.trust-line {
    font-family: var(--font-sans);
    font-size: 1rem;
    color: #4A4A4A;
    font-weight: 500;
}

@media (max-width: 1024px) {
    .pricing-grid {
        flex-direction: column;
        gap: 3rem;
    }
    .pricing-card {
        max-width: 100%;
    }
    .pricing-card.highlighted {
        transform: scale(1);
    }
}

/* success-fee-callout styles consolidated at bottom of file */

/* ========================================= */
/* About Us Section */
/* ========================================= */
.about-us {
    background-color: black;
    color: white;
    width: 100%;
    padding: 8rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.about-us-container {
    max-width: 1200px;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.about-label {
    font-family: var(--font-sans);
    font-size: 1rem;
    font-variant: small-caps;
    letter-spacing: 3px;
    font-weight: 600;
    color: #CBA5D9;
    margin-bottom: 5rem;
    align-self: flex-start;
}

.about-text {
    font-family: var(--font-sans);
    font-weight: 400; /* Regular weight */
    font-size: 1.1rem; /* Paragraph size */
    line-height: 1.6;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    color: rgba(255,255,255,0.8);
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-text.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .about-text {
        font-size: 1rem;
        text-align: left;
    }
}

/* ========================================= */
/* Footer Section */
/* ========================================= */
.footer {
    background-color: #5C2D6E;
    color: white;
    width: 100%;
    padding: 6rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-container {
    max-width: 1200px;
    width: 100%;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-logo {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-style: italic;
    color: white;
    line-height: 1;
}

.footer-brand p {
    font-family: var(--font-sans);
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.footer-col h4 {
    font-family: var(--font-sans);
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1.5rem;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: white;
}

.footer-bottom {
    max-width: 1200px;
    width: 100%;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    text-align: center;
}

.footer-bottom p {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 900px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

/* ========================================= */
/* Auth Modal */
/* ========================================= */
.auth-tabs {
    display: flex;
    background: rgba(255,255,255,0.05);
    border-radius: 100px;
    padding: 0.25rem;
    margin-bottom: 2rem;
}

.auth-tab {
    flex: 1;
    background: transparent;
    border: none;
    color: rgba(255,255,255,0.5);
    padding: 0.5rem;
    border-radius: 100px;
    cursor: pointer;
    font-family: var(--font-sans);
    font-weight: 600;
    transition: all 0.3s ease;
}

.auth-tab.active {
    background: white;
    color: black;
}

.modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background: #050505;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 24px;
    padding: 3rem;
    width: 90%;
    max-width: 450px;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.modal-close:hover {
    opacity: 1;
}

.modal-title {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: white;
    text-align: center;
}

.modal-subtitle {
    font-family: var(--font-sans);
    color: rgba(255,255,255,0.7);
    text-align: center;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.modal-form input {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 1rem 1.25rem;
    border-radius: 12px;
    color: white;
    font-family: var(--font-sans);
    font-size: 1rem;
    transition: border-color 0.3s ease, background 0.3s ease;
}

.modal-form input::placeholder {
    color: rgba(255,255,255,0.3);
}

.modal-form input:focus {
    outline: none;
    border-color: #5C2D6E;
    background: rgba(255,255,255,0.1);
}

.modal-form .cta-button {
    margin-top: 1rem;
    width: 100%;
    text-align: center;
    border: none;
    cursor: pointer;
}

.role-selection {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.role-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
    font-family: var(--font-sans);
}

.role-card:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-2px);
    border-color: rgba(255,255,255,0.3);
}

.role-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
    color: white;
}

.role-card p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
    margin: 0;
}

.nav-login-btn {
    background: white;
    color: black !important;
    padding: 0.6rem 1.5rem;
    border-radius: 100px;
    font-weight: 600 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.nav-login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255,255,255,0.2);
    text-shadow: none !important;
    color: black !important;
}

.nav-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 0.5rem;
}

.profile-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #5C2D6E;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    border: 2px solid rgba(255,255,255,0.2);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.profile-btn:hover {
    transform: scale(1.05);
    border-color: white;
}

/* ========================================= */
/* Dashboard Drawer */
/* ========================================= */
.dashboard-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.dashboard-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.dashboard-drawer {
    position: fixed;
    top: 0; right: 0; width: 100%; max-width: 400px; height: 100%;
    background: #050505;
    border-left: 1px solid rgba(255,255,255,0.1);
    z-index: 2001;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

.dashboard-drawer.active {
    transform: translateX(0);
}

.drawer-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.drawer-close:hover {
    opacity: 1;
}

.drawer-header {
    padding: 3rem 2rem 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.drawer-title {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    color: white;
    margin-bottom: 0.25rem;
}

.drawer-subtitle {
    font-family: var(--font-sans);
    color: rgba(255,255,255,0.6);
    font-size: 0.95rem;
}

.drawer-content {
    flex: 1;
    overflow-y: auto;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.drawer-menu-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.drawer-menu-item:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.2);
    transform: translateX(5px);
}

.drawer-menu-item .icon {
    font-size: 1.5rem;
}

.drawer-menu-item h4 {
    font-family: var(--font-sans);
    color: white;
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.drawer-menu-item p {
    font-family: var(--font-sans);
    color: rgba(255,255,255,0.5);
    font-size: 0.8rem;
    margin: 0;
}

.drawer-footer {
    padding: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.logout-btn {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.2) !important;
    color: white !important;
}

.logout-btn:hover {
    background: rgba(255,0,0,0.1);
    border-color: rgba(255,0,0,0.5) !important;
    color: #ff4d4d !important;
}

/* ========================================= */
/* Nested Dashboard Views */
/* ========================================= */
.drawer-back {
    background: none;
    border: none;
    color: rgba(255,255,255,0.6);
    font-family: var(--font-sans);
    font-size: 0.9rem;
    cursor: pointer;
    margin-bottom: 1rem;
    padding: 0;
    transition: color 0.3s ease;
}

.drawer-back:hover {
    color: white;
}

.dashboard-section {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.dashboard-section h3 {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    color: white;
    margin-bottom: 1rem;
}

.empty-state {
    font-family: var(--font-sans);
    color: rgba(255,255,255,0.4);
    font-size: 0.9rem;
    padding: 2rem 0;
    text-align: center;
}

.settings-toggle {
    display: flex;
    background: rgba(255,255,255,0.05);
    border-radius: 100px;
    padding: 0.25rem;
    margin-bottom: 1rem;
}

.role-toggle-btn {
    flex: 1;
    background: transparent;
    border: none;
    color: rgba(255,255,255,0.5);
    padding: 0.5rem;
    border-radius: 100px;
    cursor: pointer;
    font-family: var(--font-sans);
    font-weight: 600;
    transition: all 0.3s ease;
}

.role-toggle-btn.active {
    background: white;
    color: black;
}

/* ========================================= */
/* Payment Modal Styles */
/* ========================================= */

.payment-content {
    max-width: 450px;
}

.payment-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.payment-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.25rem;
    color: white;
    font-family: var(--font-sans);
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
}

.payment-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.payment-btn .icon {
    font-size: 1.5rem;
}

.payment-footer {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
}

.payment-footer p {
    font-family: var(--font-sans);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

.payment-footer strong {
    color: white;
}

/* ========================================= */
/* Mobile Responsiveness */
/* ========================================= */
@media (max-width: 768px) {
    /* Navbar */
    .navbar {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 0.4rem 1rem !important;
        grid-template-columns: none !important;
        background: rgba(255, 255, 255, 0.05) !important;
        backdrop-filter: blur(16px) !important;
        -webkit-backdrop-filter: blur(16px) !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    }
    .logo-container {
        order: 1;
    }
    .logo-text {
        font-size: 1.4rem; /* Even smaller logo text */
    }
    .logo-icon {
        width: 18px;
        height: 18px;
    }
    .nav-links, .nav-links a {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }
    .nav-actions {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        margin-left: auto;
        order: 2;
    }
    
    .nav-login-btn {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
        white-space: nowrap;
        margin: 0;
    }

    .profile-btn {
        margin: 0;
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }
    
    .mobile-menu-btn {
        display: block !important;
        order: 3;
        background: none;
        border: none;
        color: white;
        cursor: pointer;
        padding: 0.5rem;
        margin-left: 0.5rem;
        position: relative !important;
        top: 0 !important;
        left: 0 !important;
        transform: none !important;
    }
    .mobile-menu-overlay {
        display: flex;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(5, 5, 5, 0.97);
        backdrop-filter: blur(30px);
        -webkit-backdrop-filter: blur(30px);
        z-index: 9999 !important;
        transition: opacity 0.4s ease, visibility 0.4s ease;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 2rem;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }
    .mobile-menu-overlay.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }
    .mobile-menu-close-btn {
        display: block;
        position: absolute;
        top: 1.5rem;
        right: 1.5rem;
        background: none;
        border: none;
        color: white;
        font-size: 2.5rem;
        line-height: 1;
        cursor: pointer;
        opacity: 0.6;
        transition: opacity 0.2s ease;
        padding: 0.25rem;
    }
    .mobile-menu-close-btn:hover { opacity: 1; }
    .mobile-menu-login {
        font-size: 0.9rem !important;
        padding: 0.7rem 2rem !important;
    }
    .mobile-nav-links {
        display: flex;
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    .mobile-nav-links a {
        font-family: var(--font-serif);
        font-size: 2.5rem;
        color: white;
        text-decoration: none;
        font-style: italic;
    }
    /* Restore HIW Sticky for mobile if desired, or keep relative */
    .hiw-title-container {
        position: sticky;
        top: 60px;
        z-index: 100;
        background: transparent;
        padding: 1rem 0;
    }
    .hiw-title {
        font-size: 2.5rem;
    }
    
    /* Hero Section */
    .hero {
        padding: 6rem 1rem 2rem;
    }
    .hero h1 {
        font-size: 2.8rem;
        line-height: 1.1;
    }
    .hero-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
        margin-bottom: 1.5rem;
    }
    .hero-cta-group {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }
    .hero-cta-group .cta-button {
        width: 100%;
        text-align: center;
    }

    /* Background & Blend Fixes for Mobile */
    .hero-bg-container::before, .how-it-works::before, .pain-points::before, .pricing::before {
        background-attachment: scroll !important;
        -webkit-mask-image: none !important;
        mask-image: none !important;
        opacity: 0.3;
    }
    
    .hero-bg-container::before {
        -webkit-mask-image: linear-gradient(to bottom, black 70%, transparent);
        mask-image: linear-gradient(to bottom, black 70%, transparent);
    }

    /* Grids (Process, Pain Points, Pricing) */
    .process-grid, .pp-grid, .pricing-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }

    /* How It Works Mobile Fix */
    .how-it-works {
        padding-top: 10rem;
        margin-top: 0;
        min-height: auto;
    }
    .how-it-works::before, .pain-points::before, .pricing::before {
        top: -30vh;
        height: calc(100% + 30vh);
    }
    .hiw-title-container {
        position: static;
        margin-bottom: 2rem;
    }
    .hiw-title {
        font-size: 3rem;
    }
    .hiw-cards-wrapper {
        padding-bottom: 4rem;
    }
    /* How It Works — disable sticky stacking on mobile, just stack vertically */
    .hiw-card {
        position: relative !important;
        top: auto !important;
        margin-bottom: 1.5rem !important;
        padding: 0 1rem;
    }

    .hiw-card-inner {
        padding: 2.5rem 1.5rem;
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    .hiw-icon {
        width: 60px;
        height: 60px;
    }
    .hiw-content h3 {
        font-size: 1.8rem;
    }

    /* Pricing Toggle */
    .pricing-toggle {
        flex-direction: row;
        width: auto;
        display: inline-flex;
        margin: 0 auto 2rem;
        border-radius: 100px;
        background: rgba(255,255,255,0.05);
        padding: 0.25rem;
    }
    .toggle-btn {
        border-radius: 100px;
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
        flex: none;
    }

    /* Modals & Drawers */
    .modal-content, .payment-content {
        width: 90%;
        padding: 2rem;
    }
    .dashboard-drawer {
        max-width: 100%; /* Full screen drawer on mobile */
    }
    .drawer-header {
        padding: 2rem 1.5rem 1.5rem;
    }
    .drawer-title {
        font-size: 2rem;
    }

    /* Text & Padding Adjustments */
    section {
        padding: 4rem 1rem;
    }
    .pain-points {
        margin-top: 0;
        padding: 10rem 1rem;
    }
    .pricing {
        margin-top: 0;
        padding: 10rem 1rem;
    }
    .section-title {
        font-size: 2.5rem;
    }
    .about-text {
        font-size: 1.1rem; /* Smaller paragraph */
        padding: 0 1rem;
        text-align: center;
        font-weight: 400;
        line-height: 1.5;
        color: rgba(255,255,255,0.7);
    }
    
    /* Footer Balanced Fix */
    .footer {
        padding: 2rem 1rem 1.5rem; 
    }
    .footer-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
    .footer-col h4 {
        display: block;
        margin-bottom: 0.5rem;
        font-size: 0.85rem;
        opacity: 0.6;
    }
    .footer-col ul {
        flex-direction: column;
        gap: 0.5rem;
    }
    .footer-col a {
        font-size: 0.8rem;
    }
    .footer-logo {
        font-size: 1.2rem;
        margin-bottom: 0.75rem;
    }
    .footer-bottom {
        display: block;
        margin-top: 1.5rem;
        padding-top: 1rem;
        font-size: 0.7rem;
        opacity: 0.4;
    }
    
    /* Settings Form */
    .settings-toggle {
        flex-direction: column;
        border-radius: 12px;
    }
    .role-toggle-btn {
        border-radius: 8px;
        padding: 0.75rem;
    }
}

/* ========================================= */
/* New Dashboard UI Elements */
/* ========================================= */

/* Resource Vault */
.resource-vault-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.resource-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    position: relative;
    transition: all 0.3s ease;
    overflow: hidden;
}
.resource-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
}
.resource-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}
.resource-info h4 {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    color: white;
    margin: 0;
    line-height: 1.4;
}
.resource-download-btn {
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    background: white;
    color: black;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    border-radius: 6px;
    cursor: pointer;
    align-self: flex-start;
    margin-top: 0.5rem;
}
.resource-download-btn:hover {
    background: #e0e0e0;
    transform: translateY(0) scale(1.02) !important;
}
.resource-download-btn .btn-icon {
    width: 14px;
    height: 14px;
    transition: transform 0.2s ease;
}
.resource-download-btn:hover .btn-icon {
    transform: translateY(2px);
}
.resource-card:hover .resource-download-btn {
    opacity: 1;
    transform: translateY(0);
}
@media (max-width: 768px) {
    .resource-download-btn {
        opacity: 1;
        transform: translateY(0);
        width: 100%;
        justify-content: center;
    }
}

/* Verified Badge */
.verified-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.25rem 0.25rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    vertical-align: middle;
    margin-left: 0.5rem;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05);
}
.verified-badge svg {
    color: #fff;
    opacity: 0.9;
}

/* ========================================= */
/* Success Fee Callout */
/* ========================================= */
.success-fee-callout {
    width: 100%;
    max-width: 960px;
    text-align: center;
    margin: 2.5rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    z-index: 2;
}

.success-fee-callout p {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.35);
    font-style: italic;
    margin: 0;
    line-height: 1.5;
    letter-spacing: 0.02em;
}

/* ========================================= */
/* Google Auth UI */
/* ========================================= */
.google-auth-btn {
    width: 100%;
    background: white;
    color: #000;
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.8rem;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: all 0.2s ease;
    margin-bottom: 1rem;
}
.google-auth-btn:hover {
    background: #f0f0f0;
    transform: translateY(-1px);
}
.auth-divider {
    display: flex;
    align-items: center;
    text-align: center;
    color: rgba(255,255,255,0.4);
    font-size: 0.8rem;
    margin-bottom: 1rem;
}
.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.auth-divider span {
    padding: 0 10px;
}
