/* =========================================================
   Nexoguard — site styles
   Colors are defined once here; change them to restyle the site.
   ========================================================= */
:root {
  --ink: #0f172a;
  --body: #475569;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #f5f8fb;
  --card: #ffffff;
  --cyan: #06b6d4;
  --cyan-bright: #22e3f5;
  --cyan-soft: #ecfeff;
  --cyan-dark: #0e7490;
  --blue: #0284c7;
  --night: #060c13;
  --night-2: #0b1626;
  --night-line: #16233a;
  --night-text: #a8b3c2;
  --radius: 6px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { letter-spacing: -0.02em; line-height: 1.15; }
p { color: var(--body); }
ul, ol { list-style: none; }

.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }

.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--cyan-bright); outline-offset: 2px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 15px/1 "Inter", sans-serif; border-radius: 999px; padding: 15px 24px;
  text-decoration: none; border: 0; cursor: pointer; transition: transform .15s, box-shadow .15s;
}
.btn svg { width: 16px; height: 16px; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--cyan-bright); color: #04121a; }
.btn-primary:hover { box-shadow: 0 8px 24px rgba(34, 227, 245, .3); }
.btn-ghost { border: 1px solid #2b4566; color: #e2e8f0; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-sm { padding: 11px 20px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(6, 12, 19, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--night-line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; font-size: 20px; letter-spacing: .02em; text-decoration: none; }
.logo svg { width: 26px; height: 26px; color: var(--cyan-bright); }
.links { display: flex; align-items: center; gap: 30px; }
.links a:not(.btn) { color: #cbd5e1; text-decoration: none; font-size: 15px; }
.links a:not(.btn):hover { color: #fff; }
.menu-btn { display: none; background: none; border: 0; color: #fff; cursor: pointer; }
.menu-btn svg { width: 28px; height: 28px; }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(1200px 600px at 20% 10%, #0b2230 0%, transparent 60%),
    radial-gradient(900px 600px at 90% 80%, #0d1a33 0%, transparent 60%),
    var(--night);
  color: #fff; padding: 96px 0 110px;
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center; }
.pill-dark {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--cyan-bright);
  border: 1px solid #0e4a5a; background: #06202a; border-radius: 999px; padding: 7px 14px;
}
.pill-dark svg { width: 14px; height: 14px; }
.hero h1 {
  font-size: clamp(28px, 3.5vw, 44px); line-height: 1.15; margin: 26px 0 22px; font-weight: 800;
  text-align: justify;
  hyphens: auto;
  background: linear-gradient(95deg, #e0fbff 0%, #7ef0fb 45%, #00e5ff 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { color: var(--night-text); font-size: 19px; max-width: 600px; }
.ctas { display: flex; flex-wrap: wrap; gap: 14px; margin: 34px 0 14px; }
.micro { font-size: 13px; color: #7c8aa0; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.chips li { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: #cfe9f0; border: 1px solid #1b3550; background: #0b1828; border-radius: 999px; padding: 8px 14px; }
.chips svg { width: 15px; height: 15px; color: var(--cyan-bright); }

/* Ticket illustration */
.ticket { background: #0d1726; border: 1px solid #1d2f48; border-radius: 16px; padding: 22px; box-shadow: 0 30px 80px rgba(0, 0, 0, .45); }
.ticket-top { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: #7c8aa0; margin-bottom: 14px; }
.ticket-brand { display: flex; align-items: center; gap: 8px; color: #e2e8f0; font-weight: 700; font-size: 14px; }
.ticket-brand i { width: 22px; height: 22px; border-radius: 6px; background: linear-gradient(135deg, #6366f1, #22d3ee); }
.ticket h3 { font-size: 17px; color: #fff; margin-bottom: 6px; }
.ticket-meta { font-size: 12.5px; color: #8fa0b6; margin-bottom: 16px; }
.timeline { border-left: 2px solid #1e3a55; margin-left: 6px; padding-left: 16px; display: grid; gap: 14px; }
.timeline li { position: relative; font-size: 13px; color: #c7d2df; line-height: 1.45; }
.timeline li::before { content: ""; position: absolute; left: -23px; top: 4px; width: 10px; height: 10px; border-radius: 50%; background: var(--cyan-bright); border: 2px solid #0d1726; }
.timeline small { display: block; color: #6b7c93; font-size: 11.5px; }
.sig { margin-top: 18px; border-top: 1px dashed #22344d; padding-top: 14px; font-size: 12.5px; color: var(--night-text); }
.sig b { color: #fff; }
.ticket-wrap figcaption { font-size: 12px; color: #6b7c93; margin-top: 12px; text-align: center; }

/* ---------- Sections ---------- */
.section { padding: 100px 0; }
.light { background: var(--bg); }
.eyebrow { color: var(--blue); font-weight: 700; font-size: 15px; letter-spacing: .02em; margin-bottom: 10px; }
.h2 { font-size: clamp(30px, 3.4vw, 42px); font-weight: 800; color: var(--ink); border-left: 6px solid var(--cyan); padding-left: 18px; }
.sub { font-size: 18px; max-width: 760px; margin-top: 18px; }

.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 52px; }
.card { background: var(--card); border: 1px solid var(--line); border-top: 4px solid var(--cyan); padding: 30px; border-radius: 4px; position: relative; }
.card .ic { display: block; width: 40px; height: 40px; color: var(--cyan); margin-bottom: 22px; }
.card h3 { font-size: 21px; margin-bottom: 10px; }
.card p { font-size: 15.5px; }
.bullets { margin-top: 14px; display: grid; gap: 8px; }
.bullets li { font-size: 14.5px; color: var(--body); padding-left: 20px; position: relative; line-height: 1.5; }
.bullets li::before { content: ""; position: absolute; left: 0; top: 8px; width: 8px; height: 8px; border-radius: 2px; background: var(--cyan); }
.card-dark { background: var(--night); border-color: var(--night); border-top-color: var(--cyan-bright); display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.card-dark h3 { color: #fff; }
.card-dark p { color: var(--night-text); margin-top: 10px; }
.card-dark .btn { align-self: flex-start; }

/* White-label */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.checks { margin-top: 28px; display: grid; gap: 14px; }
.checks li { position: relative; padding-left: 34px; font-size: 16px; color: var(--ink); }
.checks svg { position: absolute; left: 0; top: 2px; width: 22px; height: 22px; color: var(--cyan); }
.layers { background: var(--night); border-radius: 18px; padding: 34px; }
.layer { border-radius: 12px; padding: 22px 24px; }
.layer small { display: block; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 10px; font-weight: 700; }
.layer.client { background: #fff; }
.layer.client small { color: var(--muted); }
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pills span { font-size: 13px; border-radius: 999px; padding: 6px 12px; border: 1px solid var(--line); background: var(--bg); font-weight: 500; }
.behind { text-align: center; color: #3a5a78; font-size: 12px; margin: 12px 0; letter-spacing: .06em; text-transform: uppercase; }
.layer.us { background: #0b1a2b; border: 1px dashed #1f4a63; }
.layer.us small { color: var(--cyan-bright); }
.layer.us p { color: var(--night-text); font-size: 14.5px; }

/* Vendors & label rows */
.vendors, .also { margin-top: 40px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.vendors span, .also span { font-weight: 700; font-size: 15px; color: #334155; border: 1px solid #cbd5e1; background: #fff; border-radius: 8px; padding: 9px 16px; }
.vendors .label, .also .label { border: 0; background: none; padding: 0 8px 0 0; font-size: 13px; color: var(--blue); letter-spacing: .06em; text-transform: uppercase; }
.also { margin-top: 28px; }

/* Credentials */
.cred { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.badges { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.badges figure { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px 16px; text-align: center; box-shadow: 0 10px 30px rgba(15, 23, 42, .05); }
.badges img { width: 140px; height: 140px; object-fit: contain; margin: 0 auto 12px; }
.badges figcaption { font-size: 14px; font-weight: 700; color: var(--cyan-dark); }

/* Engagement models */
.models .best { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--cyan-dark); background: var(--cyan-soft); border-radius: 999px; padding: 5px 10px; margin-bottom: 16px; }
.models .featured { border: 2px solid var(--cyan); border-top-width: 6px; box-shadow: 0 18px 50px rgba(6, 182, 212, .12); }
.models .tag { position: absolute; top: -15px; right: 24px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 600; border-radius: 999px; padding: 6px 12px; }
.more { display: inline-block; margin-top: 22px; font-weight: 600; color: var(--blue); font-size: 15px; text-decoration: none; }
.more:hover { text-decoration: underline; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 56px; position: relative; }
.steps::before { content: ""; position: absolute; left: 30px; right: calc(25% - 18px); top: 28px; height: 2px; background: linear-gradient(90deg, var(--cyan), #bae6fd); }
.num { width: 58px; height: 58px; border-radius: 50%; background: #fff; border: 2px solid var(--cyan); color: var(--cyan-dark); font-weight: 800; font-size: 22px; display: flex; align-items: center; justify-content: center; position: relative; }
.steps h3 { font-size: 19px; margin: 22px 0 8px; }
.steps p { font-size: 15px; }

/* Proof */
.proj .k { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-top: 14px; }
.proj .res { margin-top: 16px; background: var(--cyan-soft); border-radius: 8px; padding: 12px 14px; font-size: 14.5px; color: var(--cyan-dark); font-weight: 600; }
.results { margin-top: 30px; display: grid; grid-template-columns: 1fr 1.4fr; gap: 26px; }
.stat { background: var(--night); border-radius: 14px; padding: 30px; }
.stat b { display: block; font-size: 58px; font-weight: 800; line-height: 1; background: linear-gradient(95deg, #e0fbff, #00e5ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat p { color: var(--night-text); margin-top: 10px; font-size: 15px; }
.quote { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 30px 34px; display: flex; flex-direction: column; justify-content: space-between; }
.quote p { font-size: 21px; line-height: 1.45; color: var(--ink); font-weight: 500; }
.quote footer { margin-top: 16px; font-size: 14px; color: var(--muted); }

/* Dark / About */
.dark { background: var(--night); }
.dark .h2 { color: #fff; }
.dark .sub { color: var(--night-text); }
.dark .eyebrow { color: var(--cyan-bright); }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 48px; }
.tiles div { background: var(--night-2); border: 1px solid var(--night-line); border-radius: 12px; padding: 26px; }
.tiles b { display: block; font-size: 30px; font-weight: 800; color: var(--cyan-bright); margin-bottom: 8px; }
.tiles span { font-size: 14.5px; color: var(--night-text); line-height: 1.5; }
.team { margin-top: 28px; display: flex; gap: 18px; align-items: center; background: var(--night-2); border: 1px solid #23405c; border-radius: 12px; padding: 20px 22px; max-width: 640px; }
.team img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex: none; }
.team p { color: var(--night-text); font-size: 14.5px; }
.team b { color: #fff; }

/* FAQ */
.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px; margin-top: 44px; }
.faq details { border-top: 1px solid var(--line); padding: 20px 0; }
.faq summary { font-weight: 700; font-size: 17.5px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 14px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--cyan); font-weight: 400; font-size: 24px; line-height: .8; }
.faq details[open] summary::after { content: "–"; }
.faq details p { font-size: 15px; margin-top: 10px; }

/* Final CTA + form */
.final { background: radial-gradient(900px 500px at 15% 30%, #0b2230, transparent 60%), var(--night); padding: 110px 0; }
.final-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.final h2 { font-size: clamp(34px, 4vw, 50px); line-height: 1.06; font-weight: 800; margin-top: 22px; background: linear-gradient(95deg, #fff 0%, #7ef0fb 55%, #00e5ff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.final p { color: var(--night-text); font-size: 18px; margin-top: 20px; }
.final .mail { color: #cbd5e1; font-size: 15px; }
.final .mail a { color: var(--cyan-bright); font-weight: 600; text-decoration: none; }

.form { background: #fff; border-radius: 16px; padding: 32px; display: grid; gap: 14px; }
.form h3 { font-size: 20px; }
.form label { display: grid; gap: 6px; font-size: 12.5px; font-weight: 600; color: #334155; }
.form input[type=text], .form input[type=email], .form textarea {
  font: 400 15px "Inter", sans-serif; color: var(--ink); border: 1px solid #cbd5e1; border-radius: 8px; background: #f8fafc; padding: 11px 12px; width: 100%;
}
.form input:focus, .form textarea:focus { outline: 2px solid var(--cyan); border-color: var(--cyan); background: #fff; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form fieldset { border: 0; }
.form legend { font-size: 12.5px; font-weight: 600; color: #334155; margin-bottom: 8px; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opts label { display: inline-block; }
.opts input { position: absolute; opacity: 0; pointer-events: none; }
.opts span { display: inline-block; font-size: 13px; font-weight: 500; border: 1px solid #cbd5e1; border-radius: 999px; padding: 7px 13px; color: #334155; cursor: pointer; }
.opts input:checked + span { border-color: var(--cyan); background: var(--cyan-soft); color: var(--cyan-dark); font-weight: 600; }
.opts input:focus-visible + span { outline: 3px solid var(--cyan-bright); outline-offset: 2px; }
.form .btn { width: 100%; padding: 16px; margin-top: 4px; }
.form .note { font-size: 12.5px; color: var(--muted); text-align: center; }
.hp { position: absolute !important; left: -9999px; }
.notice { border-radius: 8px; padding: 12px 14px; font-size: 14px; }
.notice.ok { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.notice.err { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }

/* Footer */
.site-footer { background: #04080d; color: #94a3b8; padding: 64px 0 30px; border-top: 1px solid var(--night-line); }
.cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.site-footer h4 { color: #fff; font-size: 13px; margin-bottom: 14px; letter-spacing: .06em; text-transform: uppercase; }
.site-footer li { font-size: 14.5px; margin-bottom: 9px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; }
.tagline { font-size: 14.5px; margin-top: 14px; max-width: 300px; color: #94a3b8; }
.social { margin-top: 16px; width: 36px; height: 36px; border-radius: 8px; border: 1px solid #1d2b3d; display: inline-flex; align-items: center; justify-content: center; color: #cbd5e1; font-weight: 700; font-size: 13px; }
.bottom { border-top: 1px solid #111c2b; margin-top: 44px; padding-top: 22px; font-size: 13px; color: #64748b; }

/* ---------- Tablet ---------- */
@media (max-width: 1024px) {
  .hero-grid, .split, .cred, .final-grid { grid-template-columns: 1fr; gap: 48px; }
  .grid3 { grid-template-columns: 1fr 1fr; }
  .tiles { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .steps::before { display: none; }
  .results { grid-template-columns: 1fr; }
  .cols { grid-template-columns: 1fr 1fr; }
}

/* ---------- Phone ---------- */
@media (max-width: 760px) {
  .section { padding: 72px 0; }
  .hero { padding: 64px 0 72px; }
  .menu-btn { display: block; }
  .links {
    display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch;
    gap: 0; background: var(--night); border-bottom: 1px solid var(--night-line); padding: 8px 20px 20px;
  }
  .links.open { display: flex; }
  .links a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--night-line); }
  .links .btn { margin-top: 16px; }
  .grid3, .tiles, .faq, .row2, .cols { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .badges { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .badges figure { padding: 14px 8px; }
  .badges figcaption { font-size: 12px; }
  .lead, .sub { font-size: 17px; }
  .layers { padding: 20px; }
  .form { padding: 24px; }
}
