*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #1a1a2e;
    background: #ffffff;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #dbeafe;
    --accent: #0ea5e9;
    --violet: #7c3aed;
    --violet-light: #ede9fe;
    --emerald: #059669;
    --emerald-light: #d1fae5;
    --amber: #d97706;
    --amber-light: #fef3c7;
    --rose: #e11d48;
    --rose-light: #ffe4e6;
    --dark: #0f172a;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-300: #cbd5e1;
    --gray-500: #64748b;
    --gray-700: #334155;
    --white: #ffffff;
    --success: #10b981;
    --error: #ef4444;
    --radius: 12px;
    --shadow: 0 4px 24px rgba(0,0,0,0.06);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.1);
    --max-width: 1120px;
}

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 32px; border: none; border-radius: var(--radius);
    font-family: inherit; font-size: 1rem; font-weight: 600;
    cursor: pointer; text-decoration: none; transition: all 0.3s ease;
}
.btn-primary { background: linear-gradient(135deg, var(--primary), var(--violet)); color: var(--white); }
.btn-primary:hover { background: linear-gradient(135deg, var(--primary-dark), #6d28d9); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(37,99,235,0.3); }
.btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: var(--white); }
.section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 800;
    text-align: center; margin-bottom: 16px; color: var(--dark);
}
.section-subtitle {
    text-align: center; color: var(--gray-500); font-size: 1.1rem;
    max-width: 600px; margin: 0 auto 48px;
}

.reveal {
    opacity: 0; transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(255,255,255,0.92); backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--gray-100);
    transition: box-shadow 0.3s ease;
}
nav.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.06); }
.nav-inner {
    max-width: var(--max-width); margin: 0 auto; padding: 0 24px;
    display: flex; align-items: center; justify-content: space-between;
    height: 72px;
}
.nav-logo {
    font-size: 1.4rem; font-weight: 800; color: var(--primary);
    text-decoration: none; letter-spacing: -0.5px;
}
.nav-logo span { color: var(--dark); }
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a {
    text-decoration: none; color: var(--gray-700); font-size: 0.95rem;
    font-weight: 500; transition: color 0.2s;
}
.nav-links a:hover { color: var(--primary); }
.burger {
    display: none; flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer; padding: 4px;
}
.burger span {
    width: 24px; height: 2px; background: var(--dark);
    border-radius: 2px; transition: all 0.3s ease;
}
.burger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.hero {
    min-height: 100vh; display: flex; align-items: center;
    background: linear-gradient(160deg, var(--gray-50) 0%, var(--white) 50%, var(--primary-light) 100%);
    padding-top: 72px;
}
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: linear-gradient(135deg, var(--primary-light), var(--violet-light));
    color: var(--primary);
    padding: 8px 16px; border-radius: 50px; font-size: 0.85rem; font-weight: 600;
    margin-bottom: 24px;
}
.hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.2rem); font-weight: 800;
    line-height: 1.15; color: var(--dark); margin-bottom: 20px;
}
.hero h1 em { font-style: normal; color: var(--primary); }
.hero p { font-size: 1.15rem; color: var(--gray-500); margin-bottom: 32px; max-width: 480px; }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-visual {
    display: flex; justify-content: center; align-items: center;
}
.hero-illustration {
    width: 100%; max-width: 420px;
    background: linear-gradient(160deg, var(--white) 0%, #f0f4ff 100%);
    border-radius: 24px;
    box-shadow: var(--shadow-lg); padding: 40px;
    display: flex; flex-direction: column; align-items: center; gap: 24px;
    border: 1px solid rgba(37,99,235,0.08);
}
.phone-mockup {
    width: 180px; height: 320px; background: var(--dark);
    border-radius: 24px; position: relative; overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}
.phone-screen {
    position: absolute; inset: 8px; background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 18px; display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: 12px;
}
.phone-screen .scan-icon {
    width: 64px; height: 64px; border: 3px solid rgba(255,255,255,0.8);
    border-radius: 12px; display: flex; align-items: center; justify-content: center;
}
.phone-screen .scan-icon::after {
    content: ''; width: 40px; height: 28px;
    border: 2px solid rgba(255,255,255,0.9); border-radius: 4px;
}
.phone-screen p { color: rgba(255,255,255,0.9); font-size: 0.75rem; font-weight: 600; }
.arrow-flow { display: flex; align-items: center; gap: 16px; color: var(--gray-500); font-size: 0.9rem; font-weight: 500; }
.arrow-flow .arrow { color: var(--primary); font-size: 1.2rem; }

.problem { padding: 100px 0; background: var(--white); }
.problem-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.problem-card, .solution-card {
    padding: 40px; border-radius: var(--radius);
}
.problem-card {
    background: linear-gradient(145deg, #fff5f5 0%, var(--gray-50) 100%);
    border: 1px solid #fecdd3;
}
.solution-card {
    background: linear-gradient(135deg, var(--primary), var(--violet));
    color: var(--white);
}
.problem-card h3, .solution-card h3 {
    font-size: 1.3rem; font-weight: 700; margin-bottom: 20px;
    display: flex; align-items: center; gap: 12px;
}
.problem-card ul, .solution-card ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.problem-card li, .solution-card li {
    display: flex; align-items: flex-start; gap: 10px;
    font-size: 0.95rem; line-height: 1.5;
}
.solution-card li { color: rgba(255,255,255,0.95); }
.icon-circle {
    flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.8rem;
}
.icon-red { background: #fef2f2; color: var(--error); }
.icon-green { background: rgba(255,255,255,0.2); color: var(--white); }

.how { padding: 100px 0; background: var(--gray-50); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step {
    text-align: center; padding: 32px 20px;
    background: var(--white); border-radius: var(--radius);
    box-shadow: var(--shadow); position: relative;
    border-top: 3px solid transparent;
    transition: all 0.3s ease;
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.step:nth-child(1) { border-top-color: var(--primary); }
.step:nth-child(2) { border-top-color: var(--accent); }
.step:nth-child(3) { border-top-color: var(--violet); }
.step:nth-child(4) { border-top-color: var(--emerald); }
.step-number {
    width: 48px; height: 48px; border-radius: 50%;
    background: var(--primary); color: var(--white);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 1.2rem; font-weight: 700; margin-bottom: 16px;
}
.step:nth-child(1) .step-number { background: var(--primary); }
.step:nth-child(2) .step-number { background: var(--accent); }
.step:nth-child(3) .step-number { background: var(--violet); }
.step:nth-child(4) .step-number { background: var(--emerald); }
.step h4 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.step p { font-size: 0.9rem; color: var(--gray-500); }
.step-icon { font-size: 2rem; margin-bottom: 12px; }

.features { padding: 100px 0; background: var(--white); }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card {
    padding: 32px; border-radius: var(--radius); border: 1px solid var(--gray-100);
    transition: all 0.4s ease; background: var(--white);
}
.feature-card:hover { transform: translateY(-6px); border-color: transparent; }
.feature-card:nth-child(1):hover { box-shadow: 0 12px 36px rgba(37,99,235,0.18); }
.feature-card:nth-child(2):hover { box-shadow: 0 12px 36px rgba(5,150,105,0.18); }
.feature-card:nth-child(3):hover { box-shadow: 0 12px 36px rgba(14,165,233,0.18); }
.feature-card:nth-child(4):hover { box-shadow: 0 12px 36px rgba(124,58,237,0.18); }
.feature-card:nth-child(5):hover { box-shadow: 0 12px 36px rgba(217,119,6,0.18); }
.feature-card:nth-child(6):hover { box-shadow: 0 12px 36px rgba(225,29,72,0.18); }
.feature-icon {
    width: 56px; height: 56px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; margin-bottom: 16px;
}
.feature-card:nth-child(1) .feature-icon { background: var(--primary-light); color: var(--primary); }
.feature-card:nth-child(2) .feature-icon { background: var(--emerald-light); color: var(--emerald); }
.feature-card:nth-child(3) .feature-icon { background: #e0f2fe; color: var(--accent); }
.feature-card:nth-child(4) .feature-icon { background: var(--violet-light); color: var(--violet); }
.feature-card:nth-child(5) .feature-icon { background: var(--amber-light); color: var(--amber); }
.feature-card:nth-child(6) .feature-icon { background: var(--rose-light); color: var(--rose); }
.feature-card h4 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.feature-card p { font-size: 0.9rem; color: var(--gray-500); line-height: 1.6; }

.pricing { padding: 100px 0; background: var(--gray-50); }
.pricing-card {
    max-width: 480px; margin: 0 auto; background: var(--white);
    border-radius: 20px; box-shadow: var(--shadow-lg); overflow: hidden;
    text-align: center;
}
.pricing-header {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: var(--white); padding: 40px 32px;
}
.pricing-header h3 { font-size: 1.4rem; font-weight: 700; margin-bottom: 8px; }
.pricing-price { font-size: 3rem; font-weight: 800; }
.pricing-price span { font-size: 1rem; font-weight: 500; opacity: 0.8; }
.pricing-body { padding: 32px; }
.pricing-body ul { list-style: none; display: flex; flex-direction: column; gap: 14px; margin-bottom: 32px; }
.pricing-body li {
    display: flex; align-items: center; gap: 10px;
    font-size: 0.95rem; color: var(--gray-700);
}
.check { color: var(--success); font-weight: 700; }

.contact { padding: 100px 0; background: var(--white); }
.contact-wrapper {
    max-width: 560px; margin: 0 auto;
    background: linear-gradient(160deg, var(--gray-50) 0%, #f0f0ff 100%);
    padding: 48px; border-radius: 20px;
    border: 1px solid rgba(124,58,237,0.1);
}
.form-group { margin-bottom: 20px; }
.form-group label {
    display: block; font-size: 0.9rem; font-weight: 600;
    color: var(--gray-700); margin-bottom: 6px;
}
.form-group input, .form-group textarea {
    width: 100%; padding: 12px 16px; border: 1px solid var(--gray-300);
    border-radius: 8px; font-family: inherit; font-size: 0.95rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: var(--white);
}
.form-group input:focus, .form-group textarea:focus {
    outline: none; border-color: var(--violet);
    box-shadow: 0 0 0 3px rgba(124,58,237,0.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.field-group-alt { height: 0; overflow: hidden; opacity: 0; padding: 0; margin: 0; border: 0; }
.form-message {
    padding: 14px 20px; border-radius: 8px; margin-bottom: 20px;
    font-size: 0.9rem; font-weight: 500;
}
.form-message.success { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.form-message.error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }

footer {
    background: var(--dark); color: rgba(255,255,255,0.6);
    padding: 40px 0; text-align: center; font-size: 0.85rem;
}
footer .nav-logo { color: var(--white); }
footer .nav-logo span { color: var(--accent); }
footer p { margin-top: 12px; }
.footer-flag { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; }

.nav-overlay {
    display: none; position: fixed; inset: 0; top: 72px;
    background: rgba(255,255,255,0.98); backdrop-filter: blur(12px);
    z-index: 999;
}
.nav-overlay.active { display: flex; }
.nav-overlay ul {
    list-style: none; display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    width: 100%; gap: 32px; padding-top: 48px;
}
.nav-overlay a {
    font-size: 1.3rem; font-weight: 600; color: var(--dark);
    text-decoration: none;
}

@media (max-width: 900px) {
    .hero-inner { grid-template-columns: 1fr; text-align: center; }
    .hero p { margin-left: auto; margin-right: auto; }
    .hero-buttons { justify-content: center; }
    .hero-visual { order: -1; }
    .hero-illustration { max-width: 300px; padding: 24px; }
    .phone-mockup { width: 140px; height: 250px; }
    .problem-grid { grid-template-columns: 1fr; }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .features-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .nav-links { display: none; }
    .burger { display: flex; }
    .contact-wrapper { padding: 28px 20px; }
}
@media (max-width: 480px) {
    .steps { grid-template-columns: 1fr; }
    .hero h1 { font-size: 1.8rem; }
}
