/* ==========================================================================
   FLUID - GLOBAL VARIABLES & DESIGN TOKENS
   These variables control the "iOS 26" Spatial Computing aesthetic.
   As a designer, you can tweak these values to instantly update the entire site.
   ========================================================================== */
:root {
    /* Colors */
    --bg-void: #030508; /* Deep cosmic dark background */
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.6);
    
    /* Glowing Gradients */
    --glow-cyan: #00f2fe;
    --glow-purple: #4facfe;
    --gradient-primary: linear-gradient(135deg, var(--glow-cyan) 0%, var(--glow-purple) 100%);
    
    /* Glassmorphism Effects */
    --glass-bg: rgba(255, 255, 255, 0.02); /* Very subtle white tint */
    --glass-border: rgba(255, 255, 255, 0.05); /* Frosty translucent border */
    --glass-blur: blur(24px); /* The frosted glass effect */
    --volumetric-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
    
    /* Typography */
    --font-family: 'Inter', system-ui, sans-serif;
}

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

body {
    font-family: var(--font-family);
    background-color: var(--bg-void);
    color: var(--text-primary);
    line-height: 1.5;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Ambient Background Glow */
.ambient-glow {
    position: fixed;
    top: -20vh;
    left: 50%;
    transform: translateX(-50%);
    width: 80vw;
    height: 80vw;
    max-width: 800px;
    max-height: 800px;
    background: radial-gradient(circle, rgba(79, 172, 254, 0.15) 0%, rgba(3, 5, 8, 0) 70%);
    z-index: -1; /* Keep it behind everything */
    pointer-events: none;
}

/* Main Content Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Navbar & Logo */
.navbar {
    width: 100%;
    display: flex;
    justify-content: center;
    padding-bottom: 2rem;
}

.logo {
    width: 120px;
    height: 120px;
    border-radius: 28px; /* Smooth iOS style rounding */
    box-shadow: 0 8px 32px rgba(0, 242, 254, 0.2);
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
    text-align: center;
    padding: 8rem 0 6rem 0;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.hero-title {
    font-size: clamp(3rem, 6vw, 5rem); /* Scales beautifully on mobile and desktop */
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

/* The glowing gradient text effect */
.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    font-weight: 300;
    max-width: 600px;
}

.hero-subtitle strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* The Primary CTA Button */
.cta-button {
    display: inline-block;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1.125rem;
    font-weight: 600;
    padding: 1rem 2.5rem;
    border-radius: 999px; /* Pill shape */
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

/* Subtle glowing border effect on hover */
.cta-button:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(79, 172, 254, 0.5);
    transform: translateY(-2px);
}

/* Pulse Animation */
@keyframes pulse {
    0% { box-shadow: 0 4px 16px rgba(0, 242, 254, 0.2); }
    50% { box-shadow: 0 4px 32px rgba(0, 242, 254, 0.6); }
    100% { box-shadow: 0 4px 16px rgba(0, 242, 254, 0.2); }
}
.pulse-anim {
    animation: pulse 3s infinite ease-in-out;
}

/* ==========================================================================
   SECTION TITLES & MICRO-ANIMATIONS
   ========================================================================== */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    text-align: center;
    width: 100%;
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   DEMO SLIDER SECTION
   ========================================================================== */
.demo-section {
    width: 100%;
    margin-bottom: 6rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.slider-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    height: 400px;
    border-radius: 24px;
    overflow: hidden;
    background: var(--bg-void);
    border: 1px solid var(--glass-border);
    box-shadow: var(--volumetric-shadow);
}

.slider-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slider-after {
    clip-path: polygon(50% 0, 100% 0, 100% 100%, 50% 100%);
}

.slider-handle {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: ew-resize;
    z-index: 10;
}

.slider-line {
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    background: var(--glow-cyan);
    transform: translateX(-50%);
    pointer-events: none;
    box-shadow: 0 0 12px var(--glow-cyan);
    z-index: 5;
}

.slider-label {
    position: absolute;
    bottom: 20px;
    padding: 8px 16px;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(8px);
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.875rem;
    z-index: 5;
}

.label-before { left: 20px; color: #ffcccc; }
.label-after { right: 20px; color: var(--glow-cyan); }

/* Mock Website CSS for Slider */
.mock-website {
    padding: 20px;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px;
    background: #0f1115;
}
.mock-after-bg {
    background: #0f1115;
}
.mock-header { height: 40px; background: rgba(255,255,255,0.1); border-radius: 8px; }
.mock-text { height: 20px; background: rgba(255,255,255,0.05); border-radius: 4px; width: 80%; }
.mock-ad { height: 80px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-weight: bold; }
.mock-ad-red { background: #ff4757; color: white; border: 2px dashed #ff6b81; }
.mock-ad-hidden { background: transparent; border: 2px dashed rgba(255,255,255,0.05); color: transparent; pointer-events: none; }

/* ==========================================================================
   FEATURE GRID SECTION
   ========================================================================== */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    width: 100%;
    margin-bottom: 6rem;
}

.glass-panel {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: var(--volumetric-shadow);
    transition: transform 0.3s ease, background 0.3s ease;
}

.glass-panel:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.03);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.feature-text {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}

/* ==========================================================================
   TESTIMONIALS SECTION
   ========================================================================== */
.testimonials {
    width: 100%;
    margin-bottom: 6rem;
}

.testimonial-card {
    padding: 2rem;
}

.stars {
    margin-bottom: 1rem;
}

.testimonial-author {
    margin-top: 1rem;
    color: var(--glow-cyan);
    font-weight: 600;
}

/* ==========================================================================
   FAQ SECTION
   ========================================================================== */
.faq {
    width: 100%;
    margin-bottom: 6rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.faq-container {
    width: 100%;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    padding: 0;
    cursor: pointer;
}

.faq-question {
    padding: 1.5rem 2rem;
    font-size: 1.25rem;
    font-weight: 600;
    list-style: none; /* Removes default arrow in webkit */
    outline: none;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-answer {
    padding: 0 2rem 1.5rem 2rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ==========================================================================
   STICKY NAVBAR
   ========================================================================== */
.sticky-nav {
    position: fixed;
    top: -100px; /* Hidden by default */
    left: 0;
    width: 100%;
    background: rgba(3, 5, 8, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
    transition: top 0.4s ease;
    padding: 1rem 0;
}

.sticky-nav.scrolled {
    top: 0;
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    height: 40px;
    border-radius: 8px;
}

.nav-cta {
    background: var(--gradient-primary);
    color: white;
    text-decoration: none;
    padding: 0.5rem 1.5rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.875rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 242, 254, 0.4);
}

/* ==========================================================================
   LIVE STATISTICS SECTION
   ========================================================================== */
.stats-section {
    display: flex;
    justify-content: center;
    gap: 4rem;
    width: 100%;
    margin-bottom: 6rem;
    flex-wrap: wrap;
}

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

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.125rem;
    color: var(--text-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ==========================================================================
   REPORT AN AD FORM SECTION
   ========================================================================== */
.report-ad-section {
    width: 100%;
    margin-bottom: 6rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.report-form-container {
    width: 100%;
    max-width: 600px;
}

.report-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    color: white;
    font-family: var(--font-family);
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s ease, background 0.3s ease;
}

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

.form-input:focus {
    border-color: var(--glow-cyan);
    background: rgba(255, 255, 255, 0.08);
}

.form-submit {
    cursor: pointer;
    border: none;
    background: var(--gradient-primary);
    color: white;
    font-size: 1.125rem;
    margin-top: 1rem;
}

.form-submit:hover {
    box-shadow: 0 4px 20px rgba(0, 242, 254, 0.5);
    background: linear-gradient(135deg, #22d3ff 0%, #68baff 100%);
}

/* ==========================================================================
   TRUSTED BY MARQUEE
   ========================================================================== */
.marquee-section {
    width: 100%;
    margin-bottom: 6rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.marquee-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 2px;
    margin-bottom: 2rem;
}

.marquee-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    /* Masking for a fade out on the edges */
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-content {
    display: flex;
    width: max-content;
    animation: scroll-marquee 20s linear infinite;
    gap: 4rem;
}

.marquee-logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.2);
    transition: color 0.3s ease;
    cursor: default;
}

.marquee-logo:hover {
    color: rgba(255, 255, 255, 0.6);
}

@keyframes scroll-marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 2rem)); }
}

/* ==========================================================================
   BENTO BOX FEATURE GRID
   ========================================================================== */
.bento-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 2rem;
    width: 100%;
    max-width: 1000px;
    margin-bottom: 6rem;
}

.bento-card {
    position: relative;
    padding: 3rem;
}

/* The first feature takes the full width top row */
.bento-large {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.bento-large .feature-text {
    max-width: 700px;
}

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

/* ==========================================================================
   CURSOR GLOW EFFECT (LUXURY UI)
   ========================================================================== */
.glow-effect {
    position: relative;
    overflow: hidden;
}

/* The actual glowing radial gradient */
.glow-effect::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
        800px circle at var(--mouse-x, -999px) var(--mouse-y, -999px),
        rgba(0, 242, 254, 0.08),
        transparent 40%
    );
    z-index: -1; 
    transition: opacity 0.3s;
    pointer-events: none;
}

/* ==========================================================================
   SUGGESTION BOX
   ========================================================================== */
.suggestion-section {
    width: 100%;
    margin-bottom: 6rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.suggestion-container {
    width: 100%;
    max-width: 600px;
    padding: 3rem;
    text-align: center;
    transition: all 0.5s ease;
}

.suggestion-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.suggestion-input {
    font-size: 1.125rem;
    text-align: center;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    text-align: center;
    padding: 2rem;
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.875rem;
    border-top: 1px solid var(--glass-border);
}
