/* ==========================================================================
   AmazonConsultant.ae - Premium E-Commerce Automation Theme
   Global CSS Design System with Dynamic CSS Custom Properties
   ========================================================================== */

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

/* CSS Variables Default Fallbacks */
:root {
  --primary: #f88902;
  --primary-hover: #e07800;
  --primary-light: #fff4e5;
  --primary-glow: rgba(248, 137, 2, 0.25);
  --accent: #0f172a;
  --accent-light: #1e293b;
  --secondary: #ff9900;
  --header-bg: #ffffff;
  --topbar-bg: #f8fafc;
  --footer-bg: #0b1120;
  --surface: #ffffff;
  --surface-alt: #f8fafc;
  --border-color: #e2e8f0;
  --border-focus: #f88902;
  --text-dark: #0f172a;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --font-family: 'Poppins', sans-serif;
  --card-radius: 14px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 20px -2px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 12px 30px -4px rgba(15, 23, 42, 0.12);
  --shadow-glow: 0 8px 25px rgba(248, 137, 2, 0.35);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-family);
  color: var(--text-dark);
  background-color: #ffffff;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

ul, ol {
  list-style: none;
}

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

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

/* ==========================================================================
   TOPBAR
   ========================================================================== */
.site-topbar {
  background-color: var(--topbar-bg);
  border-bottom: 1px solid var(--border-color);
  padding: 8px 0;
  font-size: 13px;
  color: var(--text-muted);
}

.topbar-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.topbar-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--text-dark);
}

.topbar-badge i {
  color: var(--primary);
}

.topbar-contact-items {
  display: flex;
  align-items: center;
  gap: 20px;
}

.topbar-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-dark);
  font-weight: 500;
  font-size: 13px;
}

.topbar-link i {
  color: var(--primary);
}

.topbar-link:hover {
  color: var(--primary);
}

/* ==========================================================================
   HEADER & NAVBAR
   ========================================================================== */
.site-header {
  background-color: var(--header-bg);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 22px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.5px;
}

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

.brand-logo-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 4px 12px var(--primary-glow);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-item {
  position: relative;
}

.nav-link {
  font-weight: 600;
  font-size: 14px;
  color: var(--text-dark);
  padding: 8px 0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

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

/* Services Dropdown Menu */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 280px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 10px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: var(--transition);
  z-index: 100;
}

.nav-item.has-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-dark);
}

.dropdown-link i {
  font-size: 16px;
  color: var(--primary);
  width: 20px;
  text-align: center;
}

.dropdown-link:hover {
  background-color: var(--primary-light);
  color: var(--primary);
  transform: translateX(4px);
}

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

.phone-quick-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 14px;
  color: var(--text-dark);
  padding: 8px 14px;
  border-radius: 8px;
  background: var(--surface-alt);
  border: 1px solid var(--border-color);
}

.phone-quick-btn i {
  color: var(--primary);
  animation: ring 2s infinite ease-in-out;
}

@keyframes ring {
  0%, 100% { transform: rotate(0); }
  10%, 30% { transform: rotate(15deg); }
  20%, 40% { transform: rotate(-15deg); }
  50% { transform: rotate(0); }
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--text-dark);
  cursor: pointer;
}

/* ==========================================================================
   BUTTONS & UI ELEMENTS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-weight: 600;
  font-size: 14.5px;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-hover));
  color: #ffffff;
  box-shadow: 0 4px 14px var(--primary-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--primary-glow);
  color: #ffffff;
}

.btn-outline {
  background: transparent;
  color: var(--text-dark);
  border: 1.5px solid var(--border-color);
}

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

.btn-white {
  background: #ffffff;
  color: var(--accent);
  box-shadow: var(--shadow-md);
}

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

.btn-lg {
  padding: 15px 32px;
  font-size: 16px;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 13px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.badge-primary {
  background: var(--primary-light);
  color: var(--primary);
}

.badge-dark {
  background: #0f172a;
  color: #ffffff;
}

.badge-glow {
  background: linear-gradient(135deg, #f88902, #ffb703);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(248, 137, 2, 0.4);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  background: radial-gradient(circle at top right, rgba(248, 137, 2, 0.08), transparent 50%),
              radial-gradient(circle at bottom left, rgba(15, 23, 42, 0.03), transparent 50%),
              #ffffff;
  padding: 70px 0 60px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}

.hero-content h1 {
  font-size: 44px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--accent);
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.hero-content h1 span.gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}

.hero-trust-bar {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
}

.trust-rating {
  display: flex;
  align-items: center;
  gap: 10px;
}

.stars {
  color: #ffb703;
  font-size: 15px;
}

.rating-text {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-dark);
}

.rating-text span {
  color: var(--text-muted);
  font-weight: 400;
}

/* Hero Lead Intake Card */
.lead-intake-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--card-radius);
  padding: 32px;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.lead-intake-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: var(--card-radius) var(--card-radius) 0 0;
}

.lead-card-header {
  margin-bottom: 20px;
  text-align: center;
}

.lead-card-header h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 6px;
}

.lead-card-header p {
  font-size: 13px;
  color: var(--text-muted);
}

/* Form Styles */
.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border-color);
  border-radius: 8px;
  background-color: #f8fafc;
  color: var(--text-dark);
  font-size: 14px;
  transition: var(--transition);
}

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

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

/* ==========================================================================
   CLIENT & PARTNER LOGOS TICKER
   ========================================================================== */
.partner-section {
  padding: 36px 0;
  background: var(--surface-alt);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.partner-title {
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.partner-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 36px;
}

.partner-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: #ffffff;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  font-size: 17px;
  font-weight: 700;
  color: var(--accent);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.partner-item i {
  font-size: 22px;
  color: var(--primary);
}

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

/* ==========================================================================
   SECTION HEADINGS & LAYOUTS
   ========================================================================== */
.section-padding {
  padding: 80px 0;
}

.section-padding-sm {
  padding: 50px 0;
}

.section-bg-alt {
  background-color: var(--surface-alt);
}

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

.section-header .badge {
  margin-bottom: 14px;
}

.section-header h2 {
  font-size: 34px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1.25;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.section-header p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ==========================================================================
   SERVICES GRID & CARDS
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 28px;
}

.service-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--card-radius);
  padding: 32px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--primary);
  transform: scaleX(0);
  transition: var(--transition);
  transform-origin: left;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(248, 137, 2, 0.4);
}

.service-card:hover::after {
  transform: scaleX(1);
}

.service-card-icon {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 22px;
  transition: var(--transition);
}

.service-card:hover .service-card-icon {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 8px 20px var(--primary-glow);
}

.service-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 12px;
}

.service-card p {
  font-size: 14.5px;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.6;
}

.service-card-perks {
  margin-bottom: 24px;
}

.service-card-perks li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.service-card-perks li i {
  color: #10b981;
  font-size: 14px;
}

.service-card-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid var(--border-color);
}

.service-link {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.service-link:hover {
  gap: 10px;
}

/* ==========================================================================
   PACKAGES & PRICING GRID (USD $)
   ========================================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 28px;
  align-items: stretch;
}

.pricing-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--card-radius);
  padding: 36px 30px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
  border: 2px solid var(--primary);
  box-shadow: var(--shadow-md);
  background: #ffffff;
}

.pricing-ribbon {
  position: absolute;
  top: 16px;
  right: 20px;
}

.pricing-card-header {
  margin-bottom: 24px;
}

.pricing-card-header h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 8px;
}

.pricing-card-header p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.5;
}

.pricing-amount-box {
  margin: 20px 0 24px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.pricing-currency {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
}

.pricing-amount {
  font-size: 42px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -1px;
}

.pricing-original {
  font-size: 18px;
  color: var(--text-light);
  text-decoration: line-through;
}

.pricing-discount-tag {
  font-size: 12px;
  font-weight: 700;
  color: #10b981;
  background: #ecfdf5;
  padding: 3px 8px;
  border-radius: 4px;
}

.pricing-features-list {
  margin-bottom: 30px;
  flex-grow: 1;
}

.pricing-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: var(--text-dark);
  margin-bottom: 12px;
  line-height: 1.4;
}

.pricing-features-list li i {
  color: var(--primary);
  font-size: 15px;
  margin-top: 2px;
  flex-shrink: 0;
}

/* ==========================================================================
   PROCESS ROADMAP (3-STEP AUTOPILOT FLOW)
   ========================================================================== */
.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  position: relative;
}

.roadmap-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--card-radius);
  padding: 32px;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

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

.roadmap-number {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--primary);
  color: #ffffff;
  font-weight: 800;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px var(--primary-glow);
}

.roadmap-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 10px;
}

.roadmap-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   STATS COUNTER BAR
   ========================================================================== */
.stats-banner {
  background: linear-gradient(135deg, var(--accent), #1e293b);
  color: #ffffff;
  border-radius: var(--card-radius);
  padding: 50px 40px;
  margin: 60px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  text-align: center;
}

.stat-item h3 {
  font-size: 38px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 6px;
  letter-spacing: -0.5px;
}

.stat-item p {
  font-size: 14.5px;
  color: #94a3b8;
  font-weight: 500;
}

/* ==========================================================================
   TESTIMONIALS & FAQ
   ========================================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.testimonial-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--card-radius);
  padding: 30px;
  box-shadow: var(--shadow-sm);
}

.testimonial-stars {
  color: #ffb703;
  font-size: 16px;
  margin-bottom: 14px;
}

.testimonial-text {
  font-size: 14.5px;
  color: var(--text-dark);
  line-height: 1.6;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-user {
  display: flex;
  align-items: center;
  gap: 14px;
}

.user-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
}

.user-info h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--accent);
}

.user-info p {
  font-size: 12.5px;
  color: var(--text-muted);
}

/* FAQ Accordion */
.faq-accordion {
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  margin-bottom: 14px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.active {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 18px 24px;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 16px;
  font-weight: 700;
  color: var(--accent);
  cursor: pointer;
  gap: 16px;
}

.faq-question i {
  color: var(--primary);
  transition: var(--transition);
  font-size: 14px;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out;
  padding: 0 24px;
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding-bottom: 20px;
}

/* ==========================================================================
   CTA BANNER & PRE-FOOTER
   ========================================================================== */
.cta-banner-section {
  background: linear-gradient(135deg, var(--accent), #1e293b);
  color: #ffffff;
  padding: 70px 0;
  position: relative;
  overflow: hidden;
}

.cta-banner-content {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

.cta-banner-content h2 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 18px;
  line-height: 1.25;
}

.cta-banner-content p {
  font-size: 16px;
  color: #cbd5e1;
  margin-bottom: 30px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background-color: var(--footer-bg);
  color: #94a3b8;
  padding: 70px 0 24px;
  font-size: 14px;
}

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

.footer-col h4 {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
  position: relative;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--primary);
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #94a3b8;
}

.footer-links a:hover {
  color: var(--primary);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  color: #cbd5e1;
}

.footer-contact-item i {
  color: var(--primary);
  margin-top: 4px;
}

.footer-social-links {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.footer-social-links a {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  transition: var(--transition);
}

.footer-social-links a:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

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

.footer-policy-links {
  display: flex;
  gap: 20px;
}

.footer-policy-links a {
  color: #94a3b8;
}

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

/* ==========================================================================
   PAGE LIST / SITEMAP VISUAL DIRECTORY
   ========================================================================== */
.pages-directory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.page-directory-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--card-radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-directory-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.page-badge {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
  background: var(--primary-light);
  color: var(--primary);
  display: inline-block;
  margin-bottom: 12px;
}

/* ==========================================================================
   ALERTS & FLASH MESSAGES
   ========================================================================== */
.alert {
  padding: 14px 18px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.alert-success {
  background-color: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.alert-error {
  background-color: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* ==========================================================================
   MOBILE MENU DRAWER
   ========================================================================== */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 320px;
  height: 100vh;
  background: #ffffff;
  box-shadow: var(--shadow-lg);
  z-index: 2000;
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  overflow-y: auto;
}

.mobile-drawer.open {
  right: 0;
}

.mobile-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(2px);
  z-index: 1999;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.mobile-drawer-overlay.open {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}

.mobile-nav-link {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
}

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

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 992px) {
  .nav-menu, .phone-quick-btn {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-content h1 {
    font-size: 34px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .topbar-wrapper {
    flex-direction: column;
    text-align: center;
  }
  .hero-content h1 {
    font-size: 28px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
