/* ── Variables ─────────────────────────────── */
:root {
  --navy:    #04114a;
  --navy2:   #071a6e;
  --orange:  #e85d04;
  --orange2: #f48c06;
  --white:   #f0f4ff;
  --grey:    #8899cc;
  --radius:  16px;
}

/* ── Reset & base ──────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  background: var(--navy);
  color: var(--white);
  line-height: 1.6;
}

a { color: var(--orange2); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; display: block; }

/* ── Language toggle ───────────────────────── */
.lang-toggle {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 100;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--white);
  border-radius: 20px;
  padding: 6px 16px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: background .2s, border-color .2s;
}

.lang-toggle:hover {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.3);
}

/* ── Header / hero ─────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 24px 80px;
  background: radial-gradient(ellipse at 50% 0%, #0a1e7a 0%, var(--navy) 70%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(14,30,120,0.5) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(14,30,120,0.5) 0%, transparent 50%);
  pointer-events: none;
}

.hero-icon {
  width: 140px;
  height: 140px;
  border-radius: 32px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
  margin-bottom: 28px;
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--white);
  margin-bottom: 12px;
}

.hero h1 span { color: var(--orange); }

.hero .tagline {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  color: var(--grey);
  max-width: 480px;
  margin-bottom: 40px;
}

/* ── App Store badge ────────────────────────── */
.badge-wrap {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  color: #111;
  padding: 12px 22px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1rem;
  transition: transform .15s, box-shadow .15s;
}

.badge:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.35); text-decoration: none; }
.badge svg { flex-shrink: 0; }

/* ── Screenshots ────────────────────────────── */
.screenshots {
  padding: 80px 24px;
  text-align: center;
  background: var(--navy2);
}

.screenshots h2 { font-size: 2rem; margin-bottom: 40px; }

.screenshot-grid {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: 0 auto;
}

.screenshot-slot {
  width: 220px;
  aspect-ratio: 9/19.5;
  background: rgba(255,255,255,0.06);
  border: 2px dashed rgba(255,255,255,0.15);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--grey);
  font-size: 0.8rem;
  gap: 8px;
}

.screenshot-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
}

/* ── Features ───────────────────────────────── */
.features {
  padding: 80px 24px;
  max-width: 900px;
  margin: 0 auto;
}

.features h2 { font-size: 2rem; text-align: center; margin-bottom: 48px; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}

.feature-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 28px 24px;
}

.feature-card .icon { font-size: 2rem; margin-bottom: 14px; }
.feature-card h3 { font-size: 1.1rem; margin-bottom: 8px; color: var(--orange2); }
.feature-card p  { color: var(--grey); font-size: 0.95rem; }

/* ── Footer ─────────────────────────────────── */
footer {
  background: rgba(0,0,0,0.3);
  text-align: center;
  padding: 40px 24px;
  font-size: 0.85rem;
  color: var(--grey);
}

footer a { color: var(--grey); margin: 0 12px; }
footer a:hover { color: var(--white); }

/* ── Privacy page ───────────────────────────── */
.privacy-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 80px 24px;
}

.privacy-page h1 { font-size: 2.2rem; margin-bottom: 8px; }
.privacy-page .updated { color: var(--grey); font-size: 0.9rem; margin-bottom: 48px; }

.privacy-page h2 {
  font-size: 1.3rem;
  color: var(--orange2);
  margin-top: 40px;
  margin-bottom: 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.privacy-page p, .privacy-page li { color: var(--grey); margin-bottom: 12px; font-size: 0.97rem; }
.privacy-page ul { padding-left: 20px; }
.privacy-page li { margin-bottom: 6px; }

.privacy-nav {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 48px;
}
.privacy-nav p { color: var(--white); font-weight: 600; margin-bottom: 10px; }
.privacy-nav a { display: block; color: var(--orange2); padding: 4px 0; font-size: 0.9rem; }

/* ── Contact form ───────────────────────────── */
.contact-form-wrap {
  background: linear-gradient(135deg, rgba(7,26,110,0.6) 0%, rgba(4,17,74,0.8) 100%);
  border: 1px solid rgba(255,255,255,0.08);
  border-top: 3px solid var(--orange);
  border-radius: var(--radius);
  padding: 40px 36px;
  margin-top: 28px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.04);
}

.contact-form-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-form-title::before {
  content: '';
  display: block;
  width: 4px;
  height: 22px;
  background: linear-gradient(to bottom, var(--orange), var(--orange2));
  border-radius: 2px;
}

.contact-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.contact-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 20px;
}

.contact-field label {
  font-size: 0.8rem;
  color: var(--grey);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-field input,
.contact-field textarea {
  background: rgba(4,17,74,0.6);
  border: 1.5px solid rgba(255,255,255,0.10);
  border-radius: 10px;
  padding: 12px 16px;
  color: var(--white);
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color .2s, box-shadow .2s, background .2s;
  width: 100%;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder { color: rgba(136,153,204,0.4); }

.contact-field input:focus,
.contact-field textarea:focus {
  outline: none;
  border-color: var(--orange);
  background: rgba(4,17,74,0.9);
  box-shadow: 0 0 0 3px rgba(232,93,4,0.18);
}

.contact-field textarea { resize: vertical; min-height: 110px; }

.contact-error {
  color: #ff6b6b;
  font-size: 0.88rem;
  margin-bottom: 14px;
  padding: 10px 14px;
  background: rgba(255,107,107,0.08);
  border-radius: 8px;
  border-left: 3px solid #ff6b6b;
}

.contact-submit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange2) 100%);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: opacity .2s, transform .2s, box-shadow .2s;
  box-shadow: 0 6px 20px rgba(232,93,4,0.35);
  letter-spacing: 0.01em;
}

.contact-submit:hover:not(:disabled) {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(232,93,4,0.45);
}

.contact-submit:active:not(:disabled) { transform: translateY(0); }
.contact-submit:disabled { opacity: 0.5; cursor: not-allowed; box-shadow: none; }

.contact-submit svg { transition: transform .2s; }
.contact-submit:hover:not(:disabled) svg { transform: translateX(3px); }

.contact-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 48px 0;
  text-align: center;
  animation: fadeUp .4s ease both;
}

.contact-success h3 { font-size: 1.5rem; font-weight: 700; }
.contact-success p  { color: var(--grey); max-width: 300px; }

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

/* ── Responsive ─────────────────────────────── */
@media (max-width: 600px) {
  .screenshot-slot { width: 160px; }
  .contact-row { grid-template-columns: 1fr; }
}
