/* ============================================
   BRAND DESIGN SYSTEM - CSS Variables
   ============================================ */
:root {
    /* Background Colors */
    --bg-primary: #000000;
    --bg-elevated: #0a0f14;
    --bg-card: rgba(10, 15, 20, 0.85);

    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.4);

    /* Border Colors */
    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-default: rgba(255, 255, 255, 0.1);

    /* Brand Colors - Teal Spectrum */
    --teal-300: #5eead4;
    --teal-400: #2dd4bf;
    --teal-500: #14b8a6;
    --teal-600: #0d9488;

    /* Accent Colors */
    --purple-400: #c084fc;
    --purple-500: #a855f7;
    --pink-400: #f472b6;
    --pink-500: #ec4899;
    --blue-400: #60a5fa;
    --blue-500: #3b82f6;
    --orange-400: #fb923c;
    --green-400: #4ade80;
}

/* Shiny button gradient animation property */
@property --gradient-angle {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}

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

/* Global Styles & Dark Theme */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
    background: #000000;
    color: #ffffff;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

/* Teal gradient overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 80% 50%, rgba(20, 184, 166, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 20% 80%, rgba(16, 185, 129, 0.1) 0%, transparent 50%),
        url('../media/bg-mesh.jpg');
    /* Added mesh texture */
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
    /* Blend texture with the gradient */
    opacity: 0.4;
    /* Subtle texture */
    pointer-events: none;
    z-index: 0;
}

/* Interactive Background Grid */
canvas {
    position: fixed;
    inset: 0;
    display: block;
    background: transparent;
    z-index: 0;
    pointer-events: none;
}

/* Content Wrapper */
.content {
    position: relative;
    z-index: 1;
}

/* ============================================
   BRAND COMPONENT CLASSES
   ============================================ */

/* Full-Page Background Container */
.page-bg {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
    background: var(--bg-primary);
}

/* Grid Pattern Overlay */
.grid-overlay {
    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;
    pointer-events: none;
    z-index: 1;
}

/* Mouse-Following Gradient Orbs */
.landing-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.landing-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    transition: transform 0.3s ease-out;
}

.landing-orb--purple {
    width: 1000px;
    height: 1000px;
    background: radial-gradient(circle, var(--purple-400) 0%, rgba(168, 85, 247, 0.2) 30%, transparent 60%);
    opacity: 0.35;
    /* Default position: top-right area */
    top: -20%;
    right: -15%;
}

.landing-orb--teal {
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, var(--teal-400) 0%, rgba(20, 184, 166, 0.2) 30%, transparent 60%);
    opacity: 0.25;
    /* Default position: bottom-left area */
    bottom: -20%;
    left: -10%;
}

.landing-orb--blue {
    width: 900px;
    height: 900px;
    background: radial-gradient(circle, var(--blue-400) 0%, rgba(59, 130, 246, 0.2) 30%, transparent 60%);
    opacity: 0.3;
}

/* Particle canvas container */
.landing-particles {
    position: absolute;
    inset: 0;
}

.landing-particles canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

/* Cursor Glow Effect */
.cursor-glow {
    position: fixed;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 40%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 2;
    display: none;
}

.cursor-glow.active {
    display: block;
}

/* Glassmorphic Card Base */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-subtle);
    border-radius: 24px;
    transition: all 0.3s ease;
}

.glass-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

/* Animated Gradient Text */
.gradient-text {
    background: linear-gradient(
        135deg,
        #ffffff 0%,
        #e0fdfa 20%,
        #99f6e4 40%,
        #c4b5fd 60%,
        #e9d5ff 80%,
        #ffffff 100%
    );
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.3))
            drop-shadow(0 0 60px rgba(192, 132, 252, 0.25));
    animation: gradient-shift 10s ease-in-out infinite;
}

@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Shiny Rotating Border Button */
.btn-shiny {
    position: relative;
    overflow: hidden;
    border-radius: 9999px;
    padding: 1.1rem 2.25rem;
    font-size: 1.1rem;
    font-weight: 500;
    color: #ffffff;
    background: linear-gradient(#000000, #000000) padding-box,
        conic-gradient(
            from var(--gradient-angle),
            transparent 0%,
            var(--teal-500) 10%,
            var(--teal-400) 20%,
            var(--purple-400) 30%,
            var(--teal-500) 40%,
            transparent 50%
        ) border-box;
    border: 2px solid transparent;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
    cursor: pointer;
    animation: border-spin 3s linear infinite;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

@keyframes border-spin {
    to { --gradient-angle: 360deg; }
}

.btn-shiny:hover {
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.15),
                0 0 30px rgba(20, 184, 166, 0.4);
}

.btn-shiny:active {
    transform: translateY(1px);
}

.btn-shiny::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 120%, rgba(20, 184, 166, 0.15), transparent 60%);
    pointer-events: none;
}

.btn-shiny span {
    position: relative;
    z-index: 2;
}

/* Pill Badge with Pulsing Dot */
.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    font-size: 0.875rem;
    color: var(--text-secondary);
    backdrop-filter: blur(10px);
}

.badge-dot-pulse {
    width: 8px;
    height: 8px;
    background: var(--teal-400);
    border-radius: 50%;
    animation: dot-pulse 2s infinite;
}

.badge-dot-pulse--purple {
    background: var(--purple-400);
}

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

/* Typography Classes */
.headline-display {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(3rem, 10vw, 6rem);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.headline-section {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.text-body-lg {
    font-family: 'Inter', sans-serif;
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    font-weight: 400;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* ============================================
   LANDING HERO SECTION (Centered)
   ============================================ */

.landing-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: var(--bg-primary);
}

/* Transparent variant when using full-page background */
.landing-hero--transparent {
    background: transparent;
}

.landing-content {
    position: relative;
    z-index: 3;
    max-width: 1200px;
    width: 90%;
    padding: 2rem;
    padding-bottom: 8vh;
}

.landing-hero .badge-pill {
    margin-bottom: 2rem;
}

.landing-hero .headline-display {
    margin-bottom: 1.5rem;
}

.landing-subheadline {
    max-width: 700px;
    margin: 0 auto 3rem;
}

.landing-cta-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

/* ============================================
   TWO-SERVICE CARDS SECTION
   ============================================ */

.services-duo-section {
    padding: 100px 5%;
    background: var(--bg-primary);
    position: relative;
}

/* When using full-page background, make section transparent */
.page-bg ~ * .services-duo-section,
body:has(.page-bg) .services-duo-section {
    background: transparent;
}

.services-duo-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.service-card-large {
    padding: 48px;
    min-height: 420px;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    position: relative;
}

.service-card-large:hover {
    border-color: var(--teal-400);
    box-shadow: 0 0 40px rgba(20, 184, 166, 0.2);
}

.service-card--featured {
    border-color: rgba(168, 85, 247, 0.3);
}

.service-card--featured:hover {
    border-color: var(--purple-400);
    box-shadow: 0 0 40px rgba(168, 85, 247, 0.2);
}

.service-badge {
    position: absolute;
    top: 24px;
    right: 24px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(168, 85, 247, 0.15);
    border: 1px solid rgba(168, 85, 247, 0.3);
    border-radius: 100px;
    font-size: 0.75rem;
    color: var(--purple-400);
}

.service-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
    display: block;
}

.service-card-large h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.service-card-large p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
    flex: 1;
}

.service-cta {
    color: var(--teal-400);
    font-weight: 500;
    transition: transform 0.2s ease;
    display: inline-block;
}

.service-card-large:hover .service-cta {
    transform: translateX(4px);
}

.service-cta--purple {
    color: var(--purple-400);
}

/* Service Card Icons */
.service-card-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.service-icon--teal {
    background: rgba(20, 184, 166, 0.15);
    color: var(--teal-400);
}

.service-icon--purple {
    background: rgba(168, 85, 247, 0.15);
    color: var(--purple-400);
}

.service-card-icon svg {
    width: 32px;
    height: 32px;
}

/* ============================================
   FEATURE CARDS (AI Fluency Pathways Page)
   ============================================ */

.feature-cards-section {
    padding: 100px 5%;
    background: var(--bg-primary);
}

.feature-cards-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.feature-card {
    padding: 32px;
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon--teal {
    background: rgba(20, 184, 166, 0.15);
    color: var(--teal-400);
}

.feature-icon--purple {
    background: rgba(168, 85, 247, 0.15);
    color: var(--purple-400);
}

.feature-icon--pink {
    background: rgba(236, 72, 153, 0.15);
    color: var(--pink-400);
}

.feature-icon--blue {
    background: rgba(59, 130, 246, 0.15);
    color: var(--blue-400);
}

.feature-icon--orange {
    background: rgba(251, 146, 60, 0.15);
    color: var(--orange-400);
}

.feature-icon svg {
    width: 28px;
    height: 28px;
}

.feature-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ============================================
   AUDIENCE SECTIONS (For Districts, etc.)
   ============================================ */

.audience-section {
    padding: 80px 5%;
    background: var(--bg-primary);
    border-top: 1px solid var(--border-subtle);
}

.audience-container {
    max-width: 1100px;
    margin: 0 auto;
}

.audience-label {
    font-size: 0.85rem;
    color: var(--teal-400);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
}

.audience-section h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 32px;
    color: var(--text-primary);
}

.audience-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.benefit-item {
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
}

.benefit-item h3 {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-primary);
}

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

/* ============================================
   SERVICE PAGE HERO
   ============================================ */

.service-hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: var(--bg-primary);
    padding-top: 100px;
}

.service-hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    padding: 2rem;
}

.service-hero-content h1 {
    margin-bottom: 1.5rem;
}

.service-hero-content p {
    max-width: 700px;
    margin: 0 auto 2rem;
}

.service-hero--pathways .landing-orb--purple {
    opacity: 0.4;
}

/* ============================================
   RESPONSIVE: Brand Components
   ============================================ */

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

    .service-card-large {
        min-height: auto;
        padding: 36px;
    }
}

@media (max-width: 768px) {
    .landing-content {
        padding: 1.5rem;
        padding-bottom: 12vh;
    }

    .headline-display {
        font-size: clamp(2.25rem, 12vw, 3.5rem);
    }

    .landing-subheadline {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .btn-shiny {
        padding: 1rem 1.75rem;
        font-size: 1rem;
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .landing-orb--purple {
        width: 600px;
        height: 600px;
        opacity: 0.25;
    }

    .landing-orb--teal {
        width: 450px;
        height: 450px;
        opacity: 0.2;
    }

    .cursor-glow {
        display: none !important;
    }

    .feature-cards-grid {
        grid-template-columns: 1fr;
    }

    .audience-benefits {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .headline-display {
        font-size: clamp(2rem, 14vw, 2.75rem);
    }

    .btn-shiny {
        max-width: 280px;
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }

    .landing-orb--purple {
        width: 400px;
        height: 400px;
    }

    .landing-orb--teal {
        width: 300px;
        height: 300px;
    }
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 40px;
    background: rgba(0, 0, 0, 0.6);
    /* See-through black pane */
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    width: 100%;
}

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

.nav-logo {
    display: block;
    font-size: 1.2rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 0.02em;
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 0;
    /* Removed gap as they are in a container */
    align-items: center;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 4px;
    border-radius: 12px;
    /* Slightly rounded container */
}

.nav-item {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 400;
    transition: all 0.3s ease;
    padding: 8px 24px;
    border-radius: 8px;
}

.nav-item:hover {
    color: #fff;
}

/* Active state (Home) - Glowing White */
.nav-item.active {
    background: transparent;
    color: #ffffff !important;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.6), 0 0 20px rgba(255, 255, 255, 0.4) !important;
    box-shadow: none;
    font-weight: 400;
}

/* Contact Link */
.nav-item[href="#contact"] {
    background: transparent;
    color: rgba(255, 255, 255, 0.8);
}

.nav-item[href="#contact"]:hover {
    background: transparent;
    color: #fff;
    transform: none;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 15px;
    z-index: 101;
    margin-right: -15px;
    /* Compensate for extra padding to keep alignment */
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.hamburger:hover span {
    background: #ffffff;
}

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

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

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

/* Service Page Container - Slide functionality target */
.service-page {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 80px 120px 80px;
    display: none;
    /* Hidden by default */
    min-height: calc(100vh - 100px);
    /* Ensure minimum height for content */
}

.service-page.active {
    display: block;
    /* Shown when active */
}

/* Slide Navigation Controls (Fixed Bottom) */
.slide-nav-container {
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 200;
    display: flex;
    align-items: center;
    gap: 40px;
    background: rgba(10, 20, 16, 0.8);
    backdrop-filter: blur(10px);
    padding: 20px 40px;
    border-radius: 50px;
    border: 1px solid rgba(20, 184, 166, 0.3);
}

.slide-arrow {
    background: rgba(20, 184, 166, 0.15);
    border: 1px solid rgba(20, 184, 166, 0.4);
    color: #5EEAD4;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2em;
}

.slide-arrow:hover {
    background: rgba(20, 184, 166, 0.3);
    border-color: #14b8a6;
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(20, 184, 166, 0.4);
}

.slide-arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    color: rgba(255, 255, 255, 0.4);
}

.slide-arrow:disabled:hover {
    transform: scale(1);
    box-shadow: none;
    background: rgba(20, 184, 166, 0.15);
}

.slide-dots {
    display: flex;
    gap: 12px;
    align-items: center;
}

.slide-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    /* REQUIRED for tooltip positioning */
}

.slide-dot:hover {
    background: rgba(255, 255, 255, 0.8);
    border-color: #ffffff;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
}

.slide-dot.active {
    background: #ffffff;
    border-color: #ffffff;
    width: 32px;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.8);
}

/* --- Tooltip Styles for Dot Hover --- */
.slide-dot::after {
    content: attr(data-title);
    /* Pulls text from the data-title attribute */
    position: absolute;
    bottom: 150%;
    left: 50%;
    transform: translateX(-50%) scale(0.9);
    white-space: nowrap;
    background: #ffffff;
    /* White color */
    color: #000000;
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 0.8em;
    font-weight: 500;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, transform 0.2s ease;
    pointer-events: none;
    z-index: 201;
    /* Ensure it's above the navigation bar */
}

.slide-dot:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) scale(1);
}

/* ------------------------------------ */


.slide-counter {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9em;
    font-weight: 300;
    min-width: 60px;
    text-align: center;
}

/* Hero Section (Top of each page) */
.hero {
    padding: 120px 0 140px 0;
    text-align: left;
    border-bottom: 1px solid rgba(20, 184, 166, 0.15);
    margin-bottom: 100px;
    position: relative;
}

.hero h1 {
    font-size: 5em;
    font-weight: 200;
    margin-bottom: 30px;
    letter-spacing: -0.03em;
    color: #ffffff;
    line-height: 1.1;
}

}

.section-title {
    font-size: 3.2em;
    font-weight: 200;
    margin-bottom: 60px;
    color: #ffffff;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.overview-text {
    font-size: 1.4em;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 24px;
    font-weight: 300;
}

/* Service Page Specific Spacing */
.service-page .section {
    margin-bottom: 80px;
}

.service-page .section-title {
    margin-bottom: 40px;
    margin-top: 20px;
}

.service-page .overview-text:last-of-type {
    margin-bottom: 50px;
}

.service-page .process-steps,
.service-page .engagement-models {
    margin-top: 40px;
}


/* Grid Layouts */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

/* Cards (Standard) */
.card {
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.05) 0%, rgba(0, 0, 0, 0.4) 100%);
    border: 1px solid rgba(20, 184, 166, 0.2);
    border-radius: 20px;
    padding: 40px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.card:hover {
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.1) 0%, rgba(0, 0, 0, 0.6) 100%);
    border-color: rgba(20, 184, 166, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(20, 184, 166, 0.2);
}

.card h3 {
    font-size: 1.3em;
    font-weight: 400;
    color: #ffffff;
    margin-bottom: 12px;
}

.card p,
.card li {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    font-size: 0.95em;
}

.card ul {
    list-style: none;
    padding: 0;
}

.card li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.card li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: #14b8a6;
}

/* Problem Grid Items (Red/Error style) */
.problem-item {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.03) 0%, rgba(0, 0, 0, 0.4) 100%);
    border: 1px solid rgba(239, 68, 68, 0.15);
    border-radius: 16px;
    padding: 28px 24px;
    text-align: center;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95em;
    transition: all 0.3s ease;
    line-height: 1.5;
}

.problem-item:hover {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.08) 0%, rgba(0, 0, 0, 0.6) 100%);
    border-color: rgba(239, 68, 68, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(239, 68, 68, 0.15);
}

/* Process Steps */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}

.process-step {
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.03) 0%, rgba(0, 0, 0, 0.6) 100%);
    border: 1px solid rgba(20, 184, 166, 0.2);
    border-radius: 20px;
    padding: 36px 28px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.process-step::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.08) 0%, transparent 60%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.process-step:hover::before {
    opacity: 1;
}

.process-step:hover {
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.08) 0%, rgba(0, 0, 0, 0.7) 100%);
    border-color: rgba(20, 184, 166, 0.5);
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(20, 184, 166, 0.2);
}

.step-number {
    font-size: 3em;
    font-weight: 100;
    color: rgba(20, 184, 166, 0.5);
    margin-bottom: 16px;
    line-height: 1;
}

.step-title {
    font-size: 1.15em;
    font-weight: 400;
    color: #ffffff;
    margin-bottom: 12px;
    line-height: 1.3;
}

.step-description {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.95em;
    line-height: 1.6;
}

/* Engagement Models */
.engagement-models {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 30px;
}

.engagement-card {
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.04) 0%, rgba(0, 0, 0, 0.5) 100%);
    border: 1px solid rgba(20, 184, 166, 0.25);
    border-radius: 20px;
    padding: 44px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.engagement-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.12) 0%, transparent 70%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.engagement-card:hover {
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.1) 0%, rgba(0, 0, 0, 0.7) 100%);
    border-color: rgba(20, 184, 166, 0.5);
    box-shadow: 0 16px 50px rgba(20, 184, 166, 0.25);
    transform: translateY(-4px);
}

.engagement-card h3 {
    font-size: 1.6em;
    font-weight: 300;
    color: #ffffff;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.engagement-card p {
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.8;
    font-size: 1.05em;
}

/* CTA Section */
.cta-section {
    background: rgba(0, 0, 0, 0.85);
    border: 1px solid rgba(20, 184, 166, 0.3);
    border-radius: 24px;
    padding: 80px 60px;
    text-align: center;
    margin-top: 100px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.cta-section canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.1) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.cta-section h2 {
    font-size: 2.8em;
    font-weight: 200;
    margin-bottom: 40px;
    color: #ffffff;
    letter-spacing: -0.02em;
    position: relative;
    z-index: 1;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    color: #000000;
    padding: 16px 36px;
    border-radius: 50px;
    font-size: 1em;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.cta-button:hover {
    background: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.2);
}

.cta-arrow {
    font-size: 1.3em;
    transition: transform 0.3s ease;
}

.cta-button:hover .cta-arrow {
    transform: translateX(4px);
}

/* Overview Text */
.overview-text {
    font-size: 1.15em;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 24px;
    font-weight: 300;
}

/* Responsive */
@media (max-width: 1200px) {
    .service-page {
        padding: 0 40px 80px 40px;
    }

    .nav {
        padding: 20px 40px;
    }

    .hero h1 {
        font-size: 3.5em;
        /* Adjusted slightly from original to fit better */
    }

    .hero p {
        font-size: 1.2em;
    }

    .section-title {
        font-size: 2.5em;
        /* Adjusted slightly from original to fit better */
    }
}

@media (max-width: 768px) {
    .service-page {
        padding: 0 20px 60px 20px;
    }

    .nav {
        padding: 20px;
    }

    /* Show hamburger menu on mobile */
    .hamburger {
        display: flex;
    }

    /* Mobile menu overlay */
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 70%;
        max-width: 300px;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        padding: 40px 20px;
        border: none;
        border-left: 1px solid rgba(20, 184, 166, 0.3);
        transition: right 0.3s ease;
        z-index: 100;
    }

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

    .nav-item {
        font-size: 1.1rem;
        padding: 12px 24px;
    }

    .hero {
        padding: 140px 0 60px 0;
        /* Increased top padding to prevent nav overlap */
        margin-bottom: 60px;
    }

    .hero h1 {
        font-size: 2.2em;
        line-height: 1.2;
    }

    .hero p {
        font-size: 1.05em;
    }

    .cta-section {
        padding: 40px 20px;
    }

    .slide-nav-container {
        bottom: 20px;
        padding: 15px 25px;
        gap: 20px;
    }

    .slide-arrow {
        width: 40px;
        height: 40px;
    }

    .slide-counter {
        font-size: 0.85em;
        min-width: 50px;
    }

}

/* =========================================
   HOMEPAGE STYLES - MATCHING WIX DESIGN
   ========================================= */

.home-hero {
    height: 80vh !important;
    position: relative;
    overflow: hidden;
    background: #000;
}

/* Hero Canvas */
#hero-fx {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: auto;
}

/* Mesh Background - Full Width */
.hero-mesh-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    mask-image: linear-gradient(to right, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 1) 50%);
    -webkit-mask-image: linear-gradient(to right, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 1) 50%);
}

.hero-mesh-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../media/hero image.jpg') no-repeat center center;
    background-size: cover;
    opacity: 0.95;
    z-index: 1;
}

/* Accent Line Removed */
.hero-accent-line {
    display: none;
}

/* Title Container - overlapping the mesh */
.hero-title-container {
    position: absolute;
    left: 5%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
}

.hero-title-container h1 {
    font-size: 7.5rem;
    font-weight: 300;
    line-height: 1.1;
    margin: 0;
    color: #fff;
    letter-spacing: -3px;
}

/* Bottom Right - Tagline and CTA */
.hero-bottom-right {
    position: absolute;
    bottom: 12%;
    right: 8%;
    z-index: 3;
    text-align: right;
}

.hero-tagline {
    font-size: 1.35rem;
    color: #fff;
    margin-bottom: 20px;
    font-weight: 300;
    letter-spacing: 0.3px;
    line-height: 1.4;
}

.hero-cta-button {
    background: rgba(255, 255, 255, 0.95);
    color: #000;
    padding: 14px 32px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.hero-cta-button:hover {
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(20, 184, 166, 0.4);
}

/* Services Cards Section */
.services-cards-section {
    padding: 80px 5% 100px;
    background: linear-gradient(180deg, #000 0%, #050a0f 50%, #000 100%);
    position: relative;
}

/* Add subtle overlay for extra depth */
.services-cards-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(0, 0, 0, 0.4) 100%);
    pointer-events: none;
    z-index: 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.service-card {
    position: relative;
    background: rgba(20, 184, 166, 0.05);
    border: 1.5px solid rgba(20, 184, 166, 0.3);
    border-radius: 20px;
    padding: 40px;
    min-height: 420px;
    display: flex;
    flex-direction: column;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), background 0.6s ease;
    overflow: hidden;
    box-shadow:
        0 0 20px rgba(20, 184, 166, 0.15),
        inset 0 0 30px rgba(20, 184, 166, 0.03);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../media/bg-mesh.jpg') no-repeat center center;
    background-size: cover;
    opacity: 0.08;
    z-index: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover {
    background: #000000;
    border-color: rgba(20, 184, 166, 0.6);
    transform: translateY(-5px);
    box-shadow:
        0 0 40px rgba(20, 184, 166, 0.4),
        0 0 60px rgba(20, 184, 166, 0.2),
        inset 0 0 40px rgba(20, 184, 166, 0.05),
        0 10px 30px rgba(0, 0, 0, 0.3);
}

.service-card:hover::before {
    opacity: 0.05;
}

/* Card with interactive canvas (Card 2) */
.card-with-canvas {
    background: rgba(0, 0, 0, 0.8);
}

.card-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: auto;
}

/* Card with background image (Card 1) */
.card-with-bg-image::before {
    background: url('../media/glass-pane.png') no-repeat center center;
    background-size: cover;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.card-with-bg-image:hover::before {
    opacity: 0;
}

.card-with-bg-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
            rgba(20, 30, 35, 0.85) 0%,
            rgba(10, 20, 25, 0.9) 50%,
            rgba(5, 15, 20, 0.95) 100%);
    z-index: 0;
    transition: opacity 0.3s ease;
    opacity: 1;
}

.card-with-bg-image:hover {
    background: #000000;
}

.card-with-bg-image:hover::after {
    opacity: 0;
}

/* Card with mesh background (Card 4) */
.card-with-mesh {
    transition: background 0.6s ease-out;
}

.card-with-mesh::before {
    opacity: 0.25;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

/* Unique Backgrounds */
.card-bg-4::before {
    background-image: url('../media/hero image.jpg');
}

.card-with-mesh:hover {
    background: #000000;
}

.card-with-mesh:hover::before {
    opacity: 0.15;
}

/* Card Visual Container */
.card-visual {
    position: absolute;
    bottom: 30px;
    right: 30px;
    width: 120px;
    height: 120px;
    z-index: 1;
    opacity: 0.6;
    transition: all 0.6s ease-out;
}

.service-card:hover .card-visual {
    opacity: 0.9;
    transform: scale(1.05);
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(1.1) saturate(1.2);
}

.card-number {
    font-size: 4rem;
    font-weight: 200;
    color: rgba(255, 255, 255, 0.15);
    line-height: 1;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    transition: color 0.6s ease, text-shadow 0.6s ease;
}

.service-card:hover .card-number,
.service-card.active .card-number {
    color: #ffffff;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.card-content {
    flex: 1;
    position: relative;
    z-index: 1;
}

.card-content h3 {
    font-size: 1.5rem;
    font-weight: 400;
    color: #fff;
    margin-bottom: 15px;
}

.card-content p {
    font-size: 1.29rem;
    color: #a0aec0;
    line-height: 1.7;
    transition: color 0.3s ease;
}

.service-card:hover .card-content p {
    color: #ffffff;
}



/* Services Overview Section */
.services-overview-section {
    padding: 100px 5%;
    background: #000;
    position: relative;
    overflow: hidden;
}

/* When using full-page background, make section transparent */
body:has(.page-bg) .services-overview-section {
    background: transparent;
}

body:has(.page-bg) .services-overview-section #services-fx {
    display: none;
}

/* Services Canvas */
#services-fx {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.services-overview-section h2 {
    font-size: 2.5rem;
    margin-bottom: 60px;
    font-weight: 300;
    color: #fff;
    position: relative;
    z-index: 1;
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
    z-index: 1;
}

.service-list-item {
    display: flex;
    padding: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-decoration: none;
    color: #fff;
    transition: all 0.3s ease;
    cursor: pointer;
    border-radius: 12px;
    margin-bottom: 8px;
    background: rgba(20, 184, 166, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.service-list-item:hover {
    background: rgba(20, 184, 166, 0.08);
    padding-left: 50px;
    border-color: rgba(20, 184, 166, 0.3);
    box-shadow:
        0 0 20px rgba(20, 184, 166, 0.2),
        inset 0 0 20px rgba(20, 184, 166, 0.05);
    transform: translateX(5px);
}

.service-list-item:last-child {
    border-bottom: none;
}

.service-number {
    font-size: 3rem;
    font-weight: 300;
    width: 120px;
    color: rgba(255, 255, 255, 0.4);
    flex-shrink: 0;
}

.service-info {
    flex: 1;
}

.service-info h3 {
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 12px;
    color: #fff;
}

.service-info p {
    font-size: 1.25rem;
    color: #a0aec0;
    max-width: 700px;
    line-height: 1.7;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-title-container h1 {
        font-size: 4.5rem;
    }

    .hero-mesh-bg {
        width: 60%;
    }

    .hero-accent-line {
        left: 40%;
    }

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

@media (max-width: 768px) {
    .home-hero {
        height: 85vh !important;
        min-height: 85vh;
    }

    .hero-mesh-bg {
        width: 100%;
        opacity: 0.6;
    }

    .hero-accent-line {
        display: none;
    }

    .hero-title-container {
        position: relative;
        left: 0;
        top: 0;
        transform: none;
        padding: 180px 5% 50px;
        text-align: left;
    }

    .hero-title-container h1 {
        font-size: 3rem;
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    }

    .hero-bottom-right {
        position: relative;
        bottom: auto;
        right: auto;
        padding: 50px 5% 80px;
        text-align: center;
    }

    .hero-tagline {
        font-size: 0.95rem;
        text-align: left;
        text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
    }

    .service-card {
        padding: 30px;
        min-height: 250px;
    }

    .card-number {
        font-size: 3rem;
    }

    .service-list-item {
        flex-direction: column;
        gap: 15px;
    }

    .service-number {
        width: auto;
    }

    .services-overview-section h2 {
        font-size: 2rem;
    }
}

/* --- Service Page Overrides (Migrated from services-2.html) --- */

/* Cards - Match Homepage Style */
.card {
    background: rgba(5, 25, 30, 0.85);
    border: 1.5px solid rgba(20, 184, 166, 0.4);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 0 20px rgba(20, 184, 166, 0.15),
        0 4px 20px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.card::before {
    display: none;
}

.card:hover {
    background: rgba(5, 30, 35, 0.9);
    border-color: rgba(20, 184, 166, 0.7);
    box-shadow: 0 0 30px rgba(20, 184, 166, 0.3),
        0 12px 40px rgba(20, 184, 166, 0.2);
    transform: translateY(-6px);
}

.card p,
.card li {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
    line-height: 1.7;
}

.card li::before {
    content: "";
    display: none;
}

.card li {
    padding-left: 0;
    margin-bottom: 12px;
}

/* Problem Items - Increased Contrast and Size */
.problem-item {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(20, 5, 5, 0.8) 100%);
    border: 1px solid rgba(239, 68, 68, 0.4);
    /* Brighter border */
    font-size: 1.2rem;
    /* Increased from 0.95em */
    color: #ffffff;
    /* Pure white */
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.problem-item:hover {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.2) 0%, rgba(30, 10, 10, 0.9) 100%);
    border-color: rgba(239, 68, 68, 0.8);
    box-shadow: 0 12px 40px rgba(239, 68, 68, 0.25);
    transform: translateY(-4px);
}

/* Section Titles - Make them pop too */
.section-title {
    text-shadow: 0 0 20px rgba(20, 184, 166, 0.3);
    color: #ffffff;
}

/* ===== FOOTER ===== */
.footer {
    background: #000;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 80px 5% 40px;
    position: relative;
}

/* When using full-page background, make footer transparent */
body:has(.page-bg) .footer {
    background: transparent;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 2fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 400;
    color: #fff;
    margin: 0;
    margin-bottom: 20px;
}

.footer-social {
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.3s ease;
    width: 24px;
    height: 24px;
}

.footer-social:hover {
    color: #14b8a6;
}

.footer-heading {
    font-size: 1rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    margin-bottom: 8px;
}

.footer-link {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    line-height: 1.6;
}

.footer-link:hover {
    color: #14b8a6;
}

.footer-newsletter {
    max-width: 400px;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.newsletter-input-wrapper {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.newsletter-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
}

.newsletter-input {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding: 12px 0;
    color: #fff;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: border-color 0.3s ease;
}

.newsletter-input:focus {
    outline: none;
    border-bottom-color: #14b8a6;
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.newsletter-button {
    background: transparent;
    border: 1.5px solid rgba(255, 255, 255, 0.8);
    color: #fff;
    padding: 14px 32px;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    align-self: flex-start;
}

.newsletter-button:hover {
    background: #fff;
    color: #000;
    border-color: #fff;
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-credit {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    margin: 0;
    font-weight: 300;
}

/* Responsive Footer */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .footer-newsletter {
        grid-column: 1 / -1;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 60px 5% 30px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-bottom: 40px;
    }

    .footer-newsletter {
        grid-column: 1;
    }
}

/* ===== BUILT FOR SECTION (Process-Style) ===== */
.built-for-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.built-for-item {
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.03) 0%, rgba(0, 0, 0, 0.6) 100%);
    border: 1px solid rgba(20, 184, 166, 0.2);
    border-radius: 20px;
    padding: 36px 28px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.built-for-item::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.08) 0%, transparent 60%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.built-for-item:hover::before {
    opacity: 1;
}

.built-for-item:hover {
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.08) 0%, rgba(0, 0, 0, 0.7) 100%);
    border-color: rgba(20, 184, 166, 0.5);
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(20, 184, 166, 0.2);
}

.built-for-item ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.built-for-item li {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 12px;
    padding-left: 0;
}

/* ===== IMPROVED PROBLEM ITEMS ===== */
.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.problem-item {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.05) 0%, rgba(20, 5, 5, 0.7) 100%);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
    font-weight: 400;
    transition: all 0.3s ease;
    line-height: 1.6;
    position: relative;
    overflow: hidden;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.problem-item::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(239, 68, 68, 0.1) 0%, transparent 60%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.problem-item:hover::before {
    opacity: 1;
}

.problem-item:hover {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.12) 0%, rgba(30, 10, 10, 0.85) 100%);
    border-color: rgba(239, 68, 68, 0.6);
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(239, 68, 68, 0.25);
}

/* ===== INTERACTIVE CURSOR SECTION ===== */
.cursor-interactive-section {
    position: relative;
    padding: 120px 40px;
    background: linear-gradient(135deg, rgba(5, 25, 30, 0.95) 0%, rgba(0, 0, 0, 0.98) 100%);
    overflow: hidden;
    cursor: none;
}

.cursor-interactive-section canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.cursor-interactive-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cursor-interactive-content h3 {
    font-size: 2.5em;
    font-weight: 300;
    color: #ffffff;
    margin-bottom: 20px;
    opacity: 0.9;
}

.cursor-interactive-content p {
    font-size: 1.1em;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

/* Custom cursor for interactive section */
.cursor-interactive-section .custom-cursor {
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(20, 184, 166, 0.8);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.15s ease;
    box-shadow: 0 0 20px rgba(20, 184, 166, 0.6);
}

.cursor-interactive-section .custom-cursor::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    background: rgba(20, 184, 166, 1);
    border-radius: 50%;
}

.cursor-interactive-section:hover .custom-cursor {
    transform: scale(1.5);
}

/* ===== WAITLIST APPLICATION SECTION ===== */
.waitlist-section {
    padding: 100px 5%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.95) 0%, rgba(5, 15, 20, 0.98) 50%, rgba(0, 0, 0, 0.95) 100%);
    position: relative;
    overflow: hidden;
}

/* Transparent variant when using full-page background */
.waitlist-section--transparent {
    background: transparent;
}

.waitlist-section--transparent::before {
    display: none;
}

.waitlist-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(20, 184, 166, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.waitlist-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* Left content */
.waitlist-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.waitlist-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(20, 184, 166, 0.1);
    border: 1px solid rgba(20, 184, 166, 0.3);
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #14b8a6;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    width: fit-content;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: #14b8a6;
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(20, 184, 166, 0.6);
    animation: glow-dot 3s ease-in-out infinite;
}

@keyframes glow-dot {
    0%, 100% {
        opacity: 0.7;
        box-shadow: 0 0 8px rgba(20, 184, 166, 0.4);
    }
    50% {
        opacity: 1;
        box-shadow: 0 0 12px rgba(20, 184, 166, 0.8);
    }
}

.waitlist-heading {
    font-size: 3rem;
    font-weight: 300;
    color: #ffffff;
    margin: 0;
    line-height: 1.2;
}

.waitlist-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin: 0;
}

.waitlist-criteria {
    margin-top: 16px;
}

.criteria-label {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0 0 12px 0;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.criteria-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.criteria-list li {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    padding-left: 24px;
    position: relative;
    line-height: 1.6;
}

.criteria-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 1px;
    background: #14b8a6;
}

/* Shiny Card Animation */
@property --shiny-angle {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}

@keyframes shiny-border-spin {
    to {
        --shiny-angle: 360deg;
    }
}

/* Right form wrapper - Shiny Card Style */
.waitlist-form-wrapper {
    border-radius: 24px;
    padding: 0;
    position: relative;
    overflow: hidden;
}

/* Shiny card with rotating gradient border */
.waitlist-form-wrapper.shiny-card {
    background: linear-gradient(var(--bg-card), var(--bg-card)) padding-box,
        conic-gradient(
            from var(--shiny-angle),
            transparent 0%,
            var(--teal-500) 5%,
            var(--teal-400) 15%,
            var(--purple-400) 25%,
            var(--teal-500) 35%,
            transparent 45%
        ) border-box;
    border: 2px solid transparent;
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.08),
        0 0 30px rgba(20, 184, 166, 0.2);
    animation: shiny-border-spin 4s linear infinite;
}

/* Inner glow effect */
.waitlist-form-wrapper.shiny-card::before {
    content: '';
    pointer-events: none;
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 120%, rgba(20, 184, 166, 0.12), transparent 60%);
    z-index: 0;
    border-radius: inherit;
}

/* Dot pattern overlay */
.waitlist-form-wrapper.shiny-card::after {
    content: '';
    pointer-events: none;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
    width: calc(100% - 6px);
    height: calc(100% - 6px);
    background: radial-gradient(circle at 2px 2px, rgba(255, 255, 255, 0.2) 0.5px, transparent 0) padding-box;
    background-size: 4px 4px;
    background-repeat: space;
    mask-image: conic-gradient(
        from calc(var(--shiny-angle) + 45deg),
        black,
        transparent 10% 90%,
        black
    );
    border-radius: inherit;
    opacity: 0.4;
}

/* Inner content wrapper */
.shiny-card-inner {
    position: relative;
    z-index: 2;
    padding: 48px;
    backdrop-filter: blur(20px);
}

.waitlist-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.waitlist-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: relative;
    z-index: 2;
}

.form-title {
    font-size: 1.5rem;
    font-weight: 400;
    color: #ffffff;
    margin: 0 0 8px 0;
    text-align: center;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.waitlist-form .form-input {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 16px;
    color: #fff;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
}

.waitlist-form .form-input:focus {
    outline: none;
    border-color: #14b8a6;
    background: rgba(20, 184, 166, 0.05);
    box-shadow: 0 0 20px rgba(20, 184, 166, 0.1);
}

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

.waitlist-submit {
    background: transparent;
    border: 1.5px solid #14b8a6;
    color: #14b8a6;
    padding: 18px 36px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 8px;
}

.waitlist-submit:hover {
    background: #ffffff;
    border-color: #ffffff;
    color: #000;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
}

.submit-arrow {
    transition: transform 0.3s ease;
}

.waitlist-submit:hover .submit-arrow {
    transform: translateX(4px);
}

.form-note {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
    text-align: center;
    margin: 0;
    line-height: 1.5;
}

/* Responsive */
@media (max-width: 968px) {
    .waitlist-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .waitlist-content {
        text-align: center;
    }

    .waitlist-badge {
        margin: 0 auto;
    }

    .waitlist-heading {
        font-size: 2.2rem;
    }

    .waitlist-form-wrapper {
        max-width: 500px;
        margin: 0 auto;
    }

    .shiny-card-inner {
        padding: 36px;
    }
}

@media (max-width: 600px) {
    .waitlist-section {
        padding: 60px 5%;
    }

    .waitlist-heading {
        font-size: 1.8rem;
    }

    .waitlist-description {
        font-size: 1rem;
    }

    .waitlist-badge {
        font-size: 0.7rem;
        padding: 6px 14px;
    }

    .waitlist-form-wrapper {
        width: 90vw;
        max-width: none;
    }

    .shiny-card-inner {
        padding: 24px;
    }

    .waitlist-canvas {
        display: none;
    }

    .waitlist-submit {
        padding: 14px 24px;
        width: 100%;
    }

    .form-title {
        font-size: 1.25rem;
    }
}