/* ==========================================================================
   NovaDesk — Stylesheet
   Author: Karim
   Tokens: Deep Indigo/Navy #0F172A · Violet #6366F1 · Cyan #06B6D4
   Fonts: Outfit (display) / Inter (body)
   ========================================================================== */

:root {
  --navy: #0F172A;
  --violet: #6366F1;
  --violet-dark: #4F46E5;
  --cyan: #06B6D4;
  --bg-light: #F8FAFC;
  --bg-dark: #0F172A;
  --card-light: #FFFFFF;
  --card-dark: #1E293B;
  --text-light: #0F172A;
  --text-muted-light: #55627A;
  --text-dark: #F1F5F9;
  --text-muted-dark: #94A3B8;
  --border-light: #E2E8F0;
  --border-dark: #334155;

  --bg: var(--bg-light);
  --card: var(--card-light);
  --text: var(--text-light);
  --text-muted: var(--text-muted-light);
  --border: var(--border-light);

  --font-display: 'Outfit', 'Inter', -apple-system, sans-serif;
  --font-body: 'Inter', -apple-system, sans-serif;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;

  --shadow-soft: 0 4px 24px rgba(15, 23, 42, 0.06);
  --shadow-card: 0 12px 32px rgba(15, 23, 42, 0.08);
  --shadow-lift: 0 20px 48px rgba(99, 102, 241, 0.22);

  --nav-h: 76px;

  color-scheme: light;
}

html[data-theme="dark"] {
  --bg: var(--bg-dark);
  --card: var(--card-dark);
  --text: var(--text-dark);
  --text-muted: var(--text-muted-dark);
  --border: var(--border-dark);
  --shadow-soft: 0 4px 24px rgba(0, 0, 0, 0.35);
  --shadow-card: 0 12px 32px rgba(0, 0, 0, 0.45);
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { 
  scroll-behavior: smooth; 
  overflow-x: hidden;
}

body {
  margin: 0;
  width: 100%;
  overflow-x: hidden;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background 0.3s ease, color 0.3s ease;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { 
    animation-duration: 0.01ms !important; 
    transition-duration: 0.01ms !important; 
  }
}

h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; color: var(--text); }
p { margin: 0; color: var(--text-muted); line-height: 1.6; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; height: auto; }

section { 
  padding: 96px 24px; 
  max-width: 1180px; 
  margin: 0 auto; 
  width: 100%; 
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--violet);
  margin-bottom: 14px;
}

.text-accent { color: var(--violet); }

:focus-visible {
  outline: 2px solid var(--violet);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: linear-gradient(135deg, var(--violet), var(--violet-dark));
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(99, 102, 241, 0.28);
}
.btn-primary:hover { 
  box-shadow: 0 14px 30px rgba(99, 102, 241, 0.38); 
  transform: translateY(-2px); 
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover { 
  border-color: var(--violet); 
  color: var(--violet); 
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--violet);
  border-color: var(--violet);
}
.btn-outline:hover { 
  background: var(--violet); 
  color: #ffffff; 
  transform: translateY(-1px);
}

.btn-small { padding: 10px 20px; font-size: 0.88rem; }
.btn-block { width: 100%; padding: 15px 26px; }

/* ---------- Navbar ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: transparent;
  transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease, height 0.3s ease;
}

.navbar.is-scrolled {
  height: 64px;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--text);
  letter-spacing: -0.02em;
}
.logo-dot { color: var(--violet); }

.nav-links {
  display: flex;
  gap: 32px;
  font-weight: 500;
  font-size: 0.94rem;
}
.nav-links a { color: var(--text-muted); transition: color 0.2s ease; }
.nav-links a:hover { color: var(--text); }

.nav-actions { display: flex; align-items: center; gap: 14px; }

.theme-toggle {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.theme-toggle:hover { border-color: var(--violet); transform: scale(1.05); }
.theme-toggle .icon-moon { display: none; }
html[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
html[data-theme="dark"] .theme-toggle .icon-moon { display: block; }

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.hamburger span { display: block; width: 20px; height: 2px; background: var(--text); transition: transform 0.25s ease, opacity 0.25s ease; }
.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  z-index: 99;
  background: var(--card);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease, padding 0.3s ease, visibility 0.35s;
  box-shadow: var(--shadow-card);
}
.navbar.is-scrolled + .mobile-menu { top: 64px; }
.mobile-menu a { padding: 14px 4px; font-weight: 500; border-bottom: 1px solid var(--border); color: var(--text); }
.mobile-menu a:last-child { border-bottom: none; margin: 12px 0; }
.mobile-menu.is-open { max-height: 420px; opacity: 1; visibility: visible; padding: 12px 24px 20px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: 72px; padding-bottom: 72px; overflow: hidden; }

.hero-grid-bg {
  position: absolute;
  inset: -10% -10% auto -10%;
  height: 620px;
  background-image:
    linear-gradient(color-mix(in srgb, var(--violet) 12%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--violet) 12%, transparent) 1px, transparent 1px);
  background-size: 42px 42px;
  -webkit-mask-image: radial-gradient(ellipse 60% 55% at 30% 20%, #000 0%, transparent 72%);
  mask-image: radial-gradient(ellipse 60% 55% at 30% 20%, #000 0%, transparent 72%);
  pointer-events: none;
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(2.3rem, 4.4vw, 3.4rem);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.hero-sub { font-size: 1.08rem; max-width: 480px; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }
.hero-stats { display: flex; gap: 36px; flex-wrap: wrap; }
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats strong { font-family: var(--font-display); font-size: 1.4rem; color: var(--text); font-weight: 700; }
.hero-stats span { font-size: 0.85rem; color: var(--text-muted); }

.hero-visual { position: relative; }
.hero-photo-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  aspect-ratio: 4 / 4.2;
}
.hero-photo-main img { width: 100%; height: 100%; object-fit: cover; }

.hero-photo-float {
  position: absolute;
  left: -42px;
  bottom: -32px;
  width: 46%;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 4px solid var(--bg);
  box-shadow: var(--shadow-lift);
}
.hero-photo-float img { aspect-ratio: 1/1; object-fit: cover; }

.floor-tag {
  position: absolute;
  top: 22px;
  right: 22px;
  background: color-mix(in srgb, var(--card) 90%, transparent);
  backdrop-filter: blur(8px);
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-soft);
  color: var(--text);
  border: 1px solid var(--border);
}
.floor-tag-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 0 rgba(6, 182, 212, 0.6);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(6, 182, 212, 0.55); }
  70% { box-shadow: 0 0 0 8px rgba(6, 182, 212, 0); }
  100% { box-shadow: 0 0 0 0 rgba(6, 182, 212, 0); }
}

/* ---------- Section heads ---------- */
.section-head { text-align: center; max-width: 620px; margin: 0 auto 56px; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); line-height: 1.25; letter-spacing: -0.01em; }

/* ---------- Features ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 30px 24px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.feature-card:hover { 
  transform: translateY(-5px); 
  box-shadow: var(--shadow-card); 
  border-color: color-mix(in srgb, var(--violet) 40%, var(--border)); 
}
.feature-icon {
  width: 50px; height: 50px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  color: var(--violet);
  background: color-mix(in srgb, var(--violet) 12%, transparent);
  margin-bottom: 18px;
}
.feature-card h3 { font-size: 1.08rem; margin-bottom: 10px; font-weight: 600; }
.feature-card p { font-size: 0.92rem; }

/* ---------- Pricing ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
.price-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.price-card:hover { transform: translateY(-4px); }
.price-card h3 { font-size: 1.2rem; margin-bottom: 14px; }
.price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 24px; }
.price .amount { font-family: var(--font-display); font-size: 2.5rem; font-weight: 800; color: var(--text); }
.price .period { color: var(--text-muted); font-size: 0.95rem; }

.price-features { list-style: none; margin: 0 0 30px; padding: 0; display: flex; flex-direction: column; gap: 12px; flex-grow: 1; }
.price-features li { font-size: 0.92rem; color: var(--text-muted); padding-left: 24px; position: relative; }
.price-features li::before {
  content: "";
  position: absolute; left: 0; top: 6px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--cyan) 18%, transparent);
  box-shadow: inset 0 0 0 2px var(--cyan);
}

.price-card-popular {
  border-color: var(--violet);
  box-shadow: var(--shadow-lift);
  background: linear-gradient(180deg, color-mix(in srgb, var(--violet) 8%, var(--card)), var(--card) 45%);
}
.popular-badge {
  position: absolute;
  top: -14px; left: 30px;
  background: linear-gradient(135deg, var(--violet), var(--violet-dark));
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(99, 102, 241, 0.35);
}

/* ---------- Location ---------- */
.location-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
}
.location-photo { border-radius: var(--radius-lg); box-shadow: var(--shadow-card); aspect-ratio: 4/3.4; object-fit: cover; }
.location-copy h2 { margin: 0 0 16px; font-size: clamp(1.6rem, 3vw, 2.1rem); }
.location-copy p { margin-bottom: 24px; }
.location-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.location-list li { font-size: 0.92rem; color: var(--text-muted); padding-left: 22px; position: relative; }
.location-list li::before { content: "—"; position: absolute; left: 0; color: var(--violet); font-weight: 700; }

/* ---------- Booking ---------- */
.booking { padding-top: 40px; }
.booking-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 48px;
  max-width: 640px;
  margin: 0 auto;
  transition: box-shadow 0.4s ease, border-color 0.4s ease;
}
.booking-card.is-highlighted { 
  border-color: var(--violet);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--violet) 30%, transparent), var(--shadow-lift); 
}

.booking-sub { margin: 10px 0 30px; }

.form-row { margin-bottom: 20px; display: flex; flex-direction: column; gap: 8px; }
.form-row-split { flex-direction: row; gap: 16px; }
.form-row-split > div { flex: 1; display: flex; flex-direction: column; gap: 8px; }

label { font-size: 0.85rem; font-weight: 600; color: var(--text); }

input, select {
  font-family: var(--font-body);
  font-size: 0.96rem;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  background: var(--bg);
  color: var(--text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
}
input:focus, select:focus {
  outline: none;
  border-color: var(--violet);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--violet) 18%, transparent);
}
input.is-invalid, select.is-invalid { border-color: #EF4444; }

.field-error {
  font-size: 0.78rem;
  color: #EF4444;
  min-height: 1.2em;
  display: block;
}

.form-note { margin-top: 16px; font-size: 0.82rem; text-align: center; }

.booking-success { text-align: center; padding: 20px 0; }
.success-icon {
  width: 62px; height: 62px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--cyan) 16%, transparent);
  color: var(--cyan);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.booking-success h3 { font-size: 1.3rem; margin-bottom: 10px; }
.booking-success p { margin-bottom: 26px; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-list details {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  transition: border-color 0.2s ease;
}
.faq-list details[open] { border-color: color-mix(in srgb, var(--violet) 40%, var(--border)); }
.faq-list summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--text);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--violet); font-weight: 700; font-size: 1.2rem; }
.faq-list details[open] summary::after { content: "\2212"; }
.faq-list p { margin-top: 12px; font-size: 0.92rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #CBD5E1; margin-top: 60px; border-top: 1px solid var(--border-dark); }
.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 64px 24px 40px;
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.footer-brand .logo { color: #ffffff; }
.footer-brand p { margin-top: 10px; max-width: 260px; font-size: 0.88rem; color: #94A3B8; }
.footer-links { display: flex; gap: 64px; }
.footer-links h4 { color: #ffffff; font-size: 0.85rem; margin-bottom: 16px; letter-spacing: 0.03em; }
.footer-links a { display: block; color: #94A3B8; font-size: 0.9rem; margin-bottom: 10px; transition: color 0.2s ease; }
.footer-links a:hover { color: #ffffff; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.08); padding: 20px 24px; text-align: center; font-size: 0.8rem; color: #64748B; }

/* ---------- Responsive Breakpoints ---------- */

@media (max-width: 980px) {
  .nav-inner { padding: 0 20px; gap: 16px; }
  .hero-inner { grid-template-columns: 1fr; gap: 44px; }
  .hero-visual { order: -1; max-width: 480px; width: 100%; margin: 0 auto; }
  .hero-copy { text-align: left; }
  .hero-sub { max-width: 100%; }
  .hero-photo-float { left: -20px; bottom: -24px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .location-inner { grid-template-columns: 1fr; gap: 32px; }
  .location-photo { order: -1; width: 100%; }
}

@media (max-width: 720px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  section { padding: 72px 20px; }
  .booking-card { padding: 32px 22px; }
  .form-row-split { flex-direction: column; }
  .features-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 24px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .footer-inner { flex-direction: column; gap: 32px; }
  .footer-links { flex-wrap: wrap; gap: 40px; }
}

@media (max-width: 560px) {
  .nav-inner { padding: 0 16px; }
  .logo { font-size: 1.2rem; }
  .nav-actions { gap: 8px; }
  .nav-actions .btn-small { padding: 8px 14px; font-size: 0.82rem; }
  section { padding: 56px 16px; }
  .hero { padding-top: 40px; padding-bottom: 40px; }
  .hero-copy h1 { font-size: clamp(1.9rem, 8vw, 2.4rem); }
  .hero-stats { gap: 18px 28px; }
  .section-head { margin-bottom: 40px; }
  .feature-card { padding: 24px 20px; }
  .price-card { padding: 28px 22px; }
  .booking-card { padding: 26px 18px; }
  .footer-links { gap: 28px 40px; }
  .footer-inner { padding: 48px 20px 32px; }
}

@media (max-width: 400px) {
  .hero-photo-float { display: none; }
  .floor-tag { font-size: 0.72rem; padding: 7px 12px; top: 14px; right: 14px; }
  .nav-actions .btn-small { display: none; }
  .hero-stats { flex-wrap: wrap; row-gap: 14px; }
  .price .amount { font-size: 2.1rem; }
  .btn { padding: 12px 20px; font-size: 0.9rem; }
}