/* Inter, served from the shared ActualSoft assets: no third parties on the page. */
@font-face { font-family: Inter; font-weight: 100 900; font-display: swap; src: url('/assets/fonts/inter-latin-wght-normal.woff2') format('woff2'); }

/* ActualTrip's own palette: the app's night-blue side menu, the red of the plane
   and the blue of its buttons. */
:root {
  --red: #ef4444;
  --red-600: #dc2626;
  --red-50: #fef2f2;
  --blue: #2563eb;
  --blue-600: #1d4ed8;
  --blue-50: #eff6ff;
  --sky: #7dd3fc;
  --night: #0b1222;
  --night-2: #111a2e;
  --ink: #0f172a;
  --muted: #475569;
  --line: #e2e8f0;
  --bg: #ffffff;
  --soft: #f1f5f9;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(15, 23, 42, 0.06), 0 8px 24px rgba(15, 23, 42, 0.08);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
h1, h2, h3 { line-height: 1.15; margin: 0; letter-spacing: -0.02em; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(780px, 100% - 32px); }
.center { text-align: center; }
.muted { color: var(--muted); }

/* Wordmark: «ActualTrip» + the red «!», as in the app. */
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand svg { flex: none; }
.wordmark { font-weight: 800; font-size: 21px; letter-spacing: -0.01em; white-space: nowrap; }
.wordmark b { color: var(--red); font-weight: inherit; }
.brand-light { color: #fff; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border-radius: 10px; padding: 11px 20px; font-weight: 650; font-size: 15px; min-height: 44px;
  text-decoration: none; border: 1px solid transparent; cursor: pointer; font-family: inherit;
  transition: background 0.15s, transform 0.15s, box-shadow 0.15s; vertical-align: middle; text-align: center;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3); }
.btn-primary:hover { background: var(--blue-600); }
.btn-ghost { color: #fff; border-color: rgba(255, 255, 255, 0.35); background: rgba(255, 255, 255, 0.06); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.14); }
.btn-ghost-dark { color: var(--blue); border-color: var(--blue); background: #fff; }
.btn-ghost-dark:hover { background: var(--blue-50); }
.btn-whatsapp { background: #25d366; color: #fff; box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3); }
.btn-whatsapp:hover { background: #1fb457; }
.btn-lg { padding: 14px 26px; font-size: 16px; min-height: 52px; }
.btn-sm { padding: 8px 14px; font-size: 14px; min-height: 40px; }
.btn-block { width: 100%; }

/* Top bar */
.topbar {
  position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(10px); border-bottom: 1px solid var(--line);
}
.topbar-inner { display: flex; align-items: center; gap: 24px; height: 64px; }
.nav { display: flex; gap: 22px; margin-left: 12px; }
.nav a, .link-muted { color: var(--ink); text-decoration: none; font-weight: 550; font-size: 15px; }
.nav a:hover, .link-muted:hover { color: var(--blue); }
.topbar-actions { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.lang { display: inline-flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; font-size: 13px; font-weight: 700; }
.lang a, .lang span { padding: 6px 9px; text-decoration: none; color: var(--muted); }
.lang [aria-current='page'] { background: var(--night); color: #fff; }
.lang a:hover { color: var(--blue); }

/* Hero */
.hero {
  background:
    radial-gradient(1000px 520px at 88% -10%, rgba(37, 99, 235, 0.5), transparent 60%),
    radial-gradient(700px 380px at 0% 110%, rgba(239, 68, 68, 0.22), transparent 60%),
    var(--night);
  color: #fff; padding: 64px 0 104px; overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1fr 1.08fr; gap: 48px; align-items: center; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.14em; font-size: 13px; font-weight: 700; color: var(--sky); margin: 0 0 14px; }
.hero h1 { font-size: clamp(34px, 4.6vw, 56px); font-weight: 800; }
.accent { color: #ff6b6b; }
.lead { font-size: 19px; color: rgba(255, 255, 255, 0.84); margin: 20px 0 28px; max-width: 34em; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-notes { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; color: rgba(255, 255, 255, 0.74); }
.hero-notes li::before { content: '✓ '; color: var(--sky); font-weight: 700; }
.hero-visual { position: relative; }
.browser { margin: 0; border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5); transform: perspective(1600px) rotateY(-6deg); }
.browser-bar { display: flex; gap: 6px; padding: 9px 12px; background: #1e293b; }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; }
.browser-bar i:nth-child(1) { background: #f26d5b; } .browser-bar i:nth-child(2) { background: #f4bf4f; } .browser-bar i:nth-child(3) { background: #3fc56b; }
.phone {
  position: absolute; width: 26%; right: -2%; bottom: -20%; margin: 0;
  border: 6px solid #020617; border-radius: 26px; overflow: hidden; box-shadow: 0 24px 48px rgba(0, 0, 0, 0.55); background: #fff;
  aspect-ratio: 600 / 1299; transform: rotate(3deg);
}
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

/* Facts */
.facts { border-bottom: 1px solid var(--line); background: #fff; }
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 26px 0; }
.facts-grid div { display: flex; flex-direction: column; border-left: 3px solid var(--red); padding-left: 14px; }
.facts-grid strong { font-size: 17px; font-weight: 700; }
.facts-grid span { color: var(--muted); font-size: 14px; }

/* Sections */
.section { padding: 84px 0; }
.section-soft { background: var(--soft); }
.section-dark { background: radial-gradient(900px 400px at 100% 0%, rgba(37, 99, 235, 0.32), transparent 60%), var(--night); color: #fff; }
.section-title { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; margin-bottom: 14px; }
.section-title.light { color: #fff; }
.section-sub { color: var(--muted); font-size: 18px; margin: 0 0 32px; max-width: 42em; }
.muted-light { color: rgba(255, 255, 255, 0.78); font-size: 17px; }
.mini-title { font-size: 18px; margin: 48px 0 14px; }
.kicker { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--red-600); margin: 0 0 10px; }
.section-dark .kicker { color: var(--sky); }

/* Proven: the two observatories, in words (no third-party logos) */
.proof { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.proof p { margin: 0 0 14px; }
.client-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.client { border: 1px solid rgba(255, 255, 255, 0.14); border-radius: var(--radius); padding: 20px 22px; background: rgba(255, 255, 255, 0.04); }
.client strong { display: block; font-size: 26px; font-weight: 800; letter-spacing: 0.02em; }
.client span { color: rgba(255, 255, 255, 0.7); font-size: 15px; }

.split { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; }
.split-copy .section-sub { margin-bottom: 24px; }
.split-copy .checks { margin-bottom: 28px; }

/* The journey of one trip: request → itinerary → suppliers → site → home */
.flow { list-style: none; padding: 0; margin: 0 0 26px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; counter-reset: flow; }
.flow li {
  counter-increment: flow; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 8px;
  font-size: 13.5px; font-weight: 650; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px; line-height: 1.3;
}
.flow li::before { content: counter(flow); width: 26px; height: 26px; border-radius: 50%; background: var(--night); color: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 800; }

.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); color: var(--ink); }
.card h3 { font-size: 19px; margin-bottom: 10px; font-weight: 750; }
.card p { margin: 0; color: var(--muted); }
.card-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--blue-50); color: var(--blue); display: grid; place-items: center; margin-bottom: 16px; }
.section-dark .card { background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.12); color: #fff; box-shadow: none; }
.section-dark .card p { color: rgba(255, 255, 255, 0.74); }
.section-dark .card-icon { background: rgba(125, 211, 252, 0.14); color: var(--sky); }

/* Phones side by side */
.devices { display: flex; justify-content: center; gap: 28px; }
.device { margin: 0; width: min(46%, 270px); display: flex; flex-direction: column; gap: 12px; align-items: center; }
.device:nth-child(2) { margin-top: 48px; }
.device-frame {
  width: 100%; border: 6px solid #020617; border-radius: 28px; overflow: hidden; background: #fff;
  aspect-ratio: 600 / 1299; box-shadow: 0 24px 48px rgba(15, 23, 42, 0.25);
}
.device-frame img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.device figcaption { font-size: 14px; font-weight: 650; color: var(--muted); text-align: center; }

/* Tabs */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.tabs button {
  border: 1px solid var(--line); background: #fff; color: var(--ink); padding: 9px 16px; border-radius: 999px; min-height: 44px;
  font: 600 15px Inter, system-ui, sans-serif; cursor: pointer;
}
.tabs button:hover { border-color: var(--blue); }
.tabs button[aria-selected='true'] { background: var(--night); border-color: var(--night); color: #fff; }
.section-dark .tabs button { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.25); }
.section-dark .tabs button[aria-selected='true'] { background: #fff; color: var(--night); border-color: #fff; }
.tab-panel { display: grid; grid-template-columns: 0.8fr 1.45fr; gap: 40px; align-items: center; }
.tab-panel[hidden] { display: none; }
.feature-copy h3 { font-size: 24px; margin-bottom: 14px; font-weight: 800; }
.shot { border-radius: 12px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.section-dark .shot { border-color: rgba(255, 255, 255, 0.12); box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45); }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checks li { padding-left: 28px; position: relative; }
.checks li::before {
  content: ''; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--blue-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%232563eb' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.checks.light li { color: rgba(255, 255, 255, 0.9); }
.checks.light li::before { background-color: rgba(125, 211, 252, 0.18); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%237dd3fc' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { background: var(--soft); border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; font-size: 14px; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: paso; }
.steps li { counter-increment: paso; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 6px; }
.steps li::before {
  content: counter(paso); width: 36px; height: 36px; border-radius: 50%; background: var(--red); color: #fff;
  display: grid; place-items: center; font-weight: 800; margin-bottom: 8px;
}
.steps strong { font-size: 17px; }
.steps span { color: var(--muted); font-size: 15px; }

/* Contact */
.demo-grid { display: grid; grid-template-columns: 1fr 0.9fr; gap: 48px; align-items: center; }
.demo-copy .checks { margin: 22px 0; }
.contact { display: grid; gap: 12px; padding: 28px; }
.section-dark .contact { background: #fff; color: var(--ink); }
.section-dark .contact p { color: var(--muted); }
.form-title { font-size: 22px; margin-bottom: 6px; font-weight: 800; }
.fineprint { color: var(--muted); font-size: 13px; margin: 4px 0 0; }

/* FAQ */
details { border-bottom: 1px solid var(--line); padding: 18px 0; }
summary { font-weight: 700; font-size: 17px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; color: var(--blue); font-size: 22px; line-height: 1; }
details[open] summary::after { content: '–'; }
details p { color: var(--muted); margin: 12px 0 0; }

.cta-final { background: var(--blue-50); }
.cta-final .btn { margin: 6px; }

.footer { background: var(--night); color: rgba(255, 255, 255, 0.72); padding: 36px 0; font-size: 14px; }
.footer-inner { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.footer p { margin: 0; }
.footer .brand { margin-bottom: 6px; }
.footer a { color: var(--sky); }

.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 30; width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

@media (max-width: 1060px) {
  .nav { gap: 16px; }
  .nav a { font-size: 14px; }
}
@media (max-width: 960px) {
  .nav { display: none; }
  .hero { padding: 40px 0 80px; }
  .hero-grid, .tab-panel, .demo-grid, .split, .proof { grid-template-columns: 1fr; }
  .split-visual-first .split-visual { order: 2; }
  .hero-visual { margin-top: 12px; }
  .browser { transform: none; }
  .phone { width: 28%; bottom: -14%; right: 2%; }
  .cards-3 { grid-template-columns: 1fr; }
  .facts-grid, .steps { grid-template-columns: 1fr 1fr; }
  .flow { grid-template-columns: repeat(3, 1fr); }
  .section { padding: 60px 0; }
}
@media (max-width: 560px) {
  .topbar-actions .link-muted, .topbar-actions .btn { display: none; }
  .wordmark { font-size: 18px; }
  .brand svg { width: 28px; height: 28px; }
  .facts-grid, .steps { grid-template-columns: 1fr; gap: 12px; }
  .hero-ctas .btn { width: 100%; }
  .flow { grid-template-columns: 1fr 1fr; }
  .devices { gap: 14px; }
  .device-frame { border-width: 4px; border-radius: 20px; }
  .device:nth-child(2) { margin-top: 32px; }
  .card { padding: 22px; }
  .tabs button { padding: 8px 13px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
