/* ===== 1. CUSTOM PROPERTIES ===== */
:root {
    --bg-primary: #0a0a0f;
    --bg-surface: #13131a;
    --bg-surface-hover: #1a1a25;
    --bg-surface-alt: #0e0e16;
    --text-primary: #f0f0f5;
    --text-secondary: #9d9db5;
    --text-muted: #6b6b80;
    --accent-purple: #7c3aed;
    --accent-pink: #ec4899;
    --accent-cyan: #06b6d4;
    --accent-teal: #14b8a6;
    --accent-green: #10b981;
    --gradient-hero: linear-gradient(135deg, #7c3aed 0%, #ec4899 40%, #14b8a6 70%, #06b6d4 100%);
    --gradient-cta: linear-gradient(135deg, #7c3aed 0%, #ec4899 50%, #14b8a6 100%);
    --gradient-text: linear-gradient(135deg, #7c3aed 0%, #ec4899 40%, #14b8a6 100%);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-full: 9999px;
    --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 40px rgba(124, 58, 237, 0.15);
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
}

/* ===== 2. RESET & BASE ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-secondary);
    font-size: 18px;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

img, svg {
    display: inline-block;
    vertical-align: middle;
}

/* ===== 3. TYPOGRAPHY ===== */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    font-weight: 700;
    line-height: 1.15;
}

h2 {
    font-size: 3rem;
    letter-spacing: -0.02em;
}

h3 {
    font-size: 1.35rem;
}

.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.15rem;
    margin-top: 1rem;
}

/* ===== 4. LAYOUT ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

section {
    padding: 4rem 0;
}

/* ===== 5. BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: var(--radius-full);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    white-space: nowrap;
}

.btn-gradient {
    background: var(--gradient-cta);
    color: #fff;
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.3);
}

.btn-gradient:hover {
    box-shadow: 0 6px 30px rgba(124, 58, 237, 0.5);
    transform: translateY(-2px);
}

.btn-white {
    background: #fff;
    color: #0a0a0f;
}

.btn-white:hover {
    background: #f0f0f5;
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(255, 255, 255, 0.15);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.05);
}

.btn-outline-white {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-outline-white:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 10px 22px;
    font-size: 0.9rem;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ===== 6. NAVIGATION ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all 0.3s ease;
}

.nav-scrolled {
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 10px 0;
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
}

.logo-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

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

.logo-dot {
    color: var(--accent-purple);
    margin-left: -0.15em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-links > a,
.nav-links > .nav-dropdown > .nav-dropdown-trigger {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
    white-space: nowrap;
}

.nav-links > a:hover,
.nav-links > .nav-dropdown > .nav-dropdown-trigger:hover {
    color: var(--text-primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-login {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.nav-login:hover {
    color: var(--text-primary);
}

.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

.nav-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.nav-hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-hamburger.active span:nth-child(2) {
    opacity: 0;
}

.nav-hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== 6b. NAV DROPDOWNS ===== */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-dropdown-trigger svg {
    transition: transform 0.2s;
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    min-width: 280px;
    background: var(--bg-surface);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 12px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 100;
}

/* Invisible bridge so hover doesn't break between trigger and menu */
.nav-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -12px;
    left: 0;
    right: 0;
    height: 12px;
}

.nav-dropdown.dropdown-open > .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown.dropdown-open > .nav-dropdown-trigger svg {
    transform: rotate(180deg);
}

.nav-dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text-secondary);
    transition: background 0.15s;
    text-decoration: none;
}

.nav-dropdown-menu a:hover {
    background: var(--bg-surface-hover);
    color: var(--text-primary);
}

.nav-dropdown-menu a strong {
    color: var(--text-primary);
    font-weight: 600;
    display: block;
}

.nav-dropdown-menu a small {
    color: var(--text-muted);
    font-size: 0.8rem;
    display: block;
    margin-top: 2px;
}

.dropdown-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.dropdown-icon.icon-purple { background: rgba(124, 58, 237, 0.15); color: var(--accent-purple); }
.dropdown-icon.icon-pink { background: rgba(236, 72, 153, 0.15); color: var(--accent-pink); }
.dropdown-icon.icon-teal { background: rgba(20, 184, 166, 0.15); color: var(--accent-teal); }
.dropdown-icon.icon-cyan { background: rgba(6, 182, 212, 0.15); color: var(--accent-cyan); }

.dropdown-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.06);
    margin: 8px 0;
}

.dropdown-view-all {
    color: var(--accent-purple) !important;
    font-weight: 600 !important;
    font-size: 0.85rem !important;
    justify-content: center !important;
}

.nav-links > a.active,
.nav-links > .nav-dropdown > .nav-dropdown-trigger.active {
    color: var(--text-primary);
}

.nav-mobile-auth {
    display: none;
}

/* ===== 6c. PAGE HERO ===== */
.page-hero {
    padding: 8rem 0 3rem;
    position: relative;
    overflow: hidden;
}

.page-hero-sm {
    padding: 7rem 0 2.5rem;
}

.page-hero h1 {
    font-size: 3.2rem;
    letter-spacing: -0.02em;
    margin-bottom: 1.25rem;
}

.page-hero .hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

/* ===== 6d. FEATURE LINK ===== */
.feature-card {
    text-decoration: none;
    display: block;
}

.feature-link {
    display: inline-block;
    margin-top: 1rem;
    color: var(--accent-purple);
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.feature-card:hover .feature-link {
    color: var(--accent-pink);
}

/* ===== 6e. FAQ ACCORDION ===== */
.faq-list {
    max-width: 760px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0;
    cursor: pointer;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-primary);
    transition: color 0.2s;
}

.faq-question:hover {
    color: var(--accent-purple);
}

.faq-question svg {
    flex-shrink: 0;
    transition: transform 0.3s;
    color: var(--text-muted);
}

.faq-open .faq-question svg {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-open .faq-answer {
    max-height: 300px;
    padding-bottom: 1.25rem;
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===== 7. HERO ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero-bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.hero-bg-glow {
    position: absolute;
    top: 20%;
    right: 10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.15) 0%, rgba(20, 184, 166, 0.08) 40%, transparent 70%);
    pointer-events: none;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 4.2rem;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
    line-height: 1.08;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 520px;
    line-height: 1.7;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-note {
    margin-top: 1.25rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Hero Visual - Animated Inbox */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Messy inbox pile */
.inbox-mess {
    position: relative;
    width: 440px;
    height: 480px;
}

.mess-card {
    position: absolute;
    left: 0;
    right: 0;
    background: #1e1e2a;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    transform: rotate(var(--rot, 0deg)) translateX(var(--x, 0px));
    animation: mess-float 3s ease-in-out infinite alternate;
    animation-delay: var(--d, 0s);
    transition: transform 0.4s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    cursor: default;
}

.mess-card:hover {
    transform: rotate(0deg) translateX(0px) translateY(-8px) scale(1.03);
    box-shadow: 0 8px 32px rgba(124, 58, 237, 0.25), 0 4px 20px rgba(0, 0, 0, 0.5);
    border-color: rgba(124, 58, 237, 0.4);
    z-index: 10 !important;
    animation: none;
}

.inbox-mess:hover .mess-card:not(:hover) {
    opacity: 0.6;
    filter: blur(1px);
    transition: transform 0.4s ease, box-shadow 0.3s ease, border-color 0.3s ease, opacity 0.3s ease, filter 0.3s ease;
}

.mess-card-1 { top: 0; --d: 0s; z-index: 6; }
.mess-card-2 { top: 78px; --d: 0.3s; z-index: 5; }
.mess-card-3 { top: 156px; --d: 0.6s; z-index: 4; }
.mess-card-4 { top: 234px; --d: 0.9s; z-index: 3; }
.mess-card-5 { top: 312px; --d: 1.2s; z-index: 2; }
.mess-card-6 { top: 390px; --d: 1.5s; z-index: 1; animation-name: mess-float-sweep; }

.mess-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: #fff;
    font-family: var(--font-heading);
}

.mess-avatar-logo {
    border-radius: 8px;
}

.mess-body {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.mess-sender {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mess-subject {
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 1px;
}

.mess-preview {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.35);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 2px;
}

.mess-unread {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-purple);
    flex-shrink: 0;
    box-shadow: 0 0 8px rgba(124, 58, 237, 0.5);
    animation: mess-pulse 2s ease-in-out infinite;
}

.inbox-card-badge {
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 3px 8px;
    border-radius: var(--radius-full);
    flex-shrink: 0;
    white-space: nowrap;
}

.badge-purple { background: rgba(124, 58, 237, 0.2); color: #a78bfa; }
.badge-teal { background: rgba(20, 184, 166, 0.2); color: #5eead4; }
.badge-pink { background: rgba(236, 72, 153, 0.2); color: #f9a8d4; }
.badge-cyan { background: rgba(6, 182, 212, 0.2); color: #67e8f9; }

.mess-sorted-glow {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 60px;
    background: radial-gradient(ellipse, rgba(124, 58, 237, 0.15), transparent 70%);
    pointer-events: none;
}

@keyframes mess-float {
    0% { transform: rotate(var(--rot)) translateX(var(--x)) translateY(0px); }
    100% { transform: rotate(var(--rot)) translateX(var(--x)) translateY(-6px); }
}

@keyframes mess-float-sweep {
    0% { transform: rotate(var(--rot)) translateX(var(--x)) translateY(0px); opacity: 1; }
    70% { transform: rotate(var(--rot)) translateX(var(--x)) translateY(-6px); opacity: 1; }
    80% { transform: rotate(0deg) translateX(60px) translateY(-10px); opacity: 0; }
    90% { transform: rotate(0deg) translateX(-30px) translateY(0); opacity: 0; }
    100% { transform: rotate(var(--rot)) translateX(var(--x)) translateY(0px); opacity: 1; }
}

@keyframes mess-pulse {
    0%, 100% { opacity: 0.5; transform: scale(0.9); }
    50% { opacity: 1; transform: scale(1.1); }
}

/* ===== 8. SOCIAL PROOF ===== */
.social-proof {
    padding: 3rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.social-proof-label {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    margin-bottom: 2rem;
}

.logo-marquee {
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, black 15%, black 85%, transparent);
}

.logo-track {
    display: flex;
    gap: 4rem;
    animation: marquee 25s linear infinite;
    width: max-content;
}

.logo-placeholder {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-muted);
    opacity: 0.4;
    white-space: nowrap;
    padding: 8px 20px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-sm);
    transition: opacity 0.3s;
}

.logo-placeholder:hover {
    opacity: 0.8;
}

@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ===== 9. FEATURES ===== */
.features {
    background: var(--bg-surface-alt);
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.feature-card {
    background: var(--bg-surface);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-cta);
    opacity: 0;
    transition: opacity 0.3s;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
    border-color: rgba(124, 58, 237, 0.2);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.2), rgba(124, 58, 237, 0.05));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--accent-purple);
}

.feature-icon.icon-pink {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.2), rgba(236, 72, 153, 0.05));
    color: var(--accent-pink);
}

.feature-icon.icon-teal {
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.2), rgba(20, 184, 166, 0.05));
    color: var(--accent-teal);
}

.feature-icon.icon-cyan {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.2), rgba(6, 182, 212, 0.05));
    color: var(--accent-cyan);
}

.feature-card h3 {
    margin-bottom: 0.75rem;
}

.feature-card p {
    font-size: 1rem;
    line-height: 1.65;
}

/* ===== 10. HOW IT WORKS ===== */
.steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
}

.step {
    flex: 1;
    text-align: center;
    padding: 0 2rem;
    max-width: 320px;
}

.step-number {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 1.25rem;
}

.step-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--bg-surface);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    color: var(--accent-teal);
}

.step h3 {
    margin-bottom: 0.75rem;
}

.step p {
    font-size: 0.95rem;
}

.step-connector {
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-purple), var(--accent-teal));
    margin-top: 100px;
    flex-shrink: 0;
    opacity: 0.4;
    border-radius: 2px;
}

/* ===== 11. TESTIMONIALS ===== */
.testimonials {
    background: var(--bg-surface-alt);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.testimonial-card {
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
    transition: border-color 0.3s;
}

.testimonial-card:hover {
    border-color: rgba(124, 58, 237, 0.3);
}

.testimonial-stars {
    color: #facc15;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gradient-cta);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    color: #fff;
    flex-shrink: 0;
}

.testimonial-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.testimonial-role {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.metrics {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.metric-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-surface);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-full);
    padding: 12px 24px;
}

.metric-value {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-primary);
}

.metric-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ===== 12. PRICING ===== */

/* Billing toggle */
.billing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 2.5rem;
}

.billing-label {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: color 0.2s;
}

.billing-label.active {
    color: var(--text-primary);
}

.billing-save {
    display: inline-block;
    background: rgba(16, 185, 129, 0.15);
    color: var(--accent-green);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    margin-left: 4px;
}

.billing-switch {
    position: relative;
    width: 48px;
    height: 26px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-full);
    cursor: pointer;
    padding: 0;
    transition: background 0.2s;
}

.billing-switch.active {
    background: var(--accent-purple);
    border-color: var(--accent-purple);
}

.billing-switch-knob {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    background: var(--text-primary);
    border-radius: 50%;
    transition: transform 0.2s;
}

.billing-switch.active .billing-switch-knob {
    transform: translateX(22px);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    align-items: start;
}

.pricing-card {
    background: var(--bg-surface);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    border-color: rgba(124, 58, 237, 0.2);
    transform: translateY(-4px);
}

.pricing-card-featured {
    background: linear-gradient(var(--bg-surface), var(--bg-surface)) padding-box,
                var(--gradient-cta) border-box;
    border: 2px solid transparent;
    transform: scale(1.04);
    box-shadow: 0 8px 40px rgba(124, 58, 237, 0.2);
}

.pricing-card-featured:hover {
    transform: scale(1.04) translateY(-4px);
}

.pricing-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-cta);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 6px 20px;
    border-radius: var(--radius-full);
    white-space: nowrap;
}

.pricing-tier {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.pricing-price {
    margin-bottom: 2rem;
}

.price-amount {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.price-period {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.pricing-features {
    text-align: left;
    margin-bottom: 2rem;
}

.pricing-features li {
    padding: 8px 0;
    font-size: 0.95rem;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-features li::before {
    content: '';
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.15);
    flex-shrink: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2310b981' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5L20 7'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 11px;
}

.pricing-features li:last-child {
    border-bottom: none;
}

/* ===== 13. SECURITY ===== */
.security {
    background: var(--bg-surface-alt);
}

.security-badges {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.security-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    background: var(--bg-surface);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
    padding: 1.5rem 2rem;
    color: var(--accent-green);
    transition: border-color 0.3s;
    min-width: 140px;
}

.security-badge:hover {
    border-color: rgba(16, 185, 129, 0.3);
}

.security-badge span {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-align: center;
}

.security-text {
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* ===== 14. CTA BANNER ===== */
.cta-banner {
    background: var(--gradient-hero);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255,255,255,0.1) 0%, transparent 50%);
}

.cta-banner-inner {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-banner h2 {
    font-size: 2.8rem;
    color: #fff;
    margin-bottom: 1rem;
}

.cta-banner p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2.5rem;
}

.cta-banner-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== 15. FOOTER ===== */
.footer {
    background: var(--bg-primary);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 2.5rem;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr 1fr;
    gap: 2rem;
    padding-bottom: 2rem;
}

.footer-tagline {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.6rem;
    margin-bottom: 1rem;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.footer-socials a {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bg-surface);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: all 0.3s;
}

.footer-socials a:hover {
    color: var(--text-primary);
    border-color: var(--accent-purple);
    background: rgba(124, 58, 237, 0.1);
}

.footer-col h4 {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.footer-col a {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    padding: 3px 0;
    transition: color 0.2s;
    white-space: nowrap;
}

.footer-col a:hover {
    color: var(--text-primary);
}

.footer-newsletter p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.newsletter-form {
    display: flex;
    gap: 8px;
}

.newsletter-form input {
    flex: 1;
    padding: 10px 16px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: var(--bg-surface);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.3s;
}

.newsletter-form input::placeholder {
    color: var(--text-muted);
}

.newsletter-form input:focus {
    border-color: var(--accent-purple);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 1rem 0;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    color: var(--text-muted);
    transition: color 0.2s;
}

.footer-legal a:hover {
    color: var(--text-primary);
}

/* ===== 16. ANIMATIONS ===== */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

/* ===== 17. RESPONSIVE ===== */
@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-card-featured {
        transform: none;
    }

    .pricing-card-featured:hover {
        transform: translateY(-4px);
    }

    .footer-inner {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    body {
        font-size: 16px;
    }

    h2 {
        font-size: 2rem;
    }

    section {
        padding: 3rem 0;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--bg-surface);
        flex-direction: column;
        padding: 80px 24px 32px;
        gap: 8px;
        transition: right 0.3s ease;
        border-left: 1px solid rgba(255, 255, 255, 0.06);
        overflow-y: auto;
        z-index: 999;
    }

    .nav-links.nav-open {
        right: 0;
    }

    .nav-links > a,
    .nav-dropdown-trigger {
        font-size: 1.05rem;
        padding: 10px 0;
    }

    .nav-dropdown-menu {
        position: static;
        transform: none !important;
        min-width: auto;
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 0 0 0 16px;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, opacity 0.2s;
        opacity: 0;
        visibility: visible;
        pointer-events: auto;
    }

    .nav-dropdown-menu::before {
        display: none;
    }

    .nav-dropdown.dropdown-open > .nav-dropdown-menu {
        max-height: 500px;
        opacity: 1;
    }

    .nav-mobile-auth {
        display: flex;
        flex-direction: column;
        gap: 12px;
        padding-top: 16px;
        border-top: 1px solid rgba(255, 255, 255, 0.06);
        margin-top: 8px;
    }

    .nav-actions {
        display: none;
    }

    .nav-hamburger {
        display: flex;
    }

    .nav-open-body {
        overflow: hidden;
    }

    .page-hero h1 {
        font-size: 2.4rem;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero-title {
        font-size: 2.6rem;
    }

    .hero-subtitle {
        margin: 0 auto 2rem;
    }

    .hero-ctas {
        justify-content: center;
    }

    .hero-visual {
        display: none;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .steps {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .step-connector {
        width: 2px;
        height: 40px;
        margin-top: 0;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .security-badges {
        gap: 1rem;
    }

    .security-badge {
        min-width: auto;
        padding: 1rem 1.25rem;
    }

    .cta-banner h2 {
        font-size: 2rem;
    }

    .footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }

    .footer-bottom-inner {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .metrics {
        gap: 1rem;
    }

    .metric-pill {
        padding: 10px 18px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.1rem;
    }

    .hero-ctas {
        flex-direction: column;
        align-items: center;
    }

    .hero-ctas .btn {
        width: 100%;
        justify-content: center;
    }


    .newsletter-form {
        flex-direction: column;
    }

    .cta-banner-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-banner-buttons .btn {
        width: 100%;
        max-width: 280px;
    }
}
