:root {
  --bg: #081725;
  --bg-soft: #0f2537;
  --card: #102b40;
  --text: #e8f0f7;
  --muted: #b3c2d0;
  --primary: #fbc465;
  --secondary: #447397;
  --ink: #1b354f;
  --radius: 20px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}

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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at 20% 0%, #163651, var(--bg) 50%);
  color: var(--text);
  line-height: 1.5;
}

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

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

.section {
  padding: 5.5rem 0;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1200;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--primary), #ffe2a5);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(14px);
  background: rgba(8, 23, 37, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.brand {
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 0.01em;
}

.site-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.site-nav a {
  color: var(--muted);
  font-weight: 500;
  padding: 0.55rem 0.75rem;
  border-radius: 10px;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

.lang-switch {
  display: inline-flex;
  padding: 0.3rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
}

.lang-btn {
  border: 0;
  color: var(--text);
  background: transparent;
  min-width: 44px;
  min-height: 44px;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
}

.lang-btn.active {
  background: var(--primary);
  color: #111;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 0;
  margin-left: auto;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 23px;
  height: 2px;
  margin: 5px auto;
  border-radius: 2px;
  background: var(--text);
}

.eyebrow {
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.82rem;
  font-weight: 700;
  margin: 0 0 0.9rem;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.15;
}

h1 {
  font-size: clamp(2.1rem, 4.2vw, 4rem);
}

h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.6rem);
}

p {
  margin: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-copy {
  margin-top: 1.2rem;
  color: var(--muted);
  max-width: 560px;
  font-size: 1.05rem;
}

.hero-actions {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.btn {
  border-radius: 12px;
  min-height: 44px;
  padding: 0.8rem 1.15rem;
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #f5ae2c);
  color: #121212;
  box-shadow: 0 15px 30px rgba(251, 196, 101, 0.35);
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
}

.motion-btn {
  margin-top: 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: var(--muted);
  border-radius: 10px;
  min-height: 44px;
  padding: 0.65rem 0.95rem;
  cursor: pointer;
  display: none;
}

.hero-device-wrap {
  perspective: 1200px;
}

.phone-stage {
  position: relative;
  width: min(370px, 86vw);
  margin-inline: auto;
  transform-style: preserve-3d;
  animation: phone-intro 900ms cubic-bezier(0.2, 0.9, 0.25, 1.2) both;
}

.phone {
  position: relative;
  aspect-ratio: 9 / 19.4;
  border-radius: 48px;
  padding: 12px;
  background: linear-gradient(160deg, #cad4df, #708195 35%, #cad4df);
  transform-style: preserve-3d;
  box-shadow: var(--shadow);
  will-change: transform;
}

.phone-metal {
  position: absolute;
  inset: 3px;
  border-radius: 44px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.6), rgba(10, 15, 22, 0.3));
  pointer-events: none;
}

.phone-notch {
  position: absolute;
  top: 17px;
  left: 50%;
  transform: translateX(-50%);
  width: 34%;
  height: 26px;
  border-radius: 14px;
  background: #0c1116;
  z-index: 4;
}

.phone-screen {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  border-radius: 36px;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 10%, rgba(251, 196, 101, 0.35), transparent 50%),
    linear-gradient(180deg, #173349, #0b1f30);
}

.screen-ui {
  padding: 4.6rem 1rem 1rem;
  display: grid;
  gap: 0.8rem;
}

.screen-pill {
  width: 68%;
  height: 14px;
  border-radius: 999px;
  background: rgba(251, 196, 101, 0.8);
}

.screen-line {
  border-radius: 999px;
  height: 12px;
  background: rgba(255, 255, 255, 0.2);
}

.line-1 {
  width: 92%;
}

.line-2 {
  width: 70%;
}

.line-3 {
  width: 84%;
}

.screen-card {
  height: 118px;
  border-radius: 18px;
  background: linear-gradient(150deg, rgba(68, 115, 151, 0.75), rgba(20, 45, 69, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.phone-shine {
  position: absolute;
  inset: 0;
  border-radius: 48px;
  pointer-events: none;
  background: radial-gradient(
    220px 150px at var(--shine-x, 50%) var(--shine-y, 10%),
    rgba(255, 255, 255, 0.4),
    rgba(255, 255, 255, 0) 68%
  );
  mix-blend-mode: screen;
  opacity: 0.7;
  transform: translateZ(30px);
}

.phone-glow {
  position: absolute;
  inset: auto 10% -5% 10%;
  height: 20%;
  background: radial-gradient(closest-side, rgba(251, 196, 101, 0.45), transparent);
  filter: blur(24px);
  transform: translateZ(-40px);
  pointer-events: none;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 2.1rem;
}

.section-heading p + h2 {
  margin-top: 0.5rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.feature-card {
  border-radius: var(--radius);
  padding: 1.4rem;
  background: linear-gradient(160deg, rgba(68, 115, 151, 0.25), rgba(16, 43, 64, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.1);
  transform: translateY(18px);
  opacity: 0;
  transition: opacity 480ms ease, transform 480ms ease;
}

.feature-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
}

.feature-card p {
  color: var(--muted);
}

.feature-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.carousel {
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(16, 43, 64, 0.85), rgba(10, 30, 47, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.2rem;
}

.carousel-track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.slide {
  min-width: 100%;
  scroll-snap-align: center;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(circle at 70% 30%, rgba(251, 196, 101, 0.25), transparent 48%),
    linear-gradient(160deg, rgba(68, 115, 151, 0.3), rgba(6, 20, 33, 0.9));
  min-height: 240px;
  display: grid;
  place-items: center;
}

.slide-content {
  width: min(480px, 90%);
  text-align: center;
}

.slide-content h3 {
  margin-bottom: 0.85rem;
}

.slide-content p {
  color: var(--muted);
}

.carousel-controls {
  margin-top: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.carousel-btn {
  min-width: 44px;
  min-height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
}

.carousel-dots {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.25);
}

.carousel-dot.active {
  background: var(--primary);
}

.waitlist-card {
  border-radius: var(--radius);
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, rgba(16, 43, 64, 0.9), rgba(6, 20, 33, 0.95));
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.waitlist-form {
  display: grid;
  gap: 0.7rem;
  max-width: 520px;
}

.waitlist-form label {
  font-weight: 600;
}

.waitlist-form input {
  min-height: 48px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  padding: 0.75rem 0.85rem;
  color: var(--text);
}

.form-message {
  min-height: 1.25rem;
  color: var(--muted);
  font-size: 0.93rem;
}

.form-message.is-success {
  color: #92f2b1;
}

.form-message.is-error {
  color: #ff9f9f;
}

.faq-list {
  display: grid;
  gap: 0.75rem;
}

.faq-item {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
}

.faq-trigger {
  width: 100%;
  min-height: 54px;
  text-align: left;
  border: 0;
  color: var(--text);
  padding: 0.95rem 1rem;
  background: transparent;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.faq-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 260ms ease;
}

.faq-panel p {
  color: var(--muted);
  padding: 0 1rem 1rem;
}

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

.final-cta-card {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(160deg, rgba(68, 115, 151, 0.26), rgba(8, 27, 43, 0.95));
  border-radius: var(--radius);
  padding: clamp(1.2rem, 3vw, 2rem);
  text-align: center;
}

.final-cta-card .hero-actions {
  justify-content: center;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.15rem 0 2rem;
}

.footer-grid {
  display: flex;
  gap: 0.7rem;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  flex-wrap: wrap;
}

.footer-links a,
.footer-cookie-btn {
  color: var(--muted);
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 0.4rem 0.2rem;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.privacy-wrap {
  max-width: 860px;
}

.coming-soon-wrap {
  max-width: 780px;
  text-align: center;
  margin-inline: auto;
}

.coming-soon-copy {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.coming-soon-wrap .hero-actions {
  justify-content: center;
}

.privacy-main {
  min-height: calc(100vh - 220px);
}

.privacy-wrap h1 {
  margin-bottom: 0.8rem;
}

.privacy-wrap > p {
  color: var(--muted);
}

.privacy-block {
  margin-top: 1.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.2rem;
}

.privacy-block p {
  color: var(--muted);
  margin-top: 0.55rem;
}

.cookie-banner {
  position: fixed;
  right: 1rem;
  left: 1rem;
  bottom: 1rem;
  z-index: 1300;
}

.cookie-content {
  max-width: 760px;
  margin: 0 auto;
  border-radius: 16px;
  padding: 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(8, 23, 37, 0.98);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

.cookie-content h3 {
  margin-bottom: 0.4rem;
}

.cookie-content p {
  color: var(--muted);
}

.cookie-actions {
  margin-top: 0.9rem;
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.cookie-panel {
  margin-top: 0.9rem;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.toggle-row {
  min-height: 44px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  gap: 1rem;
}

.toggle-row input {
  width: 22px;
  height: 22px;
}

.cookie-save {
  margin-top: 0.7rem;
}

.hidden {
  display: none;
}

@keyframes phone-intro {
  from {
    opacity: 0;
    transform: translateY(55px) scale(0.96);
  }
  60% {
    transform: translateY(-9px) scale(1.015);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 1024px) {
  .hero-grid {
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .site-nav {
    position: absolute;
    top: 82px;
    left: 0;
    right: 0;
    display: none;
    background: rgba(8, 23, 37, 0.98);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.8rem 1rem 1rem;
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: 0.8rem;
  }

  .menu-toggle {
    display: inline-block;
  }

  .lang-switch {
    margin-left: auto;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-device-wrap {
    order: -1;
  }

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

@media (max-width: 375px) {
  .container {
    width: calc(100vw - 1.2rem);
  }

  .btn {
    width: 100%;
  }

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

@media (min-width: 1440px) {
  .container {
    width: min(1220px, calc(100vw - 4rem));
  }

  .hero-grid {
    gap: 4rem;
  }
}
