/* ============================================================
   AI Trip DNA — Ocean Premium 2026
   Full theme override (light + dark) for /trip-dna landing.
   Loaded AFTER base.css to take precedence.
   ============================================================ */

:root {
  /* Ocean — Light */
  --ocean-bg: #f4fafd;
  --ocean-surface: #ffffff;
  --ocean-surface-2: #eaf4fa;
  --ocean-ink: #062338;
  --ocean-ink-2: #335067;
  --ocean-muted: #6b8194;
  --ocean-line: rgba(8, 47, 73, 0.10);
  --ocean-line-2: rgba(8, 47, 73, 0.18);

  --ocean-brand: #0891b2;
  --ocean-brand-2: #0369a1;
  --ocean-brand-3: #155e75;
  --ocean-accent: #14b8a6;
  --ocean-gold: #d4a24c;

  --ocean-grad: linear-gradient(135deg, #0ea5b7 0%, #0369a1 55%, #082f49 100%);
  --ocean-grad-soft: linear-gradient(160deg, #e0f2fe 0%, #f0fdfa 100%);
  --ocean-shadow-sm: 0 1px 2px rgba(8, 47, 73, .06), 0 2px 6px rgba(8, 47, 73, .05);
  --ocean-shadow: 0 6px 14px -6px rgba(8, 47, 73, .18), 0 18px 40px -16px rgba(8, 47, 73, .22);
  --ocean-shadow-lg: 0 20px 50px -20px rgba(3, 105, 161, .35), 0 40px 80px -40px rgba(8, 47, 73, .35);
  --ocean-radius: 18px;
  --ocean-radius-sm: 12px;

  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ocean-bg: #03121f;
    --ocean-surface: #0a2540;
    --ocean-surface-2: #0e2e4f;
    --ocean-ink: #e6f4f9;
    --ocean-ink-2: #b9d4e3;
    --ocean-muted: #7d9bb1;
    --ocean-line: rgba(230, 244, 249, 0.10);
    --ocean-line-2: rgba(230, 244, 249, 0.18);
    --ocean-brand: #22d3ee;
    --ocean-brand-2: #38bdf8;
    --ocean-brand-3: #67e8f9;
    --ocean-grad: linear-gradient(135deg, #22d3ee 0%, #0891b2 55%, #0a2540 100%);
    --ocean-grad-soft: linear-gradient(160deg, #082f49 0%, #0a2540 100%);
    --ocean-shadow-sm: 0 1px 2px rgba(0,0,0,.35);
    --ocean-shadow: 0 6px 14px -6px rgba(0,0,0,.55), 0 18px 40px -16px rgba(0,0,0,.55);
    --ocean-shadow-lg: 0 20px 50px -20px rgba(34, 211, 238, .25), 0 40px 80px -40px rgba(0,0,0,.7);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --ocean-bg: #03121f;
  --ocean-surface: #0a2540;
  --ocean-surface-2: #0e2e4f;
  --ocean-ink: #e6f4f9;
  --ocean-ink-2: #b9d4e3;
  --ocean-muted: #7d9bb1;
  --ocean-line: rgba(230, 244, 249, 0.10);
  --ocean-line-2: rgba(230, 244, 249, 0.18);
  --ocean-brand: #22d3ee;
  --ocean-brand-2: #38bdf8;
  --ocean-brand-3: #67e8f9;
  --ocean-grad: linear-gradient(135deg, #22d3ee 0%, #0891b2 55%, #0a2540 100%);
  --ocean-grad-soft: linear-gradient(160deg, #082f49 0%, #0a2540 100%);
  --ocean-shadow-sm: 0 1px 2px rgba(0,0,0,.35);
  --ocean-shadow: 0 6px 14px -6px rgba(0,0,0,.55), 0 18px 40px -16px rgba(0,0,0,.55);
  --ocean-shadow-lg: 0 20px 50px -20px rgba(34, 211, 238, .25), 0 40px 80px -40px rgba(0,0,0,.7);
  color-scheme: dark;
}

/* ===== Global ===== */
html, body {
  background: var(--ocean-bg) !important;
  color: var(--ocean-ink) !important;
}
body {
  font-family: "Outfit", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
::selection { background: var(--ocean-brand); color: #fff; }
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--ocean-bg); }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--ocean-brand), var(--ocean-brand-2)); border-radius: 8px; border: 3px solid var(--ocean-bg); }

.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 24px; }
.container--narrow { max-width: 880px; }

a { color: var(--ocean-brand-2); }
a:focus-visible, button:focus-visible, .btn:focus-visible {
  outline: 3px solid var(--ocean-brand);
  outline-offset: 3px;
  border-radius: 8px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px; padding: 12px 22px; border-radius: 999px;
  font-weight: 600; letter-spacing: -.005em; line-height: 1;
  border: 1px solid transparent; cursor: pointer; text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
  will-change: transform;
}
.btn--primary {
  background: var(--ocean-grad);
  color: #fff;
  box-shadow: 0 10px 25px -10px rgba(8, 145, 178, .55), inset 0 1px 0 rgba(255,255,255,.18);
  position: relative; overflow: hidden;
}
.btn--primary::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,.35) 50%, transparent 100%);
  transform: translateX(-120%);
  transition: transform .7s ease;
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -12px rgba(8, 145, 178, .65); }
.btn--primary:hover::before { transform: translateX(120%); }
.btn--lg { padding: 14px 26px; font-size: 1rem; }
.btn--xl { padding: 18px 32px; font-size: 1.05rem; border-radius: 999px; }
.btn__arrow { display: inline-block; transition: transform .25s ease; }
.btn:hover .btn__arrow { transform: translateX(4px); }

/* ===== HERO — Minimal Swiss ===== */
.hero {
  position: relative; isolation: isolate;
  padding: clamp(96px, 14vw, 160px) 0 clamp(64px, 10vw, 120px);
  background: var(--ocean-bg);
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(800px 380px at 50% -8%, color-mix(in srgb, var(--ocean-brand) 10%, transparent), transparent 70%);
}

.hero__inner { width: 100%; max-width: 860px; margin-inline: auto; padding-inline: 24px; }
.hero__inner--center { text-align: center; }

.hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 999px;
  background: var(--ocean-surface);
  border: 1px solid var(--ocean-line-2);
  color: var(--ocean-ink-2); font-size: .82rem; font-weight: 500;
  letter-spacing: .01em;
}
.hero__badge-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--ocean-brand);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--ocean-brand) 22%, transparent);
  animation: oceanPulse 2.4s ease-in-out infinite;
}
@keyframes oceanPulse {
  0%,100% { box-shadow: 0 0 0 4px color-mix(in srgb, var(--ocean-brand) 22%, transparent); }
  50%     { box-shadow: 0 0 0 10px color-mix(in srgb, var(--ocean-brand) 0%, transparent); }
}

.hero__title {
  font-family: "Outfit", ui-sans-serif, system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(2.4rem, 6.2vw, 4.6rem);
  line-height: 1.04; letter-spacing: -.035em;
  margin: 26px auto 20px; color: var(--ocean-ink);
  max-width: 18ch;
}
.hero__title em {
  font-style: normal; font-weight: 700;
  color: var(--ocean-brand-2);
}
:root[data-theme="dark"] .hero__title em { color: var(--ocean-brand-3); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .hero__title em { color: var(--ocean-brand-3); }
}

.hero__sub {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: var(--ocean-ink-2); max-width: 58ch;
  line-height: 1.65; margin: 0 auto 36px;
}

.hero__actions {
  display: inline-flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 12px;
  margin-bottom: 22px;
}
@media (max-width: 480px) {
  .hero__actions { display: flex; }
  .hero__actions .btn { width: 100%; }
}

.hero__trust {
  margin: 0 auto;
  color: var(--ocean-muted); font-size: .88rem; font-weight: 500;
  letter-spacing: .005em;
}

.hero__divider {
  width: 100%; max-width: 720px; height: 1px;
  background: var(--ocean-line);
  margin: 56px auto 32px;
}

/* Hero image — Swiss clean frame */
.hero__media {
  margin: 56px auto 0;
  width: 100%;
  max-width: 980px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--ocean-line-2);
  box-shadow: var(--ocean-shadow);
  background: var(--ocean-surface);
  aspect-ratio: 16 / 10;
  position: relative;
}
.hero__media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 70%, color-mix(in srgb, var(--ocean-bg) 55%, transparent) 100%);
}
.hero__img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.hero__media + .hero__divider { margin-top: 56px; }

.hero__stats {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 560px) { .hero__stats { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; } }
.hero__stat { display: flex; flex-direction: column; gap: 6px; text-align: center; }
.hero__stat-val {
  font-family: "Outfit", ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-weight: 700;
  color: var(--ocean-ink); letter-spacing: -.03em; line-height: 1;
  font-variant-numeric: tabular-nums;
}
.hero__stat-label {
  font-size: .78rem; color: var(--ocean-muted);
  text-transform: uppercase; letter-spacing: .1em; font-weight: 500;
}

/* Buttons — Swiss tweaks */
.hero .btn--xl {
  height: 56px; padding: 0 28px; border-radius: 10px;
  font-size: 1rem; font-weight: 600;
}
.btn--ghost {
  background: transparent;
  color: var(--ocean-ink);
  border: 1px solid var(--ocean-line-2);
}
.btn--ghost:hover {
  background: var(--ocean-surface);
  border-color: color-mix(in srgb, var(--ocean-brand) 50%, var(--ocean-line-2));
  transform: translateY(-1px);
}
.hero .btn--primary { border-radius: 10px; }

/* ===== Sticky mobile CTA ===== */
.sticky-cta {
  position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%) translateY(140%);
  display: inline-flex; gap: 10px; align-items: center;
  padding: 14px 22px; border-radius: 999px;
  background: var(--ocean-grad); color: #fff; font-weight: 600;
  text-decoration: none; z-index: 50;
  box-shadow: 0 20px 40px -10px rgba(8, 145, 178, .55);
  transition: transform .4s cubic-bezier(.2,.7,.2,1), opacity .3s;
  opacity: 0;
}
.sticky-cta--visible { transform: translateX(-50%) translateY(0); opacity: 1; }
@media (max-width: 960px) { .sticky-cta { transform: translateX(-50%) translateY(0); opacity: 1; } }
@media (min-width: 961px) { .sticky-cta { display: none; } }

/* ===== Sections ===== */
.section-header { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.section-kicker {
  display: inline-block; padding: 6px 12px; border-radius: 999px;
  background: color-mix(in srgb, var(--ocean-brand) 12%, transparent);
  color: var(--ocean-brand-2); font-size: .78rem;
  font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  margin-bottom: 14px;
}
.section-header h2 {
  font-family: "Cormorant Garamond", serif; font-weight: 700;
  font-size: clamp(1.85rem, 3.4vw, 2.8rem); line-height: 1.1;
  color: var(--ocean-ink); margin: 0 0 14px; letter-spacing: -.015em;
}
.section-header p { color: var(--ocean-ink-2); font-size: 1.02rem; line-height: 1.65; margin: 0; }

.profiles-section, .how-section, .features-section, .faq-section, .cta-section {
  padding: clamp(56px, 7vw, 96px) 0;
  background: var(--ocean-bg);
}
.profiles-section, .features-section { background: var(--ocean-surface-2); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .profiles-section,
  :root:not([data-theme="light"]) .features-section { background: var(--ocean-surface); }
}
:root[data-theme="dark"] .profiles-section,
:root[data-theme="dark"] .features-section { background: var(--ocean-surface); }

/* Profiles */
.profiles-grid {
  list-style: none; padding: 0; margin: 0 0 32px;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
}
.profile-pill {
  display: flex; gap: 14px; align-items: center;
  padding: 16px 18px; border-radius: var(--ocean-radius);
  background: var(--ocean-surface);
  border: 1px solid var(--ocean-line);
  box-shadow: var(--ocean-shadow-sm);
  transition: transform .25s ease, box-shadow .25s, border-color .25s;
}
.profile-pill:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--ocean-brand) 50%, transparent);
  box-shadow: var(--ocean-shadow);
}
.profile-pill__icon {
  font-size: 1.7rem; line-height: 1;
  width: 44px; height: 44px; flex-shrink: 0;
  display: grid; place-items: center; border-radius: 12px;
  background: var(--ocean-grad-soft);
}
.profile-pill__name { display: block; color: var(--ocean-ink); font-weight: 600; }
.profile-pill__desc { display: block; color: var(--ocean-muted); font-size: .85rem; margin-top: 2px; }

.profiles-cta { text-align: center; }

/* How steps */
.how-steps {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.how-step {
  position: relative; padding: 28px 24px;
  background: var(--ocean-surface); border: 1px solid var(--ocean-line);
  border-radius: var(--ocean-radius);
  box-shadow: var(--ocean-shadow-sm);
}
.how-step__num {
  font-family: "Space Mono", monospace; font-size: .85rem;
  color: var(--ocean-brand-2); font-weight: 700;
  display: inline-block; padding: 4px 10px; border-radius: 999px;
  background: color-mix(in srgb, var(--ocean-brand) 12%, transparent);
  margin-bottom: 14px;
}
.how-step h3 {
  font-family: "Cormorant Garamond", serif; font-weight: 700;
  color: var(--ocean-ink); font-size: 1.3rem; margin: 0 0 8px;
}
.how-step p { color: var(--ocean-ink-2); font-size: .95rem; line-height: 1.6; margin: 0; }

/* Features */
.features-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.feature-card {
  padding: 28px 24px;
  background: var(--ocean-surface);
  border: 1px solid var(--ocean-line);
  border-radius: var(--ocean-radius);
  box-shadow: var(--ocean-shadow-sm);
  transition: transform .3s ease, box-shadow .3s, border-color .3s;
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--ocean-brand) 50%, transparent);
  box-shadow: var(--ocean-shadow);
}
.feature-card__icon {
  font-size: 1.8rem; width: 52px; height: 52px;
  display: grid; place-items: center; border-radius: 14px;
  background: var(--ocean-grad-soft);
  margin-bottom: 16px;
}
.feature-card h3 {
  font-family: "Cormorant Garamond", serif; font-weight: 700;
  color: var(--ocean-ink); font-size: 1.3rem; margin: 0 0 8px;
}
.feature-card p { color: var(--ocean-ink-2); font-size: .95rem; line-height: 1.6; margin: 0; }

/* FAQ */
.faq-list { display: grid; gap: 12px; max-width: 820px; margin: 0 auto; }
.faq-item {
  background: var(--ocean-surface);
  border: 1px solid var(--ocean-line);
  border-radius: var(--ocean-radius-sm);
  padding: 6px 18px;
  transition: border-color .25s, box-shadow .25s;
}
.faq-item[open] {
  border-color: color-mix(in srgb, var(--ocean-brand) 45%, transparent);
  box-shadow: var(--ocean-shadow-sm);
}
.faq-item summary {
  cursor: pointer; list-style: none;
  padding: 14px 0; font-weight: 600; color: var(--ocean-ink);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-size: 1.4rem; color: var(--ocean-brand);
  transition: transform .3s ease;
}
.faq-item[open] summary::after { content: "−"; transform: rotate(180deg); }
.faq-item p { color: var(--ocean-ink-2); line-height: 1.65; margin: 0 0 16px; font-size: .96rem; }

/* CTA */
.cta-section { background: var(--ocean-bg); }
.cta-section__inner {
  text-align: center; padding: clamp(40px, 6vw, 70px) clamp(24px, 5vw, 56px);
  background: var(--ocean-grad);
  border-radius: 28px;
  color: #fff; position: relative; overflow: hidden;
  box-shadow: var(--ocean-shadow-lg);
}
.cta-section__inner::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(400px 200px at 20% 10%, rgba(255,255,255,.18), transparent),
    radial-gradient(400px 200px at 80% 90%, rgba(34, 211, 238, .25), transparent);
  pointer-events: none;
}
.cta-section__inner h2 {
  font-family: "Cormorant Garamond", serif; font-weight: 700;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin: 0 0 12px;
  color: #fff; position: relative;
}
.cta-section__inner p {
  color: rgba(255,255,255,.85); margin: 0 0 28px; position: relative;
  font-size: 1.02rem;
}
.cta-section__inner .btn--primary {
  background: #fff; color: var(--ocean-brand-3);
  position: relative;
}
.cta-section__inner .btn--primary:hover { background: #f0fdfa; }

/* Ads */
.ad-center { margin: 40px auto; text-align: center; }

/* Motion safety */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
