:root {
  --bg: #08111f;
  --bg-elev: #0d1a2c;
  --panel: rgba(12, 26, 43, 0.86);
  --panel-strong: #11233a;
  --border: rgba(117, 191, 255, 0.24);
  --border-strong: rgba(134, 223, 255, 0.5);
  --text: #eef7ff;
  --muted: #9cb6ce;
  --accent: #65dfff;
  --accent-2: #47a6ff;
  --glow: rgba(101, 223, 255, 0.22);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: "Segoe UI", "Hiragino Sans", "Yu Gothic UI", sans-serif;
  background:
    radial-gradient(circle at 20% 20%, rgba(70, 166, 255, 0.14), transparent 30%),
    radial-gradient(circle at 80% 12%, rgba(101, 223, 255, 0.12), transparent 28%),
    radial-gradient(circle at 65% 78%, rgba(90, 118, 255, 0.12), transparent 32%),
    linear-gradient(180deg, #07111f 0%, #091524 55%, #081019 100%);
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(180deg, rgba(255,255,255,.5), transparent 80%);
}

a { color: inherit; }
img { display: block; max-width: 100%; }

.shell {
  width: min(1160px, calc(100% - 2rem));
  margin: 0 auto;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(14px);
  background: rgba(5, 12, 21, 0.7);
  border-bottom: 1px solid rgba(117, 191, 255, 0.12);
}
.site-header .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 0;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  text-decoration: none;
}
.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  position: relative;
  border: 1px solid rgba(101, 223, 255, 0.32);
  background:
    radial-gradient(circle at 35% 35%, rgba(101,223,255,0.95), rgba(71,166,255,0.2) 32%, transparent 36%),
    conic-gradient(from 210deg, rgba(101,223,255,0.75), rgba(71,166,255,0.12), rgba(101,223,255,0.8), rgba(71,166,255,0.22), rgba(101,223,255,0.75));
  box-shadow:
    inset 0 0 18px rgba(101, 223, 255, 0.18),
    0 0 18px rgba(101, 223, 255, 0.14);
}
.brand-mark::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 11px;
  border: 1px solid rgba(255,255,255,0.4);
}
.brand-copy { display: grid; gap: 0.1rem; }
.brand-title {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.brand-sub {
  font-size: 0.78rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.nav {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
}
.nav a {
  text-decoration: none;
  padding: 0.58rem 0.9rem;
  border-radius: 999px;
  font-size: 0.9rem;
  color: var(--muted);
  border: 1px solid transparent;
}
.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--text);
  background: rgba(101, 223, 255, 0.08);
  border-color: rgba(101, 223, 255, 0.18);
}

main { padding: 3rem 0 5rem; }
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
  gap: 1.4rem;
  align-items: stretch;
}
.hero-panel,
.hero-side,
.section-panel,
.policy-card,
.contact-card,
.app-card {
  position: relative;
  background: linear-gradient(180deg, rgba(18, 34, 54, 0.92), rgba(9, 19, 32, 0.96));
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: var(--shadow);
}
.hero-panel,
.hero-side,
.section-panel,
.policy-card,
.contact-card {
  padding: 1.6rem;
}
.hero-panel::before,
.hero-side::before,
.section-panel::before,
.policy-card::before,
.contact-card::before,
.app-card::before {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 20px;
  border: 1px solid rgba(117, 191, 255, 0.08);
  pointer-events: none;
}
.kicker {
  font-size: 0.78rem;
  color: #83d8ff;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}
.hero h1,
.page-title {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 4.25rem);
  line-height: 0.96;
  letter-spacing: -0.03em;
}
.hero h1 strong,
.page-title strong { color: #8df3ff; }
.lead {
  margin: 1rem 0 0;
  color: #d7ebff;
  font-size: clamp(1rem, 1.35vw, 1.15rem);
  line-height: 1.7;
  max-width: 58ch;
}
.feature-row {
  margin-top: 1.35rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.chip {
  padding: 0.58rem 0.85rem;
  border-radius: 999px;
  background: rgba(101, 223, 255, 0.08);
  border: 1px solid rgba(101, 223, 255, 0.16);
  color: #e8fbff;
  font-size: 0.88rem;
}
.cta-row {
  margin-top: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.8rem 1.15rem;
  border-radius: 14px;
  text-decoration: none;
  border: 1px solid rgba(101, 223, 255, 0.22);
  font-weight: 700;
  letter-spacing: 0.01em;
}
.btn-primary {
  color: #07141c;
  background: linear-gradient(135deg, #69e4ff, #86c7ff 50%, #c0f3ff);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.12) inset, 0 0 22px rgba(101, 223, 255, 0.18);
}
.btn-secondary {
  color: var(--text);
  background: rgba(117, 191, 255, 0.06);
}
.hero-side {
  overflow: hidden;
  min-height: 100%;
}
.hero-side .preview-stack {
  position: relative;
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.hero-side .preview-card {
  position: absolute;
  width: clamp(180px, 62%, 280px);
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 18px 35px rgba(0,0,0,0.35);
}
.hero-side .preview-card:nth-child(1) { transform: translate(-26%, 6%) rotate(-9deg); z-index: 1; }
.hero-side .preview-card:nth-child(2) { transform: translate(0, -3%) rotate(0deg); z-index: 3; }
.hero-side .preview-card:nth-child(3) { transform: translate(26%, 9%) rotate(8deg); z-index: 2; }
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin: 3rem 0 1rem;
}
.section-head h2 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}
.section-head p {
  margin: 0;
  color: var(--muted);
}
.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.app-card {
  text-decoration: none;
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}
.app-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
  box-shadow: 0 24px 70px rgba(0,0,0,.5), 0 0 0 1px rgba(101, 223, 255, 0.12);
}
.app-card-media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-bottom: 1px solid rgba(117,191,255,0.12);
}
.app-card-media img { width: 100%; height: 100%; object-fit: cover; }
.app-card-body { padding: 1rem 1rem 1.15rem; }
.app-card h3 { margin: 0; font-size: 1.15rem; }
.app-card p {
  margin: 0.55rem 0 0;
  color: var(--muted);
  line-height: 1.6;
  min-height: 3.2em;
}
.app-card-meta {
  margin-top: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  color: #8fdcff;
  font-size: 0.86rem;
}
.link-arrow { font-weight: 700; }
.footer {
  padding: 1.4rem 0 3rem;
  color: var(--muted);
  font-size: 0.92rem;
}
.footer .shell {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer a { text-decoration: none; color: #b9d8ef; }
.page-stack {
  display: grid;
  gap: 1rem;
  margin-top: 1.25rem;
}
.policy-card h2,
.contact-card h2 { margin: 0 0 0.8rem; font-size: 1.35rem; }
.policy-card p,
.policy-card li,
.contact-card p,
.contact-card li {
  color: #d7ebff;
  line-height: 1.8;
}
.policy-card ul,
.contact-card ul { margin: 0.75rem 0 0; padding-left: 1.15rem; }
.note {
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border-radius: 16px;
  background: rgba(101, 223, 255, 0.06);
  border: 1px solid rgba(101, 223, 255, 0.12);
  color: var(--muted);
}
.contact-actions { display: flex; gap: 0.8rem; flex-wrap: wrap; margin-top: 1rem; }
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; }
  .grid { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .site-header .shell { align-items: start; flex-direction: column; }
  .hero h1,
  .page-title { font-size: clamp(2rem, 11vw, 3rem); }
  .hero-side { min-height: 420px; }
  .hero-side .preview-card { width: min(72vw, 250px); }
  .hero-side .preview-card:nth-child(1) { transform: translate(-18%, 8%) rotate(-7deg); }
  .hero-side .preview-card:nth-child(3) { transform: translate(18%, 10%) rotate(7deg); }
  main { padding-top: 2rem; }
}
