/* ═════════════════════════════════════════════════════════════════════════
   ALOL Instruments — marketing site
   Light theme, teal/cyan accents. Tailwind does the heavy lifting; this
   file adds brand-specific primitives (typography, hero gradient, product
   card hover, section rhythm).
   ═════════════════════════════════════════════════════════════════════════ */

:root {
    --alol-teal:      #16A085;
    --alol-teal-dark: #0E6A5A;
    --alol-cyan:      #2AA8D0;
    --alol-navy:      #0D2240;
    --alol-ink:       #0F1A2E;
    --alol-ink-soft:  #4A5E78;
    --alol-line:      #E2E8F0;
    --alol-bg:        #F7FAFC;
    --alol-bg-soft:   #EDF3F7;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--alol-ink);
    background: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, .display {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    letter-spacing: -0.02em;
}

/* ── Navigation ─────────────────────────────────────────────────────────── */
.nav-link {
    color: var(--alol-ink-soft);
    font-weight: 500;
    font-size: 0.92rem;
    padding: 0.5rem 0.9rem;
    border-radius: 6px;
    transition: all 0.15s ease;
}
.nav-link:hover { color: var(--alol-teal); background: var(--alol-bg-soft); }
.nav-link.active { color: var(--alol-teal); }

.btn-primary {
    background: var(--alol-teal);
    color: #fff;
    padding: 0.65rem 1.4rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.92rem;
    transition: all 0.15s ease;
    box-shadow: 0 2px 8px rgba(22,160,133,0.2);
    display: inline-block;
}
.btn-primary:hover {
    background: var(--alol-teal-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(22,160,133,0.3);
    color: #fff;
    text-decoration: none;
}

.btn-outline {
    border: 1.5px solid var(--alol-teal);
    color: var(--alol-teal);
    padding: 0.6rem 1.3rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.92rem;
    transition: all 0.15s ease;
    display: inline-block;
    background: #fff;
}
.btn-outline:hover {
    background: var(--alol-teal);
    color: #fff;
    text-decoration: none;
}

/* ── Hero gradient ──────────────────────────────────────────────────────── */
.hero {
    background:
        radial-gradient(1200px 500px at 85% -10%, rgba(42,168,208,0.15), transparent 60%),
        radial-gradient(800px 400px at 15% 110%, rgba(22,160,133,0.12), transparent 60%),
        linear-gradient(180deg, #F7FAFC 0%, #ffffff 100%);
    padding: 5rem 0 6rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--alol-cyan), transparent);
    opacity: 0.4;
}

.eyebrow {
    display: inline-block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--alol-teal);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.35rem 0.9rem;
    background: rgba(22,160,133,0.08);
    border-radius: 20px;
    margin-bottom: 1.2rem;
}

/* ── Section ────────────────────────────────────────────────────────────── */
.section { padding: 4.5rem 0; }
.section-alt { background: var(--alol-bg); }

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--alol-ink);
}
.section-sub {
    color: var(--alol-ink-soft);
    font-size: 1.05rem;
    max-width: 640px;
    margin: 0 auto 3rem;
    text-align: center;
}

/* ── Product card ───────────────────────────────────────────────────────── */
.product-card {
    background: #fff;
    border: 1px solid var(--alol-line);
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.25s ease;
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}
.product-card:hover {
    border-color: var(--alol-cyan);
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(15,26,46,0.08);
    text-decoration: none;
    color: inherit;
}
.product-card__image {
    background: linear-gradient(135deg, var(--alol-bg-soft) 0%, #fff 100%);
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--alol-teal);
    border-bottom: 1px solid var(--alol-line);
}
.product-card__body { padding: 1.25rem 1.4rem 1.5rem; }
.product-card__category {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--alol-cyan);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.35rem;
}
.product-card__title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
    color: var(--alol-ink);
}
.product-card__desc {
    color: var(--alol-ink-soft);
    font-size: 0.88rem;
    line-height: 1.55;
}

/* ── Feature tile ──────────────────────────────────────────────────────── */
.feature-tile {
    padding: 1.5rem;
    border-radius: 12px;
    background: #fff;
    border: 1px solid var(--alol-line);
    height: 100%;
}
.feature-tile__icon {
    width: 48px; height: 48px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--alol-teal) 0%, var(--alol-cyan) 100%);
    color: #fff;
    font-size: 1.3rem;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1rem;
}
.feature-tile__title {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 0.4rem;
    color: var(--alol-ink);
}
.feature-tile__desc { color: var(--alol-ink-soft); font-size: 0.9rem; line-height: 1.55; }

/* ── Trust strip ──────────────────────────────────────────────────────── */
.trust-strip {
    background: var(--alol-ink);
    color: rgba(255,255,255,0.75);
    padding: 2.5rem 0;
}
.trust-stat { text-align: center; }
.trust-stat__num {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: #fff;
    display: block;
}
.trust-stat__label {
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.7;
}

/* ── Footer ────────────────────────────────────────────────────────────── */
footer {
    background: var(--alol-ink);
    color: rgba(255,255,255,0.65);
    padding: 3.5rem 0 1.5rem;
}
footer h5 {
    color: #fff;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}
footer a { color: rgba(255,255,255,0.65); text-decoration: none; font-size: 0.9rem; }
footer a:hover { color: var(--alol-cyan); }

.copyright {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    font-size: 0.82rem;
    opacity: 0.5;
    text-align: center;
}

/* ── Downloads gate ────────────────────────────────────────────────────── */
.gate-card {
    max-width: 480px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid var(--alol-line);
    border-radius: 14px;
    padding: 2.5rem;
    box-shadow: 0 4px 24px rgba(15,26,46,0.04);
}
.gate-input {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1.5px solid var(--alol-line);
    border-radius: 8px;
    font-size: 1rem;
    font-family: monospace;
    letter-spacing: 0.1em;
    transition: border-color 0.15s;
}
.gate-input:focus {
    outline: none;
    border-color: var(--alol-cyan);
    box-shadow: 0 0 0 3px rgba(42,168,208,0.1);
}
.gate-error { color: #C0392B; font-size: 0.85rem; margin-top: 0.5rem; }

.download-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: #fff;
    border: 1px solid var(--alol-line);
    border-radius: 10px;
    margin-bottom: 0.75rem;
}
.download-row__meta { flex: 1; }
.download-row__title {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    color: var(--alol-ink);
}
.download-row__sub { font-size: 0.82rem; color: var(--alol-ink-soft); }
