/* ========================================
   ZarrinHost - Premium Hosting Website
   RTL Persian Stylesheet
   ======================================== */

/* CSS Variables */
:root {
  --brand: #0d9488;
  --brand-light: #2dd4bf;
  --brand-dark: #0f766e;
  --surface: #09090b;
  --surface-elevated: #18181b;
  --surface-card: rgba(24, 24, 27, 0.6);
  --text-primary: #f4f4f5;
  --text-secondary: #a1a1aa;
  --text-muted: #71717a;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.15);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow-brand: 0 10px 40px -10px rgba(13, 148, 136, 0.3);
  --shadow-card: 0 4px 24px -8px rgba(0, 0, 0, 0.4);
  --max-width: 1280px;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Vazirmatn', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  direction: rtl;
  background-color: var(--surface);
  color: var(--text-primary);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input, textarea {
  font-family: inherit;
}

::selection {
  background: rgba(13, 148, 136, 0.3);
  color: var(--brand-light);
}

/* Utility Classes */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section {
  padding: 5rem 0;
}

.section-title {
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1rem;
  line-height: 1.4;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1rem;
  max-width: 600px;
}

/* Navigation */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
  background: rgba(9, 9, 11, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--text-primary);
}

.logo-icon {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  box-shadow: 0 4px 16px -4px rgba(13, 148, 136, 0.35);
}

.logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 2px;
}

.logo-icon span {
  color: var(--surface);
  font-size: 0.85rem;
  font-weight: 700;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 500;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--brand-light);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  right: 0;
  width: 100%;
  height: 2px;
  background: var(--brand);
  border-radius: 2px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  transition: var(--transition);
}

.btn-primary {
  background: var(--brand);
  color: var(--surface);
  box-shadow: var(--shadow-brand);
  border: 1px solid var(--brand);
}

.btn-primary:hover {
  background: var(--brand-light);
  transform: translateY(-1px);
  box-shadow: 0 12px 48px -10px rgba(13, 148, 136, 0.4);
}

.btn-secondary {
  background: var(--surface-elevated);
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-strong);
}

.btn-light {
  background: #f4f4f5;
  color: #18181b;
  font-weight: 600;
}

.btn-light:hover {
  background: #ffffff;
}

.btn-large {
  padding: 0.85rem 2rem;
  font-size: 1rem;
}

/* Hero Section */
.hero {
  position: relative;
  padding: 4rem 0 5rem;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(13, 148, 136, 0.12), transparent 50%);
  pointer-events: none;
}

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

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.85rem;
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  border-radius: 9999px;
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.badge-dot {
  width: 6px;
  height: 6px;
  background: var(--brand);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 1.25rem;
  color: var(--text-primary);
}

.hero-title span {
  color: var(--brand-light);
}

.hero-description {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 2rem;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

/* Hero Image */
.hero-image {
  margin-top: 3rem;
}

.hero-image img {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  opacity: 0.9;
}

/* Feature Cards */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.feature-card {
  padding: 2rem;
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: var(--transition);
}

.feature-card:hover {
  border-color: rgba(13, 148, 136, 0.35);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--surface-elevated);
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
  transition: var(--transition);
}

.feature-card:hover .feature-icon {
  background: rgba(13, 148, 136, 0.15);
  color: var(--brand-light);
}

.feature-icon svg {
  width: 24px;
  height: 24px;
}

.feature-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.feature-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* About Section */
.about-section {
  background: rgba(9, 9, 11, 0.7);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.about-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.about-item {
  display: flex;
  gap: 1rem;
}

.about-bullet {
  width: 20px;
  height: 20px;
  min-width: 20px;
  background: rgba(13, 148, 136, 0.2);
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-top: 0.25rem;
}

.about-bullet::after {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--brand);
  border-radius: 50%;
}

.about-item h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
}

.about-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.about-image {
  position: relative;
}

.about-image::before {
  content: '';
  position: absolute;
  inset: -20px;
  background: rgba(13, 148, 136, 0.1);
  filter: blur(60px);
  border-radius: 50%;
  z-index: -1;
}

.about-image img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

/* Stats */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.stat-card {
  padding: 1.5rem;
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-align: center;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--brand-light);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* Contact Section */
.contact-wrapper {
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.contact-info {
  padding: 2.5rem;
  background: rgba(13, 148, 136, 0.06);
  border-bottom: 1px solid var(--border);
}

.contact-info h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.contact-info > p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.contact-icon {
  width: 40px;
  height: 40px;
  background: var(--surface-elevated);
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  color: var(--brand-light);
}

.contact-icon svg {
  width: 20px;
  height: 20px;
}

.contact-form {
  flex: 1;
  padding: 2.5rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.8rem;
  color: var(--text-muted);
  padding-right: 0.25rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
  font-family: inherit;
}

.form-group select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
}

.form-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 1rem;
}

.form-error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

/* Starter Panel Promo */
.starter-card {
  position: relative;
  background: linear-gradient(135deg, rgba(13, 148, 136, 0.12), var(--surface-elevated) 60%);
  border: 1px solid rgba(13, 148, 136, 0.3);
  border-radius: var(--radius-xl);
  padding: 3rem 2rem;
  text-align: center;
  overflow: hidden;
}

.starter-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(45, 212, 191, 0.15), transparent 60%);
  pointer-events: none;
}

.starter-content {
  position: relative;
  max-width: 620px;
  margin: 0 auto;
}

.starter-content .badge {
  background: rgba(13, 148, 136, 0.12);
  border-color: rgba(13, 148, 136, 0.3);
  color: var(--brand-light);
}

.starter-content h2 {
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.starter-content p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}

/* Page Header */
.page-header {
  padding: 4rem 0 3rem;
  text-align: center;
  position: relative;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(13, 148, 136, 0.1), transparent 50%);
  pointer-events: none;
}

.page-header-content {
  position: relative;
  z-index: 1;
}

.page-header h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 600;
  margin-bottom: 1rem;
}

.page-header p {
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* Values */
.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.value-card {
  padding: 2rem;
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.value-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.value-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* Footer */
.footer {
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
}

.footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--text-muted);
}

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

.footer-copy {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ===== سکشن نماد اعتماد الکترونیکی (اینماد) ===== */
.trust-section {
  padding: 5.5rem 0 6rem;
  text-align: center;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(13, 148, 136, 0.06), transparent 70%),
    transparent;
}

.trust-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: var(--brand);
  margin-bottom: 1.4rem;
}

.trust-ornament .ornament-line {
  width: 72px;
  height: 1px;
  background: linear-gradient(to left, transparent, var(--brand), transparent);
  opacity: 0.6;
}

.trust-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 0.6rem;
}

.trust-subtitle {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0 0 2.4rem;
}

.enamad-card {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
  padding: 2rem 3rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 16px;
  position: relative;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

/* خط طلایی ظریف بالای کارت — حس کلاسیک */
.enamad-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 24%;
  left: 24%;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(to left, transparent, #d9a441, transparent);
}

.enamad-card:hover {
  border-color: rgba(13, 148, 136, 0.5);
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.enamad-frame {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.1rem 1.5rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
}

.enamad-frame img {
  height: 96px;
  width: auto;
  display: block;
}

@media (max-width: 600px) {
  .trust-section {
    padding: 4rem 0;
  }
  .trust-title {
    font-size: 1.3rem;
  }
  .enamad-card {
    padding: 1.5rem 2.2rem;
  }
  .enamad-frame img {
    height: 78px;
  }
}

/* Mobile Menu Toggle */
.mobile-menu-btn {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: var(--transition);
}

/* Responsive */
@media (min-width: 640px) {
  .hero-actions {
    flex-direction: row;
    justify-content: center;
  }

  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }

  .mobile-menu-btn {
    display: none;
  }

  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .about-grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact-wrapper {
    flex-direction: row;
  }

  .contact-info {
    width: 40%;
    border-bottom: none;
    border-left: 1px solid var(--border);
  }

  .form-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .values-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}


/* --- Responsive refinements --- */
img { max-width: 100%; height: auto; }
@media (max-width: 900px) {
  .about-grid, .hero-grid, .contact-grid { grid-template-columns: 1fr !important; }
}
@media (max-width: 640px) {
  .container { padding-left: 1rem; padding-right: 1rem; }
  .nav-links { gap: 0.75rem; font-size: 0.85rem; }
  /* Login button stays visible on mobile — compact so it fits next to logo + hamburger */
  .navbar .btn { padding: 0.5rem 0.8rem; font-size: 0.78rem; }
  .navbar .btn svg { display: none; }
  h1 { font-size: 2rem !important; }
  .section-title { font-size: 1.5rem !important; }
  .stats-grid, .feature-grid, .values-grid { grid-template-columns: 1fr !important; }
}

html, body { overflow-x: hidden; max-width: 100%; }

/* Mobile navbar: hamburger next to logo on the right, dropdown menu */
@media (max-width: 767px) {
  .navbar .container {
    justify-content: flex-start;
    gap: 1rem;
  }

  /* Login button sits at the far LEFT of the top bar on mobile */
  .navbar .btn { margin-inline-start: auto; }

  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    right: 0;
    left: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    background: var(--surface-elevated);
    border-bottom: 1px solid var(--border);
    padding: 1.25rem;
    z-index: 99;
  }

  .nav-links.open {
    display: flex;
  }

  .mobile-menu-btn span {
    transition: var(--transition);
  }

  .mobile-menu-btn.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

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

  .mobile-menu-btn.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}

/* =========================================================
   Header dropdown: همه پلن‌ها (works in .navbar and .host-menu)
   ========================================================= */
.nav-drop { position: relative; display: flex; flex-direction: column; }
.nav-drop-toggle { display: inline-flex; align-items: center; gap: 0.4rem; }
.nav-drop-toggle svg { transition: transform 0.2s; }
.nav-drop:hover .nav-drop-toggle svg,
.nav-drop:focus-within .nav-drop-toggle svg,
.nav-drop.open .nav-drop-toggle svg { transform: rotate(180deg); }

/* Desktop: a wide rectangular mega-menu that drops DOWN from the header.
   Left: teal gradient panel with a server illustration. Right: 2-column grid
   of services with icons. Hover-bridge keeps it open while moving the mouse. */
.drop-panel {
  position: fixed;
  top: 76px;
  left: 24px;
  right: 24px;
  width: auto;
  max-height: calc(100vh - 96px);
  overflow: hidden;
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  text-align: right;
  z-index: 220;
  display: flex;
}
.nav-drop:hover .drop-panel,
.nav-drop:focus-within .drop-panel,
.nav-drop.open .drop-panel { opacity: 1; visibility: visible; transform: translateY(0); }

/* Backdrop blur overlay behind the full-width mega-menu */
.drop-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(9, 9, 11, 0.5);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  z-index: 210;
}
.nav-drop:hover .drop-backdrop,
.nav-drop:focus-within .drop-backdrop,
.nav-drop.open .drop-backdrop { opacity: 1; visibility: visible; }

@media (max-width: 767px) {
  .drop-backdrop { display: none; }
}
@media (max-width: 700px) {
  .drop-backdrop { display: none; }
}

/* Full-width inner wrapper — visual panel bleeds edge-to-edge (no padding) */
.drop-panel-inner {
  width: 100%;
  max-width: none;
  margin: 0 auto;
  display: flex;
  padding: 0;
}

/* Right: services grid (order 1 = right side in RTL) */
.drop-grid {
  order: 1;
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.15rem;
  padding: 1.5rem 1.25rem;
  align-content: start;
}
.drop-grid a {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 0.75rem;
  border-radius: 10px;
  transition: 0.16s;
}
.drop-grid a:hover { background: rgba(13, 148, 136, 0.13); }
.drop-ico {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  background: rgba(13, 148, 136, 0.14);
  border: 1px solid rgba(13, 148, 136, 0.3);
  border-radius: 10px;
  color: var(--brand-light);
}
.drop-ico svg { width: 22px; height: 22px; }
.drop-txt b { display: block; font-size: 0.92rem; font-weight: 600; color: var(--text-primary); }
.drop-txt small { display: block; font-size: 0.74rem; color: var(--text-muted); margin-top: 0.1rem; }
.drop-grid a:hover b { color: var(--brand-light); }

/* Left: full-height teal server-illustration panel (order 2 = left side in RTL) */
.drop-visual {
  order: 2;
  width: 38%;
  flex: 0 0 38%;
  min-width: 260px;
  background: linear-gradient(160deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: #fff;
  padding: 2rem 1.6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.drop-visual-icon { width: 150px; height: 150px; margin-bottom: 1.4rem; opacity: 0.95; }
.drop-visual-icon svg { width: 100%; height: 100%; }
.drop-visual-title { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.5rem; line-height: 1.6; }
.drop-visual-sub { font-size: 0.82rem; opacity: 0.85; line-height: 1.8; margin-bottom: 1.2rem; }
.drop-visual-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  transition: 0.16s;
}
.drop-visual-btn:hover { background: rgba(255, 255, 255, 0.28); }

/* Leftover rule so older pages with .drop-head still hide it cleanly */
.drop-head { display: none; }

/* On mobile the plans panel is collapsed and opens on tap — a clean,
   compact single-column list instead of the big mega-menu box. */
@media (max-width: 767px) {
  .navbar .drop-panel { position: static; width: 100%; opacity: 1; visibility: hidden; max-height: 0; overflow: hidden; box-shadow: none; background: transparent; border: none; border-radius: 0; margin: 0.1rem 0 0; padding: 0; transform: none; }
  .navbar .nav-drop.open .drop-panel { visibility: visible; max-height: 600px; padding: 0.3rem 0; transform: none; }
  .navbar .drop-visual { display: none; }
  .navbar .drop-panel-inner { padding: 0; display: block; }
  .navbar .drop-grid { order: 1; grid-template-columns: 1fr; gap: 0.1rem; padding: 0; }
  .navbar .drop-grid a { flex-direction: row; align-items: center; gap: 0.5rem; padding: 0.55rem 0.4rem; background: transparent; border: none; border-radius: 0; }
  .navbar .drop-ico { display: none; }
  .navbar .drop-txt b { font-size: 0.92rem; font-weight: 500; }
  .navbar .drop-txt small { display: none; }
  .navbar .drop-grid a:hover { background: transparent; }
  .navbar .drop-grid a:hover b { color: var(--brand-light); }
  .navbar .drop-head { display: none; }
}
@media (max-width: 700px) {
  .host-menu .drop-panel { position: static; width: 100%; opacity: 1; visibility: hidden; max-height: 0; overflow: hidden; box-shadow: none; background: transparent; border: none; border-radius: 0; margin: 0.1rem 0 0; padding: 0; transform: none; }
  .host-menu .nav-drop.open .drop-panel { visibility: visible; max-height: 600px; padding: 0.3rem 0; transform: none; }
  .host-menu .drop-visual { display: none; }
  .host-menu .drop-panel-inner { padding: 0; display: block; }
  .host-menu .drop-grid { order: 1; grid-template-columns: 1fr; gap: 0.1rem; padding: 0; }
  .host-menu .drop-grid a { flex-direction: row; align-items: center; gap: 0.5rem; padding: 0.55rem 0.4rem; background: transparent; border: none; border-radius: 0; }
  .host-menu .drop-ico { display: none; }
  .host-menu .drop-txt b { font-size: 0.92rem; font-weight: 500; }
  .host-menu .drop-txt small { display: none; }
  .host-menu .drop-grid a:hover { background: transparent; }
  .host-menu .drop-grid a:hover b { color: var(--brand-light); }
  .host-menu .drop-head { display: none; }
}

/* =========================================================
   Content blocks (added from the admin panel)
   ========================================================= */
.cms-block { margin: 0 0 1.4rem; }
.cms-card {
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
}
.cms-card h3 { font-size: 1.15rem; font-weight: 700; margin: 0 0 0.7rem; color: var(--brand-light); }
.cms-card p { margin: 0; color: var(--text-secondary); font-size: 0.92rem; line-height: 2; }
.cms-image .cms-card { text-align: center; padding: 1.4rem; }
.cms-image img { max-width: 100%; max-height: 460px; width: auto; border-radius: var(--radius-md); margin: 0 auto; display: block; }
.cms-image p { margin-top: 0.8rem; color: var(--text-muted); font-size: 0.85rem; }
.cms-html .cms-card { overflow-x: auto; }

/* Content slots are hidden until the admin panel adds blocks */
.cms-slot { display: none; }
.cms-slot.show { display: block; }

/* =========================================================
   Mobile header order — hamburger BEFORE the logo
   (RTL: first flex child = far right, so burger sits right of logo)
   ========================================================= */
@media (max-width: 767px) {
  .navbar .container > .mobile-menu-btn { order: -1; }
}
@media (max-width: 700px) {
  .host-nav > .mobile-menu-btn { order: -1; }
}
