/* ============================================
   CHATBOT PRO - LANDING PAGE
   ============================================ */

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --orange: #e85d04;
    --orange-dark: #c44d03;
    --bg: #09090b;
    --bg2: #111113;
    --bg3: #1a1a1d;
    --text: #e4e4e7;
    --text2: #a1a1aa;
    --border: #27272a;
    --radius: 12px;
}

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Inter, Roboto, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* --- NAV --- */
.nav {
    position: fixed; top: 0; left: 0; right: 0;
    z-index: 100;
    background: rgba(9,9,11,0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
}
.nav-inner {
    max-width: 1100px; margin: 0 auto;
    padding: 0 24px; height: 64px;
    display: flex; align-items: center; justify-content: space-between;
}
.logo {
    font-size: 1.3rem; font-weight: 700;
    color: var(--text); text-decoration: none;
}
.logo span { color: var(--orange); }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--text2); text-decoration: none; font-size: 0.9rem; transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }
.btn-nav {
    background: var(--orange) !important; color: #fff !important;
    padding: 8px 18px; border-radius: 8px; font-weight: 600;
}
.btn-nav:hover { background: var(--orange-dark) !important; }
.menu-toggle { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 4px; }
.menu-toggle span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: 0.3s; }
.menu-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* --- HERO --- */
.hero {
    text-align: center;
    padding: 140px 24px 80px;
    max-width: 800px; margin: 0 auto;
}
.hero-badge {
    display: inline-block; padding: 6px 16px;
    background: rgba(232,93,4,0.12); color: var(--orange);
    border: 1px solid rgba(232,93,4,0.25); border-radius: 20px;
    font-size: 0.85rem; font-weight: 500; margin-bottom: 24px;
}
.hero h1 {
    font-size: 3.2rem; font-weight: 800;
    line-height: 1.15; margin-bottom: 20px;
    letter-spacing: -0.02em;
}
.gradient-text {
    background: linear-gradient(135deg, var(--orange), #ff8a3d);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-sub {
    font-size: 1.15rem; color: var(--text2);
    max-width: 600px; margin: 0 auto 32px;
    line-height: 1.7;
}
.hero-btns { display: flex; gap: 12px; justify-content: center; margin-bottom: 48px; }

.btn {
    display: inline-block; padding: 12px 28px; border-radius: 10px;
    font-size: 0.95rem; font-weight: 600; text-decoration: none;
    transition: all 0.2s; cursor: pointer; border: none;
}
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-dark); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--border); }
.btn-ghost:hover { border-color: var(--text2); background: rgba(255,255,255,0.04); }
.btn-full { width: 100%; text-align: center; }

.hero-stats {
    display: flex; align-items: center; justify-content: center; gap: 32px;
    padding: 24px; background: var(--bg2); border: 1px solid var(--border);
    border-radius: var(--radius);
}
.stat { text-align: center; }
.stat strong { display: block; font-size: 1.6rem; color: var(--orange); }
.stat span { font-size: 0.8rem; color: var(--text2); }
.stat-sep { width: 1px; height: 40px; background: var(--border); }

/* --- SECTIONS --- */
.section { padding: 80px 24px; }
.section-dark { background: var(--bg2); }
.container { max-width: 1100px; margin: 0 auto; }
.container-sm { max-width: 640px; margin: 0 auto; }
.section-label {
    display: inline-block; padding: 4px 14px;
    background: rgba(232,93,4,0.1); color: var(--orange);
    border-radius: 6px; font-size: 0.8rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 16px;
}
.section h2 {
    font-size: 2.2rem; font-weight: 700;
    line-height: 1.25; margin-bottom: 40px;
}
.text-orange { color: var(--orange); }

/* --- METIERS --- */
.metiers-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.metier-card {
    background: var(--bg2); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 20px; text-align: center;
    transition: border-color 0.2s;
}
.metier-card:hover { border-color: rgba(232,93,4,0.4); }
.metier-icon { font-size: 1.8rem; margin-bottom: 8px; }
.metier-card h3 { font-size: 0.95rem; margin-bottom: 4px; }
.metier-card p { color: var(--text2); font-size: 0.8rem; line-height: 1.4; }

/* --- PROBLEMES --- */
.problems-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.problem-card {
    background: var(--bg); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 28px;
}
.problem-icon { font-size: 2rem; margin-bottom: 12px; }
.problem-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.problem-card p { color: var(--text2); font-size: 0.9rem; line-height: 1.6; }

/* --- FEATURES --- */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card {
    background: var(--bg2); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 28px;
    transition: border-color 0.2s;
}
.feature-card:hover { border-color: rgba(232,93,4,0.4); }
.feature-num {
    color: var(--orange); font-size: 0.85rem; font-weight: 700;
    margin-bottom: 12px; opacity: 0.7;
}
.feature-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.feature-card p { color: var(--text2); font-size: 0.9rem; line-height: 1.6; }

/* --- DEMO --- */
.demo-sub {
    color: var(--text2); font-size: 1.05rem;
    max-width: 650px; margin-bottom: 24px; line-height: 1.7;
}
.demo-examples { display: flex; flex-wrap: wrap; gap: 10px; }
.demo-tag {
    padding: 8px 16px; background: var(--bg);
    border: 1px solid var(--border); border-radius: 20px;
    font-size: 0.85rem; color: var(--text2);
}

/* --- STEPS --- */
.steps-grid {
    display: flex; align-items: center; justify-content: center; gap: 20px;
}
.step-card {
    flex: 1; background: var(--bg2); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 28px; text-align: center;
}
.step-num {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: 50%;
    background: var(--orange); color: #fff;
    font-weight: 700; font-size: 1.1rem; margin-bottom: 14px;
}
.step-card h3 { font-size: 1rem; margin-bottom: 8px; }
.step-card p { color: var(--text2); font-size: 0.85rem; line-height: 1.5; }
.step-arrow { font-size: 1.5rem; color: var(--orange); }

/* --- PRICING --- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.price-card {
    background: var(--bg); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 32px;
    position: relative;
}
.price-card-pop {
    border-color: var(--orange);
    box-shadow: 0 0 40px rgba(232,93,4,0.1);
}
.price-pop-label {
    position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
    background: var(--orange); color: #fff;
    padding: 4px 16px; border-radius: 20px;
    font-size: 0.75rem; font-weight: 600; text-transform: uppercase;
}
.price-badge {
    font-size: 0.85rem; font-weight: 600; color: var(--text2);
    text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 12px;
}
.price-amount {
    font-size: 2.8rem; font-weight: 800; margin-bottom: 4px;
}
.price-currency { font-size: 1rem; color: var(--text2); font-weight: 500; }
.price-desc { color: var(--text2); font-size: 0.85rem; margin-bottom: 24px; }
.price-features { list-style: none; margin-bottom: 28px; }
.price-features li {
    padding: 8px 0; color: var(--text2); font-size: 0.9rem;
    border-bottom: 1px solid var(--border);
}
.price-features li::before {
    content: "\2713"; color: var(--orange); font-weight: 700;
    margin-right: 10px;
}

/* --- CONTACT --- */
.contact-sub { color: var(--text2); margin-bottom: 32px; font-size: 1.05rem; }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 0.85rem; color: var(--text2); font-weight: 500; }
.form-group input,
.form-group textarea {
    background: var(--bg2); border: 1px solid var(--border);
    border-radius: 8px; padding: 12px 14px;
    color: var(--text); font-size: 0.95rem;
    font-family: inherit; resize: vertical;
    transition: border-color 0.2s;
}
.form-group select {
    background: var(--bg2); border: 1px solid var(--border);
    border-radius: 8px; padding: 12px 14px;
    color: var(--text); font-size: 0.95rem;
    font-family: inherit; cursor: pointer;
    transition: border-color 0.2s;
    appearance: auto;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none; border-color: var(--orange);
}

/* --- FOOTER --- */
.footer {
    border-top: 1px solid var(--border);
    padding: 24px;
}
.footer-inner {
    max-width: 1100px; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between;
}
.footer-text { color: var(--text2); font-size: 0.85rem; }

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .hero h1 { font-size: 2rem; }
    .hero { padding: 120px 20px 60px; }
    .hero-stats { flex-direction: column; gap: 16px; }
    .stat-sep { width: 40px; height: 1px; }
    .metiers-grid { grid-template-columns: repeat(2, 1fr); }
    .problems-grid,
    .features-grid,
    .pricing-grid { grid-template-columns: 1fr; }
    .steps-grid { flex-direction: column; }
    .step-arrow { transform: rotate(90deg); }
    .section h2 { font-size: 1.6rem; }
    .form-row { grid-template-columns: 1fr; }

    .nav-links {
        display: none; position: absolute; top: 64px; left: 0; right: 0;
        background: rgba(9,9,11,0.95); backdrop-filter: blur(16px);
        flex-direction: column; padding: 20px; gap: 16px;
        border-bottom: 1px solid var(--border);
    }
    .nav-links.open { display: flex; }
    .menu-toggle { display: flex; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 1.7rem; }
    .section { padding: 60px 16px; }
}
