/**
 * MyWebVietnam.net — Stylesheet
 * Thiết kế tối ưu chuyển đổi, tốc độ tải tức thì, không phụ thuộc CDN bên ngoài.
 */

:root {
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --primary-light: #eff6ff;
  --primary-focus: rgba(37, 99, 235, 0.25);
  --secondary: #0f172a;
  --secondary-light: #1e293b;
  --accent: #f59e0b;
  --accent-hover: #d97706;
  --accent-light: #fef3c7;
  --success: #10b981;
  --success-light: #ecfdf5;
  --danger: #ef4444;
  --danger-light: #fef2f2;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --bg-page: #f8fafc;
  --bg-card: #ffffff;
  --border-color: #e2e8f0;
  --border-focus: #3b82f6;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1200px;
}

/* Reset cơ bản & Chống tràn ngang */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--text-main);
  background-color: var(--bg-page);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background-color: var(--bg-page);
}

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

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

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* =========================================
   HEADER & NAVIGATION
========================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

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

.logo-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--primary), #3b82f6);
  color: #fff;
  font-weight: 800;
  font-size: 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-name {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--secondary);
  letter-spacing: -0.02em;
}

.logo-name span {
  color: var(--primary);
}

.logo-tagline {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 8px 4px;
  position: relative;
}

.nav-link:hover, .nav-link:focus {
  color: var(--primary);
}

.nav-link.active {
  color: var(--primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Nút bấm chuẩn UI */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 10px 20px;
  min-height: 44px; /* Chuẩn touch target */
  border-radius: var(--radius-md);
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition);
  text-align: center;
  white-space: nowrap;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}

.btn-primary {
  background-color: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.btn-primary:hover, .btn-primary:focus {
  background-color: var(--primary-hover);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.35);
  transform: translateY(-1px);
}

.btn-accent {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.25);
}

.btn-accent:hover, .btn-accent:focus {
  background: linear-gradient(135deg, #d97706, #b45309);
  box-shadow: 0 6px 16px rgba(245, 158, 11, 0.35);
  transform: translateY(-1px);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--border-color);
  color: var(--secondary);
}

.btn-outline:hover, .btn-outline:focus {
  border-color: var(--primary);
  color: var(--primary);
  background-color: var(--primary-light);
}

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

.btn-outline-primary:hover, .btn-outline-primary:focus {
  background-color: var(--primary);
  color: #ffffff;
}

.btn-sm {
  padding: 8px 14px;
  font-size: 0.85rem;
  min-height: 38px;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1.05rem;
  border-radius: var(--radius-lg);
}

.btn-block {
  width: 100%;
}

/* Mobile Menu Toggle */
.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 8px;
  min-height: 44px;
  min-width: 44px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.mobile-nav-toggle svg {
  width: 24px;
  height: 24px;
  stroke: var(--secondary);
}

/* =========================================
   HERO SECTION
========================================= */
.hero-section {
  position: relative;
  padding: 70px 0 60px;
  background: radial-gradient(120% 120% at 50% 0%, #eff6ff 0%, #f8fafc 100%);
  border-bottom: 1px solid var(--border-color);
  overflow: hidden;
}

.hero-inner {
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background-color: #dbeafe;
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  margin-bottom: 24px;
}

.hero-pill svg {
  width: 16px;
  height: 16px;
}

.hero-title {
  font-size: 2.85rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--secondary);
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 50%, #06b6d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.15rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

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

.hero-trust-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding-top: 30px;
  border-top: 1px solid var(--border-color);
}

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

.metric-number {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--secondary);
  letter-spacing: -0.02em;
}

.metric-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 2px;
}

/* =========================================
   MARKETING VALUE PROPOSITION (LỢI ÍCH)
========================================= */
.section {
  padding: 80px 0;
}

.section-alt {
  background-color: #ffffff;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

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

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary);
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.section-title {
  font-size: 2.15rem;
  font-weight: 800;
  color: var(--secondary);
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 14px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

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

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.icon-blue { background: #dbeafe; color: #1d4ed8; }
.icon-green { background: #d1fae5; color: #047857; }
.icon-amber { background: #fef3c7; color: #b45309; }
.icon-purple { background: #ede9fe; color: #6d28d9; }

.feature-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 12px;
}

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

/* =========================================
   THEMES CATALOG (KHO MẪU)
========================================= */
.catalog-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.tab-btn {
  padding: 9px 18px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  min-height: 40px;
}

.tab-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.tab-btn.active {
  background-color: var(--secondary);
  color: #ffffff;
  border-color: var(--secondary);
  box-shadow: var(--shadow-sm);
}

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

.theme-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.theme-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: #cbd5e1;
}

.theme-thumbnail-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background-color: #f1f5f9;
  overflow: hidden;
}

.theme-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.theme-card:hover .theme-thumbnail {
  transform: scale(1.03);
}

.theme-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  background-color: rgba(15, 23, 42, 0.85);
  color: #ffffff;
  backdrop-filter: blur(4px);
}

.theme-badge.badge-hot {
  background-color: #dc2626;
}

.theme-badge.badge-sale {
  background-color: #ea580c;
}

.theme-badge.badge-new {
  background-color: #059669;
}

.theme-category-tag {
  position: absolute;
  bottom: 12px;
  right: 12px;
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  background-color: rgba(255, 255, 255, 0.95);
  color: var(--secondary);
}

.theme-content {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.theme-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 8px;
  line-height: 1.35;
}

.theme-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 16px;
  flex: 1;
}

.theme-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}

.theme-tag {
  font-size: 0.72rem;
  font-weight: 600;
  background-color: #f1f5f9;
  color: var(--text-muted);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
}

.theme-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: auto;
}

/* =========================================
   ABOUT VAZO (GIỚI THIỆU CÔNG TY)
========================================= */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}

.about-text h3 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--secondary);
  line-height: 1.3;
  margin-bottom: 18px;
}

.about-text p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

.about-checklist {
  list-style: none;
  margin: 24px 0 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.about-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--secondary);
}

.about-checklist svg {
  width: 20px;
  height: 20px;
  stroke: var(--success);
  flex-shrink: 0;
  margin-top: 2px;
}

.company-card {
  background: var(--secondary);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
}

.company-card::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.4) 0%, transparent 70%);
  border-radius: 50%;
}

.company-card-title {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  gap: 10px;
}

.company-info-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.company-info-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.company-info-label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #94a3b8;
}

.company-info-val {
  font-size: 0.95rem;
  color: #f8fafc;
  font-weight: 500;
}

.company-info-val a {
  color: #60a5fa;
}

.company-info-val a:hover {
  text-decoration: underline;
}

/* =========================================
   PARTNER / ĐẠI LÝ SECTION & FORM
========================================= */
.partner-section {
  padding: 90px 0;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
}

.partner-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 50px;
  align-items: start;
}

.partner-info .section-tag {
  color: #60a5fa;
}

.partner-info .section-title {
  color: #ffffff;
}

.partner-info .section-desc {
  color: #cbd5e1;
  margin-bottom: 30px;
}

.partner-perks {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 36px;
}

.perk-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 18px;
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.perk-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

.perk-icon {
  font-size: 1.5rem;
  line-height: 1;
}

.perk-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

.perk-desc {
  font-size: 0.88rem;
  color: #94a3b8;
  line-height: 1.5;
}

/* Form Container */
.form-card {
  background: #ffffff;
  color: var(--secondary);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border-color);
}

.form-header {
  margin-bottom: 24px;
}

.form-header h4 {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--secondary);
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

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

.lead-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

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

.form-label .req {
  color: var(--danger);
}

.form-control {
  width: 100%;
  padding: 10px 14px;
  min-height: 44px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background-color: #f8fafc;
  color: var(--secondary);
  font-size: 0.92rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--border-focus);
  background-color: #ffffff;
  box-shadow: 0 0 0 3px var(--primary-focus);
}

.form-control.is-invalid {
  border-color: var(--danger);
  background-color: var(--danger-light);
}

.field-error {
  font-size: 0.78rem;
  color: var(--danger);
  font-weight: 600;
  display: none;
}

.field-error.visible {
  display: block;
}

textarea.form-control {
  min-height: 80px;
  resize: vertical;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1.4;
  user-select: none;
}

.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  min-height: 18px;
  margin-top: 2px;
  accent-color: var(--primary);
  cursor: pointer;
}

/* Honeypot field (hidden from view) */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0 !important;
  height: 0 !important;
  width: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  pointer-events: none !important;
}

/* Alert Notification Boxes */
.alert {
  padding: 14px 16px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  line-height: 1.5;
  display: none;
}

.alert.visible {
  display: block;
}

.alert-success {
  background-color: var(--success-light);
  border: 1px solid #a7f3d0;
  color: #065f46;
}

.alert-danger {
  background-color: var(--danger-light);
  border: 1px solid #fecaca;
  color: #991b1b;
}

/* Spinner khi gửi */
.spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  border-top-color: #ffffff;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* =========================================
   MODAL DIALOG (ĐĂNG KÝ ĐẠI LÝ POPUP)
========================================= */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  background-color: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow-y: auto;
}

.modal-overlay.open {
  display: flex;
}

.modal-container {
  background: #ffffff;
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 580px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
  animation: modalIn 0.25s ease-out;
}

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

.modal-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #f1f5f9;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  transition: var(--transition);
}

.modal-close-btn:hover {
  background: #e2e8f0;
  color: var(--secondary);
}

/* =========================================
   FOOTER
========================================= */
.site-footer {
  background-color: var(--secondary);
  color: #94a3b8;
  padding: 70px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

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

.footer-col h5 {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 18px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: #94a3b8;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: #ffffff;
  padding-left: 4px;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-top: 14px;
  color: #94a3b8;
  max-width: 320px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  margin-bottom: 12px;
  line-height: 1.5;
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  stroke: #60a5fa;
  flex-shrink: 0;
  margin-top: 3px;
}

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

/* =========================================
   RESPONSIVE DESIGN (MOBILE & TABLET)
========================================= */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .themes-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-grid, .partner-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.15rem;
  }
  .hero-trust-metrics {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .site-nav {
    display: none; /* Toggle via mobile menu */
  }
  .mobile-nav-toggle {
    display: flex;
  }
  .header-actions .btn-outline,
  .header-actions .btn-outline-primary,
  .header-actions .btn-primary {
    display: none;
  }
  .themes-grid {
    grid-template-columns: 1fr;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .form-card {
    padding: 24px 18px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* Mobile Nav Drawer */
.mobile-drawer {
  position: fixed;
  top: 73px;
  left: 0;
  right: 0;
  background: #ffffff;
  border-bottom: 1px solid var(--border-color);
  padding: 20px;
  box-shadow: var(--shadow-lg);
  display: none;
  flex-direction: column;
  gap: 16px;
  z-index: 99;
}

.mobile-drawer.open {
  display: flex;
}

.mobile-drawer .nav-link {
  font-size: 1.05rem;
  padding: 10px 0;
  border-bottom: 1px solid #f1f5f9;
}
