/* Odyssey — marketing site styles. Matches the app's dark, glassy aesthetic. */
:root {
  --bg0: #070b14;
  --bg1: #0b1120;
  --panel: rgba(19, 26, 46, 0.62);
  --panel-solid: #111a2e;
  --brd: rgba(255, 255, 255, 0.09);
  --brd-strong: rgba(255, 255, 255, 0.16);
  --text: #eef2fb;
  --muted: #9aa6bd;
  --accent: #ff5169;
  --accent2: #b06cff;
  --teal: #00e5a0;
  --cyan: #00b3ff;
  --radius: 20px;
  --maxw: 1180px;
  --grad: linear-gradient(120deg, var(--accent), var(--accent2));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ambient background glows */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -2;
  background:
    radial-gradient(1100px 700px at 78% -8%, rgba(176, 108, 255, 0.20), transparent 60%),
    radial-gradient(1000px 640px at 12% 4%, rgba(255, 81, 105, 0.18), transparent 58%),
    radial-gradient(900px 700px at 50% 108%, rgba(0, 229, 160, 0.10), transparent 60%),
    var(--bg0);
}
body::after {
  content: "";
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.6), transparent 70%);
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* logo mark: the app's PNG masked + filled with the brand gradient */
.mark {
  display: inline-block; width: 1.25em; height: 1.25em; vertical-align: -0.28em;
  background: var(--grad);
  -webkit-mask: url("assets/logo.png") center / contain no-repeat;
  mask: url("assets/logo.png") center / contain no-repeat;
}
/* logo lockup: a gradient app-icon badge with the white Odyssey mark inside.
   Uses a real <img> + white filter (robust everywhere; no CSS mask quirks). */
.logo-badge {
  width: 34px; height: 34px; border-radius: 10px; flex: 0 0 auto;
  background: var(--grad); display: inline-grid; place-items: center;
  box-shadow: 0 6px 18px rgba(255, 81, 105, 0.35), inset 0 0 0 1px rgba(255,255,255,0.12);
}
.logo-badge img {
  width: 66%; height: 66%; object-fit: contain;
  filter: brightness(0) invert(1) drop-shadow(0 1px 1px rgba(0, 0, 0, 0.25));
}

/* ---- nav ---- */
nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(7, 11, 20, 0.72);
  border-bottom: 1px solid var(--brd);
}
nav .wrap { display: flex; align-items: center; gap: 22px; height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; letter-spacing: 0.2px; }
.brand .mark { width: 26px; height: 26px; }
nav .links { margin-left: auto; display: flex; gap: 26px; align-items: center; }
nav .links a { color: var(--muted); font-weight: 600; font-size: 15px; transition: color 0.15s; }
nav .links a:hover { color: var(--text); }
.btn {
  display: inline-block; padding: 11px 20px; border-radius: 12px; font-weight: 700; font-size: 15px;
  background: var(--grad); color: #fff; border: 0; cursor: pointer;
  box-shadow: 0 8px 26px rgba(255, 81, 105, 0.28);
  transition: transform 0.15s, box-shadow 0.15s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(176, 108, 255, 0.36); }
.btn.ghost { background: transparent; border: 1px solid var(--brd-strong); color: var(--text); box-shadow: none; }
.btn.ghost:hover { border-color: var(--accent); }
@media (max-width: 720px) { nav .links a:not(.btn) { display: none; } }

/* ---- hero ---- */
header.hero { padding: 84px 0 40px; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px; margin-bottom: 22px;
  padding: 7px 16px; border-radius: 999px; font-size: 13px; font-weight: 700; letter-spacing: 0.4px;
  color: #d9e0f2; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--brd);
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 12px var(--teal); }
.hero h1 { font-size: clamp(40px, 6vw, 74px); line-height: 1.03; margin: 0 0 20px; letter-spacing: -1.5px; font-weight: 850; }
.hero h1 .grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: clamp(17px, 2.1vw, 21px); color: var(--muted); max-width: 720px; margin: 0 auto 30px; }
.hero .cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-shot {
  margin: 56px auto 0; max-width: 1080px; border-radius: 18px; overflow: hidden;
  border: 1px solid var(--brd-strong);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255,255,255,0.03);
}
.hero-shot img { width: 100%; }

/* browser chrome frame */
.frame { border-radius: 16px; overflow: hidden; border: 1px solid var(--brd-strong); background: var(--panel-solid);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5); }
.frame .bar { display: flex; align-items: center; gap: 8px; padding: 11px 14px; background: rgba(255,255,255,0.03); border-bottom: 1px solid var(--brd); }
.frame .bar i { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.frame .bar i:nth-child(1) { background: #ff5f57; }
.frame .bar i:nth-child(2) { background: #febc2e; }
.frame .bar i:nth-child(3) { background: #28c840; }
.frame .bar span { margin-left: 12px; font-size: 12px; color: var(--muted); }
.frame img { width: 100%; display: block; }

/* ---- stats strip ---- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 64px 0 20px; }
.stat { text-align: center; padding: 22px 12px; border: 1px solid var(--brd); border-radius: 16px; background: var(--panel); }
.stat b { display: block; font-size: 30px; font-weight: 850; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { color: var(--muted); font-size: 14px; }
@media (max-width: 720px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ---- section scaffolding ---- */
section { padding: 66px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 46px; }
.kicker { text-transform: uppercase; letter-spacing: 2px; font-size: 13px; font-weight: 800; color: var(--accent2); margin-bottom: 12px; }
.section-head h2 { font-size: clamp(28px, 4vw, 42px); margin: 0 0 14px; letter-spacing: -0.8px; font-weight: 820; }
.section-head p { color: var(--muted); font-size: 18px; margin: 0; }

/* feature row: text + shot, alternating */
.feature { display: grid; grid-template-columns: 1fr 1.15fr; gap: 54px; align-items: center; margin-bottom: 96px; }
.feature:last-child { margin-bottom: 0; }
.feature.flip .copy { order: 2; }
.feature.flip .shot { order: 1; }
.feature .copy h3 { font-size: 30px; margin: 0 0 16px; letter-spacing: -0.5px; font-weight: 800; }
.feature .copy p { color: var(--muted); font-size: 17px; margin: 0 0 18px; }
.feature ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.feature ul li { position: relative; padding-left: 28px; color: #cdd6ea; font-size: 15.5px; }
.feature ul li::before {
  content: ""; position: absolute; left: 0; top: 8px; width: 15px; height: 15px; border-radius: 5px;
  background: var(--grad); box-shadow: 0 0 12px rgba(255, 81, 105, 0.4);
}
.shot .frame { transition: transform 0.3s ease; }
.shot:hover .frame { transform: translateY(-6px); }
@media (max-width: 900px) {
  .feature { grid-template-columns: 1fr; gap: 26px; margin-bottom: 64px; }
  .feature.flip .copy { order: 1; } .feature.flip .shot { order: 2; }
}

/* theme swatches */
.themes { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 6px; }
.theme-chip { display: flex; align-items: center; gap: 8px; padding: 7px 13px; border-radius: 999px; border: 1px solid var(--brd); background: rgba(255,255,255,0.03); font-size: 13px; font-weight: 600; color: #cdd6ea; }
.theme-chip .sw { width: 14px; height: 14px; border-radius: 50%; }

/* ---- wallpaper strip ---- */
.wall-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.wall-grid .frame { margin: 0; }
@media (max-width: 820px) { .wall-grid { grid-template-columns: 1fr; } }

/* ---- settings gallery ---- */
.tabs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tab-card { border: 1px solid var(--brd); border-radius: 16px; overflow: hidden; background: var(--panel); transition: transform 0.2s, border-color 0.2s; }
.tab-card:hover { transform: translateY(-4px); border-color: var(--brd-strong); }
.tab-card img { width: 100%; border-bottom: 1px solid var(--brd); }
.tab-card .cap { padding: 13px 16px; }
.tab-card .cap b { font-size: 15px; }
.tab-card .cap p { margin: 3px 0 0; color: var(--muted); font-size: 13px; }
@media (max-width: 820px) { .tabs-grid { grid-template-columns: 1fr; } }

/* ---- gallery ---- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery a { border-radius: 14px; overflow: hidden; border: 1px solid var(--brd); background: var(--panel-solid); transition: transform 0.2s, border-color 0.2s; }
.gallery a:hover { transform: scale(1.02); border-color: var(--accent); }
@media (max-width: 820px) { .gallery { grid-template-columns: repeat(2, 1fr); } }

/* ---- feature mini-grid ---- */
.mini { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 8px; }
.mini .card { padding: 26px 24px; border: 1px solid var(--brd); border-radius: 18px; background: var(--panel); }
.mini .card .ic { width: 42px; height: 42px; border-radius: 12px; background: var(--grad); display: grid; place-items: center; margin-bottom: 16px; font-weight: 800; color: #fff; }
.mini .card h4 { margin: 0 0 8px; font-size: 18px; }
.mini .card p { margin: 0; color: var(--muted); font-size: 14.5px; }
@media (max-width: 820px) { .mini { grid-template-columns: 1fr; } }

/* ---- closing CTA ---- */
.closer { text-align: center; padding: 40px 30px 70px; }
.closer .panel {
  max-width: 860px; margin: 0 auto; padding: 60px 40px; border-radius: 26px;
  border: 1px solid var(--brd-strong);
  background: linear-gradient(140deg, rgba(255,81,105,0.14), rgba(176,108,255,0.14)), var(--panel);
}
.closer h2 { font-size: clamp(28px, 4vw, 44px); margin: 0 0 16px; letter-spacing: -0.8px; }
.closer p { color: var(--muted); font-size: 18px; max-width: 560px; margin: 0 auto 28px; }

/* ---- footer ---- */
footer { border-top: 1px solid var(--brd); padding: 40px 0; color: var(--muted); }
footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
footer .brand { font-size: 17px; }
footer .disc { font-size: 13px; max-width: 640px; }
footer .disc a { color: #c7d0e6; text-decoration: underline; text-underline-offset: 2px; }

.divider { height: 1px; background: var(--brd); max-width: var(--maxw); margin: 0 auto; }
