:root {
  --bg: #071221;
  --bg-soft: #0d1b31;
  --panel: rgba(12, 21, 39, 0.82);
  --panel-strong: rgba(18, 30, 52, 0.94);
  --card: rgba(247, 250, 255, 0.96);
  --card-soft: rgba(255, 255, 255, 0.08);
  --ink: #eef3ff;
  --ink-soft: #afbdd8;
  --ink-dark: #152238;
  --line: rgba(164, 187, 228, 0.16);
  --accent: #ffcc6d;
  --accent-strong: #ff9f43;
  --cyan: #4fd8e4;
  --mint: #89ebaf;
  --violet: #b88cff;
  --danger: #ff6f7f;
  --shadow: 0 30px 80px rgba(1, 8, 18, 0.42);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(79, 216, 228, 0.18), transparent 28%),
    radial-gradient(circle at top right, rgba(255, 204, 109, 0.16), transparent 24%),
    radial-gradient(circle at bottom right, rgba(184, 140, 255, 0.14), transparent 28%),
    linear-gradient(135deg, #08101d 0%, #0e1628 42%, #130f25 100%);
}

@media (min-width: 900px) {
  body {
    zoom: 0.9;
  }
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

img,
video,
iframe {
  display: block;
  max-width: 100%;
  border: 0;
}

.public-page {
  position: relative;
  overflow-x: hidden;
}

.site-shell {
  width: min(1320px, calc(100% - 40px));
  margin: 0 auto;
  padding-bottom: 56px;
}

.site-header {
  position: sticky;
  top: 18px;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 18px auto 28px;
  padding: 16px 18px;
  background: rgba(7, 15, 29, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  backdrop-filter: blur(18px);
  box-shadow: 0 20px 60px rgba(1, 8, 18, 0.3);
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-lockup img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.brand-lockup strong {
  display: block;
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.brand-lockup span {
  display: block;
  color: var(--ink-soft);
  font-size: 0.84rem;
}

.nav-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.nav-links a {
  padding: 12px 16px;
  border-radius: 999px;
  color: var(--ink-soft);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--accent);
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}

.primary-btn,
.ghost-action,
.outline-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 18px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.primary-btn {
  padding: 15px 22px;
  border: 0;
  font-weight: 800;
  color: #1f1808;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
  box-shadow: 0 18px 30px rgba(255, 159, 67, 0.25);
}

.primary-btn.inline {
  padding: 13px 18px;
}

.primary-btn:hover,
.ghost-action:hover,
.outline-btn:hover {
  transform: translateY(-2px);
}

.ghost-action,
.outline-btn {
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
}

.page-stack {
  display: grid;
  gap: 26px;
}

.hero-grid,
.two-column,
.content-grid,
.showcase-section {
  display: grid;
  gap: 24px;
}

.hero-grid {
  grid-template-columns: 1.1fr 0.9fr;
  align-items: stretch;
}

.hero-copy,
.glass-card,
.page-section,
.login-card,
.showcase-shell,
.summary-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.hero-copy,
.page-section,
.login-card,
.showcase-shell,
.summary-card {
  padding: 30px;
}

.hero-copy h1,
.page-hero h1 {
  margin: 16px 0 14px;
  font-size: clamp(2.6rem, 6vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.hero-copy p,
.page-hero p,
.section-intro,
.hero-lead {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.04rem;
  line-height: 1.82;
}

.hero-actions,
.hero-pills,
.package-meta,
.member-actions,
.form-grid,
.section-header {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions {
  margin-top: 26px;
}

.hero-pills {
  margin-top: 24px;
}

.hero-pills span,
.package-meta span,
.mini-stat,
.member-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
}

.hero-pills span,
.mini-stat {
  background: rgba(255, 255, 255, 0.06);
  color: #dbe6fb;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-visual {
  position: relative;
  overflow: hidden;
  min-height: 520px;
}

.hero-visual img,
.hero-visual video,
.hero-visual iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 30px;
}

.floating-panel {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  padding: 18px 20px;
  border-radius: 22px;
  background: rgba(7, 15, 29, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(18px);
}

.floating-panel strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 6px;
}

.floating-panel p {
  margin: 0;
  color: #d0dbef;
  line-height: 1.6;
}

.showcase-shell {
  overflow: hidden;
}

.section-header {
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 18px;
}

.section-header h2,
.page-section h2,
.showcase-copy h3 {
  margin: 12px 0 0;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.showcase-track {
  position: relative;
  min-height: 440px;
}

.showcase-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(18px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.showcase-slide.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.showcase-copy {
  display: grid;
  align-content: center;
  gap: 14px;
}

.showcase-copy p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.8;
}

.showcase-frame {
  min-height: 360px;
  border-radius: 28px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.showcase-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.showcase-dots {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.showcase-dot {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.18);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.showcase-dot.active {
  background: var(--accent);
  transform: scale(1.18);
}

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

.package-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.package-card,
.feature-card,
.policy-card,
.member-card,
.flow-card,
.summary-card,
.mini-panel {
  border-radius: 26px;
  box-shadow: var(--shadow);
}

.package-card,
.feature-card,
.policy-card,
.member-card,
.flow-card,
.mini-panel {
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink-dark);
  border: 1px solid rgba(13, 23, 40, 0.08);
}

.package-card {
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.package-card.featured {
  background: linear-gradient(160deg, #152646 0%, #1b3561 55%, #25537a 100%);
  color: #f9fcff;
  border-color: rgba(255, 255, 255, 0.1);
}

.package-card.featured p,
.package-card.featured li,
.package-card.featured .package-meta span {
  color: rgba(249, 252, 255, 0.88);
}

.package-badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(13, 23, 40, 0.08);
  color: #556278;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.package-card.featured .package-badge {
  background: rgba(255, 255, 255, 0.14);
  color: var(--accent);
}

.package-card h3 {
  margin: 18px 0 10px;
  font-size: 1.52rem;
}

.package-price {
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: -0.05em;
}

.package-price small {
  font-size: 0.95rem;
  font-weight: 700;
}

.package-card p,
.package-card li,
.member-body p,
.feature-card strong,
.policy-card strong {
  color: #53627b;
  line-height: 1.72;
}

.package-card ul {
  display: grid;
  gap: 10px;
  padding-left: 18px;
  margin: 18px 0 22px;
}

.package-meta {
  margin: 18px 0 0;
}

.package-meta span {
  background: rgba(20, 35, 64, 0.08);
  color: #203250;
}

.feature-grid,
.policy-grid,
.member-grid,
.flow-grid,
.stats-row {
  display: grid;
  gap: 18px;
}

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

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

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

.feature-card,
.policy-card,
.flow-card,
.summary-card {
  padding: 22px;
}

.feature-card span,
.policy-card span,
.flow-index,
.muted-tag {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.feature-card span,
.policy-card span,
.flow-index {
  background: rgba(18, 33, 63, 0.08);
  color: #27446d;
}

.feature-card strong,
.policy-card strong,
.flow-card p {
  display: block;
  margin-top: 18px;
  font-size: 1.02rem;
}

.member-card {
  overflow: hidden;
}

.member-media {
  position: relative;
  min-height: 220px;
}

.member-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.member-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  background: rgba(7, 15, 29, 0.72);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.member-body {
  padding: 22px;
}

.member-body h3 {
  margin: 0 0 4px;
  font-size: 1.25rem;
}

.member-body > div:first-child p {
  margin: 0;
  color: #73819a;
}

.member-actions {
  margin-top: 18px;
}

.two-column {
  grid-template-columns: 0.98fr 1.02fr;
}

.summary-card {
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.12) 0%, rgba(16, 26, 44, 0.92) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.summary-card h3 {
  margin: 18px 0 12px;
  font-size: 1.5rem;
}

.summary-card p {
  margin: 0;
  color: #cfdbf0;
  line-height: 1.76;
}

.stats-row {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 24px;
}

.mini-stat strong {
  font-size: 1.1rem;
}

.mini-panel {
  padding: 18px;
}

.form-shell,
.login-layout {
  display: grid;
  gap: 24px;
  grid-template-columns: 1.1fr 0.9fr;
}

.stack-form {
  display: grid;
  gap: 16px;
}

.stack-form label {
  display: grid;
  gap: 8px;
}

.stack-form span {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink);
}

.stack-form input,
.stack-form textarea,
.stack-form select {
  width: 100%;
  padding: 15px 16px;
  border-radius: 18px;
  border: 1px solid rgba(72, 99, 140, 0.16);
  background: #f8fbff;
  color: #152238;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.stack-form input:focus,
.stack-form textarea:focus,
.stack-form select:focus {
  border-color: rgba(255, 159, 67, 0.88);
  box-shadow: 0 0 0 4px rgba(255, 159, 67, 0.14);
}

.feedback {
  min-height: 24px;
  margin: 0;
  font-size: 0.92rem;
  color: var(--mint);
}

.feedback.error {
  color: var(--danger);
}

.login-page .site-shell {
  width: min(520px, calc(100% - 36px));
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px 0;
}

.login-visual,
.login-card {
  min-height: 620px;
}

.login-visual {
  position: relative;
  overflow: hidden;
}

.login-visual .visual-media {
  position: absolute;
  inset: 0;
}

.login-visual .visual-media img,
.login-visual .visual-media video,
.login-visual .visual-media iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.login-overlay {
  position: relative;
  z-index: 2;
  display: grid;
  align-content: space-between;
  min-height: 100%;
  padding: 34px;
  background: linear-gradient(180deg, rgba(5, 11, 21, 0.18), rgba(5, 11, 21, 0.76));
}

.login-card {
  display: grid;
  align-content: center;
  gap: 18px;
  background: rgba(248, 251, 255, 0.97);
  color: var(--ink-dark);
}

.login-card h1 {
  margin: 12px 0 8px;
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.login-card p {
  margin: 0;
  color: #5b6a80;
  line-height: 1.72;
}

.login-package-preview {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.login-package-item {
  padding: 16px 18px;
  border-radius: 22px;
  background: #f8fbff;
  border: 1px solid rgba(21, 34, 56, 0.08);
}

.login-package-item strong {
  display: block;
  margin-bottom: 6px;
}

.login-page {
  display: grid;
  min-height: 100vh;
}

.login-page .site-shell {
  width: min(520px, calc(100% - 36px));
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px 0;
}

.login-minimal-card {
  width: 100%;
  padding: 42px 34px;
  display: grid;
  gap: 24px;
  background: rgba(248, 251, 255, 0.95);
  color: var(--ink-dark);
}

.centered-brand {
  justify-content: center;
  text-align: center;
}

.centered-brand img {
  width: 76px;
  height: 76px;
  border-radius: 24px;
}

.login-minimal-copy {
  text-align: center;
  display: grid;
  gap: 8px;
}

.login-minimal-copy h1 {
  margin: 0;
  font-size: clamp(2.1rem, 7vw, 3rem);
  letter-spacing: -0.06em;
}

.login-minimal-copy p {
  margin: 0;
  color: #5b6a80;
  line-height: 1.7;
}

.page-hero {
  padding: 34px;
}

.page-hero .hero-pills {
  margin-top: 18px;
}

.page-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 32px;
  padding: 24px 28px;
  background: rgba(9, 16, 29, 0.7);
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.page-footer p {
  margin: 0;
  color: var(--ink-soft);
}

.muted {
  background: rgba(255, 255, 255, 0.78);
}

.muted p {
  margin: 0;
}

@media (max-width: 1200px) {
  .package-grid,
  .feature-grid,
  .policy-grid,
  .member-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 980px) {
  .site-header,
  .page-footer {
    border-radius: 28px;
    position: static;
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-grid,
  .two-column,
  .form-shell,
  .login-layout,
  .showcase-slide {
    grid-template-columns: 1fr;
  }

  .hero-visual,
  .login-visual,
  .login-card {
    min-height: auto;
  }

  .showcase-track {
    min-height: 720px;
  }
}

@media (max-width: 760px) {
  .site-shell {
    width: min(100%, calc(100% - 24px));
  }

  .hero-copy,
  .page-section,
  .login-card,
  .showcase-shell,
  .summary-card,
  .page-hero {
    padding: 24px;
  }

  .hero-copy h1,
  .page-hero h1,
  .login-card h1 {
    font-size: 2.3rem;
  }

  .package-grid,
  .feature-grid,
  .policy-grid,
  .member-grid,
  .flow-grid,
  .content-grid,
  .stats-row {
    grid-template-columns: 1fr;
  }

  .nav-links,
  .header-actions {
    width: 100%;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .header-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .showcase-track {
    min-height: 860px;
  }
}
