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

:root {
  --white: #ffffff;
  --off: #f6f7fb;
  --ink: #0d1117;
  --muted: #6b7280;
  --accent: #2563eb;
  --accent2: #06b6d4;
  --border: #e5e7eb;
  --radius: 18px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--white);
  color: var(--ink);
  overflow-x: hidden;
}

.hero,
.price-section {
  position: relative;
  isolation: isolate;
}

.decor-layer {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.hero > :not(.decor-layer),
.price-card {
  position: relative;
  z-index: 2;
}

.decor-asset {
  --from-x: 0px;
  --from-y: 0px;
  --rotate: 0deg;
  --opacity: .55;
  --float-speed: 8s;

  position: absolute;
  opacity: 0;
  transform: translate3d(var(--from-x), var(--from-y), 0) rotate(var(--rotate)) scale(.96);
  transform-origin: center;
  animation: decorEnter .95s cubic-bezier(.2, .85, .25, 1) forwards;
  will-change: transform, opacity;
}

.decor-asset img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 24px 30px rgba(13, 17, 23, .13));
  animation: decorFloat var(--float-speed) ease-in-out infinite alternate;
}

@keyframes decorEnter {
  to {
    opacity: var(--opacity);
    transform: translate3d(0, 0, 0) rotate(var(--rotate)) scale(1);
  }
}

@keyframes decorFloat {
  from {
    transform: translate3d(0, 0, 0) rotate(-.8deg);
  }

  to {
    transform: translate3d(0, -14px, 0) rotate(1.4deg);
  }
}

/* NAV */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 2.5rem;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--border);
}

@media (min-width: 768px) {
  nav {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
  }
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
}

.nav-logo__img {
  height: 44px;
  width: auto;
  display: block;
}

.nav-cta {
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: .55rem 1.4rem;
  font-family: 'DM Sans', sans-serif;
  font-size: .9rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: background .2s, transform .15s;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  position: relative;
  z-index: 1;
}

.nav-cta:hover {
  background: #1d4ed8;
  transform: translateY(-1px);
}

/* HERO */
.hero {
  min-height: clamp(760px, 92vh, 920px);
  min-height: clamp(760px, 92svh, 920px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 1.5rem 4rem;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 10%, rgba(37, 99, 235, .08) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 80%, rgba(6, 182, 212, .07) 0%, transparent 60%);
  pointer-events: none;
}

.decor-computer {
  --from-x: 72px;
  --from-y: 18px;
  --rotate: 7deg;
  --opacity: .42;
  --float-speed: 8.5s;

  width: clamp(190px, 20vw, 300px);
  top: 23%;
  right: max(-48px, calc(50% - 680px));
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: #eff6ff;
  color: var(--accent);
  border: 1px solid #bfdbfe;
  border-radius: 50px;
  padding: .35rem 1rem;
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .03em;
  margin-bottom: 1.8rem;
  opacity: 0;
  animation: fadeUp .6s .1s forwards;
}

.badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }

  50% {
    opacity: .3;
  }
}

h1 {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.03em;
  max-width: 820px;
  opacity: 0;
  animation: fadeUp .7s .25s forwards;
}

h1 .highlight {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.sub {
  margin-top: 1.5rem;
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  color: var(--muted);
  font-weight: 300;
  max-width: 560px;
  line-height: 1.65;
  opacity: 0;
  animation: fadeUp .7s .4s forwards;
}

.hero-actions {
  margin-top: 2.5rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  opacity: 0;
  animation: fadeUp .7s .55s forwards;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  padding: .9rem 2.2rem;
  border-radius: 50px;
  border: none;
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 4px 24px rgba(37, 99, 235, .25);
  transition: transform .2s, box-shadow .2s, background .2s;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  position: relative;
  z-index: 1;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(37, 99, 235, .35);
  background: #1d4ed8;
}

.btn-secondary {
  background: transparent;
  color: var(--ink);
  padding: .9rem 2.2rem;
  border-radius: 50px;
  border: 1.5px solid var(--border);
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  cursor: pointer;
  text-decoration: none;
  transition: border-color .2s, background .2s;
}

.btn-secondary:hover {
  border-color: var(--accent);
  background: #eff6ff;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

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

/* PRICE CARD */
.price-section {
  padding: 5rem 1.5rem;
  background: var(--off);
  display: flex;
  justify-content: center;
  overflow: hidden;
}

.price-card {
  background: var(--white);
  border-radius: 28px;
  padding: 3rem 3.5rem;
  max-width: 520px;
  width: 100%;
  box-shadow: 0 2px 40px rgba(0, 0, 0, .07);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.price-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
}

.price-label {
  font-size: .85rem;
  color: var(--muted);
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 500;
}

.price-amount {
  font-family: 'Oswald', sans-serif;
  font-size: 5rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.04em;
  color: var(--ink);
  margin: .5rem 0 .25rem;
}

.price-amount sup {
  font-size: 2rem;
  vertical-align: super;
}

.price-desc {
  color: var(--muted);
  font-size: .95rem;
  margin-bottom: 2rem;
}

.feature-list {
  list-style: none;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  margin-bottom: 2rem;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: .7rem;
  font-size: .95rem;
}

.check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #eff6ff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.check svg {
  width: 12px;
  height: 12px;
  stroke: var(--accent);
  stroke-width: 2.5;
  fill: none;
}

.price-cta {
  width: 100%;
  padding: 1rem;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  border: none;
  border-radius: 50px;
  font-family: 'DM Sans', sans-serif;
  font-size: 1.05rem;
  font-weight: 500;
  cursor: pointer;
  letter-spacing: .01em;
  box-shadow: 0 4px 20px rgba(37, 99, 235, .3);
  transition: transform .2s, box-shadow .2s;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  position: relative;
  z-index: 1;
}

.price-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(37, 99, 235, .4);
}

.decor-chat {
  --from-x: 58px;
  --from-y: 18px;
  --rotate: 8deg;
  --opacity: .32;
  --float-speed: 9s;

  width: clamp(130px, 13vw, 185px);
  top: 3.4rem;
  right: max(3rem, calc(50% - 630px));
  animation-delay: .12s;
}

/* STEPS */
.steps-section {
  padding: 5rem 1.5rem;
  max-width: 900px;
  margin: 0 auto;
  overflow: visible;
}

.section-title {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -.03em;
  text-align: center;
  margin-bottom: .75rem;
}

.section-sub {
  color: var(--muted);
  text-align: center;
  margin-bottom: 3.5rem;
  font-size: 1rem;
}

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

.step-card {
  background: var(--off);
  border-radius: var(--radius);
  padding: 1.8rem 1.5rem;
  position: relative;
  border: 1px solid var(--border);
  transition: transform .2s, box-shadow .2s;
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, .08);
}

.step-num {
  font-family: 'Oswald', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  color: #e5e7eb;
  margin-bottom: .8rem;
}

.step-card h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: .4rem;
}

.step-card p {
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.6;
}

/* REFERENCES */
.references-section {
  padding: 4.5rem 0 5rem;
  background: var(--white);
  overflow: hidden;
  content-visibility: auto;
  contain-intrinsic-size: 1px 500px;
}

.references-header {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.references-header .section-sub {
  margin-bottom: 2rem;
}

.references-marquee {
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.references-track {
  --reference-gap: 1rem;
  --reference-duration: 55s;

  display: flex;
  width: max-content;
  animation: referenceScroll var(--reference-duration) linear infinite;
}

.references-marquee:hover .references-track {
  animation-play-state: paused;
}

.references-group {
  display: flex;
  flex: none;
  gap: var(--reference-gap);
  padding-right: var(--reference-gap);
}

.reference-logo {
  width: clamp(190px, 18vw, 260px);
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.15rem 1.5rem;
  background: rgba(255, 255, 255, .86);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(13, 17, 23, .04);
  text-decoration: none;
}

.reference-logo img {
  max-width: 100%;
  max-height: 54px;
  object-fit: contain;
}

@keyframes referenceScroll {
  to {
    transform: translateX(-50%);
  }
}

/* TARGET */
.target-section {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 100%);
  padding: 5rem 1.5rem;
  text-align: center;
  color: #fff;
  overflow: hidden;
}

.target-section h2 {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -.03em;
  margin-bottom: 1rem;
}

.target-section p {
  font-size: 1.05rem;
  opacity: .9;
  max-width: 560px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

.timer-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255, 255, 255, .15);
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 50px;
  padding: .5rem 1.2rem;
  font-size: .9rem;
  font-weight: 500;
}

/* FAQ */
.faq-section {
  padding: 5rem 1.5rem;
  max-width: 700px;
  margin: 0 auto;
}

.faq-sub {
  margin-bottom: 2rem;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-q {
  width: 100%;
  background: none;
  border: none;
  padding: 1.2rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink);
  text-align: left;
  transition: color .2s;
}

.faq-q:hover {
  color: var(--accent);
}

.faq-icon {
  transition: transform .3s;
  font-size: 1.1rem;
  color: var(--muted);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease;
}

.faq-a p {
  padding: 0 0 1.2rem;
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.7;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  color: var(--accent);
}

.faq-item.open .faq-a {
  max-height: 200px;
}

/* FOOTER */
footer {
  border-top: 1px solid var(--border);
  padding: 2rem 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--muted);
  font-size: .85rem;
}

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

footer a:hover {
  color: var(--accent);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

/* RESPONSIVE */
@media (max-width: 1100px) {
  .decor-computer {
    right: -86px;
    --opacity: .28;
  }
}

@media (max-width: 780px) {
  .hero {
    min-height: calc(100vh - 36px);
    min-height: calc(100svh - 36px);
  }

  .decor-computer {
    width: 180px;
    top: 15%;
    right: -98px;
    --opacity: .18;
  }

  .decor-chat {
    display: none;
  }
}

@media (max-width: 600px) {
  nav {
    padding: 1rem 1.2rem;
  }

  .price-card {
    padding: 2.5rem 1.8rem;
  }

  .references-section {
    padding: 3.5rem 0 4rem;
  }

  .reference-logo {
    width: 210px;
    height: 82px;
    padding: 1rem 1.25rem;
  }

  .reference-logo img {
    max-height: 48px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .decor-asset,
  .decor-asset img,
  .references-track {
    animation: none;
  }

  .decor-asset {
    opacity: var(--opacity);
    transform: rotate(var(--rotate)) scale(1);
  }

  .references-marquee {
    overflow-x: auto;
    mask-image: none;
  }
}

/* CONTACT MODAL */
.contact-modal[hidden] {
  display: none;
}

.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

@media (max-width: 600px) {
  .contact-modal {
    align-items: flex-start;
    padding: .75rem;
  }
}

.contact-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  animation: fadeIn .2s ease;
}

.contact-modal__dialog {
  position: relative;
  width: 100%;
  max-width: 460px;
  background: #fff;
  border-radius: 18px;
  padding: 2.4rem 1.75rem 1.75rem;
  box-shadow: 0 25px 60px rgba(15, 23, 42, .25);
  animation: modalIn .25s cubic-bezier(.2, .85, .25, 1);
}

.contact-modal__close {
  position: absolute;
  top: .35rem;
  right: .35rem;
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  font-size: 1.75rem;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
  border-radius: 50%;
  transition: background .15s, color .15s;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  z-index: 2;
}

.contact-modal__close:hover {
  background: #f1f5f9;
  color: var(--ink);
}

.contact-modal__dialog h2 {
  margin: 0 0 .35rem;
  font-size: 1.5rem;
}

.contact-modal__sub {
  margin: 0 0 1.25rem;
  color: var(--muted);
  font-size: .95rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: .85rem;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  font-size: .85rem;
  font-weight: 500;
  color: var(--ink);
}

.contact-form input,
.contact-form textarea {
  font: inherit;
  padding: .65rem .8rem;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #f8fafc;
  color: var(--ink);
  transition: border-color .15s, background .15s, box-shadow .15s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .15);
}

.contact-form textarea {
  resize: vertical;
  min-height: 90px;
}

.contact-form__submit {
  margin-top: .35rem;
  width: 100%;
  border: none;
  cursor: pointer;
}

.contact-form__submit:disabled {
  opacity: .6;
  cursor: progress;
}

.contact-form__disclaimer {
  margin: .25rem 0 0;
  text-align: center;
  font-size: .8rem;
  color: var(--muted);
}

.price-disclaimer {
  margin: 1rem 0 0;
  text-align: center;
  font-size: .8rem;
  color: var(--muted);
}

.contact-form__error {
  margin: 0;
  padding: .55rem .7rem;
  border-radius: 8px;
  background: #fef2f2;
  color: #b91c1c;
  font-size: .85rem;
}

.cf-turnstile {
  margin: .25rem 0;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes modalIn {
  from { opacity: 0; transform: translateY(12px) scale(.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

body.modal-open {
  overflow: hidden;
}

/* COOKIE BANNER */
.cookie-banner[hidden] {
  display: none;
}

.cookie-banner {
  position: fixed;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  max-width: 480px;
  margin: 0 auto;
  z-index: 999;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: .75rem .9rem;
  box-shadow: 0 12px 30px rgba(15, 23, 42, .15);
  display: flex;
  align-items: center;
  gap: .6rem;
  animation: cookieIn .25s ease;
}

body.modal-open .cookie-banner {
  display: none;
}

@media (max-width: 600px) {
  .cookie-banner {
    bottom: .5rem;
    left: .5rem;
    right: .5rem;
    padding: .6rem .75rem;
    font-size: .8rem;
  }
}

.cookie-banner__text {
  flex: 1;
  min-width: 0;
  margin: 0;
  font-size: .8rem;
  color: var(--ink);
  line-height: 1.35;
}

.cookie-banner__actions {
  display: flex;
  gap: .35rem;
  flex-shrink: 0;
}

.cookie-banner__btn {
  font: inherit;
  font-size: .8rem;
  font-weight: 500;
  padding: .5rem .85rem;
  min-height: 36px;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .15s, border-color .15s;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.cookie-banner__btn--ghost {
  background: transparent;
  color: var(--muted);
  border-color: var(--border);
}

.cookie-banner__btn--ghost:hover {
  background: #f1f5f9;
  color: var(--ink);
}

.cookie-banner__btn--primary {
  background: var(--accent);
  color: #fff;
}

.cookie-banner__btn--primary:hover {
  background: #1d4ed8;
}

@keyframes cookieIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
