/**
 * ═══════════════════════════════════════════════════════════════════════════
 * CARD SCANNER AI - PREMIUM STYLESHEET
 * ═══════════════════════════════════════════════════════════════════════════
 * @description   Dark theme, glassmorphism, modern SaaS UI
 * @version       1.0.0
 * @author        DEV SECURE Bilişim Teknolojileri A.Ş.
 * ═══════════════════════════════════════════════════════════════════════════
 */

/* ═══════════════════════════════════════════════════════════════════════════
   CSS VARIABLES - DESIGN TOKENS
   ═══════════════════════════════════════════════════════════════════════════ */
:root {
    /* Colors - Dark Theme */
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-tertiary: #1a1a25;
    --bg-card: rgba(26, 26, 37, 0.7);
    --bg-glass: rgba(255, 255, 255, 0.03);
    
    /* Text */
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.4);
    
    /* Accent */
    --accent-primary: #6366f1;
    --accent-secondary: #8b5cf6;
    --accent-glow: rgba(99, 102, 241, 0.4);
    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
    --gradient-text: linear-gradient(135deg, #6366f1, #a855f7, #ec4899);
    
    /* Status */
    --success: #22c55e;
    --warning: #f59e0b;
    --error: #ef4444;
    
    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-blur: blur(20px);
    
    /* Spacing */
    --nav-height: 80px;
    --container-max: 1280px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.2);
    --shadow-md: 0 8px 32px rgba(0,0,0,0.3);
    --shadow-lg: 0 16px 64px rgba(0,0,0,0.4);
    --shadow-glow: 0 0 40px var(--accent-glow);
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

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

html { scroll-behavior: smooth; font-size: 16px; -webkit-font-smoothing: antialiased; }

body {
    font-family: var(--font-primary);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; transition: var(--transition-base); }
button { font-family: inherit; cursor: pointer; border: none; background: transparent; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

.container { 
    max-width: var(--container-max); 
    margin: 0 auto; 
    padding: 0 24px; 
}

/* ═══════════════════════════════════════════════════════════════════════════
   HEADER & NAVIGATION
   ═══════════════════════════════════════════════════════════════════════════ */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition-base);
}

.main-header.scrolled { background: rgba(10, 10, 15, 0.95); }

.navbar { height: var(--nav-height); }

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.nav-logo { display: flex; align-items: center; }
.logo-img { height: 40px; width: auto; }

.nav-menu {
    display: flex;
    gap: 8px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition-base);
}

.nav-link:hover, .nav-link.active {
    color: var(--text-primary);
    background: var(--glass-bg);
}

.nav-icon { width: 16px; height: 16px; }

.nav-actions { display: flex; align-items: center; gap: 16px; }

/* Language Selector */
.lang-selector { position: relative; }

.lang-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: var(--radius-md);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    font-size: 13px;
    transition: var(--transition-base);
}

.lang-btn:hover { background: var(--bg-tertiary); }

.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 160px;
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition-base);
    box-shadow: var(--shadow-lg);
}

.lang-selector.open .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-dropdown li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition-fast);
    font-size: 14px;
}

.lang-dropdown li:hover, .lang-dropdown li.active {
    background: var(--glass-bg);
}

/* CTA Button */
.nav-cta {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 600;
    color: white;
    transition: var(--transition-base);
}

.nav-cta:hover { transform: translateY(-2px); box-shadow: var(--shadow-glow); }

/* Mobile Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

.toggle-bar {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition-base);
}

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

.hero-slider {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-slider .slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease;
}

.hero-slider .slide.active { opacity: 1; }

.fallback-gradient {
    background: linear-gradient(135deg, #0a0a0f 0%, #1a1a35 50%, #0a0a0f 100%);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(10,10,15,0.7) 0%, rgba(10,10,15,0.9) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 0 24px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    font-size: 13px;
    color: var(--accent-primary);
    margin-bottom: 24px;
}

.hero-title {
    font-size: clamp(48px, 8vw, 80px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 16px;
}

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

.title-ai {
    display: inline-block;
    padding: 4px 20px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    margin-left: 12px;
    -webkit-text-fill-color: white;
}

.hero-slider-text {
    height: 60px;
    margin-bottom: 32px;
    position: relative;
}

.slider-text {
    position: absolute;
    width: 100%;
    font-size: clamp(18px, 3vw, 24px);
    color: var(--text-secondary);
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
    transform: translateY(20px);
}

.slider-text.active {
    opacity: 1;
    transform: translateY(0);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    font-size: 15px;
    font-weight: 600;
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

.btn-ghost {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
}

.btn-ghost:hover { background: var(--bg-tertiary); }

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

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

.btn-glow::after {
    content: '';
    position: absolute;
    inset: -2px;
    background: var(--gradient-primary);
    border-radius: inherit;
    z-index: -1;
    opacity: 0;
    filter: blur(20px);
    transition: opacity 0.3s;
}

.btn-glow:hover::after { opacity: 0.6; }

.btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { left: -100%; }
    50%, 100% { left: 100%; }
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

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

.stat-value {
    font-size: 36px;
    font-weight: 800;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-suffix {
    font-size: 24px;
    font-weight: 700;
    color: var(--accent-primary);
}

.stat-label {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 4px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--glass-border);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 12px;
    animation: float 2s ease-in-out infinite;
}

.scroll-mouse {
    width: 24px;
    height: 40px;
    border: 2px solid var(--glass-border);
    border-radius: 12px;
    position: relative;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background: var(--accent-primary);
    border-radius: 4px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel 1.5s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

@keyframes scroll-wheel {
    0%, 100% { opacity: 1; top: 6px; }
    50% { opacity: 0.3; top: 16px; }
}

/* Slider Controls */
.slider-controls {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 16px;
}

.slider-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    color: var(--text-primary);
    transition: var(--transition-base);
}

.slider-btn:hover {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
}

.slider-dots { display: flex; gap: 8px; }

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--glass-border);
    transition: var(--transition-base);
}

.dot.active, .dot:hover {
    background: var(--accent-primary);
    transform: scale(1.2);
}

/* ═══════════════════════════════════════════════════════════════════════════
   SECTIONS COMMON
   ═══════════════════════════════════════════════════════════════════════════ */
section { padding: 100px 0; position: relative; }

.section-header {
    margin-bottom: 64px;
}

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

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    color: var(--accent-primary);
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
}

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

.section-desc {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
}

.section-header.center .section-desc { margin: 0 auto; }

/* ═══════════════════════════════════════════════════════════════════════════
   FEATURES SECTION
   ═══════════════════════════════════════════════════════════════════════════ */
.features-section { background: var(--bg-secondary); }

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

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition-base);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-glow);
}

.feature-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    margin-bottom: 20px;
}

.feature-icon.gradient-purple { background: linear-gradient(135deg, #8b5cf6, #a855f7); }
.feature-icon.gradient-green { background: linear-gradient(135deg, #22c55e, #10b981); }
.feature-icon.gradient-orange { background: linear-gradient(135deg, #f59e0b, #f97316); }
.feature-icon.gradient-pink { background: linear-gradient(135deg, #ec4899, #f43f5e); }
.feature-icon.gradient-cyan { background: linear-gradient(135deg, #06b6d4, #0ea5e9); }

.feature-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-desc {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.feature-stat {
    padding-top: 16px;
    border-top: 1px solid var(--glass-border);
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.stat-num {
    font-size: 24px;
    font-weight: 800;
    color: var(--accent-primary);
}

.stat-text {
    font-size: 13px;
    color: var(--text-muted);
}

/* ═══════════════════════════════════════════════════════════════════════════
   SHOWCASE SECTION
   ═══════════════════════════════════════════════════════════════════════════ */
.showcase-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.showcase-image {
    position: relative;
}

.center-img {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.showcase-glow {
    position: absolute;
    inset: -20%;
    background: var(--accent-glow);
    filter: blur(80px);
    opacity: 0.3;
    z-index: -1;
}

.showcase-list {
    margin: 24px 0 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.showcase-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    color: var(--text-secondary);
}

.showcase-list i {
    color: var(--success);
    flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════════════════════
   HOW IT WORKS
   ═══════════════════════════════════════════════════════════════════════════ */
.how-section { background: var(--bg-secondary); }

.steps-container {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.step-card {
    flex: 1;
    min-width: 280px;
    max-width: 340px;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 32px;
    text-align: center;
    position: relative;
}

.step-number {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 16px;
    background: var(--gradient-primary);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
}

.step-icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--glass-bg);
    border: 2px solid var(--glass-border);
    border-radius: 50%;
    margin: 16px auto 20px;
}

.step-icon i { width: 32px; height: 32px; color: var(--accent-primary); }
.step-icon.gradient-purple i { color: #a855f7; }
.step-icon.gradient-green i { color: #22c55e; }

.step-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.step-desc {
    font-size: 15px;
    color: var(--text-secondary);
}

.step-arrow {
    display: flex;
    align-items: center;
    padding-top: 60px;
    color: var(--text-muted);
}

/* ═══════════════════════════════════════════════════════════════════════════
   DEMO / UPLOAD SECTION
   ═══════════════════════════════════════════════════════════════════════════ */
.upload-zone {
    max-width: 700px;
    margin: 0 auto;
    padding: 64px 48px;
    background: var(--bg-card);
    border: 2px dashed var(--glass-border);
    border-radius: var(--radius-xl);
    text-align: center;
    cursor: pointer;
    transition: var(--transition-base);
}

.upload-zone:hover, .upload-zone.dragover {
    border-color: var(--accent-primary);
    background: rgba(99, 102, 241, 0.05);
}

.upload-zone:focus {
    outline: 2px solid var(--accent-primary);
    outline-offset: 4px;
}

.upload-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--glass-bg);
    border-radius: 50%;
    margin: 0 auto 24px;
}

.upload-icon i { width: 40px; height: 40px; color: var(--accent-primary); }

.upload-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
}

.upload-hint {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.upload-or {
    margin-bottom: 16px;
    color: var(--text-muted);
    font-size: 13px;
}

/* Progress */
.upload-progress, .upload-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.progress-ring { position: relative; width: 100px; height: 100px; }

.progress-ring svg { transform: rotate(-90deg); }

.progress-bg {
    fill: none;
    stroke: var(--glass-border);
    stroke-width: 8;
}

.progress-bar {
    fill: none;
    stroke: url(#progressGradient);
    stroke-width: 8;
    stroke-linecap: round;
    stroke-dasharray: 283;
    stroke-dashoffset: 283;
    transition: stroke-dashoffset 0.3s;
}

.progress-percent {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
}

.success-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(34, 197, 94, 0.1);
    border-radius: 50%;
}

.success-icon i { width: 40px; height: 40px; color: var(--success); }

.success-title { font-size: 24px; font-weight: 700; }
.success-desc { color: var(--text-secondary); }

/* Result Preview */
.result-preview { margin-top: 32px; }

.result-card {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 32px;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 24px;
}

.result-image {
    aspect-ratio: 1.6;
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.result-image img { width: 100%; height: 100%; object-fit: cover; }

.result-heading {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
}

.result-fields { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }

.result-field {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    background: var(--glass-bg);
    border-radius: var(--radius-sm);
}

.result-field label {
    min-width: 80px;
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
}

.result-field span { font-size: 15px; font-weight: 500; }

.result-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.btn-sm { padding: 10px 16px; font-size: 13px; }

.btn-full { width: 100%; }

/* ═══════════════════════════════════════════════════════════════════════════
   CONTACT SECTION
   ═══════════════════════════════════════════════════════════════════════════ */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
}

.contact-details { margin-top: 32px; display: flex; flex-direction: column; gap: 20px; }

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

.contact-icon i { color: var(--accent-primary); }

.contact-label {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 4px;
}

.contact-value { font-size: 16px; font-weight: 500; }

/* Contact Form */
.contact-form {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 32px;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }

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

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    background: var(--bg-tertiary);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 15px;
    transition: var(--transition-base);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-group textarea { resize: vertical; min-height: 120px; }

.form-error {
    display: block;
    font-size: 12px;
    color: var(--error);
    margin-top: 6px;
}

.form-success {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px;
    background: rgba(34, 197, 94, 0.1);
    border-radius: var(--radius-md);
    color: var(--success);
    margin-top: 16px;
}

.btn-loading { display: none; }
.btn[disabled] .btn-text { display: none; }
.btn[disabled] .btn-loading { display: flex; align-items: center; gap: 8px; }

.spin { animation: spin 1s linear infinite; }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* ═══════════════════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════════════════ */
.main-footer { background: var(--bg-secondary); border-top: 1px solid var(--glass-border); }

.footer-top { padding: 64px 0; }

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
}

.footer-logo img { height: 40px; margin-bottom: 16px; }

.footer-desc { font-size: 14px; color: var(--text-secondary); margin-bottom: 20px; }

.footer-social { display: flex; gap: 12px; }

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    transition: var(--transition-base);
}

.social-link:hover {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
}

.footer-links h4,
.footer-contact h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-links ul { display: flex; flex-direction: column; gap: 12px; }

.footer-links a {
    font-size: 14px;
    color: var(--text-secondary);
    transition: var(--transition-base);
}

.footer-links a:hover { color: var(--text-primary); padding-left: 8px; }

.footer-contact p { font-size: 14px; color: var(--text-secondary); margin-bottom: 8px; }
.footer-contact a { color: var(--accent-primary); }

.footer-bottom {
    padding: 24px 0;
    border-top: 1px solid var(--glass-border);
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright { font-size: 14px; color: var(--text-muted); }
.footer-credit { font-size: 14px; color: var(--text-muted); }
.footer-credit a { color: var(--accent-primary); }

/* ═══════════════════════════════════════════════════════════════════════════
   TOAST NOTIFICATIONS
   ═══════════════════════════════════════════════════════════════════════════ */
.toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.toast {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    animation: slideIn 0.3s ease;
    min-width: 300px;
}

.toast.success { border-left: 4px solid var(--success); }
.toast.error { border-left: 4px solid var(--error); }
.toast.warning { border-left: 4px solid var(--warning); }

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   INFO BUTTON & MODAL
   ═══════════════════════════════════════════════════════════════════════════ */
.info-btn {
    position: fixed;
    bottom: 24px;
    left: 24px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-primary);
    border-radius: 50%;
    color: white;
    box-shadow: var(--shadow-md);
    z-index: 999;
    transition: var(--transition-base);
}

.info-btn:hover { transform: scale(1.1); box-shadow: var(--shadow-glow); }

.info-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 24px;
}

.info-modal[hidden] { display: none; }

.info-modal-content {
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 32px;
    max-width: 500px;
    width: 100%;
    position: relative;
}

.info-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--glass-bg);
    border-radius: 50%;
    color: var(--text-secondary);
    transition: var(--transition-base);
}

.info-close:hover { background: var(--error); color: white; }

.info-modal h3 { font-size: 20px; margin-bottom: 24px; }

.info-section { margin-bottom: 20px; }
.info-section h4 { font-size: 14px; color: var(--accent-primary); margin-bottom: 12px; }
.info-section ul { display: flex; flex-direction: column; gap: 8px; }
.info-section li { font-size: 14px; color: var(--text-secondary); display: flex; gap: 8px; }
.info-section p { font-size: 14px; color: var(--text-secondary); }

kbd {
    display: inline-block;
    padding: 4px 8px;
    background: var(--bg-tertiary);
    border: 1px solid var(--glass-border);
    border-radius: 4px;
    font-family: var(--font-mono);
    font-size: 12px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .showcase-wrapper { grid-template-columns: 1fr; text-align: center; }
    .showcase-image { order: -1; max-width: 500px; margin: 0 auto; }
    .showcase-content { max-width: 600px; margin: 0 auto; }
    .showcase-list { align-items: center; }
    
    .contact-wrapper { grid-template-columns: 1fr; }
    .contact-info { text-align: center; }
    .contact-details { align-items: center; }
    
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: var(--nav-height);
        left: 0;
        right: 0;
        background: var(--bg-secondary);
        border-bottom: 1px solid var(--glass-border);
        flex-direction: column;
        padding: 16px;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition-base);
    }
    
    .nav-menu.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-toggle { display: flex; }
    .nav-cta { display: none; }
    
    .features-grid { grid-template-columns: 1fr; }
    
    .step-arrow { display: none; }
    .steps-container { flex-direction: column; }
    .step-card { max-width: 100%; }
    
    .result-card { grid-template-columns: 1fr; }
    
    .form-row { grid-template-columns: 1fr; }
    
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-social { justify-content: center; }
    .footer-bottom .container { flex-direction: column; gap: 12px; }
    
    .slider-controls { bottom: 60px; }
    .scroll-indicator { display: none; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 36px; }
    .title-ai { padding: 2px 12px; font-size: 28px; margin-left: 8px; }
    .hero-stats { gap: 16px; }
    .stat-value { font-size: 28px; }
    .stat-divider { height: 30px; }
    
    .upload-zone { padding: 40px 24px; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   UTILITIES
   ═══════════════════════════════════════════════════════════════════════════ */
[hidden] { display: none !important; }

/* Lucide Icons Default Size */
[data-lucide] { width: 20px; height: 20px; }

/* Focus Visible */
:focus-visible {
    outline: 2px solid var(--accent-primary);
    outline-offset: 2px;
}

/* Selection */
::selection {
    background: var(--accent-primary);
    color: white;
}

/* Scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-secondary); }
::-webkit-scrollbar-thumb { background: var(--bg-tertiary); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent-primary); }
