/* ═══════════════════════════════════════════════════════════════════════
   Deets Systems — landing-page styles
   Palette: Dodger Blue (#1E90FF) + Gold (#FFD700) against a deep indigo base.
   Kept framework-free and dependency-free so the page deploys anywhere
   with a single `scp index.html` style upload.
   ═══════════════════════════════════════════════════════════════════════ */

:root {
    --blue:        #1E90FF;
    --blue-soft:   #3DA5FF;
    --blue-glow:   rgba(30, 144, 255, 0.35);
    --gold:        #FFD700;
    --gold-soft:   #FFDF4A;
    --gold-glow:   rgba(255, 215, 0, 0.32);

    --bg:          #0a0e1c;
    --bg-raised:   #12172a;
    --bg-card:     #161b30;
    --border:      rgba(255, 255, 255, 0.08);
    --border-hot:  rgba(30, 144, 255, 0.3);

    --text:        #e9ecf5;
    --text-dim:    #98a0b5;
    --text-faint:  #5d6680;

    --font-body:   'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    --font-mono:   'JetBrains Mono', 'Consolas', monospace;

    --radius:      10px;
    --radius-lg:   16px;
    --maxw:        1180px;
}

/* ── Base ───────────────────────────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body {
    margin: 0;
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.55;
    overflow-x: hidden;
}

a {
    color: var(--blue);
    text-decoration: none;
    transition: color 0.18s ease;
}
a:hover { color: var(--blue-soft); }

.accent-blue { color: var(--blue); }
.accent-gold { color: var(--gold); }

/* ── Top nav ────────────────────────────────────────────────────────────── */

.nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(10, 14, 28, 0.75);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid var(--border);
}

.nav-inner {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    font-weight: 700;
    font-size: 17px;
    letter-spacing: 0.2px;
}
.brand:hover { color: var(--gold); }

.brand-mark {
    display: inline-flex;
}

.nav-links {
    display: flex;
    gap: 28px;
}

.nav-links a {
    color: var(--text-dim);
    font-weight: 500;
    font-size: 14.5px;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -6px;
    height: 2px;
    background: linear-gradient(90deg, var(--blue), var(--gold));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.22s ease;
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { transform: scaleX(1); }

/* ── Hero ───────────────────────────────────────────────────────────────── */

.hero {
    position: relative;
    min-height: calc(100vh - 64px);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 80px 24px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 18% 28%, var(--blue-glow), transparent 55%),
        radial-gradient(ellipse at 82% 72%, var(--gold-glow), transparent 55%),
        linear-gradient(180deg, #0a0e1c 0%, #0d1224 50%, #0a0e1c 100%);
}

/* Subtle grid overlay for tech-feel */
.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}

.hero-inner {
    position: relative;
    z-index: 1;
    max-width: 900px;
    text-align: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border: 1px solid var(--border-hot);
    border-radius: 999px;
    background: rgba(30, 144, 255, 0.08);
    color: var(--text-dim);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.3px;
    margin-bottom: 28px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 0 0 var(--gold-glow);
    animation: pulse 2s infinite;
}

.hero-title {
    margin: 0 0 22px;
    font-size: clamp(48px, 8vw, 96px);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -0.02em;
    color: var(--text);
}

.hero-sub {
    margin: 0 auto 40px;
    max-width: 640px;
    font-size: clamp(17px, 2vw, 21px);
    color: var(--text-dim);
    line-height: 1.55;
}

.hero-ctas {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 64px;
}

/* ── Buttons ────────────────────────────────────────────────────────────── */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.2px;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    border: 1px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, var(--blue), #0a6fd6);
    color: #fff;
    box-shadow: 0 8px 22px -6px var(--blue-glow), inset 0 1px 0 rgba(255,255,255,0.2);
}
.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 30px -6px var(--blue-glow), inset 0 1px 0 rgba(255,255,255,0.25);
    color: #fff;
}

.btn-ghost {
    background: transparent;
    color: var(--gold);
    border-color: rgba(255, 215, 0, 0.35);
}
.btn-ghost:hover {
    background: rgba(255, 215, 0, 0.08);
    border-color: var(--gold);
    color: var(--gold-soft);
    transform: translateY(-1px);
}

/* ── Metrics strip ──────────────────────────────────────────────────────── */

.hero-metrics {
    display: inline-flex;
    align-items: stretch;
    gap: 0;
    padding: 20px 32px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: rgba(22, 27, 48, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.metric {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 0 28px;
    min-width: 140px;
}

.metric-value {
    font-family: var(--font-mono);
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.metric-label {
    font-size: 12px;
    color: var(--text-faint);
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.metric-sep {
    width: 1px;
    background: var(--border);
}

/* ── Section scaffolding ────────────────────────────────────────────────── */

.section-inner {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 24px;
}

.section-label {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.25em;
    margin-bottom: 16px;
    padding: 4px 10px;
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 6px;
    background: rgba(255, 215, 0, 0.06);
}

.section-title {
    margin: 0 0 52px;
    font-size: clamp(32px, 4vw, 46px);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.15;
    color: var(--text);
}

/* ── Products ───────────────────────────────────────────────────────────── */

.products {
    padding: 100px 0 80px;
    background:
        linear-gradient(180deg, transparent 0%, rgba(30, 144, 255, 0.04) 50%, transparent 100%);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 24px;
}

.product-card {
    position: relative;
    padding: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: transform 0.2s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-3px);
    border-color: var(--border-hot);
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.5);
}

.product-card-glow {
    position: absolute;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}
.product-card:hover .product-card-glow { opacity: 0.4; }

.product-card-glow-blue {
    background: var(--blue);
    top: -100px;
    right: -100px;
}
.product-card-glow-gold {
    background: var(--gold);
    bottom: -100px;
    left: -100px;
}

.product-badge {
    position: relative;
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 11px;
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-dim);
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 20px;
}

.product-name {
    position: relative;
    margin: 0 0 10px;
    font-size: 34px;
    font-weight: 800;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--blue), var(--gold));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.product-tagline {
    position: relative;
    margin: 0 0 24px;
    font-size: 16px;
    color: var(--text-dim);
    line-height: 1.5;
}

.product-bullets {
    position: relative;
    margin: 0 0 24px;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.product-bullets li {
    position: relative;
    padding-left: 26px;
    font-size: 14.5px;
    color: var(--text);
    line-height: 1.5;
}

.product-bullets li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 14px;
    height: 2px;
    background: linear-gradient(90deg, var(--blue), var(--gold));
    border-radius: 1px;
}

.product-tech {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.tech-chip {
    font-family: var(--font-mono);
    font-size: 11.5px;
    padding: 4px 10px;
    background: rgba(30, 144, 255, 0.1);
    color: var(--blue-soft);
    border: 1px solid rgba(30, 144, 255, 0.2);
    border-radius: 999px;
}

/* ── Philosophy ─────────────────────────────────────────────────────────── */

.philosophy {
    padding: 100px 0;
}

.philosophy-inner { max-width: 1060px; }

.principles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.principle {
    padding: 28px;
    background: var(--bg-raised);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: border-color 0.22s ease, transform 0.2s ease;
}

.principle:hover {
    border-color: var(--border-hot);
    transform: translateY(-2px);
}

.principle-num {
    font-family: var(--font-mono);
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 14px;
    letter-spacing: -0.02em;
}

.principle-title {
    margin: 0 0 12px;
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.01em;
}

.principle-text {
    margin: 0;
    font-size: 15px;
    color: var(--text-dim);
    line-height: 1.6;
}

/* ── Contact ────────────────────────────────────────────────────────────── */

.contact {
    padding: 100px 24px;
    background:
        radial-gradient(ellipse at center, rgba(30, 144, 255, 0.06) 0%, transparent 60%);
    text-align: center;
}

.contact-inner { max-width: 720px; text-align: center; }

.contact-title {
    margin-bottom: 20px;
}

.contact-sub {
    margin: 0 0 32px;
    font-size: 17px;
    color: var(--text-dim);
    line-height: 1.6;
}

.contact-tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--text-faint);
    padding: 10px 20px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: rgba(22, 27, 48, 0.5);
}

/* ── Footer ─────────────────────────────────────────────────────────────── */

.footer {
    padding: 32px 0 40px;
    border-top: 1px solid var(--border);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
}

.footer-brand {
    font-weight: 700;
    color: var(--text);
    letter-spacing: 0.2px;
}

.footer-tag {
    font-size: 13.5px;
    color: var(--text-faint);
    font-style: italic;
}

.footer-year {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--text-faint);
}

/* ── Responsive tune-ups ────────────────────────────────────────────────── */

@media (max-width: 640px) {
    .nav-links { display: none; }

    .hero { min-height: auto; padding: 60px 20px 80px; }
    .hero-ctas { flex-direction: column; align-items: stretch; }
    .btn { width: 100%; }

    .hero-metrics {
        flex-direction: column;
        gap: 18px;
        padding: 20px 24px;
    }
    .metric { padding: 0; min-width: 0; }
    .metric-sep { display: none; }

    .product-card { padding: 24px; }

    .footer-inner { justify-content: center; text-align: center; }
}

@media (max-width: 420px) {
    .eyebrow { font-size: 11.5px; padding: 5px 12px; }
    .hero-title { font-size: 44px; }
}
