:root {
  --bg: #f5f8ff;
  --bg-gradient:
    radial-gradient(1200px 600px at 100% -10%, rgba(135, 196, 255, 0.35), transparent 60%),
    linear-gradient(135deg, #eff5ff, #fefcff);
  --card: rgba(255, 255, 255, 0.85);
  --text: #1f2937;
  --muted: #4b5b6c;
  --primary: #1d9bf0;
  --primary-hover: #1276c1;
  --border: rgba(15, 23, 42, 0.08);
  --shadow: 0 14px 40px rgba(15, 23, 42, 0.12);
  --nav-height: 90px;
  --radius: 18px;
  --radius-lg: 22px;
  --radius-xl: 26px;
  --container: 1160px;
  --section-y: 72px;
  --section-y-sm: 48px;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

html {
  scroll-padding-top: calc(var(--nav-height) + 12px);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: var(--nav-height) 0 0;
  color: var(--text);
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: var(--bg);
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: var(--bg-gradient);
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

h1 {
  font-size: clamp(2.8rem, 5vw, 4.6rem);
  line-height: 1.02;
  margin: 0 0 20px;
  letter-spacing: -0.03em;
  color: #0f172a;
}

h2 {
  text-align: center;
  margin: 0 0 28px;
  font-size: clamp(1.8rem, 2.7vw, 2.4rem);
  color: #0f172a;
  position: relative;
}

h2::after {
  content: "";
  display: block;
  width: 64px;
  height: 4px;
  margin: 12px auto 0;
  background: linear-gradient(135deg, var(--primary), #ffb74d);
  border-radius: 999px;
  opacity: 0.75;
}

h3 {
  margin: 0 0 12px;
  color: #0f172a;
}

p {
  color: var(--muted);
  line-height: 1.7;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 1px 18px rgba(15, 23, 42, 0.08);
}

.nav-content {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  color: #0f172a;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.01em;
  display: flex;
  gap: 10px;
  align-items: center;
}

.nav-logo-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  object-fit: cover;
  display: block;
  box-shadow: 0 6px 16px rgba(29, 155, 240, 0.18);
}

.nav-links {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}

.nav-links a {
  color: #334155;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: rgba(29, 155, 240, 0.12);
  color: #0f172a;
  text-decoration: none;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #0f172a;
  font-size: 1.6rem;
  cursor: pointer;
}

.section {
  padding: var(--section-y) 0;
}

.section .section-inner {
  position: relative;
}

.section-bg {
  background: var(--card);
  border-radius: var(--radius-xl);
  padding: clamp(28px, 6vw, 48px);
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: var(--shadow);
}

.hero {
  padding-top: clamp(32px, 6vw, 68px);
  padding-bottom: clamp(40px, 7vw, 68px);
  position: relative;
}

.hero-shape {
  position: absolute;
  inset: auto 0 -160px;
  height: 320px;
  background:
    radial-gradient(420px 220px at 20% 10%, rgba(29, 155, 240, 0.18), transparent 70%),
    radial-gradient(360px 260px at 75% 20%, rgba(255, 183, 77, 0.22), transparent 80%);
  pointer-events: none;
  z-index: -1;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 56px);
  align-items: center;
}

.hero-copy {
  display: grid;
  gap: 18px;
}

.eyebrow {
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.28em;
  color: #ff7426;
}

.accent {
  color: var(--primary);
}

.subtitle {
  font-size: 1.08rem;
  margin: 0;
}

.hero-note {
  margin: 0;
  padding: 12px 18px;
  background: rgba(29, 155, 240, 0.14);
  border-radius: 14px;
  color: #0f172a;
  font-weight: 600;
  box-shadow: 0 10px 28px rgba(29, 155, 240, 0.12);
}

.cta-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
}

.cta input,
.input {
  width: 100%;
  min-width: 0;
  font: inherit;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: rgba(255, 255, 255, 0.95);
  color: #0f172a;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.cta input:focus,
.input:focus {
  border-color: rgba(29, 155, 240, 0.7);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(29, 155, 240, 0.12);
  outline: none;
}

.button.primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 14px 26px;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  background: linear-gradient(135deg, var(--primary), #60a5fa);
  color: #fff;
  box-shadow: 0 12px 24px rgba(56, 128, 255, 0.22);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  cursor: pointer;
}

.button.primary:hover,
.button.primary:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 30px rgba(29, 155, 240, 0.3);
  text-decoration: none;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  margin-top: 8px;
}

.stat {
  background: rgba(255, 255, 255, 0.75);
  border-radius: 16px;
  padding: 14px 18px;
  text-align: center;
  font-weight: 600;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
  color: #0f172a;
}

.stat strong {
  display: block;
  font-size: 1.25rem;
  color: var(--primary);
}

.hero-media {
  position: relative;
  display: grid;
  justify-items: center;
}

.mockup.main {
  width: min(100%, 460px);
  border-radius: 32px;
  box-shadow: 0 28px 58px rgba(15, 23, 42, 0.18);
}

.mockup.alt {
  position: absolute;
  bottom: -12%;
  right: -10%;
  width: 220px;
  border-radius: 22px;
  box-shadow: 0 24px 40px rgba(15, 23, 42, 0.18);
}

.feature-grid,
.contact-grid,
.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.info-content {
  display: grid;
  gap: 8px;
}

.card,
.feature-card,
.preview-card,
.contact-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.08);
}

.preview-slider {
  display: grid;
  gap: 20px;
  justify-items: center;
}

.preview-track {
  position: relative;
  width: min(100%, 360px);
  min-height: 690px;
}

.preview-card {
  position: absolute;
  inset: 0;
  margin: 0;
  display: grid;
  gap: 10px;
  justify-items: center;
  align-content: start;
  padding: 20px 20px 0;
  opacity: 0;
  pointer-events: none;
  transform: translateX(24px) scale(0.98);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.preview-card.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0) scale(1);
}

.preview-card.is-adjacent {
  opacity: 0;
  pointer-events: none;
  transform: translateX(24px) scale(0.98);
}

.preview-card img {
  width: min(100%, 320px);
  border-radius: 18px;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.14);
}

.preview-card figcaption {
  color: #475569;
  text-align: center;
  margin: 0;
}

.preview-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  width: 100%;
  margin-top: -5px;
}

.preview-arrow,
.preview-dot {
  border: 0;
  cursor: pointer;
}

.preview-arrow {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  color: #0f172a;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
  font-size: 1.2rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.preview-arrow:hover,
.preview-arrow:focus-visible {
  transform: translateY(-1px);
  background: #fff;
  box-shadow: 0 16px 32px rgba(29, 155, 240, 0.18);
}

.preview-dots {
  display: flex;
  align-items: center;
  gap: 10px;
}

.preview-dot {
  width: 11px;
  height: 11px;
  padding: 0;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.5);
  transition: transform 0.18s ease, background 0.18s ease;
}

.preview-dot.is-active {
  background: var(--primary);
  transform: scale(1.2);
}

.faq-grid details {
  display: block;
}

.faq-grid summary {
  cursor: pointer;
  font-weight: 700;
  color: #0f172a;
}

.faq-grid details p {
  margin: 12px 0 0;
}

.contact-grid {
  grid-template-columns: 1fr 0.85fr;
  align-items: stretch;
}

.form {
  display: grid;
  gap: 16px;
}

.field {
  display: grid;
  gap: 8px;
}

.label {
  font-weight: 600;
  color: #0f172a;
}

.form-feedback {
  padding: 12px 16px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid rgba(22, 163, 74, 0.32);
  background: rgba(22, 163, 74, 0.12);
  color: #166534;
}

.footer {
  margin-top: var(--section-y);
  padding: 26px 0;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.85);
  border-top: 1px solid rgba(148, 163, 184, 0.22);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: #475569;
  font-size: 0.95rem;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.show {
  opacity: 1;
  transform: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 1020px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

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

  .mockup.alt {
    display: none;
  }
}

@media (max-width: 1120px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(8px);
    flex-direction: column;
    gap: 10px;
    padding: 16px 20px;
    box-shadow: 0 18px 32px rgba(15, 23, 42, 0.12);
  }

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

}

@media (max-width: 640px) {
  .section {
    padding: var(--section-y-sm) 0;
  }

  .container {
    padding: 0 18px;
  }

  .cta-row {
    grid-template-columns: 1fr;
  }

  .hero-media {
    display: none;
  }

  .preview-track {
    width: min(100%, 320px);
    min-height: 620px;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (min-width: 900px) {
  .preview-track {
    width: min(100%, 760px);
    min-height: 700px;
  }

  .preview-card {
    width: 360px;
    padding-bottom: 0;
  }

  .preview-card.is-active {
    transform: translateX(0) scale(1);
  }

  .preview-card.is-adjacent {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(390px) scale(1);
  }

  .preview-card img {
    width: min(100%, 320px);
  }

  .preview-card.is-adjacent .preview-controls {
    visibility: hidden;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
