/* ==========================================================================
   STAYOS - Ultra-Modern Design System & Stylesheet
   Color Palette: Electric Sapphire (#054DF5), Dark Slate (#0B132B),
                  Emerald (#10B981), Amber (#F59E0B), Soft White (#F8FAFC)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  --primary: #054DF5;
  --primary-light: #2D6BFF;
  --primary-dark: #0039C7;
  --primary-glow: rgba(5, 77, 245, 0.28);
  --primary-gradient: linear-gradient(135deg, #054DF5 0%, #00B4D8 100%);
  
  --dark-bg: #070B14;
  --dark-surface: #0E1626;
  --dark-card: #131E33;
  --dark-border: rgba(255, 255, 255, 0.08);
  --dark-border-glow: rgba(5, 77, 245, 0.35);

  --accent-emerald: #10B981;
  --accent-emerald-glow: rgba(16, 185, 129, 0.25);
  --accent-amber: #F59E0B;
  --accent-amber-glow: rgba(245, 158, 11, 0.25);
  --accent-rose: #F43F5E;
  --accent-cyan: #06B6D4;

  --text-main: #0F172A;
  --text-muted: #64748B;
  --text-light: #94A3B8;
  --text-white: #FFFFFF;

  --bg-light: #F8FAFC;
  --card-light: #FFFFFF;
  --border-light: #E2E8F0;

  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 10px 30px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.12);
  --shadow-glow: 0 0 40px var(--primary-glow);
}

/* Reset & Base Setup */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-light);
  color: var(--text-main);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: all 0.2s ease;
}

a:hover {
  color: var(--primary-dark);
}

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Typography Helpers */
.gradient-text {
  background: linear-gradient(135deg, #054DF5 20%, #00B4D8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.gradient-text-light {
  background: linear-gradient(135deg, #FFFFFF 30%, #93C5FD 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-primary {
  background: rgba(5, 77, 245, 0.08);
  color: var(--primary);
  border: 1px solid rgba(5, 77, 245, 0.2);
}

.badge-emerald {
  background: rgba(16, 185, 129, 0.1);
  color: var(--accent-emerald);
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.badge-dark {
  background: rgba(255, 255, 255, 0.08);
  color: #E2E8F0;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--primary);
  color: var(--text-white);
  box-shadow: 0 10px 25px var(--primary-glow);
}

.btn-primary:hover {
  background: var(--primary-light);
  color: var(--text-white);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px var(--primary-glow);
}

.btn-secondary {
  background: #FFFFFF;
  color: var(--text-main);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: #F1F5F9;
  border-color: #CBD5E1;
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-main);
}

.btn-ghost:hover {
  background: rgba(0, 0, 0, 0.04);
}

.btn-dark {
  background: var(--dark-card);
  color: #FFFFFF;
  border: 1px solid var(--dark-border);
}

.btn-dark:hover {
  background: #1A2944;
  border-color: var(--primary-light);
  color: #FFFFFF;
  transform: translateY(-2px);
}

/* ==========================================================================
   NAVIGATION BAR
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(248, 250, 252, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  transition: all 0.3s ease;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-sm);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo img {
  height: 38px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.92rem;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--primary);
}

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

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-main);
  cursor: pointer;
}

/* Mobile Nav Drawer */
.mobile-nav {
  display: none;
  position: fixed;
  top: 76px;
  left: 0;
  right: 0;
  background: #FFFFFF;
  border-bottom: 1px solid var(--border-light);
  padding: 24px;
  box-shadow: var(--shadow-md);
  z-index: 999;
}

.mobile-nav.active {
  display: block;
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.mobile-nav-links a {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-main);
  display: block;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 160px 0 100px;
  background: radial-gradient(circle at 50% 0%, rgba(5, 77, 245, 0.08) 0%, rgba(248, 250, 252, 0) 70%);
  overflow: hidden;
}

.hero-glow-blob {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 450px;
  background: radial-gradient(circle, rgba(5, 77, 245, 0.15) 0%, rgba(0, 180, 216, 0.08) 50%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero-title {
  font-size: clamp(2.4rem, 5vw, 4.1rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 20px 0;
  color: #0B132B;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto 36px;
  font-weight: 400;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid rgba(226, 232, 240, 0.8);
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 1.8rem;
  font-weight: 800;
  color: #0B132B;
  display: block;
}

.stat-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ==========================================================================
   APP SHOWCASE & ECOSYSTEM SELECTOR
   ========================================================================== */
.showcase-section {
  padding: 100px 0;
  background: var(--dark-bg);
  color: #FFFFFF;
  position: relative;
}

.showcase-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
}

.showcase-header h2 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 16px 0;
}

.showcase-header p {
  color: var(--text-light);
  font-size: 1.1rem;
}

/* Custom Tabs */
.eco-toggle-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 50px;
}

.eco-tabs {
  display: inline-flex;
  background: var(--dark-surface);
  padding: 6px;
  border-radius: var(--radius-full);
  border: 1px solid var(--dark-border);
}

.eco-tab-btn {
  padding: 12px 28px;
  border-radius: var(--radius-full);
  border: none;
  background: transparent;
  color: var(--text-light);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  gap: 10px;
}

.eco-tab-btn.active {
  background: var(--primary);
  color: #FFFFFF;
  box-shadow: 0 4px 18px var(--primary-glow);
}

.eco-content-panel {
  display: none;
}

.eco-content-panel.active {
  display: block;
  animation: fadeIn 0.4s ease forwards;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.app-dual-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 50px;
  align-items: center;
}

.app-feature-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.feature-pill-card {
  background: var(--dark-surface);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-pill-card:hover {
  border-color: var(--primary-light);
  transform: translateX(6px);
  background: var(--dark-card);
}

.feature-pill-card .icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(5, 77, 245, 0.15);
  color: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 14px;
}

.feature-pill-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #FFFFFF;
}

.feature-pill-card p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.55;
}

/* Glass Interactive App Frame */
.app-screen-mockup {
  background: var(--dark-surface);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
  position: relative;
}

.mockup-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--dark-border);
}

.mockup-dots {
  display: flex;
  gap: 6px;
}

.mockup-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.mockup-dots span:nth-child(1) { background: #EF4444; }
.mockup-dots span:nth-child(2) { background: #F59E0B; }
.mockup-dots span:nth-child(3) { background: #10B981; }

.mockup-badge {
  font-size: 0.75rem;
  font-weight: 700;
  font-family: var(--font-mono);
  color: var(--primary-light);
  background: rgba(5, 77, 245, 0.15);
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

/* ==========================================================================
   FEATURE CARDS GRID
   ========================================================================== */
.features-section {
  padding: 110px 0;
  background: #FFFFFF;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 60px;
}

.section-header h2 {
  font-size: clamp(2rem, 3.5vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 16px 0;
  color: #0B132B;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

.feature-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.feature-card {
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  transform: translateY(-6px);
  background: #FFFFFF;
  border-color: rgba(5, 77, 245, 0.3);
  box-shadow: 0 20px 40px rgba(5, 77, 245, 0.08);
}

.feature-card .card-illustration {
  height: 140px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-card .card-illustration img {
  max-height: 130px;
  width: auto;
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #0B132B;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ==========================================================================
   INTERACTIVE TOOLS SECTION (Bed Matrix & ROI Calculator)
   ========================================================================== */
.tools-section {
  padding: 100px 0;
  background: #F1F5F9;
}

.tool-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.tool-box {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-md);
}

.tool-box h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: #0B132B;
  margin-bottom: 8px;
}

.tool-box p.tool-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

/* Bed Matrix Demo */
.matrix-filter-bar {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.matrix-btn {
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-light);
  background: var(--bg-light);
  cursor: pointer;
  transition: all 0.2s ease;
}

.matrix-btn.active {
  background: #0B132B;
  color: #FFFFFF;
  border-color: #0B132B;
}

.bed-room-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.bed-slot {
  border-radius: var(--radius-md);
  padding: 14px 10px;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 700;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.bed-slot.occupied {
  background: #EFF6FF;
  color: var(--primary);
  border-color: #BFDBFE;
}

.bed-slot.vacant {
  background: #ECFDF5;
  color: var(--accent-emerald);
  border-color: #A7F3D0;
}

.bed-slot.maintenance {
  background: #FFFBEB;
  color: var(--accent-amber);
  border-color: #FDE68A;
}

.bed-slot.reserved {
  background: #F1F5F9;
  color: #64748B;
  border-color: #CBD5E1;
}

/* Calculator Demo */
.calc-input-group {
  margin-bottom: 20px;
}

.calc-label-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #0B132B;
}

.calc-slider {
  width: 100%;
  height: 6px;
  border-radius: 4px;
  background: #E2E8F0;
  outline: none;
  -webkit-appearance: none;
  accent-color: var(--primary);
}

.calc-result-card {
  background: #0B132B;
  color: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.calc-res-val {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--accent-emerald);
}

.calc-res-lbl {
  font-size: 0.8rem;
  color: var(--text-light);
  font-weight: 600;
}

/* ==========================================================================
   PRICING PLANS
   ========================================================================== */
.pricing-section {
  padding: 110px 0;
  background: #FFFFFF;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s ease;
}

.pricing-card.featured {
  background: #0B132B;
  color: #FFFFFF;
  border-color: var(--primary-light);
  box-shadow: 0 20px 50px rgba(5, 77, 245, 0.2);
  transform: scale(1.03);
}

.pricing-card.featured h3,
.pricing-card.featured .price-amount {
  color: #FFFFFF;
}

.pricing-card.featured p,
.pricing-card.featured li {
  color: #CBD5E1;
}

.pricing-header h3 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: #0B132B;
}

.pricing-header p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.price-box {
  margin-bottom: 28px;
}

.price-amount {
  font-size: 2.6rem;
  font-weight: 800;
  color: #0B132B;
}

.price-period {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 600;
}

.pricing-features {
  list-style: none;
  margin-bottom: 36px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: #334155;
}

.pricing-features li svg {
  width: 18px;
  height: 18px;
  color: var(--accent-emerald);
  flex-shrink: 0;
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.faq-section {
  padding: 100px 0;
  background: var(--bg-light);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.2s ease;
}

.faq-card.open {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  padding: 20px 24px;
  font-weight: 700;
  font-size: 1.05rem;
  color: #0B132B;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-icon {
  font-size: 1.2rem;
  transition: transform 0.25s ease;
  color: var(--primary);
}

.faq-card.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 24px;
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.6;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-card.open .faq-answer {
  max-height: 250px;
  padding-bottom: 20px;
}

/* ==========================================================================
   CTA BANNER & CONTACT
   ========================================================================== */
.cta-section {
  padding: 100px 0;
  background: #0B132B;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.cta-box {
  background: linear-gradient(135deg, rgba(5, 77, 245, 0.25) 0%, rgba(14, 22, 38, 0.9) 100%);
  border: 1px solid rgba(5, 77, 245, 0.4);
  border-radius: var(--radius-xl);
  padding: 60px 48px;
  text-align: center;
  position: relative;
  z-index: 1;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.cta-box h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.cta-box p {
  color: #CBD5E1;
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto 36px;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: #070B14;
  color: #94A3B8;
  padding: 80px 0 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand p {
  margin-top: 16px;
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 320px;
}

.footer-col h4 {
  color: #FFFFFF;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  color: #94A3B8;
  font-size: 0.92rem;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: #FFFFFF;
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom a {
  color: #94A3B8;
}

/* ==========================================================================
   LEGAL & INNER CONTENT PAGES (Privacy, Terms, Support, Deletion)
   ========================================================================== */
.legal-page {
  padding: 140px 0 100px;
  background: var(--bg-light);
}

.legal-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  padding: 50px;
  box-shadow: var(--shadow-sm);
  max-width: 900px;
  margin: 0 auto;
}

.legal-header {
  border-bottom: 2px solid var(--border-light);
  padding-bottom: 24px;
  margin-bottom: 32px;
}

.legal-header h1 {
  font-size: 2.2rem;
  font-weight: 800;
  color: #0B132B;
  letter-spacing: -0.02em;
}

.legal-header .updated {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 6px;
}

.legal-content h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary);
  margin-top: 36px;
  margin-bottom: 12px;
}

.legal-content h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0B132B;
  margin-top: 20px;
  margin-bottom: 8px;
}

.legal-content p, .legal-content ul, .legal-content ol {
  color: #475569;
  font-size: 0.98rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

.legal-content ul, .legal-content ol {
  padding-left: 24px;
}

.legal-content li {
  margin-bottom: 8px;
}

.contact-card-box {
  background: rgba(5, 77, 245, 0.05);
  border: 1px solid rgba(5, 77, 245, 0.15);
  border-radius: var(--radius-md);
  padding: 24px;
  margin: 24px 0;
}

/* ==========================================================================
   RESPONSIVE DESIGN (Media Queries)
   ========================================================================== */
@media (max-width: 1024px) {
  .app-dual-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .feature-grid-3, .pricing-grid {
    grid-template-columns: 1fr 1fr;
  }
  .pricing-card.featured {
    transform: none;
  }
  .tool-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions .btn {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
  .feature-grid-3, .pricing-grid {
    grid-template-columns: 1fr;
  }
  .bed-room-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .calc-result-card {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .legal-card {
    padding: 28px 20px;
  }
}
