:root {
  --navy: #18204a;
  --navy-2: #2b3478;
  --purple: #6758d9;
  --violet: #8d62f4;
  --yellow: #ffd451;
  --coral: #ff7a65;
  --mint: #3dd7b0;
  --sky: #55b9f3;
  --ink: #20243b;
  --muted: #68708a;
  --surface: #f5f3fb;
  --card: #ffffff;
  --line: #e0ddf0;
  --shadow: 0 22px 55px rgba(24, 32, 74, .15);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: var(--ink); background: var(--surface); }
a { color: inherit; }
button { font: inherit; }

.public-topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 8px 6vw;
  background: rgba(24, 32, 74, .97);
  color: white;
  box-shadow: 0 8px 25px rgba(17, 21, 55, .18);
}
.public-brand { display: inline-flex; align-items: center; }
.public-brand img { display: block; width: clamp(142px, 15vw, 181px); height: auto; max-height: 60px; }
.public-nav { display: flex; align-items: center; justify-content: flex-end; gap: 8px; flex-wrap: wrap; }
.public-nav a, .language-button {
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 12px;
  padding: 9px 12px;
  background: rgba(255,255,255,.08);
  color: white;
  text-decoration: none;
  font-weight: 800;
}
.public-nav a:hover, .language-button:hover, .language-button[aria-pressed="true"] { background: rgba(255,255,255,.18); }
.language-switch { display: inline-flex; gap: 5px; margin-left: 6px; }
.language-button { cursor: pointer; min-width: 44px; }

.public-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(70px, 9vw, 120px) 7vw;
  background:
    radial-gradient(circle at 10% 20%, rgba(255,212,81,.32), transparent 26%),
    radial-gradient(circle at 88% 82%, rgba(61,215,176,.24), transparent 29%),
    linear-gradient(135deg, #20285a 0%, #302b74 55%, #6555d5 100%);
  color: white;
}
.public-hero::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 220px;
  right: -80px;
  bottom: -120px;
  border-radius: 50%;
  background: rgba(255,255,255,.07);
}
.public-hero-inner { position: relative; z-index: 1; max-width: 980px; margin: 0 auto; text-align: center; }
.eyebrow { display: inline-block; color: var(--yellow); font-size: 12px; text-transform: uppercase; letter-spacing: .14em; font-weight: 900; }
.public-hero h1 { max-width: 880px; margin: 16px auto 20px; font-size: clamp(42px, 6vw, 76px); line-height: 1; letter-spacing: -.05em; }
.public-hero p { max-width: 760px; margin: 0 auto; color: #eceeff; font-size: clamp(18px, 2.1vw, 23px); line-height: 1.55; }

.public-main { padding: 70px 7vw 90px; }
.public-section { max-width: 1120px; margin: 0 auto 72px; }
.public-section:last-child { margin-bottom: 0; }
.public-section-heading { max-width: 760px; margin-bottom: 26px; }
.public-section-heading h2 { margin: 8px 0 10px; color: var(--navy); font-size: clamp(30px, 4vw, 48px); letter-spacing: -.035em; }
.public-section-heading p { margin: 0; color: var(--muted); font-size: 17px; line-height: 1.6; }

.info-grid, .pricing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.info-card, .price-card, .notice-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 14px 34px rgba(24,32,74,.08);
}
.info-card .card-number { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 18px; border-radius: 14px; background: #eceafa; color: var(--purple); font-weight: 950; }
.info-card h3, .price-card h3 { margin: 0 0 10px; color: var(--navy); font-size: 22px; }
.info-card p, .price-card p, .notice-card p { margin: 0; color: var(--muted); line-height: 1.65; }
.check-list { display: grid; gap: 12px; margin: 20px 0 0; padding: 0; list-style: none; }
.check-list li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; color: #444b68; line-height: 1.55; }
.check-list li::before { content: "✓"; color: var(--success, #147a5b); font-weight: 950; }

.price-card { position: relative; display: flex; flex-direction: column; gap: 13px; }
.price-card.featured { border: 2px solid var(--purple); transform: translateY(-8px); box-shadow: var(--shadow); }
.price-badge { align-self: flex-start; border-radius: 999px; padding: 7px 10px; background: #eceafa; color: var(--purple); font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.price-card.featured .price-badge { background: var(--yellow); color: var(--navy); }
.price-value { color: var(--navy); font-size: clamp(38px, 5vw, 54px); font-weight: 950; letter-spacing: -.05em; }
.price-value small { font-size: 15px; letter-spacing: 0; color: var(--muted); }
.price-options { display: grid; gap: 8px; padding-top: 4px; }
.price-option { padding: 12px; border-radius: 14px; background: #f6f4fc; color: #414862; font-weight: 800; }
.price-card .check-list { margin-top: auto; padding-top: 6px; }

.notice-card { border-left: 6px solid var(--mint); }
.notice-card strong { display: block; margin-bottom: 8px; color: var(--navy); font-size: 20px; }

.public-cta {
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(32px, 5vw, 52px);
  border-radius: 30px;
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  color: white;
  text-align: center;
}
.public-cta h2 { margin: 0 0 12px; font-size: clamp(30px, 4vw, 48px); letter-spacing: -.035em; }
.public-cta p { max-width: 700px; margin: 0 auto 24px; color: #e6e8ff; line-height: 1.6; }
.cta-button { display: inline-flex; justify-content: center; padding: 14px 20px; border-radius: 14px; background: linear-gradient(135deg, var(--purple), var(--violet)); color: white; text-decoration: none; font-weight: 900; box-shadow: 0 12px 25px rgba(103,88,217,.3); }

.public-footer { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 28px 7vw; background: #121735; color: #dce0ff; }
.public-footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
.public-footer a { color: white; font-weight: 750; }

[hidden] { display: none !important; }

@media (max-width: 850px) {
  .public-topbar { align-items: flex-start; padding: 12px 5vw; }
  .public-nav { gap: 6px; }
  .public-nav > a { display: none; }
  .language-switch { margin-left: 0; }
  .info-grid, .pricing-grid { grid-template-columns: 1fr; }
  .price-card.featured { transform: none; }
}
@media (max-width: 520px) {
  .public-topbar { min-height: 68px; }
  .public-brand img { width: 132px; }
  .public-main { padding: 52px 5vw 70px; }
  .public-hero { padding-left: 5vw; padding-right: 5vw; }
  .info-card, .price-card, .notice-card { padding: 22px; border-radius: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .price-card.featured { transform: none; }
}
