/* ── Design Tokens ── */
:root {
  --ink: #1A1A2E;
  --gold: #C9A84C;
  --gold-light: #F5E6C8;
  --gold-dark: #A8872E;
  --surface: #FAFAF5;
  --background: #F0EDE6;
  --text-primary: #2D2D2D;
  --text-secondary: #6B6B6B;
  --surface-elevated: #FFFFFF;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  --max-w: 1200px;
  --header-h: 70px;
}

/* ── Landing root hidden by default; shown only on #/landing ── */
#landing-root { display: none; }

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--surface);
  color: var(--text-primary);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* ── Utilities ── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 20px; }

/* ── Header ── */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--header-h);
  background: rgba(250,250,245,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(26,26,46,0.06);
  transition: background 0.3s, border-color 0.3s;
}
.header.scrolled {
  background: rgba(250,250,245,0.97);
  border-bottom-color: rgba(26,26,46,0.12);
}
.header-inner {
  height: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 40px;
  max-width: var(--max-w); margin: 0 auto;
}
.header-logo { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.header-logo-icon {
  width: 32px; height: 32px; border-radius: 8px; object-fit: cover;
}
.header-logo-text {
  font-family: var(--font-serif); font-size: 22px; font-weight: 700; color: var(--ink);
}
.header-logo-sub {
  font-size: 9px; font-weight: 600; color: var(--text-secondary); letter-spacing: 0.6px;
}
.header-nav { display: flex; align-items: center; gap: 8px; }
.header-nav a {
  padding: 6px 14px; font-size: 15px; font-weight: 500; color: var(--text-primary);
  position: relative; transition: color 0.2s; cursor: pointer;
}
.header-nav a::after {
  content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 0; height: 2px; background: var(--gold); border-radius: 2px;
  transition: width 0.25s ease;
}
.header-nav a:hover { color: var(--ink); }
.header-nav a:hover::after { width: 20px; }
.header-cta {
  background: var(--ink); color: var(--gold-light); border: none;
  padding: 14px 24px; border-radius: 12px; font-size: 14px; font-weight: 600;
  cursor: pointer; transition: transform 0.25s ease;
}
.header-cta:hover { transform: scale(1.02); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 8px; }
.hamburger span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: 0.3s; }

/* ── Hero ── */
.hero {
  min-height: 100vh; padding-top: var(--header-h);
  background: linear-gradient(135deg, var(--ink) 0%, #1A3A2B 50%, #132F23 100%);
  display: flex; align-items: center;
  padding: 80px 20px;
}
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px; border: 1px solid rgba(201,168,76,0.35);
  background: rgba(201,168,76,0.15); border-radius: 20px;
  font-size: 11px; font-weight: 700; color: var(--gold); letter-spacing: 1.5px; margin-bottom: 24px;
}
.hero-badge::before { content: '★'; font-size: 14px; }
.hero-headline {
  font-family: var(--font-serif); font-size: 54px; font-weight: 700;
  color: #fff; line-height: 1.1; min-height: 120px;
}
.hero-cursor { color: var(--gold); animation: blink 0.53s step-end infinite; }
@keyframes blink { 50% { opacity: 0; } }
.hero-sub {
  font-size: 17px; font-weight: 400; color: rgba(255,255,255,0.7);
  line-height: 1.5; max-width: 540px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 32px; }
.btn-primary {
  background: var(--gold); color: var(--ink); border: none;
  padding: 18px 32px; border-radius: 14px; font-size: 15px; font-weight: 700;
  cursor: pointer; transition: transform 0.25s ease;
}
.btn-primary:hover { transform: scale(1.02); }
.btn-secondary {
  background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.5);
  padding: 18px 28px; border-radius: 14px; font-size: 15px; font-weight: 600;
  cursor: pointer; transition: transform 0.25s ease;
}
.btn-secondary:hover { transform: translateY(-2px); }

/* ── Hero Card ── */
.hero-card {
  width: 100%; max-width: 450px; height: 380px;
  border-radius: 24px; border: 1px solid rgba(255,255,255,0.08);
  background: #1F4D3A; position: relative; overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
  transition: box-shadow 0.4s ease, border-color 0.4s ease;
  animation: float 3s ease-in-out infinite alternate;
  justify-self: center;
}
@keyframes float { from { transform: translateY(0); } to { transform: translateY(-8px); } }
.hero-card:hover {
  box-shadow: 0 30px 60px rgba(0,0,0,0.35);
  border-color: rgba(255,255,255,0.15);
}
.hero-card-bg {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  height: 100%; color: rgba(245,230,200,0.5);
  font-family: var(--font-serif); font-style: italic; font-size: 20px;
}
.hero-card-bg .icon { font-size: 96px; margin-bottom: 16px; }
.hero-card-footer {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 24px;
  background: linear-gradient(to top, rgba(0,0,0,0.9), rgba(0,0,0,0.7), transparent);
}
.hero-card-title { display: flex; justify-content: space-between; align-items: center; }
.hero-card-title h3 { font-family: var(--font-serif); font-size: 24px; font-weight: 600; color: #fff; }
.hero-card-rating {
  background: var(--gold); padding: 4px 10px; border-radius: 8px;
  font-size: 11px; font-weight: 700; color: var(--ink);
}
.hero-card-location { display: flex; align-items: center; gap: 4px; margin-top: 8px; }
.hero-card-location .loc-icon { font-size: 16px; }
.hero-card-location span { font-size: 14px; color: rgba(245,230,200,0.6); }
.hero-card-location .price {
  margin-left: auto; font-size: 15px; font-weight: 700; color: var(--gold);
}
.hero-card-divider { border: none; border-top: 1px solid rgba(255,255,255,0.15); margin: 16px 0 8px; }
.hero-card-specs { display: flex; justify-content: space-around; gap: 16px; }
.hero-card-specs .spec { display: flex; align-items: center; gap: 6px; font-size: 12px; color: rgba(255,255,255,0.8); }
.hero-card-specs .spec .spec-icon { font-size: 16px; }

/* ── Section Shared ── */
.section { padding: 80px 20px; }
.section-label {
  font-size: 13px; font-weight: 700; color: var(--gold-dark);
  letter-spacing: 2px; text-align: center; margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-serif); font-size: 42px; font-weight: 700;
  color: var(--ink); text-align: center;
}
.section-desc {
  max-width: 600px; margin: 16px auto 0;
  text-align: center; font-size: 15px; color: var(--text-secondary);
}

/* ── Features ── */
.features { background: rgba(245,230,200,0.35); }
.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  max-width: var(--max-w); margin: 60px auto 0;
}
.feature-card {
  background: #fff; border-radius: 20px; padding: 32px;
  border: 1px solid rgba(26,26,46,0.05);
  box-shadow: 0 8px 20px rgba(26,26,46,0.02);
  transition: all 0.35s ease; cursor: default;
  opacity: 0; transform: translateY(20px);
}
.feature-card.visible { opacity: 1; transform: translateY(0); }
.feature-card:hover {
  transform: scale(1.03) !important;
  border-color: rgba(201,168,76,0.25); border-width: 1.5px;
  box-shadow: 0 12px 30px rgba(26,26,46,0.06);
}
.feature-icon {
  width: 50px; height: 50px; background: rgba(26,26,46,0.06);
  border-radius: 14px; display: flex; align-items: center; justify-content: center;
  font-size: 24px; color: var(--ink); margin-bottom: 20px;
  transition: color 0.35s;
}
.feature-card:hover .feature-icon { color: var(--gold-dark); }
.feature-card h3 { font-size: 18px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.4; }

/* ── Services (Chat) ── */
.services { background: #fff; }
.services-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; max-width: var(--max-w); margin: 40px auto 0; }
.services-left .section-label { text-align: left; }
.services-left .section-title { text-align: left; }
.chat-box {
  height: 360px; background: var(--surface); border-radius: 24px;
  border: 1.5px solid rgba(26,26,46,0.06); padding: 20px; overflow-y: auto;
  margin-top: 30px;
}
.chat-msg { display: flex; gap: 10px; margin-bottom: 12px; align-items: flex-start; opacity: 0; transform: translateX(10px); transition: all 0.4s ease; }
.chat-msg.visible { opacity: 1; transform: translateX(0); }
.chat-msg.app { justify-content: flex-start; }
.chat-msg.user { justify-content: flex-end; }
.chat-avatar {
  width: 32px; height: 32px; background: var(--ink); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: bold; color: var(--gold); flex-shrink: 0;
}
.chat-bubble {
  max-width: 80%; padding: 12px 16px; font-size: 14px; line-height: 1.3; border-radius: 16px;
}
.chat-msg.app .chat-bubble {
  background: var(--ink); color: #fff;
  border-top-left-radius: 0;
}
.chat-msg.user .chat-bubble {
  background: var(--gold-light); color: var(--text-primary);
  border-top-right-radius: 0;
}

/* ── Owner Card ── */
.owner-card {
  padding: 40px; border-radius: 28px;
  background: linear-gradient(135deg, #F7F0E4, #fff);
  border: 1px solid rgba(201,168,76,0.25);
  transition: all 0.4s ease; cursor: default;
}
.owner-card:hover {
  transform: scale(1.03); border-color: rgba(201,168,76,0.45);
  box-shadow: 0 12px 30px rgba(201,168,76,0.10);
}
.owner-badge {
  display: inline-block; padding: 6px 12px; background: rgba(26,26,46,0.08);
  border-radius: 10px; font-size: 11px; font-weight: 700; color: var(--ink); letter-spacing: 1px; margin-bottom: 24px;
}
.owner-card h3 {
  font-family: var(--font-serif); font-size: 36px; font-weight: 700; color: var(--ink); line-height: 1.2; margin-bottom: 16px;
}
.owner-card p { font-size: 15px; color: var(--text-secondary); line-height: 1.5; margin-bottom: 36px; }
.owner-cta {
  background: var(--ink); color: var(--gold-light); border: none;
  padding: 18px 36px; border-radius: 14px; font-size: 14px; font-weight: 700;
  cursor: pointer; display: inline-flex; align-items: center; gap: 10px;
  transition: transform 0.25s ease;
}
.owner-cta:hover { transform: scale(1.02); }
.owner-cta .arrow { font-size: 16px; }

/* ── Ecosystem ── */
.ecosystem { background: var(--background); }
.ecosystem-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px;
  max-width: var(--max-w); margin: 50px auto 0;
}
.eco-side {
  padding: 32px; border-radius: 24px;
  border: 1px solid; transition: all 0.4s ease; cursor: default;
}
.eco-side.hosts {
  background: linear-gradient(135deg, #1A1A2E, #16213E);
  border-color: rgba(201,168,76,0.12); color: #fff;
}
.eco-side.hosts:hover {
  border-color: rgba(201,168,76,0.35); transform: scale(1.03);
  box-shadow: 0 12px 30px rgba(201,168,76,0.10);
}
.eco-side.clients {
  background: linear-gradient(135deg, #F7F0E4, #fff);
  border-color: rgba(26,26,46,0.12); color: var(--ink);
}
.eco-side.clients:hover {
  border-color: rgba(26,26,46,0.25); transform: scale(1.03);
  box-shadow: 0 12px 30px rgba(26,26,46,0.06);
}
.eco-subtitle {
  display: inline-block; padding: 6px 12px; border-radius: 10px;
  font-size: 11px; font-weight: 700; letter-spacing: 1px; margin-bottom: 20px;
}
.eco-side.hosts .eco-subtitle { background: rgba(201,168,76,0.15); color: var(--gold); }
.eco-side.clients .eco-subtitle { background: rgba(26,26,46,0.08); color: var(--ink); }
.eco-side h3 { font-family: var(--font-serif); font-size: 32px; font-weight: 700; margin-bottom: 24px; }
.eco-side.clients h3 { color: var(--ink); }
.eco-feature { display: flex; gap: 14px; margin-bottom: 16px; }
.eco-feature-icon {
  width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0;
}
.eco-side.hosts .eco-feature-icon { background: rgba(201,168,76,0.15); color: var(--gold); }
.eco-side.clients .eco-feature-icon { background: rgba(26,26,46,0.08); color: var(--ink); }
.eco-feature-text h4 { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.eco-side.hosts .eco-feature-text h4 { color: #fff; }
.eco-side.clients .eco-feature-text h4 { color: var(--ink); }
.eco-feature-text p { font-size: 13px; line-height: 1.4; }
.eco-side.hosts .eco-feature-text p { color: rgba(255,255,255,0.7); }
.eco-side.clients .eco-feature-text p { color: var(--text-secondary); }
.eco-cta {
  margin-top: 28px; padding: 16px 28px; border-radius: 14px;
  font-size: 14px; font-weight: 700; border: none; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
  transition: transform 0.25s ease;
}
.eco-cta:hover { transform: scale(1.02); }
.eco-side.hosts .eco-cta { background: var(--gold); color: var(--ink); }
.eco-side.clients .eco-cta { background: var(--ink); color: var(--gold-light); }

/* ── Locations ── */
.locations { background: var(--surface); }
.locations-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  max-width: var(--max-w); margin: 50px auto 0;
}
.location-card {
  background: var(--surface-elevated); border-radius: 20px; padding: 24px;
  border: 1px solid rgba(26,26,46,0.05);
  box-shadow: 0 6px 16px rgba(26,26,46,0.03);
  transition: all 0.35s ease; cursor: default;
  opacity: 0; transform: translateY(20px);
  display: flex; flex-direction: column; justify-content: space-between;
}
.location-card.visible { opacity: 1; transform: translateY(0); }
.location-card:hover {
  transform: translateY(-3px) !important;
  border-color: rgba(201,168,76,0.20); border-width: 1.5px;
  box-shadow: 0 10px 24px rgba(26,26,46,0.08);
}
.location-card-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 40px; }
.location-tag {
  padding: 4px 10px; background: var(--gold-light); border-radius: 6px;
  font-size: 11px; font-weight: 700; color: var(--gold-dark);
}
.location-emoji { font-size: 24px; }
.location-card h3 {
  font-family: var(--font-serif); font-size: 26px; font-weight: 700; color: var(--ink); margin-bottom: 6px;
}
.location-card p { font-size: 13px; color: var(--text-secondary); line-height: 1.3; }

/* ── Footer ── */
.footer { background: var(--ink); padding: 60px 20px; }
.footer-inner { max-width: var(--max-w); margin: 0 auto; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 40px; }
.footer-brand { max-width: 320px; }
.footer-logo { display: flex; align-items: center; gap: 8px; cursor: pointer; margin-bottom: 16px; }
.footer-logo-icon {
  width: 32px; height: 32px; border-radius: 8px; object-fit: cover;
}
.footer-logo-text { font-family: var(--font-serif); font-size: 22px; font-weight: 700; color: #fff; }
.footer-brand p { font-size: 14px; color: rgba(255,255,255,0.6); line-height: 1.4; }
.footer-links { display: flex; gap: 60px; }
.footer-links h4 { font-size: 14px; font-weight: 700; color: var(--gold); margin-bottom: 16px; }
.footer-links a {
  display: block; font-size: 14px; color: rgba(255,255,255,0.7); margin-bottom: 10px; cursor: pointer; transition: color 0.2s;
}
.footer-links a:hover { color: var(--gold-light); }
.footer-divider { border: none; border-top: 1px solid rgba(255,255,255,0.1); margin: 40px 0 20px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.footer-copy { font-size: 13px; color: rgba(255,255,255,0.4); }
.footer-from { font-size: 13px; color: rgba(255,255,255,0.4); }
.footer-from strong { color: var(--gold); font-weight: 600; }

/* ── Scroll to Top ── */
.scroll-top {
  position: fixed; bottom: 32px; right: 24px; z-index: 99;
  width: 44px; height: 44px; border-radius: 16px;
  background: var(--ink); color: var(--gold); border: none;
  font-size: 20px; cursor: pointer; box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  opacity: 0; pointer-events: none; transition: opacity 0.3s;
  display: flex; align-items: center; justify-content: center;
}
.scroll-top.visible { opacity: 1; pointer-events: auto; }

/* ── Mobile ── */
@media (max-width: 899px) {
  .header-nav { display: none; }
  .header-nav.open { display: flex; flex-direction: column; position: absolute; top: var(--header-h); left: 0; right: 0; background: var(--surface); padding: 20px; border-bottom: 1px solid rgba(26,26,46,0.1); }
  .hamburger { display: flex; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-headline { font-size: 36px; min-height: 80px; }
  .hero-card { max-width: 100%; height: 340px; }
  .features-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .ecosystem-grid { grid-template-columns: 1fr; }
  .locations-grid { grid-template-columns: 1fr; }
  .section-title { font-size: 30px; }
  .owner-card h3 { font-size: 26px; }
  .header-inner { padding: 0 20px; }
  .footer-top { flex-direction: column; }
  .footer-links { gap: 40px; }
  .footer-bottom { flex-direction: column; }
  .container { padding: 0 16px; }
}
