:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --dark: #0f172a;
    --dark-soft: #1e293b;
    --gray: #64748b;
    --gray-light: #94a3b8;
    --bg-light: #f8fafc;
    --bg-card: #ffffff;
    --success: #10b981;
    --border: #e2e8f0;
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --radius: 8px;
    --radius-lg: 12px;
    --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

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

body {
    font-family: var(--font);
    color: var(--dark-soft);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

/* ── Navbar ── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(12px);
    z-index: 100;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon { font-size: 1.5rem; }

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-links a {
    color: var(--gray-light);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s;
}

.nav-links a:hover { color: #fff; }

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
}

.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); }

.btn-outline {
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    background: transparent;
}

.btn-outline:hover { background: rgba(255, 255, 255, 0.1); }

.btn-ghost { color: rgba(255, 255, 255, 0.9); background: transparent; }
.btn-ghost:hover { color: #fff; }

.btn-lg { padding: 0.75rem 1.5rem; font-size: 1rem; }

/* ── Hero ── */
.hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #1d4ed8 100%);
    color: #fff;
    padding: 8rem 0 5rem;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-content {
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 0.375rem 1rem;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: 3.25rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 1.25rem;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 540px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    justify-content: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat { display: flex; flex-direction: column; gap: 0.25rem; }
.stat-number { font-size: 1.5rem; font-weight: 700; }
.stat-label { font-size: 0.8125rem; color: rgba(255, 255, 255, 0.5); }

/* ── Trusted by ── */
.trusted-by {
    padding: 3rem 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
}

.trusted-label {
    text-align: center;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--gray-light);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
}

.logo-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.client-logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-light);
    letter-spacing: -0.01em;
    opacity: 0.6;
    transition: opacity 0.2s;
}

.client-logo:hover { opacity: 1; }

/* ── Section header ── */
.section-header {
    text-align: center;
    max-width: 540px;
    margin: 0 auto 3rem;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
    color: var(--dark);
}

.section-header p {
    color: var(--gray);
    font-size: 1.0625rem;
}

/* ── Features ── */
.features {
    padding: 5rem 0;
    background: var(--bg-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.feature-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.feature-icon { font-size: 1.75rem; margin-bottom: 0.75rem; }

.feature-card h3 {
    font-size: 1.0625rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.feature-card p {
    font-size: 0.9375rem;
    color: var(--gray);
    line-height: 1.6;
}

/* ── Dashboard preview ── */
.dashboard-section { padding: 5rem 0; }

.dashboard-preview {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.dashboard-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.dashboard-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.dashboard-card-header h4 {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.badge {
    font-size: 0.6875rem;
    padding: 0.125rem 0.5rem;
    border-radius: 50px;
    font-weight: 500;
}

.badge-green { background: #dcfce7; color: #166534; }

.dashboard-metric {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.25rem;
}

.dashboard-trend { font-size: 0.8125rem; font-weight: 500; }
.dashboard-trend.positive { color: var(--success); }

.mini-chart {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 40px;
    margin-top: 0.75rem;
}

.mini-chart .bar {
    flex: 1;
    background: var(--border);
    border-radius: 2px;
    transition: background 0.2s;
}

.mini-chart .bar.active { background: var(--primary); }

/* ── Testimonials ── */
.testimonials {
    padding: 5rem 0;
    background: var(--bg-light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.testimonial-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.stars {
    color: #f59e0b;
    font-size: 1rem;
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: 0.9375rem;
    color: var(--dark-soft);
    line-height: 1.7;
    flex: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border);
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), #7c3aed);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    flex-shrink: 0;
}

.author-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--dark);
}

.author-title {
    font-size: 0.8125rem;
    color: var(--gray);
}

/* ── CTA ── */
.cta-section {
    padding: 5rem 0;
    background: var(--dark);
    color: #fff;
}

.cta-content {
    text-align: center;
    max-width: 480px;
}

.cta-content h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 2rem;
}

/* ── Footer ── */
.footer {
    padding: 3.5rem 0 0;
    border-top: 1px solid var(--border);
    background: var(--bg-light);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(4, 1fr);
    gap: 2rem;
    padding-bottom: 2.5rem;
}

.footer-brand { max-width: 220px; }

.footer-logo {
    color: var(--dark) !important;
    margin-bottom: 0.75rem;
}

.footer-tagline {
    font-size: 0.875rem;
    color: var(--gray);
    line-height: 1.6;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-col h5 {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--dark);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.footer-col a {
    color: var(--gray);
    text-decoration: none;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-col a:hover { color: var(--dark-soft); }

.badge-blue {
    background: #dbeafe;
    color: #1d4ed8;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 0;
    border-top: 1px solid var(--border);
}

.footer-copy {
    color: var(--gray);
    font-size: 0.8125rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    color: var(--gray);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
}

.footer-social a:hover { color: var(--dark-soft); }

/* ── Responsive ── */
@media (max-width: 768px) {
    .nav-links { display: none; }

    .hero { padding: 6rem 0 3rem; min-height: auto; }
    .hero h1 { font-size: 2.25rem; }

    .hero-stats { gap: 1.5rem; flex-wrap: wrap; }

    .logo-bar { gap: 1.5rem; }

    .features-grid { grid-template-columns: 1fr; }

    .dashboard-preview { grid-template-columns: repeat(2, 1fr); }

    .testimonials-grid { grid-template-columns: 1fr; }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .footer-brand { grid-column: 1 / -1; max-width: none; }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .dashboard-preview { grid-template-columns: 1fr; }
    .hero-cta { flex-direction: column; align-items: center; }
    .footer-grid { grid-template-columns: 1fr; }
}
