@import url("https://fonts.googleapis.com/css2?family=Rubik:wght@400;500;700;800&family=PT+Sans:wght@400;700&display=swap");

:root {
  --bg: #f6f7ef;
  --surface: #fffdf5;
  --surface-2: #eef4ff;
  --text: #17212b;
  --muted: #506076;
  --brand: #0a84ff;
  --brand-dark: #0062c2;
  --accent: #ffaf1a;
  --stroke: #d7deeb;
  --shadow: 0 20px 50px rgba(10, 35, 70, 0.08);
  --radius: 18px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "PT Sans", "Trebuchet MS", sans-serif;
  color: var(--text);
  background: linear-gradient(140deg, #f9f4df 0%, #eef6ff 60%, #f8fbff 100%);
  line-height: 1.55;
}

.bg-shape {
  position: fixed;
  z-index: -1;
  filter: blur(80px);
  opacity: 0.45;
  border-radius: 999px;
}

.bg-shape-a {
  width: 360px;
  height: 360px;
  background: #ffc24d;
  top: -120px;
  right: -70px;
}

.bg-shape-b {
  width: 420px;
  height: 420px;
  background: #7fc0ff;
  bottom: -140px;
  left: -100px;
}

.container {
  width: min(1160px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(246, 247, 239, 0.88);
  border-bottom: 1px solid rgba(133, 149, 171, 0.22);
}

.nav-wrap {
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand {
  color: var(--text);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 800 1.1rem/1 "Rubik", sans-serif;
  letter-spacing: 0.02em;
}

.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 8px 18px rgba(10, 35, 70, 0.2);
}

.main-nav {
  margin-left: auto;
  margin-right: 8px;
  display: flex;
  gap: 16px;
}

.main-nav a {
  text-decoration: none;
  color: #35465f;
  font: 500 0.98rem/1 "Rubik", sans-serif;
  padding: 8px 10px;
  border-radius: 10px;
  transition: background-color 0.2s ease;
}

.main-nav a:hover {
  background: rgba(10, 132, 255, 0.1);
}

.header-actions {
  display: flex;
  gap: 8px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 12px;
  border: 1px solid transparent;
  text-decoration: none;
  font: 700 0.94rem/1 "Rubik", sans-serif;
  letter-spacing: 0.01em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

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

.btn-main {
  color: #fff;
  background: linear-gradient(130deg, var(--brand) 0%, var(--brand-dark) 100%);
  box-shadow: 0 10px 24px rgba(10, 132, 255, 0.26);
}

.btn-main:hover {
  box-shadow: 0 14px 28px rgba(10, 132, 255, 0.32);
}

.btn-ghost {
  color: var(--text);
  background: #ffffffd4;
  border-color: var(--stroke);
}

.btn-demo {
  color: #4a3000;
  background: linear-gradient(130deg, #ffd98a 0%, #ffc450 100%);
  box-shadow: 0 10px 24px rgba(255, 175, 26, 0.24);
}

.hero {
  padding: 64px 0 28px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
}

.hero-kicker {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 999px;
  background: #fff6dd;
  color: #7a4f00;
  font: 700 0.82rem/1 "Rubik", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

h1,
h2,
h3 {
  margin: 0 0 14px;
  line-height: 1.14;
  font-family: "Rubik", sans-serif;
}

h1 {
  font-size: clamp(1.75rem, 3.2vw, 3rem);
}

h2 {
  font-size: clamp(1.35rem, 2.2vw, 2.1rem);
}

h3 {
  font-size: 1.1rem;
}

p {
  margin: 0 0 12px;
  color: #243245;
}

.hero-text {
  max-width: 65ch;
}

.hero-actions {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.section {
  padding: 56px 0;
}

.section-soft {
  background: linear-gradient(120deg, #ffffffb8 0%, #edf4ff 100%);
  border-top: 1px solid rgba(120, 144, 174, 0.22);
  border-bottom: 1px solid rgba(120, 144, 174, 0.22);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
}

.photo-slot {
  min-height: 280px;
  border: 1px solid #d7deeb;
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.photo-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.photo-slot.hero-photo {
  min-height: 320px;
}

.photo-slot.small {
  min-height: 240px;
}

.photo-slot.risk-photo {
  min-height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.photo-slot.risk-photo img {
  width: 96px;
  height: 96px;
  object-fit: contain;
}

.cards {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.card {
  border: 1px solid var(--stroke);
  border-radius: 16px;
  padding: 18px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.section-lead {
  margin-bottom: 14px;
  color: var(--muted);
}

.ticker {
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid #d5dded;
  background: linear-gradient(180deg, #f9fcff 0%, #f2f8ff 100%);
  padding: 14px 0;
}

.ticker-track {
  display: flex;
  width: max-content;
  gap: 14px;
  padding: 0 14px;
  animation: ticker 95s linear infinite;
}

.review-card {
  min-width: 320px;
  max-width: 320px;
  border: 1px solid #dbe3f1;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(10, 35, 70, 0.08);
  padding: 12px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.review-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid #ffffff;
  box-shadow: 0 4px 10px rgba(10, 35, 70, 0.15);
}

.review-content {
  min-width: 0;
}

.review-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.review-name {
  font: 700 0.94rem/1.2 "Rubik", sans-serif;
  color: #1e2d40;
}

.review-stars {
  color: #ffb300;
  font: 700 0.78rem/1 "Rubik", sans-serif;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.review-content p {
  margin: 8px 0 0;
  font: 400 0.9rem/1.35 "PT Sans", sans-serif;
  color: #2b3f58;
}

@keyframes ticker {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ticker-track {
    animation: none;
  }
}

.clean-list {
  margin: 0;
  padding-left: 20px;
}

.faq {
  display: grid;
  gap: 10px;
}

details {
  border: 1px solid var(--stroke);
  border-radius: 12px;
  background: #ffffffe8;
  padding: 12px 14px;
}

summary {
  cursor: pointer;
  font: 700 1rem/1.3 "Rubik", sans-serif;
}

summary + p {
  margin-top: 10px;
}

.site-footer {
  border-top: 1px solid rgba(133, 149, 171, 0.26);
  padding: 24px 0;
  background: #fcfdffcf;
}

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

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-links a {
  color: #31445f;
  text-decoration: none;
  font: 700 0.92rem/1 "Rubik", sans-serif;
}

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

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

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

@media (max-width: 720px) {
  .nav-wrap {
    flex-wrap: wrap;
    padding: 10px 0;
  }

  .header-actions {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .btn {
    padding: 11px 14px;
  }

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

  .review-card {
    min-width: min(84vw, 300px);
    max-width: min(84vw, 300px);
  }

  .section {
    padding: 44px 0;
  }
}
