:root {
  --ink: #06131c;
  --ink-2: #0a1d2a;
  --panel: #0d2332;
  --panel-soft: #102b3b;
  --paper: #f7fafb;
  --paper-2: #eef5f6;
  --text: #d8e6ec;
  --muted: #91aab5;
  --heading: #f4fbfd;
  --cyan: #4ee9ef;
  --cyan-2: #18bfc9;
  --mint: #8ff0c5;
  --amber: #f6d77b;
  --line: rgba(152, 201, 215, 0.16);
  --line-strong: rgba(152, 201, 215, 0.28);
  --shadow: 0 24px 70px rgba(0,0,0,0.24);
  --radius: 20px;
  --radius-sm: 12px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 0%, rgba(31, 189, 199, .12), transparent 30rem),
    radial-gradient(circle at 95% 15%, rgba(143, 240, 197, .08), transparent 32rem),
    var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }

.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.narrow { width: min(calc(100% - 40px), 820px); margin-inline: auto; }

.skip-link {
  position: fixed; left: 16px; top: -80px; z-index: 1000;
  background: var(--cyan); color: var(--ink); padding: 10px 14px; border-radius: 8px;
  font-weight: 800; text-decoration: none;
}
.skip-link:focus { top: 16px; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background .2s ease, border-color .2s ease, backdrop-filter .2s ease;
}
.site-header.scrolled {
  background: rgba(6, 19, 28, .88);
  border-color: var(--line);
  backdrop-filter: blur(16px);
}
.nav-wrap { height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; flex: 0 0 auto; }
.brand img { width: 150px; height: auto; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { color: #bcd0d8; text-decoration: none; font-size: .94rem; font-weight: 650; transition: color .2s ease; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: white; }
.nav-links .nav-cta { color: var(--ink); background: var(--cyan); padding: 11px 16px; border-radius: 10px; }
.nav-toggle { display: none; background: none; color: white; border: 1px solid var(--line-strong); border-radius: 10px; padding: 8px 10px; }

.eyebrow {
  display: inline-flex; gap: 9px; align-items: center;
  text-transform: uppercase; letter-spacing: .16em; font-size: .73rem; font-weight: 850; color: var(--mint);
}
.eyebrow::before { content: ""; width: 18px; height: 1px; background: currentColor; }

.hero { min-height: 700px; padding: 92px 0 70px; position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 60px; }
.hero h1, .page-hero h1 {
  margin: 20px 0 22px; color: var(--heading); letter-spacing: -.045em; line-height: 1.02;
  font-size: clamp(3.2rem, 7.3vw, 6.6rem); font-weight: 760;
}
.hero h1 .accent, .page-hero .accent { color: var(--cyan); }
.hero-copy { color: #a9c0c9; font-size: clamp(1.05rem, 1.4vw, 1.24rem); max-width: 720px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 46px; padding: 12px 18px; border-radius: 11px; text-decoration: none; font-weight: 800; border: 1px solid transparent; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: var(--ink); background: var(--cyan); }
.btn-primary:hover { background: #75f3f6; }
.btn-secondary { color: white; border-color: var(--line-strong); background: rgba(255,255,255,.025); }
.btn-secondary:hover { border-color: rgba(78,233,239,.55); background: rgba(78,233,239,.06); }

.hero-proof { margin-top: 42px; display: flex; gap: 22px 34px; flex-wrap: wrap; color: #8ea9b4; font-size: .9rem; }
.hero-proof span { display: inline-flex; gap: 8px; align-items: center; }
.hero-proof span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 16px rgba(143,240,197,.6); }

.hero-visual { position: relative; min-height: 500px; display: grid; place-items: center; }
.hero-visual::before { content: ""; position: absolute; inset: 6% 4%; background: radial-gradient(circle, rgba(78,233,239,.14), transparent 62%); filter: blur(22px); }
.hero-visual img { width: min(100%, 560px); filter: drop-shadow(0 30px 40px rgba(0,0,0,.32)); position: relative; }

.section { padding: 98px 0; }
.section-alt { background: rgba(255,255,255,.02); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 42px; }
.section-head h2, .split h2, .cta-panel h2 { margin: 12px 0 0; color: white; font-size: clamp(2rem, 4.4vw, 3.7rem); line-height: 1.06; letter-spacing: -.035em; }
.section-head p { max-width: 560px; color: var(--muted); margin: 0; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.card {
  background: linear-gradient(180deg, rgba(17,45,60,.83), rgba(10,29,42,.86));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  box-shadow: inset 0 1px rgba(255,255,255,.02);
}
.card:hover { border-color: rgba(78,233,239,.27); }
.card h3 { margin: 18px 0 10px; color: white; font-size: 1.3rem; letter-spacing: -.015em; }
.card p { margin: 0; color: var(--muted); }
.card .card-link { margin-top: 22px; color: var(--cyan); text-decoration: none; font-weight: 800; display: inline-flex; gap: 8px; }
.icon-box { width: 46px; height: 46px; border: 1px solid rgba(78,233,239,.3); background: rgba(78,233,239,.07); border-radius: 12px; display: grid; place-items: center; color: var(--cyan); }
.icon-box svg { width: 23px; height: 23px; }

.domain-strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.domain-strip div { background: #081923; padding: 22px 14px; text-align: center; color: #acc3cb; font-size: .9rem; font-weight: 750; }
.domain-strip strong { color: white; display: block; margin-bottom: 3px; }

.product-card { position: relative; overflow: hidden; min-height: 320px; display: flex; flex-direction: column; }
.product-card::after { content: ""; position: absolute; width: 190px; height: 190px; border-radius: 50%; background: radial-gradient(circle, rgba(78,233,239,.18), transparent 70%); right: -50px; top: -50px; pointer-events: none; }
.product-kicker { color: var(--mint); text-transform: uppercase; letter-spacing: .13em; font-size: .72rem; font-weight: 900; }
.product-card h3 { font-size: 1.55rem; max-width: 280px; }
.tag-row { display: flex; gap: 8px; flex-wrap: wrap; margin: auto 0 0; padding-top: 24px; }
.tag { font-size: .78rem; color: #b9ced5; border: 1px solid var(--line); padding: 6px 9px; border-radius: 999px; background: rgba(255,255,255,.02); }

.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: start; }
.split-copy > p { color: var(--muted); font-size: 1.05rem; }
.check-list { display: grid; gap: 14px; margin: 28px 0 0; padding: 0; list-style: none; }
.check-list li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; color: #bed1d8; }
.check-list li::before { content: "✓"; color: var(--mint); font-weight: 900; }

.tech-stack { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.tech-pill { padding: 14px; border: 1px solid var(--line); border-radius: 12px; color: #a9c0c9; background: rgba(255,255,255,.018); text-align: center; font-size: .86rem; }

.feature-panel {
  position: relative; overflow: hidden; padding: 50px; border-radius: 28px;
  background: linear-gradient(135deg, rgba(15,53,67,.94), rgba(8,25,35,.98)); border: 1px solid rgba(78,233,239,.22);
  box-shadow: var(--shadow);
}
.feature-panel::after { content: ""; position: absolute; width: 360px; height: 360px; right: -100px; bottom: -180px; border-radius: 50%; border: 1px solid rgba(78,233,239,.12); box-shadow: 0 0 0 60px rgba(78,233,239,.025), 0 0 0 120px rgba(78,233,239,.018); }
.feature-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; position: relative; z-index: 1; }
.feature-grid h2 { color: white; font-size: clamp(2rem, 4vw, 3.3rem); margin: 12px 0 18px; line-height: 1.05; letter-spacing: -.035em; }
.feature-grid p { color: #a9c2ca; }
.feature-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.feature-meta div { padding: 18px; border-radius: 12px; border: 1px solid var(--line); background: rgba(0,0,0,.12); }
.feature-meta strong { color: white; display: block; font-size: .88rem; }
.feature-meta span { color: var(--muted); font-size: .84rem; }

.steps { counter-reset: steps; display: grid; gap: 14px; }
.step { counter-increment: steps; padding: 22px 24px 22px 70px; border-left: 1px solid var(--line-strong); position: relative; }
.step::before { content: "0" counter(steps); position: absolute; left: 0; top: 19px; color: var(--cyan); font-weight: 900; letter-spacing: .08em; }
.step h3 { margin: 0 0 6px; color: white; }
.step p { margin: 0; color: var(--muted); }

.quote { font-size: 1.3rem; color: #d7e9ee; padding-left: 24px; border-left: 2px solid var(--cyan); max-width: 820px; }

.page-hero { padding: 90px 0 74px; border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 950px; font-size: clamp(3rem, 6vw, 5.3rem); }
.page-hero p { max-width: 760px; color: #a9c0c9; font-size: 1.12rem; }
.breadcrumb { color: #76939e; font-size: .85rem; }
.breadcrumb a { color: #9eb5be; text-decoration: none; }

.detail-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.detail-block { border-top: 1px solid var(--line-strong); padding: 28px 0 10px; }
.detail-block h3 { margin: 0 0 12px; color: white; font-size: 1.28rem; }
.detail-block p, .detail-block li { color: var(--muted); }
.detail-block ul { margin: 12px 0 0; padding-left: 20px; }

.spec-table { width: 100%; border-collapse: collapse; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.spec-table th, .spec-table td { padding: 15px 17px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.spec-table th { color: #dcebf0; background: rgba(255,255,255,.025); width: 30%; }
.spec-table td { color: var(--muted); }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }

.notice { border: 1px solid rgba(246,215,123,.3); background: rgba(246,215,123,.06); border-radius: 12px; padding: 14px 16px; color: #d8cfae; font-size: .9rem; }
.notice strong { color: var(--amber); }

.cta-panel { text-align: center; padding: 64px 30px; border: 1px solid var(--line); border-radius: 28px; background: radial-gradient(circle at 50% 0%, rgba(78,233,239,.09), transparent 42%), rgba(255,255,255,.018); }
.cta-panel p { max-width: 650px; margin: 18px auto 28px; color: var(--muted); }

.contact-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 45px; }
.contact-card { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.018); }
.contact-card h3 { margin-top: 0; color: white; }
.contact-line { padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-line:last-child { border-bottom: 0; }
.contact-line small { display: block; color: #708d98; text-transform: uppercase; letter-spacing: .11em; font-weight: 800; }
.contact-line a, .contact-line span { color: #d4e5ea; text-decoration: none; }
.form { display: grid; gap: 14px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label { color: #bdd0d6; display: block; margin-bottom: 7px; font-size: .87rem; font-weight: 700; }
.field input, .field textarea, .field select { width: 100%; border: 1px solid var(--line-strong); border-radius: 10px; background: #071923; color: white; padding: 13px 14px; outline: none; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--cyan-2); box-shadow: 0 0 0 3px rgba(78,233,239,.08); }
.field textarea { min-height: 150px; resize: vertical; }
.form-note { color: #738f99; font-size: .8rem; }

.site-footer { border-top: 1px solid var(--line); padding: 55px 0 30px; background: rgba(0,0,0,.08); }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 46px; }
.footer-brand img { width: 150px; margin-bottom: 18px; }
.footer-brand p { color: #7f9ba5; max-width: 380px; }
.footer-col h4 { color: white; margin: 0 0 15px; }
.footer-col a { display: block; color: #819ca6; text-decoration: none; padding: 4px 0; }
.footer-col a:hover { color: var(--cyan); }
.footer-bottom { margin-top: 42px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; color: #66828d; font-size: .82rem; }

.reveal { opacity: 0; transform: translateY(14px); transition: opacity .55s ease, transform .55s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; }
  .nav-links { display: none; position: absolute; left: 20px; right: 20px; top: 72px; padding: 18px; flex-direction: column; align-items: stretch; background: rgba(6,19,28,.98); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
  .nav-links.open { display: flex; }
  .nav-links .nav-cta { text-align: center; }
  .hero-grid, .feature-grid, .split, .contact-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 70px; }
  .hero-visual { min-height: 390px; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .domain-strip { grid-template-columns: repeat(3, 1fr); }
  .tech-stack { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
  .footer-grid .footer-col:last-child { grid-column: 2; }
}

@media (max-width: 680px) {
  .container, .narrow { width: min(calc(100% - 28px), var(--max)); }
  .nav-wrap { height: 70px; }
  .brand img { width: 138px; }
  .hero { min-height: auto; padding: 62px 0 56px; }
  .hero h1 { font-size: clamp(2.8rem, 15vw, 4.7rem); }
  .hero-visual { min-height: 310px; }
  .section { padding: 72px 0; }
  .section-head { display: block; }
  .section-head p { margin-top: 18px; }
  .grid-3, .grid-2, .detail-grid, .form-grid { grid-template-columns: 1fr; }
  .domain-strip { grid-template-columns: 1fr 1fr; }
  .feature-panel { padding: 28px 22px; }
  .feature-meta { grid-template-columns: 1fr; }
  .tech-stack { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-grid .footer-col:last-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
  .spec-table th, .spec-table td { display: block; width: 100%; }
  .spec-table th { border-bottom: 0; padding-bottom: 4px; }
  .spec-table td { padding-top: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .site-footer, .no-print { display: none !important; }
  body { background: white; color: #17212b; }
  .page-hero { padding: 20px 0; border-bottom-color: #ddd; }
  .page-hero h1, .section h2, .card h3, .detail-block h3 { color: #06131c !important; }
  .page-hero p, .detail-block p, .detail-block li, .spec-table td, .card p { color: #394b56 !important; }
  .section { padding: 28px 0; }
  .card, .feature-panel, .cta-panel { background: white !important; border-color: #d8e0e4 !important; box-shadow: none; }
  .container { width: 100%; max-width: none; }
}

/* Product portfolio */
.portfolio-note { margin-top: 24px; max-width: 760px; padding: 12px 15px; border-left: 2px solid var(--cyan); background: rgba(78,233,239,.045); color: #9fbbc4; font-size: .9rem; }
.product-topline { display: flex; align-items: center; justify-content: space-between; gap: 14px; position: relative; z-index: 1; }
.product-status { font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 900; color: #a9c4cd; border: 1px solid var(--line-strong); padding: 5px 8px; border-radius: 999px; white-space: nowrap; background: rgba(255,255,255,.025); }
.product-meta { margin-top: 20px; padding: 14px 15px; border: 1px solid var(--line); border-radius: 11px; background: rgba(0,0,0,.12); position: relative; z-index: 1; }
.product-meta strong { display: block; color: var(--cyan); font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 5px; }
.product-meta span { display: block; color: #9fb7c0; font-size: .88rem; line-height: 1.55; }
.product-card > p, .product-card > h3, .product-card > .tag-row { position: relative; z-index: 1; }
.product-card h3 { max-width: 100%; }
@media (max-width: 480px) { .product-topline { align-items: flex-start; flex-direction: column; } }
