:root {
  --bg: #f3f6fb;
  --paper: #ffffff;
  --ink: #141924;
  --muted: #576173;
  --brand: #0a5edb;
  --brand-strong: #0043ad;
  --brand-soft: #5ea0ff;
  --accent: #ff7047;
  --line: #d7dfec;
  --radius-lg: 1.75rem;
  --radius-md: 1rem;
  --container: 1120px;
  --shadow-soft: 0 14px 40px rgba(18, 33, 58, 0.09);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(1200px 550px at 95% -5%, rgba(94, 160, 255, 0.2), transparent 60%),
    radial-gradient(900px 480px at -5% 10%, rgba(255, 112, 71, 0.15), transparent 58%),
    var(--bg);
  line-height: 1.6;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Sora", sans-serif;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

p {
  margin: 0;
}

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

.container {
  width: min(100% - 2.5rem, var(--container));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 0.7rem 1rem;
  border-radius: 0 0 0.6rem 0.6rem;
}

.skip-link:focus {
  left: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(243, 246, 251, 0.82);
  border-bottom: 1px solid rgba(215, 223, 236, 0.7);
}

.header-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  min-height: 4.5rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: "Sora", sans-serif;
  font-weight: 700;
}

.logo-mark {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 0.75rem;
  display: inline-grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-soft));
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.2rem;
  color: var(--muted);
  font-weight: 600;
}

.nav-list a:hover {
  color: var(--brand-strong);
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border: 0;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

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

.btn-small {
  background: var(--ink);
  color: #fff;
  padding: 0.6rem 1rem;
}

.hero {
  position: relative;
  overflow: clip;
  padding: 5.4rem 0 3.4rem;
  min-height: 86vh;
  display: grid;
  align-items: end;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  background:
    linear-gradient(102deg, rgba(5, 10, 21, 0.92) 2%, rgba(8, 14, 29, 0.82) 38%, rgba(7, 12, 24, 0.52) 64%, rgba(5, 11, 21, 0.66) 100%),
    linear-gradient(to top, rgba(8, 12, 23, 0.86), rgba(8, 12, 23, 0.15) 35%);
}

.hero-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
  grid-template-columns: 1.2fr 0.8fr;
  position: relative;
  z-index: 1;
}

.tag {
  display: inline-block;
  margin-bottom: 0.85rem;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--brand-strong);
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.65rem);
  margin-bottom: 1rem;
  color: #f1f6ff;
}

.lead {
  max-width: 58ch;
  font-size: 1.08rem;
  color: #d3deef;
}

.tag-light {
  color: #c4ddff;
  background: rgba(67, 120, 204, 0.24);
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
}

.hero-actions {
  display: flex;
  gap: 0.9rem;
  margin: 1.5rem 0;
  flex-wrap: wrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-soft));
  color: #fff;
  padding: 0.9rem 1.3rem;
  box-shadow: var(--shadow-soft);
}

.btn-ghost {
  border: 1px solid rgba(225, 237, 255, 0.45);
  color: #eef4ff;
  background: rgba(166, 196, 240, 0.16);
  padding: 0.88rem 1.3rem;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  padding: 0;
  margin: 0;
  list-style: none;
  color: #b8c6de;
}

.hero-stats li {
  background: rgba(216, 233, 255, 0.09);
  border: 1px solid rgba(216, 233, 255, 0.25);
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  font-size: 0.9rem;
}

.hero-stats strong {
  color: #ffffff;
}

.hero-card {
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  background: linear-gradient(160deg, rgba(238, 246, 255, 0.14), rgba(186, 213, 255, 0.12));
  box-shadow: 0 22px 60px rgba(2, 8, 20, 0.35);
  border: 1px solid rgba(209, 227, 255, 0.35);
  backdrop-filter: blur(8px);
}

.card-badge {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: #eaf2ff;
  background: rgba(45, 108, 206, 0.38);
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
}

.hero-card h2 {
  margin-top: 0.8rem;
  margin-bottom: 0.7rem;
  color: #ffffff;
}

.hero-card p {
  color: #dbe7fb;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
  margin: 1rem 0;
}

.price {
  font-family: "Sora", sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
}

.old-price {
  color: #b5c6e2;
  text-decoration: line-through;
}

.btn-card {
  width: 100%;
  background: var(--ink);
  color: #fff;
  padding: 0.78rem 1rem;
}

.hero-card .btn-card {
  background: rgba(13, 26, 46, 0.9);
}

.section {
  padding: 4.2rem 0;
}

.alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0.8));
}

.section-head {
  margin-bottom: 1.7rem;
}

.section-head h2 {
  font-size: clamp(1.55rem, 3vw, 2.35rem);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.category-card {
  border-radius: var(--radius-md);
  background: var(--paper);
  padding: 1.2rem;
  box-shadow: 0 10px 25px rgba(18, 33, 58, 0.05);
}

.card-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 0.85rem;
  margin-bottom: 0.8rem;
}

.category-card p {
  margin-top: 0.55rem;
  color: var(--muted);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.product-card {
  background: var(--paper);
  border-radius: var(--radius-md);
  padding: 1.2rem;
}

.product-image {
  aspect-ratio: 4 / 3;
}

.product-card p {
  color: var(--muted);
  margin-top: 0.6rem;
}

.promo-block {
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  background: linear-gradient(120deg, rgba(10, 94, 219, 0.12), rgba(94, 160, 255, 0.25));
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.3rem;
}

.promo-block p:last-child {
  margin-top: 0.6rem;
  color: var(--muted);
}

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

.faq-item {
  background: var(--paper);
  border-radius: var(--radius-md);
  padding: 1.2rem;
}

.faq-item p {
  margin-top: 0.6rem;
  color: var(--muted);
}

.site-footer {
  background: #101520;
  color: #dde5f3;
  padding: 3rem 0 1.2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.site-footer h2 {
  font-size: 1.1rem;
  margin-bottom: 0.7rem;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
  color: #b6c3d9;
}

.site-footer p {
  color: #b6c3d9;
}

.copyright {
  text-align: center;
  padding-top: 1rem;
  margin-top: 1.5rem;
  border-top: 1px solid rgba(182, 195, 217, 0.25);
  color: #8d9bb2;
  font-size: 0.92rem;
}

.demo-toast {
  position: fixed;
  left: 1rem;
  bottom: calc(1rem + env(safe-area-inset-bottom));
  z-index: 1200;
  width: min(92vw, 560px);
  background: linear-gradient(140deg, rgba(7, 15, 31, 0.98), rgba(10, 34, 68, 0.96));
  color: #f3f8ff;
  border: 1px solid rgba(171, 204, 255, 0.45);
  border-radius: 1rem;
  box-shadow: 0 22px 48px rgba(1, 7, 18, 0.55);
  padding: 1rem 1.1rem;
  opacity: 0;
  transform: translateY(12px) scale(0.98);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.demo-toast p {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.45;
}

.demo-toast.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.info-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page-main {
  flex: 1;
  padding: 3.2rem 0 4rem;
}

.page-hero {
  background: linear-gradient(125deg, rgba(10, 94, 219, 0.14), rgba(94, 160, 255, 0.24));
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 1.3rem;
}

.page-hero h1 {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  color: #0f1f3d;
  margin-bottom: 0.8rem;
}

.page-hero p {
  color: var(--muted);
  max-width: 70ch;
}

.content-card {
  background: var(--paper);
  border-radius: 1.2rem;
  padding: 1.3rem;
  box-shadow: 0 10px 26px rgba(16, 35, 66, 0.08);
  margin-bottom: 0.95rem;
}

.content-card h2 {
  font-size: 1.2rem;
  margin-bottom: 0.7rem;
}

.content-card p,
.content-card li {
  color: #445065;
}

.content-card ul {
  margin: 0;
  padding-left: 1.2rem;
}

.page-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.demo-form {
  display: grid;
  gap: 0.85rem;
}

.demo-form label {
  font-weight: 700;
  color: #1a2538;
}

.form-hint {
  margin: -0.2rem 0 0.1rem;
  font-size: 0.93rem;
  color: #5a6a83;
}

.demo-form input,
.demo-form select {
  width: 100%;
  border: 1px solid #ced8ea;
  border-radius: 0.8rem;
  padding: 0.78rem 0.9rem;
  font: inherit;
  background: #f8fbff;
  color: #152135;
}

.demo-form input:focus,
.demo-form select:focus {
  outline: 2px solid rgba(10, 94, 219, 0.28);
  border-color: #3a7de4;
}

.result-box {
  border-radius: 1rem;
  background: linear-gradient(135deg, #0e3f92, #115fcf);
  color: #eaf2ff;
  padding: 1rem;
}

.result-box p {
  color: #eef4ff;
}

.result-box p + p {
  margin-top: 0.45rem;
}

.result-title {
  font-size: 1.15rem;
  line-height: 1.35;
}

.result-subtitle {
  font-size: 1.02rem;
  font-weight: 600;
}

.wizard-step {
  display: none;
}

.wizard-step.is-active {
  display: block;
}

.step-title {
  font-size: 1.2rem;
  margin-bottom: 0.7rem;
}

.step-actions {
  margin-top: 1rem;
  display: flex;
  gap: 0.6rem;
}

.btn-secondary {
  background: #e9f0fc;
  color: #10356d;
  padding: 0.75rem 1rem;
}

.status-line {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #e9f8ef;
  border: 1px solid #bae5c9;
  color: #125832;
  border-radius: 999px;
  padding: 0.4rem 0.7rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.delivery-table-wrap {
  margin-top: 0.8rem;
  overflow-x: auto;
}

.delivery-table {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
  background: #fbfdff;
  border: 1px solid #d8e2f2;
  border-radius: 0.85rem;
  overflow: hidden;
}

.delivery-table th,
.delivery-table td {
  text-align: left;
  padding: 0.68rem 0.62rem;
  border-bottom: 1px solid #e3e9f5;
  font-size: 0.94rem;
  color: #23324e;
}

.delivery-table th {
  background: #edf3fc;
  font-weight: 800;
  color: #173d7a;
}

.delivery-table tbody tr:last-child td {
  border-bottom: 0;
}

.reco-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 1rem;
  align-items: start;
}

.recommender-panel {
  background: linear-gradient(175deg, #ffffff, #f4f8ff);
}

.wizard-meta {
  margin: 0 0 0.8rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: #31558f;
}

.all-questions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.question-card {
  border: 1px solid #d5e1f5;
  border-radius: 0.9rem;
  background: #f8fbff;
  padding: 0.8rem;
}

.question-card .step-title {
  font-size: 1.02rem;
  margin-bottom: 0.45rem;
}

.step-actions-wide {
  border-top: 1px dashed #c9d8f0;
  padding-top: 0.8rem;
}

.btn-ghost-dark {
  background: #e5eefc;
  color: #0e3979;
  border: 1px solid #c0d4f3;
  padding: 0.76rem 1rem;
}

.recommendations-panel {
  background: linear-gradient(160deg, #0f2f66, #134ea1);
  color: #edf3ff;
}

.recommendations-panel h2 {
  color: #ffffff;
  margin-bottom: 1rem;
}

.recommendation-grid {
  display: grid;
  gap: 0.85rem;
}

.recommendation-card {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 0.8rem;
  border-radius: 1rem;
  background: rgba(248, 251, 255, 0.96);
  color: #132444;
  overflow: hidden;
}

.recommendation-image {
  width: 100%;
  height: 100%;
  min-height: 140px;
  object-fit: cover;
}

.recommendation-copy {
  padding: 0.85rem 0.9rem 0.9rem 0.2rem;
}

.recommendation-badge {
  display: inline-block;
  margin: 0 0 0.4rem;
  font-size: 0.73rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #1351ac;
}

.recommendation-copy h3 {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.recommendation-copy p {
  color: #364768;
  margin: 0;
}

.recommendation-price {
  margin-top: 0.55rem;
  color: #0f3e89;
  font-family: "Sora", sans-serif;
  font-weight: 700;
}

.reveal,
.reveal-delay {
  opacity: 0;
  transform: translateY(14px);
  animation: rise 0.65s ease-out forwards;
}

.reveal-delay {
  animation-delay: 0.2s;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .hero-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .reco-layout {
    grid-template-columns: 1fr;
  }

  .all-questions-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 76vh;
    padding-top: 4rem;
  }

  .category-grid,
  .faq-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .promo-block {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 760px) {
  .nav-list {
    display: none;
  }

  .container {
    width: min(100% - 1.4rem, var(--container));
  }

  .hero {
    min-height: 84vh;
    padding-top: 3.6rem;
    padding-bottom: 2rem;
  }

  .hero h1 {
    font-size: clamp(1.9rem, 9vw, 2.6rem);
  }

  .hero-stats li {
    width: fit-content;
  }

  .product-grid,
  .category-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .btn-small {
    display: none;
  }

  .demo-toast {
    left: 0.7rem;
    right: 0.7rem;
    width: auto;
    bottom: calc(6rem + env(safe-area-inset-bottom));
  }

  .page-main {
    padding-top: 2.4rem;
  }

  .page-hero {
    padding: 1.3rem;
  }

  .recommendation-card {
    grid-template-columns: 1fr;
  }

  .recommendation-image {
    min-height: 190px;
  }

  .recommendation-copy {
    padding: 0.2rem 0.8rem 0.9rem;
  }
}
