
*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --bg: #08111f;
  --bg-soft: #0d1830;
  --surface: rgba(255, 255, 255, 0.06);
  --surface-strong: rgba(255, 255, 255, 0.1);
  --text: #f4f7fb;
  --muted: #b5c2d8;
  --line: rgba(255, 255, 255, 0.12);
  --primary: #7fb6ff;
  --primary-strong: #a8ceff;
  --accent: #ff5a8a;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  --radius: 24px;
  --radius-sm: 16px;
  --max: 1120px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Arial, Helvetica, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(127, 182, 255, 0.16), transparent 32%),
    radial-gradient(circle at top right, rgba(255, 90, 138, 0.16), transparent 28%),
    linear-gradient(180deg, #08111f 0%, #0b1426 100%);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  color: var(--primary-strong);
}

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

.container {
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(14px);
  background: rgba(8, 17, 31, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav {
  min-height: 72px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--text);
  font-weight: 700;
  letter-spacing: 0.01em;
}

.brand-mark {
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.08);
}

.brand-stack {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-stack small {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.nav-links a {
  color: var(--muted);
  padding: 0.7rem 0.95rem;
  border-radius: 999px;
}

.nav-links a.active,
.nav-links a:hover {
  color: var(--text);
  background: rgba(255,255,255,0.07);
}

.hero {
  padding: 5.5rem 0 4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.4rem;
  align-items: stretch;
}

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: 2rem;
}

.eyebrow {
  margin: 0 0 0.6rem;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--primary);
  font-weight: 700;
}

h1, h2, h3 {
  margin: 0 0 0.85rem;
  line-height: 1.1;
}

h1 {
  font-size: clamp(2.7rem, 6vw, 4.8rem);
  max-width: 11ch;
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.5rem);
}

h3 {
  font-size: 1.15rem;
}

.lead {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 60ch;
}

.hero-actions,
.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.6rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.82rem 1.2rem;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  transition: 0.18s ease;
}

.button-primary {
  background: linear-gradient(135deg, #7fb6ff, #aacfff);
  color: #08111f;
}

.button-secondary {
  background: transparent;
  border-color: var(--line);
  color: var(--text);
}

.button:hover {
  transform: translateY(-1px);
}

.hero-card {
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.stat-list {
  display: grid;
  gap: 0.9rem;
}

.stat {
  padding: 1rem;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
}

.stat strong {
  display: block;
  font-size: 1.2rem;
  margin-bottom: 0.15rem;
}

main section {
  padding: 1rem 0 4rem;
}

.grid-3,
.grid-2 {
  display: grid;
  gap: 1.2rem;
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  padding: 1.4rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card p,
.copy,
.list,
.domain-note {
  color: var(--muted);
}

.app-card {
  display: grid;
  gap: 0.75rem;
}

.app-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: fit-content;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(127, 182, 255, 0.12);
  border: 1px solid rgba(127, 182, 255, 0.22);
  color: var(--primary);
  font-size: 0.88rem;
  font-weight: 700;
}

.list {
  margin: 0;
  padding-left: 1.1rem;
}

.list li + li {
  margin-top: 0.45rem;
}

.notice {
  padding: 1rem 1.1rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 90, 138, 0.08);
  border: 1px solid rgba(255, 90, 138, 0.18);
  color: var(--text);
}

.faq-item {
  border-top: 1px solid var(--line);
  padding: 1rem 0;
}

.faq-item:first-child {
  border-top: none;
  padding-top: 0;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
}

.faq-item p {
  color: var(--muted);
  margin: 0.75rem 0 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1.2rem;
}

.form label {
  display: block;
  margin-bottom: 1rem;
  font-weight: 600;
}

input, textarea {
  width: 100%;
  margin-top: 0.4rem;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.06);
  color: var(--text);
  font: inherit;
}

textarea {
  min-height: 150px;
  resize: vertical;
}

.form-note {
  margin-top: 0.7rem;
  color: var(--muted);
  min-height: 1.3rem;
}

.page-hero {
  padding: 4rem 0 1.2rem;
}

.page-hero h1 {
  max-width: none;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 1.3rem 0 2.4rem;
  color: var(--muted);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--muted);
}

.footer-links a:hover {
  color: var(--text);
}

@media (max-width: 900px) {
  .hero-grid,
  .grid-3,
  .grid-2,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 4rem;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 1.25rem), var(--max));
  }

  .nav {
    padding: 0.6rem 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
  }

  .nav-links a {
    padding-left: 0;
  }

  .button {
    width: 100%;
  }

  .hero-actions,
  .inline-actions {
    flex-direction: column;
  }
}
