/* SwipeStay marketing site — shared styles.
   Matches the app brand: coral accent (#F54D5E), navy ink, orange→red gradient pin,
   geometric display font (Poppins) to echo the wordmark. Plain CSS, no build step. */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500;600;700;800&display=swap');

:root {
  --accent: #f54d5e;        /* app accent — nav bar / Save / primary buttons */
  --accent-d: #e23b4b;
  --orange: #ff8a2b;        /* warm end of the pin gradient */
  --grad: linear-gradient(135deg, #ff8a2b 0%, #f5365c 100%);
  --green: #1faa6c;         /* "Save" affordance */
  --ink: #16212b;           /* wordmark navy */
  --muted: #6f7682;
  --line: #e7e9ef;
  --bg: #ffffff;
  --bg-soft: #f5f7fb;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(20, 26, 40, 0.09);
  --maxw: 1080px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --display: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .brand, .cta-band h2 { font-family: var(--display); }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: 1.2rem; color: var(--ink); letter-spacing: -0.01em; }
.brand:hover { text-decoration: none; }
.brand .mark {
  width: 28px; height: 34px; flex: none;
  background: url("assets/pin.svg") center/contain no-repeat;
  color: transparent; font-size: 0; line-height: 0;
}
.nav-links { display: flex; gap: 22px; align-items: center; }
.nav-links a { color: var(--muted); font-weight: 600; font-size: 0.95rem; }
.nav-links a:hover { color: var(--ink); text-decoration: none; }
.nav-cta { background: var(--accent); color: #fff !important; padding: 9px 16px; border-radius: 999px; font-weight: 700; }
.nav-cta:hover { background: var(--accent-d); text-decoration: none; }

/* ---------- buttons ---------- */
.btn { display: inline-block; padding: 13px 22px; border-radius: 999px; font-weight: 700; font-size: 1rem; cursor: pointer; border: 0; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 20px rgba(245, 77, 94, 0.28); }
.btn-primary:hover { background: var(--accent-d); text-decoration: none; }
.btn-ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: #cdd3df; text-decoration: none; }

/* ---------- hero ---------- */
.hero {
  background: radial-gradient(1100px 480px at 82% -10%, #ffe7d9 0%, transparent 60%),
              radial-gradient(900px 500px at -5% 0%, #ffe1e6 0%, transparent 55%);
  padding: 72px 0 56px;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
.eyebrow {
  display: inline-block; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  font-size: 0.78rem; color: var(--accent); background: #ffe6e9; padding: 5px 12px; border-radius: 999px;
}
.hero h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); line-height: 1.08; margin: 18px 0 14px; letter-spacing: -0.02em; }
.hero p.lead { font-size: 1.15rem; color: var(--muted); margin: 0 0 26px; max-width: 32ch; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-note { margin-top: 14px; color: var(--muted); font-size: 0.85rem; }

/* phone */
.phone { width: 280px; height: 560px; margin: 0 auto; border-radius: 38px; background: #0e1320; padding: 12px; box-shadow: var(--shadow); position: relative; }
.phone .screen { width: 100%; height: 100%; border-radius: 28px; overflow: hidden; position: relative; background: var(--grad); }

/* animated swipe deck */
.deck { position: absolute; left: 16px; right: 16px; top: 16px; bottom: 84px; }
.swipe-card {
  position: absolute; inset: 0; border-radius: 22px; overflow: hidden;
  background: var(--grad);
  box-shadow: 0 18px 40px rgba(0,0,0,0.35);
  transition: transform 0.5s cubic-bezier(0.5, 0.1, 0.2, 1), opacity 0.5s ease;
  will-change: transform, opacity;
}
.swipe-card img.ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.swipe-card .shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,0.62) 100%); }
.swipe-card .meta { position: absolute; left: 16px; right: 16px; bottom: 16px; color: #fff; }
.swipe-card .meta .name { font-weight: 800; font-size: 1.1rem; font-family: var(--display); }
.swipe-card .meta .loc { opacity: 0.92; font-size: 0.85rem; }
.badge-like, .badge-nope {
  position: absolute; top: 18px; padding: 6px 12px; border-radius: 10px;
  font-weight: 900; font-size: 1rem; letter-spacing: 0.05em; color: #fff;
  border: 3px solid #fff; opacity: 0; transition: opacity 0.2s ease; text-transform: uppercase;
}
.badge-like { right: 16px; transform: rotate(12deg); background: rgba(31, 170, 108, 0.9); }
.badge-nope { left: 16px; transform: rotate(-12deg); background: rgba(245, 77, 94, 0.9); }
.phone .pills { position: absolute; left: 18px; right: 18px; bottom: 20px; display: flex; gap: 10px; z-index: 30; }
.phone .pill { flex: 1; height: 44px; border-radius: 999px; display: flex; align-items: center; justify-content: center; font-weight: 800; }
.phone .nope { background: rgba(255,255,255,0.92); color: var(--accent); }
.phone .like { background: rgba(255,255,255,0.92); color: var(--green); }

/* ---------- sections ---------- */
section { padding: 56px 0; }
.section-head { max-width: 60ch; margin: 0 auto 36px; text-align: center; }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0 0 10px; letter-spacing: -0.01em; }
.section-head p { color: var(--muted); margin: 0; font-size: 1.05rem; }
.soft { background: var(--bg-soft); }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }

.card-tile { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.card-tile h3 { margin: 12px 0 8px; font-size: 1.2rem; }
.card-tile p { color: var(--muted); margin: 0; }
.ico { width: 46px; height: 46px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: #ffe6e9; color: var(--accent); font-size: 1.4rem; }

/* steps */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.step::before {
  counter-increment: step; content: counter(step);
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 999px; background: var(--grad); color: #fff; font-weight: 800; margin-bottom: 12px; font-family: var(--display);
}
.step h3 { margin: 0 0 6px; font-size: 1.1rem; }
.step p { color: var(--muted); margin: 0; }

/* guide cards */
.guide-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.guide-card:hover { text-decoration: none; transform: translateY(-2px); transition: transform .15s ease; }
.guide-card .thumb { height: 150px; }
.guide-card .t1 { background: linear-gradient(135deg, #ff8a2b, #f5365c); }
.guide-card .t2 { background: linear-gradient(135deg, #f5365c, #ff5e7e); }
.guide-card .t3 { background: linear-gradient(135deg, #ffb347, #ff7a29); }
.guide-card .body { padding: 20px; }
.guide-card .tag { font-size: 0.75rem; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: 0.04em; }
.guide-card h3 { margin: 8px 0; font-size: 1.15rem; color: var(--ink); }
.guide-card p { color: var(--muted); margin: 0; font-size: 0.95rem; }

/* ---------- article ---------- */
.article { padding: 48px 0 64px; }
.article .container { max-width: 760px; }
.article .kicker { color: var(--accent); font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; font-size: 0.8rem; }
.article h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); line-height: 1.15; margin: 10px 0 8px; letter-spacing: -0.02em; }
.article .byline { color: var(--muted); font-size: 0.9rem; margin-bottom: 28px; }
.article h2 { margin-top: 34px; font-size: 1.5rem; }
.article h3 { margin-top: 24px; font-size: 1.2rem; }
.article p, .article li { font-size: 1.06rem; color: #2b3240; }
.article ul, .article ol { padding-left: 22px; }
.article .lede { font-size: 1.2rem; color: var(--muted); }
.callout { background: var(--bg-soft); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 12px; padding: 18px 20px; margin: 26px 0; }
.callout strong { color: var(--ink); }

/* simple page header */
.page-hero { background: var(--bg-soft); border-bottom: 1px solid var(--line); padding: 48px 0; }
.page-hero h1 { margin: 0 0 8px; font-size: clamp(1.8rem, 3.4vw, 2.4rem); }
.page-hero p { color: var(--muted); margin: 0; max-width: 60ch; }

.prose { max-width: 760px; }
.prose h2 { margin-top: 30px; }
.prose p, .prose li { color: #2b3240; }

/* disclosure strip */
.disclosure { background: #fff7ed; border: 1px solid #fde7c8; color: #8a5a16; border-radius: 12px; padding: 14px 18px; font-size: 0.92rem; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--grad); color: #fff; border-radius: 24px; padding: 44px; text-align: center; }
.cta-band h2 { margin: 0 0 8px; font-size: 1.9rem; }
.cta-band p { margin: 0 0 22px; opacity: 0.94; }
.cta-band .btn-primary { background: #fff; color: var(--accent); box-shadow: none; }
.cta-band .btn-primary:hover { background: #fff0f1; }

/* ---------- footer ---------- */
.site-footer { background: #0e1320; color: #c4ccda; padding: 48px 0 28px; margin-top: 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; }
.site-footer h4 { color: #fff; font-size: 0.95rem; margin: 0 0 12px; }
.site-footer a { color: #c4ccda; display: block; margin: 6px 0; font-size: 0.95rem; }
.site-footer a:hover { color: #fff; }
.site-footer .brand { color: #fff; }
.footer-disclosure { color: #8b95a7; font-size: 0.85rem; margin-top: 26px; border-top: 1px solid #232a3a; padding-top: 18px; }

/* ---------- Google Play badge ---------- */
.gp-badge {
  display: inline-flex; align-items: center; gap: 12px;
  background: #000; color: #fff; border: 1px solid #2c2c2c;
  border-radius: 12px; padding: 9px 18px; line-height: 1;
}
.gp-badge:hover { text-decoration: none; background: #161616; border-color: #444; }
.gp-badge svg { width: 22px; height: 24px; flex: none; }
.gp-text { display: flex; flex-direction: column; gap: 2px; text-align: left; }
.gp-text small { font-size: 0.6rem; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.92; }
.gp-text strong { font-size: 1.12rem; font-weight: 600; font-family: var(--display); }
.gp-badge-sm { margin-top: 16px; padding: 7px 14px; }
.gp-badge-sm svg { width: 18px; height: 20px; }
.gp-badge-sm .gp-text strong { font-size: 0.98rem; }
.cta-actions { display: flex; justify-content: center; margin-bottom: 8px; }
.cta-note { margin: 0; opacity: 0.9; font-size: 0.9rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 0 auto; }
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 4px 20px; margin-bottom: 12px; box-shadow: var(--shadow);
}
.faq summary {
  list-style: none; cursor: pointer; font-weight: 700; font-family: var(--display);
  padding: 16px 0; position: relative; padding-right: 32px; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-size: 1.4rem; font-weight: 400; color: var(--accent); transition: transform 0.2s ease;
}
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0 0 18px; color: var(--muted); }

/* ---------- language switcher ---------- */
.lang-switch { display: flex; gap: 4px; align-items: center; }
.lang-switch a { font-size: 0.78rem; font-weight: 700; color: var(--muted); padding: 4px 9px; border-radius: 8px; }
.lang-switch a:hover { color: var(--ink); text-decoration: none; background: var(--bg-soft); }
.lang-switch a.active { color: #fff; background: var(--accent); }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero .phone { order: -1; }
  .grid-3, .steps { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}
