:root {
  --ink: #071a44;
  --muted: #5a6a88;
  --line: #d8e1f1;
  --blue: #116bff;
  --deep-blue: #071d55;
  --cyan: #14c9ff;
  --violet: #7a39ff;
  --green: #16be6b;
  --surface: #ffffff;
  --soft: #f5f8ff;
  --shadow: 0 24px 60px rgba(8, 34, 84, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Inter", "Pretendard", "Noto Sans KR", "Segoe UI", Arial, sans-serif;
  background:
    radial-gradient(circle at 18% 8%, rgba(17, 107, 255, 0.18), transparent 28%),
    radial-gradient(circle at 88% 16%, rgba(20, 201, 255, 0.14), transparent 26%),
    linear-gradient(180deg, #f9fbff 0%, #eef4ff 48%, #ffffff 100%);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(216, 225, 241, 0.8);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 230px;
}

.brand strong {
  display: block;
  font-size: 26px;
  line-height: 0.9;
  letter-spacing: 0;
}

.brand em {
  display: block;
  margin-top: 4px;
  color: var(--blue);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 3px;
}

.brand-mark {
  display: grid;
  grid-template-columns: repeat(5, 5px);
  align-items: end;
  gap: 4px;
  width: 46px;
  height: 44px;
  padding: 6px;
}

.brand-mark span {
  display: block;
  border-radius: 8px;
  background: linear-gradient(180deg, var(--cyan), var(--blue));
  box-shadow: 0 8px 16px rgba(17, 107, 255, 0.28);
}

.brand-mark span:nth-child(1) { height: 18px; }
.brand-mark span:nth-child(2) { height: 31px; }
.brand-mark span:nth-child(3) { height: 40px; }
.brand-mark span:nth-child(4) { height: 28px; }
.brand-mark span:nth-child(5) { height: 21px; }

.top-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex: 1;
}

.top-nav a,
.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  color: #1d315d;
  font-weight: 800;
}

.top-nav a:hover {
  background: #edf4ff;
}

.header-cta {
  color: #fff;
  background: linear-gradient(135deg, #148aff, #0a45ee);
  box-shadow: 0 14px 28px rgba(17, 107, 255, 0.28);
}

main {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.9fr);
  gap: 28px;
  align-items: center;
  min-height: calc(100vh - 86px);
  padding: 46px 0 28px;
}

.hero-copy {
  padding: 32px 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 20px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
}

.hero-text {
  max-width: 620px;
  color: var(--muted);
  font-size: 18px;
  font-weight: 650;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0;
}

.primary-action,
.secondary-action,
.submit-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 16px;
  border: 0;
  font-size: 16px;
  font-weight: 900;
  cursor: pointer;
}

.primary-action,
.submit-button {
  color: #fff;
  background: linear-gradient(135deg, #15d6ff 0%, #116bff 48%, #7038ff 100%);
  box-shadow: 0 18px 32px rgba(17, 107, 255, 0.28);
}

.secondary-action {
  color: var(--deep-blue);
  border: 1px solid var(--line);
  background: #fff;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 680px;
  margin: 0;
}

.hero-stats div {
  padding: 16px;
  border: 1px solid rgba(216, 225, 241, 0.9);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 28px rgba(8, 34, 84, 0.08);
}

.hero-stats dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.hero-stats dd {
  margin: 5px 0 0;
  font-size: 16px;
  font-weight: 900;
}

.hero-media {
  position: relative;
  border-radius: 32px;
  padding: 12px;
  background: linear-gradient(135deg, rgba(20, 201, 255, 0.65), rgba(122, 57, 255, 0.8));
  box-shadow: var(--shadow);
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: -22px;
  z-index: -1;
  border-radius: 42px;
  background: radial-gradient(circle, rgba(17, 107, 255, 0.22), transparent 70%);
}

.hero-media img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.quick-strip,
.feature-grid,
.price-grid {
  display: grid;
  gap: 16px;
}

.quick-strip {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 84px;
}

.quick-strip article,
.feature-card,
.auth-card,
.price-card,
.cloudflare,
.domain-card {
  border: 1px solid rgba(216, 225, 241, 0.95);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 42px rgba(8, 34, 84, 0.1);
}

.quick-strip article {
  min-height: 142px;
  padding: 20px;
  border-radius: 22px;
}

.quick-strip span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 950;
}

.quick-strip strong {
  display: block;
  margin: 10px 0 8px;
  font-size: 18px;
}

.quick-strip p,
.feature-card p,
.member-copy p,
.price-card p,
.cloudflare p {
  color: var(--muted);
  font-weight: 650;
  line-height: 1.65;
}

.section-grid,
.membership,
.pricing,
.cloudflare {
  margin-bottom: 84px;
}

.section-heading {
  max-width: 680px;
  margin-bottom: 28px;
}

.section-heading.compact {
  max-width: none;
}

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

.feature-card {
  min-height: 260px;
  padding: 24px;
  border-radius: 26px;
}

.feature-icon {
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 20px;
  border-radius: 18px;
  background: linear-gradient(135deg, #edf6ff, #dbeaff);
  box-shadow: inset 0 1px 0 #fff, 0 14px 28px rgba(17, 107, 255, 0.18);
}

.feature-icon::before {
  color: var(--blue);
  font-size: 26px;
  font-weight: 900;
}

.news-icon::before { content: "N"; }
.ai-icon::before { content: "AI"; font-size: 18px; }
.bell-icon::before { content: "!"; }
.finance-icon::before { content: "G"; color: #19a463; }

.membership {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.62fr);
  gap: 28px;
  align-items: start;
  padding: 34px;
  border-radius: 34px;
  background: linear-gradient(135deg, #071a44, #0b2e82);
  color: #fff;
  box-shadow: var(--shadow);
}

.member-copy p {
  color: rgba(255, 255, 255, 0.78);
}

.check-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  font-weight: 850;
}

.auth-card {
  padding: 18px;
  border-radius: 28px;
  color: var(--ink);
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 18px;
  padding: 6px;
  border-radius: 16px;
  background: #eef4ff;
}

.auth-tab {
  min-height: 42px;
  border: 0;
  border-radius: 12px;
  color: #405274;
  background: transparent;
  font-weight: 900;
  cursor: pointer;
}

.auth-tab.is-active {
  color: #fff;
  background: var(--blue);
  box-shadow: 0 10px 20px rgba(17, 107, 255, 0.22);
}

.auth-form {
  display: grid;
  gap: 14px;
}

.auth-form label {
  display: grid;
  gap: 7px;
  color: #24375e;
  font-size: 13px;
  font-weight: 900;
}

.auth-form input {
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--ink);
  background: #fbfdff;
  font: inherit;
  font-weight: 750;
}

.auth-form input:focus {
  outline: 3px solid rgba(17, 107, 255, 0.14);
  border-color: var(--blue);
}

.auth-note {
  min-height: 42px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

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

.price-card {
  padding: 24px;
  border-radius: 24px;
}

.price-card strong {
  display: block;
  margin-bottom: 10px;
  color: var(--blue);
  font-size: 24px;
}

.price-card.featured {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, #116bff, #071d55);
}

.price-card.featured strong,
.price-card.featured p {
  color: #fff;
}

.cloudflare {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.4fr);
  gap: 24px;
  align-items: center;
  padding: 30px;
  border-radius: 30px;
}

.domain-card {
  padding: 24px;
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff, #f3f8ff);
}

.domain-card span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.domain-card strong {
  display: block;
  margin: 8px 0;
  color: var(--blue);
  font-size: 26px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 42px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.site-footer p {
  margin: 0;
}

.site-footer div {
  display: flex;
  gap: 16px;
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .top-nav {
    order: 3;
    justify-content: flex-start;
    overflow-x: auto;
    width: 100%;
  }

  .hero-section,
  .membership,
  .cloudflare {
    grid-template-columns: 1fr;
  }

  .hero-section {
    min-height: auto;
  }

  .hero-media {
    order: -1;
  }

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

@media (max-width: 640px) {
  main,
  .site-footer {
    width: min(100% - 24px, 1180px);
  }

  .brand {
    min-width: 0;
  }

  .brand strong {
    font-size: 22px;
  }

  .header-cta {
    display: none;
  }

  h1 {
    font-size: 38px;
  }

  .hero-stats,
  .quick-strip,
  .feature-grid,
  .price-grid,
  .check-list {
    grid-template-columns: 1fr;
  }

  .membership {
    padding: 22px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
