@font-face {
  font-family: "RoseSans";
  src: local("Manrope"), local("Avenir Next"), local("Segoe UI"), local("Inter");
}
@font-face {
  font-family: "RoseDisplay";
  src: local("Sora"), local("Poppins"), local("Avenir Next Demi Bold"), local("Segoe UI Semibold");
}

:root {
  --bg: #0f1322;
  --bg-soft: #171d33;
  --rose: #cf4f7a;
  --rose-bright: #ff739f;
  --rose-mute: #f4bacf;
  --ink: #f7f1f0;
  --ink-muted: #d3d0df;
  --line: rgba(255, 255, 255, 0.16);
  --card: rgba(23, 29, 51, 0.55);
  --ok: #23b17c;
  --warn: #f4b35f;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body.rg-theme {
  font-family: RoseSans, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 82% -10%, rgba(255, 115, 159, 0.28), transparent 32%),
    radial-gradient(circle at 12% 32%, rgba(207, 79, 122, 0.2), transparent 30%),
    linear-gradient(135deg, #0e1220 0%, #161b30 45%, #111527 100%);
  min-height: 100vh;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
.container { width: min(1140px, 92vw); margin: 0 auto; }

.ambient {
  position: fixed;
  width: 50vw;
  height: 50vw;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(80px);
  z-index: -1;
  opacity: 0.25;
  animation: float 16s ease-in-out infinite alternate;
}
.ambient-a { top: -14vw; right: -8vw; background: #ff6f9c; }
.ambient-b { bottom: -18vw; left: -10vw; background: #9d4975; animation-delay: -5s; }
.ambient-c { top: 38vh; right: 18vw; background: #6c3f85; animation-delay: -9s; width: 26vw; height: 26vw; }
@keyframes float {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-3vw, -2vw, 0) scale(1.12); }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(11, 15, 30, 0.6);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.nav-wrap { display: flex; justify-content: space-between; align-items: center; padding: .95rem 0; }
.brand { display: inline-flex; align-items: center; gap: .65rem; font-weight: 700; letter-spacing: .01em; }
.brand-mark { width: 38px; height: 38px; filter: drop-shadow(0 10px 20px rgba(255, 115, 159, 0.35)); }
.nav { display: flex; gap: 1.15rem; flex-wrap: wrap; font-size: .95rem; color: var(--ink-muted); }
.nav a { position: relative; }
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--rose-bright), transparent);
  transform: scaleX(0);
  transition: transform .25s ease;
}
.nav a:hover::after { transform: scaleX(1); }

.hero {
  position: relative;
  padding: 6.2rem 0 4rem;
}
.hero-mesh {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(circle at 40% 35%, black 30%, transparent 78%);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 2rem; align-items: start; }
.hero-copy { animation: heroIn .8s ease both; }
@keyframes heroIn { from { opacity: 0; transform: translateY(18px);} to { opacity: 1; transform: translateY(0);} }
.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .73rem;
  color: #ffd2e2;
  font-weight: 700;
  margin-bottom: .9rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: .35rem .65rem;
  background: rgba(255, 255, 255, 0.05);
}
h1, h2, h3 { font-family: RoseDisplay, RoseSans, sans-serif; letter-spacing: .01em; }
h1 {
  font-size: clamp(2.35rem, 4.5vw, 4.05rem);
  line-height: 1.01;
  margin: 0 0 1rem;
  text-wrap: balance;
}
h2 { font-size: clamp(1.7rem, 2.5vw, 2.55rem); margin-top: 0; text-wrap: balance; }
h3 { margin-top: 0; font-size: 1.12rem; }
.lead { font-size: 1.08rem; line-height: 1.8; color: var(--ink-muted); max-width: 64ch; }
.subtle { color: var(--ink-muted); font-size: .95rem; }

.glass {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(255,255,255,.13), rgba(255,255,255,.03));
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
  border-radius: 22px;
  padding: 1.25rem;
  transform: translateZ(0);
}
.glass::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 40%, rgba(255,255,255,.15) 50%, transparent 60%);
  transform: translateX(-120%);
  transition: transform .8s ease;
}
.glass:hover::before { transform: translateX(120%); }

.hero-card {
  backdrop-filter: blur(14px);
  animation: cardPulse 5s ease-in-out infinite;
}
@keyframes cardPulse {
  0%, 100% { box-shadow: 0 20px 50px rgba(0,0,0,.3); }
  50% { box-shadow: 0 26px 70px rgba(207,79,122,.28); }
}

.hero-card h2 { font-size: 1.24rem; margin-bottom: 1rem; }
.stat-list { display: grid; gap: .85rem; }
.stat-item {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px;
  padding: .8rem;
  transition: transform .25s ease, border-color .25s ease;
}
.stat-item:hover { transform: translateY(-2px); border-color: rgba(255, 115, 159, 0.45); }
.stat-label { display: block; color: #ddd7e8; font-size: .84rem; }
.stat-value {
  display: block;
  font-size: 1.7rem;
  font-weight: 800;
  margin: .22rem 0;
  background: linear-gradient(90deg, #ffd6e3, var(--rose-bright));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.notice {
  margin-top: .8rem;
  color: var(--warn);
  font-size: .9rem;
  background: rgba(244, 179, 95, .08);
  border: 1px solid rgba(244, 179, 95, .25);
  border-radius: 10px;
  padding: .55rem .62rem;
}

.cta-row { display: flex; gap: .8rem; margin: 1.5rem 0; flex-wrap: wrap; }
.btn {
  border: 0;
  border-radius: 13px;
  padding: .8rem 1.2rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform .24s ease, box-shadow .24s ease, opacity .2s ease;
  display: inline-block;
  letter-spacing: .01em;
}
.btn:hover { transform: translateY(-3px) scale(1.01); box-shadow: 0 12px 26px rgba(0,0,0,.25); }
.btn-primary {
  background: linear-gradient(135deg, #cf4f7a, #ff739f);
  color: #fff;
  box-shadow: 0 8px 24px rgba(207,79,122,.38);
}
.btn-outline {
  background: rgba(255,255,255,.04);
  color: #f7ecf0;
  border: 1px solid rgba(255,255,255,.25);
}

.section { padding: 3.6rem 0; position: relative; }
.section.alt {
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.015));
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.capacity {
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 115, 159, 0.11), transparent 30%),
    radial-gradient(circle at 80% 70%, rgba(108, 63, 133, 0.13), transparent 30%);
}
.capacity-head { margin-bottom: 1.3rem; }
.capacity-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.capacity-card {
  min-height: 210px;
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.12), rgba(255,255,255,.04)),
    radial-gradient(circle at top right, rgba(255,115,159,.18), transparent 50%);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.capacity-card.is-active,
.capacity-card:hover {
  transform: translateY(-5px) scale(1.01);
  border-color: rgba(255, 151, 187, .6);
  box-shadow: 0 24px 55px rgba(207, 79, 122, .24);
}
.capacity-label {
  margin: 0;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .11em;
  color: #f6c9da;
}
.capacity-value {
  margin: .45rem 0 .55rem;
  font-size: clamp(2rem, 4vw, 2.9rem);
  font-family: RoseDisplay, RoseSans, sans-serif;
  line-height: 1;
  color: #ffe5ee;
}
.capacity-card p:last-child {
  color: var(--ink-muted);
  line-height: 1.6;
  margin-bottom: 0;
}
.scan-sequence {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .85rem;
}
.seq-step {
  position: relative;
  padding: .95rem 1rem;
  border: 1px solid rgba(255,255,255,.17);
  border-radius: 16px;
  background: rgba(18, 24, 42, .65);
}
.seq-step span {
  display: inline-flex;
  width: 31px;
  height: 31px;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #cf4f7a, #ff739f);
  color: #fff;
  font-weight: 700;
  font-size: .8rem;
  margin-bottom: .55rem;
}
.seq-step strong { display: block; margin-bottom: .35rem; font-size: .96rem; }
.seq-step small { color: var(--ink-muted); font-size: .82rem; line-height: 1.45; display: block; }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.card-grid article p { color: var(--ink-muted); line-height: 1.7; }
.pain-points { margin: 0; padding-left: 1.15rem; color: var(--ink-muted); line-height: 1.9; }
.pain-points li { margin-bottom: .28rem; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; align-items: start; }

.form label { display: grid; gap: .35rem; margin: .58rem 0; color: #f5eef1; font-weight: 600; font-size: .9rem; }
.form input, .form textarea, .form select {
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 11px;
  padding: .7rem .74rem;
  font: inherit;
  color: #fdf8f7;
  background: rgba(10, 13, 24, 0.52);
}
.form input::placeholder, .form textarea::placeholder { color: #adb0c4; }
.form input:focus, .form textarea:focus, .form select:focus {
  outline: 2px solid rgba(255, 115, 159, .28);
  border-color: rgba(255, 115, 159, .7);
}
.check { font-weight: 500 !important; display: flex !important; align-items: flex-start; gap: .5rem; }
.check input { margin-top: .25rem; width: 16px; height: 16px; accent-color: var(--rose-bright); }
.privacy-note { color: #c7c4d4; font-size: .83rem; margin-top: .7rem; }
.hp { position: absolute; left: -9999px; opacity: 0; }

.site-footer { padding: 1.6rem 0 2.4rem; color: var(--ink-muted); }
.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,.13);
  padding-top: 1rem;
}

.toast {
  position: fixed;
  right: 16px;
  bottom: 16px;
  max-width: 460px;
  padding: .9rem 1rem;
  border-radius: 13px;
  box-shadow: 0 12px 30px rgba(0,0,0,.35);
  color: #fff;
  z-index: 99;
  border: 1px solid rgba(255,255,255,.2);
}
.toast-success { background: #1d8f67; }
.toast-error { background: #a82828; }
.toast-info { background: #3d5e95; }

.reveal { opacity: 0; transform: translateY(24px) scale(.985); transition: opacity .75s ease, transform .75s ease; }
.reveal.visible { opacity: 1; transform: translateY(0) scale(1); }

.admin-body {
  min-height: 100vh;
  background: linear-gradient(135deg, #111628, #1a2038);
  color: #f5f0f4;
}
.admin-wrap { padding: 2rem 0 3rem; }
.admin-card { max-width: 460px; margin: 6rem auto; }
.admin-top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.admin-table { margin-top: 1rem; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .88rem; }
th, td { text-align: left; border-bottom: 1px solid rgba(255,255,255,.15); padding: .55rem; white-space: nowrap; }

@media (max-width: 920px) {
  .hero-grid, .two-col, .card-grid, .capacity-grid, .scan-sequence { grid-template-columns: 1fr; }
  .nav { display: none; }
  .ambient { opacity: 0.16; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
