*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

:root {
    --amber:   #F59E0B;
    --orange:  #F97316;
    --red:     #EF4444;
    --hot:     #FBBF24;
    --void:    #0A0A0B;
    --surface: #111113;
    --panel:   #18181B;
    --border:  rgba(249,115,22,0.12);
    --soft:    rgba(255,255,255,0.06);
    --text:    #FAFAFA;
    --muted:   rgba(250,250,250,0.5);
    --dim:     rgba(250,250,250,0.25);
    --grad:    linear-gradient(135deg, var(--amber), var(--orange), var(--red));
    --font-d:  'Familjen Grotesk', 'Georgia', serif;
    --font-m:  'DM Mono', monospace;
}

body { font-family: var(--font-d); background: var(--void); color: var(--text); overflow-x: hidden; }
a { color: inherit; text-decoration: none; }

/* ── Inline flame SVG helper ─────────────────── */
.flame-svg { display: block; }

/* ── Canvas bg ───────────────────────────────── */
#bg { position: fixed; inset: 0; z-index: 0; pointer-events: none; }

/* ── Nav ─────────────────────────────────────── */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 clamp(20px,6vw,72px); height: 64px;
    background: rgba(10,10,11,0.85); backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--soft);
}
.nav-logo { display: flex; align-items: center; gap: 11px; }
.nav-name { font-family: var(--font-d); font-weight: 700; font-size: 17px; letter-spacing: -0.3px; }
.nav-name span { background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a { font-size: 13.5px; color: var(--muted); font-family: var(--font-m); transition: color 160ms; }
.nav-links a:hover { color: var(--text); }
.nav-cta { padding: 8px 20px; border-radius: 8px; background: rgba(249,115,22,0.1); border: 1px solid rgba(249,115,22,0.25); color: var(--orange); font-family: var(--font-m); font-size: 12px; letter-spacing: 0.5px; transition: all 160ms; }
.nav-cta:hover { background: rgba(249,115,22,0.18); border-color: rgba(249,115,22,0.45); }

/* ── Shared ──────────────────────────────────── */
section { position: relative; z-index: 1; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 clamp(20px,6vw,72px); }

.btn-flame { display: inline-flex; align-items: center; gap: 8px; padding: 12px 28px; border-radius: 9px; border: none; cursor: pointer; background: var(--grad); color: #fff; font-family: var(--font-d); font-weight: 600; font-size: 15px; box-shadow: 0 4px 24px rgba(249,115,22,0.3); transition: all 180ms; }
.btn-flame:hover { transform: translateY(-1px); box-shadow: 0 6px 32px rgba(249,115,22,0.45); }
.btn-outline { display: inline-flex; align-items: center; gap: 8px; padding: 12px 28px; border-radius: 9px; background: none; border: 1px solid var(--soft); color: var(--muted); font-family: var(--font-d); font-weight: 500; font-size: 15px; cursor: pointer; transition: all 180ms; }
.btn-outline:hover { color: var(--text); border-color: rgba(255,255,255,0.15); }

.section-tag { font-family: var(--font-m); font-size: 10px; letter-spacing: 3px; text-transform: uppercase; color: var(--orange); margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.section-tag::before { content: ''; display: block; width: 20px; height: 1px; background: var(--orange); }
.section-title { font-weight: 700; font-size: clamp(1.9rem,3.5vw,2.8rem); letter-spacing: -1.5px; line-height: 1.1; margin-bottom: 16px; }
.section-sub { font-size: 16px; line-height: 1.7; color: rgba(250,250,250,0.55); max-width: 520px; }

@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }

/* ── Hero ────────────────────────────────────── */
.hero { min-height: 100vh; display: flex; align-items: center; padding-top: 64px; }
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; padding: 80px 0 100px; }
.hero-tag { font-family: var(--font-m); font-size: 10px; letter-spacing: 3px; text-transform: uppercase; color: var(--orange); margin-bottom: 22px; display: flex; align-items: center; gap: 10px; opacity: 0; animation: rise 0.6s 0.2s ease forwards; }
.hero-tag::before { content: ''; display: block; width: 24px; height: 1px; background: var(--orange); }
.hero-title { font-weight: 700; font-size: clamp(2.8rem,5.5vw,4.2rem); letter-spacing: -2.5px; line-height: 1.02; margin-bottom: 26px; opacity: 0; animation: rise 0.6s 0.35s ease forwards; }
.hero-title em { font-style: italic; background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-sub { font-size: 16.5px; line-height: 1.7; color: rgba(250,250,250,0.6); max-width: 460px; margin-bottom: 40px; opacity: 0; animation: rise 0.6s 0.5s ease forwards; }
.hero-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; opacity: 0; animation: rise 0.6s 0.65s ease forwards; }

.hero-visual { display: flex; justify-content: center; align-items: center; opacity: 0; animation: rise 0.9s 0.3s ease forwards; position: relative; }
.hero-flame-wrap { position: relative; width: 260px; height: 260px; display: flex; align-items: center; justify-content: center; }
.hero-flame-glow { position: absolute; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(249,115,22,0.2), rgba(239,68,68,0.06) 60%, transparent 80%); animation: pulse-glow 3s ease-in-out infinite; }
.hero-flame-ring { position: absolute; border-radius: 50%; border: 1px solid rgba(249,115,22,0.12); animation: expand-ring 3s ease-out infinite; }
.hero-flame-ring:nth-child(2) { width: 160px; height: 160px; animation-delay: 0s; }
.hero-flame-ring:nth-child(3) { width: 210px; height: 210px; animation-delay: 0.9s; }
.hero-flame-ring:nth-child(4) { width: 258px; height: 258px; animation-delay: 1.8s; }
@keyframes pulse-glow { 0%,100% { transform: scale(1); opacity: 0.8; } 50% { transform: scale(1.1); opacity: 1; } }
@keyframes expand-ring { 0% { transform: scale(0.8); opacity: 0.5; } 100% { transform: scale(1.3); opacity: 0; } }

/* ── Stats ───────────────────────────────────── */
.stats { border-top: 1px solid var(--soft); border-bottom: 1px solid var(--soft); padding: 44px 0; background: rgba(249,115,22,0.02); }
.stats-inner { display: grid; grid-template-columns: repeat(4,1fr); }
.stat { text-align: center; padding: 0 20px; border-right: 1px solid var(--soft); opacity: 0; transform: translateY(10px); transition: opacity 0.5s ease, transform 0.5s ease; }
.stat:last-child { border-right: none; }
.stat.vis { opacity: 1; transform: translateY(0); }
.stat-val { font-family: var(--font-d); font-weight: 700; font-size: 2.2rem; letter-spacing: -1.5px; background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; line-height: 1; margin-bottom: 6px; }
.stat-lbl { font-family: var(--font-m); font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); }

/* ── Services ────────────────────────────────── */
.services { padding: 100px 0; }
.services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-top: 56px; }
.service-card { background: var(--panel); border: 1px solid var(--soft); border-radius: 16px; padding: 30px 26px; transition: all 220ms; position: relative; overflow: hidden; }
.service-card::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: var(--grad); opacity: 0; transition: opacity 220ms; }
.service-card:hover { border-color: rgba(249,115,22,0.2); transform: translateY(-2px); }
.service-card:hover::after { opacity: 1; }
.service-num { font-family: var(--font-m); font-size: 10px; letter-spacing: 2px; color: var(--orange); margin-bottom: 18px; opacity: 0.6; }
.service-icon { width: 42px; height: 42px; border-radius: 11px; background: rgba(249,115,22,0.08); border: 1px solid rgba(249,115,22,0.15); display: flex; align-items: center; justify-content: center; color: var(--orange); margin-bottom: 18px; }
.service-title { font-weight: 700; font-size: 17px; letter-spacing: -0.3px; margin-bottom: 10px; }
.service-body { font-size: 13.5px; line-height: 1.65; color: rgba(250,250,250,0.5); }

/* ── Products ────────────────────────────────── */
.products { padding: 100px 0; }
.product-card { background: var(--panel); border: 1px solid var(--soft); border-radius: 24px; overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; transition: border-color 240ms; }
.product-card:hover { border-color: rgba(54,215,255,0.2); }
.product-body { padding: 52px 48px; display: flex; flex-direction: column; justify-content: center; }
.product-badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 20px; font-family: var(--font-m); font-size: 9px; letter-spacing: 2px; text-transform: uppercase; background: rgba(54,215,255,0.08); color: #36D7FF; border: 1px solid rgba(54,215,255,0.18); margin-bottom: 20px; width: fit-content; }
.product-badge-dot { width: 5px; height: 5px; border-radius: 50%; background: #36D7FF; animation: blink 2s ease-in-out infinite; }
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }
.product-name { font-weight: 700; font-size: 2.2rem; letter-spacing: -1.5px; line-height: 1.1; margin-bottom: 14px; background: linear-gradient(135deg, #36D7FF, #8B5CF6); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.product-desc { font-size: 15px; line-height: 1.7; color: rgba(250,250,250,0.55); margin-bottom: 28px; }
.product-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.tag { padding: 4px 11px; border-radius: 6px; font-family: var(--font-m); font-size: 10px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); color: rgba(250,250,250,0.5); }
.product-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; color: #36D7FF; transition: gap 180ms; }
.product-link:hover { gap: 12px; }
.product-visual { background: linear-gradient(135deg, rgba(54,215,255,0.04), rgba(139,92,246,0.04)); border-left: 1px solid rgba(54,215,255,0.08); display: flex; align-items: center; justify-content: center; padding: 40px; min-height: 360px; }
.dash-mockup { background: #0C0F14; border-radius: 14px; border: 1px solid rgba(140,160,210,0.12); width: 100%; max-width: 300px; overflow: hidden; box-shadow: 0 20px 48px rgba(0,0,0,0.6); }
.dash-topbar { height: 36px; background: #111418; border-bottom: 1px solid rgba(140,160,210,0.08); display: flex; align-items: center; padding: 0 12px; gap: 6px; }
.dash-dot { width: 7px; height: 7px; border-radius: 50%; }
.dash-body { padding: 14px; }
.dash-stat-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; margin-bottom: 12px; }
.dash-stat { background: #181C24; border-radius: 8px; padding: 10px; border: 1px solid rgba(140,160,210,0.08); }
.dash-stat-val { font-family: var(--font-d); font-weight: 700; font-size: 15px; letter-spacing: -0.5px; margin-bottom: 2px; }
.dash-stat-lbl { font-family: var(--font-m); font-size: 7px; letter-spacing: 1px; text-transform: uppercase; color: rgba(255,255,255,0.3); }
.dash-chart { background: #181C24; border-radius: 8px; border: 1px solid rgba(140,160,210,0.08); padding: 10px; height: 60px; display: flex; align-items: flex-end; gap: 4px; }
.dash-bar { flex: 1; border-radius: 3px 3px 0 0; background: linear-gradient(180deg, rgba(54,215,255,0.6), rgba(139,92,246,0.4)); min-height: 4px; }

/* ── About ───────────────────────────────────── */
.about { padding: 100px 0; border-top: 1px solid var(--soft); }
.about-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.about-body { font-size: 16px; line-height: 1.8; color: rgba(250,250,250,0.62); }
.about-body p + p { margin-top: 18px; }
.detail-row { display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px; border-radius: 12px; background: var(--panel); border: 1px solid var(--soft); transition: border-color 200ms; margin-bottom: 12px; }
.detail-row:hover { border-color: rgba(249,115,22,0.2); }
.detail-icon { width: 36px; height: 36px; border-radius: 9px; flex-shrink: 0; background: rgba(249,115,22,0.08); border: 1px solid rgba(249,115,22,0.15); display: flex; align-items: center; justify-content: center; color: var(--orange); }
.detail-title { font-weight: 600; font-size: 14px; letter-spacing: -0.2px; margin-bottom: 3px; }
.detail-body { font-size: 13px; color: var(--muted); line-height: 1.55; }

/* ── Contact ─────────────────────────────────── */
.contact { padding: 100px 0; background: linear-gradient(180deg, transparent, rgba(249,115,22,0.03), transparent); }
.contact-inner { max-width: 560px; margin: 0 auto; text-align: center; }
.contact-inner .section-tag { justify-content: center; }
.contact-inner .section-sub { margin: 0 auto 40px; }
.contact-email { display: inline-flex; align-items: center; gap: 10px; padding: 16px 32px; border-radius: 12px; background: var(--panel); border: 1px solid rgba(249,115,22,0.2); font-family: var(--font-m); font-size: 15px; color: var(--orange); transition: all 200ms; }
.contact-email:hover { background: rgba(249,115,22,0.08); border-color: rgba(249,115,22,0.4); }

/* ── Footer ──────────────────────────────────── */
.footer { border-top: 1px solid var(--soft); padding: 36px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-left { display: flex; align-items: center; gap: 10px; }
.footer-copy { font-family: var(--font-m); font-size: 11px; letter-spacing: 0.5px; color: var(--dim); }
.footer-links { display: flex; gap: 20px; list-style: none; }
.footer-links a { font-family: var(--font-m); font-size: 11px; color: var(--dim); transition: color 160ms; }
.footer-links a:hover { color: var(--muted); }
.footer-vp { font-family: var(--font-m); font-size: 11px; color: var(--dim); }
.footer-vp a { color: #36D7FF; }

/* ── Responsive ──────────────────────────────── */
@media (max-width: 860px) {
    .hero-inner    { grid-template-columns: 1fr; }
    .hero-visual   { display: none; }
    .services-grid { grid-template-columns: 1fr 1fr; }
    .product-card  { grid-template-columns: 1fr; }
    .product-visual { display: none; }
    .about-inner   { grid-template-columns: 1fr; }
    .stats-inner   { grid-template-columns: 1fr 1fr; }
    .nav-links     { display: none; }
}
@media (max-width: 540px) {
    .services-grid { grid-template-columns: 1fr; }
}