:root {
  --bg: #080c14;
  --bg-elevated: rgba(16, 22, 36, 0.78);
  --bg-card: rgba(20, 26, 40, 0.88);
  --border: rgba(255, 255, 255, 0.07);
  --border-strong: rgba(255, 255, 255, 0.13);
  --text: #f2f5fa;
  --muted: #95a1b4;
  --teal: #34d3c0;
  --teal-deep: #1ab8a6;
  --gold: #c9964a;
  --gold-hot: #dfa55c;
  --orange: #e8a84a;
  --green: #12c48a;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 18px 44px rgba(0, 0, 0, 0.38);
  --font: "Manrope", sans-serif;
  --display: "Sora", sans-serif;
  --header-h: 68px;
  --container: 1100px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

/* Background atmosphere */
.bg-waves {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 50% at 12% 18%, rgba(52, 211, 192, 0.11), transparent 55%),
    radial-gradient(ellipse 60% 40% at 88% 12%, rgba(232, 168, 74, 0.09), transparent 50%),
    radial-gradient(ellipse 70% 50% at 68% 82%, rgba(79, 125, 243, 0.07), transparent 55%),
    radial-gradient(ellipse 50% 40% at 22% 88%, rgba(201, 150, 74, 0.06), transparent 50%),
    var(--bg);
}

.bg-waves::before,
.bg-waves::after {
  content: "";
  position: absolute;
  inset: -20% -10%;
  background:
    repeating-linear-gradient(
      115deg,
      transparent 0 40px,
      rgba(45, 212, 191, 0.03) 40px 41px,
      transparent 41px 90px,
      rgba(245, 158, 11, 0.025) 90px 91px
    );
  opacity: 0.7;
  animation: drift 28s linear infinite;
}

.bg-waves::after {
  inset: -30% -20%;
  opacity: 0.45;
  animation-duration: 40s;
  animation-direction: reverse;
  background:
    radial-gradient(closest-side at 30% 40%, rgba(45, 212, 191, 0.15), transparent 70%),
    radial-gradient(closest-side at 75% 60%, rgba(245, 158, 11, 0.12), transparent 70%);
  filter: blur(40px);
}

@keyframes drift {
  from { transform: translate3d(0, 0, 0) rotate(0deg); }
  to { transform: translate3d(-3%, 2%, 0) rotate(2deg); }
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  backdrop-filter: blur(16px);
  background: rgba(7, 10, 16, 0.75);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s, background 0.25s;
}

.header.is-scrolled {
  border-bottom-color: var(--border);
  background: rgba(7, 10, 16, 0.9);
}

.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: 0.08em;
  font-size: 1.15rem;
}

.logo__dot {
  position: relative;
}

.logo__dot::after {
  content: "";
  position: absolute;
  top: -0.15em;
  left: 50%;
  width: 0.28em;
  height: 0.28em;
  border-radius: 50%;
  background: var(--gold);
  transform: translateX(-50%);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav__link {
  font-size: 0.92rem;
  color: rgba(244, 247, 251, 0.82);
  transition: color 0.2s;
}

.nav__link:hover,
.nav__link.is-active {
  color: var(--text);
}

.header__cta {
  flex-shrink: 0;
}

.burger {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  background: transparent;
  padding: 0;
  cursor: pointer;
  place-items: center;
  gap: 5px;
  flex-direction: column;
}

.burger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

.burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.35rem;
  border-radius: 11px;
  border: 1px solid transparent;
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.94rem;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, border-color 0.2s, opacity 0.2s;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.btn--gold {
  background: linear-gradient(135deg, var(--gold-hot), var(--gold) 55%, #b8843a);
  color: #121212;
  box-shadow: 0 8px 22px rgba(201, 150, 74, 0.3);
}

.btn--gold:hover {
  box-shadow: 0 12px 28px rgba(212, 160, 86, 0.4);
}

.btn--outline {
  background: transparent;
  border-color: var(--gold);
  color: var(--text);
}

.btn--outline:hover {
  background: rgba(212, 160, 86, 0.1);
}

.btn--gradient {
  background: linear-gradient(115deg, #34d3c0, #4f7df3);
  color: #fff;
}

.btn--sm {
  padding: 0.65rem 1.15rem;
  font-size: 0.88rem;
}

.btn--block {
  width: 100%;
}

/* Typography helpers */
.text-teal { color: var(--teal); }
.text-gold { color: var(--gold); }

.link-underline {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.section {
  padding: 5rem 0;
}

.section-title {
  font-family: var(--display);
  font-size: clamp(1.75rem, 3.2vw, 2.4rem);
  font-weight: 700;
  text-align: center;
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}

.section-title--left {
  text-align: left;
}

.section-sub {
  text-align: center;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 2.75rem;
  font-size: 1.02rem;
}

.section-sub--left {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
  max-width: 520px;
}

/* Hero */
.hero {
  padding-top: 3rem;
  padding-bottom: 2rem;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
}

.hero__title {
  font-family: var(--display);
  font-size: clamp(1.85rem, 3.8vw, 2.85rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.03em;
  margin: 0 0 1.25rem;
}

.hero__lead {
  margin: 0 0 0.55rem;
  color: rgba(244, 247, 251, 0.9);
  font-size: 1.05rem;
}

.hero__lead strong {
  color: var(--text);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

/* Form card */
.form-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  border-radius: calc(var(--radius) + 2px);
  padding: 1.65rem 1.4rem;
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.form-card__title {
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 600;
  text-align: center;
  margin: 0 0 1.25rem;
}

.form-card__title--left {
  text-align: left;
  font-size: 1.45rem;
  margin-bottom: 0.35rem;
}

.form-card__hint {
  color: var(--muted);
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
}

.form-card__secure {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  color: var(--muted);
  font-size: 0.82rem;
  margin: 0.25rem 0 0.9rem;
}

.lead-form {
  display: grid;
  gap: 0.75rem;
}

.lead-form input {
  width: 100%;
  padding: 0.9rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: rgba(8, 11, 18, 0.85);
  color: var(--text);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.lead-form input::placeholder {
  color: #7d8899;
}

.lead-form input:focus {
  border-color: rgba(45, 212, 191, 0.55);
  box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.12);
}

.lead-form input.is-invalid {
  border-color: #f87171;
}

.field {
  display: grid;
  gap: 0.35rem;
}

.field span {
  font-size: 0.85rem;
  color: var(--muted);
}

.form-msg {
  min-height: 1.25rem;
  margin: 0.25rem 0 0;
  font-size: 0.9rem;
  text-align: center;
}

.form-msg.is-success { color: var(--green); }
.form-msg.is-error { color: #f87171; }

/* Phone strip */
.phone-strip {
  margin-top: 3.5rem;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.phone-strip__track {
  display: flex;
  gap: 1rem;
  width: max-content;
  animation: marquee 32s linear infinite;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.phone-mock {
  width: 118px;
  height: 220px;
  border-radius: 18px;
  border: 2px solid rgba(255, 255, 255, 0.12);
  background: #0c1018;
  padding: 8px;
  flex-shrink: 0;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.phone-mock__screen {
  height: 100%;
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(45, 212, 191, 0.15), transparent 40%),
    repeating-linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.04) 0 10px,
      transparent 10px 22px
    ),
    #121826;
  position: relative;
  overflow: hidden;
}

.phone-mock__screen::before {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  top: 18%;
  height: 28%;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(52, 211, 192, 0.35), rgba(232, 168, 74, 0.25));
}

.phone-mock__screen::after {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: 12%;
  height: 32%;
  border-radius: 6px;
  background:
    linear-gradient(90deg, #34d3c0 0 35%, transparent 35%),
    linear-gradient(90deg, transparent 0 45%, #e8a84a 45% 70%, transparent 70%),
    rgba(255, 255, 255, 0.05);
  opacity: 0.85;
}

.phone-mock__screen.s2::before { top: 22%; height: 22%; }
.phone-mock__screen.s3::before { background: linear-gradient(135deg, rgba(59, 130, 246, 0.4), rgba(45, 212, 191, 0.2)); }
.phone-mock__screen.s4::after { opacity: 0.6; }
.phone-mock__screen.s5::before { height: 35%; }
.phone-mock__screen.s6::before { top: 14%; }

/* About */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  display: grid;
  gap: 0.9rem;
}

.feature-list__item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

.feature-list__item h3 {
  margin: 0 0 0.25rem;
  font-family: var(--display);
  font-size: 1rem;
}

.feature-list__item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.feature-list__icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
}

.feature-list__icon svg {
  width: 22px;
  height: 22px;
}

.chart-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem;
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
}

.chart-card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: flex-end;
  margin-bottom: 0.75rem;
}

.chart-card__badges span {
  font-size: 0.72rem;
  padding: 0.28rem 0.55rem;
  border-radius: 6px;
  background: rgba(52, 211, 192, 0.1);
  border: 1px solid rgba(52, 211, 192, 0.22);
  color: #b0eee4;
}

.chart-card__canvas {
  height: 220px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.25);
  overflow: hidden;
}

.chart-card__canvas svg {
  width: 100%;
  height: 100%;
  display: block;
}

.chart-line {
  stroke-dasharray: 800;
  stroke-dashoffset: 800;
  animation: drawLine 2.2s ease forwards 0.3s;
}

@keyframes drawLine {
  to { stroke-dashoffset: 0; }
}

.chart-card__label {
  margin: 0.75rem 0 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.88rem;
}

.mini-stats {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  padding: 1.1rem;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
  text-align: center;
}

.mini-stats__value {
  font-family: var(--display);
  font-size: 1.45rem;
  font-weight: 700;
  background: linear-gradient(90deg, var(--teal), var(--orange));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.mini-stats__label {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 0.2rem;
}

/* Metrics */
.glass-panel {
  background: rgba(12, 17, 28, 0.82);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: clamp(1.6rem, 3.5vw, 2.75rem);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}

.metrics__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.metrics__value {
  font-family: var(--display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(90deg, var(--teal), var(--orange));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.metrics__label {
  color: var(--muted);
  margin-top: 0.4rem;
  font-size: 0.92rem;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.15rem;
  text-align: center;
  transition: transform 0.25s, border-color 0.25s;
}

.step-card:hover {
  transform: translateY(-4px);
  border-color: rgba(45, 212, 191, 0.3);
}

.step-card__icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 0.85rem;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #34d3c0, #4f7df3);
}

.step-card__icon svg {
  width: 26px;
  height: 26px;
}

.step-card__num {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--green);
  color: #04110c;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 0.65rem;
}

.step-card h3 {
  margin: 0 0 0.5rem;
  font-family: var(--display);
  font-size: 1.05rem;
}

.step-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

/* Why */
.why__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.why-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  backdrop-filter: blur(10px);
  transition: transform 0.25s, border-color 0.25s, background 0.25s;
}

.why-card:hover {
  transform: translateY(-3px);
  border-color: rgba(245, 158, 11, 0.28);
  background: rgba(255, 255, 255, 0.06);
}

.why-card__icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  background: linear-gradient(150deg, #34d3c0, #e8a84a);
}

.why-card__icon svg {
  width: 22px;
  height: 22px;
}

.why-card h3 {
  margin: 0 0 0.45rem;
  font-family: var(--display);
  font-size: 1.05rem;
}

.why-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

/* Testimonials */
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.testimonial {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}

.testimonial__quote {
  color: var(--teal);
  font-size: 1.6rem;
  line-height: 1;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.testimonial__text {
  margin: 0 0 1.25rem;
  font-style: italic;
  color: rgba(244, 247, 251, 0.92);
  flex: 1;
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial__author strong {
  display: block;
  font-size: 0.95rem;
}

.testimonial__author span {
  color: var(--muted);
  font-size: 0.82rem;
}

.avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.8rem;
  background: var(--avatar);
  flex-shrink: 0;
}

.testimonial__cta {
  margin-top: 1.1rem;
  align-self: stretch;
}

/* Contact */
.contact__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: start;
}

.faq__list {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.faq__item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0 1rem;
  transition: border-color 0.2s;
}

.faq__item[open] {
  border-color: rgba(45, 212, 191, 0.3);
}

.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 1rem 1.5rem 1rem 0;
  font-weight: 600;
  position: relative;
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item summary::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.2s;
}

.faq__item[open] summary::after {
  transform: translateY(-20%) rotate(225deg);
}

.faq__item p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.95rem;
  padding-right: 1rem;
}

.partners {
  margin-top: 3rem;
}

.partners__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.25rem 2rem;
  padding: 1.25rem 1rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  opacity: 0.7;
}

.partners__item {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: 0.04em;
  font-size: 0.92rem;
  color: rgba(244, 247, 251, 0.75);
}

/* Footer */
.footer {
  padding: 2rem 0 2.5rem;
  border-top: 1px solid var(--border);
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.footer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Responsive */
@media (max-width: 980px) {
  .hero__grid,
  .about__grid,
  .contact__grid {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .metrics__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why__grid,
  .testimonials__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-card:last-child {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .burger {
    display: grid;
  }

  .header__cta {
    display: none;
  }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 0.75rem 1rem 1rem;
    background: rgba(7, 10, 16, 0.96);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(16px);
  }

  .nav.is-open {
    display: flex;
  }

  .nav__link {
    padding: 0.85rem 0.5rem;
    border-bottom: 1px solid var(--border);
  }

  .hero {
    padding-top: 1.75rem;
  }

  .section {
    padding: 3.5rem 0;
  }

  .mini-stats {
    grid-template-columns: 1fr;
  }

  .why-card:last-child {
    grid-column: auto;
  }

  .why__grid,
  .testimonials__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .steps,
  .metrics__grid {
    grid-template-columns: 1fr;
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .phone-mock {
    width: 100px;
    height: 190px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .phone-strip__track,
  .bg-waves::before,
  .bg-waves::after,
  .chart-line {
    animation: none;
  }
  .chart-line {
    stroke-dashoffset: 0;
  }
}
