/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: #0f172a;
  color: #fff;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 620px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url('images/hero-dark-bg.png') center top / cover no-repeat;
  z-index: 0;
  opacity: 0.4;
}

/* Navigation */
.nav {
  position: fixed;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: calc(100% - 100px);
  max-width: 1340px;
  padding: 0 40px;
  height: 80px;
  background: rgba(35, 55, 95, 0.45);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 68px;
  transition: background .3s, top .3s, box-shadow .3s;
}
.nav.nav-scrolled {
  top: 16px;
  background: rgba(15, 23, 42, 0.85);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}
.nav-logo { height: 52px; }
.nav-menu { display: flex; gap: 50px; }
.nav-menu li { position: relative; }
.nav-menu a {
  font-size: 15px;
  font-weight: 500;
  color: #fff;
  opacity: .7;
  transition: opacity .2s;
  padding-bottom: 6px;
}
.nav-menu a.active { opacity: 1; }
.nav-menu a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: #3B82F6;
  border-radius: 1px;
}
.nav-menu a:hover { opacity: 1; }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 20;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero Content */
.hero-content {
  position: relative;
  z-index: 5;
  max-width: 1440px;
  margin: 0 auto;
  padding: 160px 88px 80px;
}
.badge {
  display: inline-block;
  padding: 8px 28px;
  background: rgba(59, 130, 246, 0.2);
  border: 1px solid #3b82f6;
  border-radius: 18px;
  font-size: 14px;
  font-weight: 500;
  color: #3b82f6;
}
.hero h1 {
  margin-top: 28px;
  font-size: 72px;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -2px;
  max-width: 960px;
}
.hero-sub {
  margin-top: 24px;
  font-size: 18px;
  font-weight: 500;
  color: #9ca3af;
  line-height: 1.6;
  max-width: 640px;
}

/* ===== SHARED SECTION ===== */
.section {
  max-width: 1440px;
  margin: 0 auto;
  padding: 60px 80px;
}
.section h2 {
  font-size: 28px;
  font-weight: 800;
}
.section-sub {
  margin-top: 10px;
  font-size: 17px;
  font-weight: 500;
  color: #9ca3af;
  line-height: 1.5;
}

/* ===== MODULES OVERVIEW ===== */
.modules-overview {
  text-align: center;
}
.modules-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
}
.module-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: #000;
  border: 1px solid #374151;
  border-radius: 16px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  transition: border-color .2s, transform .15s;
}
.module-pill:hover {
  border-color: #3b82f6;
  transform: translateY(-2px);
}
.module-pill-icon {
  width: 24px;
  height: 24px;
}

/* ===== FEATURE SECTIONS ===== */
.feature-section {
  padding-top: 80px;
  padding-bottom: 80px;
}
.feature-alt {
  background: #000;
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}
.feature-alt > .feature-row {
  max-width: 1440px;
  margin: 0 auto;
  padding-left: 80px;
  padding-right: 80px;
}
.feature-row {
  display: flex;
  align-items: center;
  gap: 80px;
}
.feature-row.reverse {
  flex-direction: row-reverse;
}
.feature-text {
  flex: 1;
}
.feature-visual {
  flex: 0 0 580px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  background: rgba(59, 130, 246, 0.05);
  border: 1px solid rgba(59, 130, 246, 0.1);
  border-radius: 20px;
  overflow: hidden;
}
.feature-visual img {
  width: 100%;
  border-radius: 12px;
}
.feature-label {
  font-size: 13px;
  font-weight: 700;
  color: #3b82f6;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}
.feature-section h2 {
  font-size: 36px;
}
.feature-desc {
  margin-top: 16px;
  font-size: 16px;
  font-weight: 500;
  color: #9ca3af;
  line-height: 1.7;
}
.feature-list {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  font-weight: 500;
  color: #d1d5db;
  line-height: 1.5;
}
.feature-list li .material-icons-outlined {
  font-size: 20px;
  color: #3b82f6;
  flex-shrink: 0;
  margin-top: 1px;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.tag {
  padding: 6px 20px;
  border: 1px solid #374151;
  border-radius: 16px;
  font-size: 13px;
  font-weight: 500;
  color: #9ca3af;
}

/* ===== CTA SECTION ===== */
.cta-section {
  padding: 80px 80px;
}
.cta-box {
  text-align: center;
  padding: 64px 48px;
  background: #000;
  border: 1px solid #1f2937;
  border-radius: 24px;
}
.cta-box h2 {
  font-size: 36px;
}
.cta-box .section-sub {
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
.cta-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 32px;
}
.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  font-size: 16px;
  font-weight: 500;
  border-radius: 12px;
  transition: transform .15s, opacity .15s;
}
.btn-primary {
  padding: 0 32px;
  background: #3b82f6;
  color: #fff;
}
.btn-secondary {
  padding: 0 30px;
  border: 1px solid #374151;
  color: #fff;
}
.btn-primary:hover, .btn-secondary:hover { transform: translateY(-1px); opacity: .9; }

/* ===== DEMO MODAL ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}
.modal-overlay.open { opacity: 1; pointer-events: auto; }
.modal {
  position: relative;
  width: 90%;
  max-width: 780px;
  max-height: 90vh;
  overflow-y: auto;
  background: #0a0a0a;
  border: 1px solid #1f2937;
  border-radius: 16px;
  padding: 48px 48px 40px;
  text-align: center;
  transform: translateY(20px);
  transition: transform .3s;
}
.modal-overlay.open .modal { transform: translateY(0); }
.modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  color: #9ca3af;
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
  transition: color .2s;
}
.modal-close:hover { color: #fff; }
.modal-badge {
  display: inline-block;
  padding: 6px 20px;
  border: 1px solid #374151;
  border-radius: 16px;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
}
.modal-title {
  margin-top: 20px;
  font-size: 42px;
  font-weight: 800;
  line-height: 1.1;
}
.modal-sub {
  margin-top: 16px;
  font-size: 15px;
  font-weight: 500;
  color: #9ca3af;
  line-height: 1.6;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
.modal-contact-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}
.modal-contact-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 24px;
  background: #111;
  border: 1px solid #1f2937;
  border-radius: 12px;
  text-align: left;
}
.modal-contact-card .material-icons-outlined {
  font-size: 22px;
  color: #9ca3af;
}
.modal-contact-card strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
}
.modal-contact-card p {
  margin-top: 4px;
  font-size: 14px;
  color: #9ca3af;
}
.modal-booking-cta {
  margin-top: 32px;
  text-align: center;
}
.btn-book {
  display: inline-flex;
  width: 100%;
  height: 56px;
  font-size: 16px;
  border-radius: 12px;
}

/* ===== MOBILE FULL-SCREEN MENU ===== */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: linear-gradient(to bottom, #0a0a0a 0%, #111111 60%, #1a1a1a 100%);
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}
.mobile-menu-overlay.open { opacity: 1; pointer-events: auto; }
.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 24px 0;
}
.mobile-menu-header .nav-logo { height: 44px; }
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 32px;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
  opacity: 0.7;
  transition: opacity .2s;
}
.mobile-menu-close:hover { opacity: 1; }
.mobile-menu-links {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 36px;
  padding: 0;
  margin: 0;
}
.mobile-menu-links li { text-align: center; }
.mobile-menu-links a {
  font-size: 28px;
  font-weight: 500;
  color: #fff;
  position: relative;
  padding-bottom: 8px;
  transition: color .2s;
}
.mobile-menu-links a.active { color: #3B82F6; font-weight: 600; }
.mobile-menu-links a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 10%;
  right: 10%;
  height: 2px;
  background: #3B82F6;
  border-radius: 1px;
}
@media (min-width: 1025px) {
  .mobile-menu-overlay { display: none; }
}

/* ===== FOOTER ===== */
.site-footer { background: #000; border-top: 1px solid #1f2937; }
.footer-inner { max-width: 1440px; margin: 0 auto; padding: 60px 80px 40px; }
.footer-top { display: flex; justify-content: space-between; gap: 60px; padding-bottom: 40px; border-bottom: 1px solid #1f2937; }
.footer-brand { max-width: 360px; }
.footer-logo { height: 36px; margin-bottom: 16px; }
.footer-brand p { font-size: 14px; color: #9ca3af; line-height: 1.6; }
.footer-links { display: flex; gap: 80px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h5 { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.footer-col a { font-size: 14px; color: #9ca3af; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; }
.footer-bottom span { font-size: 13px; color: #4b5563; }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { font-size: 13px; color: #4b5563; transition: color .2s; }
.footer-legal a:hover { color: #9ca3af; }

/* ============================================
   TABLET — max-width: 1024px
   ============================================ */
@media (max-width: 1024px) {
  .nav {
    top: 16px;
    width: calc(100% - 40px);
    padding: 0 24px;
    height: 64px;
    border-radius: 32px;
  }
  .nav.nav-scrolled { top: 10px; }
  .nav-logo { height: 40px; }
  .nav-hamburger { display: flex; }
  .nav-menu { display: none; }

  .hero { min-height: auto; }
  .hero-content { padding: 120px 40px 60px; }
  .hero h1 { font-size: 40px; }
  .hero-sub { font-size: 15px; }

  .section { padding: 48px 40px; }
  .section h2 { font-size: 24px; }
  .section-sub { font-size: 15px; }

  .feature-section { padding-top: 56px; padding-bottom: 56px; }
  .feature-section h2 { font-size: 28px; }
  .feature-alt > .feature-row { padding-left: 40px; padding-right: 40px; }
  .feature-row { gap: 48px; }
  .feature-visual { flex: 0 0 440px; padding: 24px; }

  .cta-section { padding: 48px 40px; }
  .cta-box { padding: 48px 32px; }
  .cta-box h2 { font-size: 28px; }
}

/* ============================================
   MOBILE — max-width: 600px
   ============================================ */
@media (max-width: 600px) {
  .hero-content { padding: 110px 20px 40px; }
  .hero h1 { font-size: 32px; letter-spacing: -1px; }
  .hero-sub { font-size: 14px; }
  .badge { font-size: 11px; padding: 6px 12px; }

  .section { padding: 40px 20px; }
  .section h2 { font-size: 20px; }
  .section-sub { font-size: 13px; }

  .modules-grid { gap: 10px; }
  .module-pill { padding: 10px 16px; font-size: 13px; }
  .module-pill-icon { width: 20px; height: 20px; }

  .feature-section { padding-top: 40px; padding-bottom: 40px; }
  .feature-section h2 { font-size: 24px; }
  .feature-alt > .feature-row { padding-left: 20px; padding-right: 20px; }
  .feature-row, .feature-row.reverse { flex-direction: column; gap: 32px; }
  .feature-visual { flex: none; width: 100%; padding: 20px; }
  .feature-desc { font-size: 14px; }
  .feature-list li { font-size: 13px; }
  .tags { gap: 8px; }
  .tag { padding: 5px 14px; font-size: 12px; }

  .cta-section { padding: 40px 20px; }
  .cta-box { padding: 40px 20px; }
  .cta-box h2 { font-size: 24px; }
  .cta-group { flex-direction: column; gap: 12px; }
  .btn-primary, .btn-secondary { width: 100%; }

  .modal { padding: 32px 20px 28px; }
  .modal-title { font-size: 28px; }
  .modal-contact-row { grid-template-columns: 1fr; }

  .footer-inner { padding: 40px 20px 28px; }
  .footer-top { flex-direction: column; gap: 32px; }
  .footer-links { gap: 48px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}
