/* ─────────────────────────────────────────────
   AwayStay Marketing Site — Shared Styles
   awaystay.fun
───────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
  --primary:   #FF385C;
  --primary-dk:#D90B63;
  --eride:     #7C3AED;
  --eride-dk:  #5B21B6;
  --eats:      #F97316;
  --eats-dk:   #ea580c;
  --teal:      #00A699;
  --teal-dk:   #007f76;
  --navy:      #1A1A2E;
  --dark:      #0f172a;
  --text:      #1e293b;
  --muted:     #64748b;
  --light:     #94a3b8;
  --border:    #e2e8f0;
  --soft:      #f8fafc;
  --white:     #ffffff;
  --gold:      #FFB400;
  --radius:    14px;
  --radius-lg: 24px;
  --shadow:    0 4px 24px rgba(0,0,0,.08);
  --shadow-lg: 0 12px 48px rgba(0,0,0,.14);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { font-family: 'Inter', sans-serif; color: var(--text); background: var(--white); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* ── Nav ── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(15,23,42,.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.08);
  padding: 0 5%;
  display: flex; align-items: center; justify-content: space-between;
  height: 66px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo .logo-mark {
  width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dk));
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 900; color: white;
}
.nav-logo span { font-size: 18px; font-weight: 800; color: white; letter-spacing: -.3px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-size: 14px; font-weight: 500; color: rgba(255,255,255,.75); transition: color .2s; }
.nav-links a:hover { color: white; }
.nav-links a.active { color: white; }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-cta a { font-size: 14px; font-weight: 600; }
.nav-signin { color: rgba(255,255,255,.8) !important; }
.nav-signin:hover { color: white !important; }
.btn-nav {
  background: var(--primary); color: white !important;
  padding: 8px 20px; border-radius: 50px; font-weight: 700 !important;
  transition: background .2s, transform .15s;
}
.btn-nav:hover { background: var(--primary-dk); transform: translateY(-1px); }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border-radius: 50px; font-size: 15px; font-weight: 700;
  cursor: pointer; transition: all .2s; border: none; text-decoration: none;
}
.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { background: var(--primary-dk); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(255,56,92,.35); }
.btn-outline { background: transparent; color: white; border: 2px solid rgba(255,255,255,.4); }
.btn-outline:hover { background: rgba(255,255,255,.1); border-color: white; transform: translateY(-2px); }
.btn-dark { background: var(--dark); color: white; }
.btn-dark:hover { background: #1e293b; transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-teal { background: var(--teal); color: white; }
.btn-teal:hover { background: var(--teal-dk); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,166,153,.35); }
.btn-eride { background: var(--eride); color: white; }
.btn-eride:hover { background: var(--eride-dk); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(124,58,237,.35); }
.btn-eats { background: var(--eats); color: white; }
.btn-eats:hover { background: var(--eats-dk); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(249,115,22,.35); }
.btn-lg { padding: 17px 36px; font-size: 16px; }
.btn-sm { padding: 9px 20px; font-size: 13px; }

/* ── Hero ── */
.hero {
  background: linear-gradient(160deg, var(--dark) 0%, var(--navy) 100%);
  padding: 100px 5% 90px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -200px; right: -200px;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,56,92,.15) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: ''; position: absolute; bottom: -150px; left: -100px;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,166,153,.1) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner { max-width: 1160px; margin: 0 auto; position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,56,92,.15); border: 1px solid rgba(255,56,92,.3);
  color: #ff7a9a; padding: 6px 14px; border-radius: 50px;
  font-size: 12px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase;
  margin-bottom: 24px;
}
.hero h1 {
  font-size: clamp(38px, 6vw, 72px);
  font-weight: 900; color: white; line-height: 1.08;
  letter-spacing: -2px; margin-bottom: 22px;
}
.hero h1 .gradient-text {
  background: linear-gradient(90deg, var(--primary), #ff8c69);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero p { font-size: 18px; color: rgba(255,255,255,.65); max-width: 540px; margin-bottom: 36px; line-height: 1.7; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-sub { margin-top: 18px; font-size: 13px; color: rgba(255,255,255,.4); }

/* ── Stats bar ── */
.stats-bar {
  background: var(--white); border-bottom: 1px solid var(--border);
  padding: 28px 5%;
}
.stats-inner { max-width: 1160px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat-item { text-align: center; }
.stat-num { font-size: 32px; font-weight: 900; color: var(--text); line-height: 1; }
.stat-num span { color: var(--primary); }
.stat-label { font-size: 13px; color: var(--muted); margin-top: 4px; font-weight: 500; }

/* ── Sections ── */
.section { padding: 90px 5%; }
.section-dark { background: var(--dark); color: white; }
.section-soft { background: var(--soft); }
.section-navy { background: var(--navy); color: white; }
.section-inner { max-width: 1160px; margin: 0 auto; }
.section-label {
  font-size: 11px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--primary); margin-bottom: 12px;
}
.section-label.teal { color: var(--teal); }
.section-label.eride { color: var(--eride); }
.section-label.eats { color: var(--eats); }
.section-label.light { color: rgba(255,255,255,.5); }
h2.section-title {
  font-size: clamp(28px, 4vw, 46px); font-weight: 900;
  line-height: 1.12; letter-spacing: -1px; margin-bottom: 16px;
}
h2.section-title .accent { color: var(--primary); }
h2.section-title .teal { color: var(--teal); }
h2.section-title .eride { color: var(--eride); }
h2.section-title .eats { color: var(--eats); }
.section-sub { font-size: 17px; color: var(--muted); max-width: 540px; line-height: 1.7; margin-bottom: 48px; }
.section-dark .section-sub, .section-navy .section-sub { color: rgba(255,255,255,.55); }

/* ── Cards ── */
.card {
  background: white; border-radius: var(--radius-lg);
  border: 1px solid var(--border); padding: 32px;
  box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-dark { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.1); }
.card-dark:hover { background: rgba(255,255,255,.08); }

/* ── Service cards ── */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
  border-radius: var(--radius-lg); padding: 36px 32px; position: relative; overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-card.stays  { background: linear-gradient(135deg, #fff5f7, #fff); border: 1px solid rgba(255,56,92,.15); }
.service-card.eride  { background: linear-gradient(135deg, #f5f0ff, #fff); border: 1px solid rgba(124,58,237,.15); }
.service-card.eats   { background: linear-gradient(135deg, #fff7ed, #fff); border: 1px solid rgba(249,115,22,.15); }
.service-icon { font-size: 42px; margin-bottom: 18px; }
.service-card h3 { font-size: 22px; font-weight: 800; margin-bottom: 10px; }
.service-card p { font-size: 14px; color: var(--muted); line-height: 1.7; margin-bottom: 20px; }
.service-card .tag {
  display: inline-block; padding: 4px 12px; border-radius: 20px;
  font-size: 11px; font-weight: 700; letter-spacing: .3px;
}
.service-card.stays .tag  { background: rgba(255,56,92,.1);  color: var(--primary); }
.service-card.eride .tag  { background: rgba(124,58,237,.1); color: var(--eride); }
.service-card.eats  .tag  { background: rgba(249,115,22,.1); color: var(--eats); }

/* ── Feature grid ── */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-item { padding: 28px; border-radius: var(--radius); border: 1px solid var(--border); background: white; }
.feature-icon {
  width: 48px; height: 48px; border-radius: 14px; display: flex;
  align-items: center; justify-content: center; font-size: 22px; margin-bottom: 16px;
}
.feature-icon.primary { background: rgba(255,56,92,.1); }
.feature-icon.teal    { background: rgba(0,166,153,.1); }
.feature-icon.eride   { background: rgba(124,58,237,.1); }
.feature-icon.eats    { background: rgba(249,115,22,.1); }
.feature-icon.gold    { background: rgba(255,180,0,.1); }
.feature-icon.navy    { background: rgba(26,26,46,.08); }
.feature-item h4 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.feature-item p { font-size: 14px; color: var(--muted); line-height: 1.65; }

/* ── Steps ── */
.steps { display: flex; flex-direction: column; gap: 0; }
.step { display: flex; gap: 24px; align-items: flex-start; padding: 28px 0; border-bottom: 1px solid var(--border); }
.step:last-child { border-bottom: none; }
.step-num {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 900; color: white;
  background: linear-gradient(135deg, var(--primary), var(--primary-dk));
}
.step-num.teal { background: linear-gradient(135deg, var(--teal), var(--teal-dk)); }
.step-num.eride { background: linear-gradient(135deg, var(--eride), var(--eride-dk)); }
.step-num.eats { background: linear-gradient(135deg, var(--eats), var(--eats-dk)); }
.step h4 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.step p { font-size: 14px; color: var(--muted); line-height: 1.65; }

/* ── Pricing table ── */
.pricing-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.pricing-card {
  border-radius: var(--radius-lg); padding: 36px;
  border: 1px solid var(--border); background: white; position: relative;
}
.pricing-card.featured { border-color: var(--primary); box-shadow: 0 0 0 2px rgba(255,56,92,.2); }
.pricing-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--primary); color: white; padding: 4px 16px;
  border-radius: 20px; font-size: 11px; font-weight: 800; white-space: nowrap;
}
.pricing-icon { font-size: 32px; margin-bottom: 14px; }
.pricing-card h3 { font-size: 20px; font-weight: 800; margin-bottom: 4px; }
.pricing-card .price { font-size: 44px; font-weight: 900; line-height: 1; margin: 16px 0 4px; }
.pricing-card .price sup { font-size: 20px; font-weight: 700; vertical-align: top; margin-top: 8px; }
.pricing-card .price-note { font-size: 13px; color: var(--muted); margin-bottom: 24px; }
.pricing-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.pricing-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.pricing-list li::before { content: '✓'; color: var(--teal); font-weight: 800; flex-shrink: 0; }

/* ── Loyalty callout ── */
.loyalty-callout {
  background: linear-gradient(135deg, var(--gold), #ff9500);
  border-radius: var(--radius-lg); padding: 48px; text-align: center; color: var(--dark);
}
.loyalty-callout h3 { font-size: 28px; font-weight: 900; margin-bottom: 12px; }
.loyalty-callout p { font-size: 16px; opacity: .8; margin-bottom: 28px; }

/* ── Comparison table ── */
.compare-table { width: 100%; border-collapse: collapse; border-radius: var(--radius); overflow: hidden; }
.compare-table th { background: var(--dark); color: white; padding: 14px 20px; text-align: left; font-size: 13px; font-weight: 700; }
.compare-table th:first-child { border-radius: 14px 0 0 0; }
.compare-table th:last-child { border-radius: 0 14px 0 0; }
.compare-table td { padding: 14px 20px; font-size: 14px; border-bottom: 1px solid var(--border); }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table tr:nth-child(even) td { background: var(--soft); }
.compare-table .yes { color: var(--teal); font-weight: 700; }
.compare-table .no  { color: var(--muted); }
.compare-table .aw  { color: var(--primary); font-weight: 800; }
.compare-table .highlight td { background: rgba(255,56,92,.04) !important; }

/* ── CTA section ── */
.cta-section {
  background: linear-gradient(135deg, var(--navy), var(--dark));
  padding: 100px 5%; text-align: center; position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 800px; height: 800px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,56,92,.12) 0%, transparent 65%);
  pointer-events: none;
}
.cta-section h2 { font-size: clamp(28px, 4vw, 48px); font-weight: 900; color: white; margin-bottom: 16px; position: relative; }
.cta-section p { font-size: 18px; color: rgba(255,255,255,.6); margin-bottom: 36px; position: relative; }
.cta-section .btn-group { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; }

/* ── Footer ── */
footer {
  background: var(--dark); color: rgba(255,255,255,.6);
  padding: 60px 5% 32px; border-top: 1px solid rgba(255,255,255,.06);
}
.footer-inner { max-width: 1160px; margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand .logo-mark {
  width: 40px; height: 40px; border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dk));
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 900; color: white; margin-bottom: 14px;
}
.footer-brand p { font-size: 14px; line-height: 1.7; max-width: 240px; }
.footer-col h5 { font-size: 12px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: rgba(255,255,255,.9); margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { font-size: 14px; transition: color .2s; }
.footer-col ul li a:hover { color: white; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; }
.footer-bottom p { font-size: 13px; }
.footer-bottom .footer-links { display: flex; gap: 20px; }
.footer-bottom .footer-links a { font-size: 13px; transition: color .2s; }
.footer-bottom .footer-links a:hover { color: white; }

/* ── Chip/badge ── */
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: 20px; font-size: 12px; font-weight: 700;
}
.chip-primary { background: rgba(255,56,92,.1);  color: var(--primary); }
.chip-teal    { background: rgba(0,166,153,.1);  color: var(--teal); }
.chip-eride   { background: rgba(124,58,237,.1); color: var(--eride); }
.chip-eats    { background: rgba(249,115,22,.1); color: var(--eats); }
.chip-gold    { background: rgba(255,180,0,.12); color: #b45309; }

/* ── Divider ── */
.divider { height: 1px; background: var(--border); margin: 48px 0; }

/* ── Two column layout ── */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }

/* ── Section cols (steps / card side-by-side) ── */
.section-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.section-cols-center { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }

/* ── Hero grid (text + mockup) ── */
.hero-grid { display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: center; }

/* ── Plus pricing grid ── */
.plus-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 800px; margin: 0 auto; }

/* ── Responsive table wrapper ── */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-bottom: 40px; }

/* ── Visual mockup blocks ── */
.phone-mockup {
  background: var(--navy); border-radius: 36px; padding: 20px;
  box-shadow: 0 32px 80px rgba(0,0,0,.4), 0 0 0 8px rgba(255,255,255,.06);
  max-width: 280px; margin: 0 auto;
}
.mockup-screen { background: white; border-radius: 24px; overflow: hidden; }
.mockup-header { background: var(--primary); padding: 20px 16px 16px; color: white; }
.mockup-header h4 { font-size: 18px; font-weight: 800; }
.mockup-header p { font-size: 12px; opacity: .8; margin-top: 2px; }
.mockup-body { padding: 14px; }
.mockup-card {
  background: var(--soft); border-radius: 12px; padding: 12px; margin-bottom: 10px;
  display: flex; gap: 10px; align-items: center;
}
.mockup-card:last-child { margin-bottom: 0; }
.mockup-emoji { font-size: 28px; width: 44px; height: 44px; background: white; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.mockup-info h5 { font-size: 13px; font-weight: 700; }
.mockup-info p { font-size: 11px; color: var(--muted); margin-top: 2px; }
.mockup-price { font-size: 12px; font-weight: 800; color: var(--primary); margin-top: 2px; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .services-grid, .features-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .two-col, .section-cols, .section-cols-center { gap: 48px; }
}

@media (max-width: 768px) {
  nav { padding: 0 4%; }
  .nav-links { display: none; }
  .hero { padding: 64px 5% 56px; }
  .section { padding: 56px 5%; }

  /* All multi-column grids collapse to single column */
  .services-grid,
  .features-grid,
  .pricing-grid,
  .two-col,
  .section-cols,
  .section-cols-center,
  .plus-grid { grid-template-columns: 1fr; gap: 32px; }

  /* Hero grid: hide phone mockup, go full-width text */
  .hero-grid { grid-template-columns: 1fr; gap: 0; }
  .hero-grid .phone-mockup { display: none; }

  /* Stats bar: 2-column on mobile */
  .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .stat-num { font-size: 26px; }

  /* Footer */
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }

  /* CTA buttons stack */
  .cta-section .btn-group { flex-direction: column; align-items: center; }
  .hero-actions { flex-wrap: wrap; }

  /* Comparison table: hide extra columns, keep readable */
  .compare-table th:nth-child(3), .compare-table td:nth-child(3),
  .compare-table th:nth-child(4), .compare-table td:nth-child(4) { display: none; }

  /* Two-col.reverse reset */
  .two-col.reverse { direction: ltr; }

  /* Cards full width */
  .card { padding: 24px; }
  .pricing-card { padding: 28px; }

  /* Section title sizing */
  h2.section-title { font-size: clamp(24px, 7vw, 36px); }
}

@media (max-width: 480px) {
  .hero { padding: 52px 4% 48px; }
  .section { padding: 48px 4%; }
  .hero h1 { letter-spacing: -0.5px; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .stat-num { font-size: 22px; }
  .stat-label { font-size: 12px; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .features-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .loyalty-callout { padding: 32px 24px; }
  .loyalty-callout h3 { font-size: 22px; }
  nav { padding: 0 4%; }
  .btn-lg { padding: 14px 24px; font-size: 15px; }
}
