/* ============================================================
   vatAlert — landing page styles
   Aviation / radar dark-blue aesthetic
   No framework, no external dependencies
   ============================================================ */

/* ── Google Font import ─────────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* ── Design tokens ──────────────────────────────────────────────────────────── */
:root {
  --bg-base:        #060b18;
  --bg-surface:     #0b1426;
  --bg-card:        #0f1c35;
  --bg-card-hover:  #152340;

  --accent-green:   #00e87a;
  --accent-blue:    #00aaff;
  --accent-orange:  #ff7a00;
  --accent-green-dim: rgba(0, 232, 122, 0.12);
  --accent-blue-dim:  rgba(0, 170, 255, 0.12);

  --text-primary:   #ddeaff;
  --text-secondary: #7a9abf;
  --text-muted:     #3d5a7a;

  --border-subtle:  rgba(0, 170, 255, 0.1);
  --border-card:    rgba(0, 170, 255, 0.18);

  --radius-sm:      8px;
  --radius-md:      14px;
  --radius-lg:      22px;
  --radius-xl:      32px;

  --font:           'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;

  --shadow-card:    0 2px 24px rgba(0, 0, 0, 0.5);
  --shadow-glow-g:  0 0 24px rgba(0, 232, 122, 0.2);
  --shadow-glow-b:  0 0 24px rgba(0, 170, 255, 0.15);

  --transition:     0.2s ease;
  --container:      1100px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family:      var(--font);
  background-color: var(--bg-base);
  color:            var(--text-primary);
  line-height:      1.65;
  -webkit-font-smoothing:  antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  color: var(--accent-blue);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--accent-green); }

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

ul { list-style: none; }

/* ── Layout ─────────────────────────────────────────────────────────────────── */
.container {
  width: min(var(--container), 100% - 2rem);
  margin-inline: auto;
}

section { padding: 100px 0; }

/* ── Typography helpers ─────────────────────────────────────────────────────── */
.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-green);
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin-bottom: 3rem;
}

/* ── Header ─────────────────────────────────────────────────────────────────── */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 1rem;
  background: transparent;
  transition: background var(--transition), backdrop-filter var(--transition),
              border-bottom var(--transition);
}

header.scrolled {
  background: rgba(6, 11, 24, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  width: min(var(--container), 100%);
  margin-inline: auto;
}

.nav-logo {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.03em;
}

.nav-logo span {
  color: var(--accent-green);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
}
.nav-link:hover { color: var(--text-primary); }

.lang-btn {
  font-family: var(--font);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent-green);
  background: rgba(0, 232, 122, 0.1);
  border: 1px solid rgba(0, 232, 122, 0.3);
  border-radius: var(--radius-sm);
  padding: 4px 10px;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition);
}

.lang-btn:hover {
  background: rgba(0, 232, 122, 0.2);
  border-color: rgba(0, 232, 122, 0.6);
}

/* ── Hero ───────────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 80px 1rem 60px;
}

/* Radar background ─────────────────────────────────────────────────────────── */
.radar-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.radar-scope {
  position: relative;
  width: min(680px, 90vw);
  height: min(680px, 90vw);
  flex-shrink: 0;
  opacity: 0.35;
}

/* Crosshairs */
.radar-scope::before,
.radar-scope::after {
  content: '';
  position: absolute;
  inset: 0;
  margin: auto;
  background: var(--accent-green);
  opacity: 0.25;
}
.radar-scope::before { width: 100%; height: 1px; top: 50%; }
.radar-scope::after  { width: 1px; height: 100%; left: 50%; }

.radar-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid var(--accent-green);
  border-radius: 50%;
  opacity: 0.35;
}
.radar-ring:nth-child(1) { width: 25%;  height: 25%; }
.radar-ring:nth-child(2) { width: 50%;  height: 50%; }
.radar-ring:nth-child(3) { width: 75%;  height: 75%; }
.radar-ring:nth-child(4) { width: 100%; height: 100%; }

.radar-sweep {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg at 50% 50%,
    transparent 0deg,
    transparent 305deg,
    rgba(0, 232, 122, 0.06) 330deg,
    rgba(0, 232, 122, 0.18) 348deg,
    rgba(0, 232, 122, 0.45) 360deg
  );
  animation: radar-sweep 5s linear infinite;
}

@keyframes radar-sweep {
  to { transform: rotate(360deg); }
}

.radar-blip {
  position: absolute;
  width: 6px;
  height: 6px;
  background: var(--accent-green);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-green), 0 0 4px var(--accent-green);
  animation: blip-pulse 3s ease-in-out infinite;
}

.radar-blip:nth-child(6) { top: 34%; left: 62%; animation-delay: 0s; }
.radar-blip:nth-child(7) { top: 55%; left: 42%; animation-delay: 0.8s; }
.radar-blip:nth-child(8) { top: 44%; left: 57%; animation-delay: 1.6s; }
.radar-blip:nth-child(9) { top: 28%; left: 48%; animation-delay: 2.2s; }

@keyframes blip-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.25; transform: scale(0.6); }
}

/* Hero content ─────────────────────────────────────────────────────────────── */
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 700px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-green);
  border: 1px solid rgba(0, 232, 122, 0.3);
  border-radius: 100px;
  padding: 5px 14px;
  margin-bottom: 1.5rem;
  background: rgba(0, 232, 122, 0.06);
}

.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--accent-green);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-green);
  animation: blip-pulse 2s ease-in-out infinite;
}

.hero-title {
  font-size: clamp(3rem, 10vw, 6rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text-primary);
  line-height: 1.0;
  margin-bottom: 0.6rem;
}

.hero-title span {
  color: var(--accent-green);
}

.hero-tagline {
  font-size: clamp(1.15rem, 3vw, 1.5rem);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.hero-sub {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 520px;
  margin-inline: auto;
  margin-bottom: 2.5rem;
}

/* Store badges in hero */
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.store-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: default;
  user-select: none;
  transition: border-color var(--transition), background var(--transition);
}

.store-pill:hover {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.07);
}

.store-pill .store-icon {
  font-size: 1.2rem;
  line-height: 1;
}

/* Scroll cue */
.hero-scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: cue-bob 2s ease-in-out infinite;
}

.hero-scroll-cue::after {
  content: '';
  width: 1px;
  height: 32px;
  background: linear-gradient(to bottom, var(--text-muted), transparent);
}

@keyframes cue-bob {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

/* ── Features ───────────────────────────────────────────────────────────────── */
.features {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.features-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.feat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: border-color var(--transition), background var(--transition),
              box-shadow var(--transition), transform var(--transition);
  position: relative;
  overflow: hidden;
}

.feat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--border-card), transparent);
  transition: background var(--transition);
}

.feat-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(0, 170, 255, 0.35);
  box-shadow: var(--shadow-glow-b);
  transform: translateY(-2px);
}

.feat-card:hover::before {
  background: linear-gradient(90deg, transparent, var(--accent-blue), transparent);
}

.feat-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--accent-blue-dim);
  border: 1px solid rgba(0, 170, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
  color: var(--accent-blue);
}

.feat-card:nth-child(1) .feat-icon,
.feat-card:nth-child(4) .feat-icon {
  background: var(--accent-green-dim);
  border-color: rgba(0, 232, 122, 0.25);
  color: var(--accent-green);
}

.feat-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
}

.feat-body {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ── Screenshots ────────────────────────────────────────────────────────────── */
.screenshots {
  text-align: center;
}

.screenshots-header {
  margin-bottom: 3rem;
}

.phones-row {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.phone-frame {
  position: relative;
  width: 175px;
  height: 348px;
  border: 2px solid var(--border-card);
  border-radius: var(--radius-xl);
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  flex-shrink: 0;
  transition: border-color var(--transition), box-shadow var(--transition);
}

/* Center phone slightly taller */
.phone-frame:nth-child(2) {
  height: 380px;
  border-color: rgba(0, 170, 255, 0.35);
  box-shadow: var(--shadow-glow-b);
}

.phone-frame:hover {
  border-color: rgba(0, 170, 255, 0.45);
}

/* Dynamic island */
.phone-frame::before {
  content: '';
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 52px;
  height: 8px;
  background: rgba(0, 170, 255, 0.2);
  border-radius: 4px;
}

/* Home bar */
.phone-frame::after {
  content: '';
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 44px;
  height: 4px;
  background: rgba(0, 170, 255, 0.2);
  border-radius: 2px;
}

.phone-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-align: center;
  padding: 0 20px;
  line-height: 1.5;
  data-i18n: "screenshots_label";
}

.phone-icon {
  font-size: 1.8rem;
  opacity: 0.2;
}

/* ── Get the App (store section) ────────────────────────────────────────────── */
.store-section {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  text-align: center;
}

.store-header {
  margin-bottom: 2.5rem;
}

.store-badges-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.store-badge-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 32px;
  border: 1.5px solid var(--border-card);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  cursor: default;
  user-select: none;
  transition: border-color var(--transition), background var(--transition);
}

.store-badge-card:hover {
  border-color: rgba(0, 170, 255, 0.35);
  background: var(--bg-card-hover);
}

.store-badge-icon {
  font-size: 1.75rem;
  line-height: 1;
}

.store-badge-text {
  text-align: left;
}

.store-badge-soon {
  display: block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-green);
  margin-bottom: 2px;
}

.store-badge-name {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* ── Feedback ────────────────────────────────────────────────────────────────── */
.feedback-section {
  border-top: 1px solid var(--border-subtle);
}

.feedback-inner {
  max-width: 540px;
  margin-inline: auto;
  text-align: center;
}

.feedback-inner .section-title { margin-bottom: 0.5rem; }
.feedback-inner .section-sub   { margin-bottom: 2rem; margin-inline: auto; }

#feedback-form {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.04em;
}

.form-group input,
.form-group textarea {
  font-family: var(--font);
  font-size: 0.9rem;
  color: var(--text-primary);
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
  resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 3px rgba(0, 170, 255, 0.1);
}

.form-group textarea {
  min-height: 110px;
}

.btn-submit {
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--bg-base);
  background: var(--accent-green);
  border: none;
  border-radius: var(--radius-sm);
  padding: 12px 28px;
  cursor: pointer;
  align-self: flex-start;
  transition: background var(--transition), box-shadow var(--transition),
              opacity var(--transition);
}

.btn-submit:hover {
  background: #00ffaa;
  box-shadow: var(--shadow-glow-g);
}

.btn-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.feedback-status {
  font-size: 0.875rem;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  margin-top: 0.5rem;
  display: none;
}

.feedback-status.info {
  display: block;
  background: rgba(0, 170, 255, 0.08);
  border: 1px solid rgba(0, 170, 255, 0.2);
  color: var(--accent-blue);
}

.feedback-status.success {
  display: block;
  background: rgba(0, 232, 122, 0.08);
  border: 1px solid rgba(0, 232, 122, 0.2);
  color: var(--accent-green);
}

.feedback-status.error {
  display: block;
  background: rgba(255, 80, 80, 0.08);
  border: 1px solid rgba(255, 80, 80, 0.2);
  color: #ff6060;
}

/* ── Footer ─────────────────────────────────────────────────────────────────── */
footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  padding: 2.5rem 1rem;
}

.footer-inner {
  width: min(var(--container), 100%);
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-brand {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.03em;
}

.footer-brand span { color: var(--accent-green); }

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

.footer-links a {
  font-size: 0.8rem;
  color: var(--text-secondary);
}
.footer-links a:hover { color: var(--text-primary); }

.footer-disclaimer {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.footer-copy {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ── Privacy page ────────────────────────────────────────────────────────────── */
.page-privacy main {
  padding-top: 100px;
  padding-bottom: 80px;
}

.privacy-container {
  width: min(760px, 100% - 2rem);
  margin-inline: auto;
}

.privacy-back {
  display: inline-block;
  font-size: 0.85rem;
  color: var(--accent-blue);
  margin-bottom: 2.5rem;
}

.privacy-back:hover { color: var(--accent-green); }

.privacy-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.privacy-date {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 3rem;
}

.privacy-prose h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 2.5rem 0 0.75rem;
  letter-spacing: -0.01em;
}

.privacy-prose h2:first-child { margin-top: 0; }

.privacy-prose p {
  font-size: 0.925rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.privacy-prose ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.privacy-prose li {
  font-size: 0.925rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 0.25rem;
}

.privacy-prose a {
  color: var(--accent-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.privacy-prose strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* ── Responsive ─────────────────────────────────────────────────────────────── */
@media (max-width: 640px) {
  section { padding: 72px 0; }

  .hero-title { letter-spacing: -0.03em; }

  .phones-row { gap: 1rem; }
  .phone-frame { width: 140px; height: 280px; }
  .phone-frame:nth-child(2) { height: 308px; }

  .store-badge-card { padding: 14px 20px; }

  .footer-inner { flex-direction: column; align-items: flex-start; gap: 0.75rem; }

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

@media (min-width: 768px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .features-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ── Utility ─────────────────────────────────────────────────────────────────── */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border-width: 0;
}

/* Subtle horizontal rule between major sections */
.section-divider {
  border: none;
  border-top: 1px solid var(--border-subtle);
  margin: 0;
}
