:root {
  --bg: #ffffff;
  --bg-soft: #f4f8fb;
  --panel: rgba(255, 255, 255, 0.84);
  --panel-strong: rgba(255, 255, 255, 0.96);
  --line: rgba(16, 70, 92, 0.12);
  --text: #102132;
  --muted: #5f7386;
  --accent: #12b3a5;
  --accent-strong: #0d8f85;
  --shadow: 0 22px 60px rgba(16, 33, 50, 0.10);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --container: min(1180px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', Arial, sans-serif;
  background:
    radial-gradient(circle at top, rgba(18, 179, 165, 0.12), transparent 20%),
    linear-gradient(180deg, #ffffff 0%, #f8fbfd 42%, #f3f8fb 100%);
  color: var(--text);
}

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

button,
input,
textarea {
  font: inherit;
}

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

.container {
  width: var(--container);
  margin: 0 auto;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
}

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

.hero-bg {
  background-image: url('assets/topo-hero.png');
  background-size: cover;
  background-position: center center;
  transform: scale(1.04);
}

.hero-overlay {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08) 0%, rgba(1, 6, 12, 0.16) 34%, rgba(1, 6, 12, 0.58) 100%),
    radial-gradient(circle at center top, rgba(18, 179, 165, 0.10), transparent 40%);
}

.hero-topbar,
.hero-content,
.scroll-down {
  position: relative;
  z-index: 1;
}

.hero-topbar {
  padding: 28px 0 0;
}

.hero-logo {
  width: clamp(110px, 12vw, 160px);
  opacity: 0.9;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.25));
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: 64px 0 clamp(120px, 16vh, 160px);
  max-width: 760px;
}

.hero,
.hero h1,
.hero .hero-lead {
  color: #eef6ff;
}

.hero .eyebrow {
  color: #d5fbf5;
}

.eyebrow,
.section-kicker,
.mini-tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  gap: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.76rem;
  color: var(--accent-strong);
}

.eyebrow::before,
.section-kicker::before,
.mini-tag::before {
  content: '';
  width: 30px;
  height: 1px;
  background: currentColor;
  opacity: 0.8;
}

.hero h1 {
  margin: 18px 0 16px;
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.hero-lead {
  margin: 0;
  max-width: 620px;
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  line-height: 1.7;
  color: rgba(238, 246, 255, 0.88);
}

.scroll-down {
  align-self: center;
  justify-self: center;
  margin: 0 0 34px;
  width: 58px;
  height: 58px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
  cursor: pointer;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.scroll-down:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.56);
  background: rgba(255, 255, 255, 0.22);
}

.scroll-down span {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-right: 2px solid white;
  border-bottom: 2px solid white;
  transform: rotate(45deg) translate(-2px, -2px);
  animation: arrowBounce 1.4s infinite;
}

@keyframes arrowBounce {
  0%, 100% { transform: rotate(45deg) translate(-2px, -2px); opacity: 0.5; }
  50% { transform: rotate(45deg) translate(2px, 2px); opacity: 1; }
}

.section {
  padding: 110px 0;
  position: relative;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 42px;
}

.section-heading h2,
.product-copy h2,
.contact-copy h2 {
  margin: 16px 0 14px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.section-heading p,
.product-copy p,
.contact-copy p,
.feature-list li,
.form-actions p,
.contact-panel p,
.site-footer p {
  color: var(--muted);
  line-height: 1.75;
}

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

.stat-card,
.info-panel,
.video-card,
.form-card,
.contact-panel,
.source-card,
.emphasis-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 249, 252, 0.98));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.stat-card {
  padding: 28px;
  border-radius: var(--radius-lg);
}

.stat-value {
  margin-bottom: 8px;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  color: var(--accent-strong);
}

.stat-card p {
  margin: 0;
  color: var(--muted);
}

.intro-grid,
.product-grid,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  align-items: stretch;
  margin-top: 34px;
}

.info-panel,
.form-card {
  border-radius: var(--radius-xl);
  padding: 34px;
}

.info-panel h3,
.video-head h3,
.contact-panel h3 {
  margin: 18px 0 12px;
  font-size: 1.45rem;
  letter-spacing: -0.03em;
}

.info-panel-highlight {
  background:
    linear-gradient(180deg, rgba(18, 179, 165, 0.14), rgba(255, 255, 255, 0.98)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 249, 252, 0.98));
}

.product-section {
  padding-top: 30px;
}

.product-section-alt {
  background: linear-gradient(180deg, rgba(18, 179, 165, 0.05), rgba(18, 179, 165, 0.015));
}

.product-grid {
  align-items: center;
}

.product-grid-reverse {
  grid-template-columns: 1.05fr 0.95fr;
}

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

.pricing-badge {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 14px 18px;
  border-radius: 999px;
  margin: 4px 0 20px;
  background: rgba(18, 179, 165, 0.10);
  border: 1px solid rgba(18, 179, 165, 0.20);
  color: var(--text);
  font-weight: 600;
}

.pricing-badge span {
  color: var(--accent-strong);
}

.feature-list {
  display: grid;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}

.feature-list li {
  position: relative;
  padding-left: 28px;
  margin: 0;
}

.feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--accent-strong), var(--accent));
  box-shadow: 0 0 14px rgba(18, 179, 165, 0.22);
}

.source-card {
  display: grid;
  gap: 4px;
  padding: 18px 20px;
  border-radius: var(--radius-md);
  margin: 0 0 26px;
}

.source-card strong {
  font-size: 1rem;
}

.source-card span {
  color: var(--muted);
  font-size: 0.95rem;
}

.video-card {
  border-radius: var(--radius-xl);
  padding: 22px;
}

.video-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
  margin-bottom: 18px;
}

.video-head h3,
.video-head p {
  margin: 0;
}

.video-head p {
  text-align: right;
  min-width: 150px;
}

.video-shell {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 20px;
  background: #000;
  border: 1px solid rgba(16, 33, 50, 0.10);
}

.video-shell video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
}

.video-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border: 0;
  background:
    radial-gradient(circle at center, rgba(18, 179, 165, 0.12), rgba(0, 0, 0, 0.36) 42%, rgba(0, 0, 0, 0.48) 100%);
  cursor: pointer;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.video-shell.is-playing .video-play {
  opacity: 0;
  visibility: hidden;
}

.play-icon {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.30);
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.26);
}

.play-icon::before {
  content: '';
  margin-left: 6px;
  width: 0;
  height: 0;
  border-top: 16px solid transparent;
  border-bottom: 16px solid transparent;
  border-left: 26px solid white;
}

.emphasis-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 8px 0 24px;
}

.emphasis-card {
  padding: 20px;
  border-radius: var(--radius-md);
}

.emphasis-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.35rem;
  color: var(--accent-strong);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

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

.button-primary {
  background: linear-gradient(135deg, var(--accent-strong), var(--accent));
  color: #ffffff;
  box-shadow: 0 18px 36px rgba(18, 179, 165, 0.18);
}

.button-secondary {
  background: rgba(18, 179, 165, 0.03);
  border-color: rgba(18, 179, 165, 0.22);
  color: var(--text);
}

.button-secondary:hover {
  box-shadow: 0 18px 36px rgba(18, 179, 165, 0.10);
}

.contact-grid {
  align-items: center;
}

.contact-panel {
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-top: 28px;
}

.contact-panel h3 {
  margin-top: 0;
}

.form-card {
  background:
    linear-gradient(180deg, rgba(18, 179, 165, 0.08), rgba(255, 255, 255, 0.98)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 249, 252, 0.98));
}

.contact-form {
  display: grid;
  gap: 18px;
}

.form-status {
  display: none;
  padding: 14px 16px;
  border-radius: 14px;
  font-size: 0.95rem;
}

.form-status.is-visible {
  display: block;
}

.form-status.is-success {
  background: rgba(78, 221, 154, 0.12);
  border: 1px solid rgba(78, 221, 154, 0.28);
  color: #0f6b43;
}

.form-status.is-error {
  background: rgba(255, 110, 110, 0.10);
  border: 1px solid rgba(255, 110, 110, 0.24);
  color: #9e2f2f;
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.field-group {
  display: grid;
  gap: 10px;
}

.field-group label {
  font-size: 0.94rem;
  color: rgba(16, 33, 50, 0.86);
}

.field-group label span,
.form-actions span {
  color: var(--accent-strong);
}

.field-group input,
.field-group textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(16, 33, 50, 0.12);
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.field-group input:focus,
.field-group textarea:focus {
  outline: none;
  border-color: rgba(18, 179, 165, 0.42);
  box-shadow: 0 0 0 4px rgba(18, 179, 165, 0.12);
  background: #ffffff;
}

.field-group textarea {
  resize: vertical;
  min-height: 140px;
}

.form-actions {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
}

.form-actions p {
  margin: 0;
  font-size: 0.92rem;
}

.hp-field {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

.site-footer {
  padding: 24px 0 34px;
  border-top: 1px solid rgba(16, 33, 50, 0.08);
}

.site-footer p {
  margin: 0;
  text-align: center;
  font-size: 0.94rem;
}

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

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .stats-grid,
  .intro-grid,
  .product-grid,
  .contact-grid,
  .product-grid-reverse,
  .field-row,
  .emphasis-grid {
    grid-template-columns: 1fr;
  }

  .video-head {
    flex-direction: column;
    align-items: start;
  }

  .video-head p {
    text-align: left;
    min-width: auto;
  }

  .product-copy {
    max-width: 100%;
  }

  .form-actions {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (max-width: 680px) {
  :root {
    --container: min(100% - 28px, 1180px);
  }

  .hero-topbar {
    padding-top: 22px;
  }

  .hero-content {
    padding-bottom: 112px;
  }

  .section {
    padding: 86px 0;
  }

  .stat-card,
  .info-panel,
  .video-card,
  .form-card {
    padding: 24px;
  }

  .pricing-badge {
    border-radius: 22px;
  }

  .play-icon {
    width: 76px;
    height: 76px;
  }
}
