:root {
  --bg: #f7f8fb;
  --surface: #ffffff;
  --text: #102a43;
  --muted: #475569;
  --primary: #1d4ed8;
  --primary-soft: #dde8ff;
  --secondary: #0f766e;
  --border: #e2e8f0;
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-width: 0;
  overflow-x: hidden;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
}

img {
  display: block;
  max-width: 100%;
}

button,
a {
  font: inherit;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  position: relative;
}

.brand {
  font-weight: 800;
  color: var(--primary);
  text-decoration: none;
  letter-spacing: -0.03em;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
}

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

.mobile-menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
}

.mobile-menu-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  border-radius: 999px;
  background: var(--primary);
}

.hero {
  padding: 5rem 0 3rem;
  background: linear-gradient(180deg, #eef2ff 0%, #f8fafc 100%);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

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

.eyebrow {
  display: inline-flex;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.8rem;
  color: var(--secondary);
  margin-bottom: 1rem;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.25rem, 4vw, 3.75rem);
  line-height: 1.05;
}

.hero-text {
  margin: 1.5rem 0 2rem;
  color: var(--muted);
  max-width: 640px;
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.hero-badge {
  display: inline-flex;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  background: var(--secondary);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
}

.hero-price {
  display: inline-flex;
  align-items: center;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  background: #fff;
  color: var(--text);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.06);
  font-size: 0.95rem;
}

.hero-panel {
  display: grid;
  justify-items: center;
}

.panel-card {
  width: 100%;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 32px;
  padding: 2rem;
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.08);
}

.panel-label {
  display: inline-flex;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 0.85rem;
}

.panel-card h2 {
  margin: 1.25rem 0 1rem;
  font-size: 1.5rem;
}

.panel-card p {
  margin: 0 0 1.25rem;
  color: var(--muted);
  line-height: 1.75;
}

.panel-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem;
  display: grid;
  gap: 0.75rem;
}

.panel-list li {
  position: relative;
  padding-left: 1.75rem;
}

.panel-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65rem;
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background: var(--primary);
}

.section {
  padding: 4rem 0;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}

.section-header h2 {
  margin: 0;
  font-size: clamp(1.75rem, 2.5vw, 2.5rem);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(240px, 1fr));
  gap: 1.25rem;
}

.feature-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 2rem;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
}

.feature-card h3 {
  margin-top: 0;
}

.product-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2rem;
  align-items: start;
}

.product-copy {
  max-width: 540px;
}

.product-copy h2 {
  margin: 0 0 1rem;
}

.product-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 2rem;
  display: grid;
  gap: 0.85rem;
}

.product-list li {
  position: relative;
  padding-left: 1.6rem;
}

.product-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: var(--primary);
}

.product-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 32px;
  padding: 2rem;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
}

.price-chip {
  display: inline-flex;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.product-card h3 {
  margin: 0 0 1rem;
}

.product-detail {
  margin-top: 1.5rem;
  padding: 1.25rem;
  border-radius: 22px;
  background: #f8fafc;
}

.author-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 2rem;
  align-items: center;
}

.author-copy h2 {
  margin: 0 0 1rem;
}

.author-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  display: grid;
  gap: 0.8rem;
}

.author-list li {
  position: relative;
  padding-left: 1.5rem;
}

.author-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--primary);
}

.author-photo {
  overflow: hidden;
  border-radius: 32px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(240px, 1fr));
  gap: 1.25rem;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 2rem;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
}

.faq-item h3 {
  margin-top: 0;
}

.newsletter-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 32px;
  padding: 2rem;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
}

.subscribe-form {
  display: grid;
  gap: 1rem;
}

.subscribe-form input {
  width: 100%;
  padding: 1rem 1.25rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-size: 1rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.5rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.button-primary {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 14px 32px rgba(29, 78, 216, 0.16);
}

.button-secondary {
  background: var(--secondary);
  color: #ffffff;
}

.button-block {
  width: 100%;
  justify-content: center;
}

.button-large {
  padding: 1rem 1.75rem;
}

.disclaimer-text {
  max-width: 860px;
  margin: 0 auto;
  color: var(--muted);
  line-height: 1.8;
}

.site-footer {
  padding: 2rem 0;
  background: #0f172a;
  color: #e2e8f0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 1100px) {
  .hero-inner,
  .product-grid,
  .author-grid,
  .faq-grid,
  .newsletter-card {
    grid-template-columns: 1fr;
    min-width: 0;
    max-width: 100%;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
  }
}

@media (max-width: 820px) {
  .header-inner {
    align-items: center;
    min-width: 0;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    box-sizing: border-box;
    background: #ffffff;
    padding: 1rem 1.5rem;
    border-radius: 0 0 24px 24px;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.08);
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 15;
  }

  .nav-links.open {
    display: flex;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .nav-links a {
    padding: 0.85rem 0;
    width: 100%;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  }

  .nav-links a:last-child {
    border-bottom: none;
  }

  .hero {
    padding: 3.5rem 0 2rem;
  }

  .hero-text,
  .hero-actions,
  .hero-meta,
  .hero-panel,
  .section-header,
  .feature-card,
  .product-card,
  .faq-item,
  .newsletter-card {
    text-align: center;
  }

  .hero-actions,
  .hero-meta {
    justify-content: center;
  }

  .panel-card,
  .product-card,
  .faq-item,
  .newsletter-card,
  .author-photo {
    margin: 0 auto;
  }
}

@media (max-width: 600px) {
  .hero h1 {
    font-size: 2.25rem;
  }

  .button {
    width: 100%;
  }

  .product-copy,
  .panel-card,
  .author-copy,
  .faq-item,
  .newsletter-card,
  .product-card {
    padding: 1.5rem;
  }

  .section {
    padding: 3rem 0;
  }
}
