:root {
  --bg: #070b14;
  --bg-layer: #0d1528;
  --bg-soft: #131f38;
  --surface: rgba(18, 29, 53, 0.8);
  --surface-strong: #101a30;
  --text: #e7efff;
  --text-soft: #9fb1d8;
  --line: rgba(135, 164, 224, 0.24);
  --primary: #23c6ff;
  --primary-strong: #13a9dc;
  --secondary: #1a2847;
  --ring: rgba(35, 198, 255, 0.4);
  --radius: 20px;
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.4);
  --hero-stack-width: min(540px, calc(100% - 2rem));
}

* {
  box-sizing: border-box;
  min-width: 0;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  min-width: 0;
  overflow-x: hidden;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 0%, rgba(35, 198, 255, 0.18) 0%, transparent 45%),
    radial-gradient(circle at 90% 12%, rgba(72, 124, 250, 0.24) 0%, transparent 38%),
    linear-gradient(180deg, #060a12 0%, #091123 52%, #070b14 100%);
  line-height: 1.5;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.hero {
  padding: 1.2rem 0 4.7rem;
}

.nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-height: 3.4rem;
  padding: 0.55rem 0;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.logo {
  font: 800 1.2rem/1 "Sora", sans-serif;
  letter-spacing: 0.02em;
}

.hero-content {
  margin-top: 1.15rem;
  display: grid;
  gap: 2.8rem;
  grid-template-columns: 1.06fr 1fr;
  align-items: center;
  justify-items: center;
}

.hero-main-icon {
  display: block;
  width: clamp(11rem, 45vw, 25.8rem);
  aspect-ratio: 1 / 1;
  height: auto;
  margin: 0 auto 0.8rem;
  border: 0;
  box-shadow: none;
  background: transparent;
}

.hero-copy {
  justify-self: stretch;
  width: min(100%, 48rem);
}

.eyebrow {
  letter-spacing: 0.18em;
  font-size: 0.73rem;
  color: #85a0cc;
  font-weight: 700;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: "Sora", sans-serif;
  line-height: 1.08;
  margin: 0;
  overflow-wrap: anywhere;
}

h1 {
  font-size: clamp(2.1rem, 4.5vw, 4.05rem);
  margin-top: 0.74rem;
}

h2 {
  font-size: clamp(1.7rem, 3.7vw, 2.75rem);
}

.hero-copy p {
  font-size: 1.06rem;
  color: var(--text-soft);
  max-width: 58ch;
  white-space: pre-line;
  overflow-wrap: anywhere;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.25rem;
  width: 100%;
  justify-content: flex-start;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 0.75rem 1.15rem;
  border-radius: 12px;
  font-weight: 700;
  border: 0;
  font-family: inherit;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

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

.btn-primary {
  background: linear-gradient(140deg, var(--primary), #49d4ff);
  color: #071524;
  box-shadow: 0 10px 26px rgba(35, 198, 255, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(140deg, #37ceff, var(--primary-strong));
}

.btn-appstore {
  gap: 0.55rem;
}

.btn-appstore::before {
  content: "\F8FF";
  display: inline-block;
  font-size: 1.05rem;
  line-height: 1;
  font-family: "SF Pro Display", "Segoe UI Symbol", sans-serif;
}

.btn-secondary {
  background: rgba(25, 40, 71, 0.82);
  color: var(--text);
  border: 1px solid var(--line);
}

.btn-ghost {
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
}

.lang-select {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  border-radius: 10px;
  font: 600 0.9rem/1 "Manrope", sans-serif;
  padding: 0.58rem 0.65rem;
}

.phone-stack {
  position: relative;
  display: grid;
  gap: 1rem;
  width: var(--hero-stack-width);
  justify-self: stretch;
}

.phone-card {
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(21, 35, 63, 0.84), rgba(12, 20, 37, 0.92));
  padding: 1.2rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(115, 144, 202, 0.22);
}

.phone-card.alt {
  background: linear-gradient(145deg, rgba(13, 22, 39, 0.95), rgba(10, 16, 28, 0.95));
}

.iphone-frame {
  position: relative;
  padding: 0.7rem;
  border-radius: 2rem;
  background: linear-gradient(160deg, #222f4e, #0b1222 38%, #060b14 100%);
  border: 1px solid rgba(155, 182, 235, 0.35);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.05),
    0 24px 60px rgba(0, 0, 0, 0.46);
}

.iphone-notch {
  position: absolute;
  top: 50%;
  left: 1rem;
  transform: translateY(-50%);
  width: 1.05rem;
  height: 34%;
  border-radius: 0.7rem;
  background: #02050b;
  z-index: 2;
}

.iphone-screen {
  overflow: hidden;
  border-radius: 1.55rem;
  border: 1px solid rgba(150, 180, 240, 0.22);
  background: #030810;
  padding-top: 1rem;
}

.iphone-screen img {
  display: block;
  width: 100%;
  height: auto;
}

.card-title {
  font-weight: 700;
  margin: 0;
}

.phone-card ul {
  margin: 0.8rem 0 0;
  padding-left: 1rem;
  color: #b7c9eb;
}

.hint {
  margin: 0.8rem 0 0;
  color: #88e2ff;
  font-weight: 600;
  font-size: 0.93rem;
}

.section {
  padding: 4.3rem 0;
}

.feature-grid {
  margin-top: 1.9rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.feature {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: linear-gradient(150deg, rgba(18, 30, 54, 0.78), rgba(13, 20, 35, 0.88));
  border: 1px solid rgba(120, 148, 207, 0.24);
  border-radius: 18px;
  padding: 1.35rem;
}

.feature h3 {
  font-size: 1.06rem;
  margin: 0;
  min-height: 2.5em;
}

.feature p {
  color: var(--text-soft);
  margin: 0;
  flex: 1;
}

.feature-media {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: rgba(5, 10, 20, 0.65);
  padding: 0.5rem;
  border-radius: 12px;
  border: 1px solid rgba(130, 160, 220, 0.32);
  margin-bottom: 0.95rem;
}

.feature-media-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
  margin-bottom: 0.95rem;
}

.feature-media-row .feature-media {
  margin-bottom: 0;
}

.feature-empty {
  min-height: 170px;
  border-style: dashed;
  border-color: rgba(120, 148, 207, 0.35);
  background: linear-gradient(150deg, rgba(18, 30, 54, 0.45), rgba(13, 20, 35, 0.55));
}

.section-contrast {
  background:
    radial-gradient(circle at 15% 15%, rgba(35, 198, 255, 0.13), transparent 45%),
    linear-gradient(180deg, #0b1528 0%, #0b1222 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-contrast .eyebrow,
.section-contrast p {
  color: #a8bfeb;
}

.cta {
  text-align: center;
}

.cta p {
  margin-inline: auto;
  max-width: 60ch;
}

.cta .btn {
  margin-top: 0.7rem;
}

.contact {
  max-width: 760px;
  margin: 0 auto;
}

.contact p {
  color: var(--text-soft);
}

.contact-form {
  display: grid;
  gap: 0.65rem;
  margin-top: 1rem;
}

.contact-form label {
  font-weight: 700;
  color: var(--text);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  padding: 0.72rem 0.8rem;
  font: 500 0.98rem/1.45 "Manrope", sans-serif;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus-visible,
.contact-form textarea:focus-visible {
  outline: 3px solid var(--ring);
  outline-offset: 1px;
}

.contact-form .btn {
  margin-top: 0.3rem;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 0 2rem;
  color: #93a8d0;
  font-size: 0.92rem;
}

.footer-link {
  color: #b9d7ff;
  text-decoration: none;
}

.footer-link:hover {
  text-decoration: underline;
}

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

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

.delay-1 {
  transition-delay: 0.12s;
}

.delay-2 {
  transition-delay: 0.24s;
}

.btn:focus-visible,
.lang-select:focus-visible {
  outline: 3px solid var(--ring);
  outline-offset: 2px;
}

@media (max-width: 900px) {
  .hero .container {
    width: var(--hero-stack-width);
    margin-inline: auto;
  }

  .hero {
    padding-bottom: 3.6rem;
  }

  .hero-content {
    width: var(--hero-stack-width);
    margin-inline: auto;
    grid-template-columns: 1fr;
    margin-top: 2.3rem;
    justify-items: stretch;
    gap: 1.6rem;
  }

  .hero-copy,
  .phone-stack,
  .hero-actions {
    width: 100%;
    max-width: var(--hero-stack-width);
    justify-self: center;
    margin-inline: auto;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    justify-content: stretch;
    justify-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-copy h1,
  .hero-copy p {
    text-align: center;
    margin-inline: auto;
  }

  .hero-main-icon {
    margin-inline: auto;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    width: var(--hero-stack-width);
    margin-inline: auto;
  }

  .feature {
    width: 100%;
    justify-content: flex-start;
    gap: 0.85rem;
  }

  .feature h3 {
    min-height: auto;
  }

  .footer {
    flex-direction: column;
  }

  .cta,
  .contact {
    width: var(--hero-stack-width);
    max-width: var(--hero-stack-width);
    margin-inline: auto;
  }
}

@media (max-width: 620px) {
  .nav {
    align-items: flex-start;
    gap: 0.8rem;
    flex-direction: column;
  }

  .nav-actions {
    width: 100%;
    justify-content: space-between;
  }

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

  .btn {
    width: 100%;
  }

  .hero-main-icon {
    width: clamp(10rem, 56vw, 15rem);
  }

  .iphone-notch {
    height: 38%;
  }
}

@media (max-width: 430px) {
  .hero-copy h1 {
    line-height: 1.1;
  }

  .hero-copy p,
  .feature p {
    line-height: 1.45;
  }

  .feature {
    padding: 1rem;
  }

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