* {
  box-sizing: border-box;
}

:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --soft: #f1f5f9;
  --text: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --radius: 22px;
  --shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

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

.container {
  width: min(1140px, calc(100% - 36px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 250, 252, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.05rem;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--text);
  color: white;
  font-weight: 800;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.95rem;
  font-weight: 600;
}

.nav-links > a:not(.btn):hover {
  color: var(--primary);
}

.hero {
  padding: 92px 0 82px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 64px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--primary);
}

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

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(2.65rem, 6vw, 5.1rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.hero-copy,
.section-heading p,
.access-wrap > div p,
.contact-card p {
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-copy {
  max-width: 650px;
}

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

.hero-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: #475569;
  font-size: 0.92rem;
  font-weight: 600;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 12px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-lg {
  min-height: 52px;
  padding-inline: 22px;
}

.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.2);
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-secondary,
.btn-ghost {
  background: white;
  color: var(--text);
  border-color: var(--line);
}

.hero-card {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: white;
  box-shadow: var(--shadow);
  transform: rotate(1deg);
}

.browser-bar {
  display: flex;
  gap: 7px;
  padding: 10px;
}

.browser-bar span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #cbd5e1;
}

.preview {
  padding: 32px;
  border-radius: 20px;
  background: #0f172a;
  color: white;
}

.preview-logo {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 28px;
  border-radius: 15px;
  background: white;
  color: #0f172a;
  font-size: 1.1rem;
  font-weight: 800;
}

.mini-label {
  margin-bottom: 2px;
  color: #94a3b8;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.preview > strong {
  display: block;
  margin-bottom: 26px;
  font-size: 1.32rem;
}

.preview-stat {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: #cbd5e1;
}

.preview-stat b {
  color: white;
}

.section {
  padding: 88px 0;
}

.section-soft {
  background: var(--soft);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 40px;
}

.features-grid,
.pricing-grid {
  display: grid;
  gap: 20px;
}

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

.feature-card,
.plan-card {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius);
}

.feature-card {
  padding: 26px;
}

.icon {
  margin-bottom: 18px;
  font-size: 1.7rem;
}

.feature-card h3 {
  margin-bottom: 8px;
}

.feature-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.pricing-grid {
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
}

.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px;
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.04);
}

.plan-card.featured {
  border-color: #93c5fd;
  box-shadow: 0 18px 50px rgba(37, 99, 235, 0.13);
  transform: translateY(-8px);
}

.popular {
  align-self: flex-start;
  margin-bottom: 18px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #dbeafe;
  color: #1d4ed8;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.plan-name {
  margin-bottom: 8px;
  font-size: 1.1rem;
  font-weight: 800;
}

.price {
  margin-bottom: 12px;
  font-size: 2.25rem;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.price span {
  font-size: 0.82rem;
  color: var(--muted);
  letter-spacing: normal;
}

.plan-description {
  min-height: 72px;
  color: var(--muted);
}

.plan-card ul {
  flex: 1;
  padding-left: 0;
  margin: 18px 0 26px;
  list-style: none;
}

.plan-card li {
  position: relative;
  margin: 10px 0;
  padding-left: 24px;
  color: #334155;
}

.plan-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 800;
}

.access-wrap,
.contact-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 54px;
  align-items: center;
}

.access-form {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: var(--shadow);
}

.access-form label {
  display: block;
  margin-bottom: 9px;
  font-weight: 700;
}

.domain-input {
  display: flex;
  align-items: center;
  overflow: hidden;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  background: white;
}

.domain-input:focus-within {
  border-color: #60a5fa;
  box-shadow: 0 0 0 4px rgba(96, 165, 250, 0.15);
}

.domain-input input {
  min-width: 0;
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  border: 0;
  outline: none;
  font: inherit;
}

.domain-input span {
  padding: 0 14px 0 0;
  color: var(--muted);
  white-space: nowrap;
}

.help,
.error {
  margin: 8px 0 14px;
  font-size: 0.86rem;
}

.help {
  color: var(--muted);
}

.error {
  min-height: 1.3em;
  color: #b91c1c;
}

.access-form .btn {
  width: 100%;
}

.section-contact {
  padding-top: 24px;
}

.contact-card {
  padding: 44px;
  border-radius: 28px;
  background: #0f172a;
  color: white;
}

.contact-card .eyebrow {
  color: #93c5fd;
}

.contact-card p {
  margin-bottom: 0;
  color: #cbd5e1;
}

footer {
  padding: 34px 0;
  border-top: 1px solid var(--line);
  background: white;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-content p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 920px) {
  .nav-links > a:not(.btn) {
    display: none;
  }

  .hero {
    padding-top: 60px;
  }

  .hero-grid,
  .access-wrap,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 36px;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .plan-card.featured {
    transform: none;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 24px, 1140px);
  }

  .nav {
    min-height: 66px;
  }

  .nav-links {
    gap: 8px;
  }

  .nav-links .btn {
    padding-inline: 12px;
    font-size: 0.84rem;
  }

  .hero {
    padding: 50px 0 58px;
  }

  h1 {
    font-size: clamp(2.5rem, 13vw, 4rem);
  }

  .hero-actions {
    display: grid;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-notes {
    display: grid;
    gap: 8px;
  }

  .section {
    padding: 62px 0;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .preview {
    padding: 24px;
  }

  .contact-card {
    padding: 30px 24px;
  }

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