@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700;800&display=swap');

:root {
  --bg: #0b111e;
  --bg-soft: #0f1626;
  --surface: #131c2e;
  --surface-glass: rgba(19, 28, 46, 0.72);
  --border: rgba(148, 163, 184, 0.14);
  --border-accent: rgba(203, 169, 98, 0.34);
  --text: #eef2f6;
  --muted: #94a3b8;
  --gold: #cba962;
  --gold-soft: rgba(203, 169, 98, 0.12);
  --emerald: #34d399;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.36);
}

[data-theme="light"] {
  --bg: #f7f6f3;
  --bg-soft: #efede8;
  --surface: #ffffff;
  --surface-glass: rgba(255, 255, 255, 0.84);
  --border: rgba(15, 23, 42, 0.08);
  --border-accent: rgba(154, 116, 40, 0.28);
  --text: #141923;
  --muted: #5c6676;
  --gold: #9a7428;
  --gold-soft: rgba(154, 116, 40, 0.08);
  --emerald: #059669;
  --shadow: 0 18px 42px rgba(15, 23, 42, 0.09);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Cairo', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: 1160px; margin: 0 auto; padding: 0 20px; }

/* Header — Calm Minimalist Glass */
.lp-nav {
  position: sticky; top: 0; z-index: 60;
  backdrop-filter: blur(18px);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  border-bottom: 1px solid var(--border);
}
.lp-nav-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  height: 64px;
}
.lp-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); flex-shrink: 0; }
.lp-logo {
  width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, #dfc282, #b38c3d);
  color: #0b111e; font-weight: 800; font-size: .95rem;
  display: grid; place-items: center;
}
.lp-brand strong { font-size: 1.02rem; display: block; line-height: 1.15; font-weight: 800; }
.lp-brand small { font-size: 0.72rem; color: var(--muted); display: block; }
.lp-links { display: flex; gap: 24px; align-items: center; }
.lp-links a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 0.88rem; transition: color 0.18s; }
.lp-links a:hover { color: var(--text); }
.lp-actions { display: flex; gap: 8px; align-items: center; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  min-height: 38px; padding: 7px 16px; border-radius: 10px; font-family: inherit; font-weight: 700;
  font-size: 0.86rem; cursor: pointer; text-decoration: none; border: 1px solid transparent;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.16s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: #0b111e; }
[data-theme="light"] .btn-gold { color: #ffffff; }
.btn-outline { background: transparent; border-color: var(--border); color: var(--text); }
.btn-outline:hover { border-color: var(--gold); background: var(--gold-soft); }
.btn-icon {
  min-width: 36px; min-height: 36px; padding: 0 10px; border-radius: 9px;
  background: var(--surface); border: 1px solid var(--border); color: var(--text);
  cursor: pointer; font-family: inherit; font-weight: 700; font-size: 0.8rem;
}
.lp-burger {
  display: none; width: 38px; height: 38px; border-radius: 10px;
  background: var(--surface); border: 1px solid var(--border); color: var(--text);
  font-size: 1.05rem; cursor: pointer; align-items: center; justify-content: center;
}
.lp-mobile-drawer {
  display: none; flex-direction: column; gap: 8px;
  padding: 14px 18px 18px; border-top: 1px solid var(--border); background: var(--surface);
}
.lp-mobile-drawer.open { display: flex; }
.lp-mobile-drawer a {
  color: var(--text); text-decoration: none; font-weight: 700; font-size: .9rem;
  padding: 9px 12px; border-radius: 9px; background: var(--bg-soft);
}
.lp-mobile-drawer-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 4px; }

/* Hero — Soft Architectural 3D Hotel Showcase */
.lp-hero { padding: 48px 0 60px; }
.lp-hero-grid {
  display: grid; grid-template-columns: 1fr 1.12fr; gap: 44px; align-items: center;
}
.lp-badge {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 12px; border-radius: 999px;
  background: var(--gold-soft); border: 1px solid var(--border-accent);
  color: var(--gold); font-size: 0.78rem; font-weight: 700; margin-bottom: 14px;
}
.lp-hero h1 {
  font-size: clamp(1.7rem, 3vw, 2.45rem); line-height: 1.32; margin: 0 0 14px;
  font-weight: 800; letter-spacing: -0.01em;
}
.lp-hero h1 span { color: var(--gold); }
.lp-hero p { font-size: 0.96rem; color: var(--muted); line-height: 1.75; margin: 0 0 22px; max-width: 520px; }
.lp-hero-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 24px; }
.lp-trust {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
  padding-top: 18px; border-top: 1px solid var(--border);
}
.lp-trust-item strong { display: block; font-size: 1.08rem; color: var(--text); font-weight: 800; }
.lp-trust-item span { font-size: 0.76rem; color: var(--muted); }

/* Real 3D Architectural Hotel Frame */
.scene-3d-wrap {
  perspective: 1400px;
  display: flex; align-items: center; justify-content: center;
}
.scene-3d-stage {
  position: relative; width: 100%; max-width: 580px;
  border-radius: 22px;
  transform-style: preserve-3d;
  transform: rotateY(-5deg) rotateX(3deg);
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  overflow: visible;
}
.hotel-3d-photo-box {
  position: relative; border-radius: 21px; overflow: hidden;
  aspect-ratio: 16 / 10.5; background: var(--surface);
}
.hotel-3d-photo {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.hotel-3d-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11, 17, 30, 0.05) 35%, rgba(11, 17, 30, 0.72) 100%);
  pointer-events: none;
}
.hotel-3d-bar {
  position: absolute; inset-inline: 14px; bottom: 14px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
  transform: translateZ(26px);
}
.h3d-chip {
  background: rgba(15, 22, 38, 0.76);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px; padding: 9px 11px; color: #f8fafc;
}
.h3d-chip small { display: block; font-size: 0.68rem; color: #cbd5e1; }
.h3d-chip strong { font-size: 0.9rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.h3d-float-tag {
  position: absolute; top: 14px; inset-inline-start: 14px;
  padding: 5px 11px; border-radius: 999px;
  background: rgba(15, 22, 38, 0.74); backdrop-filter: blur(12px);
  border: 1px solid rgba(203, 169, 98, 0.35);
  color: #f3dc9b; font-size: 0.74rem; font-weight: 700;
  transform: translateZ(34px);
}

/* Sections — Calm Spacing */
.lp-section { padding: 54px 0; }
.lp-section-alt { background: var(--bg-soft); border-block: 1px solid var(--border); }
.lp-section-head { text-align: center; max-width: 640px; margin: 0 auto 32px; }
.lp-section-head h2 { font-size: clamp(1.35rem, 2.4vw, 1.85rem); margin: 0 0 8px; font-weight: 800; }
.lp-section-head p { color: var(--muted); margin: 0; font-size: 0.92rem; }

.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.feat-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 16px; padding: 20px; transition: border-color 0.2s ease, transform 0.2s ease;
}
.feat-card:hover { border-color: var(--border-accent); transform: translateY(-2px); }
.feat-ico {
  width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center;
  font-size: 1.05rem; margin-bottom: 12px; color: var(--gold);
  background: var(--gold-soft); border: 1px solid var(--border-accent);
}
.feat-card h3 { margin: 0 0 6px; font-size: 0.96rem; font-weight: 800; }
.feat-card p { margin: 0; font-size: 0.84rem; color: var(--muted); line-height: 1.6; }

/* 3 Steps */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.step-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 20px;
}
.step-num {
  width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center;
  background: var(--gold-soft); color: var(--gold); border: 1px solid var(--border-accent);
  font-weight: 800; font-size: .88rem; margin-bottom: 10px;
}
.step-card h3 { margin: 0 0 5px; font-size: 0.95rem; font-weight: 800; }
.step-card p { margin: 0; font-size: 0.84rem; color: var(--muted); }

/* Calculator + Pricing */
.calc-panel {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 18px; padding: 22px; margin-bottom: 24px;
  display: grid; grid-template-columns: 1.25fr 1fr; gap: 22px; align-items: center;
}
.billing-switch {
  display: inline-flex; padding: 3px; border-radius: 10px;
  background: var(--bg-soft); border: 1px solid var(--border); margin-bottom: 16px;
}
.billing-switch button {
  border: none; background: transparent; color: var(--muted);
  padding: 6px 14px; border-radius: 8px; font-family: inherit; font-weight: 700; font-size: .84rem; cursor: pointer;
}
.billing-switch button.active { background: var(--gold); color: #0b111e; }
[data-theme="light"] .billing-switch button.active { color: #ffffff; }
.range-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; font-weight: 700; font-size: .9rem; }
.calc-slider { width: 100%; accent-color: var(--gold); cursor: pointer; height: 6px; }
.calc-summary {
  background: var(--bg-soft); border: 1px solid var(--border);
  border-radius: 14px; padding: 18px; text-align: center;
}
.calc-price { font-size: 1.65rem; font-weight: 800; color: var(--gold); margin: 4px 0; font-variant-numeric: tabular-nums; }
.calc-meta { font-size: 0.8rem; color: var(--muted); margin-bottom: 12px; }

.plans-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.plan-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 18px; padding: 22px; display: flex; flex-direction: column; gap: 12px;
  position: relative;
}
.plan-card.recommended { border-color: var(--gold); }
.plan-tag {
  position: absolute; top: -11px; inset-inline-end: 16px;
  background: var(--gold); color: #0b111e; font-size: 0.7rem; font-weight: 800;
  padding: 3px 10px; border-radius: 999px;
}
[data-theme="light"] .plan-tag { color: #ffffff; }
.plan-card h3 { margin: 0; font-size: 1.05rem; font-weight: 800; }
.plan-amount { font-size: 1.55rem; font-weight: 800; color: var(--text); font-variant-numeric: tabular-nums; }
.plan-amount small { font-size: 0.78rem; color: var(--muted); font-weight: 600; }
.plan-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.plan-list li { font-size: 0.84rem; color: var(--muted); }
.plan-list li::before { content: '✓ '; color: var(--emerald); font-weight: 800; }

/* Modal */
.lp-modal {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(2, 6, 23, 0.72); backdrop-filter: blur(6px);
  display: none; align-items: center; justify-content: center; padding: 14px;
}
.lp-modal.open { display: flex; }
.lp-modal-box {
  width: 100%; max-width: 500px; max-height: 90vh; overflow-y: auto;
  background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 22px;
  box-shadow: var(--shadow);
}
.lp-modal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.lp-modal-head h3 { margin: 0; font-size: 1.05rem; font-weight: 800; }
.lp-close { background: none; border: none; color: var(--muted); font-size: 1.4rem; cursor: pointer; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.form-group { display: flex; flex-direction: column; gap: 4px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-size: 0.8rem; color: var(--muted); font-weight: 700; }
.form-group input, .form-group select {
  min-height: 40px; padding: 8px 11px; border-radius: 10px;
  border: 1px solid var(--border); background: var(--bg-soft);
  color: var(--text); font-family: inherit; font-size: 0.88rem;
}
.form-error { color: #fb7185; font-size: 0.82rem; margin-top: 8px; min-height: 18px; }

.lp-footer {
  border-top: 1px solid var(--border); padding: 24px 0;
  text-align: center; color: var(--muted); font-size: 0.82rem;
}

/* Native Mobile App Bottom Navigation Bar (visible <= 768px) */
.lp-mobile-tabbar {
  display: none; position: fixed; inset-inline: 0; bottom: 0; z-index: 70;
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  backdrop-filter: blur(18px);
  border-top: 1px solid var(--border);
  padding: 6px 8px calc(6px + env(safe-area-inset-bottom));
  grid-template-columns: repeat(4, 1fr); gap: 4px;
}
.lp-mobile-tabbar a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  text-decoration: none; color: var(--muted); font-size: 0.7rem; font-weight: 700;
  padding: 5px 4px; border-radius: 10px;
}
.lp-mobile-tabbar a i { font-size: 1rem; color: var(--gold); }
.lp-mobile-tabbar a:active { background: var(--gold-soft); color: var(--text); }

@media (max-width: 960px) {
  .lp-hero-grid, .calc-panel { grid-template-columns: 1fr; gap: 24px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .plans-grid, .steps-grid { grid-template-columns: 1fr; }
  .lp-links, .lp-desktop-only { display: none; }
  .lp-burger { display: inline-flex; }
}
@media (max-width: 768px) {
  body { padding-bottom: 66px; }
  .lp-mobile-tabbar { display: grid; }
}
@media (max-width: 600px) {
  .container { padding: 0 15px; }
  .lp-hero { padding: 22px 0 34px; }
  .lp-section { padding: 36px 0; }
  .features-grid, .form-grid { grid-template-columns: 1fr; }
  .lp-hero-cta .btn { width: 100%; }
  .scene-3d-stage { transform: none; border-radius: 18px; }
  .hotel-3d-photo-box { border-radius: 17px; aspect-ratio: 16 / 11; }
  .hotel-3d-bar { inset-inline: 10px; bottom: 10px; gap: 6px; }
  .h3d-chip { padding: 7px 8px; }
  .h3d-chip strong { font-size: 0.78rem; }
  .calc-panel { padding: 16px; }
}
