/* === BASE RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #F7F3EC;
  --fg: #1A1A1A;
  --fg-muted: #6B6B6B;
  --accent: #E8624D;
  --accent-dark: #C94F3A;
  --teal: #0D5C63;
  --teal-light: #1A7A85;
  --surface: #FFFFFF;
  --border: rgba(13, 92, 99, 0.12);
  --font-display: 'Syne', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* === NAVIGATION === */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 243, 236, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--teal);
  letter-spacing: -0.02em;
}

.nav-tagline {
  font-size: 0.8rem;
  color: var(--fg-muted);
  font-weight: 400;
}

/* === HERO === */
.hero {
  padding: 5rem 2rem 4rem;
  max-width: 1100px;
  margin: 0 auto;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-eyebrow {
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--teal);
  margin-bottom: 1.2rem;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 1.5rem;
}

.hero-lede {
  font-size: 1.1rem;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 480px;
  font-weight: 300;
}

/* === CHAT WIDGET === */
.chat-window {
  background: var(--surface);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(13, 92, 99, 0.12), 0 4px 16px rgba(0,0,0,0.06);
  border: 1px solid var(--border);
}

.chat-header {
  background: var(--teal);
  padding: 0.9rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.chat-dots {
  display: flex;
  gap: 5px;
}

.chat-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  display: block;
}

.chat-title {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.85);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.chat-body {
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  min-height: 280px;
}

.chat-msg {
  display: flex;
  align-items: flex-end;
  gap: 0.5rem;
}

.chat-msg--user {
  flex-direction: row-reverse;
}

.msg-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--teal);
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.msg-bubble {
  max-width: 78%;
  padding: 0.55rem 0.85rem;
  border-radius: 12px;
  font-size: 0.82rem;
  line-height: 1.5;
}

.chat-msg--ai .msg-bubble {
  background: #F0F5F5;
  color: var(--fg);
}

.chat-msg--user .msg-bubble {
  background: var(--teal);
  color: white;
}

.msg-booking {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #E8F5F0;
  border: 1px solid rgba(13, 92, 99, 0.2);
  border-radius: 10px;
  padding: 0.65rem 0.9rem;
  margin-top: 0.25rem;
}

.booking-icon {
  width: 32px;
  height: 32px;
  background: var(--teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.booking-info {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.booking-info strong {
  font-size: 0.8rem;
  color: var(--teal);
}

.booking-info span {
  font-size: 0.75rem;
  color: var(--fg-muted);
}

.chat-input-row {
  padding: 0.75rem 1.2rem;
  border-top: 1px solid var(--border);
}

.chat-input-dummy {
  font-size: 0.8rem;
  color: #B0B0B0;
  background: #F4F4F4;
  padding: 0.6rem 1rem;
  border-radius: 20px;
}

/* === WIDGET STATS === */
.widget-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 1rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  background: var(--surface);
}

.stat {
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  border-right: 1px solid var(--border);
}

.stat:last-child { border-right: none; }

.stat-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--teal);
}

.stat-label {
  font-size: 0.62rem;
  color: var(--fg-muted);
  text-align: center;
  line-height: 1.3;
}

/* === SECTION TITLE === */
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

/* === PILLARS === */
.pillars {
  padding: 5rem 2rem;
  background: var(--surface);
}

.pillars-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.pillars .section-title {
  margin-bottom: 3rem;
  text-align: center;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.pillar {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.pillar-icon {
  width: 52px;
  height: 52px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
}

.pillar-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--fg);
  line-height: 1.3;
}

.pillar-desc {
  font-size: 0.88rem;
  color: var(--fg-muted);
  line-height: 1.65;
  font-weight: 300;
}

/* === PRICING === */
.pricing {
  padding: 5rem 2rem;
  background: var(--bg);
}

.pricing-inner {
  max-width: 900px;
  margin: 0 auto;
}

.pricing .section-title {
  text-align: center;
  margin-bottom: 2.5rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.pricing-card {
  background: var(--surface);
  border-radius: 20px;
  padding: 2rem;
  border: 2px solid var(--border);
  position: relative;
}

.pricing-card--automata {
  border-color: var(--teal);
  background: linear-gradient(135deg, #F0F8F8 0%, #FFFFFF 60%);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--teal);
  color: white;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.3rem 1rem;
  border-radius: 20px;
}

.pricing-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-muted);
  margin-bottom: 1rem;
}

.pricing-card--automata .pricing-label {
  color: var(--teal);
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
}

.price-amount {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--fg);
  letter-spacing: -0.03em;
}

.price-period {
  font-size: 0.85rem;
  color: var(--fg-muted);
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-bottom: 1.5rem;
}

.pricing-features li {
  font-size: 0.88rem;
  color: var(--fg-muted);
  padding-left: 1.5rem;
  position: relative;
}

.pricing-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='8' cy='8' r='7' stroke='%230D5C63' stroke-opacity='0.3'/%3E%3Cpath d='M5 8l2 2 4-4' stroke='%230D5C63' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
}

.pricing-card--automata .pricing-features li::before {
  background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='8' cy='8' r='7' fill='%230D5C63'/%3E%3Cpath d='M5 8l2 2 4-4' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.pricing-note {
  font-size: 0.75rem;
  color: var(--fg-muted);
  font-style: italic;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.pricing-result {
  font-size: 0.85rem;
  color: var(--fg-muted);
  padding-top: 1rem;
  border-top: 1px solid rgba(13, 92, 99, 0.2);
  line-height: 1.6;
}

.result-highlight {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--teal);
  margin-bottom: 0.3rem;
}

/* === PROCESS === */
.process {
  padding: 5rem 2rem;
  background: var(--surface);
}

.process-inner {
  max-width: 900px;
  margin: 0 auto;
}

.process .section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.steps {
  display: flex;
  align-items: stretch;
  gap: 0;
}

.step {
  flex: 1;
  padding: 0 2rem;
}

.step:first-child { padding-left: 0; }
.step:last-child { padding-right: 0; }

.step-num {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.3;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 1rem;
}

.step-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.step-desc {
  font-size: 0.88rem;
  color: var(--fg-muted);
  line-height: 1.65;
  font-weight: 300;
}

.step-divider {
  width: 1px;
  background: var(--border);
  flex-shrink: 0;
  align-self: stretch;
  margin: 0 1rem;
}

/* === CLOSING === */
.closing {
  padding: 6rem 2rem;
  background: var(--teal);
}

.closing-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: white;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 1.2rem;
}

.closing-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
  font-weight: 300;
}

/* === TESTIMONIALS === */
.testimonials { padding: 5rem 2rem; background: var(--bg); }
.testimonials-inner { max-width: 1100px; margin: 0 auto; }
.testimonials .section-title { text-align: center; margin-bottom: 3rem; }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-bottom: 2.5rem; }
.testimonial-card { background: var(--surface); border-radius: 16px; padding: 1.75rem; border: 1px solid var(--border); display: flex; flex-direction: column; gap: 1rem; }
.testimonial-quote { font-size: 0.95rem; color: var(--fg); line-height: 1.7; font-style: italic; font-weight: 300; flex: 1; }
.testimonial-author { font-family: var(--font-display); font-weight: 700; font-size: 0.88rem; color: var(--fg); }
.testimonial-role { font-size: 0.75rem; color: var(--fg-muted); margin-top: 0.2rem; }
.testimonial-case-study { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 2rem; margin-bottom: 2.5rem; display: flex; align-items: center; gap: 2rem; }
.case-study-stat { flex-shrink: 0; text-align: center; background: var(--teal); color: white; border-radius: 12px; padding: 1.25rem 1.5rem; }
.stat-num-lg { font-family: var(--font-display); font-size: 2rem; font-weight: 800; }
.stat-label-sm { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em; opacity: 0.8; }
.case-study-text { flex: 1; }
.case-study-label { font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--teal); margin-bottom: 0.5rem; }
.case-study-headline { font-family: var(--font-display); font-size: 1rem; font-weight: 700; color: var(--fg); margin-bottom: 0.5rem; }
.case-study-body { font-size: 0.88rem; color: var(--fg-muted); line-height: 1.6; }
.testimonials-cta { text-align: center; }
.cta-headline { font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; color: var(--fg); letter-spacing: -0.02em; margin-bottom: 0.75rem; }
.cta-sub { font-size: 0.95rem; color: var(--fg-muted); line-height: 1.6; max-width: 480px; margin: 0 auto 1.75rem; }
.cta-button { display: inline-block; background: var(--teal); color: white; font-family: var(--font-display); font-weight: 700; font-size: 0.95rem; padding: 0.85rem 2.25rem; border-radius: 50px; text-decoration: none; transition: background 0.2s; }
.cta-button:hover { background: var(--teal-light); }

/* === FOOTER === */
.footer {
  padding: 3rem 2rem;
  background: var(--fg);
  color: rgba(255,255,255,0.5);
}

.footer-inner {
  max-width: 900px;
  margin: 0 auto;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: white;
  display: block;
  margin-bottom: 0.75rem;
}

.footer-desc {
  font-size: 0.85rem;
  line-height: 1.6;
  max-width: 500px;
  margin-bottom: 0.5rem;
}

.footer-meta {
  font-size: 0.75rem;
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-lede { max-width: 100%; }

  .pillars-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .steps {
    flex-direction: column;
    gap: 2rem;
  }

  .step-divider {
    display: none;
  }

  .step { padding: 0; }
}

@media (max-width: 600px) {
  .hero {
    padding: 3rem 1.25rem 2.5rem;
  }

  .pillars-grid {
    grid-template-columns: 1fr;
  }

  .pillars, .pricing, .process {
    padding: 3.5rem 1.25rem;
  }

  .closing {
    padding: 4rem 1.25rem;
  }

  .widget-stats {
    grid-template-columns: repeat(3, 1fr);
  }

  .chat-body {
    min-height: 220px;
  }
}