:root {
  --bg-color: #F5F5F5;
  --bg-alt: #FFFFFF;
  --text-main: #161313;
  --text-muted: #4A505E;
  --accent-color: #C9B98F;
  --accent-light: #E5DFC8;
  --border-color: #E2E8F0;
  --font-family: 'Inter', system-ui, sans-serif;
  --container-max: 1200px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

/* Typography */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-main);
}

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

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

/* Layout */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* Navigation */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: all 0.3s ease;
  background: transparent;
}

nav.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 12px 0;
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-main);
  text-decoration: none;
}

.logo-container img {
  height: 36px;
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--text-main);
}

/* Language Switcher */
.lang-switcher {
  display: flex;
  gap: 12px;
  padding: 6px 12px;
  border-radius: 20px;
  background: var(--bg-alt);
  border: 1px solid var(--border-color);
}

.lang-btn {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

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

.lang-btn.active {
  color: var(--accent-color);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-primary {
  background-color: var(--text-main);
  color: #fff;
}

.btn-primary:hover {
  background-color: var(--text-muted);
  transform: translateY(-2px);
}

.btn-outline {
  border: 2px solid var(--text-main);
  color: var(--text-main);
}

.btn-outline:hover {
  background: var(--text-main);
  color: #fff;
}

/* Hero Section */
.hero {
  padding: 180px 0 80px;
  text-align: center;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 24px;
}

.hero p {
  font-size: 1.25rem;
  max-width: 700px;
  margin: 0 auto 40px;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 12px;
}

.hero-trial-text {
  font-size: 0.9rem;
}

/* Carousel Section */
.carousel-section {
  padding: 60px 0;
  background: var(--bg-alt);
}

.carousel-container {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--border-color);
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.carousel-slide {
  min-width: 100%;
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  padding: 40px;
  gap: 40px;
  box-sizing: border-box;
}

.banner-content {
  flex: 1;
  text-align: left;
  max-width: 450px;
}

.banner-content h2 {
  font-size: 2.4rem;
  color: #fff;
  margin-bottom: 20px;
  line-height: 1.2;
}

.banner-content p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
}

.banner-image {
  flex: 1.2;
  display: flex;
  justify-content: center;
  align-items: center;
}

.banner-image img {
  width: 100%;
  max-height: 400px;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: transform 0.5s ease;
}

.carousel-slide:hover .banner-image img {
  transform: translateY(-8px) scale(1.02);
}

/* Gradients for banners */
.slide-bg-1 { background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%); }
.slide-bg-2 { background: linear-gradient(135deg, #2b5876 0%, #4e4376 100%); }
.slide-bg-3 { background: linear-gradient(135deg, #0f2027 0%, #203a43 50%, #2c5364 100%); }
.slide-bg-4 { background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%); }
.slide-bg-5 { background: linear-gradient(135deg, #00B4DB 0%, #0083B0 100%); }


.carousel-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  padding: 0 20px;
  pointer-events: none;
}

.carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  pointer-events: auto;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.carousel-btn:hover {
  background: #fff;
  transform: scale(1.1);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-color);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background: var(--accent-color);
  width: 24px;
  border-radius: 5px;
}

/* Features Cards */
.features-section {
  padding: 100px 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.feature-card {
  padding: 40px;
  background: var(--bg-alt);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  border-color: var(--accent-color);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: var(--accent-color);
  transition: height 0.3s ease;
}

.feature-card:hover::before {
  height: 100%;
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 24px;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
}

/* More Features List */
.more-features {
  padding: 80px 0;
  background: var(--bg-color);
}

.features-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  list-style: none;
}

.features-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  background: var(--bg-alt);
  padding: 16px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

.features-list li .check {
  color: var(--accent-color);
  font-size: 1.2rem;
}

/* Pricing Section */
.pricing-section {
  padding: 100px 0;
  background: var(--bg-alt);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.pricing-card {
  padding: 60px 40px;
  background: var(--bg-color);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
}

.pricing-card.popular {
  border: 2px solid var(--text-main);
  background: #fff;
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.pricing-card h3 {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.price {
  font-size: 3rem;
  font-weight: 800;
  margin: 20px 0;
  color: var(--text-main);
}

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

.plan-features {
  list-style: none;
  margin-bottom: 40px;
  text-align: left;
}

.plan-features li {
  margin-bottom: 12px;
  display: flex;
  gap: 12px;
}

/* Process Section */
.process-section {
  padding: 100px 0;
  background: var(--bg-color);
}

.process-grid {
  display: grid;
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
}

.process-step {
  display: flex;
  gap: 30px;
  background: var(--bg-alt);
  padding: 40px;
  border-radius: 20px;
  border: 1px solid var(--border-color);
  align-items: flex-start;
  transition: all 0.3s ease;
}

.process-step:hover {
  transform: translateX(10px);
  border-color: var(--accent-color);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.step-number {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  background: var(--text-main);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
}

.step-content {
  flex-grow: 1;
}

.step-content h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.step-content p {
  font-size: 1.1rem;
  line-height: 1.6;
}

.step-image-container {
  margin-top: 24px;
  border-radius: 12px;
  overflow: hidden;
  border: 4px solid var(--bg-color);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.step-image {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 768px) {
  .process-step {
    flex-direction: column;
    padding: 30px;
  }
}

/* Footer */
footer {
  padding: 80px 0 40px;
  background: var(--text-main);
  color: #fff;
}

footer .logo-container {
  color: #fff;
}

footer p {
  color: rgba(255, 255, 255, 0.6);
}

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

.footer-copy {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.4);
}

/* Reveal Animation */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease-out;
}

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

/* RTL Specific */
html.rtl {
  direction: rtl;
  text-align: right;
}

html.rtl .features-list li, 
html.rtl .plan-features li {
  text-align: right;
}

html.rtl .banner-content {
  text-align: right;
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .nav-links {
    display: none;
  }
  
  .carousel-slide {
    flex-direction: column;
    padding: 30px;
    gap: 20px;
    aspect-ratio: auto;
    min-height: 550px;
  }
  
  .banner-content {
    text-align: center;
    max-width: 100%;
  }

  html.rtl .banner-content {
    text-align: center;
  }
  
  .banner-content h2 {
    font-size: 1.8rem;
    margin-bottom: 12px;
  }

  .banner-image img {
    max-height: 300px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
