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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #1e293b;
  background-color: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* RTL Support */
body[dir="rtl"] {
  direction: rtl;
  text-align: right;
}

/* ===================================
   CSS Variables (Design System)
   =================================== */
:root {
  /* Colors */
  --primary: #024B55;
  --primary-dark: #013840;
  --primary-light: #036B7A;
  --secondary: #f0fdfa;
  --accent: #14b8a6;
  --destructive: #ED5C5C;

  /* Neutrals */
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-dark: #0f172a;
  --text-primary: #1e293b;
  --text-secondary: #64748b;
  --text-muted: #94a3b8;
  --border: #e2e8f0;
  --border-light: #f1f5f9;

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-2xl: 4rem;
  --spacing-3xl: 6rem;

  /* Typography */
  --font-display: 'Manrope', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);

  /* Transitions */
  --transition: all 0.3s ease;
}

/* ===================================
   Typography
   =================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}

h1 {
  font-size: 3rem;
  font-weight: 800;
}

h2 {
  font-size: 2.25rem;
  font-weight: 700;
}

h3 {
  font-size: 1.875rem;
  font-weight: 600;
}

h4 {
  font-size: 1.5rem;
  font-weight: 600;
}

h5 {
  font-size: 1.25rem;
  font-weight: 600;
}

h6 {
  font-size: 1rem;
  font-weight: 600;
}

p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

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

a:hover {
  color: var(--primary-dark);
}

/* Responsive Typography */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  h3 {
    font-size: 1.5rem;
  }
}

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

.section {
  padding: var(--spacing-3xl) 0;
}

.section-sm {
  padding: var(--spacing-xl) 0;
}

/* Grid System */
.grid {
  display: grid;
  gap: var(--spacing-lg);
}

.grid-cols-1 {
  grid-template-columns: repeat(1, 1fr);
}

.grid-cols-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-cols-4 {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 768px) {
  .grid-cols-2,
  .grid-cols-3,
  .grid-cols-4 {
    grid-template-columns: 1fr;
  }
}

/* Flexbox Utilities */
.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.items-center {
  align-items: center;
}

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

.justify-between {
  justify-content: space-between;
}

.gap-1 {
  gap: 0.25rem;
}

.gap-2 {
  gap: 0.5rem;
}

.gap-4 {
  gap: 1rem;
}

.gap-6 {
  gap: 1.5rem;
}

.gap-8 {
  gap: 2rem;
}

/* Text Utilities */
.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.text-primary {
  color: var(--text-primary);
}

.text-secondary {
  color: var(--text-secondary);
}

.text-muted {
  color: var(--text-muted);
}

.text-white {
  color: #ffffff;
}

.text-red {
  color: #ef4444;
}

/* ===================================
   Components
   =================================== */

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

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

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

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

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

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

.btn-white:hover {
  background-color: var(--bg-secondary);
  color: var(--primary);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

/* Cards */
.card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  transition: var(--transition);
}

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

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  background-color: rgba(2, 75, 85, 0.05);
  color: #2d4a4e;
  /* border: none; */
  border-color: #C7D4D6;
  border-width: 1px;
  border-style: solid;
  border-radius: 9999px;
  font-size: 0.9375rem;
  font-weight: 500;
}

.badge-dot {
  width: 10px;
  height: 10px;
  background-color: #2d4a4e;
  border-radius: 50%;
  flex-shrink: 0;
  margin-right: 0.625rem;
}

.badge-highlight {
  font-weight: 500;
}

/* ===================================
   Navbar
   =================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-light);
  z-index: 1000;
  transition: var(--transition);
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  max-width: 1280px;
  margin: 0 auto;
}

.navbar-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  display: flex;
  align-items: center;
}

.navbar-logo-img {
  height: 50px;
  width: auto;
}

.navbar-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.navbar-menu a {
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition);
}

.navbar-menu a:hover,
.navbar-menu a.active {
  color: var(--primary);
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background-color: var(--bg-secondary);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
}

.lang-switcher:hover {
  background-color: var(--border);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-primary);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 73px;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 999;
}

.mobile-menu.active {
  display: block;
}

.mobile-menu-content {
  background-color: #ffffff;
  padding: 2rem;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.mobile-menu-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mobile-menu-list a {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--text-primary);
}

@media (max-width: 768px) {
  .navbar-menu {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }
}

/* ===================================
   Footer
   =================================== */
.footer {
  background-color: #fafafa;
  border-top: 1px solid #e5e5e5;
  padding: var(--spacing-3xl) 0 var(--spacing-xl) 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--spacing-3xl);
  margin-bottom: var(--spacing-xl);
}

.footer-brand {
  grid-column: span 1;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: var(--spacing-md);
}

.footer-logo-img {
  height: 36px;
  width: auto;
}

.footer-logo-icon {
  width: 36px;
  height: 36px;
  background-color: var(--primary);
  color: #ffffff;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
}

.footer-logo-text {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
}

.footer-brand p {
  color: #737373;
  font-size: 0.875rem;
  line-height: 1.6;
  max-width: 320px;
}

.footer-section h4 {
  color: var(--text-primary);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: var(--spacing-md);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: #737373;
  font-size: 0.875rem;
  transition: var(--transition);
}

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

.footer-links a.disabled {
  color: #a3a3a3;
  cursor: default;
  pointer-events: none;
}

.footer-bottom {
  padding-top: var(--spacing-lg);
  border-top: 1px solid #e5e5e5;
}

.footer-bottom p {
  color: #a3a3a3;
  font-size: 0.875rem;
  margin: 0;
}

@media (max-width: 768px) {
  .footer {
    padding: var(--spacing-xl) 0 var(--spacing-lg) 0;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg) var(--spacing-md);
  }

  .footer-brand {
    grid-column: span 2;
    text-align: center;
    margin-bottom: var(--spacing-sm);
  }

  .footer-logo {
    justify-content: center;
  }

  .footer-brand p {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .footer-section {
    text-align: center;
  }

  .footer-links {
    align-items: center;
  }

  .footer-bottom {
    text-align: center;
  }
}

@media (max-width: 375px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }

  .footer-brand {
    grid-column: span 1;
  }
}

/* ===================================
   Hero Section
   =================================== */
.hero {
  padding: 6rem 0 6rem 0;
  text-align: center;
  margin-top: 73px;
}

.hero-badge {
  margin-bottom: var(--spacing-md);
  animation: fadeInUp 0.6s ease-out;
}

.hero-title {
  font-size: 3.75rem;
  margin-bottom: var(--spacing-md);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 0.6s ease-out 0.1s backwards;
}

.hero-title-bold {
  color: var(--primary);
}

.hero-description {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto var(--spacing-xl) auto;
  animation: fadeInUp 0.6s ease-out 0.2s backwards;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.6s ease-out 0.3s backwards;
}

@media (max-width: 768px) {
  .hero {
    padding: 6rem 0 4rem 0;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-description {
    font-size: 1.125rem;
  }
}

/* ===================================
   Feature Cards
   =================================== */
.feature-card {
  text-align: center;
}

.feature-icon {
  width: 64px;
  height: 64px;
  background-color: var(--secondary);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--spacing-md) auto;
  color: var(--primary);
}

.feature-icon svg {
  width: 32px;
  height: 32px;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-sm);
}

.feature-card p {
  color: var(--text-secondary);
}

/* Product Page Hero */
.product-hero {
  background-color: #f8fafa;
  padding: 5rem 0 4rem 0;
  margin-top: 73px;
  text-align: center;
}

.product-hero .hero-title {
  font-size: 3rem;
  font-weight: 700;
}

.product-hero .hero-description {
  margin-bottom: 0;
}

/* How It Works Hero */
.hiw-hero {
  background-color: #ffffff;
  padding: 4rem 0 3rem 0;
  margin-top: 73px;
  text-align: center;
}

.hiw-hero .hero-title {
  font-size: 2.25rem;
  font-weight: 700;
}

.hiw-hero .hero-description {
  margin-bottom: 0;
}

.hiw-hero + .section {
  padding-top: var(--spacing-lg);
}

/* Product Page Features */
.product-features {
  padding-top: var(--spacing-xl);
  padding-bottom: var(--spacing-xl);
}

.product-features .grid {
  row-gap: var(--spacing-lg);
  column-gap: var(--spacing-2xl);
}

.product-feature {
  padding: var(--spacing-md) 0;
}

.product-feature .feature-icon {
  margin: 0 0 var(--spacing-md) 0;
  width: 56px;
  height: 56px;
  background-color: #f1f5f4;
  border-radius: var(--radius-md);
}

.product-feature .feature-icon svg {
  width: 28px;
  height: 28px;
}

.product-feature h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: var(--spacing-sm);
}

.product-feature p {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Solution Cards (Home Page) */
.solution-card {
  background: #ffffff;
  border: 1px solid #fefefe;
  border-radius: var(--radius-xl);
  padding: var(--spacing-lg);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.3s ease;
}

.solution-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.solution-icon {
  width: 56px;
  height: 56px;
  background-color: #e9eaea;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--spacing-md);
  color: var(--primary);
}

.solution-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: var(--spacing-sm);
  color: var(--text-primary);
}

.solution-card p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}

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

.timeline-item {
  position: relative;
  padding: var(--spacing-lg) 0;
  display: grid;
  grid-template-columns: 1fr 80px 1fr;
  gap: var(--spacing-lg);
  align-items: center;
}

.timeline-item:nth-child(odd) .timeline-content:first-child {
  text-align: right;
}

.timeline-item:nth-child(even) .timeline-content:first-child {
  grid-column: 3;
  text-align: left;
}

.timeline-item:nth-child(even) .timeline-marker {
  grid-column: 2;
}

.timeline-item:nth-child(even) .timeline-content:last-child {
  grid-column: 1;
}

.timeline-marker {
  position: relative;
  width: 80px;
  height: 80px;
  background-color: var(--primary);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  z-index: 2;
  margin: 0 auto;
}

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

.timeline-content h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.timeline-content p {
  color: var(--text-secondary);
}

@media (max-width: 768px) {
  .timeline-item {
    grid-template-columns: 80px 1fr;
    gap: var(--spacing-md);
  }

  .timeline-item:nth-child(odd) .timeline-content:first-child,
  .timeline-item:nth-child(even) .timeline-content:first-child {
    grid-column: 2;
    text-align: left;
  }

  .timeline-item:nth-child(even) .timeline-marker {
    grid-column: 1;
  }

  .timeline-item:nth-child(even) .timeline-content:last-child {
    display: none;
  }

  .timeline-line {
    left: 40px;
  }
}

/* Timeline V2 (How It Works Page) */
.timeline-v2 {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: var(--spacing-xl) 0;
}

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

.timeline-v2-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  margin-bottom: var(--spacing-xl);
}

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

.timeline-v2-marker {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 48px;
  background-color: var(--primary);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.125rem;
  z-index: 1;
}

.timeline-v2-card {
  width: calc(50% - 60px);
  background-color: #f8fafa;
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
}

.timeline-v2-right .timeline-v2-card {
  margin-left: calc(50% + 60px);
  text-align: left;
}

.timeline-v2-left .timeline-v2-card {
  margin-right: calc(50% + 60px);
  text-align: right;
}

.timeline-v2-step {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.05em;
  margin-bottom: var(--spacing-xs);
}

.timeline-v2-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: var(--spacing-sm);
}

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

@media (max-width: 768px) {
  .timeline-v2-item {
    align-items: center;
  }

  .timeline-v2-line {
    left: 24px;
  }

  .timeline-v2-marker {
    left: 24px;
    width: 40px;
    height: 40px;
    font-size: 1rem;
    top: 50%;
    transform: translate(-50%, -50%);
  }

  .timeline-v2-card {
    width: calc(100% - 70px);
    margin-left: 70px !important;
    margin-right: 0 !important;
    text-align: left !important;
  }
}

/* Timeline Scroll Animations */
.timeline-v2-item {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.timeline-v2-item.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.timeline-v2-marker {
  transform: translateX(-50%) scale(0.5);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), background-color 0.3s ease;
}

.timeline-v2-item.animate-in .timeline-v2-marker {
  transform: translateX(-50%) scale(1);
}

.timeline-v2-card {
  opacity: 0;
  transition: opacity 0.5s ease-out 0.2s, transform 0.5s ease-out 0.2s;
}

.timeline-v2-right .timeline-v2-card {
  transform: translateX(20px);
}

.timeline-v2-left .timeline-v2-card {
  transform: translateX(-20px);
}

.timeline-v2-item.animate-in .timeline-v2-card {
  opacity: 1;
  transform: translateX(0);
}

/* Timeline line progress animation */
.timeline-v2-line {
  background: linear-gradient(to bottom, var(--primary) var(--line-progress, 0%), var(--border) var(--line-progress, 0%));
  transition: --line-progress 0.3s ease-out;
}

@media (max-width: 768px) {
  .timeline-v2-marker {
    transform: translate(-50%, -50%) scale(0.5);
  }

  .timeline-v2-item.animate-in .timeline-v2-marker {
    transform: translate(-50%, -50%) scale(1);
  }

  .timeline-v2-right .timeline-v2-card,
  .timeline-v2-left .timeline-v2-card {
    transform: translateX(20px);
  }

  .timeline-v2-item.animate-in .timeline-v2-card {
    transform: translateX(0) !important;
  }
}

/* ===================================
   Form Styles
   =================================== */
.form-group {
  margin-bottom: var(--spacing-md);
}

.form-label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition);
}

.form-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(2, 75, 85, 0.1);
}

.form-error {
  color: var(--destructive);
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

/* ===================================
   Trust CTA Section
   =================================== */
.trust-cta {
  background-color: var(--primary);
  position: relative;
  color: #ffffff;
  text-align: center;
  padding: var(--spacing-3xl) 0;
}

.trust-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url(https://www.transparenttextures.com/patterns/cubes.png);
  opacity: 0.3;
  pointer-events: none;
}

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

.trust-cta h2 {
  color: #ffffff;
  font-size: 3rem;
  margin-bottom: var(--spacing-md);
}

.trust-cta p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.125rem;
  max-width: 700px;
  margin: 0 auto var(--spacing-xl) auto;
}

/* ===================================
   Spotlight Section (Product Page)
   =================================== */
.spotlight {
  background-color: var(--bg-dark);
  color: #ffffff;
  padding: var(--spacing-3xl) 0;
}

.spotlight h2,
.spotlight h3 {
  color: #ffffff;
}

.spotlight p {
  color: #cbd5e1;
}

.spotlight-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xl);
  align-items: center;
}

.spotlight-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: var(--spacing-lg) 0;
}

.spotlight-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #cbd5e1;
}

.spotlight-features li::before {
  content: "✓";
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background-color: #10b981;
  color: #ffffff;
  border-radius: 50%;
  font-weight: 700;
  flex-shrink: 0;
}

.spotlight-image {
  background-color: #1e293b;
  border-radius: var(--radius-lg);
  aspect-ratio: 16/9;
  overflow: hidden;
}

.spotlight-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

/* ===================================
   Pricing Card
   =================================== */
.pricing-container {
  max-width: 500px;
  margin: 0 auto;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-md);
  max-width: 960px;
  margin: 0 auto;
  align-items: stretch;
}

@media (max-width: 968px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 360px;
  }
}

.pricing-page {
  background-color: #f8fafa;
}

.pricing-page .product-hero,
.pricing-page .section {
  background-color: #f8fafa;
}

.pricing-section {
  padding-top: var(--spacing-md);
  background-color: #f8fafa;
}

/* Pricing Toggle */
.pricing-toggle-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: var(--spacing-xl);
}

.pricing-toggle-label {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.3s ease;
}

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

.pricing-toggle {
  position: relative;
  display: inline-block;
  width: 52px;
  height: 28px;
}

.pricing-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.pricing-toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #e5e7eb;
  border-radius: 28px;
  transition: background-color 0.3s ease;
}

.pricing-toggle-slider::before {
  position: absolute;
  content: "";
  height: 22px;
  width: 22px;
  left: 3px;
  bottom: 3px;
  background-color: #ffffff;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.pricing-toggle input:checked + .pricing-toggle-slider {
  background-color: var(--primary);
}

.pricing-toggle input:checked + .pricing-toggle-slider::before {
  transform: translateX(24px);
}

.pricing-save-badge {
  background-color: #dcfce7;
  color: #166534;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.625rem;
  border-radius: 9999px;
}

.price-amount {
  transition: opacity 0.2s ease;
}

@media (max-width: 480px) {
  .pricing-toggle-wrapper {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .pricing-save-badge {
    order: -1;
    width: 100%;
    text-align: center;
    margin-bottom: 0.5rem;
  }
}

/* RTL Support for Pricing Toggle */
[dir="rtl"] .pricing-toggle-slider::before {
  left: auto;
  right: 3px;
}

[dir="rtl"] .pricing-toggle input:checked + .pricing-toggle-slider::before {
  transform: translateX(-24px);
}

.pricing-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  text-align: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
}

.pricing-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.pricing-card-featured {
  border: 2px solid var(--primary);
  position: relative;
}

.pricing-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--primary);
  color: #ffffff;
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.025em;
}

.pricing-target {
  color: var(--text-muted);
  font-size: 0.8125rem;
  margin-top: 0.25rem;
  margin-bottom: 0;
}

.pricing-header {
  margin-bottom: var(--spacing-md);
  padding-bottom: var(--spacing-md);
  border-bottom: 1px solid #f1f5f9;
}

.pricing-plan-label {
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.pricing-price {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0;
  line-height: 1.2;
}

.pricing-period {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--text-muted);
}

.pricing-per-user {
  color: var(--text-secondary);
  font-size: 0.875rem;
  margin-top: var(--spacing-xs);
}

.pricing-features {
  list-style: none;
  text-align: left;
  margin: 0 0 var(--spacing-md) 0;
  flex-grow: 1;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.pricing-features li::before {
  content: "✓";
  color: var(--primary);
  font-weight: 600;
  font-size: 0.875rem;
  flex-shrink: 0;
}

.pricing-note {
  color: var(--text-secondary);
  font-size: 0.875rem;
  margin-top: var(--spacing-md);
}

.pricing-description {
  color: var(--text-secondary);
  font-size: 0.875rem;
  margin-bottom: var(--spacing-md);
  line-height: 1.5;
}

/* Comparison Table */
.comparison-section {
  background-color: #f8fafa;
  padding-bottom: var(--spacing-3xl);
}

.comparison-table-wrapper {
  overflow-x: auto;
  margin-top: var(--spacing-xl);
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}

.comparison-table th,
.comparison-table td {
  padding: 1rem 1.5rem;
  text-align: center;
  border-bottom: 1px solid #e5e7eb;
  font-size: 0.9375rem;
}

.comparison-table th:first-child,
.comparison-table td:first-child {
  text-align: left;
  font-weight: 500;
  color: var(--text-primary);
}

.comparison-table thead th {
  background: linear-gradient(to bottom, #f9fafb, #f3f4f6);
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 1.25rem 1.5rem;
  border-bottom: 2px solid #e5e7eb;
}

.comparison-table thead th:not(:first-child) {
  color: var(--primary);
}

.comparison-table tbody tr:last-child td {
  border-bottom: none;
}

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

.comparison-table tbody td {
  color: var(--text-secondary);
}

.comparison-table .check {
  color: var(--primary);
  font-weight: 700;
  font-size: 1.125rem;
}

.comparison-table .cross {
  color: #d1d5db;
  font-size: 1rem;
}

@media (max-width: 768px) {
  .comparison-table th,
  .comparison-table td {
    padding: 0.875rem 1rem;
    font-size: 0.8125rem;
  }

  .comparison-table thead th {
    padding: 1rem;
    font-size: 0.75rem;
  }
}

/* Why Section */
.why-section {
  background-color: #f8fafa;
  padding-top: var(--spacing-2xl);
  padding-bottom: var(--spacing-3xl);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-md);
  margin-top: var(--spacing-xl);
  margin-bottom: var(--spacing-3xl);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.why-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #ffffff;
  padding: 1.25rem 1.5rem;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  font-size: 0.9375rem;
  color: var(--text-primary);
  font-weight: 500;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.2s ease;
}

.why-item:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.why-item p {
  margin: 0;
  line-height: 1.4;
}

.why-icon {
  color: var(--primary);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.cta-box {
  background: linear-gradient(135deg, var(--primary) 0%, #0a8a7a 100%);
  border: none;
  border-radius: 20px;
  padding: var(--spacing-3xl) var(--spacing-2xl);
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  box-shadow: 0 8px 32px rgba(11, 154, 138, 0.25);
}

.cta-box h3 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: var(--spacing-md);
  color: #ffffff;
}

.cta-box p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--spacing-xl);
  line-height: 1.7;
  font-size: 1.0625rem;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

.cta-box .btn-primary {
  background: #ffffff;
  color: var(--primary);
  font-weight: 600;
  padding: 0.875rem 2rem;
  font-size: 1rem;
}

.cta-box .btn-primary:hover {
  background: #f0fdf9;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

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

  .why-item {
    justify-content: flex-start;
  }

  .cta-box {
    padding: var(--spacing-xl) var(--spacing-lg);
    border-radius: 16px;
  }

  .cta-box h3 {
    font-size: 1.375rem;
  }

  .cta-box p {
    font-size: 0.9375rem;
  }
}

/* ===================================
   Contact Page
   =================================== */
.contact-page {
  background-color: #f8fafa;
}

.contact-section {
  padding: 6rem 0;
  margin-top: 73px;
  min-height: calc(100vh - 73px - 300px);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-3xl);
  align-items: start;
}

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

.contact-info {
  padding-right: var(--spacing-xl);
}

.contact-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: var(--spacing-md);
}

.contact-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: var(--spacing-2xl);
}

.contact-info-item {
  margin-bottom: var(--spacing-xl);
}

.contact-info-item h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: var(--spacing-xs);
}

.contact-info-item p {
  color: var(--text-secondary);
  line-height: 1.6;
}

.contact-form-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: var(--spacing-2xl);
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

.contact-form-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: var(--spacing-lg);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-md);
}

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form-card {
    padding: var(--spacing-md);
  }
}

/* ===================================
   Problem Section (Home Page)
   =================================== */
.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-3xl);
  align-items: center;
}

.problem-content {
  padding-right: var(--spacing-lg);
}

.problem-list {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.problem-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  font-size: 1.125rem;
  color: var(--text-primary);
}

.problem-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background-color: #fee2e2;
  color: #ef4444;
  border-radius: var(--radius-xl);
  font-weight: 700;
  flex-shrink: 0;
  font-size: 1rem;
}

.problem-image {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
  background-color: var(--bg-dark);
}

.problem-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.problem-image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--spacing-xl);
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
}

.problem-image-overlay p {
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0;
}

@media (max-width: 768px) {
  .problem-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
  }

  .problem-content {
    padding-right: 0;
  }

  .problem-item {
    font-size: 1rem;
  }

  .problem-image-overlay p {
    font-size: 1.25rem;
  }
}

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

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* Stagger delays for multiple elements */
.stagger-1 {
  animation-delay: 0.1s;
}

.stagger-2 {
  animation-delay: 0.2s;
}

.stagger-3 {
  animation-delay: 0.3s;
}

.stagger-4 {
  animation-delay: 0.4s;
}

/* ===================================
   Utility Classes
   =================================== */
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-4 { margin-top: 2rem; }
.mt-8 { margin-top: 4rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-8 { margin-bottom: 4rem; }

.pt-8 { padding-top: 4rem; }
.pb-8 { padding-bottom: 4rem; }

.max-w-4xl {
  max-width: 56rem;
  margin-left: auto;
  margin-right: auto;
}

.max-w-2xl {
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.bg-gray {
  background-color: var(--bg-secondary);
}

/* Hide/Show elements */
.hidden {
  display: none !important;
}

.block {
  display: block;
}

/* Success Message */
.success-message {
  text-align: center;
  padding: var(--spacing-xl);
}

.success-icon {
  width: 80px;
  height: 80px;
  background-color: #10b981;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--spacing-md) auto;
  font-size: 2.5rem;
}
