:root {
  --bg-deep: #06152c;
  --bg-navy: #0b2246;
  --bg-navy-2: #102a54;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(97, 150, 255, 0.24);
  --text: #eef4ff;
  --muted: #a6b5d3;
  --accent: #3f73ff;
  --accent-2: #4fa5ff;
  --card: rgba(24, 42, 78, 0.72);
  --card-solid: #1b335d;
  --shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg-deep);
  color: var(--text);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea { font: inherit; }

.container { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.narrow { max-width: 820px; }
.center { text-align: center; }
.stack-large > * + * { margin-top: 32px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: rgba(9, 27, 58, 0.92);
  border-bottom: 1px solid var(--line);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 66px;
  gap: 16px;
}
.brand { font-size: 1.9rem; font-weight: 800; letter-spacing: -0.03em; }
.site-nav { display: flex; gap: 8px; align-items: center; }
.site-nav a {
  position: relative;
  padding: 10px 14px;
  color: #dce7fb;
  border-radius: 12px;
  transition: all 0.25s ease;
  border: 1px solid transparent;
}
.site-nav a:hover {
  color: #ffffff;
  background: rgba(63, 115, 255, 0.12);
  border-color: rgba(109, 156, 255, 0.16);
}
.site-nav a.active {
  color: #ffffff;
  background: linear-gradient(180deg, rgba(61, 111, 255, 0.28), rgba(41, 78, 186, 0.22));
  border-color: rgba(105, 156, 255, 0.26);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.06),
    0 10px 24px rgba(49, 95, 255, 0.18);
}
.site-nav a.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -8px;
  transform: translateX(-50%);
  width: 18px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #6aa8ff, #3f73ff);
  box-shadow: 0 0 16px rgba(63, 115, 255, 0.55);
}
.nav-toggle {
  display: none;
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 12px;
}

.hero {
  position: relative;
  overflow: hidden;
  background-color: var(--bg-deep);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 36%, rgba(47, 98, 255, 0.34) 0%, rgba(47, 98, 255, 0.18) 20%, rgba(10, 26, 55, 0.0) 52%),
    radial-gradient(circle at 20% 80%, rgba(31, 98, 255, 0.18) 0%, transparent 34%),
    radial-gradient(circle at 80% 78%, rgba(57, 112, 255, 0.20) 0%, transparent 34%),
    linear-gradient(180deg, #03193a 0%, #041a3c 32%, #041833 100%);
  z-index: 0;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 -40px 0;
  height: 180px;
  background: radial-gradient(ellipse at center, rgba(67, 115, 255, 0.18) 0%, rgba(5, 20, 44, 0) 66%);
  filter: blur(14px);
  z-index: 0;
}
.hero-home { min-height: 905px; }
.hero-subpage { min-height: 300px; }
.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: inherit;
  padding: 72px 0 84px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 999px;
  border: 1px solid rgba(86, 142, 255, 0.35);
  background: rgba(28, 66, 134, 0.22);
  color: #9dc0ff;
  font-size: 0.95rem;
  font-weight: 500;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.02);
}
.hero h1 {
  margin: 22px 0 18px;
  max-width: 930px;
  font-size: clamp(3rem, 8vw, 5.8rem);
  line-height: 0.95;
  font-weight: 800;
  letter-spacing: -0.06em;
  text-align: center;
}
.hero h1 span {
  color: #56a1ff;
  text-shadow: 0 0 20px rgba(67, 115, 255, 0.2);
}
.hero p {
  margin: 0 auto;
  max-width: 760px;
  font-size: 1.45rem;
  line-height: 1.65;
  color: var(--muted);
  text-align: center;
}
.hero-actions {
  margin-top: 34px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 170px;
  padding: 15px 24px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: all 0.24s ease;
  position: relative;
  overflow: hidden;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  color: white;
  background: linear-gradient(180deg, #4f7dff 0%, #3b67f3 100%);
  border-color: rgba(137, 172, 255, 0.18);
  box-shadow:
    0 14px 34px rgba(55, 100, 255, 0.34),
    inset 0 1px 0 rgba(255,255,255,0.16);
}
.btn-primary:hover {
  box-shadow:
    0 18px 40px rgba(55, 100, 255, 0.46),
    inset 0 1px 0 rgba(255,255,255,0.20);
}
.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 20%, rgba(255,255,255,0.12) 50%, transparent 80%);
  transform: translateX(-120%);
  transition: transform 0.5s ease;
}
.btn-primary:hover::before { transform: translateX(120%); }
.btn-secondary {
  color: #eef4ff;
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(184, 206, 246, 0.2);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(184, 206, 246, 0.28);
}
.btn-full { width: 100%; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 12px;
  border: 1px solid rgba(141, 173, 230, 0.16);
  background: rgba(255,255,255,0.05);
  color: #c3d3f1;
  font-size: 0.95rem;
  font-weight: 600;
}
.pill.disabled { opacity: 0.92; }

.hero-cards {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  width: min(1000px, 100%);
}
.mini-card, .glass-card {
  background: linear-gradient(180deg, rgba(31, 51, 91, 0.84), rgba(28, 48, 84, 0.78));
  border: 1px solid rgba(140, 177, 255, 0.18);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.mini-card:hover,
.glass-card:hover {
  transform: translateY(-4px);
  border-color: rgba(120, 170, 255, 0.28);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.38);
}
.mini-card {
  border-radius: var(--radius);
  padding: 24px;
}
.mini-card.shift { transform: translateY(14px); }
.mini-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: linear-gradient(180deg, rgba(63, 115, 255, 0.34), rgba(63, 115, 255, 0.18));
  color: #8ec2ff;
  margin-bottom: 16px;
}
.mini-lines span {
  display: block;
  height: 8px;
  border-radius: 999px;
  background: rgba(147, 171, 215, 0.22);
  margin-bottom: 11px;
}
.mini-lines span:nth-child(1) { width: 85%; }
.mini-lines span:nth-child(2) { width: 62%; }
.mini-lines span:nth-child(3) { width: 42%; margin-bottom: 0; }

.mini-label {
  display: inline-block;
  margin-bottom: 12px;
  color: #dbe7ff;
  font-weight: 600;
  font-size: 0.98rem;
}

.mini-meta {
  margin-top: 12px;
  color: #8ea8d8;
  font-size: 0.92rem;
}

.section, .intro-band { border-top: 1px solid var(--line); }
.section { padding: 92px 0; }
.section-dark { background: #0a234a; }
.section-dark-alt { background: #10294f; }
.intro-band { padding: 72px 0; }
.intro-band p { font-size: 1.42rem; line-height: 1.6; color: var(--muted); }
.section-head { margin-bottom: 44px; }
.section-head h2 {
  margin: 0 0 12px;
  font-size: clamp(2.3rem, 5vw, 3.8rem);
  line-height: 1.05;
  letter-spacing: -0.05em;
}
.section-head p { margin: 0; color: var(--muted); font-size: 1.18rem; }

.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.product-card { border-radius: 24px; padding: 30px; }
.product-card h3, .split-copy h2, .value-card h3 { font-size: 2rem; margin: 18px 0 12px; letter-spacing: -0.04em; }
.product-card p, .split-copy p, .value-card p, .philosophy-card p, .cta-card p, .direct-link { color: var(--muted); line-height: 1.65; font-size: 1.08rem; }
.feature-list { list-style: none; padding: 0; margin: 16px 0 24px; }
.feature-list li {
  position: relative;
  padding-left: 22px;
  margin: 8px 0;
  color: #c8d4ee;
}
.feature-list li::before {
  content: "◦";
  position: absolute;
  left: 0;
  color: #5aa7ff;
}
.product-icon, .philo-icon {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(57, 99, 242, 0.8), rgba(46, 77, 190, 0.88));
  color: white;
  font-size: 1.9rem;
  box-shadow: 0 10px 28px rgba(51, 92, 230, 0.34);
}
.product-icon.accent { background: linear-gradient(180deg, rgba(90, 180, 255, 0.9), rgba(61, 128, 211, 0.88)); }

.wave-panel {
  position: relative;
  background:
    radial-gradient(circle at 74% 24%, rgba(77, 125, 255, 0.18), transparent 20%),
    radial-gradient(circle at 28% 70%, rgba(77, 125, 255, 0.18), transparent 18%),
    linear-gradient(180deg, #021a39 0%, #041a38 100%);
}
.wave-panel::before,
.wave-panel::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 220px;
  pointer-events: none;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0.78;
}
.wave-panel::before {
  top: 0;
  background-image:
    radial-gradient(120% 60% at 15% 20%, rgba(67,115,255,0.0) 47%, rgba(67,115,255,0.34) 49%, rgba(67,115,255,0.0) 52%),
    radial-gradient(120% 70% at 82% 90%, rgba(67,115,255,0.0) 48%, rgba(67,115,255,0.26) 50%, rgba(67,115,255,0.0) 53%);
}
.wave-panel::after {
  bottom: 0;
  background-image:
    radial-gradient(120% 60% at 0% 60%, rgba(67,115,255,0.0) 50%, rgba(67,115,255,0.22) 52%, rgba(67,115,255,0.0) 55%),
    radial-gradient(120% 70% at 100% 30%, rgba(67,115,255,0.0) 50%, rgba(67,115,255,0.20) 52%, rgba(67,115,255,0.0) 55%);
}
.wave-panel > .container { position: relative; z-index: 1; }
.philosophy-grid, .value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.philosophy-card, .value-card { border-radius: 22px; padding: 26px; text-align: center; }
.philosophy-card h3, .value-card h3 { font-size: 1.9rem; margin: 18px 0 10px; }
.philosophy-card .philo-icon, .value-card .philo-icon { margin: 0 auto; width: 64px; height: 64px; font-size: 1.5rem; }

.cta-card {
  padding: 54px 24px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 40%, rgba(47, 98, 255, 0.22), transparent 38%),
    linear-gradient(180deg, rgba(18, 42, 80, 0.96), rgba(15, 35, 69, 0.96));
  border: 1px solid var(--line);
}
.cta-card h2 { margin: 0 0 12px; font-size: clamp(2.3rem, 5vw, 3.8rem); letter-spacing: -0.05em; }

.site-footer {
  padding: 48px 0;
  background: #0a2143;
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1fr;
  gap: 24px;
}
.site-footer h3, .site-footer h4 { margin: 0 0 14px; letter-spacing: -0.03em; }
.site-footer p, .site-footer a { color: var(--muted); line-height: 1.7; }
.site-footer a { display: block; margin: 8px 0; }

.split-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  border-radius: 28px;
}
.split-copy { padding: 40px; }
.split-visual {
  min-height: 340px;
  display: grid;
  place-items: center;
  padding: 24px;
}
.split-visual-dark { background: linear-gradient(180deg, #0e2b5d, #0a224a); }
.split-visual-list { background: linear-gradient(180deg, #122c58, #0d2448); }
.mock-window {
  width: min(320px, 100%);
  padding: 24px;
  border-radius: 18px;
  background: rgba(21, 49, 104, 0.76);
  border: 1px solid rgba(145, 178, 255, 0.18);
}
.mock-window > span, .mock-row {
  display: block;
  height: 12px;
  border-radius: 999px;
  background: rgba(130, 161, 221, 0.28);
  margin-bottom: 12px;
}
.mock-window > span:first-child { width: 76%; }
.mock-window > span:last-child { width: 52%; }
.mock-panel {
  height: 70px;
  border-radius: 12px;
  background: rgba(51, 87, 182, 0.38);
  margin: 18px 0 12px;
}
.mock-row.wide { width: 74%; }
.mock-row.narrow { width: 28%; margin-bottom: 0; }
.check-list {
  width: min(360px, 100%);
  border-radius: 18px;
  padding: 24px;
  background: rgba(27, 62, 124, 0.52);
  border: 1px solid rgba(145, 178, 255, 0.16);
}
.task {
  height: 42px;
  border-radius: 12px;
  background: rgba(106, 138, 201, 0.18);
  margin-bottom: 14px;
  position: relative;
}
.task::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 50%;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.35);
  transform: translateY(-50%);
}
.task.checked::before { background: #57a8ff; border-color: #57a8ff; }

.filled-list .task {
  display: flex;
  align-items: center;
  padding-left: 46px;
  color: #d7e5ff;
  font-weight: 500;
}

.filled-list .task span {
  opacity: 0.92;
}

.form-card {
  border-radius: 26px;
  padding: 28px;
}
.contact-form {
  display: grid;
  gap: 18px;
}
.contact-form label { display: grid; gap: 10px; }
.contact-form span { color: #dce7fb; font-weight: 500; }
.contact-form input,
.contact-form textarea {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(145, 178, 255, 0.16);
  background: rgba(255,255,255,0.04);
  color: var(--text);
  padding: 15px 16px;
  outline: none;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: #8598be; }
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(80, 139, 255, 0.55);
  box-shadow: 0 0 0 4px rgba(63, 115, 255, 0.12);
}
.direct-link { text-align: center; margin-top: 18px; }
.direct-link a { color: #78b4ff; }

@media (max-width: 1024px) {
  .hero-cards,
  .product-grid,
  .philosophy-grid,
  .value-grid,
  .footer-grid,
  .split-card { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute;
    top: 66px;
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    background: rgba(10, 31, 65, 0.98);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 12px;
  }
  .site-nav.open { display: flex; }
  .hero-home { min-height: auto; }
  .hero-content { padding: 68px 0 76px; }
  .hero p { font-size: 1.12rem; }
  .hero-cards,
  .product-grid,
  .philosophy-grid,
  .value-grid,
  .footer-grid,
  .split-card { grid-template-columns: 1fr; }
  .mini-card.shift { transform: none; }
  .split-copy, .split-visual { padding: 28px; }
}
