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

:root {
    /* Color Palette - Dark AI Aesthetic */
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-card: #1a1a25;
    --bg-card-hover: #222230;
    
    --text-primary: #ffffff;
    --text-secondary: #a0a0b0;
    --text-muted: #6a6a7a;
    
    --accent-primary: #8b5cf6;
    --accent-secondary: #06b6d4;
    --accent-gradient: linear-gradient(135deg, #8b5cf6 0%, #06b6d4 100%);
    
    --border-color: rgba(255, 255, 255, 0.08);
    --glow-color: rgba(139, 92, 246, 0.4);
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Spacing */
    --container-max: 1100px;
    --section-padding: 80px 20px;
    --section-padding-mobile: 60px 16px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 100px;
}

html {
    scroll-behavior: smooth;
}

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

/* ============================================
   CONTAINER & LAYOUT
   ============================================ */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
.section-title {
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 48px;
}

.gradient-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   BUTTONS
   ============================================ */
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    font-size: 1.1rem;
    font-weight: 600;
    font-family: var(--font-family);
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.cta-button.primary {
    background: var(--accent-gradient);
    color: var(--text-primary);
    box-shadow: 0 4px 20px var(--glow-color);
}

.cta-button.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--glow-color);
}

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

.cta-button.large {
    padding: 20px 40px;
    font-size: 1.2rem;
}

.cta-button.full-width {
    width: 100%;
}

.btn-icon {
    font-size: 1.2em;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Button pulse animation */
.cta-button.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 4px 20px var(--glow-color);
    }
    50% {
        box-shadow: 0 4px 40px var(--glow-color), 0 0 60px rgba(139, 92, 246, 0.3);
    }
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: var(--section-padding);
    overflow: hidden;
}

.hero-bg-effects {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: var(--accent-primary);
    top: -100px;
    right: -100px;
    animation: float 8s ease-in-out infinite;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: var(--accent-secondary);
    bottom: -50px;
    left: -50px;
    animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(30px, 30px);
    }
}

.grid-overlay {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-primary);
    margin-bottom: 24px;
}

.badge i {
    font-size: 1.1em;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 3vw, 1.35rem);
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto 32px;
}

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

.hero-note {
    margin-top: 16px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    border-right: 2px solid var(--text-muted);
    border-bottom: 2px solid var(--text-muted);
    transform: rotate(45deg);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(10px);
    }
    60% {
        transform: translateX(-50%) translateY(5px);
    }
}

/* ============================================
   PREVIEW SECTION
   ============================================ */
.preview {
    padding: var(--section-padding);
    background: var(--bg-secondary);
}

.preview-container {
    max-width: 800px;
    margin: 0 auto;
}

.video-showcase {
    aspect-ratio: 16/9;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 40px var(--glow-color);
}

.showcase-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-placeholder {
    aspect-ratio: 16/9;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-content {
    text-align: center;
    z-index: 1;
}

.play-button {
    width: 80px;
    height: 80px;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    cursor: pointer;
    transition: transform var(--transition-base);
    box-shadow: 0 4px 30px var(--glow-color);
}

.play-button:hover {
    transform: scale(1.1);
}

.play-button svg {
    width: 32px;
    height: 32px;
    margin-left: 4px;
}

.placeholder-text {
    padding: 0 20px;
}

.typing-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-style: italic;
}

.video-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
}

.processing-bar {
    height: 100%;
    width: 60%;
    background: var(--accent-gradient);
    animation: progress 3s ease-in-out infinite;
}

@keyframes progress {
    0% {
        width: 0%;
    }
    50% {
        width: 80%;
    }
    100% {
        width: 100%;
    }
}

.preview-caption {
    text-align: center;
    margin-top: 24px;
}

.step-flow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.flow-item {
    background: var(--bg-card);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 6px;
}

.flow-item i {
    font-size: 1.1em;
}

.flow-arrow {
    color: var(--accent-primary);
    font-weight: bold;
}

/* ============================================
   HOW IT WORKS SECTION
   ============================================ */
.how-it-works {
    padding: var(--section-padding);
}

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

.step-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    position: relative;
    transition: all var(--transition-base);
}

.step-card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    border-color: var(--accent-primary);
}

.step-number {
    position: absolute;
    top: -12px;
    left: 24px;
    background: var(--accent-gradient);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-sizeflex;
    align-items: center;
    justify-content: center;
    color: var(--accent-primary);
}

.step-icon i {
    font-size: 2.5em5rem;
    font-weight: 700;
}

.step-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
    display: block;
}

.step-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.step-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* ============================================
   TRUST SECTION
   ============================================ */
.trust {
    padding: var(--section-padding);
    background: var(--bg-secondary);
}

.trust-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}2rem;
    color: var(--accent-primary);
}

.trust-icon i {
    font-size: 2rem
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.trust-icon {
    font-size: 1.5rem;
    color: white;
    font-weight: bold;
}

.trust-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.trust-text {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 24px;
}

.trust-features {
    display: flex;
    flex-wrap: wrap;
    display: flex;
    align-items: center;
    gap: 8px;
}

.trust-feature i {
    font-size: 1.1em;
    color: var(--accent-primary);
    justify-content: center;
    gap: 16px;
}

.trust-feature {
    background: var(--bg-card);
    padding: 10px 18px;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    border: 1px solid var(--border-color);
}

/* ============================================
   FINAL CTA SECTION
   ============================================ */
.final-cta {
    padding: var(--section-padding);
}

.cta-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 60px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent-gradient);
}

.cta-title {
    font-size: clamp(1.75rem, 5vw, 2.25rem);
    font-weight: 700;
    margin-bottom: 12px;
}

.cta-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 32px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    padding: 30px 20px;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.footer-text {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ============================================
   STICKY MOBILE CTA
   ============================================ */
.sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px;
    background: linear-gradient(to top, var(--bg-primary) 80%, transparent);
    z-index: 100;
    display: none;
}

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.6s ease forwards;
}

.delay-1 {
    animation-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.2s;
}

.delay-3 {
    animation-delay: 0.3s;
}

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

/* Scroll-triggered animations */
.step-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.step-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.step-card:nth-child(1) { transition-delay: 0.1s; }
.step-card:nth-child(2) { transition-delay: 0.2s; }
.step-card:nth-child(3) { transition-delay: 0.3s; }

/* ============================================
   RESPONSIVE DESIGN - MOBILE FIRST
   ============================================ */

/* Mobile (default) */
@media (max-width: 767px) {
    .sticky-cta {
        display: block;
    }
    
    .hero {
        padding-bottom: 100px;
    }
    
    .final-cta {
        padding-bottom: 120px;
    }
    
    .cta-card {
        padding: 40px 20px;
    }
    
    .steps-grid {
        gap: 20px;
    }
    
    .step-card {
        padding: 28px 20px;
    }
    
    .trust-features {
        flex-direction: column;
        align-items: center;
    }
    
    .flow-item {
        padding: 6px 12px;
        font-size: 0.85rem;
    }
    
    .gradient-orb {
        opacity: 0.3;
    }
    
    .orb-1 {
        width: 250px;
        height: 250px;
    }
    
    .orb-2 {
        width: 200px;
        height: 200px;
    }
}

/* Tablet */
@media (min-width: 768px) {
    .hero-title {
        max-width: 700px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .steps-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .cta-button.pulse {
        animation: none;
    }
}

/* Focus states for keyboard navigation */
.cta-button:focus-visible {
    outline: 2px solid var(--accent-primary);
    outline-offset: 4px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --border-color: rgba(255, 255, 255, 0.3);
    }
    
    .cta-button.primary {
        border: 2px solid white;
    }
}
