/* ============================================
   ReadyTravel Landing — Option A: Minimal Garden
   Currency Garden Design System
   ============================================ */

:root {
  --cream: #F7F3E8;
  --warm-white: #FDF8F5;
  --sage: #6B8A6B;
  --sage-light: rgba(107, 138, 107, 0.15);
  --sage-hover: #5A7A5A;
  --terracotta: #C17D5C;
  --gold: #B89A5A;
  --ink: #343634;
  --ink-light: rgba(52, 54, 52, 0.5);
  --ink-lighter: rgba(52, 54, 52, 0.3);
  --success: #4DA966;
  --radius-card: 20px;
  --radius-button: 14px;
  --shadow-card: 0 4px 8px rgba(0, 0, 0, 0.04);
  --shadow-card-hover: 0 8px 24px rgba(0, 0, 0, 0.08);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max-width: 960px;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* ---- Header ---- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 243, 232, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(107, 138, 107, 0.08);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
}

.logo-icon { color: var(--sage); }

.header-cta { display: flex; align-items: center; }
.header-cta svg { display: block; }

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 80px;
  overflow: hidden;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero-orb-sage {
  width: 500px;
  height: 500px;
  background: var(--sage);
  opacity: 0.06;
  filter: blur(100px);
  top: -100px;
  left: -100px;
}

.hero-orb-gold {
  width: 400px;
  height: 400px;
  background: var(--gold);
  opacity: 0.05;
  filter: blur(80px);
  bottom: -50px;
  right: -80px;
}

.hero-content {
  position: relative;
  text-align: center;
  max-width: 640px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--sage-light);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--sage);
  margin-bottom: 24px;
}

.hero-headline {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: var(--ink);
}

.hero-subhead {
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-light);
  margin-bottom: 36px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.app-store-badge {
  display: inline-block;
  transition: opacity 0.2s;
}
.app-store-badge:hover { opacity: 0.8; }

.hero-fine-print {
  margin-top: 20px;
  font-size: 13px;
  color: var(--ink-lighter);
}

/* ---- Features ---- */
.features {
  padding: 80px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

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

.feature-card {
  background: var(--warm-white);
  border-radius: var(--radius-card);
  padding: 36px 28px;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.2s, transform 0.2s;
}

.feature-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-icon-sage { background: var(--sage-light); color: var(--sage); }
.feature-icon-terracotta { background: rgba(193, 125, 92, 0.15); color: var(--terracotta); }
.feature-icon-gold { background: rgba(184, 154, 90, 0.15); color: var(--gold); }

.feature-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.feature-desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-light);
}

/* ---- How It Works ---- */
.how-it-works {
  padding: 80px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-title {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-align: center;
  margin-bottom: 32px;
}

/* Flow Tabs */
.flow-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 48px;
}

.flow-tab {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border: 1px solid rgba(107, 138, 107, 0.15);
  border-radius: 24px;
  background: transparent;
  color: var(--ink-light);
  font-size: 14px;
  font-weight: 500;
  font-family: var(--font);
  cursor: pointer;
  transition: all 0.2s;
}

.flow-tab:hover {
  border-color: var(--sage);
  color: var(--sage);
}

.flow-tab.active {
  background: var(--sage);
  border-color: var(--sage);
  color: #fff;
}

.flow-tab svg { width: 16px; height: 16px; }

/* Flow Panels — needs higher specificity than .hiw-layout */
.hiw-layout.flow-panel { display: none; }
.hiw-layout.flow-panel.active { display: grid; }

.hiw-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.hiw-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.hiw-step {
  display: flex;
  gap: 20px;
  padding: 24px 0;
  position: relative;
}

/* Vertical connector line */
.hiw-step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 17px;
  top: 60px;
  bottom: -12px;
  width: 2px;
  background: var(--sage-light);
}

.step-number {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 50%;
  background: var(--sage);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-title {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 4px;
}

.step-desc {
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-light);
}

/* Chat Mock */
.chat-mock {
  background: var(--warm-white);
  border-radius: 20px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.chat-mock-header {
  background: var(--cream);
  padding: 14px 18px;
  display: flex;
  gap: 8px;
  border-bottom: 1px solid rgba(107, 138, 107, 0.08);
}

.mock-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--ink-lighter);
}

.chat-mock-body {
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mock-message {
  display: flex;
  gap: 10px;
}

.mock-user { justify-content: flex-end; }

.mock-bubble {
  padding: 12px 16px;
  border-radius: 18px;
  font-size: 14px;
  line-height: 1.5;
  max-width: 80%;
}

.mock-bubble-user {
  background: var(--sage);
  color: #fff;
}

.mock-bubble-assistant {
  background: var(--cream);
  color: var(--ink);
}

.mock-avatar {
  width: 30px;
  height: 30px;
  min-width: 30px;
  border-radius: 50%;
  background: rgba(184, 154, 90, 0.15);
  color: var(--gold);
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mock-avatar-spacer {
  width: 30px;
  min-width: 30px;
}

.mock-action-btn {
  background: var(--sage);
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: var(--radius-button);
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
}

.mock-action-btn-terracotta { background: var(--terracotta); }
.mock-action-btn-gold { background: var(--gold); }

/* ---- Trust ---- */
.trust {
  padding: 40px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.trust-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 32px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--ink-light);
}

.trust-item svg { color: var(--sage); opacity: 0.7; }

/* ---- Bottom CTA ---- */
.bottom-cta {
  padding: 80px 24px;
  text-align: center;
  background: linear-gradient(180deg, var(--cream) 0%, rgba(107, 138, 107, 0.06) 100%);
}

.cta-headline {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.cta-subhead {
  font-size: 17px;
  color: var(--ink-light);
  margin-bottom: 32px;
}

.cta-contact {
  margin-top: 24px;
  font-size: 14px;
  color: var(--ink-light);
}
.cta-contact a { color: var(--sage); }

/* ---- Footer ---- */
.footer {
  border-top: 1px solid rgba(107, 138, 107, 0.1);
  padding: 24px;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
  color: var(--ink-light);
  text-align: center;
}

.footer-separator { opacity: 0.3; }
.footer a { color: var(--ink-light); }
.footer a:hover { color: var(--sage); }

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .hero-headline {
    font-size: 36px;
  }

  .hero-subhead {
    font-size: 16px;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .hiw-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .section-title {
    font-size: 26px;
    margin-bottom: 40px;
  }

  .flow-tabs {
    gap: 6px;
  }

  .flow-tab {
    padding: 8px 14px;
    font-size: 13px;
  }

  .trust-row {
    gap: 20px;
  }

  .trust-item {
    font-size: 13px;
  }

  .cta-headline {
    font-size: 26px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: center;
    gap: 4px;
  }

  .footer-separator { display: none; }
}

@media (max-width: 480px) {
  .hero {
    min-height: auto;
    padding: 100px 20px 60px;
  }

  .hero-headline {
    font-size: 30px;
  }

  .header-cta svg {
    width: 100px;
    height: 34px;
  }
}
