/* Custom CSS for SimOwnerPro - Modern, Premium, and Responsive Style Sheet */

/* Import Google Font */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700;800&display=swap');

/* CSS Variables */
:root {
  --font-primary: 'Inter', sans-serif;
  --font-heading: 'Outfit', sans-serif;

  /* Light Theme Color Palette */
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-tertiary: #f1f5f9;
  --bg-card: #ffffff;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --border-color: #e2e8f0;
  
  --primary: #4f46e5;
  --primary-hover: #4338ca;
  --primary-rgb: 79, 70, 229;
  
  --secondary: #06b6d4;
  --secondary-hover: #0891b2;
  --secondary-rgb: 6, 182, 212;

  --accent: #f59e0b;
  --accent-rgb: 245, 158, 11;
  
  /* Glassmorphism Styles */
  --glass-bg: rgba(255, 255, 255, 0.75);
  --glass-border: rgba(255, 255, 255, 0.4);
  --glass-blur: 12px;
  
  /* Shadows & Glows */
  --shadow-sm: 0 2px 8px -1px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 16px -6px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 40px -10px rgba(0, 0, 0, 0.08), 0 10px 20px -10px rgba(0, 0, 0, 0.04);
  --card-glow: rgba(79, 70, 229, 0.08);
  --transition-speed: 0.3s;
}

/* Dark Theme Color Palette */
[data-theme="dark"] {
  --bg-primary: #070a13;
  --bg-secondary: #0c111e;
  --bg-tertiary: #111827;
  --bg-card: #151e30;
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --border-color: #1e293b;
  
  /* Glassmorphism Styles */
  --glass-bg: rgba(12, 17, 30, 0.75);
  --glass-border: rgba(255, 255, 255, 0.05);
  
  /* Shadows & Glows */
  --shadow-sm: 0 2px 8px -1px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.4), 0 8px 16px -6px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 20px 40px -10px rgba(0, 0, 0, 0.5), 0 10px 20px -10px rgba(0, 0, 0, 0.3);
  --card-glow: rgba(6, 182, 212, 0.12);
}

/* Global Reset & Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  transition: background-color var(--transition-speed) ease, color var(--transition-speed) ease;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.025em;
}

a {
  text-decoration: none;
  transition: all var(--transition-speed) ease;
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

/* Scroll Progress Bar */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  z-index: 9999;
  width: 0%;
  transition: width 0.1s ease-out;
}

/* Preloader styles */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: var(--bg-primary);
  z-index: 10000;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.spinner {
  width: 60px;
  height: 60px;
  border: 4px solid var(--border-color);
  border-top: 4px solid var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  position: relative;
}

.spinner::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 6px;
  right: 6px;
  bottom: 6px;
  border: 3px solid transparent;
  border-top: 3px solid var(--secondary);
  border-radius: 50%;
  animation: spin 2s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Custom Scroll Reveal Animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }

/* Sticky Glassmorphic Navbar */
.navbar {
  background-color: transparent;
  border-bottom: 1px solid transparent;
  padding: 1.25rem 0;
  transition: padding var(--transition-speed) ease, background-color var(--transition-speed) ease, border-color var(--transition-speed) ease;
  z-index: 1000;
}

.navbar.scrolled {
  background-color: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border-bottom: 1px solid var(--glass-border);
  padding: 0.75rem 0;
  box-shadow: var(--shadow-sm);
}

.navbar-brand {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--text-primary) !important;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

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

.nav-link {
  font-weight: 500;
  color: var(--text-secondary) !important;
  padding: 0.5rem 1rem !important;
  border-radius: 8px;
  position: relative;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transition: all var(--transition-speed) ease;
  transform: translateX(-50%);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 60%;
}

/* Dark Mode Switcher */
.theme-toggle-btn {
  background: none;
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all var(--transition-speed) ease;
}

.theme-toggle-btn:hover {
  background-color: var(--bg-tertiary);
  border-color: var(--text-muted);
}

.theme-toggle-btn i {
  font-size: 1.2rem;
}

.theme-toggle-btn .bi-sun-fill {
  display: none;
}

[data-theme="dark"] .theme-toggle-btn .bi-sun-fill {
  display: inline-block;
  color: var(--accent);
}

[data-theme="dark"] .theme-toggle-btn .bi-moon-stars-fill {
  display: none;
}

/* Premium Buttons */
.btn-primary-custom {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #ffffff !important;
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  border: none;
  border-radius: 12px;
  box-shadow: 0 4px 14px 0 rgba(var(--primary-rgb), 0.35);
  transition: all var(--transition-speed) ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary-custom::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  opacity: 0;
  z-index: -1;
  transition: opacity var(--transition-speed) ease;
}

.btn-primary-custom:hover {
  box-shadow: 0 6px 20px 0 rgba(var(--primary-rgb), 0.5);
  transform: translateY(-2px);
}

.btn-primary-custom:hover::before {
  opacity: 1;
}

.btn-secondary-custom {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-primary) !important;
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  border-radius: 12px;
  transition: all var(--transition-speed) ease;
  box-shadow: var(--shadow-sm);
}

.btn-secondary-custom:hover {
  background-color: var(--bg-tertiary);
  border-color: var(--text-muted);
  transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
  padding: 160px 0 100px;
  position: relative;
  background-color: var(--bg-secondary);
  overflow: hidden;
}

/* Grid & Circle Deco Background */
.hero-bg-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(var(--border-color) 1px, transparent 1px);
  background-size: 30px 30px;
  opacity: 0.4;
  pointer-events: none;
  z-index: 0;
}

.hero-glow-1 {
  position: absolute;
  top: -10%;
  right: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(var(--secondary-rgb), 0.15) 0%, rgba(var(--primary-rgb), 0) 70%);
  filter: blur(80px);
  z-index: 0;
  pointer-events: none;
}

.hero-glow-2 {
  position: absolute;
  bottom: -10%;
  left: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(var(--primary-rgb), 0.12) 0%, rgba(var(--secondary-rgb), 0) 70%);
  filter: blur(80px);
  z-index: 0;
  pointer-events: none;
}

.hero-container {
  position: relative;
  z-index: 1;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  background: rgba(var(--primary-rgb), 0.08);
  border: 1px solid rgba(var(--primary-rgb), 0.15);
  color: var(--primary);
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}

[data-theme="dark"] .hero-tag {
  background: rgba(var(--secondary-rgb), 0.1);
  border-color: rgba(var(--secondary-rgb), 0.2);
  color: var(--secondary);
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

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

.hero-desc {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 2.5rem;
}

/* Hero Mockup Graphic */
.hero-mockup-wrapper {
  position: relative;
  perspective: 1000px;
}

.hero-mockup-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  transform-style: preserve-3d;
}

.hero-mockup-card:hover {
  transform: rotateY(-5deg) rotateX(5deg) translateY(-5px);
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.12), 0 0 40px -5px var(--card-glow);
}

[data-theme="dark"] .hero-mockup-card:hover {
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.6), 0 0 45px -5px var(--card-glow);
}

.hero-mockup-header {
  height: 48px;
  background-color: var(--bg-tertiary);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  padding: 0 1.25rem;
  gap: 0.5rem;
}

.hero-mockup-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.dot-red { background-color: #ef4444; }
.dot-yellow { background-color: #f59e0b; }
.dot-green { background-color: #10b981; }

.hero-mockup-body {
  padding: 0;
  position: relative;
  background-color: #070a13; /* Ensure dark elegant background for tech visualization */
}

.hero-mockup-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

.hero-mockup-card:hover .hero-mockup-img {
  opacity: 1;
}

/* Floating Badges */
.floating-badge {
  position: absolute;
  padding: 0.75rem 1.25rem;
  border-radius: 16px;
  background-color: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  animation: float 6s ease-in-out infinite;
  z-index: 2;
}

.badge-1 {
  top: 15%;
  left: -10%;
  animation-delay: 0s;
}

.badge-2 {
  bottom: 15%;
  right: -5%;
  animation-delay: 2s;
}

.badge-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.25rem;
}

.badge-info h5 {
  font-size: 0.9rem;
  margin-bottom: 0.15rem;
}

.badge-info p {
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-bottom: 0;
  font-weight: 500;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
  100% { transform: translateY(0px); }
}

/* Section Common Styles */
.section-padding {
  padding: 100px 0;
}

.section-tag {
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.85rem;
  color: var(--primary);
  margin-bottom: 0.75rem;
  display: inline-block;
}

[data-theme="dark"] .section-tag {
  color: var(--secondary);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 3.5rem;
  line-height: 1.6;
}

/* Modern Card Custom Styles */
.premium-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-speed) cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  height: 100%;
}

.premium-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  opacity: 0;
  transition: opacity var(--transition-speed) ease;
}

.premium-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg), 0 0 30px -5px var(--card-glow);
  border-color: rgba(var(--primary-rgb), 0.25);
}

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

.card-icon-wrapper {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: rgba(var(--primary-rgb), 0.08);
  color: var(--primary);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  transition: all var(--transition-speed) ease;
}

[data-theme="dark"] .card-icon-wrapper {
  background: rgba(var(--secondary-rgb), 0.1);
  color: var(--secondary);
}

.premium-card:hover .card-icon-wrapper {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #ffffff;
  transform: scale(1.1);
}

.premium-card h3 {
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.premium-card p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 0;
}

/* Service Section Cards (Interactive) */
.service-card {
  padding: 2.5rem 2rem;
}

.service-link {
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  font-size: 0.95rem;
  border-bottom: 1.5px solid transparent;
}

[data-theme="dark"] .service-link {
  color: var(--secondary);
}

.service-link:hover {
  gap: 0.75rem;
  border-color: currentColor;
}

/* How It Works - Animated Timeline */
.timeline-container {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--border-color);
  transform: translateX(-50%);
  z-index: 1;
}

.timeline-step {
  display: flex;
  margin-bottom: 5rem;
  position: relative;
  z-index: 2;
  align-items: center;
}

.timeline-step:last-child {
  margin-bottom: 0;
}

.timeline-content {
  width: 45%;
  padding: 2rem;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  position: relative;
  transition: all var(--transition-speed) ease;
}

.timeline-step:hover .timeline-content {
  border-color: rgba(var(--primary-rgb), 0.3);
  box-shadow: var(--shadow-lg), 0 0 25px -5px var(--card-glow);
  transform: translateY(-3px);
}

.timeline-badge {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #ffffff;
  font-weight: 700;
  font-size: 1.25rem;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  border: 4px solid var(--bg-primary);
  box-shadow: var(--shadow-md);
  z-index: 3;
}

.timeline-empty {
  width: 45%;
}

/* Alternate Timeline Items */
.timeline-step:nth-child(even) {
  flex-direction: row-reverse;
}

/* Statistics Section */
.stats-section {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #ffffff;
  position: relative;
  overflow: hidden;
  padding: 80px 0;
}

.stats-section .section-tag {
  color: rgba(255, 255, 255, 0.8);
}

.stats-section h2, .stats-section h3, .stats-section p {
  color: #ffffff !important;
}

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

.stat-number {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  background: linear-gradient(to bottom, #ffffff, rgba(255, 255, 255, 0.85));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-weight: 600;
  font-size: 1.1rem;
  opacity: 0.9;
}

/* Pricing Plans */
.pricing-card {
  padding: 3rem 2rem;
  text-align: center;
  position: relative;
}

.pricing-card.recommended {
  border-color: var(--primary);
  transform: scale(1.05);
  z-index: 10;
}

[data-theme="dark"] .pricing-card.recommended {
  border-color: var(--secondary);
}

@media (max-width: 991.98px) {
  .pricing-card.recommended {
    transform: scale(1);
    margin: 1.5rem 0;
  }
}

.recommended-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.4rem 1.25rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 10px rgba(var(--primary-rgb), 0.25);
}

.pricing-plan-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
}

.pricing-price {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  font-family: var(--font-heading);
}

.pricing-price span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
}

.pricing-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.pricing-features-list {
  list-style: none;
  padding-left: 0;
  text-align: left;
  margin-bottom: 2.5rem;
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
}

.pricing-features-list li {
  font-size: 0.95rem;
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-secondary);
}

.pricing-features-list li i {
  color: #10b981;
  font-size: 1.1rem;
}

.pricing-features-list li.disabled {
  color: var(--text-muted);
  text-decoration: line-through;
  opacity: 0.7;
}

.pricing-features-list li.disabled i {
  color: var(--text-muted);
}

/* Testimonials Carousel */
.testimonials-section {
  background-color: var(--bg-secondary);
}

.testimonial-slide {
  padding: 1.5rem;
}

.testimonial-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 3rem;
  box-shadow: var(--shadow-md);
  position: relative;
}

.testimonial-quote {
  font-size: 1.2rem;
  line-height: 1.7;
  color: var(--text-primary);
  font-style: italic;
  margin-bottom: 2rem;
}

.testimonial-rating {
  color: var(--accent);
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.testimonial-profile {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary);
}

.testimonial-name {
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.15rem;
}

.testimonial-title {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* Testimonial slider control dots styling */
.carousel-indicators {
  bottom: -50px;
}

.carousel-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--text-muted);
  opacity: 0.4;
  border: none;
  margin: 0 6px;
  transition: all var(--transition-speed) ease;
}

.carousel-indicators .active {
  background-color: var(--primary);
  opacity: 1;
  width: 28px;
  border-radius: 10px;
}

/* Accordion FAQs */
.faq-accordion .accordion-item {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  margin-bottom: 1rem;
  border-radius: 12px !important;
  overflow: hidden;
  transition: border-color var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.faq-accordion .accordion-item:hover {
  border-color: rgba(var(--primary-rgb), 0.25);
}

.faq-accordion .accordion-button {
  background-color: var(--bg-card);
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.1rem;
  padding: 1.25rem 1.5rem;
  border: none;
  box-shadow: none !important;
}

.faq-accordion .accordion-button:not(.collapsed) {
  color: var(--primary);
  background-color: var(--bg-card);
  border-bottom: 1px solid var(--border-color);
}

[data-theme="dark"] .faq-accordion .accordion-button:not(.collapsed) {
  color: var(--secondary);
}

.faq-accordion .accordion-button::after {
  background-image: none;
  font-family: "bootstrap-icons";
  content: "\f282";
  font-size: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform var(--transition-speed) ease;
}

.faq-accordion .accordion-button:not(.collapsed)::after {
  transform: rotate(180deg);
  color: var(--primary);
}

[data-theme="dark"] .faq-accordion .accordion-button:not(.collapsed)::after {
  color: var(--secondary);
}

.faq-accordion .accordion-body {
  padding: 1.5rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Call-to-Action Section */
.cta-section {
  background: linear-gradient(135deg, #090d16, #0c111e);
  position: relative;
  overflow: hidden;
  padding: 100px 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.cta-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(var(--primary-rgb), 0.15) 0%, rgba(var(--secondary-rgb), 0) 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

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

/* Contact Section & Form styling */
.contact-info-card {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.contact-info-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background-color: rgba(var(--primary-rgb), 0.08);
  color: var(--primary);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}

[data-theme="dark"] .contact-info-icon {
  background-color: rgba(var(--secondary-rgb), 0.1);
  color: var(--secondary);
}

.contact-info-details h4 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

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

.contact-form-card {
  padding: 3rem;
}

.form-group-custom {
  position: relative;
  margin-bottom: 1.5rem;
}

.form-control-custom {
  width: 100%;
  background-color: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  color: var(--text-primary);
  font-family: var(--font-primary);
  font-weight: 500;
  transition: all var(--transition-speed) ease;
}

.form-control-custom:focus {
  background-color: var(--bg-card);
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 15px -3px var(--card-glow);
}

[data-theme="dark"] .form-control-custom:focus {
  border-color: var(--secondary);
}

.form-label-custom {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
  display: block;
}

/* Maps Placeholder */
.map-container {
  height: 250px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  position: relative;
  box-shadow: var(--shadow-sm);
  background: var(--bg-tertiary);
}

.map-placeholder-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: var(--text-muted);
  gap: 0.75rem;
}

.map-placeholder-content i {
  font-size: 2.5rem;
  color: var(--primary);
}

[data-theme="dark"] .map-placeholder-content i {
  color: var(--secondary);
}

/* Footer Section */
.footer {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 80px 0 30px;
}

.footer-brand-desc {
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 1.25rem 0 1.75rem;
  font-size: 0.95rem;
}

.footer-socials {
  display: flex;
  gap: 0.75rem;
}

.footer-social-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  background-color: var(--bg-card);
  color: var(--text-secondary);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.1rem;
  transition: all var(--transition-speed) ease;
}

.footer-social-icon:hover {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #ffffff;
  border-color: transparent;
  transform: translateY(-3px);
}

.footer-heading {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.75rem;
}

.footer-links {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.footer-links li {
  margin-bottom: 0.85rem;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.95rem;
  display: inline-block;
}

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

[data-theme="dark"] .footer-links a:hover {
  color: var(--secondary);
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 30px;
  margin-top: 60px;
}

.footer-copyright {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 0;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
  justify-content: flex-end;
}

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

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

[data-theme="dark"] .footer-bottom-links a:hover {
  color: var(--secondary);
}

/* Back-to-Top Button */
#back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #ffffff;
  border: none;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.25rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.8);
  transition: all var(--transition-speed) ease;
  box-shadow: 0 6px 20px rgba(var(--primary-rgb), 0.3);
  z-index: 999;
}

#back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

#back-to-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(var(--primary-rgb), 0.45);
}

/* Demo SIM Verification Dashboard Sandbox UI */
.interactive-sandbox {
  border-radius: 16px;
  overflow: hidden;
  background-color: #0c111e;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: var(--shadow-lg);
}

.sandbox-header {
  padding: 1rem 1.25rem;
  background-color: #111827;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sandbox-title {
  color: #ffffff;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sandbox-body {
  padding: 2rem;
  color: #e2e8f0;
}

.sandbox-form {
  margin-bottom: 1.5rem;
}

.sandbox-input-group {
  display: flex;
  gap: 0.75rem;
}

@media (max-width: 575.98px) {
  .sandbox-input-group {
    flex-direction: column;
  }
}

.sandbox-input {
  flex-grow: 1;
  background-color: #172033;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.85rem 1.25rem;
  border-radius: 10px;
  color: #ffffff;
  font-weight: 500;
  outline: none;
  font-size: 0.95rem;
}

.sandbox-input:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 10px rgba(6, 182, 212, 0.2);
}

.sandbox-btn {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #ffffff;
  font-weight: 600;
  padding: 0.85rem 1.5rem;
  border: none;
  border-radius: 10px;
  flex-shrink: 0;
}

.sandbox-btn:hover {
  transform: translateY(-1px);
}

.sandbox-console {
  background-color: #070a13;
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: 10px;
  padding: 1.25rem;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.85rem;
  color: #38bdf8;
  min-height: 180px;
  max-height: 250px;
  overflow-y: auto;
  line-height: 1.6;
}

.console-line {
  margin-bottom: 0.5rem;
}

.console-line.success {
  color: #4ade80;
}

.console-line.error {
  color: #f87171;
}

.console-line.info {
  color: #e2e8f0;
}

.console-line.system {
  color: #a78bfa;
}

.sandbox-results-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1rem;
}

@media (max-width: 575.98px) {
  .sandbox-results-grid {
    grid-template-columns: 1fr;
  }
}

.sandbox-result-box {
  background-color: #172033;
  padding: 1rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.result-label {
  font-size: 0.75rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.result-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffffff;
}

/* Timeline/How it works details alignment for small screens */
@media (max-width: 767.98px) {
  .timeline-line {
    left: 20px;
    transform: none;
  }
  .timeline-step {
    flex-direction: row !important;
    margin-bottom: 3.5rem;
  }
  .timeline-content {
    width: calc(100% - 50px);
    margin-left: 50px;
    padding: 1.5rem;
  }
  .timeline-badge {
    left: 20px;
    transform: translate(-50%, -50%);
    top: 50%;
    width: 44px;
    height: 44px;
    font-size: 1rem;
  }
  .timeline-empty {
    display: none;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .contact-form-card {
    padding: 1.5rem;
  }
}

/* Custom Lookup Portal & Diagram Styles */
.btn-whatsapp-channel {
  background-color: #00bcd4;
  color: #ffffff !important;
  font-weight: 600;
  border-radius: 50px;
  padding: 0.65rem 1.5rem;
  border: none;
  box-shadow: 0 4px 15px rgba(0, 188, 212, 0.3);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  transition: all var(--transition-speed) ease;
}
.btn-whatsapp-channel:hover {
  background-color: #00acc1;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 188, 212, 0.45);
}

.search-records-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  padding: 2rem;
  transition: all var(--transition-speed) ease;
}

.search-records-inner {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 1.75rem;
  margin-top: 1.5rem;
}

.search-records-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.btn-search-purple {
  background: linear-gradient(135deg, #7c3aed, #4f46e5);
  color: #ffffff !important;
  font-weight: 600;
  border: none;
  border-radius: 12px;
  padding: 0.75rem 1.75rem;
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.35);
  transition: all var(--transition-speed) ease;
}
.btn-search-purple:hover {
  background: linear-gradient(135deg, #6d28d9, #4338ca);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(124, 58, 237, 0.5);
}

.results-whatsapp-container {
  display: none;
  margin-top: 1.5rem;
  padding: 1.5rem;
  background-color: rgba(239, 68, 68, 0.05);
  border: 1px dashed rgba(239, 68, 68, 0.25);
  border-radius: 14px;
  text-align: center;
  animation: slideDown 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

[data-theme="dark"] .results-whatsapp-container {
  background-color: rgba(239, 68, 68, 0.03);
  border-color: rgba(239, 68, 68, 0.15);
}

.results-whatsapp-title {
  color: #ef4444;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}

.btn-whatsapp-action {
  background-color: #25d366;
  color: #ffffff !important;
  font-weight: 600;
  border-radius: 12px;
  padding: 0.75rem 1.75rem;
  border: none;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
  transition: all var(--transition-speed) ease;
}
.btn-whatsapp-action:hover {
  background-color: #20ba5a;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.5);
}

/* Custom Interactive Diagram styles */
.diagram-container {
  position: relative;
  width: 100%;
  height: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.diagram-phone-wrapper {
  position: relative;
  z-index: 2;
  animation: floatPhone 6s ease-in-out infinite;
}

.diagram-phone-img {
  max-height: 280px;
  width: auto;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.15));
}

[data-theme="dark"] .diagram-phone-img {
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.6)) brightness(0.9);
}

.diagram-tag {
  position: absolute;
  background-color: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
  z-index: 3;
  animation: floatTag 6s ease-in-out infinite;
}

.tag-cnic {
  top: 15%;
  right: 15%;
  animation-delay: 0.5s;
}

.tag-nadra {
  top: 25%;
  left: 10%;
  animation-delay: 1.5s;
}

.tag-sim {
  bottom: 25%;
  right: 10%;
  animation-delay: 2.5s;
}

.tag-travel {
  bottom: 20%;
  left: 15%;
  animation-delay: 3.5s;
}

.diagram-center-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(var(--primary-rgb), 0.15) 0%, rgba(var(--secondary-rgb), 0) 70%);
  filter: blur(40px);
  z-index: 1;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatPhone {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(2deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes floatTag {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-6px); }
  100% { transform: translateY(0px); }
}

/* ---- API Result Card ---- */
.api-result-card {
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.06), rgba(var(--secondary-rgb), 0.04));
  border: 1px solid rgba(var(--primary-rgb), 0.2);
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
  animation: slideDown 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  transition: box-shadow var(--transition-speed) ease;
}

.api-result-card:hover {
  box-shadow: 0 8px 30px rgba(var(--primary-rgb), 0.12);
}

[data-theme="dark"] .api-result-card {
  background: linear-gradient(135deg, rgba(var(--secondary-rgb), 0.08), rgba(var(--primary-rgb), 0.04));
  border-color: rgba(var(--secondary-rgb), 0.2);
}

.result-header {
  display: flex;
  align-items: center;
  font-size: 1rem;
  font-weight: 700;
  color: #10b981;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-color);
}

.result-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.result-list li {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.9rem;
}

.result-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.result-label {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
  flex-shrink: 0;
}

.result-value {
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.9rem;
  text-align: right;
  word-break: break-word;
}

/* Automatic Floating WhatsApp Widget */
.whatsapp-float-btn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: #ffffff;
  border-radius: 50px;
  text-align: center;
  font-size: 32px;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.whatsapp-float-btn:hover {
  transform: scale(1.1);
  color: #ffffff;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-icon-pulse {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: #25d366;
  opacity: 0.7;
  z-index: -1;
  animation: whatsappPulse 2s infinite;
}

@keyframes whatsappPulse {
  0% {
    transform: scale(1);
    opacity: 0.75;
  }
  70% {
    transform: scale(1.5);
    opacity: 0;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

.whatsapp-tooltip {
  position: absolute;
  right: 70px;
  background: #111827;
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  transform: translateX(10px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.whatsapp-float-btn:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* ============================================================
   RESPONSIVE DESIGN SYSTEM FOR ALL DEVICE SIZES
   (Mobile, Foldables, Tablets, Laptops, Desktops, 4K Displays)
   ============================================================ */

/* 1. Ultra Small Mobile & Foldable Screens (under 380px) */
@media (max-width: 379.98px) {
  .hero-title {
    font-size: 1.85rem !important;
    line-height: 1.25 !important;
  }
  .section-title {
    font-size: 1.5rem !important;
  }
  .search-records-card {
    padding: 1.2rem 0.85rem !important;
    border-radius: 16px !important;
  }
  .sandbox-input-group {
    flex-direction: column !important;
    gap: 0.5rem !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
  }
  .sandbox-input {
    width: 100% !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 12px !important;
    padding: 0.75rem 1rem !important;
  }
  .btn-search-purple {
    width: 100% !important;
    border-radius: 12px !important;
    padding: 0.75rem !important;
  }
  .whatsapp-float-btn {
    width: 50px !important;
    height: 50px !important;
    bottom: 15px !important;
    right: 15px !important;
    font-size: 26px !important;
  }
  .whatsapp-tooltip {
    display: none !important; /* Hide tooltip on tiny mobile screens to avoid overflow */
  }
}

/* 2. Standard Mobile Phones (380px to 575px) */
@media (min-width: 380px) and (max-width: 575.98px) {
  .hero-title {
    font-size: 2.1rem !important;
  }
  .search-records-card {
    padding: 1.5rem 1rem !important;
  }
  .whatsapp-float-btn {
    width: 55px;
    height: 55px;
    bottom: 20px;
    right: 20px;
    font-size: 28px;
  }
}

/* 3. Tablets & Small Laptops (576px to 991px) */
@media (min-width: 576px) and (max-width: 991.98px) {
  .hero-title {
    font-size: 2.75rem !important;
  }
  .section-padding {
    padding: 3.5rem 0 !important;
  }
  .search-records-card {
    max-width: 600px;
    margin: 0 auto;
  }
}

/* 4. Laptops & Standard Desktops (992px to 1399px) */
@media (min-width: 992px) and (max-width: 1399.98px) {
  .container {
    max-width: 1140px;
  }
}

/* 5. Ultra-Wide & 4K Displays (1400px and up) */
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
  .hero-title {
    font-size: 3.5rem !important;
  }
  .section-title {
    font-size: 2.5rem !important;
  }
}

/* Touch & High-DPI Display Touch Target Optimizations */
@media (pointer: coarse) {
  .nav-link,
  .btn,
  .whatsapp-float-btn,
  .theme-toggle-btn {
    min-height: 44px;
  }
}


