/* ============================================
   STYLESHEET
   ============================================ */

/* ============================================
   OPEN SAUCE FONT (Polymarket's Official Font)
   ============================================ */
@font-face {
    font-family: 'Open Sauce One';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('https://cdn.jsdelivr.net/fontsource/fonts/open-sauce-one@latest/latin-400-normal.woff2') format('woff2');
}

@font-face {
    font-family: 'Open Sauce One';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('https://cdn.jsdelivr.net/fontsource/fonts/open-sauce-one@latest/latin-500-normal.woff2') format('woff2');
}

@font-face {
    font-family: 'Open Sauce One';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('https://cdn.jsdelivr.net/fontsource/fonts/open-sauce-one@latest/latin-600-normal.woff2') format('woff2');
}

@font-face {
    font-family: 'Open Sauce One';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('https://cdn.jsdelivr.net/fontsource/fonts/open-sauce-one@latest/latin-700-normal.woff2') format('woff2');
}

@font-face {
    font-family: 'Open Sauce One';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url('https://cdn.jsdelivr.net/fontsource/fonts/open-sauce-one@latest/latin-800-normal.woff2') format('woff2');
}

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

:root {
    /* Color Palette - Polymarket Dark Theme */
    --color-blue-500: #8ab4f8;
    --color-blue-600: #aecbfa;
    --color-blue-700: #c6dbfc;
    --color-gray-900: #e8eaed;
    --color-gray-600: #9aa0a6;
    --color-gray-100: #253545;
    --color-gray-200: #334155;
    
    /* Semantic Tokens */
    --primary-color: var(--color-blue-500);
    --primary-hover: var(--color-blue-600);
    --primary-active: var(--color-blue-700);
    --text-primary: var(--color-gray-900);
    --text-secondary: var(--color-gray-600);
    --background: #1D2B3A;
    --surface: var(--color-gray-100);
    --border: var(--color-gray-200);
    
    /* Shadows - optimized for dark background */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.5);
    
    /* Spacing Scale */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.5rem;
    --space-6: 2rem;
    --space-8: 3rem;
    --space-10: 4rem;
    --space-12: 6rem;
    
    /* Typography Scale */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 2rem;
    --text-4xl: 3rem;
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    
    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 200ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Layout */
    --max-width: 1200px;
    
    /* Typography - Premium Font Pairing */
    --font-heading: 'Open Sauce One', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Open Sauce One', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-display: 'Open Sauce One', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

/* ============================================
   ANIMATED GRADIENT BACKGROUND
   ============================================ */
.gradient-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.25;
    animation: float 20s ease-in-out infinite;
}

.gradient-orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #0066FF 0%, transparent 70%);
    top: -200px;
    left: -100px;
    animation-delay: 0s;
}

.gradient-orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #00D1C1 0%, transparent 70%);
    top: 50%;
    right: -150px;
    animation-delay: -7s;
    animation-duration: 25s;
}

.gradient-orb-3 {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, #7C3AED 0%, transparent 70%);
    bottom: -100px;
    left: 30%;
    animation-delay: -14s;
    animation-duration: 22s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(30px, -30px) scale(1.05);
    }
    50% {
        transform: translate(-20px, 20px) scale(0.95);
    }
    75% {
        transform: translate(-30px, -20px) scale(1.02);
    }
}

/* ============================================
   FLOATING PARTICLES
   ============================================ */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: rgba(138, 180, 248, 0.6);
    border-radius: 50%;
    animation: rise 15s linear infinite;
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; animation-duration: 18s; }
.particle:nth-child(2) { left: 20%; animation-delay: -3s; animation-duration: 14s; }
.particle:nth-child(3) { left: 35%; animation-delay: -6s; animation-duration: 20s; }
.particle:nth-child(4) { left: 50%; animation-delay: -9s; animation-duration: 16s; }
.particle:nth-child(5) { left: 65%; animation-delay: -4s; animation-duration: 22s; }
.particle:nth-child(6) { left: 75%; animation-delay: -12s; animation-duration: 17s; }
.particle:nth-child(7) { left: 85%; animation-delay: -7s; animation-duration: 19s; }
.particle:nth-child(8) { left: 90%; animation-delay: -15s; animation-duration: 15s; }

@keyframes rise {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
        transform: translateY(80vh) scale(1);
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-10vh) scale(0.5);
        opacity: 0;
    }
}

/* ============================================
   ICON STYLING
   ============================================ */
.icon-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: var(--space-6);
}

.icon {
    border-radius: 20%;
    box-shadow: 
        var(--shadow-md),
        0 0 30px rgba(138, 180, 248, 0.3);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.icon-wrapper:hover .icon {
    transform: scale(1.05);
    box-shadow: 
        var(--shadow-lg),
        0 0 40px rgba(138, 180, 248, 0.4);
}

/* ============================================
   TEXT ANIMATIONS & TYPOGRAPHY
   ============================================ */
.title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw + 1rem, 4rem);
    font-weight: 800;
    margin-bottom: var(--space-4);
    color: var(--text-primary);
    line-height: 1.05;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    background: linear-gradient(135deg, #a8c7fa 0%, #8ab4f8 40%, #00D1C1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: geometricPrecision;
    filter: drop-shadow(0 0 20px rgba(138, 180, 248, 0.4)) drop-shadow(0 0 40px rgba(0, 209, 193, 0.2));
    animation: title-fade-in 1s ease-out forwards;
    opacity: 0;
}

@keyframes title-fade-in {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
        filter: blur(10px);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: drop-shadow(0 0 20px rgba(138, 180, 248, 0.4)) drop-shadow(0 0 40px rgba(0, 209, 193, 0.2));
    }
}

.tagline {
    font-size: clamp(1rem, 2vw + 0.5rem, 1.35rem);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    opacity: 0;
    animation: tagline-fade-in 1s ease-out 0.3s forwards;
}

.tagline-text {
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    border-right: 2px solid var(--primary-color);
    animation:
        typewriter 2.5s steps(38, end) 1.3s forwards,
        blink-caret 0.75s step-end infinite,
        hide-caret 0.1s ease 4s forwards;
    width: 0;
}

@keyframes hide-caret {
    to {
        border-color: transparent;
    }
}

@keyframes typewriter {
    from {
        width: 0;
    }

    to {
        width: 38ch;
    }
}

@keyframes blink-caret {

    from,
    to {
        border-color: transparent;
    }

    50% {
        border-color: var(--primary-color);
    }
}

@keyframes tagline-fade-in {
    0% {
        opacity: 0;
        transform: translateY(15px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   HERO CTA BUTTON
   ============================================ */
.hero-cta-wrapper {
    margin-top: var(--space-8);
    animation: cta-fade-in 1s ease-out 0.6s forwards;
    opacity: 0;
}

@keyframes cta-fade-in {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
    padding: 1.25rem 2.5rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
    background: linear-gradient(135deg, #1a73e8 0%, #0097a7 50%, #5e35b1 100%);
    background-size: 200% 200%;
    border: none;
    border-radius: var(--radius-lg);
    text-decoration: none;
    cursor: pointer;
    box-shadow: 
        0 4px 20px rgba(26, 115, 232, 0.3),
        0 0 30px rgba(26, 115, 232, 0.15);
    transition: all var(--transition-base);
    animation: gradient-shift 4s ease infinite;
    position: relative;
    overflow: hidden;
}

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

.hero-cta:hover::before {
    left: 100%;
}

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

.hero-cta:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 
        0 8px 30px rgba(26, 115, 232, 0.4),
        0 0 40px rgba(26, 115, 232, 0.25);
}

.hero-cta:active {
    transform: translateY(-1px) scale(1);
}

.chrome-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.hero-microcopy {
    margin-top: var(--space-4);
    font-size: var(--text-sm);
    color: var(--text-secondary);
    opacity: 0;
    animation: tagline-fade-in 1s ease-out 0.9s forwards;
}

.hero-microcopy span {
    margin: 0 var(--space-2);
    opacity: 0.5;
}

/* ============================================
   GLASSMORPHISM FEATURE CARDS
   ============================================ */
.feature {
    background: rgba(37, 53, 69, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: var(--space-6);
    border-radius: var(--radius-lg);
    border: 1px solid transparent;
    background-clip: padding-box;
    position: relative;
    transition: all var(--transition-base);
    opacity: 0;
    transform: translateY(30px);
}

.feature::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    padding: 1px;
    background: linear-gradient(135deg, rgba(138, 180, 248, 0.3), rgba(0, 209, 193, 0.3));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    transition: all var(--transition-base);
}

.feature.visible {
    opacity: 1;
    transform: translateY(0);
}

.feature:hover::before {
    background: linear-gradient(135deg, rgba(138, 180, 248, 0.6), rgba(0, 209, 193, 0.6));
}

.feature-icon {
    font-size: 2.25rem;
    margin-bottom: var(--space-4);
    display: block;
    filter: drop-shadow(0 0 8px rgba(138, 180, 248, 0.3));
    text-align: center;
    width: 100%;
}

.feature h3 {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: 600;
    margin-bottom: var(--space-3);
    color: var(--text-primary);
    letter-spacing: 0.01em;
}

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

/* Most Popular Badge */
.feature-badge {
    position: absolute;
    top: -10px;
    right: 16px;
    background: linear-gradient(135deg, #00D1C1, #00a896);
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0, 209, 193, 0.4);
}

/* Focus Styles for Accessibility */
:focus {
    outline: 2px solid transparent;
    outline-offset: 2px;
}

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

:focus:not(:focus-visible) {
    outline: none;
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 4px;
}

/* Skip Link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: white;
    padding: var(--space-2);
    text-decoration: none;
    z-index: 100;
    border-radius: var(--radius-sm);
}

.skip-link:focus {
    top: var(--space-2);
    left: var(--space-2);
}

/* Visually Hidden */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Container */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: var(--space-6);
}

/* Header */
.header {
    text-align: center;
    padding: var(--space-12) 0 var(--space-10);
}

/* Note: .icon, .title, .tagline styles are defined above with animations */

/* Features Section */
.features {
    padding: var(--space-10) 0;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw + 1rem, 2rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: var(--space-6);
    color: var(--text-primary);
    letter-spacing: 0.02em;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
    gap: var(--space-6);
    margin-top: var(--space-6);
}

/* Note: .feature styles are defined above with glassmorphism effects */

/* ============================================
   SOCIAL PROOF SECTION - ENHANCED
   ============================================ */
.social-proof {
    padding: var(--space-10) 0;
    text-align: center;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-10);
    margin-top: var(--space-6);
    width: 100%;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: var(--space-2);
    position: relative;
    padding: var(--space-4);
    justify-self: center;
}

/* Pulsing Glow Ring */
.stat-glow-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -60%);
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(138, 180, 248, 0.3) 0%, transparent 70%);
    pointer-events: none;
    opacity: 0;
    animation: none;
}

.stat.animated .stat-glow-ring {
    animation: pulse-glow 2.5s ease-in-out infinite;
}

@keyframes pulse-glow {

    0%,
    100% {
        transform: translate(-50%, -60%) scale(1);
        opacity: 0.4;
    }

    50% {
        transform: translate(-50%, -60%) scale(1.2);
        opacity: 0.7;
    }
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    position: relative;
    z-index: 1;
    letter-spacing: 0.02em;
}

/* Breathing animation for stat numbers */
.stat.animated .stat-number {
    animation: breathe 3s ease-in-out infinite;
}

@keyframes breathe {

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

    50% {
        transform: scale(1.03);
    }
}

.stat-label {
    font-size: var(--text-base);
    color: var(--text-secondary);
    position: relative;
    z-index: 1;
}

/* Rating wrapper for star display */
.stat-rating-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
}

/* Star Rating Styles */
.star-rating {
    display: flex;
    gap: 2px;
    margin-top: var(--space-1);
}

.star {
    width: 18px;
    height: 18px;
    transition: transform var(--transition-fast);
}

.star-filled {
    color: #FFD700;
    filter: drop-shadow(0 0 4px rgba(255, 215, 0, 0.4));
}

.star-partial {
    filter: drop-shadow(0 0 4px rgba(255, 215, 0, 0.3));
}

/* Star hover animation */
.stat:hover .star {
    animation: star-twinkle 0.6s ease-in-out;
}

.stat:hover .star:nth-child(1) {
    animation-delay: 0s;
}

.stat:hover .star:nth-child(2) {
    animation-delay: 0.1s;
}

.stat:hover .star:nth-child(3) {
    animation-delay: 0.2s;
}

.stat:hover .star:nth-child(4) {
    animation-delay: 0.3s;
}

.stat:hover .star:nth-child(5) {
    animation-delay: 0.4s;
}

@keyframes star-twinkle {

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

    50% {
        transform: scale(1.2);
    }
}

/* ============================================
   TRUST BADGES
   ============================================ */
.trust-badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--space-4);
    margin-top: var(--space-8);
    padding-top: var(--space-6);
    border-top: 1px solid rgba(138, 180, 248, 0.1);
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    background: rgba(37, 53, 69, 0.5);
    border: 1px solid rgba(138, 180, 248, 0.15);
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    color: var(--text-secondary);
    transition: all var(--transition-base);
    opacity: 0;
    transform: translateY(10px);
}

.trust-badge.visible {
    opacity: 1;
    transform: translateY(0);
}

.trust-badge:hover {
    background: rgba(37, 53, 69, 0.8);
    border-color: rgba(138, 180, 248, 0.3);
    color: var(--text-primary);
    transform: translateY(-2px);
}

.trust-badge-icon {
    width: 20px;
    height: 20px;
    color: var(--primary-color);
    flex-shrink: 0;
}

/* Featured badge special styling */
.trust-badge-featured {
    background: linear-gradient(135deg, rgba(255, 107, 0, 0.15), rgba(255, 166, 0, 0.1));
    border-color: rgba(255, 166, 0, 0.3);
}

.trust-badge-featured:hover {
    background: linear-gradient(135deg, rgba(255, 107, 0, 0.25), rgba(255, 166, 0, 0.15));
    border-color: rgba(255, 166, 0, 0.5);
}

.trust-badge-featured .trust-badge-icon {
    color: #FFA600;
}

/* Counter animation state */
.stat-counter {
    transition: color var(--transition-base);
}

.stat-counter.counting {
    color: var(--primary-hover);
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {

    .stat-glow-ring,
    .stat.animated .stat-number,
    .stat:hover .star {
        animation: none !important;
    }

    .stat-glow-ring {
        opacity: 0.4;
    }
}

/* ============================================
   HOW IT WORKS SECTION
   ============================================ */
.how-it-works {
    padding: var(--space-10) 0;
    text-align: center;
}

.steps-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: flex-start;
    justify-items: center;
    gap: var(--space-6);
    margin-top: var(--space-8);
    width: 100%;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Individual Step */
.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-3);
    width: 100%;
    max-width: 180px;
    opacity: 0;
    transform: translateY(20px);
    animation: stepFadeIn 0.6s ease-out forwards;
}

.step[data-step="1"] {
    animation-delay: 0.1s;
}

.step[data-step="2"] {
    animation-delay: 0.3s;
}

.step[data-step="3"] {
    animation-delay: 0.5s;
}

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

/* Step Circle */
.step-circle {
    position: relative;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(138, 180, 248, 0.15) 0%, rgba(0, 209, 193, 0.1) 100%);
    border: 2px solid rgba(138, 180, 248, 0.3);
    border-radius: 50%;
    transition: all var(--transition-base);
}

.step-circle::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(138, 180, 248, 0.2), rgba(0, 209, 193, 0.2));
    opacity: 0;
    transition: opacity var(--transition-base);
    z-index: -1;
}

.step:hover .step-circle {
    transform: scale(1.1);
    border-color: rgba(138, 180, 248, 0.5);
    box-shadow: 0 0 30px rgba(138, 180, 248, 0.2);
}

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

.step-icon {
    width: 32px;
    height: 32px;
    color: var(--primary-color);
    transition: transform var(--transition-base);
}

.step:hover .step-icon {
    transform: scale(1.1);
}

.step-number {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, #00D1C1 100%);
    color: white;
    font-size: var(--text-xs);
    font-weight: 700;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(138, 180, 248, 0.3);
}

/* Step Text */
.step-title {
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    letter-spacing: 0.01em;
}

.step-description {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

/* Connector Lines */
.step-connector {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    width: 60px;
    height: 120px;
    position: relative;
    opacity: 0;
    animation: connectorFadeIn 0.6s ease-out forwards;
    align-self: center;
}

.step-connector:first-of-type {
    animation-delay: 0.2s;
}

.step-connector:last-of-type {
    animation-delay: 0.4s;
}

@keyframes connectorFadeIn {
    to {
        opacity: 1;
    }
}

.connector-line {
    width: 40px;
    height: 40px;
}

.connector-line path {
    stroke: rgba(138, 180, 248, 0.3);
    stroke-width: 2;
    fill: none;
    animation: dashMove 1.5s linear infinite;
}

@keyframes dashMove {
    to {
        stroke-dashoffset: -20;
    }
}

/* Responsive How It Works */
@media (max-width: 768px) {
    .steps-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: var(--space-6);
    }

    .step {
        max-width: 250px;
    }

    .step-connector {
        width: 40px;
        height: 40px;
        transform: rotate(90deg);
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {

    .step,
    .step-connector {
        opacity: 1;
        transform: none;
        animation: none;
    }

    .connector-line path {
        animation: none;
    }

    .connector-arrow {
        animation: none;
        opacity: 1;
    }
}

/* ============================================
   SCREENSHOTS - INTERACTIVE TABBED CAROUSEL
   ============================================ */
.screenshots {
    padding: var(--space-10) 0;
}

/* Tab Navigation */
.screenshot-tabs {
    display: flex;
    justify-content: center;
    gap: var(--space-4);
    margin-top: var(--space-6);
    margin-bottom: var(--space-8);
    flex-wrap: wrap;
}

.screenshot-tab {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-6);
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--text-secondary);
    background: rgba(37, 53, 69, 0.4);
    border: 1px solid rgba(138, 180, 248, 0.15);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.screenshot-tab::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 80%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), #00D1C1);
    transition: transform var(--transition-base);
}

.screenshot-tab:hover {
    color: var(--text-primary);
    background: rgba(37, 53, 69, 0.6);
    border-color: rgba(138, 180, 248, 0.3);
}

.screenshot-tab.active {
    color: var(--text-primary);
    background: rgba(138, 180, 248, 0.15);
    border-color: rgba(138, 180, 248, 0.4);
}

.screenshot-tab.active::before {
    transform: translateX(-50%) scaleX(1);
}

.tab-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* Screenshot Panels */
.screenshot-panel {
    display: none;
    opacity: 0;
    transition: opacity var(--transition-slow);
}

.screenshot-panel.active {
    display: block;
    opacity: 1;
    animation: fadeIn 0.4s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

/* Carousel Container */
.carousel-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 900px;
    margin: var(--space-10) auto var(--space-6);
    padding: 0 var(--space-10);
}

/* Carousel Track */
.carousel-track {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    position: relative;
    min-height: 650px;
}

/* Carousel Slides */
.carousel-slide {
    position: absolute;
    width: 100%;
    max-width: 250px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

/* Slide positions: left preview, center hero, right preview */
.carousel-slide[data-position="left"] {
    transform: translateX(-85%) scale(0.7);
    opacity: 0.4;
    z-index: 1;
    filter: blur(2px);
}

.carousel-slide[data-position="center"] {
    transform: translateX(0) scale(1);
    opacity: 1;
    z-index: 3;
}

.carousel-slide[data-position="right"] {
    transform: translateX(85%) scale(0.7);
    opacity: 0.4;
    z-index: 1;
    filter: blur(2px);
}

.carousel-slide[data-position="hidden"] {
    opacity: 0;
    pointer-events: none;
    transform: translateX(0) scale(0.7);
    z-index: 0;
}

/* Hover effect on side slides */
.carousel-slide[data-position="left"]:hover,
.carousel-slide[data-position="right"]:hover {
    opacity: 0.6;
    filter: blur(1px);
}

/* Browser Frame Mockup */
.browser-frame {
    background: #1a1f2e;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow:
        0 25px 50px -12px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(138, 180, 248, 0.1);
    border: 1px solid rgba(138, 180, 248, 0.15);
    transition: all var(--transition-base);
}

.carousel-slide[data-position="center"] .browser-frame {
    box-shadow:
        0 30px 60px -15px rgba(0, 0, 0, 0.6),
        0 0 60px rgba(138, 180, 248, 0.15);
}

.carousel-slide[data-position="center"]:hover .browser-frame {
    transform: translateY(-4px);
    box-shadow:
        0 35px 70px -15px rgba(0, 0, 0, 0.6),
        0 0 80px rgba(138, 180, 248, 0.2);
}

/* Browser Header */
.browser-header {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-4);
    background: linear-gradient(180deg, #2d3548 0%, #252d3d 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.browser-dots {
    display: flex;
    gap: 6px;
}

.browser-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
}

.browser-dot:nth-child(1) {
    background: #ff5f57;
}

.browser-dot:nth-child(2) {
    background: #ffbd2e;
}

.browser-dot:nth-child(3) {
    background: #28ca41;
}

.browser-address {
    flex: 1;
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-1) var(--space-3);
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--radius-sm);
    font-size: var(--text-xs);
    color: var(--text-secondary);
    font-family: monospace;
}

.lock-icon {
    width: 12px;
    height: 12px;
    color: #28ca41;
}

/* Browser Content */
.browser-content {
    position: relative;
    background: #1D2B3A;
}

.carousel-image {
    display: block;
    width: 100%;
    height: auto;
    transition: transform var(--transition-base);
}

/* Screenshot Caption */
.screenshot-caption {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-4);
    background: linear-gradient(180deg, rgba(29, 43, 58, 0.95) 0%, rgba(29, 43, 58, 1) 100%);
    opacity: 0;
    transform: translateY(10px);
    transition: all var(--transition-base);
}

.carousel-slide[data-position="center"] .screenshot-caption {
    opacity: 1;
    transform: translateY(0);
}

.caption-icon {
    font-size: var(--text-lg);
}

.caption-text {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    font-weight: 500;
}

/* Carousel Arrows */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(37, 53, 69, 0.8);
    border: 1px solid rgba(138, 180, 248, 0.2);
    border-radius: 50%;
    color: var(--text-primary);
    cursor: pointer;
    transition: all var(--transition-base);
    z-index: 10;
    backdrop-filter: blur(8px);
}

.carousel-arrow:hover {
    background: rgba(138, 180, 248, 0.2);
    border-color: rgba(138, 180, 248, 0.4);
    transform: translateY(-50%) scale(1.1);
}

.carousel-arrow:active {
    transform: translateY(-50%) scale(0.95);
}

.carousel-arrow svg {
    width: 24px;
    height: 24px;
}

.carousel-arrow-left {
    left: 0;
}

.carousel-arrow-right {
    right: 0;
}

/* Carousel Dots */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: var(--space-3);
    margin-top: var(--space-6);
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(138, 180, 248, 0.2);
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
    padding: 0;
}

.carousel-dot:hover {
    background: rgba(138, 180, 248, 0.4);
    transform: scale(1.2);
}

.carousel-dot.active {
    background: var(--primary-color);
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(138, 180, 248, 0.5);
}

/* ============================================
   LIGHTBOX
   ============================================ */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    backdrop-filter: blur(20px);
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox[hidden] {
    display: none;
}

.lightbox-close {
    position: absolute;
    top: var(--space-6);
    right: var(--space-6);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    cursor: pointer;
    transition: all var(--transition-base);
    z-index: 1001;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1) rotate(90deg);
}

.lightbox-close svg {
    width: 24px;
    height: 24px;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 85vh;
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.lightbox.active .lightbox-content {
    transform: scale(1);
}

.lightbox-image {
    max-width: 100%;
    max-height: 85vh;
    border-radius: var(--radius-lg);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
}

.lightbox-caption {
    margin-top: var(--space-4);
    font-size: var(--text-base);
    color: var(--text-secondary);
    text-align: center;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease 0.2s;
}

.lightbox.active .lightbox-caption {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Carousel */
@media (max-width: 768px) {
    .carousel-container {
        padding: 0 var(--space-4);
    }

    .carousel-slide {
        max-width: 300px;
    }

    .carousel-slide[data-position="left"],
    .carousel-slide[data-position="right"] {
        display: none;
    }

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

    .carousel-arrow svg {
        width: 20px;
        height: 20px;
    }

    .screenshot-tabs {
        gap: var(--space-2);
    }

    .screenshot-tab {
        padding: var(--space-2) var(--space-4);
        font-size: var(--text-sm);
    }

    .lightbox-close {
        top: var(--space-4);
        right: var(--space-4);
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .carousel-track {
        min-height: 400px;
    }

    .carousel-slide {
        max-width: 200px;
    }

    .browser-header {
        padding: var(--space-2) var(--space-3);
    }

    .browser-dot {
        width: 8px;
        height: 8px;
    }

    .browser-address {
        font-size: 10px;
    }

    .screenshot-caption {
        padding: var(--space-2) var(--space-3);
    }

    .caption-text {
        font-size: var(--text-xs);
    }
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    text-align: center;
    padding: var(--space-10) 0;
}

.cta-button {
    display: inline-block;
    padding: var(--space-4) var(--space-8);
    font-size: var(--text-lg);
    font-weight: 600;
    color: #ffffff;
    background-color: var(--primary-color);
    border: none;
    border-radius: var(--radius-md);
    text-decoration: none;
    cursor: pointer;
    transition: background-color var(--transition-base), transform var(--transition-base), box-shadow var(--transition-base);
    box-shadow: var(--shadow-sm);
}

.cta-button:active {
    transform: translateY(0);
}

.privacy-note {
    margin-top: var(--space-6);
    font-size: var(--text-sm);
    color: var(--text-secondary);
}

.privacy-note a {
    color: var(--primary-color);
    text-decoration: none;
}

.privacy-note a:hover {
    text-decoration: underline;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    text-align: center;
    padding: var(--space-6) 0;
    color: var(--text-secondary);
    font-size: var(--text-sm);
    border-top: 1px solid var(--border);
    margin-top: var(--space-12);
}

/* ============================================
   HOVER STATES
   ============================================ */
/* Hover States - Only for devices with precise pointers */
@media (hover: hover) and (pointer: fine) {
    .feature:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-lg);
    }
    
    .cta-button:hover {
        background-color: var(--primary-hover);
        transform: translateY(-2px);
        box-shadow: var(--shadow-md);
    }
}

/* Touch devices get simple active states */
@media (hover: none) {
    .feature:active {
        opacity: 0.9;
    }
    
    .cta-button:active {
        background-color: var(--primary-hover);
        transform: scale(0.98);
    }
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (min-width: 640px) {
    .container {
        padding: var(--space-8);
    }
}

@media (min-width: 1024px) {
    .header {
        padding: var(--space-12) 0 var(--space-10);
    }
    
    .feature-grid {
        gap: var(--space-8);
    }
}

@media (min-width: 1280px) {
    .container {
        padding: var(--space-10);
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .tagline-text {
        width: 44ch;
        border-right: none;
    }
}

/* Images - slight opacity reduction for dark background */
img:not(.icon) {
    opacity: 0.95;
}

/* Print Styles */
@media print {
    *,
    *::before,
    *::after {
        background: white !important;
        color: black !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }
    
    .header,
    .section-title {
        page-break-after: avoid;
    }
    
    .feature,
    .screenshot-grid img {
        page-break-inside: avoid;
    }
    
    /* Hide interactive elements */
    .cta-button,
    .screenshots,
    .skip-link {
        display: none;
    }
    
    /* Show links in print */
    a[href]:after {
        content: " (" attr(href) ")";
        font-size: 0.8em;
        font-weight: normal;
    }
    
    /* Don't show links for anchors */
    a[href^="#"]:after {
        content: "";
    }
    
    .container {
        max-width: 100%;
        padding: 0;
    }
}
