/* ============================================
   Aviator Trip Planner — Landing styles
   Replace placeholder paths and text as needed
   ============================================ */

/* --- Color palette (substitute if rebranding) --- */
:root {
  --accent-dark: #262626;
  --accent-black: #050505;
  --bg-dark: #0A0A0A;
  --bg-light: #EFEFF2;
  --accent-red: #DD1130;
  --white: #FFFFFF;
  --black: #000000;
  --text-on-dark: #E8E8E8;
  --text-muted: #9A9A9A;
  --border-subtle: rgba(255, 255, 255, 0.08);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg-dark);
  color: var(--text-on-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent-red);
  text-decoration: none;
  transition: color 0.2s, opacity 0.2s;
}
a:hover { opacity: 0.85; }

/* --- Layout --- */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* --- Header / Nav --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  transition: background 0.3s;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 3.5rem;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--white);
  font-weight: 700;
  font-size: 1.1rem;
}
.logo-link:hover { color: var(--white); opacity: 0.9; }

.logo-svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--text-on-dark);
  font-size: 0.9rem;
}
.nav-links a:hover { color: var(--accent-red); }

/* --- Hero --- */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem 0 3rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(221, 17, 48, 0.08) 0%, transparent 55%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: linear-gradient(rgba(221, 17, 48, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(221, 17, 48, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.hero .container {
  position: relative;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  background: var(--accent-dark);
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.hero h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
}

.hero-subtitle {
  margin: 0 0 2rem;
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--text-muted);
  max-width: 32ch;
  margin-left: auto;
  margin-right: auto;
}

/* --- Screenshots strip --- */
.screenshots-wrap {
  margin: 2rem 0 4rem;
}

.screenshots-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  text-align: center;
}

.screenshots-row {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 0 0.5rem;
}

/* Placeholder: replace src with real screenshot paths (vertical phone screens) */
.screenshot-item {
  width: clamp(140px, 22vw, 200px);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-subtle);
  transition: transform 0.25s;
}
.screenshot-item:hover { transform: translateY(-4px); }

.screenshot-item img {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 19;
  object-fit: cover;
  background: var(--accent-dark);
}

/* --- Section blocks --- */
.section {
  padding: 4rem 0;
}

.section-alt {
  background: var(--accent-dark);
}

.section-light {
  background: var(--bg-light);
  color: var(--black);
}
.section-light .section-title,
.section-light h2 { color: var(--black); }
.section-light .section-lead,
.section-light .card p { color: #333; }

.section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--white);
  margin: 0 0 0.5rem;
  text-align: center;
}

.section-lead {
  max-width: 42rem;
  margin: 0 auto 2.5rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* --- Feature cards --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.feature-card {
  background: var(--bg-dark);
  border: 1px solid var(--border-subtle);
  border-radius: 1rem;
  padding: 1.5rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.feature-card:hover {
  border-color: rgba(221, 17, 48, 0.3);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.section-light .feature-card {
  background: var(--white);
  border-color: rgba(0, 0, 0, 0.08);
}
.section-light .feature-card:hover { border-color: rgba(221, 17, 48, 0.4); }

.feature-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 1rem;
  color: var(--accent-red);
}

.feature-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  color: var(--white);
}
.section-light .feature-card h3 { color: var(--black); }

.feature-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}
.section-light .feature-card p { color: #555; }

/* --- Inline text block --- */
.copy-block {
  max-width: 50rem;
  margin: 0 auto;
}

.copy-block p {
  margin: 0 0 1rem;
  color: var(--text-on-dark);
}
.section-light .copy-block p { color: #333; }

.copy-block p:last-child { margin-bottom: 0; }

/* --- Footer / Legal strip --- */
.footer-legal {
  padding: 2rem 0;
  border-top: 1px solid var(--border-subtle);
  background: var(--accent-black);
}

.footer-legal .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem 2rem;
}

.footer-legal a {
  color: var(--text-muted);
  font-size: 0.9rem;
}
.footer-legal a:hover { color: var(--accent-red); }

.copyright {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

/* --- Subpages (Privacy, Terms, Contacts) --- */
.page-content {
  padding: 5rem 0 4rem;
  min-height: 100vh;
}

.page-title {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  color: var(--white);
  margin: 0 0 0.5rem;
}

.page-updated {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0 0 2rem;
}

.legal-text,
.contacts-text {
  max-width: 52rem;
  margin: 0 auto;
}

.legal-text h2 {
  font-size: 1.25rem;
  color: var(--white);
  margin: 2rem 0 0.75rem;
}
.legal-text h2:first-of-type { margin-top: 0; }

.legal-text p,
.legal-text ul {
  margin: 0 0 1rem;
  color: var(--text-on-dark);
}

.legal-text ul {
  padding-left: 1.5rem;
}

/* --- Contacts --- */
.contact-card {
  background: var(--accent-dark);
  border: 1px solid var(--border-subtle);
  border-radius: 1rem;
  padding: 1.5rem 2rem;
  margin-bottom: 2rem;
  max-width: 28rem;
}

.contact-card dt {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.contact-card dd {
  margin: 0 0 1rem;
  font-size: 1.05rem;
}
.contact-card dd:last-child { margin-bottom: 0; }

.contact-card a {
  color: var(--accent-red);
}

/* --- Contact form (optional) --- */
.contact-form {
  max-width: 28rem;
  margin-top: 2rem;
}

.contact-form label {
  display: block;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.65rem 0.9rem;
  margin-bottom: 1rem;
  font: inherit;
  font-size: 1rem;
  color: var(--white);
  background: var(--accent-dark);
  border: 1px solid var(--border-subtle);
  border-radius: 0.5rem;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--text-muted); }

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-form button {
  padding: 0.7rem 1.5rem;
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  background: var(--accent-red);
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: opacity 0.2s;
}
.contact-form button:hover { opacity: 0.9; }

/* --- Decorative SVG strip (repeating motif) --- */
.motif-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 2rem;
  flex-wrap: wrap;
  opacity: 0.5;
}

.motif-strip svg {
  width: 48px;
  height: 48px;
  color: var(--accent-red);
}

/* --- Mobile menu (optional toggle) --- */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0.5rem;
  color: var(--white);
  cursor: pointer;
}

@media (max-width: 640px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--bg-dark);
    padding: 1rem;
    border-bottom: 1px solid var(--border-subtle);
  }
  .nav-links.is-open { display: flex; }
  .screenshots-row { gap: 0.75rem; }
  .screenshot-item { width: 140px; }
}
