/* TripUp — site styles. Same palette and type as the app and the Instagram feed. */
@font-face { font-family: "Manrope"; src: url("/assets/fonts/manrope-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("/assets/fonts/manrope-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("/assets/fonts/manrope-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("/assets/fonts/manrope-800.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("/assets/fonts/instrument-serif-italic.woff2") format("woff2"); font-style: italic; font-weight: 400; font-display: swap; }

:root {
  --ivory: #FDFBF7;
  --paper: #FAF9F6;
  --white: #FFFFFF;
  --mint: #E6F5F1;
  --turquoise: #79D6CF;
  --sage: #A7BCAF;
  --teal: #237E7A;
  --navy: #183B4A;
  --ink-2: #4E6A6F;
  --muted: #5E6B67;
  --line: #E5E2DA;
  --radius: 24px;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--navy);
  font-family: "Manrope", system-ui, -apple-system, sans-serif;
  font-weight: 500;
  font-size: 17px;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--turquoise); outline-offset: 3px; border-radius: 6px; }

/* Two languages: everything carries both, the html class picks one. */
html.lang-tr [data-l="en"], html.lang-en [data-l="tr"] { display: none !important; }

.serif { font-family: "Instrument Serif", Georgia, serif; font-style: italic; font-weight: 400; letter-spacing: 0; }
.accent { color: var(--teal); }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.nocaps { text-transform: none; letter-spacing: .04em; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--teal); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(253, 251, 247, .9); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; }
.site-header.scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.nav .brand img { height: 30px; width: auto; }
.nav ul { display: flex; gap: 22px; list-style: none; margin: 0 0 0 auto; padding: 0; }
.nav ul a { color: var(--navy); text-decoration: none; font-weight: 600; font-size: 15px; }
.nav ul a:hover { color: var(--teal); }
.lang-switch { display: inline-flex; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); }
.lang-switch button { font: inherit; font-size: 13px; font-weight: 700; border: 0; background: none; color: var(--muted); padding: 6px 12px; min-height: 32px; border-radius: 999px; cursor: pointer; }
.lang-switch button[aria-pressed="true"] { background: var(--mint); color: var(--navy); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 18px; font-weight: 700; font-size: 16px; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; font-family: inherit; }
.btn-primary { background: var(--turquoise); color: var(--navy); }
.btn-primary:hover { background: #68cbc4; color: var(--navy); }
.btn-ghost { background: var(--white); color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--sage); color: var(--navy); }

/* Route motif (the dotted line from the feed) */
.route { height: 14px; background-image: radial-gradient(circle, var(--turquoise) 2.2px, transparent 2.6px); background-size: 20px 14px; background-position: 0 center; background-repeat: repeat-x; opacity: .9; }

/* Hero */
.hero { padding: 72px 0 40px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero h1 { margin: 18px 0 0; font-size: clamp(44px, 6.4vw, 84px); line-height: .98; font-weight: 800; letter-spacing: -.04em; }
.hero h1 .serif { font-size: 1.04em; }
.hero .lead { margin: 22px 0 0; font-size: 19px; color: var(--ink-2); max-width: 34em; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero .note { margin-top: 18px; font-size: 14px; color: var(--muted); }

/* Phone mock built from HTML (no screenshots needed) */
.phone { position: relative; margin: 0 auto; width: 100%; max-width: 340px; aspect-ratio: 9 / 18.5; border-radius: 48px; background: var(--navy); padding: 12px; box-shadow: 0 40px 80px rgba(24, 59, 74, .18); }
.phone .screen { height: 100%; border-radius: 38px; background: var(--paper); overflow: hidden; padding: 26px 18px; display: flex; flex-direction: column; gap: 12px; }
.phone .screen-top { display: flex; justify-content: space-between; align-items: center; }
.phone .screen-top img { height: 20px; width: auto; }
.phone .screen h3 { margin: 6px 0 2px; font-size: 22px; line-height: 1.1; letter-spacing: -.03em; font-weight: 800; }
.chip-row { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-size: 12px; font-weight: 700; }
.chip.on { background: var(--mint); border-color: var(--mint); }
.plan { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 18px; background: var(--white); border: 1px solid var(--line); }
.plan .ico { width: 42px; height: 42px; flex-shrink: 0; border-radius: 13px; background: var(--mint); display: grid; place-items: center; }
.plan .t { font-size: 14px; font-weight: 800; line-height: 1.2; }
.plan .s { font-size: 12px; color: var(--muted); }
.plan .time { margin-left: auto; font-size: 13px; font-weight: 800; color: var(--teal); }

/* Sections */
section { scroll-margin-top: 80px; }
.section { padding: 96px 0; }
.section-head { max-width: 680px; }
.section-head h2 { margin: 12px 0 0; font-size: clamp(34px, 4.4vw, 56px); line-height: 1.02; letter-spacing: -.035em; font-weight: 800; }
.section-head p { margin: 16px 0 0; font-size: 18px; color: var(--ink-2); }
.dark { background: var(--navy); color: var(--paper); }
.dark .eyebrow { color: var(--turquoise); }
.dark .section-head p { color: #C9DAD6; }
.dark .accent { color: var(--turquoise); }
.minted { background: var(--mint); }

.problem { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.problem svg { width: 100%; max-width: 420px; justify-self: center; }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 48px; }
.step { background: var(--white); border: 1px solid var(--line); border-radius: 28px; padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.step .num { font-size: 13px; font-weight: 700; letter-spacing: .2em; color: var(--teal); text-transform: uppercase; }
.step h3 { margin: 0; font-size: 26px; line-height: 1.1; letter-spacing: -.03em; font-weight: 800; }
.step p { margin: 0; color: var(--ink-2); font-size: 16px; }
.step .demo { margin-top: auto; padding-top: 8px; display: flex; flex-direction: column; gap: 10px; }
.bubble { max-width: 88%; padding: 10px 14px; border-radius: 18px 18px 18px 6px; background: var(--paper); border: 1px solid var(--line); font-size: 14px; }
.bubble.me { align-self: flex-end; border-radius: 18px 18px 6px 18px; background: var(--teal); border-color: var(--teal); color: var(--paper); font-weight: 600; }
.mini-card { padding: 14px; border-radius: 18px; border: 1px solid var(--line); background: var(--paper); }
.mini-card .t { font-weight: 800; }
.mini-card .s { font-size: 13px; color: var(--muted); }
.mini-btn { margin-top: 10px; min-height: 40px; border-radius: 12px; background: var(--turquoise); display: grid; place-items: center; font-weight: 800; font-size: 14px; }
.ok { align-self: center; display: inline-flex; gap: 8px; align-items: center; padding: 8px 14px; border-radius: 999px; background: var(--teal); color: var(--paper); font-size: 13px; font-weight: 700; }

.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 48px; }
.feature { padding: 26px; border-radius: 24px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(250, 249, 246, .14); }
.feature svg { display: block; }
.feature h3 { margin: 16px 0 6px; font-size: 20px; letter-spacing: -.02em; }
.feature p { margin: 0; color: #C9DAD6; font-size: 15.5px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.places { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.places span { padding: 9px 16px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-weight: 700; font-size: 15px; }
.places span.live { background: var(--navy); color: var(--paper); border-color: var(--navy); }

.ticket { display: flex; border-radius: 28px; overflow: hidden; background: var(--paper); box-shadow: 0 24px 60px rgba(24, 59, 74, .12); }
.ticket .main { flex: 1; padding: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.ticket .lbl { font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.ticket .val { font-size: 26px; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.ticket .tr { font-family: "Instrument Serif", Georgia, serif; font-style: italic; font-size: 19px; color: var(--teal); }
.ticket .stub { width: 132px; border-left: 2px dashed #CFE3DD; background: var(--navy); color: var(--paper); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 20px 12px; text-align: center; }

.plus { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.plus-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.plus-list li { display: flex; align-items: center; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); font-weight: 700; font-size: 18px; }
.plus-list small { margin-left: auto; font-weight: 600; color: var(--muted); font-size: 14px; }

.faq { max-width: 820px; margin-top: 40px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative; font-weight: 800; font-size: 19px; letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; border-right: 2px solid var(--teal); border-bottom: 2px solid var(--teal); transform: translateY(-75%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-25%) rotate(-135deg); }
.faq details p { margin: 0 0 22px; color: var(--ink-2); max-width: 64ch; }

.cta { text-align: center; padding: 96px 0; }
.cta .icon-tile { width: 112px; height: 112px; margin: 0 auto; border-radius: 28px; background: var(--ivory); display: grid; place-items: center; box-shadow: 0 20px 50px rgba(0, 0, 0, .2); }
.cta .icon-tile img { width: 74px; }
.cta h2 { margin: 30px 0 0; font-size: clamp(36px, 5vw, 64px); line-height: 1.02; letter-spacing: -.04em; font-weight: 800; }

/* Footer */
.site-footer { padding: 56px 0 40px; border-top: 1px solid var(--line); font-size: 15px; }
.footer-grid { display: flex; flex-wrap: wrap; gap: 28px 48px; align-items: flex-start; justify-content: space-between; }
.footer-grid img { height: 28px; width: auto; }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 24px; list-style: none; margin: 0; padding: 0; }
.footer-links a { color: var(--navy); font-weight: 600; text-decoration: none; }
.footer-links a:hover { color: var(--teal); text-decoration: underline; }
.disclaimer { margin-top: 28px; color: var(--muted); font-size: 13.5px; max-width: 760px; }

/* Legal and support pages */
.doc { max-width: 760px; padding: 64px 24px 96px; margin: 0 auto; }
.doc h1 { font-size: clamp(36px, 5vw, 56px); line-height: 1.04; letter-spacing: -.035em; margin: 12px 0 8px; font-weight: 800; }
.doc .updated { color: var(--muted); font-size: 15px; margin: 0 0 32px; }
.doc h2 { font-size: 23px; letter-spacing: -.02em; margin: 40px 0 10px; font-weight: 800; }
.doc p, .doc li { color: #2F4C57; }
.doc ul { padding-left: 22px; }
.doc li { margin: 6px 0; }
.doc table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 15px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 12px 10px; border-bottom: 1px solid var(--line); }
.doc th { font-weight: 800; color: var(--navy); }
.callout { padding: 18px 20px; border-radius: 18px; background: var(--mint); margin: 24px 0; }

/* Form */
form.support { display: grid; gap: 16px; margin-top: 24px; padding: 28px; border-radius: 28px; background: var(--white); border: 1px solid var(--line); }
form.support label { display: grid; gap: 6px; font-weight: 700; font-size: 15px; }
form.support input, form.support select, form.support textarea { font: inherit; font-weight: 500; color: var(--navy); padding: 13px 14px; border-radius: 14px; border: 1.5px solid #6A858C; background: var(--white); min-height: 50px; }
form.support textarea { min-height: 150px; resize: vertical; }
form.support .hidden { position: absolute; left: -9999px; }
form.support .fine { font-size: 13.5px; color: var(--muted); margin: 0; }

@media (max-width: 900px) {
  .nav ul { display: none; }
  .nav .lang-switch { margin-left: auto; }
  .hero { padding-top: 40px; }
  .hero-grid, .problem, .split, .plus { grid-template-columns: 1fr; gap: 40px; }
  .steps, .features { grid-template-columns: 1fr; }
  .section { padding: 72px 0; }
  .phone { max-width: 300px; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .ticket .main { grid-template-columns: 1fr 1fr; padding: 20px; gap: 16px; }
  .ticket .val { font-size: 20px; }
  .ticket .stub { width: 92px; }
  .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.places span span { padding: 0; background: none; border: 0; border-radius: 0; font-size: inherit; }

/* Real app screens */
.hero-shot { position: relative; justify-self: center; width: 100%; max-width: 360px; }
.hero-shot img { width: 100%; border-radius: 36px; box-shadow: 0 40px 80px rgba(24, 59, 74, .22); }
.hero-shot::before { content: ""; position: absolute; inset: 12% -14% -6% 18%; border-radius: 50%; background: radial-gradient(circle, rgba(121, 214, 207, .45), transparent 70%); z-index: -1; }
.btn-store { background: var(--navy); color: var(--paper); }
.btn-store:hover { background: #0f2c38; color: var(--paper); }
.shots-section { padding-bottom: 72px; }
.shots { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 40px max(24px, calc((100vw - var(--max)) / 2 + 24px)) 24px; scrollbar-width: none; }
.shots::-webkit-scrollbar { display: none; }
.shots figure { margin: 0; flex: 0 0 auto; width: min(280px, 72vw); scroll-snap-align: center; }
.shots img { width: 100%; border-radius: 28px; box-shadow: 0 24px 50px rgba(24, 59, 74, .16); }
@media (max-width: 900px) { .hero-shot { max-width: 300px; } }
