/* ============================================================================
   MODERN TOURISM WEBSITE - DESIGN SYSTEM
   Mobile-first, vibrant, fun for travelers
   ============================================================================ */

:root {
  color-scheme: light;
  /* Brand Palette */
  --primary: #0f766e;
  --primary-dark: #115e59;
  --primary-light: #14b8a6;
  --accent: #f97316;
  --accent-light: #ffedd5;
  --success: #06a77d;
  --info: #2196f3;
  --warning: #ffa500;
  --danger: #ff4444;
  
  /* Neutrals */
  --bg: #f8fafc;
  --bg-light: #ffffff;
  --text: #0f172a;
  --text-secondary: #334155;
  --border: #cbd5e1;
  --border-light: #e2e8f0;
  
  /* Spacing */
  --space-1: 0.5rem;
  --space-2: 0.75rem;
  --space-3: 1rem;
  --space-4: 1.25rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 2.75rem;
  --radius: 16px;
  --radius-lg: 24px;
  
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 8px 20px rgba(15, 23, 42, 0.1);
  --shadow-lg: 0 14px 30px rgba(15, 23, 42, 0.13);
  --shadow-xl: 0 20px 45px rgba(15, 23, 42, 0.16);
  
  /* Transitions */
  --transition: all 0.3s ease;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: linear-gradient(
    180deg,
    rgba(15, 118, 110, 0.08) 0%,
    rgba(20, 184, 166, 0.08) 40%,
    rgba(249, 115, 22, 0.09) 100%
  );
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

h1 { font-size: 2rem; margin-bottom: 0.5rem; }
h2 { font-size: 1.75rem; margin-bottom: 0.75rem; }
h3 { font-size: 1.375rem; margin-bottom: 0.5rem; }
h4 { font-size: 1.125rem; margin-bottom: 0.5rem; }

p {
  margin: 0;
  color: var(--text-secondary);
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
  outline: none;
}

a:hover { color: var(--primary-dark); }
a:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }

/* ============================================================================
   HEADER & NAVIGATION
   ============================================================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-2) var(--space-3);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  font-family: 'Sora', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text);
  white-space: nowrap;
  transition: var(--transition);
}

.brand:hover {
  transform: scale(1.02);
}

.brand-emoji {
  font-size: 1.5rem;
  display: inline-block;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-3px); }
}

/* Main Navigation */
.main-nav {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  flex: 1;
  justify-content: flex-end;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
  transition: var(--transition);
}

.nav-link:hover {
  background: rgba(15, 118, 110, 0.1);
  color: var(--primary);
}

.nav-link.icon-link {
  display: none;
}

.nav-link svg {
  width: 18px;
  height: 18px;
}

.logout-btn {
  border: none;
  background: transparent;
  cursor: pointer;
  font: inherit;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  padding: 0;
  flex-direction: column;
  gap: 5px;
  border: none;
  background: transparent;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.mobile-menu-toggle span {
  width: 24px;
  height: 2.5px;
  background: var(--text);
  border-radius: 999px;
  transition: var(--transition);
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: var(--space-1);
  padding: var(--space-3);
  background: var(--bg-light);
  border-top: 1px solid var(--border-light);
}

.mobile-menu.active {
  display: flex;
}

.mobile-menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 99;
}

.mobile-menu-overlay.active {
  display: block;
}

.mobile-nav-link {
  padding: 0.8rem 1rem;
  border: none;
  background: transparent;
  border-radius: 10px;
  font: inherit;
  cursor: pointer;
  color: var(--text-secondary);
  text-align: left;
  font-weight: 600;
  transition: var(--transition);
}

.mobile-nav-link:hover {
  background: var(--border-light);
  color: var(--primary);
}

.mobile-nav-link.highlighted {
  background: var(--primary);
  color: white;
}

.mobile-nav-link.danger {
  color: var(--danger);
}

.mobile-lang-form {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
}

.mobile-lang-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
}

.mobile-lang-form select {
  width: 100%;
  padding: 0.6rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg-light);
  color: var(--text);
  font-family: inherit;
  font-weight: 600;
}

/* ============================================================================
   BUTTONS
   ============================================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.25rem;
  border: none;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  white-space: nowrap;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  outline: none;
}

.btn:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: white;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-primary:active {
  transform: translateY(0px);
}

.btn-secondary {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-secondary:hover {
  background: var(--primary);
  color: white;
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  border-color: transparent;
  color: white;
}

.btn-lg {
  padding: 0.8rem 1.6rem;
  font-size: 1rem;
}

.btn-sm {
  padding: 0.4rem 0.8rem;
  font-size: 0.875rem;
}

/* ============================================================================
   MAIN CONTENT
   ============================================================================ */

main {
  flex: 1;
  padding: var(--space-4) var(--space-3) var(--space-6);
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

/* ============================================================================
   HERO SECTION
   ============================================================================ */

.hero-wrap {
  position: relative;
  overflow: hidden;
}

#home-app {
  margin-top: calc(-1 * var(--space-4));
}

#city-vue-app {
  margin-top: calc(-1 * var(--space-4));
}

.full-bleed-home {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-inline: var(--space-3);
}

.hero-bg-shape {
  position: absolute;
  border-radius: 999px;
  filter: blur(60px);
  opacity: 0.2;
  z-index: 0;
}

.shape-1 {
  width: 300px;
  height: 300px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  top: -100px;
  right: -80px;
  animation: drift 8s ease-in-out infinite;
}

.shape-2 {
  width: 400px;
  height: 400px;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  bottom: -150px;
  left: -100px;
  animation: drift-reverse 10s ease-in-out infinite;
}

.shape-3 {
  width: 250px;
  height: 250px;
  background: linear-gradient(135deg, var(--primary-light), var(--accent));
  top: 50%;
  right: 10%;
  animation: drift 12s ease-in-out infinite;
}

@keyframes drift {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(20px, 20px); }
}

@keyframes drift-reverse {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-20px, -20px); }
}

.hero {
  position: relative;
  z-index: 1;
  padding: var(--space-6) 0 var(--space-5);
  text-align: center;
  animation: slideUp 0.8s ease-out;
}

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

.eyebrow {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.hero h1 {
  font-size: 2.25rem;
  line-height: 1.1;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 55%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.lead {
  font-size: 1.05rem;
  max-width: 50ch;
  margin: 0 auto var(--space-5);
  color: var(--text-secondary);
  line-height: 1.6;
}

.dynamic {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--accent);
  min-height: 1.8rem;
  margin: 1rem 0 1.5rem;
  animation: fadeInOut 4s ease-in-out infinite;
}

@keyframes fadeInOut {
  0%, 100% { opacity: 1; }
  45%, 55% { opacity: 0.5; }
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: center;
  margin-top: var(--space-5);
}

/* ============================================================================
   CITIES SECTION
   ============================================================================ */

.cities-section {
  margin: var(--space-7) 0 var(--space-6);
  position: relative;
  z-index: 1;
}

.section-header {
  margin-bottom: var(--space-5);
  text-align: center;
}

.section-header h2 {
  margin-bottom: 0.5rem;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 50ch;
  margin: 0 auto;
}

.search-wrapper {
  position: relative;
  margin-bottom: var(--space-5);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.75rem 1rem;
  background: var(--bg-light);
  border: 2px solid var(--border-light);
  border-radius: 999px;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.search-wrapper:focus-within {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.search-wrapper svg {
  width: 20px;
  height: 20px;
  color: var(--text-secondary);
  flex-shrink: 0;
}

.search {
  flex: 1;
  border: none;
  background: transparent;
  font: inherit;
  font-weight: 600;
}

.search:focus {
  outline: none;
}

.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  animation: staggerIn 0.6s ease-out;
}

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

.city-card {
  display: block;
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: var(--space-5);
  transition: var(--transition);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.city-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.city-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
}

.city-card:hover::before {
  transform: scaleX(1);
}

.city-card p {
  margin: 0.3rem 0;
  font-size: 0.95rem;
}

.city-card small {
  color: var(--text-secondary);
  font-size: 0.85rem;
}

/* ============================================================================
   FEATURES SECTION
   ============================================================================ */

.features-section {
  margin: var(--space-7) 0 var(--space-6);
  padding: var(--space-6) 0;
  position: relative;
  z-index: 1;
}

.features-section h2 {
  text-align: center;
  margin-bottom: var(--space-6);
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}

.feature-card {
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: var(--space-6) var(--space-5);
  text-align: center;
  transition: var(--transition);
  position: relative;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 0.8rem;
  display: inline-block;
}

.feature-card h3 {
  color: var(--text);
  margin-bottom: 0.7rem;
}

.feature-card p {
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ============================================================================
   STATS SECTION
   ============================================================================ */

.stats-section {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
  margin: var(--space-6) 0;
  padding: var(--space-5);
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: var(--radius-lg);
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1), transparent 50%);
  pointer-events: none;
}

.stat-box {
  background: rgba(255, 255, 255, 0.1);
  padding: 1.2rem;
  border-radius: var(--radius);
  text-align: center;
  backdrop-filter: blur(10px);
  color: white;
  transition: var(--transition);
}

.stat-box:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.stat-box p {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  font-size: 0.95rem;
}

/* ============================================================================
   CTA SECTION
   ============================================================================ */

.cta-section {
  margin: var(--space-7) 0 var(--space-6);
  padding: var(--space-7) var(--space-5);
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 46%, var(--accent) 74%, var(--accent-light) 100%);
  border-radius: var(--radius-lg);
  text-align: center;
  color: white;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1), transparent);
}

.cta-section h2 {
  color: white;
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 1;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: center;
  position: relative;
  z-index: 1;
}

/* ============================================================================
   FOOTER
   ============================================================================ */

.site-footer {
  background: linear-gradient(180deg, #0f172a 0%, #134e4a 58%, #0f766e 100%);
  color: white;
  padding: var(--space-7) var(--space-3) var(--space-3);
  margin-top: auto;
  position: relative;
  z-index: 1;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  margin-bottom: var(--space-6);
}

.footer-section {
  animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
 from { opacity: 0; }
  to { opacity: 1; }
}

.footer-brand {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-brand span {
  font-size: 1.5rem;
}

.footer-desc {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  margin-bottom: 1rem;
  max-width: 35ch;
}

.footer-socials {
  display: flex;
  gap: 1rem;
}

.footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  font-size: 1.2rem;
  transition: var(--transition);
  color: white;
  text-decoration: none;
}

.footer-socials a:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.footer-section h4 {
  color: white;
  font-size: 1rem;
  margin-bottom: 1rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-section h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 999px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: var(--space-2);
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
  transition: var(--transition);
}

.footer-links a:hover {
  color: white;
  padding-left: 0.3rem;
}

.footer-lang-form select {
  width: 100%;
  padding: 0.6rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
}

.footer-lang-form select:hover,
.footer-lang-form select:focus {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

.footer-lang-form select option {
  background: #0a1428;
  color: white;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  margin: 0.3rem 0;
}

.footer-tagline {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8) !important;
  margin-top: 0.5rem;
}

/* ============================================================================
   MESSAGES & ALERTS
   ============================================================================ */

.messages {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-3) var(--space-3);
  animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.message {
  border-radius: var(--radius);
  padding: var(--space-4);
  margin-bottom: var(--space-2);
  background: linear-gradient(135deg, #eef0ff 0%, #fff3ff 100%);
  border-left: 4px solid var(--primary);
  font-weight: 500;
  color: var(--text);
}

.message.error {
  background: linear-gradient(135deg, #ffebee 0%, #fce4ec 100%);
  border-left-color: var(--danger);
}

.message.success {
  background: linear-gradient(135deg, #e8f5e9 0%, #f1f8e9 100%);
  border-left-color: var(--success);
}

.message.warning {
  background: linear-gradient(135deg, #fff3e0 0%, #fffde7 100%);
  border-left-color: var(--warning);
}

/* ============================================================================
   RESPONSIVE DESIGN - TABLET
   ============================================================================ */

@media (min-width: 640px) {
  .main-nav { gap: 1rem; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: 2.75rem; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================================
   RESPONSIVE DESIGN - DESKTOP
   ============================================================================ */

@media (min-width: 1024px) {
  .site-header {
    position: sticky;
    top: 0;
  }

  .nav-link.icon-link {
    display: flex;
  }

  .main-nav {
    gap: 0.25rem;
  }

  .mobile-menu-toggle {
    display: none !important;
  }

  .hero h1 { font-size: 3.5rem; }
  .hero { padding: 3rem 0 2rem; }

  .grid { grid-template-columns: repeat(3, 1fr); }
  .features-grid { grid-template-columns: repeat(3, 1fr); }
  .stats-section { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: repeat(5, 1fr); }

  main { padding: 2rem 1rem 2.5rem; }
  #city-vue-app { margin-top: -2rem; }

  .hero-actions { margin-top: 2.5rem; }
  .cta-buttons { justify-content: center; }
}

/* ============================================================================
   PLANS PAGE
   ============================================================================ */

.plans {
  padding: var(--space-4) 0 var(--space-6);
}

.plans-header {
  text-align: center;
  margin-bottom: var(--space-7);
}

.plans-header h1 {
  margin-bottom: 0.5rem;
}

.plans-header .lead {
  margin: 0 auto;
}

.plans-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  margin-bottom: var(--space-7);
}

.plan-card {
  position: relative;
  border: 2px solid var(--border-light);
  transition: var(--transition);
  overflow: visible;
}

.plan-card.highlighted {
  border-color: var(--primary);
  box-shadow: 0 20px 50px rgba(99, 103, 255, 0.18);
  transform: scale(1.02);
}

.plan-badge {
  position: absolute;
  top: -14px;
  right: 20px;
  background: var(--primary);
  color: white;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.plan-card h2 {
  margin-bottom: 0.3rem;
}

.price {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary);
  margin: 0.5rem 0;
}

.price .period {
  font-size: 0.75rem;
  color: var(--text-secondary);
  font-weight: 400;
}

.plan-desc {
  color: var(--text-secondary);
  margin-bottom: 1.2rem;
  font-size: 0.95rem;
}

.plan-features {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0;
  text-align: left;
}

.plan-features li {
  padding: 0.4rem 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.plan-card .btn {
  width: 100%;
  margin-top: 1rem;
}

.plan-subscribe-form {
  display: grid;
  gap: 0.7rem;
}

.plan-select-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.plan-select {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  color: var(--text);
  padding: 0.72rem 0.8rem;
  font-family: inherit;
}

/* Benefits Section */
.benefits-section {
  margin: var(--space-7) 0;
  padding: var(--space-6) var(--space-4);
  background: var(--bg-light);
  border-radius: var(--radius-lg);
}

.benefits-section h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}

.benefit-item {
  background: white;
  padding: var(--space-5);
  border-radius: var(--radius);
  border-left: 4px solid var(--primary);
  transition: var(--transition);
}

.benefit-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

.benefit-item h3 {
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.benefit-item p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* FAQ Section */
.faq-section {
  margin-top: 2rem;
  background: var(--bg-light);
}

.faq-items {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
}

.faq-items details {
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--border-light);
  cursor: pointer;
}

.faq-items details:last-child {
  border-bottom: none;
}

.faq-items summary {
  font-weight: 700;
  color: var(--primary);
  user-select: none;
  outline: none;
  padding: 0.5rem 0;
  transition: var(--transition);
}

.faq-items summary:hover {
  color: var(--primary-dark);
}

.faq-items summary:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  border-radius: 4px;
}

.faq-items p {
  color: var(--text-secondary);
  margin-top: var(--space-2);
  padding-left: 0;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ============================================================================
   INFO PAGES
   ============================================================================ */

.info-page {
  padding: var(--space-4) 0 var(--space-6);
  max-width: 920px;
  margin: 0 auto;
}

.info-header {
  text-align: center;
  margin-bottom: var(--space-6);
}

.info-card {
  margin-bottom: var(--space-4);
  cursor: default;
}

.info-card:hover {
  transform: none;
}

.info-card h2 {
  margin-bottom: 0.7rem;
}

/* Responsive Plans Grid */
@media (min-width: 640px) {
  .plans-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .plan-card.highlighted {
    grid-column: span 2;
  }
  
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================================================
   AUTH FORMS
   ============================================================================ */

.auth-shell {
  min-height: 70vh;
  display: grid;
  place-items: center;
  padding: 0.5rem 0 1.2rem;
}

.auth-card {
  width: min(100%, 540px);
  background: #ffffff;
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.4rem;
  box-shadow: var(--shadow-lg);
}

.auth-eyebrow {
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.74rem;
  font-weight: 800;
}

.auth-card h1 {
  margin-top: 0.4rem;
  margin-bottom: 0.5rem;
}

.auth-subtitle {
  margin-bottom: 1.1rem;
}

.auth-form {
  display: grid;
  gap: 0.95rem;
}

.form-field {
  display: grid;
  gap: 0.35rem;
}

.form-field label {
  font-size: 0.88rem;
  color: var(--text-secondary);
  font-weight: 700;
}

.auth-input {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  padding: 0.78rem 0.85rem;
  font-family: inherit;
  font-size: 0.95rem;
}

.auth-input:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.2);
}

.auth-card .ql-editor {
  min-height: 8rem;
}

.wysiwyg-shell {
  border: 0 !important;
  border-radius: 0 !important;
  overflow: visible !important;
  background: transparent;
}

.wysiwyg-shell .ql-editor {
  min-height: 4.5rem;
}

.auth-card .ql-toolbar.ql-snow {
  position: sticky;
  top: 72px;
  z-index: 30;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 0;
}

.auth-card .ql-container.ql-snow {
  border: 1px solid var(--border);
  border-top: 0;
  border-radius: 0 0 12px 12px;
}

.field-errors {
  margin-top: 0.12rem;
  color: #b42318;
  font-size: 0.85rem;
}

.field-help {
  color: var(--text-secondary);
  font-size: 0.8rem;
}

.warning-card {
  border-color: rgba(220, 38, 38, 0.35);
  background: linear-gradient(180deg, rgba(254, 242, 242, 0.88), #fff);
}

.warning-eyebrow {
  color: #b91c1c;
}

.form-note {
  margin-top: 0.7rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.account-role-block {
  margin: 0.65rem 0 1rem;
  padding: 0.85rem;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  background: #f8faff;
}

.account-role-title {
  margin: 0 0 0.5rem;
  font-size: 0.86rem;
  font-weight: 700;
  color: #334155;
}

.account-role-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.account-role {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.33rem 0.62rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  border: 1px solid transparent;
}

.account-role small {
  font-size: 0.72rem;
  font-weight: 600;
  opacity: 0.9;
}

.account-role-pro {
  color: #1d4ed8;
  border-color: #bfdbfe;
  background: #eff6ff;
}

.account-role-plus {
  color: #7c2d12;
  border-color: #fed7aa;
  background: #fff7ed;
}

.account-role-partner {
  color: #166534;
  border-color: #bbf7d0;
  background: #f0fdf4;
}

.account-role-free {
  color: #475569;
  border-color: #cbd5e1;
  background: #f8fafc;
}

.auth-alt {
  margin-top: 1rem;
  text-align: center;
  font-size: 0.92rem;
}

.w-100 {
  width: 100%;
}

@media (min-width: 768px) {
  .auth-card {
    padding: 1.8rem;
  }
}

@media (min-width: 1024px) {
  .plans-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .plan-card.highlighted {
    grid-column: span 1;
  }
  
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================================================
   CITY GUIDE
   ============================================================================ */

.city-page {
  --city-primary: var(--primary);
  --city-secondary: var(--primary-light);
  --city-accent: var(--accent);
  --city-soft: var(--accent-light);
}

.city-page {
  display: grid;
  gap: 1.5rem;
}

.city-content-block {
  display: grid;
  gap: 0.85rem;
  margin-top: 0.35rem;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--border-light);
  border-radius: 18px;
  padding: 1.1rem;
  box-shadow: var(--shadow-sm);
}

.full-bleed {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.city-hero {
  position: relative;
  overflow: hidden;
  border-radius: 0;
  padding: 2.75rem 1.25rem;
  margin-bottom: 0;
  color: #fff;
  background: linear-gradient(135deg, var(--city-primary), var(--city-secondary));
  background-size: cover;
  background-position: center;
}

.city-hero-media {
  margin-top: -1.25rem;
  background: #080b1a;
}

.city-hero-media-video {
  display: block;
  width: 100%;
  min-height: 240px;
  max-height: 72vh;
  object-fit: cover;
}

.city-hero h1 {
  color: #fff;
  margin-bottom: 0.8rem;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.city-hero-description,
.city-hero-description p,
.city-hero-description li {
  color: rgba(255, 255, 255, 0.96);
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.city-hero-socials {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.city-page h2 {
  margin: 0;
}

.city-map-section {
  background: #fff;
  padding: 1rem 0 0;
}

.city-map-section h2 {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.city-map-section iframe {
  width: 100%;
  min-height: 320px;
  border: 0;
  border-radius: 0;
}

.city-updates-section {
  margin-top: 0.35rem;
}

.city-update-item {
  padding: 1rem;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  background: #fff;
  margin-bottom: 0.8rem;
}

.city-update-item h3 {
  margin-bottom: 0.45rem;
}

.city-update-meta {
  font-size: 0.8rem;
  color: var(--text-secondary);
  text-transform: capitalize;
}

.city-announcement {
  border: 1px solid var(--border-light);
  background: #fff;
  border-radius: 12px;
  padding: 0.9rem;
  margin-top: 0.8rem;
  display: grid;
  gap: 0.4rem;
}

.city-announcement.highlighted {
  border-color: var(--city-primary);
  background: #eef0ff;
}

.dashboard {
  display: grid;
  gap: 1.25rem;
}

.dashboard-header h1 {
  margin-bottom: 0.35rem;
}

.panel-metrics {
  margin-top: 0.25rem;
}

.panel-chart-wrap h2 {
  margin-bottom: 0.8rem;
}

.dashboard-section {
  display: grid;
  gap: 0.7rem;
}

.dashboard-section h2 {
  margin: 0;
}

.dashboard-list {
  list-style: none;
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
}

.dashboard-list li {
  padding: 0.55rem 0.65rem;
  border: 1px solid var(--border-light);
  border-radius: 10px;
  background: #fff;
}

.btn.ghost {
  background: #ffffff;
  border: 2px solid var(--city-primary);
  color: var(--text);
}

.btn.ghost:hover {
  background: var(--city-primary);
  color: #fff;
}

.btn-danger {
  border: 1px solid #dc2626;
  background: #dc2626;
  color: #fff;
}

.btn-danger:hover {
  background: #b91c1c;
  border-color: #b91c1c;
}

/* ============================================================================
   ADMIN PANEL
   ============================================================================ */

.admin-panel {
  display: grid;
  gap: var(--space-6);
}

.admin-panel-header p {
  margin-top: 0.4rem;
}

.admin-metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--space-3);
}

.admin-metric-card {
  display: grid;
  gap: 0.35rem;
  padding: var(--space-4);
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  background: var(--bg-light);
  box-shadow: var(--shadow-sm);
  color: var(--text);
}

.admin-metric-card:hover {
  transform: translateY(-3px);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.admin-metric-card.highlight {
  background: linear-gradient(135deg, rgba(99, 103, 255, 0.12), rgba(201, 190, 255, 0.22));
}

.admin-metric-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.admin-metric-value {
  font-size: 2rem;
  line-height: 1;
}

.admin-metric-card small {
  color: var(--primary-dark);
  font-weight: 600;
}

.admin-charts-grid,
.admin-lists-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}

.admin-list {
  list-style: none;
  margin-top: var(--space-3);
  padding: 0;
  display: grid;
  gap: var(--space-2);
}

.admin-list li {
  display: grid;
  gap: 0.2rem;
  padding: var(--space-2);
  border-radius: 10px;
  background: rgba(99, 103, 255, 0.06);
}

.admin-list span {
  color: var(--text-secondary);
  font-size: 0.92rem;
}

@media (min-width: 1024px) {
  .admin-charts-grid,
  .admin-lists-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================================================
   ERROR PAGES (404, 500)
   ============================================================================ */

.error-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  padding: 2rem 0;
  position: relative;
  overflow: hidden;
}

.error-container {
  max-width: 600px;
  text-align: center;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  animation: slideUp 0.8s ease-out;
}

.error-visual {
  position: relative;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.error-code {
  font-size: 8rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  position: relative;
  z-index: 2;
  text-shadow: 0 10px 30px rgba(0, 102, 204, 0.2);
}

.error-shapes {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  z-index: 1;
}

.error-shapes .shape {
  position: absolute;
  border-radius: 999px;
  filter: blur(40px);
  opacity: 0.15;
}

.error-shapes .shape-1 {
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  top: -50px;
  left: -50px;
  animation: drift 8s ease-in-out infinite;
}

.error-shapes .shape-2 {
  width: 150px;
  height: 150px;
  background: linear-gradient(135deg, var(--accent), var(--primary-dark));
  bottom: -40px;
  right: -30px;
  animation: drift-reverse 10s ease-in-out infinite;
}

.error-shapes .shape-3 {
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, #06a77d, #2196f3);
  top: 50%;
  right: 10%;
  animation: drift 12s ease-in-out infinite;
}

.error-content {
  position: relative;
  z-index: 2;
}

.error-content h1 {
  font-size: 2rem;
  margin-bottom: 0.8rem;
  color: var(--text);
}

.error-message {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 50ch;
  margin: 0 auto 1.5rem;
}

.error-suggestions {
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin: 1.5rem 0;
}

.suggestion-title {
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.suggestion-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.8rem;
}

.suggestion-list li {
  margin: 0;
}

.suggestion-list a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.2rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  box-shadow: var(--shadow-md);
}

.suggestion-list a:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.error-contact {
  padding: 1rem;
  background: rgba(0, 102, 204, 0.05);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius);
}

.error-contact p {
  margin: 0.3rem 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.error-contact .small-text {
  color: var(--text);
  font-size: 1rem;
  margin-top: 0.5rem;
}

/* Responsive error pages */
@media (max-width: 640px) {
  .error-code {
    font-size: 5rem;
  }
  
  .error-content h1 {
    font-size: 1.5rem;
  }
  
  .error-visual {
    height: 150px;
  }
}

/* ============================================================================
   UTILITY CLASSES
   ============================================================================ */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.text-center { text-align: center; }
.text-muted { color: var(--text-secondary); }
.text-primary { color: var(--primary); }
.text-accent { color: var(--accent); }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }

/* ============================================================================
   ACCESSIBLE FOCUS STATES
   ============================================================================ */

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* ============================================================================
   PRINT STYLES
   ============================================================================ */

@media print {
  .mobile-menu-toggle,
  .site-header,
  .site-footer,
  .no-print {
    display: none;
  }
}
