/* ──────────────────────────────────────────────
   StayFlow Landing — Professional SaaS Redesign
   Color palette: Teal primary, Deep Navy accents, White
   ────────────────────────────────────────────── */

:root {
  --navy:       #0B1F3A;
  --navy-mid:   #163557;
  --teal:       #0EA5A0;
  --teal-dark:  #089490;
  --teal-light: #E0F5F5;
  --sky:        #0F7AE5;
  --sky-light:  #EBF4FF;
  --white:      #FFFFFF;
  --off-white:  #F7F9FB;
  --gray-50:    #F1F5F9;
  --gray-100:   #E8EDF3;
  --gray-200:   #CBD5E1;
  --gray-400:   #94A3B8;
  --gray-500:   #64748B;
  --gray-700:   #334155;
  --gray-900:   #0F172A;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-900);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ── Typography ── */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.15;
  letter-spacing: -0.5px;
}

/* ── Navigation ── */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--gray-100);
}
.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 40px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -1px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-logo-icon {
  width: 28px; height: 28px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  flex: 1;
  justify-content: center;
}
.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-500);
  transition: color 0.2s;
  cursor: pointer;
}
.nav-link:hover { color: var(--navy); }
.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  padding: 11px 22px;
  white-space: nowrap;
}
.btn-primary {
  background: var(--teal);
  color: var(--white);
}
.btn-primary:hover { background: var(--teal-dark); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(14,165,160,0.35); }
.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--gray-200);
}
.btn-outline:hover { border-color: var(--navy); background: var(--off-white); }
.btn-lg {
  font-size: 16px;
  padding: 15px 32px;
  border-radius: 10px;
}
.btn-white {
  background: var(--white);
  color: var(--teal-dark);
}
.btn-white:hover { background: var(--teal-light); transform: translateY(-1px); }

/* ── Section containers ── */
.section {
  padding: 96px 40px;
}
.section-alt {
  background: var(--off-white);
}
.section-dark {
  background: var(--navy);
  color: var(--white);
}
.section-inner {
  max-width: 1180px;
  margin: 0 auto;
}
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 16px;
}
.section-label span {
  width: 20px;
  height: 2px;
  background: var(--teal);
  border-radius: 2px;
}
.section-heading {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 700;
  color: inherit;
  line-height: 1.2;
  letter-spacing: -1px;
  margin-bottom: 16px;
}
.section-sub {
  font-size: 18px;
  color: var(--gray-500);
  line-height: 1.65;
  max-width: 560px;
}

/* ════════════════════════════════
   HERO
   ════════════════════════════════ */
.hero {
  background: var(--navy);
  padding: 160px 40px 100px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(14,165,160,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -40px; left: -40px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(15,122,229,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(14,165,160,0.15);
  border: 1px solid rgba(14,165,160,0.3);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--teal);
  letter-spacing: 0.05em;
  margin-bottom: 28px;
}
.hero-badge-dot {
  width: 6px; height: 6px;
  background: var(--teal);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.hero-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.08;
  letter-spacing: -2px;
  margin-bottom: 20px;
}
.hero-headline em {
  font-style: normal;
  color: var(--teal);
}
.hero-sub {
  font-size: 18px;
  line-height: 1.65;
  color: rgba(255,255,255,0.6);
  margin-bottom: 36px;
  max-width: 480px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-actions .btn-primary {
  font-size: 15px;
  padding: 14px 28px;
}
.hero-trust {
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.hero-avatars {
  display: flex;
}
.hero-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 2px solid var(--navy);
  margin-left: -8px;
  background: var(--gray-400);
  overflow: hidden;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
}
.hero-avatar:first-child { margin-left: 0; }
.hero-trust-text {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}
.hero-trust-text strong {
  color: rgba(255,255,255,0.8);
  font-weight: 600;
}

/* Hero visual — live inbox demo */
.hero-visual {
  display: flex;
  justify-content: flex-end;
}
.hero-demo {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 0;
  width: 100%;
  max-width: 420px;
  backdrop-filter: blur(20px);
  overflow: hidden;
}
.demo-header {
  background: rgba(255,255,255,0.06);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.demo-title {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
}
.demo-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  color: var(--teal);
  background: rgba(14,165,160,0.15);
  padding: 4px 10px;
  border-radius: 100px;
}
.demo-dot {
  width: 5px; height: 5px;
  background: var(--teal);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
.demo-body { padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.demo-email {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 14px 16px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.demo-email.new { border-color: rgba(14,165,160,0.3); background: rgba(14,165,160,0.06); }
.demo-email-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--navy-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
  color: var(--teal);
}
.demo-email.new .demo-email-icon { background: rgba(14,165,160,0.2); }
.demo-email-info { flex: 1; }
.demo-email-from {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  margin-bottom: 2px;
}
.demo-email-subject {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 6px;
}
.demo-email-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
}
.tag-booking { background: rgba(14,165,160,0.2); color: var(--teal); }
.tag-concierge { background: rgba(15,122,229,0.2); color: #60B3FF; }
.tag-complaint { background: rgba(239,68,68,0.2); color: #FF7B7B; }
.tag-other { background: rgba(148,163,184,0.2); color: var(--gray-400); }
.demo-email-status {
  font-size: 10px;
  font-weight: 600;
  color: var(--teal);
  letter-spacing: 0.05em;
}
.demo-email-status.pending { color: #FBBF24; }

/* ════════════════════════════════
   PROBLEM SECTION
   ════════════════════════════════ */
.problem {
  padding: 96px 40px;
  background: var(--white);
}
.problem-header {
  text-align: center;
  margin-bottom: 64px;
}
.problem-header .section-sub {
  margin: 0 auto;
}
.problem-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 1180px;
  margin: 0 auto;
}
.problem-card {
  border: 1px solid var(--gray-100);
  border-radius: 14px;
  padding: 32px;
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.problem-card:hover {
  border-color: var(--gray-200);
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}
.problem-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 20px;
}
.problem-icon.red    { background: #FEF2F2; }
.problem-icon.amber  { background: #FFFBEB; }
.problem-icon.blue   { background: var(--sky-light); }
.problem-icon.purple { background: #F5F3FF; }
.problem-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 10px;
}
.problem-desc {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.6;
}

/* ════════════════════════════════
   HOW IT WORKS
   ════════════════════════════════ */
.how-it-works {
  padding: 96px 40px;
  background: var(--off-white);
}
.how-header {
  text-align: center;
  margin-bottom: 64px;
}
.how-header .section-sub { margin: 0 auto; }
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1180px;
  margin: 0 auto;
  position: relative;
}
.steps::before {
  content: '';
  position: absolute;
  top: 44px;
  left: calc(16.67% + 22px);
  right: calc(16.67% + 22px);
  height: 2px;
  background: linear-gradient(90deg, var(--teal), var(--navy));
  opacity: 0.3;
  z-index: 0;
}
.step {
  text-align: center;
  position: relative;
  z-index: 1;
}
.step-number {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  border: 3px solid var(--off-white);
}
.step-icon {
  width: 64px; height: 64px;
  border-radius: 16px;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 28px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
.step-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 10px;
}
.step-desc {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.6;
}

/* ════════════════════════════════
   FEATURES GRID
   ════════════════════════════════ */
.features-grid-section {
  padding: 96px 40px;
  background: var(--white);
}
.features-header {
  text-align: center;
  margin-bottom: 64px;
}
.features-header .section-sub { margin: 0 auto; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1180px;
  margin: 0 auto;
}
.feature-card-new {
  border: 1px solid var(--gray-100);
  border-radius: 14px;
  padding: 28px;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  background: var(--white);
}
.feature-card-new:hover {
  border-color: var(--teal);
  box-shadow: 0 4px 20px rgba(14,165,160,0.1);
  transform: translateY(-2px);
}
.feature-card-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 16px;
}
.feature-card-icon.teal   { background: var(--teal-light); }
.feature-card-icon.sky    { background: var(--sky-light); }
.feature-card-icon.purple { background: #F5F3FF; }
.feature-card-icon.amber  { background: #FFFBEB; }
.feature-card-icon.green  { background: #F0FDF4; }
.feature-card-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
}
.feature-card-desc {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.6;
}

/* ════════════════════════════════
   SOCIAL PROOF
   ════════════════════════════════ */
.social-proof {
  padding: 80px 40px;
  background: var(--navy);
}
.social-proof-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}
.proof-left {
  flex: 0 0 auto;
  text-align: center;
}
.proof-logo {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}
.proof-tagline {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.05em;
}
.proof-quote {
  flex: 1;
  border-left: 3px solid var(--teal);
  padding-left: 32px;
}
.proof-text {
  font-family: 'Playfair Display', serif;
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 600;
  color: var(--white);
  line-height: 1.5;
  font-style: italic;
  margin-bottom: 16px;
}
.proof-author {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
}
.proof-author strong { color: rgba(255,255,255,0.8); font-weight: 600; }

/* ════════════════════════════════
   PRICING
   ════════════════════════════════ */
.pricing {
  padding: 96px 40px;
  background: var(--off-white);
}
.pricing-header {
  text-align: center;
  margin-bottom: 56px;
}
.pricing-header .section-sub { margin: 0 auto; }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}
.pricing-card {
  background: var(--white);
  border: 1.5px solid var(--gray-100);
  border-radius: 16px;
  padding: 36px 32px;
  position: relative;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.pricing-card.featured {
  border-color: var(--teal);
  box-shadow: 0 8px 32px rgba(14,165,160,0.12);
}
.pricing-card.featured::before {
  content: 'Más popular';
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--teal);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 100px;
}
.pricing-tier {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 8px;
}
.pricing-price {
  font-family: 'Playfair Display', serif;
  font-size: 42px;
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1;
  margin-bottom: 4px;
}
.pricing-price sup {
  font-size: 20px;
  vertical-align: top;
  margin-top: 8px;
  font-weight: 600;
}
.pricing-period {
  font-size: 14px;
  color: var(--gray-400);
  margin-bottom: 24px;
}
.pricing-divider {
  height: 1px;
  background: var(--gray-100);
  margin: 24px 0;
}
.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pricing-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--gray-700);
}
.pricing-feature-check {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--teal-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 10px;
  color: var(--teal-dark);
}
.pricing-cta {
  margin-top: 24px;
  width: 100%;
  text-align: center;
}

/* ════════════════════════════════
   CTA / CONTACT
   ════════════════════════════════ */
.cta-section {
  padding: 100px 40px;
  background: var(--white);
  text-align: center;
}
.cta-inner {
  max-width: 680px;
  margin: 0 auto;
}
.cta-heading {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1.2;
  letter-spacing: -1px;
  margin-bottom: 16px;
}
.cta-sub {
  font-size: 17px;
  color: var(--gray-500);
  line-height: 1.65;
  margin-bottom: 40px;
}
.cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.cta-email-line {
  font-size: 15px;
  color: var(--gray-400);
}
.cta-email-line a {
  color: var(--teal);
  font-weight: 600;
}
.cta-email-line a:hover { text-decoration: underline; }
.cta-divider {
  width: 40px;
  height: 2px;
  background: var(--teal);
  margin: 0 auto 24px;
  border-radius: 2px;
}
.cta-tagline {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-400);
  font-weight: 600;
}

/* ════════════════════════════════
   FOOTER
   ════════════════════════════════ */
.site-footer {
  background: var(--gray-900);
  padding: 40px;
}
.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.footer-brand { display: flex; flex-direction: column; gap: 4px; }
.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
}
.footer-descriptor {
  font-size: 13px;
  color: rgba(255,255,255,0.35);
}
.footer-meta {
  font-size: 12px;
  color: rgba(255,255,255,0.2);
  letter-spacing: 0.05em;
}
.footer-links {
  display: flex;
  gap: 24px;
}
.footer-link {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  transition: color 0.2s;
}
.footer-link:hover { color: rgba(255,255,255,0.7); }

/* ════════════════════════════════
   MOBILE
   ════════════════════════════════ */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .hero { padding-top: 120px; }
  .problem-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 48px; }
  .steps::before { display: none; }
  .features-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; }
  .social-proof-inner { flex-direction: column; text-align: center; }
  .proof-quote { border-left: none; padding-left: 0; }
  .footer-inner { flex-direction: column; text-align: center; }
  .nav-links { display: none; }
}

@media (max-width: 600px) {
  .section { padding: 72px 24px; }
  .hero { padding: 100px 24px 72px; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; }
  .cta-buttons { flex-direction: column; }
  .cta-buttons .btn { width: 100%; }
  .pricing-grid { max-width: 100%; }
}