/* ═══════════════════════════════════════════
   EVRENWORKS ALPR — Landing Page
   Clean • Google Design Vibes • Elegant Light
   ═══════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
    /* Google-like Clean Light Theme */
    --bg: #ffffff;
    --bg-alt: #f8f9fa;
    --bg-card: #ffffff;
    --border: #dadce0;
    --border-hover: #bdc1c6;
    
    --text-main: #202124;
    --text-secondary: #5f6368;
    --text-tertiary: #80868b;
    
    --accent: #1a73e8; /* Classic Google Blue */
    --accent-hover: #1765cc;
    --accent-light: #e8f0fe;
    
    --shadow-sm: 0 1px 2px 0 rgba(60,64,67,0.3), 0 1px 3px 1px rgba(60,64,67,0.15);
    --shadow-md: 0 4px 6px -1px rgba(60,64,67,0.1), 0 2px 4px -1px rgba(60,64,67,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(60,64,67,0.1), 0 4px 6px -2px rgba(60,64,67,0.05);
    --shadow-hover: 0 12px 24px rgba(60,64,67,0.15);
    
    --radius: 16px;
    --radius-sm: 8px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, system-ui, sans-serif;
    background: var(--bg);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    perspective: 1200px;
}

::selection { background: var(--accent-light); color: var(--accent); }
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

.gradient-text {
    color: var(--accent);
}

/* ═══ NAVBAR ═══ */
#navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    padding: 20px 0;
    transition: all 0.3s ease;
}
#navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    padding: 12px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}
.nav-inner {
    max-width: 1140px; margin: 0 auto; padding: 0 24px;
    display: flex; align-items: center; justify-content: space-between;
}
.nav-brand {
    display: flex; align-items: center; gap: 12px;
    text-decoration: none; color: #fff; /* White when at top (on video) */
    font-weight: 700; font-size: 20px;
    transition: color 0.3s;
}
#navbar.scrolled .nav-brand { color: var(--text-main); }
.nav-logo { width: 32px; height: 32px; border-radius: 6px; }

.nav-links { display: none; gap: 8px; align-items: center; }
.nav-links a {
    color: rgba(255,255,255,0.8); text-decoration: none;
    font-size: 14px; font-weight: 500;
    padding: 8px 16px; border-radius: 50px; transition: all 0.2s;
}
#navbar.scrolled .nav-links a { color: var(--text-secondary); }
.nav-links a:hover { background: rgba(255,255,255,0.1); color: #fff; }
#navbar.scrolled .nav-links a:hover { background: var(--bg-alt); color: var(--text-main); }

.nav-cta {
    background: #fff !important; color: var(--accent) !important;
    box-shadow: var(--shadow-sm);
}
#navbar.scrolled .nav-cta {
    background: var(--accent) !important; color: #fff !important;
}

.nav-toggle {
    display: flex; flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer; padding: 6px;
}
.nav-toggle span { width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: 0.3s; }
#navbar.scrolled .nav-toggle span { background: var(--text-main); }
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ═══ HERO (Cinematic Intro) ═══ */
#hero {
    position: relative; min-height: 100vh;
    display: flex; align-items: center; justify-content: center; overflow: hidden;
    background: #050608;
}
.mimi-canvas {
    position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0;
    opacity: 0; transition: opacity 2s ease;
}
.mimi-canvas.visible { opacity: 1; }
.hero-video-wrap {
    position: absolute; inset: 0; z-index: 1;
    transition: all 2s cubic-bezier(0.4, 0, 0.2, 1);
}
.hero-video-wrap.scaled {
    inset: 10% 20%; border-radius: 24px; overflow: hidden;
    box-shadow: 0 30px 80px rgba(0,0,0,0.5);
}
.hero-video-wrap.faded { opacity: 0; pointer-events: none; }
/* Custom Mimi cursor */
.mimi-cursor {
    position: fixed; z-index: 9999; pointer-events: none;
    font-family: 'Courier New', monospace; font-size: 18px; font-weight: 900;
    color: rgba(99,102,241,0.7); letter-spacing: 2px;
    transition: opacity 0.3s, transform 0.1s;
    opacity: 0; text-shadow: 0 0 12px rgba(99,102,241,0.3);
}
.mimi-cursor.visible { opacity: 1; }
#hero { cursor: none; }
.hero-video { width: 100%; height: 100%; object-fit: cover; opacity: 0.5; }
.hero-overlay {
    position: absolute; inset: 0; z-index: 2;
    background: #050608;
    opacity: 0; transition: opacity 1s ease;
}
.hero-content {
    position: relative; z-index: 3; text-align: center;
    padding: 120px 20px 60px; max-width: 800px;
}
/* ── MIMI BRAND (The Logo) ── */
.mimi-brand {
    margin-bottom: 48px;
}
.mimi-big-display {
    font-family: 'Courier New', monospace;
    font-size: clamp(56px, 12vw, 96px);
    font-weight: 900; color: #fff; letter-spacing: 16px;
    text-shadow: 0 0 80px rgba(99,102,241,0.4), 0 0 160px rgba(99,102,241,0.15);
    transition: all 0.6s ease;
    line-height: 1;
    margin-bottom: 16px;
}
.mimi-tagline {
    font-size: 16px; font-weight: 500; color: rgba(99,102,241,0.9);
    letter-spacing: 2px;
}
/* ── Typography Hierarchy: 2x → 1x → 0.6x ── */
.hero-title {
    font-size: clamp(32px, 5vw, 52px); font-weight: 800; color: #fff;
    line-height: 1.1; margin-bottom: 8px; letter-spacing: -1px;
}
.hero-subtitle {
    font-size: clamp(16px, 2.5vw, 22px); font-weight: 400; color: rgba(255,255,255,0.5);
    margin-bottom: 24px; letter-spacing: 0.5px;
}
.hero-desc {
    font-size: clamp(13px, 1.5vw, 15px); color: rgba(255,255,255,0.35);
    max-width: 480px; margin: 0 auto 40px; line-height: 1.7;
}
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ═══ BUTTONS ═══ */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 28px; border-radius: 50px;
    font-weight: 500; font-size: 15px; text-decoration: none;
    transition: all 0.2s ease; cursor: pointer; border: none; font-family: inherit;
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--accent-hover); box-shadow: var(--shadow-md); transform: translateY(-1px); }
.btn-ghost { background: rgba(255,255,255,0.1); color: #fff; backdrop-filter: blur(4px); }
.btn-ghost:hover { background: rgba(255,255,255,0.2); }
.btn-outline { background: transparent; color: var(--accent); border: 1px solid var(--border); width: 100%; justify-content: center; }
.btn-outline:hover { background: var(--bg-alt); border-color: var(--border-hover); }

/* ═══ SECTIONS ═══ */
section { padding: 64px 0; }
.section-header { text-align: center; margin-bottom: 48px; }
.section-tag {
    display: inline-block; font-size: 12px; font-weight: 600;
    color: var(--accent); text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 12px;
    background: var(--accent-light); padding: 4px 12px; border-radius: 50px;
}
.section-header h2 { font-size: clamp(28px, 5vw, 36px); font-weight: 700; color: var(--text-main); margin-bottom: 12px; letter-spacing: -0.5px; }
.section-header p { color: var(--text-secondary); font-size: 15px; max-width: 500px; margin: 0 auto; }

#features, #dashboard, #contact { background: var(--bg); }
#how-it-works, #pricing, #mimi { background: var(--bg-alt); }

/* ═══ FEATURES ═══ */
.features-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
.feature-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 32px;
    transition: all 0.3s ease; box-shadow: 0 1px 2px rgba(0,0,0,0.02);
}
.feature-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); border-color: transparent; }
.feature-icon { font-size: 32px; margin-bottom: 20px; display: inline-block; padding: 12px; background: var(--bg-alt); border-radius: 12px; }
.feature-card h3 { font-size: 18px; font-weight: 600; margin-bottom: 12px; color: var(--text-main); }
.feature-card p { color: var(--text-secondary); font-size: 15px; line-height: 1.6; }

/* ═══ MEET MIMI ═══ */
.mimi-wrapper {
    display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center;
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: 24px; padding: 40px 24px; box-shadow: var(--shadow-sm);
}
.mimi-display {
    background: #0f1117; color: rgba(148,163,184,0.5);
    border-radius: 20px; aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center;
    font-family: 'Courier New', Courier, monospace; font-size: 36px; font-weight: bold;
    letter-spacing: 6px; transition: all 0.5s ease;
    margin: 0 auto; width: 100%; max-width: 400px;
    position: relative; overflow: hidden;
    box-shadow: inset 0 4px 20px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.05);
}
/* Idle scan line */
.mimi-display::after {
    content: ''; position: absolute; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, transparent, rgba(99,102,241,0.3), transparent);
    animation: scanLine 4s ease-in-out infinite;
    pointer-events: none;
}
@keyframes scanLine {
    0% { top: 10%; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { top: 90%; opacity: 0; }
}
/* Active = Plaka okundu, yeşil glow */
.mimi-display.active {
    box-shadow: inset 0 4px 20px rgba(0,0,0,0.5), 0 0 40px rgba(110,231,160,0.15), 0 0 0 1px rgba(110,231,160,0.2);
}
.mimi-display.active::after {
    background: linear-gradient(90deg, transparent, rgba(110,231,160,0.4), transparent);
}
/* Alert = Araç algılandı, amber pulse */
.mimi-display.alert {
    box-shadow: inset 0 4px 20px rgba(0,0,0,0.5), 0 0 30px rgba(251,191,36,0.12), 0 0 0 1px rgba(251,191,36,0.2);
}
.mimi-display.alert::after {
    background: linear-gradient(90deg, transparent, rgba(251,191,36,0.4), transparent);
    animation: scanLine 1s ease-in-out infinite;
}
/* Processing = Okunuyor, mavi hızlı scan */
.mimi-display.processing {
    box-shadow: inset 0 4px 20px rgba(0,0,0,0.5), 0 0 30px rgba(96,165,250,0.12), 0 0 0 1px rgba(96,165,250,0.2);
}
.mimi-display.processing::after {
    background: linear-gradient(90deg, transparent, rgba(96,165,250,0.5), transparent);
    animation: scanLine 0.6s ease-in-out infinite;
}
#mimiFace {
    z-index: 1; transition: color 0.4s ease, font-size 0.3s ease;
    text-align: center; line-height: 1.2;
}

.mimi-content h2 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 16px; color: var(--text-main); font-weight: 700; letter-spacing: -1px; }
.mimi-content p { color: var(--text-secondary); font-size: 16px; margin-bottom: 16px; line-height: 1.7; }

/* ═══ STEPS (Timeline) ═══ */
.steps-container { position: relative; max-width: 600px; margin: 0 auto; padding-left: 10px; }
.step-line {
    position: absolute; left: 25px; top: 24px; bottom: 24px; width: 2px;
    background: linear-gradient(180deg, var(--accent) 0%, rgba(26,115,232,0.2) 100%);
    z-index: 0;
}
.steps { display: flex; flex-direction: column; gap: 32px; position: relative; z-index: 1; }
.step {
    display: flex; gap: 20px; align-items: flex-start;
}
.step-dot {
    width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: #fff;
    display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px;
    flex-shrink: 0; position: relative; z-index: 2; box-shadow: 0 0 0 6px var(--bg-alt);
}
.step-content { 
    background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; 
    padding: 24px; flex-grow: 1; transition: all 0.3s; box-shadow: 0 1px 2px rgba(0,0,0,0.02); 
}
.step-content:hover { box-shadow: var(--shadow-hover); transform: translateX(4px); border-color: transparent; }
.step-content h3 { font-size: 18px; font-weight: 600; margin-bottom: 4px; }
.step-content p { color: var(--text-secondary); font-size: 15px; }

/* ═══ DASHBOARD ═══ */
.dashboard-features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; max-width: 700px; margin: 0 auto; }
.dash-feature {
    display: flex; align-items: center; gap: 16px;
    background: var(--bg-alt); border: 1px solid transparent;
    border-radius: 12px; padding: 20px;
    font-size: 15px; font-weight: 500; color: var(--text-main); transition: all 0.2s;
}
.dash-feature:hover { background: var(--bg-card); border-color: var(--border); box-shadow: var(--shadow-sm); }
.dash-icon { font-size: 24px; }

/* ═══ COMPARISON TABLE ═══ */
#comparison { background: var(--bg); }
.compare-table { max-width: 700px; margin: 0 auto; border: 1px solid var(--border); border-radius: 16px; overflow: hidden; }
.compare-row { display: grid; grid-template-columns: 1.2fr 1fr 1fr; border-bottom: 1px solid var(--border); }
.compare-row:last-child { border-bottom: none; }
.compare-cell { padding: 16px 20px; font-size: 14px; font-weight: 500; }
.compare-header { background: var(--bg-alt); }
.compare-header .compare-cell { font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-secondary); }
.compare-header .highlight { color: var(--accent); }
.compare-cell.label { color: var(--text-main); font-weight: 600; }
.compare-cell.bad { color: #dc2626; }
.compare-cell.good { color: #16a34a; font-weight: 600; }

/* ═══ PRICING ═══ */
.pricing-grid { display: grid; grid-template-columns: 1fr; gap: 24px; margin-bottom: 40px; }
.price-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 40px 32px; text-align: center;
    position: relative; transition: all 0.3s; box-shadow: 0 1px 2px rgba(0,0,0,0.02);
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }

.price-card.popular { border: 2px solid var(--accent); box-shadow: var(--shadow-md); }
.popular-badge {
    position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
    background: var(--accent); color: #fff; font-size: 12px; font-weight: 600;
    padding: 6px 16px; border-radius: 50px;
}
.price-tier { font-size: 18px; font-weight: 600; margin-bottom: 16px; color: var(--text-main); }
.price-amount { font-size: 48px; font-weight: 700; margin-bottom: 4px; color: var(--text-main); letter-spacing: -2px; }
.price-amount span { font-size: 18px; font-weight: 500; color: var(--text-tertiary); }
.price-period { font-size: 13px; color: var(--text-tertiary); margin-bottom: 32px; }
.price-features { list-style: none; text-align: left; margin-bottom: 32px; }
.price-features li { padding: 12px 0; font-size: 15px; color: var(--text-secondary); border-bottom: 1px solid var(--border); }
.price-features li:last-child { border: none; }
.price-features li.muted { color: var(--text-tertiary); text-decoration: line-through; }

.pricing-sub { text-align: center; margin-top: 32px; }
.pricing-sub h3 { font-size: 24px; font-weight: 600; margin-bottom: 24px; }
.sub-grid { display: grid; grid-template-columns: 1fr; gap: 16px; max-width: 900px; margin: 0 auto; }
.sub-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 24px; text-align: left; box-shadow: 0 1px 2px rgba(0,0,0,0.02); }
.sub-name { font-weight: 600; font-size: 16px; margin-bottom: 8px; color: var(--text-main); }
.sub-price { font-size: 28px; font-weight: 700; color: var(--accent); letter-spacing: -1px; }
.sub-price span { font-size: 14px; color: var(--text-secondary); font-weight: 400; }
.sub-card p { color: var(--text-secondary); font-size: 14px; margin-top: 8px; }

/* ═══ CONTACT ═══ */
.contact-grid { max-width: 500px; margin: 0 auto; }
.contact-item {
    display: flex; align-items: center; gap: 20px;
    padding: 24px; background: var(--bg-alt); border: 1px solid transparent;
    border-radius: 12px; margin-bottom: 16px; transition: all 0.2s;
}
.contact-item:hover { background: var(--bg-card); border-color: var(--border); box-shadow: var(--shadow-sm); }
.contact-icon { font-size: 28px; }
.contact-item strong { display: block; font-size: 14px; margin-bottom: 4px; font-weight: 500; color: var(--text-secondary); }
.contact-item a { color: var(--text-main); text-decoration: none; font-size: 18px; font-weight: 600; }
.contact-item a:hover { color: var(--accent); }

/* ═══ FOOTER ═══ */
#footer { background: #0a0b0e; border-top: 1px solid rgba(255,255,255,0.08); padding: 64px 0 32px; }
#footer, #footer .footer-name, #footer h4 { color: rgba(255,255,255,0.9); }
#footer p, #footer a, #footer .footer-bottom { color: rgba(255,255,255,0.45); }
#footer a:hover { color: #8ab4f8; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 40px; margin-bottom: 48px; }
.footer-brand { max-width: 300px; }
.footer-icon { width: 40px; height: 40px; border-radius: 10px; margin-bottom: 16px; }
.footer-logo-center { text-align: center; padding-top: 20px; }
.footer-logo-img { width: 80px; opacity: 0.4; transition: opacity 0.3s; }
.footer-logo-img:hover { opacity: 0.7; }
.footer-name { display: block; font-weight: 700; font-size: 18px; margin-bottom: 12px; color: var(--text-main); }
.footer-brand p { color: var(--text-secondary); font-size: 14px; line-height: 1.6; }
.footer-links h4 { font-size: 14px; font-weight: 600; margin-bottom: 16px; color: var(--text-main); }
.footer-links a { display: block; color: var(--text-secondary); text-decoration: none; font-size: 14px; padding: 6px 0; transition: color 0.2s; }
.footer-links a:hover { color: var(--accent); }
.footer-bottom {
    display: flex; flex-direction: column; gap: 8px;
    padding-top: 24px; border-top: 1px solid var(--border);
    font-size: 13px; color: var(--text-tertiary);
}

/* ═══ WHATSAPP FLOAT ═══ */
.wa-float {
    position: fixed; bottom: 24px; right: 24px; z-index: 90;
    width: 56px; height: 56px; background: #25D366; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 12px rgba(37,211,102,0.3);
    transition: all 0.3s;
}
.wa-float:hover { transform: scale(1.05); box-shadow: 0 6px 16px rgba(37,211,102,0.4); }
.scroll-indicator { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 3; }
.scroll-mouse { width: 24px; height: 38px; border: 2px solid rgba(255,255,255,0.3); border-radius: 12px; position: relative; }
.scroll-dot { width: 4px; height: 8px; background: rgba(255,255,255,0.5); border-radius: 2px; position: absolute; left: 50%; transform: translateX(-50%); top: 6px; animation: scrollPulse 1.5s ease-in-out infinite; }
@keyframes scrollPulse { 0%,100% { top: 6px; opacity: 1; } 50% { top: 18px; opacity: 0.3; } }

/* ═══ RESPONSIVE ═══ */

/* Mobile nav dropdown */
@media (max-width: 1023px) {
    .nav-links {
        position: fixed; top: 0; right: -100%; width: 280px; height: 100vh;
        background: rgba(255,255,255,0.98); backdrop-filter: blur(20px);
        flex-direction: column; padding: 80px 24px 24px; gap: 4px;
        transition: right 0.3s ease; z-index: 99;
        border-left: 1px solid var(--border);
        display: flex;
    }
    .nav-links.open { right: 0; }
    .nav-links a { color: var(--text-main) !important; padding: 12px 16px; border-radius: 8px; font-size: 16px; }
    .nav-links a:hover { background: var(--bg-alt); }
    .nav-cta { margin-top: 16px; background: var(--accent) !important; color: #fff !important; text-align: center; justify-content: center; }

    .hero-content { padding: 100px 20px 40px; }
    .mimi-big-display { letter-spacing: 8px; }
    .mimi-brand { margin: 32px 0; }
    .hero-desc { font-size: 14px; }

    .compare-row { grid-template-columns: 1.5fr 1fr 1fr; }
    .compare-cell { padding: 12px 10px; font-size: 13px; }
}

@media (min-width: 640px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-grid { grid-template-columns: repeat(2, 1fr); }
    .sub-grid { grid-template-columns: repeat(3, 1fr); }
    .dashboard-features { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-bottom { flex-direction: row; justify-content: space-between; }
}

@media (min-width: 1024px) {
    .nav-links { display: flex !important; position: static; flex-direction: row; background: none !important; padding: 0; border: none !important; width: auto; height: auto; }
    .nav-toggle { display: none; }
    .features-grid { grid-template-columns: repeat(3, 1fr); gap: 32px; }
    .pricing-grid { grid-template-columns: repeat(3, 1fr); gap: 32px; }
    .mimi-wrapper { grid-template-columns: 1fr 1.2fr; padding: 64px; }
    .dashboard-features { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
    section { padding: 80px 0; }
}
