/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --bg: #0a0a0b;
    --bg-card: #141416;
    --bg-card-hover: #1a1a1e;
    --border: #2a2a2e;
    --text: #e8e8ed;
    --text-muted: #8a8a95;
    --accent: #6c5ce7;
    --accent-light: #a29bfe;
    --accent-glow: rgba(108, 92, 231, 0.15);
    --green: #00b894;
    --radius: 12px;
    --radius-lg: 20px;
}

html { scroll-behavior: smooth; }

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

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

h1, h2, h3 { line-height: 1.2; font-weight: 700; }
h2 { font-size: 2.2rem; margin-bottom: 0.5rem; }

.section-sub {
    color: var(--text-muted);
    font-size: 1.15rem;
    margin-bottom: 3rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.75rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    background: var(--accent);
    color: white;
}
.btn:hover { background: #5b4bd5; transform: translateY(-1px); }
.btn-outline { background: transparent; border: 1.5px solid var(--border); color: var(--text); }
.btn-outline:hover { border-color: var(--accent); background: var(--accent-glow); }
.btn-sm { padding: 0.5rem 1.25rem; font-size: 0.85rem; }
.btn-lg { padding: 0.9rem 2rem; font-size: 1.05rem; }

/* Nav */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(10, 10, 11, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}
.logo {
    font-size: 1.4rem;
    font-weight: 800;
    text-decoration: none;
    color: var(--text);
}
.logo span { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a { text-decoration: none; color: var(--text-muted); font-size: 0.9rem; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }
.mobile-menu { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; }
.mobile-menu span { display: block; width: 22px; height: 2px; background: var(--text); margin: 5px 0; transition: 0.3s; }

/* Hero */
.hero {
    padding: 8rem 0 5rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
}
.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.badge {
    display: inline-block;
    padding: 0.35rem 1rem;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    background: var(--accent-glow);
    color: var(--accent-light);
    border: 1px solid rgba(108, 92, 231, 0.3);
    margin-bottom: 1.5rem;
}
.hero h1 {
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}
.highlight {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-sub {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 520px;
}
.hero-actions { display: flex; gap: 1rem; margin-bottom: 3rem; }
.social-proof { display: flex; gap: 2rem; align-items: center; }
.proof-item strong { display: block; font-size: 1.5rem; color: var(--accent-light); }
.proof-item span { font-size: 0.8rem; color: var(--text-muted); }
.proof-divider { width: 1px; height: 40px; background: var(--border); }

/* Phone Mockup */
.phone-mockup {
    width: 320px;
    margin: 0 auto;
    background: #1a1a1e;
    border-radius: 32px;
    border: 2px solid var(--border);
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0,0,0,0.5), 0 0 60px var(--accent-glow);
}
.phone-notch {
    width: 120px;
    height: 24px;
    background: var(--bg);
    margin: 0 auto;
    border-radius: 0 0 16px 16px;
}
.chat-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: #111114;
    border-bottom: 1px solid var(--border);
}
.chat-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}
.chat-name { font-size: 0.85rem; font-weight: 600; }
.chat-status { font-size: 0.7rem; color: var(--green); }
.chat-body { padding: 1rem; display: flex; flex-direction: column; gap: 0.5rem; min-height: 300px; }
.msg {
    max-width: 85%;
    padding: 0.6rem 0.9rem;
    border-radius: 12px;
    font-size: 0.8rem;
    line-height: 1.5;
    animation: fadeIn 0.5s ease;
}
.msg-in {
    background: #2a2a2e;
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}
.msg-out {
    background: var(--accent);
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}
.msg-typing {
    align-self: flex-end;
    background: var(--accent);
    padding: 0.8rem 1.2rem;
    border-radius: 12px;
    border-bottom-right-radius: 4px;
    display: flex;
    gap: 4px;
}
.dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,0.6);
    animation: bounce 1.4s infinite;
}
.dot:nth-child(2) { animation-delay: 0.2s; }
.dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes bounce {
    0%, 60%, 100% { transform: translateY(0); }
    30% { transform: translateY(-6px); }
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Problem */
.problem {
    padding: 5rem 0;
    border-top: 1px solid var(--border);
}
.problem h2 { text-align: center; margin-bottom: 3rem; }
.problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.problem-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
    transition: border-color 0.2s;
}
.problem-card:hover { border-color: var(--accent); }
.problem-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.problem-card h3 { margin-bottom: 0.5rem; }
.problem-card p { color: var(--text-muted); font-size: 0.9rem; }

/* How It Works */
.how-it-works {
    padding: 5rem 0;
    border-top: 1px solid var(--border);
}
.how-it-works h2 { text-align: center; }
.how-it-works .section-sub { text-align: center; }
.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}
.step {
    text-align: center;
    padding: 2rem 1.5rem;
}
.step-num {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--accent-glow);
    border: 2px solid var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--accent-light);
    margin: 0 auto 1.25rem;
}
.step h3 { font-size: 1rem; margin-bottom: 0.75rem; }
.step p { color: var(--text-muted); font-size: 0.85rem; }

/* Features */
.features {
    padding: 5rem 0;
    border-top: 1px solid var(--border);
}
.features h2 { text-align: center; margin-bottom: 3rem; }
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    transition: all 0.2s;
}
.feature-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.feature-card h3 { font-size: 1rem; margin-bottom: 0.5rem; }
.feature-card p { color: var(--text-muted); font-size: 0.9rem; }

/* Industries */
.industries {
    padding: 5rem 0;
    border-top: 1px solid var(--border);
}
.industries h2 { text-align: center; margin-bottom: 3rem; }
.industry-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.industry-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.75rem;
    text-align: center;
    transition: border-color 0.2s;
}
.industry-card:hover { border-color: var(--accent); }
.industry-card h3 { font-size: 1rem; margin-bottom: 0.5rem; color: var(--accent-light); }
.industry-card p { color: var(--text-muted); font-size: 0.85rem; }

/* Pricing */
.pricing {
    padding: 5rem 0;
    border-top: 1px solid var(--border);
}
.pricing h2 { text-align: center; }
.pricing .section-sub { text-align: center; }
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}
.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
}
.pricing-card.featured {
    border-color: var(--accent);
    box-shadow: 0 0 40px var(--accent-glow);
    position: relative;
}
.pricing-label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-light);
    margin-bottom: 0.75rem;
}
.pricing-amount {
    font-size: 2.5rem;
    font-weight: 800;
}
.pricing-amount span { font-size: 1rem; color: var(--text-muted); font-weight: 500; }
.pricing-desc { color: var(--text-muted); margin-bottom: 1.5rem; font-size: 0.9rem; }
.pricing-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.pricing-features li {
    font-size: 0.9rem;
    color: var(--text-muted);
    padding-left: 1.5rem;
    position: relative;
}
.pricing-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--green);
    font-weight: 700;
}
.pricing-note {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 2rem;
}

/* CTA / Contact */
.cta {
    padding: 5rem 0;
    border-top: 1px solid var(--border);
}
.cta h2 { text-align: center; }
.cta .section-sub { text-align: center; }
.cta-form-wrapper {
    max-width: 600px;
    margin: 0 auto;
}
.cta-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.cta-form input,
.cta-form select,
.cta-form textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text);
    font-family: inherit;
    font-size: 0.9rem;
    transition: border-color 0.2s;
}
.cta-form input:focus,
.cta-form select:focus,
.cta-form textarea:focus {
    outline: none;
    border-color: var(--accent);
}
.cta-form select { cursor: pointer; }
.cta-form select option { background: var(--bg-card); }

/* Footer */
.footer {
    border-top: 1px solid var(--border);
    padding: 3rem 0 1.5rem;
}
.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
}
.footer-brand p { color: var(--text-muted); font-size: 0.85rem; margin-top: 0.5rem; }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { text-decoration: none; color: var(--text-muted); font-size: 0.85rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--text); }
.footer-contact p { color: var(--text-muted); font-size: 0.85rem; }
.copyright { text-align: center; color: var(--text-muted); font-size: 0.75rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }

/* Mobile */
@media (max-width: 768px) {
    .hero .container { grid-template-columns: 1fr; text-align: center; }
    .hero h1 { font-size: 2.2rem; }
    .hero-sub { margin: 0 auto 2rem; }
    .hero-actions { justify-content: center; flex-wrap: wrap; }
    .social-proof { justify-content: center; }
    .hero-visual { order: -1; }
    .phone-mockup { width: 280px; }
    .problem-grid,
    .feature-grid,
    .industry-grid { grid-template-columns: 1fr; }
    .steps { grid-template-columns: 1fr 1fr; }
    .pricing-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .nav-links { display: none; }
    .mobile-menu { display: block; }
    .footer-inner { flex-direction: column; gap: 1.5rem; }
    h2 { font-size: 1.7rem; }
}
