/* ===========================================
   HIVE CHILDCARE MANAGEMENT - MAIN STYLESHEET
   RTL Arabic | Modern SaaS Design
   =========================================== */

/* ======== CSS CUSTOM PROPERTIES ======== */
:root {
  --primary:         #2D5F6B;
  --primary-dark:    #1A3F4A;
  --primary-light:   #3D7A8A;
  --accent:          #F5C518;
  --accent-dark:     #D4A800;
  --accent-light:    #FFDA55;
  --bg-light:        #F8F5EC;
  --bg-section:      #F3F4F6;
  --white:           #FFFFFF;
  --text-dark:       #1E3A44;
  --text-body:       #374151;
  --text-muted:      #6B8A94;
  --border-light:    rgba(45,95,107,0.12);
  --shadow-sm:       0 2px 8px rgba(45,95,107,0.08);
  --shadow-md:       0 8px 24px rgba(45,95,107,0.12);
  --shadow-lg:       0 20px 60px rgba(45,95,107,0.16);
  --shadow-xl:       0 32px 80px rgba(45,95,107,0.22);
  --radius-sm:       8px;
  --radius-md:       16px;
  --radius-lg:       24px;
  --radius-xl:       32px;
  --transition:      all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --header-h:        76px;
}

/* ======== RESET & BASE ======== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: 'Cairo', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-body);
  background: var(--white);
  text-align: start;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

/* ======== CONTAINER ======== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ======== SECTION COMMONS ======== */
.section-badge {
  display: inline-block;
  background: rgba(45,95,107,0.1);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.35rem 1rem;
  border-radius: 50px;
  border: 1px solid rgba(45,95,107,0.2);
  margin-bottom: 1rem;
  letter-spacing: 0.03em;
}

.badge-light {
  background: rgba(255,255,255,0.15);
  color: #fff;
  border-color: rgba(255,255,255,0.3);
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.35;
  margin-bottom: 1rem;
}

.section-subtitle {
  max-width: 620px;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

.white-text { color: #fff; }
.white-text-muted { color: rgba(255,255,255,0.78); }
.text-accent { color: var(--accent); }

/* ======== BUTTONS ======== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.6rem;
  border-radius: 50px;
  font-family: 'Cairo', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: var(--primary-dark);
}
.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245,197,24,0.4);
}

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

.btn-large {
  padding: 0.9rem 2.2rem;
  font-size: 1.05rem;
}

/* ======== PRELOADER ======== */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

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

.preloader-bee {
  font-size: 4rem;
  animation: floatBee 1.2s ease-in-out infinite alternate;
}

.preloader-bar {
  width: 160px;
  height: 4px;
  background: rgba(255,255,255,0.15);
  border-radius: 10px;
  overflow: hidden;
}

.preloader-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 10px;
  animation: loadingBar 1.5s ease forwards;
}

@keyframes floatBee {
  from { transform: translateY(0) rotate(-5deg); }
  to { transform: translateY(-12px) rotate(5deg); }
}

@keyframes loadingBar {
  from { width: 0; }
  to { width: 100%; }
}

/* ======== FLOATING BUTTONS ======== */
.floating-btns {
  position: fixed;
  bottom: 1.5rem;
  inset-inline-start: 1.5rem;
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.float-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #fff;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.float-btn:hover {
  transform: scale(1.1) translateY(-3px);
}

.whatsapp-btn { background: #25D366; }

/* ======== SCROLL TO TOP ======== */
.scroll-top-btn {
  position: fixed;
  bottom: 1.5rem;
  inset-inline-end: 1.5rem;
  z-index: 900;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition);
}

.scroll-top-btn.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  inset-inline-start: 0;
  inset-inline-end: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition);
}

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

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.header-logo img {
  height: 60px;
  width: auto;
  object-fit: contain;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  padding: 0.5rem 0.85rem;
  border-radius: 8px;
  color: var(--text-body);
  font-size: 0.9rem;
  font-weight: 600;
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
  background: rgba(45,95,107,0.07);
}

.header-cta {
  padding: 0.55rem 1.4rem;
  font-size: 0.9rem;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.3rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--text-dark);
  border-radius: 4px;
  transition: var(--transition);
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
  position: absolute;
  top: 100%;
  inset-inline-start: 0;
  inset-inline-end: 0;
  background: var(--white);
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: max-height 0.4s ease, padding 0.3s ease;
  border-bottom: 1px solid var(--border-light);
}

.mobile-menu.open {
  max-height: 480px;
  padding: 1.25rem 1.5rem 1.5rem;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.mobile-nav-link {
  display: block;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  color: var(--text-body);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
}

.mobile-nav-link:hover {
  background: rgba(45,95,107,0.08);
  color: var(--primary);
}

.mobile-cta {
  margin-top: 0.75rem;
  justify-content: center;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero-section {
  position: relative;
  min-height: 100svh;
  padding-top: calc(var(--header-h) + 4rem);
  padding-bottom: 5rem;
  background: linear-gradient(135deg, #f0f9fa 0%, #e6f4f7 40%, #fdf9f0 100%);
  overflow: hidden;
}

.hero-bg-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.5;
  pointer-events: none;
}

.shape-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(45,95,107,0.15) 0%, transparent 70%);
  top: -100px;
  inset-inline-end: -150px;
}

.shape-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(245,197,24,0.12) 0%, transparent 70%);
  bottom: -80px;
  inset-inline-start: -100px;
}

.shape-3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(45,95,107,0.08) 0%, transparent 70%);
  top: 40%;
  inset-inline-start: 30%;
}

.hero-honeycomb {
  position: absolute;
  top: 10%;
  inset-inline-start: 5%;
  width: 120px;
  height: 120px;
  opacity: 0.4;
  animation: rotateSlow 20s linear infinite;
}

@keyframes rotateSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: center;
  gap: 3rem;
  z-index: 1;
}

/* Hero Text */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(45,95,107,0.1);
  border: 1px solid rgba(45,95,107,0.2);
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.25rem;
  animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(45,95,107,0.15); }
  50% { box-shadow: 0 0 0 8px rgba(45,95,107,0); }
}

.hero-title {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 900;
  color: var(--text-dark);
  line-height: 1.25;
  margin-bottom: 1.25rem;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 2rem;
  max-width: 520px;
}

/* Store Buttons */
.store-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-family: 'Cairo', sans-serif;
  font-size: 0.9rem;
  transition: var(--transition);
  color: #fff;
}

.app-store {
  background: #000;
}

.google-play {
  background: var(--primary);
}

.store-btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.store-btn i {
  font-size: 1.6rem;
}

.store-text {
  display: flex;
  flex-direction: column;
  text-align: start;
}

.store-label {
  font-size: 0.68rem;
  opacity: 0.8;
  line-height: 1;
  margin-bottom: 0.15rem;
}

.store-name {
  font-size: 0.95rem;
  font-weight: 700;
}

/* Hero Stats */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.25rem 1.5rem;
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  width: fit-content;
}

.stat-item {
  display: flex;
  flex-direction: column;
  text-align: center;
}

.stat-item strong {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
}

.stat-item span {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border-light);
}

/* ======== DASHBOARD MOCKUP ======== */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.dashboard-mockup {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  width: 100%;
  max-width: 500px;
  border: 1px solid var(--border-light);
  animation: floatMockup 4s ease-in-out infinite alternate;
}

@keyframes floatMockup {
  from { transform: translateY(0); }
  to { transform: translateY(-12px); }
}

.browser-bar {
  background: #f0f0f0;
  padding: 0.6rem 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-bottom: 1px solid #e0e0e0;
}

.browser-dots {
  display: flex;
  gap: 5px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot.red { background: #FF5F57; }
.dot.yellow { background: #FEBC2E; }
.dot.green { background: #28C840; }

.browser-url {
  background: #fff;
  border-radius: 20px;
  padding: 0.2rem 0.8rem;
  font-size: 0.72rem;
  color: var(--text-muted);
  flex: 1;
  direction: ltr;
  text-align: start;
}

.dashboard-content {
  display: flex;
  height: 320px;
}

.dash-sidebar {
  width: 52px;
  background: var(--primary-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.75rem 0;
  gap: 0.5rem;
}

.dash-logo-mini {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.dash-menu-items {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  width: 100%;
  align-items: center;
}

.dash-item {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition);
}

.dash-item.active {
  background: rgba(255,255,255,0.15);
  color: var(--accent);
}

.dash-item:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
}

.dash-main {
  flex: 1;
  padding: 0.8rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  background: #f8fafc;
}

.dash-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dash-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-dark);
}

.dash-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
}

.dash-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.dash-stat-card {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: var(--shadow-sm);
}

.dash-stat-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.75rem;
  flex-shrink: 0;
}

.card-teal .dash-stat-icon { background: var(--primary); }
.card-yellow .dash-stat-icon { background: var(--accent); color: var(--primary-dark); }
.card-green .dash-stat-icon { background: #10B981; }
.card-purple .dash-stat-icon { background: #8B5CF6; }

.dash-stat-num {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1;
}

.dash-stat-label {
  font-size: 0.65rem;
  color: var(--text-muted);
}

/* Chart */
.dash-chart {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 0.65rem;
  flex: 1;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.chart-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.chart-bars {
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  height: 55px;
  gap: 4px;
}

.chart-bar-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  flex: 1;
}

.chart-bar {
  width: 100%;
  max-width: 24px;
  background: linear-gradient(to top, var(--primary), var(--primary-light));
  border-radius: 4px 4px 0 0;
}

.chart-bar-wrap span {
  font-size: 0.5rem;
  color: var(--text-muted);
  text-align: center;
  white-space: nowrap;
}

/* Floating Phone (Hero) */
.hero-phone-float {
  position: absolute;
  bottom: -30px;
  inset-inline-start: -30px;
  z-index: 2;
  animation: floatPhone 3.5s ease-in-out infinite alternate;
}

@keyframes floatPhone {
  from { transform: translateY(0) rotate(-2deg); }
  to { transform: translateY(-10px) rotate(2deg); }
}

.phone-frame {
  width: 145px;
  background: var(--primary-dark);
  border-radius: 22px;
  padding: 5px;
  box-shadow: var(--shadow-xl);
}

.phone-screen {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  height: 240px;
  display: flex;
  flex-direction: column;
}

.phone-status-bar {
  height: 10px;
  background: var(--primary);
}

.phone-app-header {
  background: var(--primary);
  padding: 0.5rem 0.7rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
}

.phone-content {
  padding: 0.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
  background: #f8fafc;
}

.phone-greeting {
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--text-dark);
}

.phone-card {
  background: var(--white);
  border-radius: 10px;
  padding: 0.5rem;
  box-shadow: var(--shadow-sm);
  border-inline-end: 3px solid var(--primary);
}

.phone-card-title {
  font-size: 0.58rem;
  color: var(--text-muted);
}

.phone-attendance-badge {
  font-size: 0.65rem;
  font-weight: 700;
  color: #10B981;
}

.phone-child-name {
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--text-dark);
}

.phone-notif {
  background: rgba(245,197,24,0.12);
  border-radius: 8px;
  padding: 0.4rem 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.58rem;
  color: var(--primary);
  font-weight: 600;
}

/* ============================================================
   FEATURES SECTION
   ============================================================ */
.features-section {
  padding: 6rem 0 5rem;
  background: var(--white);
  position: relative;
}

.features-section::before {
  content: '';
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  inset-inline-end: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.feature-card {
  background: var(--white);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 2rem 1.75rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(45,95,107,0.03) 0%, transparent 60%);
  opacity: 0;
  transition: var(--transition);
}

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

.feature-card:hover::before {
  opacity: 1;
}

.featured-card {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  border-color: transparent;
  color: #fff;
}

.featured-card .feature-content h3,
.featured-card .feature-list li {
  color: #fff;
}

.featured-card .feature-content p {
  color: rgba(255,255,255,0.8);
}

.featured-card .feature-list li i {
  color: var(--accent);
}

.featured-ribbon {
  position: absolute;
  top: 1.25rem;
  inset-inline-start: 1.25rem;
  background: var(--accent);
  color: var(--primary-dark);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
}

.feature-icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 1.25rem;
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.icon-teal { background: linear-gradient(135deg, var(--primary), var(--primary-light)); }
.icon-yellow { background: linear-gradient(135deg, var(--accent-dark), var(--accent)); color: var(--primary-dark); }
.icon-green { background: linear-gradient(135deg, #059669, #10B981); }

.feature-content h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
}

.feature-content p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--text-body);
}

.feature-list li i {
  color: var(--primary);
  font-size: 0.75rem;
  flex-shrink: 0;
}

/* Highlights Row */
.highlights-row {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 2rem;
  background: #f8fafc;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-light);
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 1;
  min-width: 180px;
  max-width: 240px;
}

.highlight-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(45,95,107,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.highlight-text strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-dark);
}

.highlight-text span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ============================================================
   MAP DISCOVERY SECTION
   ============================================================ */
.map-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, var(--primary-light) 100%);
  position: relative;
  overflow: hidden;
}

.map-bg-decoration {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 10% 20%, rgba(245,197,24,0.08) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(255,255,255,0.05) 0%, transparent 40%);
  pointer-events: none;
}

.map-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
  position: relative;
  z-index: 1;
}

/* Map Text */
.map-features {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 2rem;
}

.map-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.map-feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1rem;
  flex-shrink: 0;
  border: 1px solid rgba(255,255,255,0.2);
}

.map-feature-item strong {
  display: block;
  font-size: 0.95rem;
  color: #fff;
  margin-bottom: 0.2rem;
}

.map-feature-item p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  margin: 0;
}

/* Phone Map Device */
.map-visual {
  display: flex;
  justify-content: center;
  position: relative;
}

.phone-map-device {
  position: relative;
  z-index: 2;
}

.phone-map-frame {
  width: 230px;
  background: var(--primary-dark);
  border-radius: 36px;
  padding: 8px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.4),
              0 0 0 2px rgba(255,255,255,0.1);
  animation: floatPhone 4s ease-in-out infinite alternate;
}

.map-screen {
  background: #E8F4F0;
  border-radius: 30px;
  overflow: hidden;
  height: 440px;
  position: relative;
  display: flex;
  flex-direction: column;
}

.map-svg {
  width: 100%;
  height: 100%;
  flex: 1;
}

.map-app-bar {
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  inset-inline-end: 0;
  background: var(--primary);
  padding: 0.55rem 0.9rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  z-index: 2;
}

/* Floating cards around phone */
.map-float-card {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  box-shadow: var(--shadow-lg);
  min-width: 150px;
  z-index: 3;
}

.float-card-1 {
  top: 40px;
  inset-inline-end: -30px;
}

.float-card-2 {
  bottom: 60px;
  inset-inline-end: -40px;
}

.float-card-icon {
  font-size: 1.4rem;
}

.float-card-text strong {
  display: block;
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1;
}

.float-card-text span {
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* ============================================================
   PRICING SECTION
   ============================================================ */
.pricing-section {
  padding: 6rem 0;
  background: var(--bg-light);
  position: relative;
  overflow: hidden;
}

.pricing-section::before {
  content: '';
  background-image: url('../../assets/images/faveicon.png');
  background-size: contain;
  background-repeat: no-repeat;
  width: 240px;
  height: 240px;
  position: absolute;
  top: 0rem;
  inset-inline-start: 0rem;
  opacity: 0.04;
  pointer-events: none;
}

.pricing-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  border: 2px solid var(--primary);
  overflow: hidden;
  position: relative;
}

.trial-badge {
  background: linear-gradient(90deg, var(--primary-dark), var(--primary));
  color: var(--accent);
  text-align: center;
  padding: 0.75rem;
  font-size: 0.9rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  letter-spacing: 0.02em;
}

.pricing-card-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 0;
}

.pricing-plan-info {
  padding: 2.5rem;
  border-inline-start: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
}

.pricing-plan-name {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.pricing-amount {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.pricing-currency {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin-top: 0.75rem;
}

.pricing-number {
  font-size: 5rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
}

.pricing-period {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: auto;
  margin-bottom: 0.75rem;
}

.pricing-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  flex: 1;
}

.pricing-cta {
  justify-content: center;
  margin-bottom: 0.75rem;
}

.pricing-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
}

.pricing-features {
  padding: 2.5rem;
}

.pricing-section-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.pricing-feature-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.pricing-feature-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: var(--text-body);
}

.pricing-feature-list li i {
  color: var(--primary);
  font-size: 0.8rem;
  flex-shrink: 0;
}

.pricing-guarantee {
  background: rgba(45,95,107,0.04);
  padding: 1rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  border-top: 1px solid var(--border-light);
  flex-wrap: wrap;
}

.guarantee-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.guarantee-item i {
  color: var(--primary);
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact-section {
  padding: 6rem 0;
  background: var(--white);
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 800px;
  margin: 0 auto;
}

.contact-card {
  background: var(--white);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: var(--transition);
  display: block;
}

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

.contact-card-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: #fff;
  margin: 0 auto 1rem;
}

.contact-card-icon.whatsapp { background: #25D366; }
.contact-card-icon.email { background: var(--primary); }
.contact-card-icon.phone { background: var(--accent-dark); }

.contact-card h3 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
}

.contact-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.contact-link {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  direction: ltr;
  display: block;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.8);
}

.footer-main {
  padding: 4rem 0 2.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.8fr 0.9fr;
  gap: 3rem;
}

.footer-logo {
  height: 52px;
  width: auto;
  object-fit: contain;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1);
}

.footer-desc {
  font-size: 0.87rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.65);
  margin-bottom: 1.25rem;
}

.footer-social {
  display: flex;
  gap: 0.6rem;
}

.social-link {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  transition: var(--transition);
}

.social-link:hover {
  background: var(--accent);
  color: var(--primary-dark);
  transform: translateY(-3px);
}

.footer-col-title {
  font-size: 0.9rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 1.2rem;
}

.footer-info-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-info-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.65);
}

.footer-info-list li i {
  color: var(--accent);
  font-size: 0.8rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.footer-info-list a {
  color: rgba(255,255,255,0.65);
  transition: var(--transition);
  direction: ltr;
}

.footer-info-list a:hover {
  color: var(--accent);
}

.footer-nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer-nav-list a {
  color: rgba(255,255,255,0.65);
  font-size: 0.85rem;
  transition: var(--transition);
  display: inline-block;
}

.footer-nav-list a:hover {
  color: var(--accent);
  transform: translateX(-4px);
}

/* Payment Badges */
.payment-methods {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.payment-badge {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-sm);
  padding: 0.4rem 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #fff;
  min-width: 52px;
}

.payment-badge .mada-logo {
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.25rem 0;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ============================================================
   AOS / ANIMATION OVERRIDES
   ============================================================ */
[data-aos] {
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* ============================================================
   RESPONSIVE DESIGN
   ============================================================ */

/* Tablet (max 1024px) */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-visual {
    order: -1;
  }

  .hero-text {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-stats {
    flex-wrap: wrap;
    justify-content: center;
  }

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

  .map-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .map-visual {
    order: -1;
  }

  .map-features {
    max-width: 480px;
    margin: 2rem auto 0;
  }

  .map-feature-item {
    text-align: start;
  }

  .pricing-card-inner {
    grid-template-columns: 1fr;
  }

  .pricing-plan-info {
    border-inline-start: none;
    border-bottom: 1px solid var(--border-light);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .contact-cards {
    grid-template-columns: 1fr;
    max-width: 360px;
  }
}

/* Mobile (max 768px) */
@media (max-width: 768px) {
  .header-nav,
  .header-cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hero-section {
    padding-top: calc(var(--header-h) + 2.5rem);
    padding-bottom: 3rem;
  }

  .hero-title {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }

  .dashboard-mockup {
    max-width: 340px;
  }

  .dashboard-content {
    height: 240px;
  }

  .hero-phone-float {
    bottom: -20px;
    inset-inline-start: -10px;
  }

  .phone-frame {
    width: 110px;
  }

  .phone-screen {
    height: 185px;
  }

  .features-section {
    padding: 4rem 0;
  }

  .map-section {
    padding: 4rem 0;
  }

  .pricing-section {
    padding: 4rem 0;
  }

  .float-card-1,
  .float-card-2 {
    display: none;
  }

  .pricing-guarantee {
    gap: 1.25rem;
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }

  .highlights-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .highlight-item {
    max-width: 100%;
  }

  .store-buttons {
    justify-content: center;
  }
}

/* Small Mobile (max 480px) */
@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .dashboard-mockup {
    max-width: 300px;
  }

  .section-title {
    font-size: 1.7rem;
  }

  .pricing-number {
    font-size: 4rem;
  }

  .contact-section {
    padding: 3.5rem 0;
  }
}