/* ── Reset & Base ─────────────────────────────────────────── */
*, *::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, 'Segoe UI', sans-serif;
    color: #1a2332;
    background: #fff;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }

/* ── Layout ──────────────────────────────────────────────── */
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section-alt { background: #f6f9fb; }
.section-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 12px;
}
.section-sub {
    text-align: center;
    color: #5a6a7a;
    max-width: 640px;
    margin: 0 auto 56px;
    font-size: 1.1rem;
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
}
.btn-sm { padding: 8px 20px; font-size: 0.875rem; }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }
.btn-primary {
    background: #1ab5a3;
    color: #fff;
}
.btn-primary:hover { background: #159e8e; }
.btn-outline {
    background: transparent;
    color: #1ab5a3;
    border: 2px solid #1ab5a3;
}
.btn-outline:hover { background: #1ab5a3; color: #fff; }

/* ── Navigation ──────────────────────────────────────────── */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: box-shadow 0.3s;
}
.nav.scrolled { box-shadow: 0 1px 8px rgba(0,0,0,0.08); }
.nav-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}
.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.25rem;
}
.brand-o {
    display: inline-block;
    height: 0.65em;
    width: auto;
    vertical-align: -0.05em;
    margin-left: -0.01em;
    margin-right: -0.01em;
    object-fit: contain;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}
.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: #3a4a5a;
    transition: color 0.2s;
}
.nav-links a:hover { color: #1ab5a3; }
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #1a2332;
    transition: all 0.3s;
}
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ── Hero ────────────────────────────────────────────────── */
.hero {
    padding: 140px 0 96px;
    background: linear-gradient(165deg, #f0faf8 0%, #fff 50%, #f6f9fb 100%);
}
.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
.hero h1 {
    font-size: 2.75rem;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 20px;
    color: #0d2137;
}
.hero-sub {
    font-size: 1.15rem;
    color: #5a6a7a;
    margin-bottom: 32px;
    line-height: 1.7;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* Hero visual — revenue chart card */
.hero-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.08), 0 1px 4px rgba(0,0,0,0.04);
    padding: 28px 32px;
}
.hero-card-header {
    font-weight: 600;
    font-size: 0.85rem;
    color: #8a9aaa;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
}
.hero-bars { display: flex; flex-direction: column; gap: 14px; }
.bar-row { display: flex; align-items: center; gap: 12px; }
.bar-label {
    font-size: 0.8rem;
    font-weight: 500;
    color: #5a6a7a;
    width: 90px;
    text-align: right;
    flex-shrink: 0;
}
.bar {
    height: 28px;
    border-radius: 6px;
    position: relative;
    animation: barGrow 1.2s ease-out forwards;
    transform-origin: left;
}
@keyframes barGrow {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}

/* ── Features ────────────────────────────────────────────── */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.feature-card {
    background: #fff;
    border: 1px solid #e8eef3;
    border-radius: 12px;
    padding: 28px 24px;
    transition: box-shadow 0.2s, transform 0.2s;
}
.feature-card:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transform: translateY(-2px);
}
.feature-icon {
    width: 44px;
    height: 44px;
    background: #e6f7f5;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}
.feature-icon svg { width: 22px; height: 22px; color: #1ab5a3; }
.feature-card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
}
.feature-card p {
    font-size: 0.88rem;
    color: #5a6a7a;
    line-height: 1.6;
}

/* ── Markets ─────────────────────────────────────────────── */
.markets-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}
.market-tag {
    background: #fff;
    border: 1px solid #d8e4ec;
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #2a3a4a;
    transition: all 0.2s;
}
.market-tag:hover {
    border-color: #1ab5a3;
    color: #1ab5a3;
}
.market-tag:last-child {
    background: #1ab5a3;
    color: #fff;
    border-color: #1ab5a3;
    font-weight: 600;
}

/* ── Steps ───────────────────────────────────────────────── */
.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}
.step { text-align: center; }
.step-num {
    width: 48px;
    height: 48px;
    background: #1ab5a3;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 auto 16px;
}
.step h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
}
.step p {
    font-size: 0.88rem;
    color: #5a6a7a;
    line-height: 1.6;
}

/* ── Use Cases ───────────────────────────────────────────── */
.usecases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.usecase-card {
    background: #fff;
    border: 1px solid #e8eef3;
    border-radius: 12px;
    padding: 32px;
}
.usecase-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #1ab5a3;
}
.usecase-card p {
    font-size: 0.92rem;
    color: #5a6a7a;
    line-height: 1.7;
}

/* ── CTA ─────────────────────────────────────────────────── */
.section-cta {
    background: linear-gradient(135deg, #0d2137 0%, #163a52 100%);
    text-align: center;
    padding: 80px 0;
}
.section-cta h2 {
    color: #fff;
    font-size: 2rem;
    margin-bottom: 12px;
}
.section-cta p {
    color: #a0b8c8;
    font-size: 1.1rem;
    margin-bottom: 32px;
}

/* ── Footer ──────────────────────────────────────────────── */
.footer {
    background: #0d2137;
    padding: 32px 0;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}
.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    color: #fff;
    font-size: 1.1rem;
}
.footer-brand .brand-o {
    height: 0.65em;
}
.footer-links {
    display: flex;
    gap: 24px;
}
.footer-links a {
    font-size: 0.85rem;
    color: #8aa0b0;
    transition: color 0.2s;
}
.footer-links a:hover { color: #fff; }
.footer-copy {
    font-size: 0.8rem;
    color: #5a6a7a;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 900px) {
    .hero .container { grid-template-columns: 1fr; gap: 40px; }
    .hero h1 { font-size: 2.1rem; }
    .hero-visual { order: -1; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}

@media (max-width: 640px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: #fff;
        padding: 24px;
        box-shadow: 0 4px 16px rgba(0,0,0,0.1);
        gap: 20px;
    }
    .nav-links.open { display: flex; }
    .nav-toggle { display: flex; }
    .hero { padding: 110px 0 64px; }
    .hero h1 { font-size: 1.75rem; }
    .section { padding: 64px 0; }
    .section-title { font-size: 1.6rem; }
    .features-grid { grid-template-columns: 1fr; }
    .steps { grid-template-columns: 1fr; }
    .usecases-grid { grid-template-columns: 1fr; }
    .footer-inner { flex-direction: column; text-align: center; }
}

/* ── Contact form ─────────────────────────────────────────── */
.contact-form {
    max-width: 560px;
    margin: 32px auto 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
    text-align: left;
}
.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #d3dce4;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    color: #1a2332;
    background: #fff;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #69c7bf;
    box-shadow: 0 0 0 3px rgba(105, 199, 191, 0.2);
}
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form button { margin-top: 4px; align-self: center; }
.contact-status {
    text-align: center;
    font-size: 0.95rem;
    min-height: 1.2em;
    margin-top: 4px;
}
.contact-status.ok  { color: #1f8a73; }
.contact-status.err { color: #c0392b; }
@media (max-width: 600px) {
    .contact-form .form-row { grid-template-columns: 1fr; }
}
