/* Custom CSS variables based on Design System */
:root {
  --primary: #E05300;
  --primary-hover: #C84A00;
  --primary-light: #FFF7ED;
  --primary-light-hover: #FFEDD5;
  
  --text-main: #0F172A;
  --text-secondary: #475569;
  --text-muted: #94A3B8;
  
  --bg-main: #FFFFFF;
  --bg-alt: #F8FAFC;
  --bg-alt-dark: #F1F5F9;
  
  --border-color: #E2E8F0;
  --border-light: #F1F5F9;
  
  --success: #10B981;
  --success-light: #ECFDF5;
  --success-text: #047857;
  
  --warning: #F59E0B;
  --warning-light: #FFFBEB;
  --warning-text: #B45309;
  
  --danger: #EF4444;
  --danger-light: #FEF2F2;
  --danger-text: #B91C1C;
  
  --info: #3B82F6;
  --info-light: #EFF6FF;
  --info-text: #1D4ED8;
  
  --shadow-sm: 0 1px 2px 0 rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.03), 0 2px 4px -2px rgba(15, 23, 42, 0.02);
  --shadow-lg: 0 20px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.05);
  --shadow-hover: 0 12px 20px -3px rgba(224, 83, 0, 0.06), 0 4px 6px -2px rgba(224, 83, 0, 0.02);
  --shadow-btn: 0 4px 14px rgba(224, 83, 0, 0.3);
  
  --font-headings: 'Cairo', sans-serif;
  --font-body: 'Tajawal', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px; /* Leaves space for the fixed header */
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.8;
  text-align: right;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

ul {
  list-style: none;
}

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

/* Typography styles */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headings);
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.3;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 15px;
  padding: 12px 24px;
  border-radius: 12px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 16px;
}

.btn-md {
  padding: 10px 20px;
  font-size: 14.5px;
  font-weight: 700;
  border-radius: 10px;
}

.btn-full {
  width: 100%;
}

.btn-primary {
  background-color: var(--primary);
  color: #FFFFFF;
  box-shadow: var(--shadow-btn);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(224, 83, 0, 0.4);
}

.btn-secondary {
  background-color: #FFFFFF;
  color: #1E293B;
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background-color: var(--bg-alt);
  border-color: #CBD5E1;
  transform: translateY(-2px);
}

.btn-subtext {
  font-size: 12px;
  font-weight: 400;
  margin-right: 4px;
  opacity: 0.9;
}

/* Badges */
.card-badge {
  display: inline-flex;
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 12px;
}

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

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

/* Section Common Styling */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 80px auto;
}

.section-tagline {
  color: var(--primary);
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  width: 100%;
  gap: 20px;
}

.section-tagline::before,
.section-tagline::after {
  content: "";
  flex: 1;
  height: 2px;
  opacity: 0.6;
  filter: drop-shadow(0 0 6px rgba(224, 83, 0, 0.4));
}

.section-tagline::before {
  background: linear-gradient(to left, transparent, var(--primary));
}

.section-tagline::after {
  background: linear-gradient(to right, transparent, var(--primary));
}

.section-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 24px;
  line-height: 1.45;
}

.section-desc {
  font-size: 16px;
  color: var(--text-secondary);
}

/* Header & Navigation */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-light);
  z-index: 1000;
  transition: all 0.3s ease;
}

.main-header.scrolled {
  padding: 10px 0;
  box-shadow: var(--shadow-sm);
}

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

.logo-link {
  font-family: var(--font-headings);
  font-weight: 800;
  font-size: 24px;
  color: var(--text-main);
}

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

.desktop-nav ul {
  display: flex;
  gap: 32px;
}

.nav-link {
  font-weight: 500;
  font-size: 15px;
  color: var(--text-secondary);
  position: relative;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -6px;
  right: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1010;
}

.mobile-menu-toggle span {
  width: 100%;
  height: 2px;
  background-color: var(--text-main);
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Nav Drawer */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background-color: var(--bg-main);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 40px;
}

.mobile-nav-drawer.active {
  right: 0;
}

.mobile-nav ul {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.mobile-nav-link {
  font-family: var(--font-headings);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-main);
}

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

.mobile-cta {
  margin-top: 16px;
  width: 200px;
}

/* Hero Section */
.hero-section {
  padding: 170px 0 100px 0;
  background-color: var(--bg-main);
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(255, 247, 237, 0.5) 0%, transparent 60%);
  background-size: 100% 100%;
  position: relative;
  overflow: hidden;
}

/* Orange Radial Glow Flare Effect */
.hero-glow-flare {
  position: absolute;
  top: -250px;
  right: -200px;
  left: auto;
  transform: none;
  width: 900px;
  height: 900px;
  background: radial-gradient(circle at 65% 35%, rgba(224, 83, 0, 0.45) 0%, rgba(224, 83, 0, 0.18) 45%, rgba(224, 83, 0, 0) 70%);
  filter: blur(120px);
  pointer-events: none;
  z-index: 1;
}

.hero-container {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: right;
}

.hero-tagline {
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 13.5px;
  color: var(--primary);
  margin-bottom: 20px;
  display: inline-block;
}

.hero-title {
  font-size: 38px;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 24px;
  color: var(--text-main);
}

.hero-title-sub {
  display: block;
  font-size: 0.6em;
  font-weight: 600;
  color: var(--text-secondary);
  margin-top: 14px;
  line-height: 1.4;
}

.hero-subtitle {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 40px;
  font-weight: 500;
  max-width: 580px;
}

.hero-features-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
  width: 100%;
}

.hero-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.feat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: var(--primary-light);
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 4px;
}

.feat-icon svg {
  width: 10px;
  height: 10px;
}

.feat-text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.hero-cta-wrapper {
  display: flex;
  flex-direction: row !important;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-cta-wrapper .btn {
  padding: 8px 16px !important;
  font-size: 13px !important;
  border-radius: 8px !important;
}

.cta-disclaimer {
  font-size: 11.5px;
  color: var(--text-muted);
  margin-right: 8px;
}

.hero-media {
  position: relative;
  display: flex;
  justify-content: center;
  perspective: 1000px;
}

.hero-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 125%; /* Make it larger */
  margin-right: -40px; /* Shift slightly to the right to balance space */
}



.hero-illustration {
  width: 100%;
  height: auto;
  display: block;
  mix-blend-mode: multiply;
  filter: contrast(1.05) brightness(1.02);
}

/* Browser Mockup Styling *//* Browser Mockup Styling *//* Browser Mockup Styling */
.browser-mockup {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  position: relative;
  width: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.browser-mockup.shadow-hover:hover {
  box-shadow: 0 25px 45px -5px rgba(15, 23, 42, 0.12), 0 12px 20px -6px rgba(15, 23, 42, 0.08);
}

.browser-header {
  height: 40px;
  background-color: var(--bg-alt);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  padding: 0 16px;
  position: relative;
}

.browser-dots {
  display: flex;
  gap: 6px;
  position: absolute;
  right: 16px; /* Place on right for RTL, left for LTR, but standard is left-to-right dot arrangement for universal look */
  flex-direction: row;
}

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

.dot-close { background-color: #FF5F56; }
.dot-minimize { background-color: #FFBD2E; }
.dot-maximize { background-color: #27C93F; }

.address-bar {
  background-color: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 4px 20px;
  font-family: monospace;
  font-size: 11px;
  color: #64748B;
  width: 240px;
  margin: 0 auto;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  direction: ltr; /* Monospace URL in LTR */
}

.browser-content {
  position: relative;
  background-color: #F8FAFC;
  display: flex;
  justify-content: center;
  align-items: center;
}

.mockup-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

/* Problem & Solution Section */
.problems-section {
  padding: 140px 0;
  background-color: var(--bg-alt);
}

.problems-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.problem-card {
  display: grid;
  grid-template-columns: 1fr; /* Default: stacked vertically on mobile */
  background-color: #FFFFFF;
  border-radius: 16px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: all 0.3s ease;
}

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

.problem-side, .solution-side {
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}

.problem-side {
  background-color: #FCFDFE;
  border-bottom: 1px dashed var(--border-color); /* Mobile divider */
  border-left: none;
}

.solution-side {
  background-color: #FFFFFF;
}

.problem-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.problem-card p {
  color: var(--text-secondary);
  font-size: 15px;
}

/* Beautiful Glowing Orange Separator between cards */
.problems-separator {
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  margin: 60px auto;
  width: 60%;
  filter: drop-shadow(0 0 6px rgba(224, 83, 0, 0.4));
  border: none;
  opacity: 0.6;
}

/* Desktop layout (Problem side-by-side with Solution) */
@media (min-width: 768px) {
  .problem-card {
    grid-template-columns: 1fr 1fr; /* Side-by-side columns */
  }
  
  .problem-side {
    border-bottom: none;
    border-left: 1px dashed var(--border-color); /* Vertical divider */
  }
}

/* Core Features Tabs Section */
.features-section {
  padding: 140px 0;
}

.features-tabs-wrapper {
  display: grid;
  grid-template-columns: 0.35fr 0.65fr;
  gap: 60px;
  margin-top: 60px;
}

.features-tabs-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tab-btn {
  display: flex;
  align-items: center;
  gap: 16px;
  background-color: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 20px 24px;
  cursor: pointer;
  text-align: right;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 15px;
  color: var(--text-secondary);
}

.tab-btn:hover {
  background-color: var(--bg-alt);
  border-color: #CBD5E1;
}

.tab-btn.active {
  background-color: var(--primary-light);
  border-color: rgba(224, 83, 0, 0.2);
  color: var(--primary);
  box-shadow: 0 4px 12px rgba(224, 83, 0, 0.04);
}

.tab-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background-color: var(--bg-alt);
  color: var(--text-secondary);
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.tab-btn:hover .tab-icon-wrapper {
  color: var(--primary);
  background-color: #FFFFFF;
}

.tab-btn.active .tab-icon-wrapper {
  background-color: #FFFFFF;
  color: var(--primary);
}

.tab-icon {
  width: 20px;
  height: 20px;
}

.tab-label {
  white-space: nowrap;
}

/* Features Content Area */
.features-tabs-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  background-color: var(--bg-alt);
  padding: 48px;
  border-radius: 16px;
  border: 1px solid var(--border-light);
}

.features-details-panel {
  position: relative;
  min-height: 200px;
}

.tab-content-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s;
}

.tab-content-item.active {
  position: relative;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.feature-tag {
  color: var(--primary);
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 8px;
}

.tab-content-item h3 {
  font-size: 24px;
  margin-bottom: 16px;
}

.feature-bullets {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.feature-bullets li {
  position: relative;
  padding-right: 20px;
  font-size: 15px;
  color: var(--text-secondary);
}

.feature-bullets li::before {
  content: "•";
  position: absolute;
  right: 0;
  color: var(--primary);
  font-weight: bold;
  font-size: 18px;
  line-height: 1;
  top: 0px;
}

.features-mockup-panel {
  display: flex;
  align-items: center;
  justify-content: center;
}

.mockup-content-switch {
  min-height: 300px;
}

.mockup-img {
  opacity: 0;
  transition: opacity 0.4s ease;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mockup-img.active {
  opacity: 1;
  position: relative;
}

/* Pricing Section */
.pricing-section {
  padding: 140px 0;
  background-color: #FFFFFF;
}

/* Pricing Toggle */
.pricing-toggle-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}

.toggle-label {
  font-weight: 700;
  font-size: 16px;
  color: var(--text-secondary);
  transition: color 0.3s ease;
}

.toggle-label.active {
  color: var(--primary);
}

.pricing-toggle-btn {
  position: relative;
  width: 56px;
  height: 30px;
  background-color: var(--border-color);
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.pricing-toggle-btn.active {
  background-color: var(--primary);
}

.toggle-circle {
  position: absolute;
  top: 3px;
  right: 3px;
  width: 24px;
  height: 24px;
  background-color: #FFFFFF;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.pricing-toggle-btn.active .toggle-circle {
  transform: translateX(-26px); /* Slide to the other side */
}

.badge-saving {
  background-color: var(--primary-light);
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  margin-right: 4px;
}

/* Pricing Grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
  align-items: stretch;
}

.pricing-card {
  background-color: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: all 0.3s ease;
}

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

/* Special Styling for Recommended (Pro Max) */
.pricing-card.recommended {
  border: 2px solid var(--primary);
  box-shadow: 0 10px 30px -10px rgba(224, 83, 0, 0.15);
}

.pricing-card.recommended:hover {
  box-shadow: 0 20px 40px -10px rgba(224, 83, 0, 0.25);
}

.recommended-badge {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--primary);
  color: #FFFFFF;
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 13px;
  padding: 6px 16px;
  border-radius: 9999px;
  box-shadow: 0 4px 10px rgba(224, 83, 0, 0.3);
  white-space: nowrap;
}

.card-header {
  margin-bottom: 28px;
}

.plan-name {
  font-family: var(--font-headings);
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 12px;
}

.pricing-card.recommended .plan-name {
  color: var(--primary);
}

.plan-target {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 24px;
  min-height: 48px;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.price-value {
  font-size: 42px;
  font-weight: 800;
  font-family: var(--font-headings);
  color: var(--text-main);
  transition: all 0.2s ease;
}

.price-currency {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 500;
}

.price-period {
  font-size: 14px;
  color: var(--text-muted);
}

.card-body {
  flex-grow: 1;
  margin-bottom: 32px;
}

.plan-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.plan-features li {
  font-size: 14px;
  color: var(--text-secondary);
  display: flex;
  gap: 10px;
  align-items: flex-start;
  line-height: 1.5;
}

.plan-features li.lead-feature {
  font-weight: 700;
  color: var(--text-main);
}

.check-icon {
  color: var(--primary);
  font-weight: bold;
  font-size: 14px;
  flex-shrink: 0;
}

.card-footer {
  margin-top: auto;
}

/* FAQ Accordion Section */
.faq-section {
  padding: 140px 0;
  background-color: var(--bg-alt);
}

.faq-accordion {
  max-width: 800px;
  margin: 40px auto 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.accordion-item {
  background-color: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.accordion-item:hover {
  box-shadow: var(--shadow-md);
  border-color: #E2E8F0;
}

.accordion-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: right;
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 16px;
  color: var(--text-main);
}

.question-text {
  padding-left: 20px;
}

.accordion-icon {
  font-size: 20px;
  font-weight: bold;
  color: var(--primary);
  transition: transform 0.3s ease;
}

.accordion-item.active .accordion-icon {
  transform: rotate(45deg); /* Plus to close shape */
}

.accordion-collapse {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-body {
  padding: 0 24px 20px 24px;
  font-size: 15px;
  color: var(--text-secondary);
  border-top: 1px solid var(--border-light);
  padding-top: 16px;
}

/* Final CTA Section */
.final-cta-section {
  padding: 140px 0;
  background-image: linear-gradient(135deg, #FFF7ED 0%, #FFF1E6 100%);
  text-align: center;
}

.final-cta-container {
  max-width: 800px;
  margin: 0 auto;
}

.cta-title {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.4;
}

.cta-desc {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.cta-buttons {
  margin-bottom: 16px;
}

.cta-note {
  font-size: 13px;
  color: var(--text-muted);
}

/* Footer Section */
.main-footer {
  background-color: #0F172A;
  color: #94A3B8;
  padding: 80px 0 0 0;
}

.footer-container {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .logo-link {
  color: #FFFFFF;
  margin-bottom: 16px;
  display: inline-block;
}

.footer-tagline {
  font-size: 14px;
  line-height: 1.6;
}

.footer-container h4 {
  color: #FFFFFF;
  font-size: 18px;
  margin-bottom: 24px;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

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

.footer-contact p {
  font-size: 14px;
  margin-bottom: 12px;
}

.footer-bottom {
  border-top: 1px solid #1E293B;
  padding: 24px 0;
}

.footer-bottom-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.copyright, .made-with {
  font-size: 13px;
}

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

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.scroll-reveal.fade-left {
  transform: translateX(40px);
}

.scroll-reveal.fade-right {
  transform: translateX(-40px);
}

.scroll-reveal.fade-left.revealed,
.scroll-reveal.fade-right.revealed {
  transform: translateX(0);
}

.scroll-reveal[data-delay="1"] { transition-delay: 0.1s; }
.scroll-reveal[data-delay="2"] { transition-delay: 0.2s; }
.scroll-reveal[data-delay="3"] { transition-delay: 0.3s; }

/* Responsive Media Queries (Mobile & Tablet) */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 48px;
  }
  
  .hero-content {
    align-items: center;
  }
  
  .hero-title {
    font-size: 36px;
  }
  
  .hero-subtitle {
    margin: 0 auto 36px auto;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .features-tabs-wrapper {
    grid-template-columns: 1fr;
  }
  
  .features-tabs-nav {
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 8px;
    gap: 12px;
    -webkit-overflow-scrolling: touch;
  }
  
  .tab-btn {
    flex-shrink: 0;
  }
  
  .pricing-grid {
    grid-template-columns: 1fr 1fr;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .pricing-card.recommended {
    grid-column: span 2;
    order: -1; /* Make it first visually */
  }
  
  .footer-container {
    grid-template-columns: 1.2fr 0.8fr 1fr;
  }
}

@media (max-width: 768px) {
  .desktop-nav, .header-cta {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  .section-title {
    font-size: 26px;
  }
  

  
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 450px;
  }
  
  .pricing-card.recommended {
    grid-column: span 1;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .footer-bottom-container {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 28px;
  }
  
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-actions .btn {
    width: 100%;
  }
  
  .features-tabs-content {
    padding: 20px;
  }
  
  .pricing-card {
    padding: 32px 20px;
  }
  
  .btn-lg {
    padding: 12px 20px;
  }
}

/* Entrance Animations on Page Load */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

.hero-tagline {
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  opacity: 0;
}

.hero-title {
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
  opacity: 0;
}

.hero-subtitle {
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
  opacity: 0;
}

.hero-cta-wrapper {
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
  opacity: 0;
}

.hero-image-wrapper {
  animation: scaleInMockup 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.15s forwards;
  opacity: 0;
}

/* Scroll Snapping disabled to prevent scroll locking on tall sections */
@media (min-width: 1024px) {
  .snap-section {
    position: relative;
    box-sizing: border-box;
  }
}

/* ==========================================
   8. Client Portal Preview Button & Modal Styles
   ========================================== */

/* Preview Client Button */
.btn-preview-client {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(224, 83, 0, 0.08);
  color: var(--primary);
  border: 1px dashed var(--primary);
  border-radius: 8px;
  padding: 10px 18px;
  font-family: var(--font-headings);
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 12px;
  margin-bottom: 16px;
  transition: all 0.25s ease;
}

.btn-preview-client:hover {
  background-color: var(--primary);
  color: #FFFFFF;
  border-style: solid;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(224, 83, 0, 0.2);
}

/* Modal Overlay Styling */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-container {
  background-color: #FFFFFF;
  border-radius: 20px;
  border: 1px solid var(--border-color);
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25);
  width: 90%;
  max-width: 960px;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
  transform: scale(0.9) translateY(20px);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  padding: 32px;
  box-sizing: border-box;
}

.modal-overlay.active .modal-container {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: 20px;
  left: 20px; /* RTL close button on left */
  background: var(--bg-alt);
  border: 1px solid var(--border-color);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-secondary);
  transition: all 0.2s ease;
  z-index: 10;
  line-height: 1;
}

.modal-close:hover {
  background-color: #FF5F56;
  color: #FFFFFF;
  border-color: #FF5F56;
}

.modal-title {
  font-family: var(--font-headings);
  font-size: 22px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
  text-align: center;
  margin-top: 10px;
}

.modal-subtitle {
  font-size: 14px;
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 24px;
  line-height: 1.6;
}

.modal-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  display: block;
}

/* Custom Scrollbar for Modal Container */
.modal-container::-webkit-scrollbar {
  width: 8px;
}
.modal-container::-webkit-scrollbar-track {
  background: var(--bg-alt);
  border-radius: 10px;
}
.modal-container::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 10px;
}
.modal-container::-webkit-scrollbar-thumb:hover {
  background: #CBD5E1;
}

/* Mobile responsive fixes for modal */
@media (max-width: 768px) {
  .modal-container {
    padding: 20px;
    margin: 10px;
    max-height: 90vh;
  }
  
  .modal-title {
    font-size: 18px;
    margin-top: 20px;
  }
  
  .modal-close {
    top: 10px;
    left: 10px;
    width: 30px;
    height: 30px;
    font-size: 16px;
  }
}

/* ==========================================================================
   Pricing Strategy & Social Proof Upgrades
   ========================================================================== */

/* Social Proof Bar */
.social-proof-bar {
  background-color: var(--bg-alt);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 40px 0;
  margin-bottom: 40px;
}

.social-proof-container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.proof-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  min-width: 200px;
}

.proof-number {
  font-family: var(--font-headings);
  font-size: 28px;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 4px;
}

.proof-label {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 500;
}

.proof-divider {
  width: 1px;
  height: 50px;
  background-color: var(--border-color);
}

@media (max-width: 768px) {
  .proof-divider {
    display: none;
  }
  .social-proof-bar {
    padding: 20px 0;
  }
  .proof-item {
    min-width: 100%;
    margin-bottom: 10px;
  }
  .proof-item:last-child {
    margin-bottom: 0;
  }
}

/* Disabled Features in Pricing Cards */
.plan-features li.feature-disabled {
  color: #94A3B8;
  text-decoration: line-through;
  opacity: 0.7;
}

.plan-features li.feature-disabled .cross-icon {
  color: #EF4444;
  margin-left: 8px;
  font-weight: bold;
  display: inline-block;
  text-decoration: none !important;
}

/* Pricing ROI Framing Text */
.price-roi-framing {
  font-size: 12px;
  color: #64748B;
  margin-top: 10px;
  line-height: 1.5;
  background-color: #F8FAFC;
  padding: 8px 12px;
  border-radius: 8px;
  border-right: 3px solid var(--primary-color);
  font-weight: normal;
  text-align: right;
}

/* Pricing Comparison Table */
.pricing-comparison-table-wrapper {
  margin-top: 60px;
  background-color: #FFFFFF;
  border-radius: 16px;
  padding: 24px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: right;
  font-size: 14px;
}

.comparison-table th, .comparison-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-light);
}

.comparison-table th {
  font-family: var(--font-headings);
  font-weight: 700;
  color: var(--text-main);
  background-color: #F8FAFC;
}

.comparison-table tr:hover {
  background-color: #FCFDFE;
}

.feature-name-col {
  color: var(--text-main);
  font-weight: 600;
  min-width: 250px;
}

.comparison-table td:not(.feature-name-col) {
  text-align: center;
  font-weight: 500;
}

.comparison-table td.cell-disabled {
  color: #94A3B8;
  text-decoration: line-through;
  opacity: 0.7;
}

@media (max-width: 992px) {
  .pricing-comparison-table-wrapper {
    padding: 16px;
  }
}

/* Glassmorphism Button in Hero */
.btn-secondary-glass {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(224, 83, 0, 0.25);
  color: var(--text-main);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
}

.btn-secondary-glass:hover {
  background: rgba(224, 83, 0, 0.08);
  border-color: var(--primary);
  transform: translateY(-2px);
  color: var(--primary);
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  left: 30px; /* bottom left so it does not conflict with scroll to top */
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  color: #FFFFFF;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  transition: all 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
}

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

@keyframes waPulse {
  0% {
    transform: scale(0.95);
    opacity: 0.5;
  }
  70% {
    transform: scale(1.4);
    opacity: 0;
  }
  100% {
    transform: scale(0.95);
    opacity: 0;
  }
}

/* How It Works Section */
.how-it-works-section {
  padding: 140px 0;
  background-color: var(--bg-alt);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.step-card {
  background-color: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 40px 32px;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

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

.step-number {
  position: absolute;
  top: -24px;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 48px;
  background-color: var(--primary);
  color: #FFFFFF;
  font-family: var(--font-headings);
  font-weight: 800;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(224, 83, 0, 0.3);
}

.step-card h3 {
  font-size: 20px;
  margin-top: 12px;
  margin-bottom: 16px;
}

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

@media (max-width: 768px) {
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

/* Hardware & System Compatibility Section */
.compatibility-section {
  padding: 140px 0;
  background-color: #FFFFFF;
}

.comp-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.comp-card {
  display: flex;
  gap: 24px;
  background-color: var(--bg-alt);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 32px;
  align-items: flex-start;
  transition: all 0.3s ease;
}

.comp-card:hover {
  transform: translateY(-4px);
  border-color: rgba(224, 83, 0, 0.15);
  box-shadow: var(--shadow-sm);
}

.comp-icon-wrapper {
  background-color: #FFFFFF;
  color: var(--primary);
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.comp-icon {
  width: 28px;
  height: 28px;
}

.comp-info h3 {
  font-size: 18px;
  margin-bottom: 12px;
}

.comp-info p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .comp-grid {
    grid-template-columns: 1fr;
  }
}

/* Text-based Browser Mockup Switcher Styling */
.mockup-content-switch {
  display: block !important;
  position: relative;
  background-color: #FFFFFF !important;
  padding: 40px !important;
  min-height: 360px;
  text-align: right;
}

.mockup-content-switch .tab-content-item {
  position: absolute;
  top: 40px;
  left: 40px;
  right: 40px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s;
}

.mockup-content-switch .tab-content-item.active {
  position: relative;
  top: auto;
  left: auto;
  right: auto;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mockup-content-switch .feature-tag {
  background-color: var(--primary-light);
  color: var(--primary);
  display: inline-block;
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 16px;
}

.mockup-content-switch h3 {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 18px;
  font-family: var(--font-headings);
}

.mockup-content-switch .feature-bullets {
  display: flex;
  flex-direction: column;
  gap: 16px;
  list-style: none !important;
}

.mockup-content-switch .feature-bullets li {
  position: relative;
  padding-right: 24px;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.mockup-content-switch .feature-bullets li::before {
  content: "✓";
  position: absolute;
  right: 0;
  top: 2px;
  color: var(--primary);
  font-weight: bold;
  font-size: 16px;
}

/* Brand Custom Coloring */
.brand-black {
  color: #0F172A;
  font-weight: 700;
}

.brand-orange {
  color: var(--primary);
  font-weight: 800;
}

.main-footer .brand-black {
  color: #FFFFFF !important;
}

/* ==========================================
   System Switcher Component (Dual-Mode)
   ========================================== */
.system-switcher-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
}

.system-switcher {
  display: inline-flex;
  align-items: center;
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  border-radius: 9999px;
  padding: 4px;
  gap: 4px;
  position: relative;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.04);
}

.switcher-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 9999px;
  border: none;
  background: transparent;
  color: #64748B;
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  user-select: none;
}

.switcher-btn:hover {
  color: var(--text-main);
}

.switcher-btn.active {
  background: #FFFFFF;
  color: var(--primary);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
  font-weight: 700;
}

.switcher-btn .switcher-icon {
  font-size: 16px;
  display: inline-block;
  transition: transform 0.2s ease;
}

.switcher-btn.active .switcher-icon {
  transform: scale(1.15);
}

/* Mobile Drawer Switcher */
.mobile-switcher-wrapper {
  margin-bottom: 24px;
  display: flex;
  justify-content: center;
}

.mobile-switcher-wrapper .system-switcher {
  width: 100%;
  max-width: 320px;
  justify-content: space-between;
}

.mobile-switcher-wrapper .switcher-btn {
  flex: 1;
  justify-content: center;
  padding: 10px 12px;
  font-size: 13px;
}

/* ==========================================
   System Mode Visibility Rules (Instant & SEO-Friendly)
   ========================================== */
body:not([data-active-system="finishing"]) .system-finishing {
  display: none !important;
}

body[data-active-system="finishing"] .system-retail {
  display: none !important;
}

.system-content-fade {
  animation: systemFadeIn 0.35s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes systemFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 991px) {
  .header-container .system-switcher-wrapper {
    display: none; /* In header, show inside mobile drawer or below navbar on small screens */
  }
}



