@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&family=Inter:wght@400;500;600&display=swap');

:root {
    /* Pure Black Dark Theme */
    --bg-primary: #000000;
    --bg-secondary: #050505;
    --bg-card: rgba(20, 20, 20, 0.8);
    --text-primary: #ffffff;
    --text-secondary: #999999;
    --text-muted: #666666;

    --border-subtle: #222222;
    --accent-mint: #4ade80;
    --accent-teal: #2dd4bf;
    --accent-glow: rgba(74, 222, 128, 0.4);
    --border-glow: rgba(255, 255, 255, 0.1);
    --nav-bg: rgba(20, 20, 20, 0.8);
    --text-reveal-base: rgba(255, 255, 255, 0.05);
    --hero-title-gradient: linear-gradient(to bottom, #ffffff 0%, #a1a1a1 100%);
    --brand-gradient: linear-gradient(135deg, var(--accent-teal), var(--accent-mint));
    --badge-bg: rgba(255, 255, 255, 0.03);
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --glass-card-bg: rgba(255, 255, 255, 0.05);


    /* Glass System Variables */
    --glass-light-bg: rgba(255, 255, 255, 0.02);
    --glass-dark-bg: rgba(0, 0, 0, 0.4);
    --glass-darker-bg: rgba(0, 0, 0, 0.5);
    --glass-dark-solid: rgba(0, 0, 0, 0.8);
    --glass-border-light: rgba(255, 255, 255, 0.05);
    --glass-border-strong: rgba(255, 255, 255, 0.1);
    --glass-text-invert: #ffffff;
    --mockup-bg: #000000;
    --mockup-border: #1a1a1a;
    --pulse-bg: rgba(74, 222, 128, 0.2);


    /* Spacing System */
    --section-padding: 180px 0;
    --gap-lg: 100px;
    --gap-md: 48px;
    --header-height: 100px;
}



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

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    line-height: 1.7;
    /* Slightly more air in text */
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(48px, 8vw, 84px);
    margin-bottom: 48px;
}

h2 {
    font-size: clamp(32px, 5vw, 56px);
    margin-bottom: 40px;
}

h3 {
    font-size: 28px;
    margin-bottom: 24px;
}

p {
    font-size: 16px;
    color: var(--text-secondary);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

ul {
    list-style: none;
}

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

/* Utility Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

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

/* Button Base */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 100px;
    /* Opal.so Pill style */
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition-smooth);
    cursor: pointer;
    text-decoration: none;
    border: none;
    gap: 8px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-teal), var(--accent-mint));
    color: #000;
    /* High contrast on bright gradient */
    border: none;
    box-shadow: 0 4px 15px rgba(74, 222, 128, 0.2);
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px var(--accent-glow);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
    font-weight: 600;
}

[data-theme="light"] .btn-outline {
    border-color: #999999 !important;
    color: #000000 !important;
}

[data-theme="light"] #waitlist-form input,
[data-theme="light"] .form-group input,
[data-theme="light"] .form-group select,
[data-theme="light"] .form-group textarea {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.1);
    color: var(--text-primary);
}


.btn-outline:hover {
    background: var(--bg-card);
    border-color: var(--accent-mint);
}



/* Glassmorphism Card */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-glow);
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: var(--transition-smooth);
    color: var(--text-primary);
}

[data-theme="light"] .glass-card {
    background: rgba(255, 255, 255, 0.7);
    border-color: rgba(0, 0, 0, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
    color: #111;
}

.glass-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-mint);
    box-shadow: 0 12px 48px rgba(74, 222, 128, 0.2);
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

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

/* Navbar Style Refined - Floating Glass Pill */
header {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    z-index: 1000;
    padding: 12px 24px;
    /* Added inner horizontal padding */
    transition: var(--transition-smooth);
    background: var(--nav-bg);
    /* Use theme-specific translucent grey */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-glow);
    border-radius: 999px;
    /* Oval shape */
}

header.scrolled {
    width: 85%;
    padding: 10px 24px;
    background: var(--nav-bg);
    opacity: 0.98;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.1);
}

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

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    color: var(--text-secondary);
    font-size: 15px;
    font-weight: 500;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent-mint);
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 38px;
    /* Sleek, refined height */
    width: auto;
    transition: var(--transition-smooth);
}

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

/* Hero Section */
.hero {
    position: relative;
    padding-top: 180px;
    /* Reduced from 280px */

    padding-bottom: 200px;
    /* Increased bottom space */
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    /* Flip: Mockup Left, Text Right */
    gap: 80px;
    /* Adjusted gap for flipped layout */
    align-items: center;
}

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

.hero-badges-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
}

.hero-badges {

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.iphone-badge,
.android-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--badge-bg);
    border: 1px solid var(--border-subtle);
    /* Use var border */
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

[data-theme="light"] .iphone-badge,
[data-theme="light"] .android-badge {
    border-color: #999999 !important;
    background: rgba(0, 0, 0, 0.08) !important;
    color: #000000 !important;
}

[data-theme="light"] .iphone-badge svg,
[data-theme="light"] .android-badge svg {
    stroke: #000000 !important;
}


.iphone-badge:hover,
.android-badge:hover {
    background: var(--bg-card);
    border-color: var(--accent-mint);
    transform: translateY(-2px);
}


.iphone-badge svg {
    opacity: 0.8;
}

@keyframes badge-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }

    50% {
        box-shadow: 0 0 20px 2px rgba(255, 255, 255, 0.05);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

.rating-badge {
    display: flex;
    align-items: center;
    gap: 12px;
}

.rating-val {
    font-size: 24px;
    font-weight: 700;
}

.stars {
    color: var(--accent-mint);
    letter-spacing: 2px;
    font-size: 14px;
}

.rating-count {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1px;
    opacity: 0.6;
}

.hero h1 {
    font-size: clamp(64px, 12vw, 120px);
    line-height: 0.95;
    margin-bottom: 32px;
    background: var(--hero-title-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    font-weight: 800;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.hero p {
    font-size: 20px;
    line-height: 1.5;
    margin-bottom: 48px;
    max-width: 520px;
    color: var(--text-secondary);
    margin-left: auto;
    margin-right: auto;
}

.cta-note {
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 16px;
}

/* Phone Mockup */
.phone-mockup {
    position: relative;
    width: 300px;
    /* Reduced from 320 to match feature section aspect ratio */
    height: 600px;
    /* Fixed height for SVG container */
    margin: 0;
    z-index: 2;
    transform: perspective(1000px) rotateY(12deg) rotateX(4deg);
    animation: float 6s ease-in-out infinite;
}

.phone-screen {
    position: absolute;
    top: 20px;
    /* Offset to fit exactly inside the SVG frame's inner bounds */
    left: 20px;
    width: calc(100% - 40px);
    height: calc(100% - 40px);
    background: #000;
    border-radius: 36px;
    overflow: hidden;
    z-index: 1;
    /* Below the SVG frame so the notch overlays the content */
}

/* Old CSS Notch is removed because it is drawn in the SVG overhead */

.floating-stats {
    position: absolute;
    top: 50%;
    right: -150px;
    /* Move to right of phone */
    left: auto;
    transform: translateY(-50%);
    z-index: 10;
    /* Above phone */
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
}

/* App Dashboard CSS Implementation */
.app-shell {
    padding: 24px 16px;
    color: #fff;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.app-profile {
    display: flex;
    align-items: center;
    gap: 10px;
}

.app-avatar {
    width: 32px;
    height: 32px;
    background: var(--accent-mint);
    border-radius: 50%;
}

.app-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 20px;
}

.app-stat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.app-mini-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    padding: 12px;
    text-align: center;
}

.app-mini-card .val {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: var(--accent-mint);
}

.app-mini-card .label {
    font-size: 10px;
    color: #999;
}

.app-chart-box {
    height: 120px;
    display: flex;
    align-items: flex-end;
    gap: 8px;
    padding-top: 20px;
}

.app-bar {
    flex: 1;
    background: var(--accent-mint);
    border-radius: 4px 4px 0 0;
    opacity: 0.3;
    transition: 0.3s;
}

.app-bar.active {
    opacity: 1;
    box-shadow: 0 0 15px var(--accent-mint);
}

.app-ring-box {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto;
}

.app-ring {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 8px solid rgba(255, 255, 255, 0.05);
    border-top-color: var(--accent-mint);
    transform: rotate(45deg);
}

.app-ring-val {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 16px;
    font-weight: 700;
}

.app-activity {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
}

.activity-icon {
    width: 32px;
    height: 32px;
    background: rgba(74, 222, 128, 0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-mint);
}

@keyframes float {

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

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

/* Problem Section */
.problem-section {
    padding: var(--section-padding);
    background: radial-gradient(circle at center, rgba(45, 212, 191, 0.05) 0%, transparent 70%);
}

.label {
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 16px;
    display: inline-block;
}

.problem-section h2 {
    margin-bottom: 24px;
}

/* Old problem section p removed to avoid conflicts with text-reveal */

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

.event-icons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-bottom: 60px;
}

.event-card {
    padding: 12px 24px;
    background: rgba(26, 35, 50, 0.4);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    font-weight: 600;
    transition: var(--transition-smooth);
    cursor: default;
}

.event-card:hover {
    border-color: var(--accent-mint);
    transform: translateY(-4px);
    background: rgba(74, 222, 128, 0.05);
}

/* Comparison Box */
.graph-placeholder {
    margin-top: 100px;
}

.graph-box {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-subtle);
    border-radius: 24px;
    overflow: hidden;
    max-width: 900px;
    margin: 0 auto;
}

.graph-side {
    flex: 1;
    padding: 60px 40px;
    text-align: center;
}

.graph-side.red {
    background: rgba(239, 68, 68, 0.05);
    border-right: 1px solid var(--border-subtle);
}

.graph-side.green {
    background: rgba(74, 222, 128, 0.05);
}

.graph-side h3 {
    font-size: 20px;
    margin-bottom: 24px;
}

.x-mark {
    font-size: 48px;
    color: #ef4444;
    opacity: 0.5;
}

.connectors {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.connectors li {
    padding: 8px 20px;
    background: rgba(74, 222, 128, 0.1);
    border: 1px solid rgba(74, 222, 128, 0.2);
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    color: var(--accent-mint);
}

.graph-line {
    width: 1px;
    height: 100px;
    background: var(--border-subtle);
}

/* Trust Section */
.trust-section {
    padding: 100px 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 80px;
    /* Increased from 40px */
    text-align: center;
}

.stat-item h3 {
    font-size: 48px;
    color: var(--text-primary);
    margin: 10px 0;
}

.stat-item .icon {
    font-size: 32px;
    color: var(--accent-mint);
}

/* Features Section (Opal Style) */
.features-section {
    padding: var(--section-padding);
}

.feature-showcase {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 80px 0;
    gap: 60px;
}

.feature-showcase.reverse {
    flex-direction: row-reverse;
}

.showcase-text {
    flex: 1;
    max-width: 480px;
}

.feature-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.showcase-text h3 {
    font-size: 40px;
    line-height: 1.2;
    margin-bottom: 16px;
    background: linear-gradient(to right, #fff, var(--accent-mint));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.showcase-text p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.showcase-text .btn-outline {
    background: #fff;
    color: #000;
    border: none;
    font-weight: 600;
}

.showcase-text .btn-outline:hover {
    background: #f0f0f0;
    color: #000;
}

/* Light Theme Overrides for Feature Showcase */
[data-theme="light"] .feature-badge {
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--text-secondary);
}

[data-theme="light"] .showcase-text h3 {
    background: linear-gradient(to right, #111111, var(--accent-teal));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

[data-theme="light"] .showcase-text .btn-outline {
    background: #111111;
    color: #ffffff !important;
}

[data-theme="light"] .showcase-text .btn-outline:hover {
    background: #333333;
}

.showcase-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    perspective: 1200px;
}

.phone-mockup-3d {
    width: 280px;
    height: 570px;
    /* Adjusted to better match iPhone 16 Pro SVG aspect ratio */
    position: relative;
    transform: rotateY(-20deg) rotateX(15deg) rotateZ(5deg);
    transition: transform 0.5s ease;
    /* Removed pure CSS background, border, and inset shadows as they are now in the SVG */
}

/* Floor contact shadow */
.phone-mockup-3d::after {
    content: '';
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%) rotateX(60deg);
    width: 240px;
    height: 30px;
    background: rgba(0, 0, 0, 0.9);
    filter: blur(15px);
    border-radius: 50%;
    z-index: -1;
    pointer-events: none;
    transition: all 0.5s ease;
}

.feature-showcase.reverse .phone-mockup-3d {
    transform: rotateY(20deg) rotateX(15deg) rotateZ(-5deg);
}

.phone-mockup-3d:hover {
    transform: rotateY(0deg) rotateX(0deg) rotateZ(0deg) translateY(-10px);
}

.phone-mockup-3d:hover::after {
    transform: translateX(-50%) rotateX(60deg) scale(1.1);
    opacity: 0.7;
    filter: blur(20px);
}

.phone-mockup-3d>svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    /* Let events pass through to the screen */
}

.phone-screen-3d {
    position: absolute;
    top: 18px;
    left: 19px;
    width: calc(100% - 38px);
    height: calc(100% - 36px);
    background: #0d0d0d;
    border-radius: 36px;
    overflow: hidden;
    z-index: 1;
}

.mockup-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

/* Final CTA Section */
.final-cta {
    padding: var(--section-padding);
    background: var(--bg-primary);
    border-top: 1px solid var(--border-subtle);
}

.signup-box {
    max-width: 600px;
    margin: 48px auto 24px;
}

#waitlist-form {
    display: flex;
    gap: 10px;
}

#waitlist-form input {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 0 24px;
    color: #fff;
    font-size: 16px;
}

#waitlist-form input:focus {
    outline: none;
    border-color: var(--accent-mint);
}

.progress-container {
    max-width: 600px;
    margin: 40px auto 0;
}

.progress-labels {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 14px;
    font-weight: 600;
}

.urgency-badge {
    color: var(--accent-mint);
    animation: pulse 2s infinite;
}

.progress-bar {
    height: 8px;
    background: var(--border-subtle);
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(to right, var(--accent-mint), var(--accent-teal));
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.6;
    }
}

/* Social Proof Toast */
.social-proof-toast {
    position: fixed;
    bottom: 40px;
    left: 40px;
    background: rgba(26, 35, 50, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-glow);
    padding: 12px 20px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 2000;
    transform: translateX(-150%);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-proof-toast.show {
    transform: translateX(0);
}

.toast-icon {
    color: var(--accent-mint);
    margin-right: 8px;
}

/* Responsive */
/* Secondary Pages Hero */
.page-hero {
    padding: 160px 0 100px;
    background: radial-gradient(circle at center, rgba(45, 212, 191, 0.1) 0%, transparent 70%);
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.feature-detail {
    padding: 100px 0;
}

.feature-detail.alt {
    background: #0a0a0a;
}

.feature-list {
    margin-top: 32px;
}

.feature-list li {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 12px;
    color: #fff;
}

.visual-box {
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Feature Specific Visuals */
.diagram-placeholder {
    display: flex;
    align-items: center;
    gap: 20px;
}

.node {
    padding: 15px 25px;
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    font-weight: 700;
}

.node.active {
    border-color: var(--accent-mint);
    background: rgba(74, 222, 128, 0.1);
    box-shadow: 0 0 20px var(--accent-glow);
}

.gauge {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 8px solid var(--border-subtle);
    border-top-color: var(--accent-mint);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    animation: rotate-border 2s ease-out;
}

.gauge-val {
    font-size: 40px;
    font-weight: 800;
    color: #fff;
}

.gauge-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--accent-mint);
}

@keyframes rotate-border {
    from {
        transform: rotate(-180deg);
    }

    to {
        transform: rotate(0deg);
    }
}

/* Tablet & Mobile Overhaul (< 1024px) */
@media (max-width: 1024px) {
    nav {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100% !important;
        position: relative;
    }

    .nav-links {
        display: none !important; /* Hard-reset for mobile - absolute foolproof */
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        background: rgba(5, 5, 5, 0.98);
        backdrop-filter: blur(25px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 40px;
        z-index: 9999; /* Max priority */
        transition: none;
        border: none;
    }

    .nav-toggle:checked ~ .nav-links {
        display: flex !important;
    }

    .nav-toggle-label {
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 2001;
        width: 44px;
        height: 44px;
    }

    .desktop-cta {
        display: none !important;
    }

    .mobile-cta {
        display: block !important;
        margin-top: 32px;
    }
}

    .hero-content {
        display: flex;
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .hero-visual {
        order: 2;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-top: 40px;
    }

    .hero-text {
        order: 1;
        width: 100%;
        padding: 0 5%;
    }

    .floating-stats {
        position: relative !important;
        transform: none !important;
        width: 100% !important;
        max-width: 400px;
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin: 30px auto 0;
        padding: 0 !important;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        bottom: auto !important;
        z-index: 5;
    }

    .stat-card {
        width: 100% !important;
        justify-content: center;
        transform: none !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    }
}

/* Mobile Overhaul (< 768px) */
@media (max-width: 767px) {
    :root {
        --section-padding: 40px 0;
    }

    .container {
        max-width: 90%;
        padding: 0;
        margin: 0 auto;
    }

    h1 {
        font-size: clamp(1.8rem, 8.5vw, 2.6rem); /* Slightly smaller for tight mobile screens */
        margin-bottom: 20px;
        line-height: 1.15;
    }

    h2 {
        font-size: clamp(1.5rem, 7vw, 1.9rem);
        margin-bottom: 20px;
    }

    .hero {
        padding-top: 100px; /* More space for fixed header */
        padding-bottom: 60px;
        min-height: auto;
    }

    .hero-text p {
        font-size: 15px;
        line-height: 1.5;
        margin-bottom: 30px;
    }

    .phone-mockup-3d, 
    .phone-mockup {
        width: 100%;
        max-width: 250px;
        height: auto;
        aspect-ratio: 1/2;
        transform: none !important;
        margin: 0 auto;
    }

    .floating-stats {
        flex-direction: column;
        margin-top: 15px;
    }

    .stat-card {
        width: 100%;
        font-size: 14px;
        padding: 12px 20px;
    }

    #waitlist-form {
        flex-direction: column;
        background: transparent;
        padding: 0;
        border: none;
        width: 100%;
        margin-top: 20px;
    }

    #waitlist-form input {
        background: var(--bg-card);
        border: 1px solid var(--border-subtle);
        border-radius: 12px;
        margin-bottom: 12px;
        height: 52px;
    }

    .btn {
        width: 100%;
        padding: 14px;
        border-radius: 12px;
        font-size: 15px;
    }
}

/* Process Page - Premium Overhaul */
.process-timeline {
    max-width: 900px;
    margin: 100px auto;
    position: relative;
    padding: 0;
}

.timeline-visual-container {
    position: absolute;
    left: 40px;
    top: 40px; /* Aligns with middle of first circle */
    bottom: 40px; /* Ends at middle of last circle */
    width: 2px;
    z-index: 1;
}

.timeline-svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.line-bg {
    stroke: rgba(255, 255, 255, 0.08); /* Dark grey default */
    stroke-width: 2;
}

.line-progress {
    stroke: var(--accent-mint);
    stroke-width: 2;
    stroke-linecap: round;
    filter: drop-shadow(0 0 8px var(--accent-mint)); /* Glow effect */
    transition: y2 0.1s linear; /* Smooth line drawing */
}

.process-step {
    display: flex;
    gap: 80px;
    margin-bottom: 200px; /* Large vertical gap for breathing room */
    position: relative;
    z-index: 2;
}

.process-step:last-child {
    margin-bottom: 0;
}

.step-number {
    width: 80px;
    height: 80px;
    background: var(--bg-primary);
    border: 2px solid rgba(74, 222, 128, 0.2); /* Dimmed border by default */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.4); /* Dimmed number */
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
}

/* Active State for Numbers */
.process-step.active .step-number {
    transform: scale(1.1);
    background: var(--accent-mint);
    border-color: var(--accent-mint);
    color: #000; /* Number transitions to black when circle fills green */
    box-shadow: 0 0 30px rgba(74, 222, 128, 0.5);
}

.step-content {
    opacity: 0;
    transform: translateX(30px);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
    max-width: 500px;
}

/* Slide in from right when active */
.process-step.active .step-content {
    opacity: 1;
    transform: translateX(0);
}

.step-content h3 {
    font-size: 32px;
    margin-bottom: 16px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.step-content .description {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-secondary);
    font-weight: 400;
    max-width: 100%;
}

/* Pricing Page */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    /* Increased from 32px */
    padding: 100px 0;
    /* More air around pricing */
}

.pricing-card {
    display: flex;
    flex-direction: column;
    padding: 40px;
}

.pricing-card.featured {
    border-color: var(--accent-mint);
    transform: scale(1.05);
    z-index: 10;
}

.pricing-card.subtle {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
    opacity: 0.8;
}

.pricing-card.subtle:hover {
    opacity: 1;
    background: rgba(0, 0, 0, 0.3);
}

.featured-badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--accent-mint);
    color: #0f172a;
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.price {
    font-size: 40px;
    font-weight: 800;
    margin: 24px 0 8px;
}

.old-price {
    text-decoration: line-through;
    color: var(--text-secondary);
    font-size: 18px;
    margin-right: 8px;
}

.offer-label {
    color: var(--accent-mint);
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 24px;
}

.features {
    margin-bottom: 40px;
}

.features li {
    margin-bottom: 16px;
    font-size: 15px;
}

.full-width {
    width: 100%;
}

/* Urgency Banner */
.urgency-banner {
    padding: 60px 0;
}

.banner-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 60px;
}

/* Disciplines Grid */
.disciplines-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    padding: 60px 0;
}

.discipline-card {
    height: 400px;
}

/* About Values */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 60px;
}

.value-card .icon {
    font-size: 48px;
    margin-bottom: 24px;
}

.value-card h4 {
    margin-bottom: 12px;
}

/* Editorial & Long-Read Layout */
.editorial-section {
    padding: 150px 0;
}

.long-read {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.long-read h2 {
    font-size: 48px;
    margin-bottom: 32px;
    letter-spacing: -0.02em;
}

.long-read p {
    font-size: 20px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.long-read .label {
    display: inline-block;
    color: var(--accent-mint);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.1em;
    margin-bottom: 24px;
}

/* Founder Box Refinement */
.founder-box {
    margin: 80px auto 0;
    padding: 40px;
    max-width: 400px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    text-align: center;
}

.founder-box h3 {
    font-size: 24px;
    margin-bottom: 8px;
    color: #fff;
}

.founder-box p {
    font-size: 14px;
    color: var(--text-secondary);
}

/* Mission & Values */
.mission-large h2 {
    font-size: 56px;
    line-height: 1.1;
    margin-bottom: 40px;
}

.minimal-values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 120px;
    margin-top: 100px;
}

.minimal-value-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.minimal-value-card svg {
    width: 48px;
    height: 48px;
    stroke: var(--accent-mint);
    margin-bottom: 32px;
}

.minimal-value-card h4 {
    font-size: 20px;
    margin-bottom: 16px;
}

.minimal-value-card p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.contact-section {
    padding: 100px 0;
}

.contact-section .grid-2 {
    gap: 120px;
    align-items: start;
}

.contact-section h3 {
    margin-bottom: 16px;
}

.contact-section p {
    margin-bottom: 40px;
    color: var(--text-secondary);
}

/* Contact Form */
.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 12px 20px;
    color: #fff;
    font-size: 16px;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-mint);
}

.mt-40 {
    margin-top: 40px;
}

.mt-20 {
    margin-top: 20px;
}

/* Legal Pages */
.legal-page {
    padding: 160px 0 100px;
}

.last-updated {
    font-size: 14px;
    color: var(--text-secondary);
}

.legal-content h2 {
    font-size: 24px;
    margin: 40px 0 20px;
}

.legal-content p {
    margin-bottom: 20px;
}

@media (max-width: 991px) {

    .pricing-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    .banner-content {
        flex-direction: column;
        text-align: center;
        gap: 32px;
    }
}

footer {
    padding: 160px 0 80px;
    /* Massive footer padding */
    background: var(--bg-primary);
    border-top: 1px solid var(--border-subtle);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 80px;
    /* Exclusive spacing */
}

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

.footer-brand img {
    height: 24px;
    margin-bottom: 24px;
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-secondary);
}

.footer-social {
    display: flex;
    gap: 16px;
    margin-top: 24px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border-radius: 50%;
    transition: var(--transition-smooth);
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
}

.footer-social a:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
    color: #fff;
}

.footer-links h4 {
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 24px;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.6;
}

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

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: var(--text-secondary);
    font-size: 14px;
    transition: var(--transition-smooth);
    text-decoration: none;
}

.footer-links ul li a:hover {
    color: #fff;
}

.footer-bottom {
    margin-top: 80px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255, 255, 255, 0.3);
    font-size: 12px;
}

/* Text Reveal Section Final Polish */
.text-reveal-section {
    position: relative;
    padding: 0 !important;
    background: var(--bg-primary) !important;
}

.text-reveal-wrapper {
    height: 300vh;
    position: relative;
}

.text-reveal-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-primary);
}

.text-reveal-sticky .container {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    max-width: 1100px !important;
    padding-top: 80px !important;
    /* Avoid header overlap */
}

.text-reveal-sticky .label {
    display: block !important;
    margin-bottom: 2rem !important;
    font-size: 14px !important;
    letter-spacing: 0.25rem !important;
    color: #4ade80 !important;
    /* Force mint green */
    text-transform: uppercase !important;
    font-weight: 700 !important;
    text-align: center !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.text-reveal-content {
    font-size: 64px !important;
    font-weight: 700 !important;
    line-height: 1.1 !important;
    letter-spacing: -0.02em !important;
    text-align: center !important;
    color: var(--text-reveal-base) !important;
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    margin: 0 auto !important;
    padding: 0 !important;
    max-width: 1000px !important;
}

.reveal-word {
    position: relative;
    margin-right: 0.25em;
    display: inline-block;
}

.reveal-word .highlight {
    position: absolute;
    top: 0;
    left: 0;
    color: var(--text-primary);
    opacity: 0;
    white-space: nowrap;
}

@media (max-width: 991px) {
    .text-reveal-content {
        font-size: 42px !important;
    }
}

@media (max-width: 768px) {
    .text-reveal-content {
        font-size: 32px !important;
    }
}

/* --- Container Scroll Showcase --- */
.showcase-section {
    padding: 200px 0;
    background: var(--bg-primary);
    overflow: hidden;
    position: relative;
}

.container-scroll {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    perspective: 1000px;
}

.showcase-header {
    text-align: center;
    margin-bottom: 80px;
    z-index: 10;
}

.showcase-title {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.04em;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.showcase-title span {
    color: #4ade80;
    /* Mint Accent */
}

.showcase-subtitle {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto;
    color: var(--text-secondary);
    line-height: 1.6;
}

.ipad-container {
    width: 100%;
    display: flex;
    justify-content: center;
    will-change: transform;
    transform-style: preserve-3d;
    /* Initial state: Tilted back and scaled up slightly */
    transform: rotateX(20deg) scale(1.05) translateY(0);
}

.ipad-frame {
    width: 90%;
    max-width: 1000px;
    background: transparent;
    border-radius: 48px;
    padding: 0;
    border: none;
    box-shadow: none;
    position: relative;
    transition: var(--transition-smooth);
}

.ipad-screen {
    width: 100%;
    aspect-ratio: 4/3;
    background: #000;
    border-radius: 32px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5);
}

.ipad-screen::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 50%);
    pointer-events: none;
}

.dashboard-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ipad-home-button {
    width: 6px;
    height: 60px;
    background: #333;
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 3px;
}

/* Light Mode Adjustments */
[data-theme="light"] .ipad-frame {
    background: #e5e5e5;
    border-color: #d1d1d1;
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.1),
        0 40px 100px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .ipad-home-button {
    background: #d1d1d1;
}

@media (max-width: 991px) {
    .showcase-title {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    .showcase-title {
        font-size: 2.75rem;
    }

    .showcase-subtitle {
        font-size: 1.1rem;
    }

    .ipad-frame {
        border-radius: 20px;
        padding: 6px;
    }

    .ipad-screen {
        border-radius: 14px;
    }
}

/* --- 3D JS Scroll-Captured Event Carousel --- */
.events-section {
    position: relative;
    background: var(--bg-primary);
}

.events-container {
    height: 100vh;
    min-height: 800px;
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.carousel-3d-scene {
    width: 100%;
    max-width: 1000px;
    /* Force it to stay central and narrow */
    margin: 0 auto;
    padding: 0 40px;
    /* Minimum side safety */
    height: 400px;
    perspective: 3000px;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translateY(20px) rotateX(-5deg);
    /* Subtle scene tilt match reference */
}



.carousel-3d-cylinder {
    width: 180px;
    height: 180px;
    position: relative;
    transform-style: preserve-3d;
    will-change: transform;
    transition: transform 0.1s linear;
    transform: rotateX(10deg);
    /* Actual cylinder tilt */
}



.event-card {
    position: absolute;
    width: 180px;
    height: 180px;
    left: 0;
    top: 0;
    background: var(--bg);
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    backface-visibility: hidden;
    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.7),
        inset 0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 0 20px rgba(0, 0, 0, 0.3);
    border: 1px solid #000;
    overflow: hidden;
    user-select: none;
    pointer-events: none;
    /* Reduced radius to ensure carousel stays within narrow container */
    transform: rotateY(calc((var(--i) - 1) * 18deg)) translateZ(650px);
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.4s ease;
}

/* Glass Reflection Shine */
.event-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 100%;
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.08) 25%,
            rgba(255, 255, 255, 0) 50%);
    transform: translateX(-100%) skewX(-15deg);
    z-index: 3;
    pointer-events: none;
    animation: shine-sweep 6s infinite ease-in-out;
}

@keyframes shine-sweep {
    0% {
        transform: translateX(-100%) skewX(-15deg);
    }

    20% {
        transform: translateX(100%) skewX(-15deg);
    }

    100% {
        transform: translateX(100%) skewX(-15deg);
    }
}




/* Darker, more consistent overlay for better text highlight */
.event-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    /* Dark tone for transparency effect */
    z-index: 1;
}

.event-card h3 {
    color: #fff;
    font-size: 1.4rem;
    font-weight: 900;
    text-transform: uppercase;
    font-style: italic;
    position: relative;
    z-index: 2;
    margin: 0;
    letter-spacing: 0.15em;
    text-align: center;
    /* Multi-layered shadow for premium "pop" and legibility */
    text-shadow:
        0 2px 4px rgba(0, 0, 0, 0.8),
        0 0 10px rgba(255, 255, 255, 0.1);
    /* Clean white text, no green box as requested */
    background: none;
    padding: 0;
    border-radius: 0;
    backdrop-filter: none;
    border: none;
    box-shadow: none;
}


/* Card placement logic for 20 cards */
/* Total Angle: 360 / 20 = 18deg */
/* Radius calculation: (width/2) / tan(PI/count) = 150 / tan(3.1415/20) = ~950px */

@media (max-width: 768px) {
    .carousel-3d-scene {
        perspective: 1000px;
        height: 400px;
    }

    .carousel-3d-cylinder {
        width: 200px;
        height: 280px;
    }

    .event-card {
        width: 200px;
        height: 280px;
    }

    /* Mobile radius: tighter as well */
    .event-card:nth-child(n) {
        transform: rotateY(calc((var(--i) - 1) * 18deg)) translateZ(400px);
    }

    /* =========================================
   Premium Dark Glass-Morphism
   ========================================= */
    .premium-glass {
        background: rgba(0, 0, 0, 0.6);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        border: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow:
            0 8px 32px rgba(0, 0, 0, 0.4),
            inset 0 1px 0 rgba(255, 255, 255, 0.05),
            inset 0 -1px 0 rgba(0, 0, 0, 0.2);
    }

    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
        letter-spacing: 0.02em;
        /* Ensure breathable typography globally for headers */
    }

    /* Redefining transforms for mobile with CSS variables if needed, but for now simple scale is better */
    .carousel-3d-cylinder {
        transform: scale(0.65) rotateX(5deg);
    }
}

/* =========================================
   Bento Grid & Feature Page Custom Effects
   ========================================= */

/* Button Pulse Animation */
@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.4);
    }

    70% {
        box-shadow: 0 0 0 20px rgba(74, 222, 128, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(74, 222, 128, 0);
    }
}

.pulse-btn {
    animation: pulseGlow 2s infinite;
}

.pulse {
    animation: opacityPulse 2s infinite;
}

@keyframes opacityPulse {
    0% {
        opacity: 0.4;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.4;
    }
}

/* Base Bento Grid Item Glow Additions */
.bento-item {
    border: 1px solid rgba(255, 255, 255, 0.03);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2), inset 0 0 0 1px rgba(255, 255, 255, 0.02);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.bento-item:hover {
    transform: translateY(-8px);
    border-color: rgba(74, 222, 128, 0.3);
    box-shadow: 0 12px 48px rgba(74, 222, 128, 0.1), inset 0 0 0 1px rgba(74, 222, 128, 0.1);
}

/* Parallax scroll effect handles automatically in JS, but setup fixed bg properly if JS fails */
.parallax-glow {
    /* Adding will-change for smooth scrolling */
    will-change: transform;
}

/* Responsive Grid for Bento items */
@media (max-width: 1024px) {
    .bento-grid {
        display: flex !important;
        flex-direction: column !important;
    }

    .bento-item {
        grid-column: span 12 !important;
        /* Forces full width fallback */
        width: 100%;
        min-height: 400px;
    }
}

/* ==========================================================================
   TABBED STATE SWITCHER (Outlier.ai Style)
   ========================================================================== */

.tab-switcher-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Navigation Container (The Outer Gray Pill) */
.tab-nav-container {
    width: 100%;
    max-width: 1100px;
    /* Full width to match the box below */
    margin-bottom: 32px;
}

.tab-nav {
    display: flex;
    justify-content: space-between;
    position: relative;
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    /* Darker gray background for premium contrast */
    border-radius: 100px;
    padding: 12px;
    /* Uniform padding ensures the white pill's rounded edge slots perfectly into the grey pill's edge */
    list-style: none;
    margin: 0;
    z-index: 1;
}

.tab-btn {
    flex: 1;
    /* Tabs take equal width */
    appearance: none;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    /* Inactive text */
    font-size: 16px;
    font-family: inherit;
    font-weight: 500;
    padding: 20px 24px;
    border-radius: 100px;
    cursor: pointer;
    position: relative;
    z-index: 2;
    transition: color 0.3s ease;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tab-btn:hover {
    color: rgba(255, 255, 255, 0.8);
}

.tab-btn.active {
    color: #000000;
    /* Deep black text when active */
    font-weight: 600;
}

/* Sliding Pill Background */
.sliding-indicator {
    position: absolute;
    top: 12px;
    /* Matches the uniform 12px padding of the parent */
    left: 0;
    /* JS handles the exact left translation from nav origin */
    height: calc(100% - 24px);
    /* Subtracts top/bottom padding */
    width: calc(33.333% - 4px);
    /* Default 1/3 width, fallback */
    background: #ffffff;
    /* Pure white active pill */
    border-radius: 100px;
    z-index: 1;
    /* Outlier signature bouncy spring */
    transition: transform 0.6s cubic-bezier(0.25, 1.2, 0.5, 1),
        width 0.6s cubic-bezier(0.25, 1.2, 0.5, 1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.08);
    /* Subtle shadow like outlier */
}

/* The Grand Content Box */
.tab-content-box {
    width: 100%;
    /* Replicate the massive outlier container card */
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(20, 20, 20, 0.2) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 32px;
    padding: 64px;
    position: relative;
    overflow: hidden;
    min-height: 500px;
    /* Glow effect mimicking the pastel background */
    box-shadow: inset 0 0 100px rgba(74, 222, 128, 0.02);
}

/* Tab Panels Container inside the Box */
.tab-panels-container {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Individual Panel */
.tab-panel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    /* Lots of breathing room */
    align-items: center;

    /* Crossfade */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(15px);
    transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s ease;
}

.tab-panel.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    position: relative;
}

/* Content Left Side */
.panel-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.panel-content h3 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 24px;
    color: #ffffff;
    line-height: 1.2;
}

.panel-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 32px;
}

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

.benefits-list li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    color: #ffffff;
    margin-bottom: 20px;
    font-size: 16px;
    font-weight: 500;
}

.benefits-list .icon {
    color: #000;
    background: var(--accent-mint);
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 14px;
    flex-shrink: 0;
}

/* Visual Right Side */
.panel-visual {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    /* Push to right like outlier */
    position: relative;
}

/* Step 2 Form UI Custom CSS (Outlier Style Panel) */
.glass-form-ui {
    background: #ffffff;
    /* White card like the Outlier image */
    color: #000000;
    border-radius: 16px;
    width: 100%;
    max-width: 440px;
    padding: 32px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transform: translateY(0);
    transition: transform 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.glass-form-ui .form-header {
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #eeeeee;
}

.glass-form-ui h4 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #000000;
}

.glass-form-ui .input-group {
    margin-bottom: 20px;
}

.glass-form-ui .input-row {
    display: flex;
    gap: 16px;
}

.glass-form-ui .input-row .input-group {
    flex: 1;
}

.glass-form-ui label {
    display: block;
    font-size: 13px;
    color: #666666;
    margin-bottom: 8px;
    font-weight: 600;
}

.glass-form-ui .select-box {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    padding: 14px 16px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 500;
    color: #000000;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.glass-form-ui .select-box::after {
    content: '...';
    color: #999999;
    font-size: 16px;
    letter-spacing: 2px;
}

.glass-form-ui .glow-text {
    color: var(--accent-mint);
    background: rgba(74, 222, 128, 0.1);
    border-color: rgba(74, 222, 128, 0.3);
}

.glass-form-ui .form-footer {
    display: flex;
    margin-top: 32px;
}

.glass-form-ui .ui-btn {
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    cursor: pointer;
}

.glass-form-ui .ui-btn.primary {
    background: #000000;
    color: #ffffff;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .tab-content-box {
        padding: 32px 24px;
        border-radius: 24px;
    }

    .tab-panel {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .panel-content h3 {
        font-size: 28px;
    }

    .benefits-list li {
        justify-content: center;
    }

    .panel-visual {
        justify-content: center;
    }

    .tab-nav {
        flex-direction: column;
        border-radius: 20px;
        padding: 8px;
    }

    .sliding-indicator {
        width: calc(100% - 16px) !important;
        height: 48px;
        border-radius: 12px;
        transition: transform 0.4s cubic-bezier(0.25, 1.2, 0.5, 1);
    }

    .tab-btn {
        width: 100%;
        padding: 14px 16px;
    }
}
/* --- FINAL CTA OVERHAUL STYLES --- */

.mesh-gradient {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140%;
    height: 140%;
    background: radial-gradient(circle at center, rgba(74, 222, 128, 0.03) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    opacity: 0.4;
}

@keyframes pulse-breathing {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.4); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 15px rgba(74, 222, 128, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}

.btn-breathing {
    animation: pulse-breathing 4s infinite cubic-bezier(0.4, 0, 0.2, 1);
}

.cta-floating-card {
    position: absolute;
    padding: 20px 28px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
    z-index: 1;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    pointer-events: none;
    transition: var(--transition-smooth);
}

.cta-floating-card.reveal.active {
    opacity: 1;
    transform: translate(0, 0) rotate(var(--card-rotation));
}

.cta-floating-card.left {
    left: -2%;
    top: 15%;
    --card-rotation: -6deg;
    transform: translate(-30px, 20px) rotate(-10deg);
}

.cta-floating-card.right {
    right: -2%;
    bottom: 15%;
    --card-rotation: 6deg;
    transform: translate(30px, -20px) rotate(10deg);
}

@media (max-width: 1100px) {
    .cta-floating-card {
        padding: 14px 20px;
        font-size: 13px;
    }
}

@media (max-width: 900px) {
    .cta-floating-card {
        display: none;
    }
}

/* Inline CTA Cards */
.cta-cards-inline {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.cta-floating-card.static {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    transform: none;
    margin: 0;
    opacity: 1;
    cursor: default;
    background: rgba(255, 255, 255, 0.05);
}

.cta-floating-card.static:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
}

/* Events Page Specific Styles */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    margin-top: 60px;
}

.dark-glass-card {
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 40px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.dark-glass-card:hover {
    border-color: var(--accent-mint);
    transform: translateY(-8px);
    background: rgba(74, 222, 128, 0.05);
}

.event-metric-list {
    list-style: none;
    padding: 0;
    margin: 24px 0 0 0;
}

.event-metric-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 14px;
    color: var(--text-secondary);
}

.features li {
    margin-bottom: 16px;
    font-size: 16px;
    color: var(--text-primary);
}

.features li.not-included {
    color: var(--text-secondary);
    text-decoration: line-through;
    opacity: 0.5;
}

.event-metric-item .dot {
    width: 6px;
    height: 6px;
    background: var(--accent-mint);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-mint);
}

.subtle-glow-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(74, 222, 128, 0.03) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}



/* Success Notification Popup */
.success-notification {
    position: fixed;
    top: 40px;
    left: 50%;
    transform: translateX(-50%) translateY(-20px);
    background: rgba(10, 10, 10, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(74, 222, 128, 0.3);
    padding: 16px 32px;
    border-radius: 999px;
    z-index: 9999;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(74, 222, 128, 0.1);
    display: none;
    align-items: center;
    gap: 12px;
}

.success-notification.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.success-notification .icon {
    width: 24px;
    height: 24px;
    background: var(--accent-mint);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-size: 14px;
    font-weight: bold;
    box-shadow: 0 0 15px var(--accent-glow);
}

.success-notification .message {
    font-weight: 600;
    font-size: 15px;
    color: var(--text-primary);
    white-space: nowrap;
}
