/* =========================================
   MONA SANS - Primary Font (Variable)
   Same font as Hello/Welcome intro screen
   ========================================= */
@font-face {
    font-family: "Mona Sans";
    src: url("https://assets.codepen.io/64/Mona-Sans.woff2")
        format("woff2 supports variations"),
        url("https://assets.codepen.io/64/Mona-Sans.woff2")
        format("woff2-variations");
    font-weight: 100 1000;
    font-display: swap;
}

/* =========================================
   INTRO TEXT OVERLAY - Animated Gradient
   ========================================= */

/* CSS Custom Properties for animation */
@property --bg-1-x {
    syntax: "<number>";
    inherits: true;
    initial-value: 0;
}

@property --bg-2-x {
    syntax: "<number>";
    inherits: true;
    initial-value: 0;
}

@property --bg-2-y {
    syntax: "<number>";
    inherits: true;
    initial-value: 0;
}

@property --bg-3-x {
    syntax: "<number>";
    inherits: true;
    initial-value: 0;
}

@property --bg-3-y {
    syntax: "<number>";
    inherits: true;
    initial-value: 0;
}

:root {
    /* =========================================
       UNIFIED COLOR PALETTE
       Based on Hello/Welcome gradient colors
       ========================================= */
    
    /* Primary Brand Colors */
    --color-purple: #6328da;           /* Primary accent - buttons, highlights */
    --color-magenta: #ff1bf1;          /* Vibrant accent - CTA, emphasis */
    --color-blue: #008cea;             /* Info, links, secondary buttons */
    --color-cyan: hsl(199deg 94% 74%); /* Light blue accent */
    
    /* Warm Accent Colors */
    --color-orange: hsl(25deg 95% 61%);  /* Warm accent */
    --color-yellow: hsl(55deg 100% 75%); /* Highlight, success */
    --color-gold: hsl(60deg 100% 99%);   /* Soft highlight */
    
    /* Dark Base Colors */
    --color-deep-purple: hsl(248deg 100% 31%);
    --color-deep-blue: hsl(236deg 95% 28%);
    --color-near-black: hsl(244deg 100% 4%);
    
    /* Background Colors */
    --bg-dark: hsl(240deg 10% 6%);
    --bg-surface: rgba(12, 12, 12, 0.75);
    
    /* Intro overlay colors */
    --intro-bg-color: var(--bg-dark);
    --intro-grain: url("data:image/svg+xml,%3Csvg viewBox='0 0 600 600' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    
    --intro-shadow-size: max(140px, 40vw);
    --intro-shadow-blur: 60;
    
    /* P3 wide gamut colors with fallbacks */
    --intro-color-1: var(--color-purple);
    --intro-color-2: var(--color-magenta);
    --intro-color-3: var(--color-blue);
    
    /* Animation variables initial values */
    --bg-1-x: 25;
    --bg-1-y: 40;
    --bg-2-x: 35;
    --bg-2-y: 40;
    --bg-3-x: 45;
    --bg-3-y: 20;
}

/* P3 wide gamut support */
@supports (color: color(display-p3 1 1 1)) {
    :root {
        --intro-color-1: color(display-p3 0.36 0.17 0.82);
        --intro-color-2: color(display-p3 0.95 0.04 0.95);
        --intro-color-3: color(display-p3 0.01 0.53 0.99);
    }
}

@media (min-width: 960px) {
    :root {
        --intro-shadow-size: max(72px, 25vw);
        --intro-shadow-blur: 80;
    }
}

/* Intro Overlay Container - BACKGROUND layer */
/* Text appears first, then blackhole emerges ON TOP of it */
/* On scroll, this fades out to reveal the galaxy/stars */
#intro-overlay {
    background: var(--intro-bg-color);
    z-index: 0 !important;
    /* Smooth opacity transition for scroll-based fade out */
    transition: opacity 0.15s ease-out;
}

/* These classes are no longer needed since text is behind canvas,
   but kept for backwards compatibility */
#intro-overlay.fade-out {
    opacity: 0;
    pointer-events: none;
}

#intro-overlay.hidden-final {
    display: none;
}

/* Background with color blobs */
.intro-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.intro-bg::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: 
        radial-gradient(
            circle var(--intro-shadow-size) at 20vw 0,
            var(--intro-color-1) 100%,
            transparent 0
        ),
        radial-gradient(
            circle var(--intro-shadow-size) at 100vw 0,
            var(--intro-color-2) 100%,
            transparent 0
        ),
        radial-gradient(
            circle calc(var(--intro-shadow-size) * 1.2) at 50vw 115vh,
            var(--intro-color-3) 100%,
            transparent 0
        );
    opacity: 0.5;
    filter: blur(calc(var(--intro-shadow-blur) * 1px));
    mix-blend-mode: hue;
}

.intro-bg::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 2;
    filter: contrast(145%) brightness(650%) invert(100%);
    mix-blend-mode: screen;
    background: var(--intro-grain);
    background-size: 500px;
}

/* Main intro content */
.intro-main {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-top: 4em;
    /* Smooth transform for blackhole reveal animation */
    transition: transform 0.1s ease-out;
}

/* Gradient text styles */
.intro-title,
.intro-subtitle {
    font-family: "Mona Sans", sans-serif;
    color: white;
    mix-blend-mode: lighten;
    font-weight: 650;
    font-stretch: 110%;
    letter-spacing: -0.04em;
    margin: 0;
    padding: 0;
    line-height: 0.95;
    background: 
        var(--intro-grain),
        conic-gradient(
            from 140deg at calc(var(--bg-1-x) * 1%) 90%,
            hsl(30deg 100% 5%),
            hsl(238deg 100% 5%),
            hsl(60deg 100% 99%),
            hsl(248deg 100% 31%),
            hsl(315deg 64% 51%),
            hsl(25deg 95% 61%),
            hsl(55deg 100% 75%),
            hsl(60deg 100% 99%),
            hsl(199deg 94% 74%),
            hsl(236deg 95% 28%),
            hsl(244deg 100% 4%)
        ),
        radial-gradient(
            ellipse at calc(var(--bg-2-x) * 1%) calc(var(--bg-2-y) * 1%),
            white 12%,
            transparent 35%
        ),
        radial-gradient(
            ellipse at calc(var(--bg-3-x) * 1%) calc(var(--bg-3-y) * 1%),
            hsl(212deg 94% 68%),
            transparent 35%
        );
    background-repeat: repeat;
    background-size: 500px, cover;
    background-blend-mode: color-burn;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: intro-bg-shift 20s linear infinite alternate;
}

.intro-title {
    font-size: clamp(80px, 20vw, 240px);
}

.intro-subtitle {
    font-size: clamp(50px, 12vw, 160px);
    opacity: 0.9;
}

/* Background animation keyframes */
@keyframes intro-bg-shift {
    0% {
        --bg-1-x: 25;
        --bg-2-y: 40;
        --bg-2-x: 35;
        --bg-3-y: 20;
        --bg-3-x: 45;
    }
    25% {
        --bg-1-x: 30;
        --bg-2-y: 50;
        --bg-2-x: 80;
        --bg-3-y: 20;
        --bg-3-x: 70;
    }
    50% {
        --bg-1-x: 10;
        --bg-2-y: 40;
        --bg-2-x: 30;
        --bg-3-y: 80;
        --bg-3-x: 50;
    }
    75% {
        --bg-1-x: 70;
        --bg-2-y: 10;
        --bg-2-x: 50;
        --bg-3-y: 30;
        --bg-3-x: 40;
    }
    100% {
        --bg-1-x: 25;
        --bg-2-y: 40;
        --bg-2-x: 35;
        --bg-3-y: 20;
        --bg-3-x: 45;
    }
}

/* Initial entrance animation - disabled to allow JS-controlled transform */
/* The blackhole reveal animation now controls text movement via JavaScript */
@keyframes intro-text-entrance {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.intro-main {
    animation: intro-text-entrance 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Mobile responsive */
@media screen and (max-width: 800px) {
    .intro-title {
        font-size: clamp(60px, 18vw, 120px);
    }
    .intro-subtitle {
        font-size: clamp(40px, 12vw, 80px);
    }
}

body {
    background-color: #000;
    margin: 0px;
    overflow-x: hidden;
    overflow-y: scroll; /* Enable vertical scrolling */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* IE 10+ */

    color: #fff;
    font-family: "Mona Sans", -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 13px;
    font-weight: 500;
}

/* Hide scrollbar for Chrome/Safari/Webkit */
body::-webkit-scrollbar { 
    display: none; 
}

/* Force default cursor on desktop icons - override Interact.js */
.desktop-icon,
.desktop-icon *,
.desktop-icon:hover,
.desktop-icon:hover *,
.desktop-icon:active,
.desktop-icon:active * {
    cursor: default !important;
}

/* Override any touch-action cursor changes */
[data-x], [data-y] {
    cursor: default !important;
}

/* Fixed canvas background - target the Three.js container */
/* Blackhole appears ON TOP of intro text (z-0), but BELOW desktop icons (z-20) */
#container {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 5 !important;
    pointer-events: none !important;
}

#container canvas {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    z-index: 5 !important;
}

/* Glass Navigation Menu */
.glass-nav {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    padding: 12px 30px 12px 20px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    padding: 0;
}

.logo-img {
    height: 32px;
    width: auto;
    display: block;
}

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

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.5px;
    position: relative;
    transition: all 0.3s ease;
    font-family: "Mona Sans", -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background-color: #ffffff;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover {
    color: #ffffff;
    opacity: 0.8;
}

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

/* Enhanced Home Button Styling */
.nav-link#nav-home-link {
    cursor: pointer;
}

.nav-link#nav-home-link:active {
    transform: scale(0.95);
}

/* Visual indicator when on home page */
body[data-page="home"] .nav-link#nav-home-link::after {
    width: 30%;
    opacity: 0.5;
}

body[data-page="home"] .nav-link#nav-home-link:hover::after {
    width: 100%;
    opacity: 1;
}

/* Logo Link Enhancement */
.nav-logo {
    cursor: pointer;
    opacity: 1;
    transition: opacity 0.15s ease-out, transform 0.15s ease-out;
}

.nav-logo:hover {
    opacity: 0.85;
}

.nav-logo:active {
    transform: scale(0.95);
}

/* Get Started CTA Button in Nav */
.nav-cta-btn {
    padding: 10px 24px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    transition: all 0.3s ease;
}

.nav-cta-btn::after {
    display: none; /* Remove the underline effect for the CTA button */
}

.nav-cta-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
    opacity: 1;
}

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

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    position: relative;
    padding-top: calc(33vh);
}

/* Hero Content */
.hero-content {
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
    position: relative;
    z-index: 200;
}

.hero-title {
    font-size: 64px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 24px 0;
    letter-spacing: -1px;
    line-height: 1.1;
    font-family: "Mona Sans", -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.8);
}

.hero-subtitle {
    font-size: 18px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 32px 0;
    line-height: 1.6;
    font-family: "Mona Sans", -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.8);
}

/* Hero CTA Button */
.hero-cta-btn {
    display: inline-block;
    padding: 16px 40px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: "Mona Sans", -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.hero-cta-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
    color: #ffffff;
}

/* Mobile Navigation Responsive Design */
@media screen and (max-width: 800px) {
    .glass-nav {
        top: 12px;
        padding: 8px 12px;
        border-radius: 40px;
        max-width: calc(100vw - 24px);
        width: auto;
    }
    
    .nav-menu {
        gap: 12px;
        width: 100%;
    }
    
    .logo-img {
        height: 24px;
    }
    
    .nav-links {
        gap: 8px;
        flex-wrap: nowrap;
    }
    
    .nav-link {
        font-size: 13px;
        letter-spacing: 0.3px;
        white-space: nowrap;
    }
    
    .nav-cta-btn {
        padding: 8px 14px;
        font-size: 13px;
    }
    
    .nav-link::after {
        display: none; /* Remove underline effect on mobile to save space */
    }
}

@media screen and (max-width: 800px) {
    .hero-section {
        padding-top: calc(20vh);
    }
    
    .hero-title {
        font-size: 40px;
        margin-bottom: 16px;
    }
    
    .hero-subtitle {
        font-size: 16px;
        margin-bottom: 24px;
    }
    
    .hero-cta-btn {
        font-size: 16px;
        padding: 14px 32px;
    }
}

/* Steps Section */
.steps-section {
    min-height: 100vh;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.75) 20%, rgba(0, 0, 0, 0.95) 100%);
    padding: 100px 20px;
    position: relative;
}

.step-content {
    max-width: 800px;
    margin: 0 auto;
}

.step-item {
    margin-bottom: 80px;
    opacity: 0.95;
}

.step-number {
    font-size: 72px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.15);
    margin: 0;
    line-height: 1;
    font-family: "Mona Sans", -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.step-title {
    font-size: 32px;
    font-weight: 600;
    color: #ffffff;
    margin: 16px 0 16px 0;
    line-height: 1.2;
    font-family: "Mona Sans", -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.step-description {
    font-size: 18px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin: 0;
    font-family: "Mona Sans", -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

@media screen and (max-width: 800px) {
    .step-number {
        font-size: 48px;
    }
    
    .step-title {
        font-size: 24px;
        margin-top: 16px;
    }
    
    .step-description {
        font-size: 16px;
    }
    
    .step-item {
        margin-bottom: 60px;
    }
}

.info {
    text-align: center;
    position: absolute;
    padding: 10px;
    width: 100%;
    color: #ffffff;
}

.link-bar {
    position: absolute;
    bottom: 10px;
    width: 100%;
    text-align: center;
}

#loader {
    margin-top: 20%;
}

.disclaimer {
    margin-top: 1em;
    color: gray;
}

#hint-text {
    position: absolute;
    /*right: 270px;*/
    width: 100%;
    top: 10px;
    text-align: center;
    font-weight: normal;
    color: #cccccc;
}

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

a:hover {
    color: #cccccc;
}

.initially-hidden {
    visibility: hidden;
}

@media screen and (max-width: 800px) {
    .hidden-phone {
        visibility: hidden;
    }
}

/* Hide UI clutter for landing page background */
.dg.ac {
    display: none !important; /* Hide dat.GUI settings panel */
}

.link-bar {
    display: none !important; /* Hide source and copyright links */
}

#hint-text {
    display: none !important; /* Hide "drag to rotate" hint text */
}

.hidden-phone {
    display: none !important; /* Hide stats/FPS panel at top left */
}

/* Pricing Section */
.pricing-section {
    min-height: 100vh;
    background: rgba(0, 0, 0, 0.98);
    padding: 120px 20px;
    position: relative;
}

.pricing-content {
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-header {
    text-align: center;
    margin-bottom: 80px;
}

.pricing-title {
    font-size: 48px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 16px 0;
    letter-spacing: -0.5px;
    font-family: "Mona Sans", -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.pricing-subtitle {
    font-size: 20px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 40px 0;
    font-family: "Mona Sans", -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Pricing Toggle */
.pricing-toggle {
    display: inline-flex;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    padding: 6px;
    gap: 8px;
}

.toggle-btn {
    padding: 12px 32px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: "Mona Sans", -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.toggle-btn:hover {
    color: rgba(255, 255, 255, 0.9);
}

.toggle-btn.active {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Pricing Cards */
.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    max-width: 1100px;
    margin: 0 auto;
}

.pricing-card {
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.pricing-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.6);
}

/* Pricing Badge */
.pricing-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: "Mona Sans", -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Card Content */
.card-content {
    padding: 40px 32px;
}

.plan-name {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 16px 0;
    font-family: "Mona Sans", -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.plan-price {
    margin-bottom: 24px;
}

.price-amount {
    font-size: 56px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
    font-family: "Mona Sans", -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.price-period {
    font-size: 18px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.6);
    margin-left: 4px;
    font-family: "Mona Sans", -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.plan-description {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin: 0 0 32px 0;
    font-family: "Mona Sans", -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Features List */
.plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 32px 0;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
    font-family: "Mona Sans", -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.feature-check {
    width: 20px;
    height: 20px;
    color: rgba(255, 255, 255, 0.9);
    flex-shrink: 0;
    margin-top: 2px;
}

/* CTA Button */
.card-cta {
    margin-top: auto;
}

.cta-button {
    display: block;
    width: 100%;
    padding: 16px 32px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    font-family: "Mona Sans", -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.cta-button:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.cta-button.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.cta-button.disabled:hover {
    transform: none;
    background: rgba(255, 255, 255, 0.15);
}

.trial-note {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    margin: 12px 0 0 0;
    font-family: "Mona Sans", -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Responsive Design */
@media screen and (max-width: 800px) {
    .pricing-section {
        padding: 80px 20px;
    }
    
    .pricing-title {
        font-size: 36px;
    }
    
    .pricing-subtitle {
        font-size: 16px;
    }
    
    .pricing-cards {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .price-amount {
        font-size: 48px;
    }
    
    .toggle-btn {
        padding: 10px 24px;
        font-size: 14px;
    }
}

/* Smooth Scrolling for anchor links */
html {
    scroll-behavior: smooth;
}

/* FAQ Section */
.faq-section {
    min-height: 100vh;
    background: rgba(0, 0, 0, 0.98);
    padding: 120px 20px;
    position: relative;
}

.faq-content {
    max-width: 900px;
    margin: 0 auto;
}

.faq-header {
    text-align: center;
    margin-bottom: 60px;
}

.faq-title {
    font-size: 48px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 16px 0;
    letter-spacing: -0.5px;
    font-family: "Mona Sans", -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.faq-subtitle {
    font-size: 20px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    font-family: "Mona Sans", -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* FAQ List */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
}

.faq-item.active {
    border-color: rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.06);
}

/* FAQ Question Button */
.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 24px 28px;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: "Mona Sans", -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.faq-question:hover {
    color: rgba(255, 255, 255, 0.9);
}

.faq-question span {
    flex: 1;
    line-height: 1.4;
    font-weight: 600;
}

/* FAQ Icon */
.faq-icon {
    width: 24px;
    height: 24px;
    color: rgba(255, 255, 255, 0.7);
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

/* FAQ Answer */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 28px;
}

.faq-item.active .faq-answer {
    max-height: 800px;
    padding: 0 28px 28px 28px;
}

.faq-answer p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    line-height: 1.7;
    margin: 0 0 16px 0;
    font-weight: 450;
    font-family: "Mona Sans", -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-answer ul {
    margin: 12px 0;
    padding-left: 24px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    line-height: 1.7;
    font-family: "Mona Sans", -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.faq-answer li {
    margin: 8px 0;
}

/* Responsive Design for FAQ */
@media screen and (max-width: 800px) {
    .faq-section {
        padding: 80px 20px;
    }
    
    .faq-title {
        font-size: 36px;
    }
    
    .faq-subtitle {
        font-size: 16px;
    }
    
    .faq-question {
        padding: 20px 20px;
        font-size: 16px;
    }
    
    .faq-answer {
        padding: 0 20px;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 20px 20px 20px;
    }
    
    .faq-answer p,
    .faq-answer ul {
        font-size: 15px;
    }
}

/* Footer Section */
.footer-section {
    background: rgba(0, 0, 0, 0.98);
    padding: 60px 20px;
    position: relative;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

/* Footer Links */
.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    margin-bottom: 32px;
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    font-family: "Mona Sans", -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.footer-link:hover {
    color: rgba(255, 255, 255, 0.95);
}

/* Social Icons */
.footer-socials {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 24px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 18px;
}

.social-icon:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.95);
    transform: translateY(-2px);
}

/* Footer Copyright */
.footer-copyright {
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
    font-weight: 400;
    margin: 0;
    font-family: "Mona Sans", -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Responsive Footer */
@media screen and (max-width: 800px) {
    .footer-section {
        padding: 40px 20px;
    }
    
    .footer-links {
        gap: 20px;
        font-size: 13px;
    }
    
    .footer-socials {
        gap: 12px;
    }
    
    .social-icon {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
}

/* Multi-Step Form Section */
.form-section {
    min-height: 100vh;
    background: transparent;
    padding: 120px 20px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-content {
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
}

.form-header {
    text-align: center;
    margin-bottom: 48px;
}

.form-title {
    font-size: 48px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 16px 0;
    letter-spacing: -0.5px;
    font-family: "Mona Sans", -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.form-subtitle {
    font-size: 20px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    font-family: "Mona Sans", -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Form Wrapper */
.form-wrapper {
    width: 100%;
}

.multi-step-form {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 48px 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

/* Progress Indicator */
.form-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 48px;
    gap: 0;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0.4;
    transition: all 0.3s ease;
}

.progress-step.active {
    opacity: 1;
}

.progress-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    transition: all 0.3s ease;
    font-family: "Mona Sans", -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.progress-step.active .progress-circle {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.progress-label {
    font-size: 13px;
    font-weight: 500;
    color: #ffffff;
    font-family: "Mona Sans", -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.progress-line {
    width: 60px;
    height: 2px;
    background: rgba(255, 255, 255, 0.2);
    margin: 0 8px;
    margin-bottom: 28px;
}

/* Form Steps Container */
.form-steps-container {
    position: relative;
    min-height: 200px;
    margin-bottom: 32px;
}

.form-step {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.form-step.active {
    opacity: 1;
    visibility: visible;
    position: relative;
    pointer-events: auto;
}

/* Form Label and Inputs */
.form-label {
    display: block;
    width: 100%;
}

.label-text {
    display: block;
    font-size: 16px;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 12px;
    font-family: "Mona Sans", -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.form-input,
.form-select {
    width: 100%;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    font-size: 16px;
    font-weight: 500;
    color: #ffffff;
    font-family: "Mona Sans", -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    transition: all 0.3s ease;
    outline: none;
    box-sizing: border-box;
}

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

.form-input:focus,
.form-select:focus {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

.form-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center;
    padding-right: 48px;
}

.form-select option {
    background: #1a1a1a;
    color: #ffffff;
    padding: 12px;
}

/* Radio Button Grid */
.radio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 16px;
}

.radio-option {
    position: relative;
    display: flex;
    align-items: center;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.radio-option:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.25);
}

.radio-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.radio-option input[type="radio"]:checked + .radio-label {
    font-weight: 600;
}


.radio-option:has(input[type="radio"]:checked) {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.05);
}

.radio-label {
    position: relative;
    padding-left: 0;
    font-size: 15px;
    font-weight: 500;
    color: #ffffff;
    cursor: pointer;
    line-height: 1.4;
    font-family: "Mona Sans", -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Submit Button */
.form-submit-btn {
    width: 100%;
    padding: 16px 32px;
    margin-top: 24px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: "Mona Sans", -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.form-submit-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

/* Navigation Buttons */
.form-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-top: 32px;
}

.form-nav-btn {
    padding: 12px 28px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    font-size: 15px;
    font-weight: 500;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: "Mona Sans", -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.form-nav-btn:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.25);
}

.form-nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.form-back-btn {
    background: transparent;
}

.form-next-btn {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Responsive Form Design */
@media screen and (max-width: 800px) {
    .form-section {
        padding: 80px 20px;
    }
    
    .form-title {
        font-size: 32px;
    }
    
    .form-subtitle {
        font-size: 16px;
    }
    
    .multi-step-form {
        padding: 32px 24px;
    }
    
    .form-steps-container {
        min-height: 300px;
    }
    
    .progress-circle {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .progress-line {
        width: 40px;
        margin-bottom: 22px;
    }
    
    .progress-label {
        font-size: 11px;
    }
    
    .form-input,
    .form-select {
        padding: 14px 16px;
        font-size: 15px;
    }
    
    .form-nav-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .radio-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .radio-option {
        padding: 14px 16px;
    }
    
    .radio-label {
        font-size: 14px;
    }
}

/* =========================================
   WinBox Glass / Windows-Style Theme
   ========================================= */

/* CSS Variables for Glass Theme */
:root {
    --glass-border: rgba(255, 255, 255, 0.15);
    --glass-surface: rgba(12, 12, 12, 0.75);
    --glass-highlight: rgba(255, 255, 255, 0.05);
    --win-shadow: 
        0 0 0 1px rgba(0, 0, 0, 0.4),
        0 14px 28px rgba(0, 0, 0, 0.5),
        0 10px 10px rgba(0, 0, 0, 0.4);
}

/* Main Window Container */
.winbox {
    border-radius: 12px !important;
    overflow: hidden !important;
    border: 1px solid var(--glass-border) !important;
    box-shadow: var(--win-shadow) !important;
    /* NOTE: Do NOT add 'transform' to transitions - it causes drag lag */
    /* Only transition opacity and box-shadow for focus effects */
    transition: opacity 0.2s, box-shadow 0.2s !important;
    background: transparent !important; /* Let children handle background for blur continuity */
}

.winbox.focus {
    border-color: rgba(255, 255, 255, 0.3) !important;
    box-shadow: 
        0 0 0 1px rgba(255, 255, 255, 0.1),
        0 25px 50px rgba(0, 0, 0, 0.6),
        0 10px 20px rgba(0, 0, 0, 0.4) !important;
    z-index: 1000 !important;
}

/* Glass Body */
.wb-body {
    background: var(--glass-surface) !important;
    backdrop-filter: blur(30px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(30px) saturate(180%) !important;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    /* Content Spacing */
    padding-top: 0 !important; 
}

/* Custom Scrollbar */
.wb-body::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}
.wb-body::-webkit-scrollbar-track {
    background: transparent;
}
.wb-body::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    border: 2px solid transparent;
    background-clip: content-box;
}
.wb-body::-webkit-scrollbar-thumb:hover {
    background-color: rgba(255, 255, 255, 0.25);
}

/* =============================================
   WINDOW TOP BAR - TAILWIND REFACTOR
   ============================================= */

/* Header / Title Bar */
.wb-header {
    @apply relative h-12 cursor-default;
    @apply bg-black/60 backdrop-blur-[40px] backdrop-saturate-[200%];
    @apply border-b border-white/10;
    background: rgba(12, 12, 12, 0.7) !important;
}

/* Title Text - Centered */
.wb-title {
    @apply absolute inset-0 z-[1];
    @apply flex items-center justify-center;
    @apply text-sm font-medium text-white tracking-wide;
    @apply pointer-events-auto;
    text-shadow: 0 1px 4px rgba(0,0,0,0.5);
    font-family: "Mona Sans", 'Segoe UI', sans-serif !important;
}

/* Window Controls Container */
.wb-icon {
    @apply absolute right-0 top-0 h-12 z-10;
    @apply flex flex-row items-center justify-end;
    @apply m-0 p-0 gap-0;
}

/* Hide fullscreen button */
.wb-full {
    @apply hidden;
}

/* Base Control Button */
.wb-control {
    @apply relative w-[46px] h-12 min-w-[46px];
    @apply flex items-center justify-center;
    @apply bg-transparent border-none m-0 p-0;
    @apply cursor-pointer;
    @apply transition-colors duration-100;
    @apply flex-shrink-0;
}

/* Remove WinBox default SVGs */
.wb-control svg {
    @apply hidden;
}

/* Icon pseudo-element */
.wb-control::after {
    @apply block w-[10px] h-[10px];
    @apply bg-center bg-no-repeat bg-contain;
    content: '';
}

/* Hover states */
.wb-control:hover {
    @apply bg-white/10;
}

.wb-control:active {
    @apply bg-white/15;
}

/* Minimize button - horizontal line */
.wb-min::after {
    @apply w-3 h-[1px] bg-white;
    background-image: none !important;
}

/* Maximize button - square outline */
.wb-max::after {
    @apply w-[10px] h-[10px] bg-transparent;
    @apply border-[1.5px] border-white rounded-[1px];
}

/* Close button - X icon */
.wb-close {
    @apply rounded-tr-[12px] pr-1;
}

.wb-close::after {
    @apply w-3 h-3 border-none;
    background-image: url("../icons/close.svg") !important;
}

.wb-close:hover {
    @apply bg-[#c42b1c];
}

/* Restore icon when maximized */
.winbox.max .wb-max::after {
    @apply w-2 h-2;
    @apply border-[1.5px] border-white rounded-[1px];
    box-shadow: 3px -3px 0 0 transparent, 3px -3px 0 1.5px white !important;
}

/* Content Areas fixes */
.winbox .p-6 {
    padding: 2rem !important; /* More breathing room */
}
