@import url("./design-kit.css");

:root {
  --container: 1160px;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
}

.container {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}

.section {
  padding: 60px 0;
  margin-top: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.section h2 {
  margin: 0;
  font-size: clamp(1.5rem, 7vw, 2.8rem);
  line-height: 1.1;
}

.section-head {
  max-width: 720px;
  margin-bottom: 28px;
}

.eyebrow {
  display: inline-flex;
  margin: 0 0 10px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: rgba(255, 236, 144, 0.12);
  color: var(--color-primary-soft);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(19, 19, 19, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-wrap {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--color-text);
  font-weight: 700;
}

.logo img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.desktop-nav {
  display: none;
}

.desktop-nav a {
  text-decoration: none;
  color: var(--color-text-muted);
  transition: color 0.2s ease;
}

.desktop-nav a:hover {
  color: var(--color-primary);
}

.hero {
  padding-top: 34px;
  position: relative;
  overflow: hidden;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(2px);
}

.hero::before {
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(23, 134, 254, 0.22) 0%, rgba(23, 134, 254, 0) 68%);
  left: -120px;
  top: 40%;
}

.hero::after {
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(255, 224, 70, 0.2) 0%, rgba(255, 224, 70, 0) 66%);
  right: -110px;
  top: 18%;
}

.hero-grid {
  display: grid;
  gap: 24px;
  align-items: center;
}

.hero-copy h1 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 11vw, 4rem);
  line-height: 0.96;
}

.hero-copy {
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
}

.lead {
  color: var(--color-text-muted);
  max-width: 620px;
  margin: 0 auto;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 14px;
  justify-content: center;
}

.hero-actions .btn {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.trust-pill {
  border-radius: var(--radius-pill);
  border: 1px solid #3b3b3b;
  padding: 8px 12px;
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.hero-media {
  position: relative;
  display: grid;
  place-items: center;
  margin: 0 auto;
  width: min(1000px, 100%);
  padding: 22px 0 14px;
}

.phone-frame {
  width: min(300px, 76vw);
  position: relative;
  padding: 10px;
  border-radius: 42px;
  overflow: hidden;
  border: 1px solid #3a3a3a;
  background: linear-gradient(180deg, #0f0f10, #1a1a1c);
  box-shadow: 0 26px 46px rgba(0, 0, 0, 0.4), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.phone-frame::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 34%;
  height: 18px;
  border-radius: 999px;
  background: #0b0b0c;
  z-index: 2;
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.04);
}



.phone-frame img {
  display: block;
  width: 100%;
  border-radius: 32px;
}

.hero-burst {
  display: none;
}

.hero-side-card {
  display: none;
  position: absolute;
  width: 312px;
  border-radius: var(--radius-card);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(160deg, rgba(28, 28, 28, 0.94), rgba(18, 18, 18, 0.9));
  backdrop-filter: blur(10px);
  padding: 14px 18px;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.33);
}

.hero-side-card h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
  font-family: var(--font-heading);
}

.hero-side-card p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.hero-side-card .side-label {
  margin: 0 0 8px;
  color: var(--color-primary);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.hero-side-left {
  left: 3%;
  top: 24%;
}

.hero-side-right {
  right: 3%;
  top: 46%;
}

.hero-float {
  display: none;
  position: absolute;
  width: 62px;
  height: 62px;
  object-fit: contain;
  opacity: 0.82;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.34));
}

.hero-float-left {
  left: 26%;
  bottom: 4%;
}

.hero-float-right {
  right: 27%;
  top: 8%;
}

.hero-metric {
  display: none;
  position: absolute;
  min-width: 212px;
  padding: 11px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(19, 19, 19, 0.9);
  text-align: center;
}

.metric-value {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  line-height: 1.1;
}

.metric-label {
  display: block;
  margin-top: 3px;
  color: var(--color-text-muted);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.hero-metric-left {
  left: 9%;
  bottom: 4%;
}

.hero-metric-right {
  right: 9%;
  bottom: 6%;
}

.proof-bar {
  padding-top: 12px;
}

.stats-grid {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
  border-radius: var(--radius-card);
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.stat {
  padding: 16px;
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.stat:nth-child(2n) {
  border-right: 0;
}

.stat:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.stat strong {
  display: block;
  font-size: 1.1rem;
  font-family: var(--font-heading);
  margin-bottom: 3px;
}

.stat span {
  color: var(--color-text-muted);
  font-size: 0.85rem;
}

.steps-grid,
.features-grid,
.purpose-grid {
  display: grid;
  gap: 14px;
}

.step-card,
.feature-card,
.purpose-card {
  border-radius: var(--radius-card);
  border: none;
  background: rgba(255, 255, 255, 0.025);
  padding: 18px;
}

.step-card img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.step-card h3,
.feature-card h3 {
  margin: 10px 0 8px;
  font-family: var(--font-heading);
  font-size: 1.05rem;
}

.feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid #3e4652;
  background: linear-gradient(180deg, #221f12, #171717);
  color: var(--color-primary);
  display: inline-grid;
  place-items: center;
}

.feature-icon svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

.step-card p,
.feature-card p {
  margin: 0;
  color: var(--color-text-muted);
}

.preview-section {
  background: linear-gradient(180deg, rgba(23, 134, 254, 0.07), rgba(23, 134, 254, 0));
}

.phone-stack {
  border-radius: 28px;
  border: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.01));
  padding: 18px 16px;
}

.stack-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.stack-head h3 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 400;
}

.stack-controls {
  display: inline-flex;
  gap: 8px;
}

.stack-stage {
  position: relative;
  width: min(760px, 100%);
  margin: 0 auto;
  min-height: 470px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.stack-card {
  position: absolute;
  top: 24px;
  left: 50%;
  width: min(310px, 66vw);
  border-radius: 22px;
  border: 1px solid #3d4758;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.4);
  transform-origin: center;
  transition: transform 0.35s ease, opacity 0.35s ease;
  cursor: pointer;
}

.stack-card.left {
  transform: translateX(-98%) scale(0.86) rotate(-8deg);
  opacity: 0.75;
  z-index: 1;
}

.stack-card.active {
  transform: translateX(-50%) scale(1);
  opacity: 1;
  z-index: 3;
}

.stack-card.right {
  transform: translateX(-2%) scale(0.86) rotate(8deg);
  opacity: 0.75;
  z-index: 1;
}

.stack-card:hover {
  filter: brightness(1.03);
}

.carousel-btn {
  width: 42px;
  height: 42px;
  border-radius: 99px;
  border: 1px solid #3c3c3c;
  background: #1a1a1a;
  color: var(--color-text);
  cursor: pointer;
}

.carousel-btn:hover {
  background: var(--color-primary);
  color: var(--color-bg);
}

.image-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
}

.image-modal.open {
  display: grid;
  place-items: center;
}

.image-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(3px);
}

.image-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(900px, calc(100% - 28px));
  max-height: calc(100vh - 32px);
  padding: 18px;
  border-radius: 22px;
  border: 1px solid #3a4454;
  background: #111721;
  display: grid;
  place-items: center;
}

.image-modal-dialog img {
  max-width: 100%;
  max-height: calc(100vh - 90px);
  border-radius: 16px;
}

.image-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 38px;
  height: 38px;
  border-radius: 99px;
  border: 1px solid #4b5567;
  background: #1a2230;
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.feature-card:nth-child(2),
.feature-card:nth-child(5) {
  background: linear-gradient(180deg, rgba(255, 224, 70, 0.08), rgba(255, 224, 70, 0.03));
}

.purpose-section {
  background: linear-gradient(180deg, rgba(255, 224, 70, 0.08), rgba(255, 224, 70, 0));
}

.purpose-card {
  text-align: left;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.028), rgba(255, 255, 255, 0.015));
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.purpose-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
  background: linear-gradient(180deg, rgba(255, 224, 70, 0.09), rgba(255, 255, 255, 0.02));
}

.purpose-icon {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid #3d3d3d;
  display: inline-grid;
  place-items: center;
  margin-bottom: 10px;
  background: #121212;
  color: var(--color-primary);
}

.purpose-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.purpose-card h3 {
  margin: 0 0 6px;
  font-family: var(--font-heading);
  font-size: 1rem;
}

.purpose-card p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.9rem;
  line-height: 1.4;
}

.social-proof-grid {
  display: grid;
  gap: 12px;
}

.testimonial-card {
  border-radius: 18px;
  border: none;
  background: linear-gradient(180deg, rgba(23, 134, 254, 0.06), rgba(255, 255, 255, 0.02));
  padding: 14px;
}

.stars {
  color: var(--color-primary);
  letter-spacing: 0.08em;
}

.quote {
  margin: 8px 0 0;
  color: var(--color-text-muted);
}

.quote-author {
  margin: 10px 0 0;
  font-size: 0.85rem;
  color: #abb4c3;
}

.faq-head {
  margin: 0 auto 24px;
  text-align: center;
}

.faq-head .eyebrow {
  background: rgba(255, 224, 70, 0.14);
  color: var(--color-primary);
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-item {
  border-radius: 18px;
  border: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.028), rgba(255, 255, 255, 0.015));
  padding: 14px 14px 14px 12px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
}

.faq-icon {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  border: 1px solid #5a5230;
  color: var(--color-primary);
  display: inline-grid;
  place-items: center;
  margin-top: 2px;
  background: #161613;
}

.faq-icon svg {
  width: 13px;
  height: 13px;
  fill: currentColor;
}

.faq-item h3 {
  margin: 0;
  font-size: 1.05rem;
}

.faq-item p {
  color: var(--color-text-muted);
  margin: 5px 0 0;
  font-size: 0.9rem;
  line-height: 1.45;
}

.final-cta {
  padding-top: 70px;
}

.cta-wrap {
  border-radius: 28px;
  border: 1px solid #302e26;
  background: linear-gradient(120deg, #ffe046, #ffec90);
  color: var(--color-bg);
  padding: 24px;
}

.cta-wrap h2 {
  margin: 0 0 12px;
}

.cta-wrap p {
  margin: 0;
  max-width: 630px;
}

.cta-wrap .eyebrow {
  background: rgba(19, 19, 19, 0.18);
  color: var(--color-bg);
}

.store-buttons {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.store-btn {
  border-radius: var(--radius-pill);
  min-height: 46px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  font-weight: 600;
  color: var(--color-text);
  background: var(--color-bg);
}

.site-footer {
  border-top: 1px solid #2b2b2b;
  margin-top: 40px;
  padding: 34px 0 24px;
}

.footer-grid {
  display: grid;
  gap: 28px;
}

.footer-links {
  display: block;
}

.footer-links a {
  color: var(--color-text-muted);
  text-decoration: none;
}

.small-copy,
.legal p {
  margin: 10px 0 0;
  color: #9f9f9f;
  font-size: 0.84rem;
}

.legal {
  border-top: 1px solid #262626;
  margin-top: 18px;
  padding-top: 12px;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.show {
  opacity: 1;
  transform: none;
}

@media (min-width: 760px) {
  .section {
    padding: 74px 0;
  }

  .desktop-nav {
    display: flex;
    gap: 22px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .hero-side-card,
  .hero-float,
  .hero-metric {
    display: block;
  }

  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .stat {
    border-bottom: 0;
  }

  .stat:nth-child(2n) {
    border-right: 1px solid #2f2f2f;
  }

  .stat:last-child {
    border-right: 0;
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .purpose-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .faq-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .social-proof-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .phone-stack {
    padding: 24px;
  }

  .stack-stage {
    min-height: 560px;
  }

  .stack-card {
    width: 330px;
  }

  .footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
  }
}
