/* VueloHotel Engine — landing styles */

:root {
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --bg-dark: #0f172a;
  --text: #0f172a;
  --text-muted: #475569;
  --text-dim: #94a3b8;
  --primary: #1e40af;
  --primary-hover: #1e3a8a;
  --accent: #2563eb;
  --border: #e2e8f0;
  --border-strong: #cbd5e1;
  --code-bg: #0f172a;
  --code-text: #e2e8f0;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.08), 0 2px 4px -2px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.1), 0 4px 6px -4px rgba(15, 23, 42, 0.05);
  --radius: 12px;
  --radius-sm: 6px;
  --radius-lg: 16px;
  --max-w: 1140px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-hover); }
ul { padding: 0; margin: 0; list-style: none; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 720px; }

/* NAV */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 64px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--text);
}
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  letter-spacing: 0.5px;
}
.brand-name { font-size: 16px; }
.brand-suffix { color: var(--text-muted); font-weight: 500; }
.nav-links {
  display: flex;
  gap: 24px;
  margin-left: auto;
}
.nav-links a {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
}
.nav-links a:hover { color: var(--text); }

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.15s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn-sm { padding: 8px 14px; font-size: 13px; }
.btn-block { width: 100%; }
.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover {
  background: var(--primary-hover);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--border-strong);
}
.btn-outline:hover {
  border-color: var(--primary);
  background: var(--bg-alt);
}
.btn-ghost {
  background: transparent;
  color: var(--text-muted);
}
.btn-ghost:hover { color: var(--text); }

/* HERO */
.hero {
  padding: 64px 0 80px;
  background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.1fr 1fr; gap: 64px; }
}
.eyebrow {
  display: inline-block;
  padding: 6px 12px;
  background: rgba(37, 99, 235, 0.1);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  border-radius: 99px;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(32px, 4.5vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 800;
  margin: 0 0 20px;
}
.lede {
  font-size: 18px;
  color: var(--text-muted);
  margin: 0 0 32px;
  line-height: 1.6;
  max-width: 540px;
}
.cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.hero-bullets {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  color: var(--text-muted);
}
.hero-bullets li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
  margin-right: 8px;
}
.hero-bullets code {
  background: var(--bg-alt);
  padding: 1px 6px;
  border-radius: 4px;
  font-family: 'SF Mono', Consolas, monospace;
  font-size: 12px;
}
.hero-widget {
  position: relative;
}
.widget-frame {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 4px;
}
.caption {
  text-align: center;
  font-size: 12px;
  color: var(--text-dim);
  margin-top: 12px;
}

/* LOGOS */
.logos {
  padding: 48px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}
.logos-title {
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin: 0 0 20px;
}
.logos-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.logo-pill {
  padding: 8px 16px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 99px;
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

/* SECTIONS */
section { padding: 96px 0; }
section h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  text-align: center;
}
.section-lede {
  font-size: 18px;
  color: var(--text-muted);
  text-align: center;
  margin: 0 auto 56px;
  max-width: 680px;
}

/* HOW */
.how { background: var(--bg-alt); }
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 48px;
}
@media (min-width: 720px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
}
.step {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--primary);
  color: #fff;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 16px;
}
.step h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 8px;
}
.step p {
  color: var(--text-muted);
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
}
.step code {
  background: var(--bg-alt);
  padding: 1px 6px;
  border-radius: 4px;
  font-family: 'SF Mono', Consolas, monospace;
  font-size: 12px;
}
.code-block {
  background: var(--code-bg);
  color: var(--code-text);
  padding: 24px;
  border-radius: var(--radius);
  overflow-x: auto;
  font-size: 13px;
  line-height: 1.6;
  font-family: 'SF Mono', Consolas, monospace;
  margin: 0;
}

/* DEMO */
.demo-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 880px) {
  .demo-grid { grid-template-columns: 1fr 1fr; }
}
.demo-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.demo-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--text-dim);
  margin-bottom: 16px;
}

/* PRICING */
.pricing { background: var(--bg-alt); }
.tiers {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 24px;
}
@media (min-width: 880px) {
  .tiers { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
}
.tier {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
}
.tier-featured {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12), var(--shadow-md);
  transform: translateY(-4px);
}
.tier-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  padding: 4px 12px;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.tier-name {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.tier-price {
  margin-bottom: 8px;
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.tier-price .price {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}
.tier-price .per {
  font-size: 14px;
  color: var(--text-muted);
}
.tier-tagline {
  color: var(--text-muted);
  font-size: 14px;
  margin: 0 0 24px;
}
.tier-features {
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
  flex-grow: 1;
}
.tier-features li {
  padding-left: 24px;
  position: relative;
  color: var(--text);
}
.tier-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: 700;
}
.pricing-foot {
  text-align: center;
  color: var(--text-dim);
  font-size: 13px;
  margin-top: 32px;
}

/* FAQ */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
}
.faq-list details {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  margin-bottom: 12px;
  transition: border-color 0.15s ease;
}
.faq-list details[open] {
  border-color: var(--border-strong);
}
.faq-list summary {
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 15px;
}
.faq-list summary::after {
  content: '+';
  font-size: 22px;
  color: var(--text-dim);
  font-weight: 400;
  transition: transform 0.15s ease;
  margin-left: 16px;
}
.faq-list details[open] summary::after { content: '−'; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list p {
  margin: 14px 0 0;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.65;
}
.faq-list code {
  background: var(--bg-alt);
  padding: 1px 6px;
  border-radius: 4px;
  font-family: 'SF Mono', Consolas, monospace;
  font-size: 12px;
}

/* DEMO FORM */
.demo-form { background: #fff; }
.form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--bg-alt);
  padding: 32px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 600px) {
  .form-row { grid-template-columns: 1fr 1fr; }
}
.form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}
.form input,
.form select,
.form textarea {
  padding: 10px 12px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: inherit;
  background: #fff;
  color: var(--text);
  transition: border-color 0.15s ease;
}
.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}
.form-foot {
  font-size: 12px;
  color: var(--text-dim);
  text-align: center;
  margin: 0;
}

/* FOOTER */
.footer {
  background: var(--bg-dark);
  color: #cbd5e1;
  padding: 64px 0 24px;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 720px) {
  .footer-grid { grid-template-columns: 1.4fr repeat(3, 1fr); }
}
.footer .brand-name,
.footer .brand-suffix { color: #fff; }
.footer-tagline {
  color: #94a3b8;
  font-size: 13px;
  margin: 16px 0 0;
}
.footer h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #fff;
  margin: 0 0 14px;
}
.footer ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer li, .footer a {
  color: #94a3b8;
  font-size: 13px;
}
.footer a:hover { color: #fff; }
.footer-base {
  border-top: 1px solid #1e293b;
  margin-top: 48px;
  padding-top: 24px;
  text-align: center;
  font-size: 12px;
  color: #64748b;
}
