/* Intrect site shared styles — minimal xfer-inspired layout */

* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
    --bg: #0a0a0e;
    --bg-card: #14141a;
    --bg-elev: #18181f;
    --border: #1f1f28;
    --border-hover: #2d2d3a;
    --text: #e8e8ec;
    --text-mute: #8a8a96;
    --text-faint: #5a5a66;
    --accent: #64b5f6;
    --accent-2: #4dd0e1;
    --danger: #f87171;
    --good: #34d399;
}
html, body { height: 100%; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg); color: var(--text);
    min-height: 100vh; overflow-x: hidden;
    display: flex; flex-direction: column;
    -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }
code, pre, .mono { font-family: 'JetBrains Mono', monospace; }

/* Navigation */
nav.top {
    position: sticky; top: 0; z-index: 100;
    display: flex; align-items: center; justify-content: space-between;
    padding: 18px 48px;
    background: rgba(10, 10, 14, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}
.nav-brand {
    font-size: 14px; font-weight: 700;
    letter-spacing: 5px; text-transform: uppercase;
    color: var(--text);
}
.nav-links { display: flex; gap: 36px; align-items: center; }
.nav-links a {
    font-size: 13px; font-weight: 500;
    color: var(--text-mute); transition: color 0.15s;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links .nav-cta { color: var(--text); font-weight: 600; }

/* Footer */
footer.bottom {
    margin-top: auto;
    border-top: 1px solid var(--border);
    padding: 32px 48px;
}
.foot-grid {
    max-width: 1280px; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 16px;
}
.foot-grid .foot-brand {
    font-size: 12px; font-weight: 700;
    letter-spacing: 4px; text-transform: uppercase;
    color: var(--text);
}
.foot-grid .foot-links { display: flex; gap: 24px; flex-wrap: wrap; }
.foot-grid .foot-links a {
    font-size: 12px; color: var(--text-mute);
    transition: color 0.15s;
}
.foot-grid .foot-links a:hover { color: var(--text); }
.foot-grid .foot-copy { font-size: 12px; color: var(--text-faint); }

/* === Product detail page === */
.product-hero {
    max-width: 1200px;
    margin: 0 auto;
    padding: 64px 48px 48px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
}
.powered-badge {
    display: inline-block;
    padding: 5px 14px;
    background: rgba(100, 181, 246, 0.08);
    border: 1px solid rgba(100, 181, 246, 0.2);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--text-mute);
    margin-bottom: 16px;
}
.powered-badge strong {
    color: var(--accent);
    font-weight: 700;
    letter-spacing: 0.5px;
}

.product-hero .breadcrumb {
    font-size: 12px; color: var(--text-faint);
    letter-spacing: 1px; text-transform: uppercase;
    margin-bottom: 16px;
}
.product-hero .breadcrumb a { color: var(--text-mute); }
.product-hero .breadcrumb a:hover { color: var(--text); }
.product-hero h1 {
    font-size: 64px; font-weight: 700;
    letter-spacing: -2px; line-height: 1; color: #fff;
    margin-bottom: 12px;
}
.product-hero .tagline {
    font-size: 18px; color: var(--text-mute);
    line-height: 1.5;
    margin-bottom: 28px;
}
.product-hero .hero-shot {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 4px;
    background: #000;
    display: block;
}
.buy-row {
    display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
    padding: 18px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    margin-bottom: 24px;
}
.buy-row .price {
    font-family: 'JetBrains Mono', monospace;
    font-size: 28px; font-weight: 700; color: #fff;
    display: inline-flex; align-items: baseline; gap: 10px;
}
.buy-row .price .strike {
    font-size: 18px; font-weight: 500;
    color: var(--text-faint);
    text-decoration: line-through;
    text-decoration-thickness: 1.5px;
}
.buy-row .price .period {
    font-size: 12px; color: var(--text-faint);
    font-weight: 500; margin-left: 6px;
}
.launch-badge {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(77, 208, 225, 0.1);
    border: 1px solid rgba(77, 208, 225, 0.3);
    border-radius: 4px;
    font-size: 10px; font-weight: 700;
    letter-spacing: 1.5px; text-transform: uppercase;
    color: var(--accent-2);
}
.launch-expiry {
    font-size: 11px;
    color: var(--text-faint);
    letter-spacing: 0.3px;
    margin-left: -8px;
}
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 4px;
    font-size: 14px; font-weight: 600;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s, transform 0.1s;
    border: 1px solid transparent;
    font-family: inherit;
}
.btn-primary {
    background: var(--accent);
    color: #061829;
    border-color: var(--accent);
}
.btn-primary:hover { background: #82c5ff; border-color: #82c5ff; transform: translateY(-1px); }
.btn-ghost {
    background: transparent;
    color: var(--text);
    border-color: var(--border-hover);
}
.btn-ghost:hover { border-color: var(--text-mute); }

.specs-inline {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 16px;
    list-style: none;
}
.specs-inline li { font-size: 13px; color: var(--text-mute); }
.specs-inline li strong { display: block; font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: var(--text-faint); margin-bottom: 4px; font-weight: 600; }
.specs-inline li span { color: var(--text); font-weight: 600; font-size: 14px; }

@media (min-width: 1000px) {
    .product-hero { grid-template-columns: 1fr 1fr; gap: 64px; padding: 80px 48px 64px; }
    .product-hero h1 { font-size: 80px; }
}

/* Section */
section.detail {
    max-width: 1080px; margin: 0 auto;
    padding: 64px 48px;
    border-top: 1px solid var(--border);
}
section.detail h2 {
    font-size: 28px; font-weight: 700;
    letter-spacing: -0.5px; color: #fff;
    margin-bottom: 8px;
}
section.detail .lede {
    font-size: 15px; color: var(--text-mute);
    margin-bottom: 32px;
    max-width: 720px;
}

/* Preset / spec tables */
.spec-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
.spec-table th, .spec-table td {
    padding: 14px 18px;
    text-align: left;
    border-bottom: 1px solid var(--border);
    vertical-align: top;
}
.spec-table th {
    font-size: 11px; font-weight: 600;
    letter-spacing: 1px; text-transform: uppercase;
    color: var(--text-faint);
    border-bottom: 1px solid var(--border-hover);
}
.spec-table td .name { color: #fff; font-weight: 600; }
.spec-table td .meta { color: var(--text-mute); font-size: 13px; }
.spec-table tr:hover td { background: rgba(255,255,255,0.015); }

/* Feature grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}
.feature-grid .item {
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 4px;
}
.feature-grid .item h3 {
    font-size: 14px; font-weight: 700; color: #fff;
    margin-bottom: 8px;
    letter-spacing: -0.2px;
}
.feature-grid .item p {
    font-size: 13px; color: var(--text-mute);
    line-height: 1.6;
}

/* FAQ */
.faq dt {
    font-size: 15px; font-weight: 600;
    color: #fff; margin-bottom: 6px;
    margin-top: 24px;
}
.faq dt:first-child { margin-top: 0; }
.faq dd {
    font-size: 14px; color: var(--text-mute);
    line-height: 1.6;
    margin-bottom: 8px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--border);
}

/* Code block */
pre.code {
    background: #08080c;
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 20px 24px;
    overflow-x: auto;
    font-size: 13px;
    line-height: 1.7;
    color: #c9d1d9;
}
pre.code .cm { color: var(--text-faint); }
pre.code .kw { color: #ff7b72; }
pre.code .str { color: #a5d6ff; }
pre.code .num { color: #79c0ff; }

/* === Trial / Download section === */
.trial-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 8px;
}
@media (min-width: 900px) {
    .trial-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}
.trial-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 32px;
    display: flex;
    flex-direction: column;
}
.trial-card h3 {
    font-size: 18px; font-weight: 700; color: #fff;
    margin-bottom: 6px; letter-spacing: -0.2px;
}
.trial-card .trial-tag {
    font-size: 11px; font-weight: 600;
    letter-spacing: 1.5px; text-transform: uppercase;
    color: var(--accent-2);
    margin-bottom: 18px;
}
.trial-card p {
    font-size: 14px; color: var(--text-mute);
    line-height: 1.6;
    margin-bottom: 18px;
}
.download-card .download-row {
    margin-top: auto;
    padding: 14px 16px;
    background: var(--bg);
    border: 1px dashed var(--border-hover);
    border-radius: 4px;
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px;
}
.download-card .download-row .file {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: var(--text-mute);
}
.download-card .download-row .status {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-faint);
    padding: 4px 10px;
    border: 1px solid var(--border-hover);
    border-radius: 999px;
}
.download-card .download-platforms {
    font-size: 12px; color: var(--text-faint);
    margin-top: 14px;
    line-height: 1.6;
}
.download-card .download-platforms strong {
    color: var(--text-mute);
    font-weight: 600;
}

/* CTA strip at bottom of product page */
.cta-strip {
    border-top: 1px solid var(--border);
    padding: 56px 48px;
    text-align: center;
}
.cta-strip h2 {
    font-size: 28px; font-weight: 700; color: #fff;
    margin-bottom: 12px;
}
.cta-strip p {
    font-size: 15px; color: var(--text-mute);
    margin-bottom: 24px;
}

@media (max-width: 768px) {
    nav.top { padding: 14px 20px; }
    .nav-links { gap: 18px; }
    .nav-links a:not(.nav-cta) { display: none; }
    .product-hero { padding: 32px 20px; gap: 32px; }
    .product-hero h1 { font-size: 44px; letter-spacing: -1.5px; }
    .product-hero .tagline { font-size: 16px; }
    section.detail { padding: 48px 20px; }
    section.detail h2 { font-size: 24px; }
    footer.bottom { padding: 24px 20px; }
    .foot-grid { flex-direction: column; align-items: flex-start; gap: 12px; }
    .cta-strip { padding: 40px 20px; }
}
