:root {
  --primary: #009ee3;
  --primary-dark: #007bb5;
  --text: #111827;
  --muted: #6b7280;
  --bg: #f5f8fb;
  --white: #ffffff;
  --border: #e5e7eb;
  --radius: 18px;
  --shadow: 0 14px 35px rgba(15, 23, 42, 0.08);
}

* {
  box-sizing: border-box;
}

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

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

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

.site-header {
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(10px);
}

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

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

.brand-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--primary);
  color: var(--white);
  display: grid;
  place-items: center;
  font-size: 14px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--muted);
  font-size: 15px;
}

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

.hero {
  padding: 72px 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 36px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(0, 158, 227, 0.1);
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1;
  margin: 0 0 20px;
  letter-spacing: -0.04em;
}

.hero p {
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 620px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 700;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
}

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

.btn-secondary {
  background: var(--white);
  border: 1px solid var(--border);
}

.hero-card,
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 32px;
}

.hero-card h2 {
  margin-top: 0;
  font-size: 28px;
}

.price {
  display: block;
  margin-top: 20px;
  font-size: 32px;
  font-weight: 900;
  color: var(--primary);
}

.section {
  padding: 56px 0;
}

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

.section-heading h2 {
  font-size: 34px;
  margin: 0 0 8px;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
}

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

.card {
  padding: 24px;
}

.card h3 {
  margin-top: 0;
}

.card p {
  color: var(--muted);
  line-height: 1.5;
}

.site-footer {
  background: #0f172a;
  color: var(--white);
  padding: 48px 0;
  margin-top: 56px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 28px;
}

.site-footer p,
.site-footer a {
  color: #cbd5e1;
}

.site-footer a {
  display: block;
  margin-bottom: 10px;
}

.site-footer h3,
.site-footer h4 {
  margin-top: 0;
}

@media (max-width: 800px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 0;
  }

  .main-nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero {
    padding: 48px 0;
  }

  .hero-grid,
  .card-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.page-hero {
  padding: 64px 0 32px;
  background: linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
}

.page-hero h1,
.product-hero h1 {
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1;
  margin: 0 0 16px;
  letter-spacing: -0.04em;
}

.page-hero p,
.product-hero p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
  max-width: 720px;
}

.product-hero {
  padding: 72px 0;
}

.product-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: start;
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 28px;
}

.feature-list {
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.8;
}

@media (max-width: 800px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
}

.checkout-grid {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 28px;
  align-items: start;
}

.checkout-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px;
}

.checkout-card h1,
.checkout-card h2 {
  margin-top: 0;
}

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

.checkout-form label {
  font-weight: 700;
}

.checkout-form input {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0 14px;
  font: inherit;
}

.alert-error {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fecaca;
  border-radius: 14px;
  padding: 12px 14px;
  margin-bottom: 16px;
  font-weight: 600;
}

.checkout-note {
  color: var(--muted);
  line-height: 1.5;
  margin-top: 18px;
}

.checkout-card .btn {
  width: 100%;
  margin-bottom: 12px;
}

@media (max-width: 800px) {
  .checkout-grid {
    grid-template-columns: 1fr;
  }
}
