/* Base Reset & Palette */
:root {
    --navy-950: #070b16;
    --navy-900: #0b1120;
    --navy-800: #0f172a;
    --navy-700: #1e293b;
    --blue: #3b82f6;
    --blue-light: #60a5fa;
    --blue-dark: #1d4ed8;
    --blue-tint: #eff6ff;
    --cyan: #22d3ee;
    --indigo: #818cf8;
    --grad: linear-gradient(120deg, #22d3ee 0%, #3b82f6 50%, #818cf8 100%);
    --ink: #0f172a;
    --body: #475569;
    --muted: #64748b;
    --dim: #94a3b8;
    --line: #e2e8f0;
    --bg: #f8fafc;
    --whatsapp: #1fa855;
    --radius: 14px;
    --max: 1160px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { font-family: 'Inter', system-ui, sans-serif; background: var(--bg); color: var(--ink); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

/* Typography */
h1, h2, h3 { color: var(--ink); line-height: 1.15; letter-spacing: -0.025em; }
p { color: var(--body); }
.container { max-width: var(--max); margin: 0 auto; padding: 0 5%; }
section { padding: 6rem 0; }
.eyebrow { display: inline-block; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue-dark); margin-bottom: 0.75rem; }
.section-head { max-width: 640px; margin-bottom: 3rem; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); font-weight: 800; margin-bottom: 0.75rem; }
.section-head p { font-size: 1.1rem; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.95rem 1.7rem; border-radius: 10px; font-weight: 600; font-size: 1rem; text-decoration: none; transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease; }
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 24px -8px rgba(59, 130, 246, 0.7); }
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-1px); }
.btn-ghost { color: #fff; border: 1px solid #334155; }
.btn-ghost:hover { border-color: var(--blue-light); color: var(--blue-light); }
.btn-whatsapp { background: var(--whatsapp); color: #fff; }
.btn-whatsapp:hover { background: #178a45; transform: translateY(-1px); }

/* Navigation / Header - sticky */
header { background: rgba(7, 11, 22, 0.85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid rgba(148, 163, 184, 0.12); position: sticky; top: 0; z-index: 1000; }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; }
.logo img { width: 38px; height: 38px; }
.logo-text { color: #fff; font-size: 1.1rem; font-weight: 800; letter-spacing: 0.04em; }
.logo-text span { color: var(--blue-light); font-weight: 400; }
.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; }
.nav-links a { color: #cbd5e1; text-decoration: none; font-size: 0.95rem; font-weight: 500; }
.nav-links a:hover { color: #fff; }
.nav-links .btn { color: #fff; padding: 0.6rem 1.1rem; font-size: 0.9rem; }
.menu-toggle { display: none; background: none; border: 0; color: #fff; cursor: pointer; padding: 0.5rem; }
.menu-toggle svg { width: 26px; height: 26px; }

/* Dark canvas */
.dark { background: var(--navy-950); position: relative; overflow: hidden; }
.dark::before { content: ""; position: absolute; top: -260px; left: 50%; transform: translateX(-50%); width: 1100px; height: 700px; background: radial-gradient(closest-side, rgba(59, 130, 246, 0.28), rgba(129, 140, 248, 0.12) 55%, transparent); pointer-events: none; }
.dark::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(148, 163, 184, 0.14) 1px, transparent 1px); background-size: 28px 28px; -webkit-mask-image: linear-gradient(to bottom, #000, transparent 70%); mask-image: linear-gradient(to bottom, #000, transparent 70%); pointer-events: none; }
.dark > * { position: relative; z-index: 1; }

/* Hero Section */
.hero { padding: 7rem 0 4.5rem; text-align: center; }
.pill { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.4rem 0.9rem; border-radius: 999px; border: 1px solid rgba(148, 163, 184, 0.25); background: rgba(15, 23, 42, 0.6); color: #cbd5e1; font-size: 0.85rem; font-weight: 500; margin-bottom: 1.75rem; }
.pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.hero h1 { color: #fff; font-size: clamp(2.6rem, 7vw, 4.75rem); font-weight: 800; max-width: 900px; margin: 0 auto 1.5rem; }
.hero p { color: var(--dim); font-size: clamp(1.05rem, 2vw, 1.25rem); max-width: 640px; margin: 0 auto 2.5rem; }
.hero h1 .grad-text { white-space: nowrap; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

/* CTA / Contact */
.contact { text-align: center; padding: 6.5rem 0; }
.contact h2 { color: #fff; font-size: clamp(2rem, 4.5vw, 2.9rem); font-weight: 800; margin-bottom: 1rem; }
.contact p { color: var(--dim); font-size: 1.15rem; margin: 0 auto 2.25rem; }
.contact-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem 2rem; margin-top: 2.5rem; list-style: none; }
.contact-meta li, .contact-meta a { color: #cbd5e1; text-decoration: none; font-size: 0.95rem; display: inline-flex; align-items: center; gap: 0.5rem; }
.contact-meta a:hover { color: #fff; }
.contact-meta svg { width: 18px; height: 18px; color: var(--cyan); }

footer { background: var(--navy-950); color: var(--muted); padding: 2rem 0; font-size: 0.875rem; border-top: 1px solid rgba(148, 163, 184, 0.12); }
footer .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem 2rem; }
footer p { color: var(--muted); font-size: 0.875rem; }


/* Mobile */
@media (max-width: 880px) {
    .menu-toggle { display: block; }
    .nav-links { display: none; position: absolute; top: 72px; left: 0; right: 0; background: var(--navy-950); flex-direction: column; align-items: stretch; gap: 0; padding: 0.5rem 5% 1.25rem; border-bottom: 1px solid var(--navy-700); }
    .nav-links.open { display: flex; }
    .nav-links a { display: block; padding: 0.85rem 0; font-size: 1.05rem; }
    .nav-links .btn { margin-top: 0.75rem; padding: 0.85rem; }
    section { padding: 4.5rem 0; }
    .hero { padding: 4.5rem 0 3rem; }
    .contact { padding: 4.5rem 0; }
}
@media (max-width: 420px) {
    .logo-text { font-size: 0.95rem; }
    .hero-ctas .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .btn, .product { transition: none; }
    .product:hover, .btn:hover { transform: none; }
}

/* Nav: current page */
.nav-links a[aria-current="page"] { color: #fff; }

/* Footer links */
.foot-links { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; list-style: none; }
.foot-links a { color: #cbd5e1; text-decoration: none; font-size: 0.875rem; }
.foot-links a:hover { color: #fff; }

/* ---------- Products ---------- */
.products { padding: 1rem 0 7rem; }
.products .section-head { margin: 0 auto 3rem; text-align: center; }
.products .section-head h2 { color: #fff; }
.products .eyebrow { color: var(--cyan); }
.product-grid { display: grid; grid-template-columns: 1fr; gap: 1.75rem; }
@media (min-width: 900px) { .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.product {
    --accent: var(--blue); --accent-soft: rgba(59, 130, 246, 0.45);
    border-radius: 20px; overflow: hidden; display: flex; flex-direction: column;
    background: linear-gradient(160deg, rgba(30, 41, 59, 0.75), rgba(15, 23, 42, 0.95)) padding-box,
                linear-gradient(140deg, var(--accent-soft), rgba(148, 163, 184, 0.12) 45%, var(--accent-soft)) border-box;
    border: 1px solid transparent;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.product:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -20px var(--accent-soft); }
.product-nytapp { --accent: #ff6600; --accent-soft: rgba(255, 102, 0, 0.45); }
.product-kwikwork { --accent: #3b82f6; --accent-soft: rgba(34, 211, 238, 0.45); }
/* Fixed-ratio frame (padding trick works on every iPhone Safari); the image fills it without stretching */
.product-shot { display: block; position: relative; height: 0; padding-bottom: 62.5%; overflow: hidden; border-bottom: 1px solid rgba(148, 163, 184, 0.15); }
.product-kwikwork .product-shot { padding-bottom: 56.25%; }
.product-shot img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.product-body { padding: 2rem 2.25rem 2.25rem; display: flex; flex-direction: column; flex: 1; }
.product-label { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.5rem; }
.product h3 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.1rem); font-weight: 800; margin-bottom: 0.75rem; }
.product p { color: var(--dim); font-size: 1.05rem; margin-bottom: 2rem; }
.product-links { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: auto; }
.product-links .btn { padding: 0.75rem 1.25rem; font-size: 0.95rem; }
.product-links .btn-primary { background: var(--accent); box-shadow: 0 8px 24px -10px var(--accent); }
.product-links .btn-primary:hover { filter: brightness(1.1); background: var(--accent); }
.product-links .btn-ghost:hover { border-color: var(--accent); color: #fff; }

/* ---------- About ---------- */
.about { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) { .about { grid-template-columns: 1.4fr 1fr; } }
.about .section-head { margin-bottom: 0; }
.facts { list-style: none; display: grid; gap: 1rem; }
.facts li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.4rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.facts strong { color: var(--muted); font-weight: 500; }
.facts span { color: var(--ink); font-weight: 600; }

@media (max-width: 880px) {
    .products { padding: 0.5rem 0 4.5rem; }
    .product-body { padding: 1.6rem; }
}
