:root {
    --bg: #0a0a0a; --surface: #141414; --surface2: #1c1c1c; --border: #2a2a2a;
    --text: #e8e8e8; --text-muted: #888; --accent: #25D366; --accent2: #128C7E;
    --accent-glow: rgba(37, 211, 102, 0.15);
    --font: 'DM Sans', sans-serif; --mono: 'Space Mono', monospace;
    --radius: 12px; --radius-lg: 20px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--bg); color: var(--text); line-height: 1.6; -webkit-font-smoothing: antialiased; }

/* ══ NAV ══ */
.nav-bar { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 1rem 0; transition: all 0.3s; }
.nav-bar.scrolled { background: rgba(10,10,10,0.95); backdrop-filter: blur(20px); border-bottom: 1px solid var(--border); }
.nav-inner { max-width: 1200px; margin: 0 auto; padding: 0 2rem; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.nav-logo { display: flex; align-items: center; gap: 0.5rem; text-decoration: none; color: var(--text); }
.logo-icon { font-size: 1.8rem; color: var(--accent); }
.logo-text { font-weight: 700; font-size: 1.3rem; letter-spacing: -0.5px; }
.logo-accent { color: var(--accent); }
.nav-links { display: flex; gap: 2rem; }
.nav-links a { color: var(--text-muted); text-decoration: none; font-size: 0.95rem; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }
.nav-actions { display: flex; gap: 1rem; align-items: center; }
.btn-nav-login { color: var(--text-muted); text-decoration: none; font-weight: 500; }
.btn-nav-cta { background: var(--accent); color: #000; padding: 0.6rem 1.4rem; border-radius: 8px; text-decoration: none; font-weight: 600; font-size: 0.9rem; transition: all 0.2s; display: inline-block; }
.btn-nav-cta:hover { background: #2ee374; transform: translateY(-1px); }
.nav-hamburger { display: none; background: none; border: none; color: var(--text); font-size: 1.4rem; cursor: pointer; }

/* ══ HERO ══ */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; padding: 8rem 2rem 4rem; max-width: 1200px; margin: 0 auto; gap: 4rem; }
.hero-bg { position: absolute; top: 0; left: -20%; width: 60%; height: 60%; background: radial-gradient(ellipse, var(--accent-glow) 0%, transparent 70%); pointer-events: none; z-index: 0; }
.hero-content { flex: 1; position: relative; z-index: 1; }
.hero-badge { display: inline-block; background: var(--surface2); border: 1px solid var(--border); padding: 0.4rem 1rem; border-radius: 100px; font-size: 0.85rem; margin-bottom: 1.5rem; }
.hero h1 { font-size: clamp(2rem, 5vw, 4rem); font-weight: 700; line-height: 1.1; letter-spacing: -1.5px; margin-bottom: 1.5rem; }
.hero-accent { background: linear-gradient(135deg, var(--accent), var(--accent2)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-sub { font-size: 1.15rem; color: var(--text-muted); max-width: 500px; margin-bottom: 2rem; }
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }
.btn-primary-lg { background: var(--accent); color: #000; padding: 0.9rem 2rem; border-radius: 10px; text-decoration: none; font-weight: 700; font-size: 1rem; display: inline-flex; align-items: center; gap: 0.5rem; transition: all 0.2s; border: none; cursor: pointer; }
.btn-primary-lg:hover { background: #2ee374; transform: translateY(-2px); box-shadow: 0 8px 30px var(--accent-glow); }
.btn-ghost-lg { border: 1px solid var(--border); color: var(--text); padding: 0.9rem 2rem; border-radius: 10px; text-decoration: none; font-weight: 600; transition: all 0.2s; }
.btn-ghost-lg:hover { border-color: var(--accent); color: var(--accent); }
.hero-proof { display: flex; gap: 1.5rem; align-items: center; flex-wrap: wrap; }
.proof-item { font-family: var(--mono); font-size: 0.85rem; }
.proof-item strong { color: var(--accent); font-size: 1.1rem; }
.proof-divider { width: 1px; height: 24px; background: var(--border); }
.full-width { width: 100%; }

/* Phone mockup */
.hero-visual { flex: 0 0 320px; position: relative; z-index: 1; }
.phone-mockup { background: #1a1a1a; border-radius: 32px; padding: 12px; border: 2px solid var(--border); box-shadow: 0 40px 80px rgba(0,0,0,0.5); }
.phone-screen { background: #0b141a; border-radius: 22px; overflow: hidden; }
.wa-header { background: #1f2c33; padding: 0.8rem 1rem; display: flex; align-items: center; gap: 0.8rem; }
.wa-avatar { width: 36px; height: 36px; background: var(--accent); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; color: #000; font-size: 0.8rem; }
.wa-header strong { font-size: 0.9rem; } .wa-header small { color: var(--accent); font-size: 0.7rem; }
.wa-messages { padding: 1rem; display: flex; flex-direction: column; gap: 0.5rem; min-height: 280px; }
.wa-msg { padding: 0.6rem 0.8rem; border-radius: 8px; max-width: 85%; font-size: 0.8rem; line-height: 1.4; animation: fadeInUp 0.5s both; }
.wa-incoming { background: #1f2c33; align-self: flex-start; border-bottom-left-radius: 2px; }
.wa-outgoing { background: #005c4b; align-self: flex-end; border-bottom-right-radius: 2px; }
.wa-btn-row { display: flex; gap: 0.4rem; margin-top: 0.5rem; }
.wa-reply-btn { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); padding: 0.3rem 0.6rem; border-radius: 6px; font-size: 0.7rem; color: #8ecdf7; }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* ══ SECTIONS ══ */
section { padding: 5rem 2rem; }
.section-header { text-align: center; max-width: 600px; margin: 0 auto 3rem; }
.section-header h2 { font-size: 2.2rem; font-weight: 700; letter-spacing: -1px; margin-bottom: 0.8rem; }
.section-header p { color: var(--text-muted); font-size: 1.1rem; }

/* Social proof */
.social-proof { text-align: center; padding: 3rem 2rem; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.social-label { color: var(--text-muted); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 1.5rem; }
.logo-strip { display: flex; justify-content: center; gap: 3rem; flex-wrap: wrap; opacity: 0.4; }
.logo-placeholder { font-family: var(--mono); font-size: 0.9rem; padding: 0.8rem 1.5rem; border: 1px solid var(--border); border-radius: 8px; }

/* Features */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.feature-section { max-width: 1100px; margin: 0 auto 3rem; }
.feature-section h2 { font-size: 1.5rem; margin-bottom: 1.2rem; display: flex; align-items: center; gap: 0.6rem; }
.feature-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.2rem; }
.feature-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2rem; transition: all 0.3s; }
.feature-card:hover { border-color: var(--accent); transform: translateY(-4px); box-shadow: 0 20px 40px rgba(0,0,0,0.3); }
.feature-card.featured { border-color: var(--accent); background: linear-gradient(135deg, var(--surface), rgba(37,211,102,0.05)); }
.feature-card h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.feature-card p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.6; }
.feature-card code { background: rgba(37,211,102,0.1); padding: 0.15rem 0.4rem; border-radius: 4px; font-size: 0.8rem; color: var(--accent); }
.features-hero { text-align: center; padding: 8rem 2rem 3rem; }

/* Pricing */
.pricing-section { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.pricing-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2.5rem; }
.pricing-card.featured { border-color: var(--accent); background: linear-gradient(135deg, var(--surface), rgba(37,211,102,0.03)); }
.plan-badge { display: inline-block; background: var(--surface2); border: 1px solid var(--border); padding: 0.3rem 0.8rem; border-radius: 20px; font-size: 0.8rem; font-weight: 600; margin-bottom: 0.8rem; }
.plan-price { font-size: 2.8rem; font-weight: 700; margin-bottom: 0.3rem; }
.plan-price span { font-size: 1rem; font-weight: 400; color: var(--text-muted); }
.plan-features { list-style: none; margin: 1.5rem 0; }
.plan-features li { padding: 0.5rem 0; display: flex; gap: 0.6rem; font-size: 0.9rem; }
.plan-features li i { color: var(--accent); margin-top: 0.15rem; flex-shrink: 0; }

/* How it works */
.how-it-works { max-width: 1000px; margin: 0 auto; }
.steps { display: flex; align-items: flex-start; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.step { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2rem; flex: 1; min-width: 220px; text-align: center; }
.step-number { font-family: var(--mono); font-size: 2rem; color: var(--accent); font-weight: 700; margin-bottom: 0.5rem; }
.step h3 { margin-bottom: 0.5rem; } .step p { color: var(--text-muted); font-size: 0.9rem; }
.step-arrow { color: var(--accent); font-size: 1.5rem; padding-top: 2rem; }

/* CTA */
.cta-section { text-align: center; padding: 6rem 2rem; background: linear-gradient(180deg, transparent, rgba(37,211,102,0.03)); }
.cta-inner { max-width: 600px; margin: 0 auto; }
.cta-inner h2 { font-size: 2rem; margin-bottom: 1rem; }
.cta-inner p { color: var(--text-muted); margin-bottom: 2rem; }

/* ══ FOOTER ══ */
.site-footer { border-top: 1px solid var(--border); padding: 4rem 2rem 2rem; }
.footer-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; }
.footer-tagline { color: var(--text-muted); font-size: 0.9rem; margin-top: 0.5rem; }
.footer-col h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); margin-bottom: 1rem; }
.footer-col a { display: block; color: var(--text-muted); text-decoration: none; padding: 0.3rem 0; font-size: 0.9rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { max-width: 1200px; margin: 3rem auto 0; padding-top: 2rem; border-top: 1px solid var(--border); text-align: center; color: var(--text-muted); font-size: 0.85rem; }

/* ══ SUBPAGES ══ */
.contact-section { max-width: 900px; margin: 0 auto; padding: 8rem 2rem 4rem; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.contact-info h1 { font-size: 1.8rem; margin-bottom: 1rem; }
.contact-info p { color: var(--text-muted); margin-bottom: 1.5rem; }
.contact-details { display: flex; flex-direction: column; gap: 0.8rem; }
.contact-item { display: flex; align-items: center; gap: 0.8rem; color: var(--text-muted); }
.contact-item i { color: var(--accent); width: 20px; }
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.contact-form label { font-size: 0.85rem; color: var(--text-muted); display: block; margin-bottom: 0.3rem; }
.contact-form input, .contact-form textarea, .contact-form select { width: 100%; background: var(--surface); border: 1px solid var(--border); border-radius: 8px; padding: 0.7rem; color: var(--text); font-family: var(--font); font-size: 0.9rem; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--accent); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.success-message { text-align: center; padding: 3rem; }
.success-message i { font-size: 3rem; color: var(--accent); margin-bottom: 1rem; display: block; }

.seo-hero { text-align: center; padding: 8rem 2rem 3rem; }
.seo-hero h1 { font-size: 2.5rem; margin-bottom: 0.5rem; }
.seo-content { max-width: 700px; margin: 0 auto; padding: 0 2rem 4rem; }
.seo-content h2 { font-size: 1.6rem; margin: 2rem 0 0.8rem; }
.seo-content p { color: var(--text-muted); margin-bottom: 1rem; line-height: 1.8; }

.about-hero { text-align: center; padding: 8rem 2rem 2rem; max-width: 700px; margin: 0 auto; }
.about-hero h1 { font-size: 2rem; margin-bottom: 1rem; }
.about-hero p { color: var(--text-muted); font-size: 1.1rem; }
.about-content { max-width: 900px; margin: 0 auto; padding: 2rem; }
.about-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }
.about-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2rem; }
.about-card h3 { margin-bottom: 0.5rem; }
.about-card p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.6; }

.api-content { max-width: 800px; margin: 0 auto; padding: 0 2rem; }
.api-section { margin-bottom: 3rem; }
.api-section h2 { font-size: 1.5rem; margin-bottom: 1rem; }
.code-block { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.code-header { background: var(--surface2); padding: 0.5rem 1rem; border-bottom: 1px solid var(--border); font-size: 0.8rem; color: var(--text-muted); }
.code-block pre { padding: 1.2rem; overflow-x: auto; }
.code-block code { font-family: var(--mono); font-size: 0.85rem; color: var(--accent); }
.api-table { width: 100%; border-collapse: collapse; }
.api-table th, .api-table td { padding: 0.8rem 1rem; text-align: left; border-bottom: 1px solid var(--border); }
.api-table th { color: var(--text-muted); font-size: 0.85rem; text-transform: uppercase; }
.method-post { background: var(--accent-glow); color: var(--accent); padding: 0.2rem 0.5rem; border-radius: 4px; font-family: var(--mono); font-size: 0.75rem; font-weight: 700; }
.method-get { background: rgba(52,152,219,0.15); color: #3498db; padding: 0.2rem 0.5rem; border-radius: 4px; font-family: var(--mono); font-size: 0.75rem; font-weight: 700; }

/* ══ GLOBAL FORM CONTROLS (auth pages + contact) ══ */
input[type="text"], input[type="email"], input[type="password"], input[type="number"],
input[type="url"], input[type="tel"], input[type="search"], input[type="date"],
select, textarea {
    background: var(--surface); border: 1px solid var(--border); border-radius: 8px;
    padding: 0.65rem 0.85rem; color: var(--text); font-family: var(--font); font-size: 0.9rem;
    transition: border-color 0.2s, box-shadow 0.2s; width: 100%; box-sizing: border-box;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(37,211,102,0.12); }
input::placeholder, textarea::placeholder { color: var(--text-muted); opacity: 0.5; }
label { display: block; font-size: 0.85rem; color: var(--text-muted); margin-bottom: 0.3rem; font-weight: 500; }

/* ══ AUTH PAGES (Login, Register, Forgot Password) ══ */
.auth-section { display: flex; align-items: center; justify-content: center; min-height: calc(100vh - 200px); padding: 6rem 2rem 4rem; }
.auth-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2.5rem; width: 100%; max-width: 440px; }
.auth-header { margin-bottom: 2rem; }
.auth-header h1 { font-size: 1.8rem; font-weight: 700; margin-bottom: 0.4rem; }
.auth-header p { color: var(--text-muted); font-size: 0.95rem; }
.auth-form { display: flex; flex-direction: column; gap: 1.2rem; }
.auth-form .form-group { display: flex; flex-direction: column; gap: 0.3rem; }
.auth-footer { margin-top: 1.5rem; text-align: center; color: var(--text-muted); font-size: 0.9rem; }
.auth-footer a { color: var(--accent); text-decoration: none; font-weight: 500; }
.auth-footer a:hover { text-decoration: underline; }
.full-width { width: 100%; }
.alert-error { background: rgba(231,76,60,0.1); border: 1px solid rgba(231,76,60,0.3); color: #e74c3c; padding: 0.8rem 1rem; border-radius: 8px; font-size: 0.9rem; display: flex; align-items: center; gap: 0.5rem; margin-bottom: 1rem; }

/* ══ PRICING BUTTONS & FAQ ══ */
.btn-plan { display: block; text-align: center; padding: 0.8rem 1.5rem; border-radius: 10px; text-decoration: none; font-weight: 600; font-size: 0.95rem; transition: all 0.2s; border: 2px solid var(--accent); color: var(--accent); margin-top: 1.5rem; }
.btn-plan:hover { background: var(--accent); color: #000; }
.btn-plan-featured { background: var(--accent); color: #000; border-color: var(--accent); }
.btn-plan-featured:hover { background: #2ee374; }
.pricing-section h2 { text-align: center; }
.pricing-faq { max-width: 700px; margin: 3rem auto 0; padding: 0 1.5rem; }
.pricing-faq h2 { text-align: left; font-size: 1.5rem; margin-bottom: 1.5rem; }
.pricing-faq dt { font-weight: 600; font-size: 1rem; margin-bottom: 0.3rem; margin-top: 1.2rem; }
.pricing-faq dd { color: var(--text-muted); font-size: 0.9rem; line-height: 1.7; margin-left: 0; }
.faq-grid { display: grid; gap: 0; }
.faq-item { padding: 1.2rem 0; border-bottom: 1px solid var(--border); }
.faq-item:last-child { border-bottom: none; }
.faq-item h4 { font-size: 1rem; font-weight: 600; margin-bottom: 0.4rem; }
.faq-item p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.7; }

/* ═══════════════════════════════════
   RESPONSIVE — ONE CLEAN BLOCK
   ═══════════════════════════════════ */
@media (max-width: 768px) {
    .nav-links, .nav-actions { display: none; }
    .nav-hamburger { display: block; }
    .nav-links.open, .nav-actions.open { display: flex; flex-direction: column; width: 100%; background: var(--surface); padding: 0.8rem 2rem; gap: 0.6rem; border-bottom: 1px solid var(--border); }
    .nav-actions.open { padding-top: 0; border-bottom: none; }
    .nav-actions.open .btn-nav-cta, .nav-actions.open .btn-nav-login { width: 100%; text-align: center; padding: 0.7rem; }

    .hero { flex-direction: column; padding: 5rem 1.2rem 2rem; min-height: auto; gap: 2rem; }
    .hero h1 { font-size: 1.8rem; }
    .hero-visual { flex: none; width: 100%; max-width: 280px; }
    .hero-cta { flex-direction: column; }
    .hero-cta a { width: 100%; text-align: center; }

    section { padding: 3rem 1.2rem; }
    .features-hero, .seo-hero, .about-hero { padding: 5rem 1.2rem 2rem; }
    .features-hero h1, .seo-hero h1 { font-size: 1.5rem; }
    .about-hero h1 { font-size: 1.4rem; }
    .contact-section { padding: 5rem 1.2rem 2rem; }

    .feature-cards, .about-grid, .pricing-grid, .contact-grid, .form-row { grid-template-columns: 1fr !important; }
    .footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .steps { flex-direction: column; }
    .step-arrow { display: none; }

    .feature-card, .about-card, .pricing-card { padding: 1.5rem; }
    .feature-card:hover { transform: none; }
    .plan-price { font-size: 2.2rem; }
    .cta-section { padding: 3rem 1.2rem; }
    .cta-inner h2 { font-size: 1.4rem; }
    .seo-content { padding: 0 1.2rem 2rem; }
    table { display: block; overflow-x: auto; }
    .logo-strip { gap: 0.8rem; }
    .logo-placeholder { font-size: 0.8rem; padding: 0.5rem 0.8rem; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 1.4rem; }
    .nav-inner { padding: 0 1rem; }
    .footer-inner { grid-template-columns: 1fr; }
    .btn-primary-lg { padding: 0.7rem 1.2rem; font-size: 0.9rem; }
    .plan-price { font-size: 1.8rem; }
}
