/* =====================================================
   SchoolDhara – Premium School ERP Website Styles
   ===================================================== */

:root {
  --primary: #0B4DBB;
  --primary-dark: #083A8F;
  --primary-light: #E8F0FE;
  --secondary: #FF7A00;
  --secondary-dark: #E06A00;
  --accent: #16A34A;
  --bg: #F8FAFC;
  --dark: #1E293B;
  --muted: #64748B;
  --white: #FFFFFF;
  --border: #E2E8F0;
  --shadow: 0 10px 40px rgba(11, 77, 187, 0.08);
  --shadow-lg: 0 20px 60px rgba(11, 77, 187, 0.12);
  --gradient-primary: linear-gradient(135deg, #0B4DBB 0%, #1D6FE8 50%, #0B4DBB 100%);
  --gradient-secondary: linear-gradient(135deg, #FF7A00 0%, #FF9A3C 100%);
  --gradient-hero: linear-gradient(135deg, #0B4DBB 0%, #0A3D96 40%, #062A6B 100%);
  --gradient-glass: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(255,255,255,0.6));
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Plus Jakarta Sans', 'Inter', sans-serif;
  --header-h: 80px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] {
  --bg: #0F172A;
  --dark: #F1F5F9;
  --muted: #94A3B8;
  --white: #1E293B;
  --border: #334155;
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.4);
  --primary-light: #1E3A5F;
  --gradient-glass: linear-gradient(135deg, rgba(30,41,59,0.9), rgba(30,41,59,0.6));
}
html{
  overflow-x:hidden !important;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  font-family: var(--font);
  color: var(--dark);
  background: var(--bg);
  line-height: 1.7;
  overflow-x: hidden !important;
  transition: background var(--transition), color var(--transition);
}
img { max-width: 100%; height: auto; }
a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--secondary); }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.25;
  color: var(--dark);
}
.section-padding { padding: 90px 0; }
.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 1rem;
}
.section-subtitle {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 640px;
  margin: 0 auto 3rem;
}
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-light);
  color: var(--primary);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Buttons */
.btn {
  font-weight: 600;
  border-radius: 50px;
  padding: 12px 28px;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
}
.btn-primary {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: 0 8px 24px rgba(11, 77, 187, 0.3);
}
.btn-primary:hover {
  background: var(--primary-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(11, 77, 187, 0.4);
}
.btn-secondary {
  background: var(--gradient-secondary);
  color: #fff;
  box-shadow: 0 8px 24px rgba(255, 122, 0, 0.3);
}
.btn-secondary:hover {
  background: var(--secondary-dark);
  color: #fff;
  transform: translateY(-2px);
}
.btn-outline-light {
  border: 2px solid rgba(255,255,255,0.5);
  color: #fff;
  background: transparent;
}
.btn-outline-light:hover {
  background: #fff;
  color: var(--primary);
  border-color: #fff;
}
.btn-outline-primary {
  border: 2px solid var(--primary);
  color: var(--primary);
  background: transparent;
}
.btn-outline-primary:hover {
  background: var(--primary);
  color: #fff;
}
.btn-sm { padding: 8px 18px; font-size: 0.875rem; }
.btn-lg { padding: 14px 32px; font-size: 1.05rem; }

/* Preloader – compact, smooth */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    145deg,
    rgba(11, 77, 187, 0.28) 0%,
    rgba(248, 250, 252, 0.72) 50%,
    rgba(255, 122, 0, 0.22) 100%
  );
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: opacity 0.45s ease, visibility 0.45s ease;
}
#preloader.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.preloader-inner {
  position: relative;
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: preloaderIn 0.4s ease both;
}
@keyframes preloaderIn {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}
.preloader-spinner {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2.5px solid rgba(11, 77, 187, 0.12);
  border-top-color: var(--primary);
  border-right-color: var(--secondary);
  animation: preloaderSpin 0.85s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
}
@keyframes preloaderSpin {
  to { transform: rotate(360deg); }
}
.preloader-logo-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 10px;
  animation: preloaderSoftPulse 1.6s ease-in-out infinite;
}
@keyframes preloaderSoftPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.85; transform: scale(0.96); }
}
@media (prefers-reduced-motion: reduce) {
  .preloader-spinner,
  .preloader-logo-img,
  .preloader-inner { animation: none; }
}

/* Logo */
.logo-icon {
  width: 42px;
  height: 42px;
  background: var(--gradient-primary);
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.logo-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--primary);
}
.logo-text span { color: var(--secondary); }
.navbar-brand .brand-logo {
  height: 44px;
  width: auto;
  display: block;
}
.navbar-brand .brand-logo-icon {
  height: 42px;
  width: 42px;
  object-fit: contain;
}
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.navbar-brand small {
  font-size: 0.65rem;
  color: var(--muted);
  font-weight: 500;
  border-left: 1px solid var(--border);
  padding-left: 10px;
  margin-left: 4px;
  line-height: 1.2;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1050;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}
[data-theme="dark"] .site-header { background: rgba(15,23,42,0.92); }
.site-header.scrolled {
  box-shadow: var(--shadow);
  border-bottom-color: var(--border);
}
.top-bar {
  background: var(--gradient-hero);
  color: rgba(255,255,255,0.9);
  font-size: 0.8rem;
  padding: 8px 0;
}
.top-bar a { color: rgba(255,255,255,0.9); margin-right: 20px; }
.top-bar a:hover { color: #fff; }
.top-bar-right { display: flex; align-items: center; gap: 20px; }
.top-bar .social-links a {
  margin-right: 12px;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
}
.main-nav { padding: 12px 0; }
.main-nav .nav-link {
  font-weight: 600;
  color: var(--dark);
  padding: 8px 14px !important;
  font-size: 0.95rem;
  position: relative;
}
.main-nav .nav-link:hover,
.main-nav .nav-link.active { color: var(--primary); }
.main-nav .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}
.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}
.theme-toggle:hover { border-color: var(--primary); color: var(--primary); }
.navbar-toggler {
  border: 1px solid var(--border);
  padding: 6px 10px;
}
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2830, 41, 59, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
[data-theme="dark"] .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28241, 245, 249, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Mega Menu */
.mega-dropdown { position: static; }
.mega-menu {
  width: 100%;
  left: 0;
  right: 0;
  border: none;
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 30px 0;
  margin-top: 0;
  background: var(--white);
}
.mega-title {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
  margin-bottom: 12px;
  font-weight: 700;
}
.mega-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  color: var(--dark);
  font-weight: 500;
  font-size: 0.9rem;
}
.mega-link:hover {
  background: var(--primary-light);
  color: var(--primary);
}
.mega-link i { width: 20px; color: var(--primary); }
.mega-cta {
  background: var(--gradient-hero);
  color: #fff;
  padding: 24px;
  border-radius: var(--radius);
  height: 100%;
}
.mega-cta h6 { color: #fff; margin-bottom: 8px; }
.mega-cta p { font-size: 0.85rem; opacity: 0.85; margin-bottom: 16px; }
.dropdown-menu {
  border: none;
  box-shadow: var(--shadow);
  border-radius: var(--radius-sm);
  padding: 8px;
  background: var(--white);
}
.dropdown-item {
  border-radius: 8px;
  padding: 10px 14px;
  font-weight: 500;
  color: var(--dark);
}
.dropdown-item i { width: 22px; color: var(--primary); }
.dropdown-item:hover { background: var(--primary-light); color: var(--primary); }

/* Breadcrumb */
.breadcrumb-section {
  background: var(--primary-light);
  padding: 16px 0;
}
.breadcrumb { margin: 0; }
.breadcrumb-item a { color: var(--primary); font-weight: 500; }
.breadcrumb-item.active { color: var(--muted); }
.breadcrumb-item + .breadcrumb-item::before { color: var(--muted); }

/* Page Hero */
.page-hero {
  background: var(--gradient-hero);
  color: #fff;
  padding: 70px 0 60px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 2.75rem); }
.page-hero p { color: rgba(255,255,255,0.85); font-size: 1.1rem; max-width: 600px; }

/* Hero Section */
.hero-section {
  background: var(--gradient-hero);
  padding: 80px 0 100px;
  position: relative;
  overflow: hidden;
  color: #fff;
}
.hero-section::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255,122,0,0.2), transparent 70%);
  top: -100px;
  right: -100px;
  border-radius: 50%;
}
.hero-section::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(22,163,74,0.15), transparent 70%);
  bottom: -80px;
  left: -80px;
  border-radius: 50%;
}
.hero-content { position: relative; z-index: 2; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(8px);
}
.hero-section h1 {
  color: #fff;
  font-size: clamp(2rem, 5vw, 3.2rem);
  margin-bottom: 1.25rem;
  font-weight: 800;
}
.hero-section .lead {
  color: rgba(255,255,255,0.88);
  font-size: 1.15rem;
  margin-bottom: 2rem;
  max-width: 540px;
}
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 2rem; }
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.hero-stats .stat-item strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
}
.hero-stats .stat-item span {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
}
.hero-visual {
  position: relative;
  z-index: 2;
}
.hero-dashboard {
  background: var(--gradient-glass);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.hero-dashboard-screen {
  background: #0F172A;
  border-radius: 12px;
  padding: 16px;
  min-height: 280px;
}
.dash-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}
.dash-dot { width: 10px; height: 10px; border-radius: 50%; }
.dash-dot.r { background: #EF4444; }
.dash-dot.y { background: #F59E0B; }
.dash-dot.g { background: #22C55E; }
.dash-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.dash-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 14px;
  color: #fff;
}
.dash-card i {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  font-size: 0.9rem;
}
.dash-card.blue i { background: rgba(11,77,187,0.4); color: #60A5FA; }
.dash-card.orange i { background: rgba(255,122,0,0.3); color: #FDBA74; }
.dash-card.green i { background: rgba(22,163,74,0.3); color: #86EFAC; }
.dash-card.purple i { background: rgba(139,92,246,0.3); color: #C4B5FD; }
.dash-card strong { display: block; font-size: 1.2rem; }
.dash-card span { font-size: 0.75rem; opacity: 0.7; }
.hero-mobile {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 140px;
  background: #1E293B;
  border-radius: 20px;
  padding: 10px;
  border: 3px solid rgba(255,255,255,0.2);
  box-shadow: var(--shadow-lg);
}
.hero-mobile-screen {
  background: #0F172A;
  border-radius: 12px;
  padding: 12px;
  min-height: 180px;
}
.mobile-bar {
  height: 6px;
  background: rgba(255,255,255,0.1);
  border-radius: 3px;
  margin-bottom: 8px;
}
.mobile-bar.w60 { width: 60%; }
.mobile-bar.w80 { width: 80%; }
.mobile-bar.w40 { width: 40%; }
.mobile-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  background: rgba(255,255,255,0.05);
  border-radius: 8px;
  margin-bottom: 6px;
  color: #fff;
  font-size: 0.65rem;
}
.mobile-item i {
  width: 24px;
  height: 24px;
  background: var(--primary);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
}

/* Glass Cards */
.glass-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  height: 100%;
}
.glass-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(11, 77, 187, 0.2);
}
[data-theme="dark"] .glass-card { background: var(--white); }

/* Counter Section */
.counter-section {
  margin-top: -50px;
  position: relative;
  z-index: 10;
  padding-bottom: 40px;
}
.counter-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  height: 100%;
  transition: var(--transition);
}
.counter-card:hover { transform: translateY(-4px); }
.counter-card .icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  font-size: 1.3rem;
  color: #fff;
  background: var(--gradient-primary);
}
.counter-card .icon-wrap.orange { background: var(--gradient-secondary); }
.counter-card .icon-wrap.green { background: linear-gradient(135deg, #16A34A, #22C55E); }
.counter-card h3 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 4px;
}
.counter-card p { color: var(--muted); margin: 0; font-weight: 500; font-size: 0.9rem; }

/* Why Choose */
.feature-icon-card {
  text-align: center;
  padding: 28px 20px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--border);
  height: 100%;
  transition: var(--transition);
}
.feature-icon-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: var(--primary);
}
.feature-icon-card .icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.4rem;
  background: var(--primary-light);
  color: var(--primary);
  transition: var(--transition);
}
.feature-icon-card:hover .icon {
  background: var(--gradient-primary);
  color: #fff;
}
.feature-icon-card h5 { font-size: 1rem; margin-bottom: 8px; }
.feature-icon-card p { font-size: 0.875rem; color: var(--muted); margin: 0; }

/* Module Cards */
.module-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  height: 100%;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.module-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--gradient-primary);
  opacity: 0;
  transition: var(--transition);
}
.module-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.module-card:hover::before { opacity: 1; }
.module-card .mod-icon {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  background: var(--primary-light);
  color: var(--primary);
  margin-bottom: 18px;
}
.module-card h4 { font-size: 1.2rem; margin-bottom: 12px; }
.module-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.module-card ul li {
  padding: 5px 0;
  font-size: 0.9rem;
  color: var(--muted);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.module-card ul li i {
  color: var(--accent);
  margin-top: 4px;
  font-size: 0.75rem;
}

/* Feature Tags */
.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.feature-tag {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 10px 18px;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--dark);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.feature-tag i { color: var(--primary); }
.feature-tag:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.feature-tag:hover i { color: #fff; }

/* Screenshots */
.screenshot-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.screenshot-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.screenshot-preview {
  height: 200px;
  background: var(--gradient-hero);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 3rem;
  position: relative;
}
.screenshot-preview.fee { background: linear-gradient(135deg, #0B4DBB, #16A34A); }
.screenshot-preview.attendance { background: linear-gradient(135deg, #FF7A00, #0B4DBB); }
.screenshot-preview.student { background: linear-gradient(135deg, #16A34A, #0B4DBB); }
.screenshot-preview.library { background: linear-gradient(135deg, #7C3AED, #0B4DBB); }
.screenshot-preview.transport { background: linear-gradient(135deg, #0B4DBB, #FF7A00); }
.screenshot-preview.reports { background: linear-gradient(135deg, #1E293B, #0B4DBB); }
.screenshot-preview.mobile { background: linear-gradient(135deg, #0B4DBB, #7C3AED); }
.screenshot-card .card-body { padding: 18px; }
.screenshot-card h5 { font-size: 1rem; margin: 0; }

/* Benefits */
.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  height: 100%;
  transition: var(--transition);
}
.benefit-item:hover { border-color: var(--primary); box-shadow: var(--shadow); }
.benefit-item .icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}
.benefit-item h5 { font-size: 1rem; margin-bottom: 4px; }
.benefit-item p { font-size: 0.875rem; color: var(--muted); margin: 0; }

/* Offer Section */
.offer-section {
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
}
.offer-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.offer-card {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  color: #fff;
  height: 100%;
  transition: var(--transition);
}
.offer-card:hover {
  background: rgba(255,255,255,0.18);
  transform: translateY(-4px);
}
.offer-card .emoji { font-size: 2.5rem; margin-bottom: 12px; display: block; }
.offer-card h5 { color: #fff; font-size: 1.05rem; margin-bottom: 8px; }
.offer-card p { color: rgba(255,255,255,0.8); font-size: 0.875rem; margin: 0; }

/* Pricing */
.pricing-toggle {
  display: inline-flex;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 4px;
  margin-bottom: 2rem;
}
.pricing-toggle button {
  border: none;
  background: transparent;
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: var(--transition);
}
.pricing-toggle button.active {
  background: var(--gradient-primary);
  color: #fff;
}
.pricing-toggle .save-badge {
  background: var(--accent);
  color: #fff;
  font-size: 0.7rem;
  padding: 2px 8px;
  border-radius: 50px;
  margin-left: 6px;
}
.pricing-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  height: 100%;
  transition: var(--transition);
  position: relative;
}
.pricing-card.popular {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
  transform: scale(1.03);
}
.pricing-card.popular .popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-secondary);
  color: #fff;
  padding: 4px 18px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
}
.pricing-card h4 { margin-bottom: 8px; }
.pricing-card .price {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  font-family: var(--font-display);
}
.pricing-card .price small {
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 500;
}
.pricing-card .price-yearly { display: none; }
.pricing-card.yearly-active .price-monthly { display: none; }
.pricing-card.yearly-active .price-yearly { display: inline; }
.pricing-card ul {
  list-style: none;
  padding: 0;
  margin: 24px 0;
}
.pricing-card ul li {
  padding: 8px 0;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--dark);
}
.pricing-card ul li i { color: var(--accent); }
.pricing-card ul li.disabled { color: var(--muted); opacity: 0.6; }
.pricing-card ul li.disabled i { color: var(--muted); }
.pricing-table { overflow-x: auto; }
.pricing-table table { width: 100%; border-collapse: collapse; }
.pricing-table th, .pricing-table td {
  padding: 14px 18px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.pricing-table th:first-child,
.pricing-table td:first-child { text-align: left; font-weight: 500; }
.pricing-table thead th {
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 700;
}
.pricing-table .fa-check { color: var(--accent); }
.pricing-table .fa-times { color: #CBD5E1; }

/* Testimonials */
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  height: 100%;
  box-shadow: var(--shadow);
}
.testimonial-card .stars { color: #F59E0B; margin-bottom: 12px; }
.testimonial-card .quote {
  font-size: 1rem;
  color: var(--dark);
  margin-bottom: 20px;
  font-style: italic;
  line-height: 1.7;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.testimonial-author .avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}
.testimonial-author h6 { margin: 0; font-size: 0.95rem; }
.testimonial-author span { font-size: 0.8rem; color: var(--muted); }
.rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 1px solid var(--border);
  padding: 12px 24px;
  border-radius: 50px;
  box-shadow: var(--shadow);
}
.rating-badge .score {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
}
.rating-badge .stars { color: #F59E0B; }

/* FAQ */
.faq-accordion .accordion-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm) !important;
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-accordion .accordion-button {
  font-weight: 600;
  color: var(--dark);
  background: var(--white);
  box-shadow: none;
  font-size: 1rem;
}
.faq-accordion .accordion-button:not(.collapsed) {
  color: var(--primary);
  background: var(--primary-light);
}
.faq-accordion .accordion-button:focus { box-shadow: none; border-color: var(--border); }
.faq-accordion .accordion-body { color: var(--muted); }

/* Blog */
.blog-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  height: 100%;
  transition: var(--transition);
  box-shadow: var(--shadow);
}
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.blog-card .blog-img {
  height: 200px;
  background: var(--gradient-hero);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 2.5rem;
  position: relative;
}
.blog-card .blog-category {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--secondary);
  color: #fff;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
}
.blog-card .card-body { padding: 24px; }
.blog-card .meta {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 10px;
}
.blog-card h4 { font-size: 1.15rem; margin-bottom: 10px; }
.blog-card h4 a { color: var(--dark); }
.blog-card h4 a:hover { color: var(--primary); }
.blog-card p { color: var(--muted); font-size: 0.9rem; }
.blog-sidebar .widget {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 24px;
}
.blog-sidebar .widget h5 {
  font-size: 1.05rem;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--primary);
}
.blog-sidebar .widget ul { list-style: none; padding: 0; margin: 0; }
.blog-sidebar .widget ul li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}
.blog-sidebar .widget ul li:last-child { border-bottom: none; }
.blog-sidebar .widget ul li a {
  color: var(--dark);
  font-weight: 500;
  font-size: 0.9rem;
  display: flex;
  justify-content: space-between;
}
.blog-sidebar .widget ul li a:hover { color: var(--primary); }
.blog-content { background: var(--white); border-radius: var(--radius); padding: 40px; border: 1px solid var(--border); }
.blog-content h2 { font-size: 1.5rem; margin: 1.5rem 0 1rem; }
.blog-content p { color: var(--muted); margin-bottom: 1rem; }
.blog-content ul { color: var(--muted); margin-bottom: 1rem; }
.social-share { display: flex; gap: 10px; flex-wrap: wrap; }
.social-share a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.9rem;
}
.social-share .fb { background: #1877F2; }
.social-share .tw { background: #1DA1F2; }
.social-share .li { background: #0A66C2; }
.social-share .wa { background: #25D366; }

/* Forms */
.form-control, .form-select {
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  padding: 12px 16px;
  background: var(--bg);
  color: var(--dark);
  transition: var(--transition);
}
.form-control:focus, .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(11, 77, 187, 0.15);
  background: var(--white);
  color: var(--dark);
}
.form-label { font-weight: 600; font-size: 0.9rem; margin-bottom: 6px; }
.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow);
}
.form-message { font-size: 0.875rem; }
.form-message.success { color: var(--accent); }
.form-message.error { color: #EF4444; }
.contact-info-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  height: 100%;
  transition: var(--transition);
}
.contact-info-card:hover { border-color: var(--primary); box-shadow: var(--shadow); }
.contact-info-card .icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.contact-info-card h5 { font-size: 1rem; margin-bottom: 4px; }
.contact-info-card p, .contact-info-card a { color: var(--muted); font-size: 0.9rem; margin: 0; }

/* About */
.timeline {
  position: relative;
  padding-left: 30px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
}
.timeline-item {
  position: relative;
  margin-bottom: 30px;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -26px;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--primary);
  border: 3px solid var(--primary-light);
}
.timeline-item h5 { margin-bottom: 4px; }
.timeline-item span { color: var(--primary); font-weight: 600; font-size: 0.85rem; }
.timeline-item p { color: var(--muted); font-size: 0.9rem; }

/* Careers */
.job-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: var(--transition);
  height: 100%;
}
.job-card:hover { border-color: var(--primary); box-shadow: var(--shadow); }
.job-card .job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 12px 0;
}
.job-card .job-meta span {
  background: var(--primary-light);
  color: var(--primary);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* Resources */
.resource-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  height: 100%;
  transition: var(--transition);
}
.resource-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.resource-card .icon {
  width: 70px;
  height: 70px;
  border-radius: 18px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  font-size: 1.6rem;
}

/* Legal Pages */
.legal-content {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
}
.legal-content h2 { font-size: 1.4rem; margin: 2rem 0 1rem; color: var(--primary); }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p, .legal-content li { color: var(--muted); }
.legal-content ul { margin-bottom: 1rem; }

/* Footer */
.site-footer { background: #0A1628; color: rgba(255,255,255,0.75); }
.footer-top { padding: 70px 0 40px; }
.site-footer .footer-brand p { margin: 16px 0 20px; font-size: 0.9rem; line-height: 1.7; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.footer-social a:hover { background: var(--primary); color: #fff; }
.footer-title {
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 20px;
  font-weight: 700;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255,255,255,0.7); font-size: 0.9rem; }
.footer-links a:hover { color: #fff; padding-left: 4px; }
.footer-newsletter-text { font-size: 0.9rem; margin-bottom: 12px; }
.newsletter-form .form-control {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.15);
  color: #fff;
  border-radius: 50px 0 0 50px;
}
.newsletter-form .form-control::placeholder { color: rgba(255,255,255,0.5); }
.newsletter-form .btn { border-radius: 0 50px 50px 0; }
.footer-contact a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.75);
  margin-bottom: 10px;
  font-size: 0.9rem;
}
.footer-contact a:hover { color: #fff; }
.footer-contact a i { color: var(--secondary); width: 18px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  font-size: 0.875rem;
}
.footer-legal {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: flex-end;
}
.footer-legal a { color: rgba(255,255,255,0.6); font-size: 0.85rem; }
.footer-legal a:hover { color: #fff; }

/* Floating Buttons */
.float-btn {
  position: fixed;
  z-index: 1040;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow);
}
.whatsapp-btn {
  bottom: 100px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  font-size: 1.6rem;
}
.whatsapp-btn:hover { color: #fff; transform: scale(1.1); }
.demo-btn {
  bottom: 24px;
  right: 24px;
  background: var(--gradient-secondary);
  color: #fff;
  padding: 12px 20px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  gap: 8px;
}
.demo-btn:hover { color: #fff; transform: translateY(-2px); }
.back-to-top {
  bottom: 24px;
  left: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
}
.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover { background: var(--primary-dark); color: #fff; }

/* Swiper */
.swiper-pagination-bullet-active { background: var(--primary) !important; }
.screenshots-swiper .swiper-slide { height: auto; }

/* Map */
.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  height: 350px;
}
.map-embed iframe { width: 100%; height: 100%; border: 0; }

/* CTA Banner */
.cta-banner {
  background: var(--gradient-hero);
  border-radius: var(--radius-lg);
  padding: 50px 40px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-banner h2 { color: #fff; margin-bottom: 12px; }
.cta-banner p { color: rgba(255,255,255,0.85); margin-bottom: 24px; }

/* Tabs */
.nav-pills .nav-link {
  border-radius: 50px;
  font-weight: 600;
  color: var(--dark);
  padding: 10px 22px;
}
.nav-pills .nav-link.active {
  background: var(--gradient-primary);
  color: #fff;
} 
.swiper-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet, .swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet {
    margin: 0 var(--swiper-pagination-bullet-horizontal-gap, 2px);
    width: 17px !important;
    border-radius: 28px !important;
    height: 4px !important;
}
.swiper-horizontal>.swiper-pagination-bullets, .swiper-pagination-bullets.swiper-pagination-horizontal, .swiper-pagination-custom, .swiper-pagination-fraction {
    bottom: var(--swiper-pagination-bottom, 1px);
    top: var(--swiper-pagination-top, auto);
    left: 0;
    width: 100%;
}
/* Responsive */
@media (max-width: 991.98px) {
  .mega-menu { padding: 16px; }
  .pricing-card.popular { transform: none; }
  .hero-mobile { display: none; }
  .footer-legal { justify-content: flex-start; margin-top: 12px; }
  .section-padding { padding: 60px 0; }
}
@media (max-width: 767.98px) {
  .hero-section { padding: 50px 0 80px; }
  .hero-btns .btn { width: 100%; justify-content: center; }
  .demo-btn span { display: none; }
  .demo-btn { width: 56px; height: 56px; border-radius: 50%; padding: 0; }
  .form-card, .blog-content, .legal-content { padding: 24px; }
  .counter-section { margin-top: -30px; }
  .counter-card h3 {
    font-size: 1.4rem; 
}
.feature-icon-card p {
    font-size: 0.700rem; 
}
.feature-icon-card h5 {
    font-size: 0.900rem; 
}
}
@media (max-width: 575.98px) {
  .hero-stats { gap: 16px; }
  .hero-stats .stat-item strong { font-size: 1.2rem; }
   .counter-card h3 {
    font-size: 1.4rem; 
}
.feature-icon-card p {
    font-size: 0.700rem; 
}
.feature-icon-card h5 {
    font-size: 0.900rem; 
}
}

/* Print */
@media print {
  .site-header, .site-footer, .float-btn, #preloader { display: none !important; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}
