/* ========================================
   DESIGN SYSTEM: Cozzy Theme Variables
   ======================================== */
:root {
    /* Brand Colors */
    --primary: #7B78AA;
    --primary-bright: #B3B0D6;
    --primary-shadow: #D8D4F0;
    --secondary: #E6DCCF;
    --secondary-soft: #F4EDE4;
    --tertiary: #7D9C86;

    /* Neutrals */
    --background: #FAFAF6;
    --surface: #FFFFFF;
    --surface-alt: #FEF8F1;
    --text-primary: #2D2B32;
    --text-secondary: #6E6D7A;
    --outline-soft: #E6E0D6;

    /* Status */
    --success: #7D9C86;
    --warning: #D4A017;
    --danger: #D48C8C;

    /* Blob Colors */
    --blob-pink: #F8DBD9;
    --blob-lavender: #D8D4F0;
    --blob-sage: #C8D9C4;

    /* Typography */
    --font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

    /* Spacing (8px base - matches CozzySpacing) */
    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 24px;
    --space-lg: 32px;
    --space-xl: 40px;
    --space-xxl: 48px;
    --space-hero: 80px;

    /* Radii (matches CozzyRadii) */
    --radius-tooltip: 12px;
    --radius-input: 16px;
    --radius-chip: 18px;
    --radius-card: 24px;
    --radius-sheet: 32px;
    --radius-pill: 50px;
    --radius-large: 40px;

    /* Shadows */
    --shadow-soft: 0 4px 24px rgba(123, 120, 170, 0.08);
    --shadow-medium: 0 8px 32px rgba(123, 120, 170, 0.12);
    --shadow-lifted: 0 20px 48px rgba(123, 120, 170, 0.18);
    --shadow-inner: inset 0 2px 4px rgba(0, 0, 0, 0.05);

    /* Animation Durations (matches CozzyDurations) */
    --duration-instant: 90ms;
    --duration-quick: 150ms;
    --duration-standard: 240ms;
    --duration-deliberate: 350ms;

    /* Animation Easings */
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);

    /* Section Background Tints */
    --bg-hero: #FCF9F4;
    --bg-features: #FAFAF8;
    --bg-how-it-works: #F8FAFA;
    --bg-education: #FBF9F6;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    color-scheme: light only;
}

body {
    font-family: var(--font-family);
    background-color: var(--background);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    position: relative;
}

/* Subtle noise texture overlay for warmth and tactile feel */
body::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9998;
    opacity: 0.025;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* Selection color with brand colors */
::selection {
    background: var(--primary-shadow);
    color: var(--text-primary);
}

::-moz-selection {
    background: var(--primary-shadow);
    color: var(--text-primary);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--duration-standard) var(--ease-smooth);
}

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

/* ========================================
   SKIP LINK (Accessibility)
   ======================================== */
.skip-link {
    position: absolute;
    top: 0;
    left: 0;
    background: var(--primary);
    color: white;
    padding: 8px 16px;
    z-index: 10000;
    transform: translateY(-150%);
    transition: transform 0.3s;
    text-decoration: none;
    font-weight: 600;
    border-radius: 0 0 var(--radius-tooltip) 0;
}

.skip-link:focus {
    transform: translateY(0);
    outline: 2px solid var(--primary-bright);
    outline-offset: 2px;
}

/* ========================================
   FOCUS STATES (Accessibility)
   ======================================== */
:focus {
    outline: none;
}

:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
    border-radius: 4px;
}

/* Enhanced focus for buttons */
.btn:focus-visible,
.cookie-btn:focus-visible,
.copy-btn:focus-visible,
.social-link:focus-visible,
.back-to-top:focus-visible {
    outline: 2px solid var(--primary-bright);
    outline-offset: 3px;
    box-shadow: 0 0 0 4px rgba(123, 120, 170, 0.2);
}

/* Focus for links */
a:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
    border-radius: 2px;
}

/* ========================================
   CURSOR ENHANCEMENTS
   ======================================== */
.btn,
.cookie-btn,
.copy-btn,
.social-link,
.back-to-top,
.feature-card,
.step,
.trust-badge {
    cursor: pointer;
}

/* ========================================
   TYPOGRAPHY
   ======================================== */
h1,
h2,
h3,
h4 {
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

h1 {
    font-size: clamp(3rem, 6vw, 4.5rem);
    letter-spacing: -0.03em;
}

h2 {
    font-size: clamp(2.25rem, 4vw, 3.5rem);
    margin-bottom: var(--space-md);
}

h3 {
    font-size: 1.5rem;
    font-weight: 700;
}

p {
    color: var(--text-secondary);
    font-weight: 500;
}

.lead {
    font-size: 1.25rem;
    line-height: 1.7;
    max-width: 60ch;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--tertiary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========================================
   LAYOUT
   ======================================== */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.section {
    padding: var(--space-hero) 0;
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-pill);
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all var(--duration-standard) var(--ease-out-expo);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, #6A67A0 100%);
    color: white;
    box-shadow: var(--shadow-soft), 0 4px 15px rgba(123, 120, 170, 0.4);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--text-primary) 0%, #3D3B47 100%);
    color: white;
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-medium), 0 6px 20px rgba(45, 43, 50, 0.4);
}

/* B2B Contact Sales Button - Premium styling */
.contact-card .btn-primary {
    background: linear-gradient(135deg, #9B97D0 0%, var(--primary) 50%, #6A67A0 100%);
    padding: var(--space-sm) var(--space-lg);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    box-shadow: 0 4px 20px rgba(123, 120, 170, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-card .btn-primary:hover {
    background: linear-gradient(135deg, #B3B0D6 0%, #9B97D0 50%, var(--primary) 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(123, 120, 170, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.contact-card .btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(123, 120, 170, 0.4), inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.8);
    color: var(--primary);
    border: 2px solid var(--outline-soft);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
    background-color: var(--surface);
}

/* ========================================
   NAVBAR
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--space-sm) 0;
    transition: all var(--duration-standard) ease;
}

.navbar.scrolled {
    background: var(--surface);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
    padding: 0;
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    transition: height var(--duration-standard) ease;
}

.navbar.scrolled .navbar-inner {
    height: 56px;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
}

.logo img {
    transition: all var(--duration-standard) ease;
}

.navbar.scrolled .logo img {
    width: 32px;
    height: 32px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    list-style: none;
    background: rgba(255, 255, 255, 0.5);
    padding: 8px 24px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

/* Nav link hover underline animation */
.nav-links a {
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
    transition: color var(--duration-standard) var(--ease-smooth);
}

.nav-links a::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary);
    border-radius: 1px;
    transition: all var(--duration-standard) var(--ease-out-expo);
    transform: translateX(-50%);
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-xs);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    padding-top: calc(80px + var(--space-hero));
    padding-bottom: var(--space-hero);
    position: relative;
    overflow: hidden;
    /* Warmest section - cream/sand tinted background */
    background:
        radial-gradient(at 0% 0%, rgba(123, 120, 170, 0.08) 0px, transparent 50%),
        radial-gradient(at 100% 0%, rgba(200, 217, 196, 0.15) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(248, 219, 217, 0.15) 0px, transparent 50%),
        radial-gradient(at 0% 100%, rgba(230, 220, 207, 0.25) 0px, transparent 50%),
        linear-gradient(180deg, var(--bg-hero) 0%, var(--background) 100%);
}

.hero-inner {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: var(--space-xxl);
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 640px;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: var(--space-md);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: rgba(123, 120, 170, 0.1);
    padding: 6px 16px;
    border-radius: var(--radius-pill);
}

.hero-cta-wrapper {
    margin-top: var(--space-md);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

/* ========================================
   COMING SOON DISPLAY
   ======================================== */
.coming-soon-wrapper {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    align-items: flex-start;
}

.coming-soon-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, rgba(123, 120, 170, 0.12) 0%, rgba(125, 156, 134, 0.08) 100%);
    border: 1px solid rgba(123, 120, 170, 0.2);
    padding: 12px 24px;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 1rem;
    color: var(--primary);
    position: relative;
    overflow: hidden;
}

.coming-soon-badge::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(123, 120, 170, 0.15), transparent);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }

    50% {
        left: 100%;
    }

    100% {
        left: 100%;
    }
}

.coming-soon-sparkle {
    display: flex;
    align-items: center;
    animation: sparkle-pulse 2s ease-in-out infinite;
}

.coming-soon-sparkle:nth-child(3) {
    animation-delay: 0.5s;
}

@keyframes sparkle-pulse {

    0%,
    100% {
        opacity: 0.6;
        transform: scale(0.9) rotate(0deg);
    }

    50% {
        opacity: 1;
        transform: scale(1.1) rotate(15deg);
    }
}

/* Waitlist Card */
.waitlist-card {
    background: var(--surface);
    border-radius: var(--radius-card);
    padding: var(--space-md) var(--space-lg);
    max-width: 520px;
    box-shadow:
        0 4px 24px rgba(123, 120, 170, 0.1),
        0 1px 3px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(123, 120, 170, 0.08);
    position: relative;
    overflow: hidden;
}

/* Subtle gradient accent at top */
.waitlist-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--tertiary) 50%, var(--primary) 100%);
    background-size: 200% 100%;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.waitlist-header {
    text-align: left;
    margin-bottom: var(--space-sm);
}

.waitlist-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(123, 120, 170, 0.15) 0%, rgba(125, 156, 134, 0.1) 100%);
    color: var(--primary);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    margin-bottom: var(--space-sm);
}

.waitlist-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 4px 0;
}

.waitlist-subtitle {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.4;
}

/* Form */
.waitlist-form {
    margin: 0;
}

.waitlist-input-group {
    display: flex;
    align-items: center;
    background: var(--background);
    border-radius: var(--radius-input);
    border: 2px solid transparent;
    transition: all var(--duration-standard) ease;
    overflow: hidden;
}

.waitlist-input-group:focus-within {
    border-color: var(--primary);
    background: var(--surface);
    box-shadow: 0 0 0 4px rgba(123, 120, 170, 0.1);
}

.input-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 16px;
    color: var(--text-secondary);
    opacity: 0.5;
    transition: all var(--duration-quick) ease;
}

.waitlist-input-group:focus-within .input-icon {
    color: var(--primary);
    opacity: 1;
}

.waitlist-input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 14px 12px;
    font-size: 1rem;
    font-family: inherit;
    color: var(--text-primary);
    outline: none;
    min-width: 0;
}

.waitlist-input::placeholder {
    color: var(--text-secondary);
    opacity: 0.6;
}

.waitlist-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 14px 20px;
    margin: 4px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: calc(var(--radius-input) - 4px);
    font-size: 0.9rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: all var(--duration-standard) cubic-bezier(0.34, 1.56, 0.64, 1);
    white-space: nowrap;
}

.waitlist-btn:hover {
    background: var(--text-primary);
    transform: translateX(2px);
}

.waitlist-btn:active {
    transform: scale(0.98);
}

.waitlist-btn-icon {
    transition: transform var(--duration-quick) ease;
}

.waitlist-btn:hover .waitlist-btn-icon {
    transform: translateX(3px);
}

/* Success State */
.waitlist-success {
    display: none;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) 0;
}

.waitlist-success.visible {
    display: flex;
}

.waitlist-form.hidden {
    display: none;
}

.success-checkmark {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: linear-gradient(135deg, var(--tertiary) 0%, #5a8a6a 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    animation: successPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes successPop {
    0% {
        transform: scale(0) rotate(-45deg);
    }

    50% {
        transform: scale(1.2) rotate(0deg);
    }

    100% {
        transform: scale(1) rotate(0deg);
    }
}

.success-text {
    text-align: left;
}

.success-message {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 2px 0;
}

.success-submessage {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0;
}

/* Responsive */
@media (max-width: 480px) {
    .waitlist-card {
        padding: var(--space-md);
    }

    .waitlist-input-group {
        flex-direction: column;
        gap: 8px;
        background: transparent;
        border: none;
    }

    .waitlist-input-group:focus-within {
        box-shadow: none;
    }

    .waitlist-input {
        width: 100%;
        background: var(--background);
        border-radius: var(--radius-input);
        border: 2px solid transparent;
        padding: 14px 16px;
    }

    .waitlist-input:focus {
        border-color: var(--primary);
        background: var(--surface);
    }

    .input-icon {
        display: none;
    }

    .waitlist-btn {
        width: 100%;
        justify-content: center;
        margin: 0;
        padding: 16px 24px;
        border-radius: var(--radius-input);
    }
}

/* Legacy store badges (kept for reference) */
.store-badges {
    display: flex;
    gap: var(--space-sm);
    align-items: center;
}

.store-badge {
    height: 52px;
    width: auto;
    transition: all var(--duration-quick) ease;
    opacity: 0.9;
}

.store-badge:hover {
    transform: translateY(-2px);
    opacity: 1;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Organic blob background for illustrations */
.illustration-blob {
    position: absolute;
    width: 85%;
    height: 85%;
    background: linear-gradient(135deg,
            rgba(123, 120, 170, 0.12) 0%,
            rgba(179, 176, 214, 0.15) 25%,
            rgba(230, 220, 207, 0.18) 50%,
            rgba(125, 156, 134, 0.12) 75%,
            rgba(123, 120, 170, 0.08) 100%);
    border-radius: 60% 40% 55% 45% / 55% 60% 40% 45%;
    z-index: 0;
    filter: blur(2px);
}

/* Alternate blob style for education section */
.illustration-blob-alt {
    width: 90%;
    height: 110%;
    background: linear-gradient(225deg,
            rgba(125, 156, 134, 0.15) 0%,
            rgba(230, 220, 207, 0.2) 30%,
            rgba(123, 120, 170, 0.12) 60%,
            rgba(179, 176, 214, 0.1) 100%);
    border-radius: 45% 55% 60% 40% / 40% 45% 55% 60%;
}

@keyframes blobMorph {

    0%,
    100% {
        border-radius: 60% 40% 55% 45% / 55% 60% 40% 45%;
        transform: rotate(0deg) scale(1);
    }

    25% {
        border-radius: 45% 55% 40% 60% / 60% 45% 55% 40%;
    }

    50% {
        border-radius: 55% 45% 60% 40% / 40% 55% 45% 60%;
        transform: rotate(3deg) scale(1.02);
    }

    75% {
        border-radius: 40% 60% 45% 55% / 55% 40% 60% 45%;
    }
}

@keyframes blobMorphAlt {

    0%,
    100% {
        border-radius: 45% 55% 60% 40% / 40% 45% 55% 60%;
        transform: rotate(0deg) scale(1);
    }

    33% {
        border-radius: 55% 45% 50% 50% / 50% 55% 45% 50%;
        transform: rotate(-2deg) scale(1.01);
    }

    66% {
        border-radius: 50% 50% 45% 55% / 55% 50% 50% 45%;
        transform: rotate(2deg) scale(0.99);
    }
}

.hero-illustration {
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 30px 60px rgba(123, 120, 170, 0.15));
    transition: transform 0.5s ease;
}

.hero-illustration:hover {
    transform: scale(1.02);
}


/* ========================================
   FEATURES SECTION (BENTO GRID) - Premium Redesign
   ======================================== */
.features {
    /* Neutral background with subtle transition */
    background: linear-gradient(180deg, var(--surface) 0%, var(--bg-features) 100%);
    position: relative;
    padding-top: var(--space-hero);
}

.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto var(--space-xxl);
}

/* BENTO GRID LAYOUT - Premium Spacing */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, minmax(300px, auto));
    gap: var(--space-lg);
}

.feature-card {
    background: var(--background);
    padding: var(--space-xl);
    border-radius: var(--radius-card);
    transition:
        transform 400ms cubic-bezier(0.34, 1.56, 0.64, 1),
        box-shadow 400ms cubic-bezier(0.22, 0.61, 0.36, 1),
        border-color 300ms ease,
        background 300ms ease;
    border: 1px solid rgba(123, 120, 170, 0.08);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* Subtle shimmer effect on hover */
.feature-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.4),
            transparent);
    transform: skewX(-20deg);
    transition: left 600ms cubic-bezier(0.22, 0.61, 0.36, 1);
    pointer-events: none;
    z-index: 1;
}

.feature-card:hover::before {
    left: 150%;
}

/* Featured Large Card - Premium Treatment */
.feature-card.large {
    grid-column: span 2;
    background:
        linear-gradient(135deg, rgba(123, 120, 170, 0.04) 0%, rgba(125, 156, 134, 0.03) 100%),
        repeating-linear-gradient(45deg,
            transparent,
            transparent 20px,
            rgba(123, 120, 170, 0.015) 20px,
            rgba(123, 120, 170, 0.015) 40px),
        var(--background);
    border: 1px solid rgba(123, 120, 170, 0.12);
    position: relative;
}

/* Featured indicator dot for large card */
.feature-card.large::after {
    content: "";
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--tertiary) 100%);
    border-radius: 50%;
    box-shadow: 0 0 12px rgba(123, 120, 170, 0.5);
    animation: featured-pulse 2.5s ease-in-out infinite;
    z-index: 2;
}

@keyframes featured-pulse {

    0%,
    100% {
        opacity: 0.7;
        transform: scale(1);
        box-shadow: 0 0 12px rgba(123, 120, 170, 0.5);
    }

    50% {
        opacity: 1;
        transform: scale(1.2);
        box-shadow: 0 0 20px rgba(123, 120, 170, 0.7);
    }
}

/* Premium hover states */
.feature-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow:
        0 20px 40px rgba(123, 120, 170, 0.15),
        0 8px 16px rgba(123, 120, 170, 0.1);
    background: var(--surface);
    border-color: rgba(123, 120, 170, 0.2);
    z-index: 2;
}

.feature-card.large:hover {
    box-shadow:
        0 24px 48px rgba(123, 120, 170, 0.18),
        0 12px 24px rgba(123, 120, 170, 0.12);
}

/* Icon Containers - Varied Premium Styles */
.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
    position: relative;
    transition:
        transform 450ms cubic-bezier(0.34, 1.56, 0.64, 1),
        box-shadow 400ms ease,
        background 300ms ease;
    /* Default gradient style */
    background: linear-gradient(145deg, rgba(216, 212, 240, 0.7) 0%, rgba(216, 212, 240, 0.4) 100%);
    box-shadow:
        0 4px 12px rgba(123, 120, 170, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

/* Icon glow effect on hover */
.feature-icon::after {
    content: "";
    position: absolute;
    inset: -4px;
    border-radius: 22px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--tertiary) 100%);
    opacity: 0;
    z-index: -1;
    filter: blur(12px);
    transition: opacity 400ms ease;
}

.feature-card:hover .feature-icon::after {
    opacity: 0.4;
}

/* Varied icon container shapes for visual rhythm */
.feature-card:nth-child(2) .feature-icon {
    border-radius: 50%;
    background: linear-gradient(145deg, rgba(200, 217, 196, 0.6) 0%, rgba(125, 156, 134, 0.3) 100%);
}

.feature-card:nth-child(3) .feature-icon {
    border-radius: 16px 24px 16px 24px;
    background: linear-gradient(145deg, rgba(248, 219, 217, 0.7) 0%, rgba(212, 140, 140, 0.25) 100%);
}

.feature-card:nth-child(4) .feature-icon {
    border-radius: 24px 16px 24px 16px;
    background: linear-gradient(145deg, rgba(230, 220, 207, 0.8) 0%, rgba(212, 160, 23, 0.2) 100%);
}

.feature-card:nth-child(5) .feature-icon {
    border-radius: 14px;
    background: linear-gradient(145deg, rgba(179, 176, 214, 0.6) 0%, rgba(123, 120, 170, 0.3) 100%);
}

.feature-card:nth-child(6) .feature-icon {
    border-radius: 50% 20px 50% 20px;
    background: linear-gradient(145deg, rgba(200, 217, 196, 0.5) 0%, rgba(216, 212, 240, 0.5) 100%);
}

/* Large card icon - more prominent */
.feature-card.large .feature-icon {
    width: 68px;
    height: 68px;
    border-radius: 20px;
    background: linear-gradient(145deg, rgba(123, 120, 170, 0.2) 0%, rgba(125, 156, 134, 0.15) 100%);
    box-shadow:
        0 6px 16px rgba(123, 120, 170, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

/* Icon hover animation - rises up smoothly */
.feature-card:hover .feature-icon {
    transform: translateY(-4px) scale(1.08);
    box-shadow:
        0 8px 20px rgba(123, 120, 170, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    background: linear-gradient(145deg, var(--primary) 0%, #6A67A0 100%);
}

.feature-card:hover .feature-icon .material-symbols-rounded {
    color: white;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
}

/* Typography refinements */
.feature-card h3 {
    margin-bottom: var(--space-xs);
    font-size: 1.3rem;
    transition: color 300ms ease;
    position: relative;
    z-index: 2;
}

.feature-card.large h3 {
    font-size: 1.5rem;
}

.feature-card:hover h3 {
    color: var(--primary);
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.65;
    position: relative;
    z-index: 2;
}

.feature-card.large p {
    font-size: 1.05rem;
    max-width: 90%;
}

/* Material Symbols */
.material-symbols-rounded {
    font-family: 'Material Symbols Rounded';
    font-variation-settings: 'FILL' 0, 'wght' 600, 'GRAD' 0, 'opsz' 28;
    font-size: 28px;
    color: var(--primary);
    transition: color 0.3s ease, filter 0.3s ease;
    font-weight: normal;
    font-style: normal;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    font-feature-settings: 'liga';
}

/* ========================================
   HOW IT WORKS
   ======================================== */
.how-it-works {
    /* Slightly cooler background transition */
    background: linear-gradient(180deg, var(--bg-features) 0%, var(--bg-how-it-works) 50%, var(--bg-education) 100%);
    position: relative;
    overflow: hidden;
}

/* Subtle background decoration */
.how-it-works::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse 80% 50% at 50% 0%, rgba(123, 120, 170, 0.04) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 20% 100%, rgba(125, 156, 134, 0.04) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 100%, rgba(230, 220, 207, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.how-it-works .section-header {
    position: relative;
    z-index: 2;
}

.how-it-works .section-header .lead {
    margin: 0 auto;
}

.steps-container {
    position: relative;
    z-index: 1;
}

/* SVG Connecting Path */
.steps-path {
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    height: 60px;
    z-index: 0;
    pointer-events: none;
}

.path-line {
    width: 100%;
    height: 100%;
}

.path-dash {
    fill: none;
    stroke: var(--primary-shadow);
    stroke-width: 3;
    stroke-dasharray: 12, 8;
    stroke-linecap: round;
}

@keyframes pathDash {
    0% {
        stroke-dashoffset: 0;
    }

    100% {
        stroke-dashoffset: -200;
    }
}

.path-dot {
    fill: var(--primary);
    opacity: 0.8;
}

.path-dot-1 {
    animation-delay: 0s;
}

.path-dot-2 {
    animation-delay: 0.3s;
}

.path-dot-3 {
    animation-delay: 0.6s;
}

@keyframes dotPulse {

    0%,
    100% {
        opacity: 0.4;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.3);
    }
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
    position: relative;
    z-index: 1;
}

.step {
    text-align: center;
    position: relative;
    z-index: 1;
    background: var(--background);
    padding: var(--space-xl) var(--space-lg) var(--space-lg);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(0, 0, 0, 0.02);
    transition: all var(--duration-deliberate) var(--ease-out-expo);
}

.step:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
}

/* Different subtle backgrounds for each step */
.step-1 {
    background: linear-gradient(180deg, rgba(123, 120, 170, 0.04) 0%, var(--background) 50%);
}

.step-2 {
    background: linear-gradient(180deg, rgba(125, 156, 134, 0.04) 0%, var(--background) 50%);
}

.step-3 {
    background: linear-gradient(180deg, rgba(230, 220, 207, 0.08) 0%, var(--background) 50%);
}

.step:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lifted);
}

/* Large Overlapping Step Numbers */
.step-number-wrapper {
    position: absolute;
    top: -24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary);
    background: linear-gradient(135deg, rgba(123, 120, 170, 0.12) 0%, rgba(123, 120, 170, 0.06) 100%);
    border: 2px solid rgba(123, 120, 170, 0.2);
    border-radius: 50%;
    box-shadow:
        0 4px 12px rgba(123, 120, 170, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    transition: all var(--duration-standard) ease;
}

.step:hover .step-number {
    background: linear-gradient(135deg, var(--primary) 0%, #6A67A0 100%);
    color: white;
    border-color: transparent;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(123, 120, 170, 0.35);
}

/* Step Icon */
.step-icon {
    width: 72px;
    height: 72px;
    margin: var(--space-md) auto var(--space-md);
    background: rgba(216, 212, 240, 0.4);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--duration-standard) ease;
}

.step-icon .material-symbols-rounded {
    font-size: 36px;
    color: var(--primary);
    transition: all var(--duration-standard) ease;
}

.step:hover .step-icon {
    background: var(--primary);
    transform: scale(1.05) rotate(3deg);
}

.step:hover .step-icon .material-symbols-rounded {
    color: white;
}

.step h3 {
    font-size: 1.25rem;
    margin-bottom: var(--space-xs);
    color: var(--text-primary);
}

.step p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ========================================
   EDUCATION SECTION - Cozy Library Style
   ======================================== */
.education {
    background:
        /* Subtle decorative book/learning shapes */
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cpath d='M15 45 L15 15 Q15 12 18 12 L25 12 Q28 12 28 15 L28 45' fill='none' stroke='%237B78AA' stroke-width='0.5' opacity='0.06'/%3E%3C/svg%3E") 5% 20%,
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Ccircle cx='20' cy='20' r='8' fill='none' stroke='%237D9C86' stroke-width='0.5' opacity='0.08'/%3E%3C/svg%3E") 95% 80%,
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='50' height='50' viewBox='0 0 50 50'%3E%3Cpath d='M10 40 L10 10 L30 10 L30 40 Z M30 10 L40 15 L40 45 L30 40' fill='none' stroke='%23E6DCCF' stroke-width='1' opacity='0.3'/%3E%3C/svg%3E") 90% 15%,
        /* Warm gradient background - like a cozy reading nook */
        linear-gradient(135deg,
            var(--surface) 0%,
            rgba(230, 220, 207, 0.2) 25%,
            rgba(125, 156, 134, 0.08) 50%,
            rgba(123, 120, 170, 0.06) 75%,
            var(--surface) 100%);
    background-repeat: no-repeat;
    overflow: hidden;
    position: relative;
}

/* Floating decorative elements - subtle ambient lighting feel */
.education::before {
    content: "";
    position: absolute;
    top: 10%;
    left: 5%;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(123, 120, 170, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: education-float 8s ease-in-out infinite;
    pointer-events: none;
}

.education::after {
    content: "";
    position: absolute;
    bottom: 15%;
    right: 8%;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(125, 156, 134, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: education-float 6s ease-in-out infinite reverse;
    pointer-events: none;
}

@keyframes education-float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

.education-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xxl);
    align-items: center;
    position: relative;
    z-index: 1;
}

/* Education headline with gradient accent */
.education-content h2 {
    position: relative;
}

.education-content h2 .gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--tertiary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Enhanced benefits list with custom icons */
.benefits-list {
    list-style: none;
    padding: 0;
    margin: var(--space-lg) 0 var(--space-lg) 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.benefits-list li {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-weight: 600;
    color: var(--text-primary);
    background: linear-gradient(135deg, var(--surface) 0%, rgba(255, 255, 255, 0.9) 100%);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-input);
    transition: all var(--duration-standard) cubic-bezier(0.2, 0.8, 0.2, 1);
    border: 1px solid rgba(123, 120, 170, 0.08);
    box-shadow: 0 2px 8px rgba(123, 120, 170, 0.04);
    position: relative;
    overflow: hidden;
}

/* Accent bar on hover */
.benefits-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--primary) 0%, var(--tertiary) 100%);
    opacity: 0;
    transition: opacity var(--duration-standard) ease;
}

.benefits-list li:hover {
    transform: translateX(8px);
    background: var(--surface);
    box-shadow: var(--shadow-soft);
    border-color: rgba(123, 120, 170, 0.15);
}

.benefits-list li:hover::before {
    opacity: 1;
}

/* Custom icons for each benefit */
.benefits-list li .benefit-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
    background: linear-gradient(135deg, rgba(123, 120, 170, 0.12) 0%, rgba(125, 156, 134, 0.08) 100%);
    border-radius: var(--radius-tooltip);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--duration-standard) ease;
}

.benefits-list li .benefit-icon .material-symbols-rounded {
    font-size: 22px;
    color: var(--primary);
    transition: all var(--duration-standard) ease;
}

.benefits-list li:hover .benefit-icon {
    transform: scale(1.08);
}

/* Individual benefit icon colors on hover */
.benefits-list li:nth-child(1):hover .benefit-icon {
    background: var(--primary);
}

.benefits-list li:nth-child(2):hover .benefit-icon {
    background: var(--tertiary);
}

.benefits-list li:nth-child(3):hover .benefit-icon {
    background: #D4A017;
}

.benefits-list li:nth-child(4):hover .benefit-icon {
    background: var(--primary);
}

.benefits-list li:hover .benefit-icon .material-symbols-rounded {
    color: white;
}

.benefit-text {
    flex: 1;
    font-size: 0.95rem;
    line-height: 1.4;
}

/* Education CTA link */
.education-cta {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    color: var(--primary);
    font-weight: 700;
    font-size: 1rem;
    padding: var(--space-sm) 0;
    transition: all var(--duration-standard) ease;
    position: relative;
}

.education-cta::after {
    content: "";
    position: absolute;
    bottom: var(--space-xs);
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--tertiary) 100%);
    transition: width var(--duration-standard) ease;
}

.education-cta:hover {
    color: var(--text-primary);
}

.education-cta:hover::after {
    width: 100%;
}

.education-cta .material-symbols-rounded {
    font-size: 20px;
    transition: transform var(--duration-standard) ease;
}

.education-cta:hover .material-symbols-rounded {
    transform: translateX(4px);
}

/* ========================================
   B2B SECTION
   ======================================== */
#business {
    scroll-margin-top: 80px;
}

.b2b {
    background: linear-gradient(135deg, #2D2B32 0%, #1A191F 100%);
    color: white;
    border-radius: var(--radius-large);
    margin: var(--space-md);
    width: auto;
}

.b2b-inner {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--space-xxl);
    align-items: center;
}

.b2b-content {
    max-width: 560px;
}

.b2b h2,
.b2b p {
    color: white;
}

.b2b p {
    opacity: 0.8;
}

.contact-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: white;
    padding: var(--space-xl);
    border-radius: var(--radius-card);
}

.contact-card-header {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
}

.contact-card h3 {
    color: white;
    margin: 0;
}

.contact-card>p {
    margin-bottom: var(--space-lg);
    font-size: 0.95rem;
    opacity: 0.85;
    line-height: 1.6;
}

/* B2B Benefits list */
.b2b-benefits {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    margin-top: var(--space-lg);
}

.b2b-benefit {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
}

.b2b-benefit .material-symbols-rounded {
    font-size: 1.25rem;
    color: var(--primary-bright);
}

/* Contact actions */
.contact-actions {
    display: flex;
    gap: var(--space-xs);
    margin-bottom: var(--space-md);
}

.contact-cta-primary {
    flex: 1;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-lg);
    background: linear-gradient(135deg, var(--primary) 0%, #6A67A0 100%);
    border-radius: var(--radius-input);
    color: white;
    text-decoration: none;
    transition: all var(--duration-quick) ease;
    cursor: pointer;
}

.contact-cta-primary:hover {
    background: linear-gradient(135deg, #9B97D0 0%, var(--primary) 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(123, 120, 170, 0.4);
}

.contact-cta-primary .material-symbols-rounded:first-child {
    font-size: 1.5rem;
    opacity: 0.9;
}

.contact-cta-text {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.contact-cta-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.7;
}

.contact-cta-value {
    font-weight: 700;
    font-size: 1rem;
}

.contact-cta-arrow {
    opacity: 0.7;
    transition: transform var(--duration-quick) ease;
}

.contact-cta-primary:hover .contact-cta-arrow {
    transform: translateX(4px);
    opacity: 1;
}

/* Copy button */
.contact-copy-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-input);
    color: white;
    cursor: pointer;
    transition: all var(--duration-quick) ease;
    position: relative;
}

.contact-copy-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.25);
}

.contact-copy-btn .material-symbols-rounded {
    font-size: 1.25rem;
}

.copy-tooltip {
    position: absolute;
    top: -32px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--surface-dark);
    color: white;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--duration-quick) ease;
}

.contact-copy-btn.copied .copy-tooltip {
    opacity: 1;
}

.contact-copy-btn.copied .material-symbols-rounded {
    color: var(--success);
}

/* Response time */
.contact-response-time {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    font-size: 0.8rem;
    opacity: 0.6;
    margin: 0;
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.contact-form-group {
    width: 100%;
}

.contact-input {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-input);
    color: white;
    font-family: inherit;
    font-size: 0.95rem;
    transition: all var(--duration-quick) ease;
}

.contact-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.contact-input:focus {
    outline: none;
    border-color: var(--primary-bright);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 0 3px rgba(179, 176, 214, 0.2);
}

.contact-textarea {
    resize: vertical;
    min-height: 80px;
}

.contact-submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    width: 100%;
    padding: 16px 24px;
    background: linear-gradient(135deg, var(--primary) 0%, #6A67A0 100%);
    border: none;
    border-radius: var(--radius-input);
    color: white;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--duration-quick) ease;
}

.contact-submit-btn:hover {
    background: linear-gradient(135deg, #9B97D0 0%, var(--primary) 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(123, 120, 170, 0.4);
}

.contact-submit-btn:active {
    transform: translateY(0);
}

.contact-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.contact-submit-btn .material-symbols-rounded {
    font-size: 1.25rem;
    transition: transform var(--duration-quick) ease;
}

.contact-submit-btn:hover .material-symbols-rounded {
    transform: translateX(4px);
}

/* Contact Success State */
.contact-success {
    display: none;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md);
    background: rgba(125, 156, 134, 0.2);
    border-radius: var(--radius-input);
    margin-bottom: var(--space-md);
}

.contact-success.visible {
    display: flex;
}

.contact-form.hidden {
    display: none;
}

.contact-success .success-checkmark {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: linear-gradient(135deg, var(--tertiary) 0%, #5a8a6a 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    animation: successPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.contact-success .success-text {
    text-align: left;
}

.contact-success .success-message {
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
    margin: 0 0 2px 0;
}

.contact-success .success-submessage {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

/* ========================================
   TRUST SIGNALS SECTION
   ======================================== */
.trust-signals {
    background: var(--surface);
    padding: var(--space-lg) 0;
    border-top: 1px solid rgba(0, 0, 0, 0.03);
}

.trust-signals-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-xl);
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-xs) var(--space-sm);
    background: var(--background);
    border-radius: var(--radius-pill);
    border: 1px solid var(--outline-soft);
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 600;
    transition: all var(--duration-standard) ease;
}

.trust-badge:hover {
    background: var(--surface);
    border-color: var(--primary-shadow);
    color: var(--text-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

.trust-badge-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: rgba(123, 120, 170, 0.1);
    border-radius: 50%;
    color: var(--primary);
}

.trust-badge-icon svg {
    width: 16px;
    height: 16px;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: var(--background);
    padding: var(--space-xl) 0;
    position: relative;
}

/* Premium gradient separator */
.footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
            transparent 0%,
            var(--primary-shadow) 20%,
            var(--primary-bright) 50%,
            var(--primary-shadow) 80%,
            transparent 100%);
}

/* Subtle background pattern */
.footer::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 10% 20%, rgba(123, 120, 170, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(125, 156, 134, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
    position: relative;
    z-index: 1;
}

.footer-brand {
    max-width: 320px;
}

.footer-brand .logo {
    margin-bottom: var(--space-sm);
    font-size: 1.75rem;
}

.footer-brand .logo img {
    width: 44px;
    height: 44px;
}

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

.footer-tagline {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-top: var(--space-sm);
}

.footer-tagline strong {
    color: var(--primary);
    font-weight: 700;
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Social Links */
.footer-social {
    display: flex;
    gap: var(--space-xs);
    margin-top: var(--space-md);
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--surface);
    border: 1px solid var(--outline-soft);
    border-radius: 50%;
    color: var(--text-secondary);
    transition: all var(--duration-standard) ease;
}

.social-link:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-soft);
}

.social-link svg {
    width: 18px;
    height: 18px;
}

.footer-column h4 {
    color: var(--text-primary);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-sm);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: var(--space-xs);
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.95rem;
    transition: all var(--duration-standard) ease;
    position: relative;
    display: inline-block;
}

.footer-links a::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    border-radius: 1px;
    transition: width var(--duration-standard) ease;
}

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

.footer-links a:hover::after {
    width: 100%;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-md);
    border-top: 1px solid var(--outline-soft);
    position: relative;
    z-index: 1;
}

.footer-bottom p {
    font-size: 0.875rem;
}

.footer-legal {
    display: flex;
    gap: var(--space-md);
}

.footer-legal a {
    font-size: 0.875rem;
    color: var(--text-secondary);
    opacity: 0.7;
    transition: all var(--duration-standard) ease;
    position: relative;
}

.footer-legal a::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary);
    transition: width var(--duration-standard) ease;
}

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

.footer-legal a:hover::after {
    width: 100%;
}

/* ========================================
   BACK TO TOP BUTTON
   ======================================== */
.back-to-top {
    position: fixed;
    bottom: var(--space-lg);
    right: var(--space-lg);
    width: 48px;
    height: 48px;
    background: var(--surface);
    border: 1px solid var(--outline-soft);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--duration-standard) ease;
    box-shadow: var(--shadow-soft);
    z-index: 100;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.back-to-top svg {
    width: 20px;
    height: 20px;
}

/* ========================================
   EDUCATION SECTION ENHANCEMENTS
   ======================================== */
.education-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* Organic blob uses .illustration-blob-alt class added in HTML */

.education-illustration {
    position: relative;
    z-index: 1;
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 25px 50px rgba(123, 120, 170, 0.2));
    transform: rotate(2deg);
    transition: all var(--duration-deliberate) cubic-bezier(0.2, 0.8, 0.2, 1);
}

.education-illustration:hover {
    transform: rotate(0deg) scale(1.02);
    filter: drop-shadow(0 30px 60px rgba(123, 120, 170, 0.25));
}

.education-content {
    max-width: 540px;
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) perspective(1000px) rotateY(-5deg) rotateX(2deg);
    }

    50% {
        transform: translateY(-15px) perspective(1000px) rotateY(-5deg) rotateX(2deg);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

/* Animation Delays */
.delay-100 {
    animation-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
}

.delay-300 {
    animation-delay: 0.3s;
}

/* Enhanced Scroll Reveal with blur clear effect */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    filter: blur(6px);
    transition:
        opacity 0.7s var(--ease-out-expo),
        transform 0.7s var(--ease-out-expo),
        filter 0.7s var(--ease-out-expo);
}

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

/* Staggered reveal delays for smoother cascading effect */
.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.15s;
}

.reveal-delay-3 {
    transition-delay: 0.2s;
}

.reveal-delay-4 {
    transition-delay: 0.25s;
}

.reveal-delay-5 {
    transition-delay: 0.3s;
}

.reveal-delay-6 {
    transition-delay: 0.35s;
}

/* ========================================
   COOKIE BANNER
   ======================================== */
.cookie-banner {
    position: fixed;
    bottom: var(--space-sm);
    left: var(--space-sm);
    right: var(--space-sm);
    background: var(--surface);
    box-shadow: var(--shadow-lifted);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-card);
    border: 1px solid var(--outline-soft);
    z-index: 9999;
    transform: translateY(calc(100% + var(--space-md)));
    transition: transform var(--duration-deliberate) cubic-bezier(0.2, 0.8, 0.2, 1);
}

.cookie-banner.visible {
    transform: translateY(0);
}

.cookie-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-md);
}

.cookie-text {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.cookie-text::before {
    content: "";
    display: block;
    width: 32px;
    height: 32px;
    min-width: 32px;
    background: rgba(123, 120, 170, 0.1);
    border-radius: 50%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%237B78AA' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M8 14s1.5 2 4 2 4-2 4-2'/%3E%3Cline x1='9' y1='9' x2='9.01' y2='9'/%3E%3Cline x1='15' y1='9' x2='15.01' y2='9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}

.cookie-text p {
    margin: 0;
    font-size: 0.9rem;
}

.cookie-text a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    position: relative;
}

.cookie-text a::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--primary);
    opacity: 0.3;
    transition: opacity var(--duration-quick) ease;
}

.cookie-text a:hover::after {
    opacity: 1;
}

.cookie-actions {
    display: flex;
    gap: var(--space-xs);
    flex-shrink: 0;
}

.cookie-btn {
    padding: 10px 20px;
    border-radius: var(--radius-pill);
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all var(--duration-standard) ease;
    border: 1px solid var(--outline-soft);
}

.cookie-btn-reject {
    background: transparent;
    color: var(--text-secondary);
}

.cookie-btn-reject:hover {
    background: var(--background);
    color: var(--text-primary);
    border-color: var(--primary-shadow);
}

.cookie-btn-accept {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 2px 8px rgba(123, 120, 170, 0.3);
}

.cookie-btn-accept:hover {
    background: var(--text-primary);
    border-color: var(--text-primary);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(45, 43, 50, 0.3);
}

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

    .feature-card.large,
    .feature-card.tall {
        grid-column: span 1;
        grid-row: span 1;
    }

    .hero-inner,
    .education-grid,
    .steps-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        margin: 0 auto;
        order: 2;
    }

    .hero-visual {
        order: 1;
        margin-bottom: var(--space-lg);
    }

    .steps-path {
        display: none;
    }

    .step {
        padding-top: var(--space-lg);
    }

    .step-number-wrapper {
        position: relative;
        top: 0;
        left: 0;
        transform: none;
        margin: 0 auto var(--space-sm);
    }

    /* Education section responsive */
    .education-visual {
        order: 1;
        margin-bottom: var(--space-lg);
    }

    .education-content {
        order: 2;
        margin: 0 auto;
        text-align: center;
        max-width: 100%;
    }

    .benefits-list {
        text-align: left;
    }

    .education-cta {
        justify-content: center;
    }

    .education::before,
    .education::after {
        display: none;
    }

    .education-visual::before {
        width: 75%;
        height: 75%;
    }

    .education-visual::after {
        display: none;
    }
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: var(--space-md);
        right: var(--space-md);
        flex-direction: column;
        background: var(--surface);
        padding: var(--space-md);
        border-radius: var(--radius-card);
        box-shadow: var(--shadow-lifted);
        border: 1px solid var(--outline-soft);
        gap: 0;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;
        padding: var(--space-sm) var(--space-md);
        border-radius: var(--radius-input);
        transition: background var(--duration-quick) ease;
    }

    .nav-links a:hover {
        background: var(--background);
    }

    .nav-links a::after {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    h1 {
        font-size: 2.5rem;
    }

    .b2b {
        margin: 0;
        border-radius: 0;
    }

    .b2b-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .b2b-content {
        margin: 0 auto;
    }

    .b2b-benefits {
        align-items: center;
    }

    .b2b-benefit {
        justify-content: center;
    }

    .contact-cta-primary {
        padding: var(--space-sm) var(--space-md);
    }

    .contact-cta-value {
        font-size: 0.9rem;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-lg);
    }

    .footer-brand {
        grid-column: span 2;
        max-width: 100%;
        text-align: center;
        margin-bottom: var(--space-md);
    }

    .footer-social {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--space-sm);
        text-align: center;
    }

    .cookie-banner {
        left: var(--space-xs);
        right: var(--space-xs);
        bottom: var(--space-xs);
    }

    .cookie-inner {
        flex-direction: column;
        text-align: center;
    }

    .cookie-text::before {
        display: none;
    }

    .store-badges {
        justify-content: center;
        flex-wrap: wrap;
    }

    .coming-soon-wrapper {
        align-items: center;
    }

    .coming-soon-badge {
        font-size: 0.9rem;
        padding: 10px 20px;
    }

    .coming-soon-subtext {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand {
        grid-column: span 1;
    }

    .footer-column {
        text-align: center;
    }

    .store-badges {
        flex-direction: column;
        align-items: center;
    }

    .trust-signals-inner {
        gap: var(--space-sm);
    }

    .trust-badge {
        font-size: 0.8rem;
        padding: 6px 12px;
    }

    .footer-social {
        justify-content: center;
    }

    .back-to-top {
        bottom: var(--space-md);
        right: var(--space-md);
        width: 44px;
        height: 44px;
    }
}

/* ========================================
   REDUCED MOTION PREFERENCES
   ======================================== */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    .reveal {
        opacity: 1;
        transform: none;
        filter: none;
        transition: none;
    }
}
