/* Zyroks — main stylesheet */
:root {
  --navy-900: #070f24;
  --navy-800: #0b1733;
  --navy-700: #13224a;
  --ink: #0f172a;
  --text: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-soft: #f6f8fc;
  --cyan: #22d3ee;
  --indigo: #6366f1;
  --accent: #4f46e5;
  --grad: linear-gradient(135deg, #22d3ee 0%, #6366f1 100%);
  --radius: 14px;
  --shadow: 0 10px 30px -12px rgba(15, 23, 42, .18);
  --shadow-lg: 0 24px 50px -20px rgba(15, 23, 42, .28);
  --max: 1180px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.65; font-size: 17px; }
img, svg { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0 0 .6em; font-weight: 700; letter-spacing: -.02em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--navy-800); color: #cbd5e1; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.section--dark .section-head p { color: #94a3b8; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.section--dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--cyan); }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.skip-link { position: absolute; left: -999px; top: 8px; background: #fff; color: var(--ink); padding: 10px 16px; border-radius: 8px; z-index: 1000; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 26px; border-radius: 999px; font-weight: 600; font-size: 1rem; border: 2px solid transparent; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; text-decoration: none !important; font-family: inherit; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 24px -10px rgba(99, 102, 241, .7); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(99, 102, 241, .8); }
.btn-ghost { border-color: rgba(255, 255, 255, .35); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .08); }
.btn-outline { border-color: var(--accent); color: var(--accent); }
.btn-outline:hover { background: var(--accent); color: #fff; }
.btn[disabled] { opacity: .65; cursor: progress; transform: none; }

/* Header */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 100; transition: background .3s ease, box-shadow .3s ease; }
.site-header.scrolled, .site-header.menu-open { background: rgba(7, 15, 36, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 6px 20px -10px rgba(0, 0, 0, .5); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; color: #fff; }
.brand img { height: 38px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 34px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: #cbd5e1; font-weight: 500; font-size: .98rem; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: #fff; text-decoration: none; }
.nav-links a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--cyan); padding-bottom: 4px; }
.nav-links .btn { padding: 10px 20px; color: #fff; box-shadow: none; }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; padding: 10px; }
.nav-toggle span { display: block; height: 2px; background: #fff; border-radius: 2px; margin: 5px 0; transition: transform .25s, opacity .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero, .page-hero { position: relative; overflow: hidden; background: radial-gradient(1200px 600px at 85% -10%, rgba(99, 102, 241, .35), transparent 60%), radial-gradient(900px 500px at -10% 110%, rgba(34, 211, 238, .22), transparent 60%), var(--navy-900); color: #cbd5e1; }
.hero { padding: 180px 0 120px; }
.hero h1, .page-hero h1 { color: #fff; }
.hero .lead { font-size: 1.22rem; max-width: 640px; color: #a5b4cc; margin-bottom: 36px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-note { margin-top: 28px; font-size: .92rem; color: #7c8db0; display: flex; gap: 22px; flex-wrap: wrap; }
.hero-note span::before { content: "✓"; color: var(--cyan); margin-right: 8px; font-weight: 700; }
.hero-visual { position: relative; }
.hero-card { background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); border-radius: 20px; padding: 28px; backdrop-filter: blur(6px); box-shadow: var(--shadow-lg); }
.hero-card h3 { color: #fff; font-size: 1rem; margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.hero-card h3::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 4px rgba(52, 211, 153, .2); }
.flow { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.flow li { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 12px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .06); color: #dbe4f3; font-size: .95rem; }
.flow .num { flex: none; width: 30px; height: 30px; border-radius: 8px; background: var(--grad); color: #fff; font-weight: 700; font-size: .85rem; display: grid; place-items: center; }
.orb { position: absolute; border-radius: 50%; filter: blur(40px); opacity: .5; pointer-events: none; animation: float 12s ease-in-out infinite; }
.orb-1 { width: 220px; height: 220px; background: #22d3ee; top: -40px; right: -40px; }
.orb-2 { width: 180px; height: 180px; background: #6366f1; bottom: -50px; left: -30px; animation-delay: -6s; }
@keyframes float { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(16px, -20px); } }

.page-hero { padding: 160px 0 90px; text-align: center; }
.page-hero p { max-width: 720px; margin: 0 auto; font-size: 1.15rem; color: #a5b4cc; }

/* Cards & grids */
.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; height: 100%; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #c7d2fe; }
.card p { color: var(--muted); margin-bottom: 0; }
.card .link { display: inline-block; margin-top: 18px; font-weight: 600; }
.icon { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(34, 211, 238, .15), rgba(99, 102, 241, .15)); color: var(--accent); margin-bottom: 20px; }
.icon svg { width: 26px; height: 26px; }
.section--dark .card { background: rgba(255, 255, 255, .03); border-color: rgba(255, 255, 255, .08); }
.section--dark .card p { color: #94a3b8; }
.section--dark .card:hover { border-color: rgba(34, 211, 238, .4); box-shadow: none; }
.section--dark .icon { color: var(--cyan); }

/* Process */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.step { position: relative; padding: 30px 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.step::before { counter-increment: step; content: "0" counter(step); display: block; font-size: 2.2rem; font-weight: 800; margin-bottom: 10px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.step p { color: var(--muted); margin: 0; font-size: .97rem; }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.checklist { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 16px; }
.checklist li { position: relative; padding-left: 38px; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 3px; width: 24px; height: 24px; border-radius: 50%; background: var(--grad) center / 100% no-repeat; }
.checklist li::after { content: ""; position: absolute; left: 8px; top: 8px; width: 8px; height: 12px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.checklist strong { color: var(--ink); display: block; }
.section--dark .checklist strong { color: #fff; }
.panel { background: var(--navy-800); border-radius: 20px; padding: 40px; color: #cbd5e1; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.panel h3 { color: #fff; }
.panel::after { content: ""; position: absolute; width: 260px; height: 260px; right: -90px; top: -90px; border-radius: 50%; background: var(--grad); opacity: .25; filter: blur(30px); }
.panel ul { margin: 0; padding-left: 1.1em; }
.panel li { margin-bottom: 10px; }

/* Service detail */
.service { display: grid; grid-template-columns: 340px 1fr; gap: 48px; padding: 56px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 100px; }
.service:last-child { border-bottom: 0; }
.service-intro p { color: var(--muted); }
.service-body h4 { font-size: .85rem; text-transform: uppercase; letter-spacing: .12em; color: var(--accent); margin: 0 0 12px; }
.service-body ul { margin: 0 0 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 28px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { font-size: .85rem; padding: 6px 12px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line); color: var(--text); }

/* CTA */
.cta { position: relative; overflow: hidden; border-radius: 24px; padding: 64px; background: radial-gradient(600px 300px at 100% 0%, rgba(34, 211, 238, .3), transparent 60%), radial-gradient(600px 300px at 0% 100%, rgba(99, 102, 241, .4), transparent 60%), var(--navy-900); color: #cbd5e1; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta h2 { color: #fff; margin-bottom: 10px; }
.cta p { margin: 0; max-width: 560px; }

/* Values */
.value { padding-left: 20px; border-left: 3px solid; border-image: var(--grad) 1; }
.value p { color: var(--muted); margin: 0; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 56px; align-items: start; }
.contact-info .item { display: flex; gap: 16px; margin-bottom: 26px; }
.contact-info .icon { margin: 0; flex: none; }
.contact-info h3 { margin-bottom: 4px; font-size: 1.05rem; }
.contact-info p { margin: 0; color: var(--muted); }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 40px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; color: var(--ink); font-size: .93rem; margin-bottom: 6px; }
.field label .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 10px; font: inherit; font-size: 1rem; color: var(--ink); background: #fff; transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--indigo); box-shadow: 0 0 0 4px rgba(99, 102, 241, .15); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: #dc2626; }
.field .error { display: block; color: #dc2626; font-size: .85rem; margin-top: 4px; min-height: 0; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: var(--muted); margin-bottom: 22px; }
.consent input { margin-top: 5px; width: 18px; height: 18px; accent-color: var(--accent); }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status { display: none; padding: 14px 16px; border-radius: 10px; margin-bottom: 20px; font-weight: 500; }
.form-status.show { display: block; }
.form-status.success { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.form-status.error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border: 1px solid var(--line); border-radius: 12px; padding: 18px 22px; margin-bottom: 12px; background: #fff; }
.faq summary { cursor: pointer; font-weight: 600; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--accent); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 12px 0 0; color: var(--muted); }

/* Prose (privacy) */
.prose { max-width: 820px; margin: 0 auto; }
.prose h2 { font-size: 1.5rem; margin-top: 2em; }
.prose p, .prose li { color: var(--text); }

/* 404 */
.notfound { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 140px 24px 80px; }
.notfound .code { font-size: clamp(5rem, 16vw, 9rem); font-weight: 800; line-height: 1; margin-bottom: 10px; }

/* Footer */
.site-footer { background: var(--navy-900); color: #94a3b8; padding: 72px 0 32px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { color: #94a3b8; }
.site-footer a:hover { color: #fff; }
.site-footer .brand img { height: 34px; margin-bottom: 16px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 48px; padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .88rem; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1024px) {
  .grid-4, .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .service { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 880px) {
  .nav-toggle { display: block; }
  .nav-links { position: fixed; top: 76px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: rgba(7, 15, 36, .98); padding: 12px 24px 28px; transform: translateY(-12px); opacity: 0; visibility: hidden; transition: all .25s ease; }
  .nav-links.open { transform: none; opacity: 1; visibility: visible; }
  .nav-links li { border-bottom: 1px solid rgba(255, 255, 255, .06); }
  .nav-links li:last-child { border: 0; padding-top: 16px; }
  .nav-links a { display: block; padding: 14px 0; }
  .nav-links a[aria-current="page"] { box-shadow: none; color: var(--cyan); }
  .nav-links .btn { justify-content: center; }
  .hero-grid, .split, .contact-grid, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .hero { padding: 140px 0 90px; }
  .section { padding: 72px 0; }
  .cta { padding: 44px 32px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .grid-4, .steps, .footer-grid, .form-row, .service-body ul { grid-template-columns: 1fr; }
  .form-card, .panel { padding: 28px 22px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
