:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #3b82f6;
  --secondary: #4f46e5;
  --success: #10b981;
  --text: #0f172a;
  --text-light: #475569;
  --muted: #64748b;
  --bg: #f8fafc;
  --bg-alt: #f1f5f9;
  --card: #ffffff;
  --border: #e2e8f0;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 20px rgba(0, 0, 0, 0.15);
  --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.2);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Heebo', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  direction: rtl;
  text-align: right;
}

.container {
  width: min(1200px, 92%);
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
  z-index: 100;
  transition: all 0.3s ease;
}

.header--scrolled {
  box-shadow: var(--shadow-md);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  min-height: 70px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 24px;
  color: var(--primary);
  text-decoration: none;
}

.logo svg {
  flex-shrink: 0;
}

.logo span {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav a {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.nav a:hover {
  color: var(--primary);
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--primary);
  border-radius: 3px;
  transition: all 0.3s;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn--large {
  padding: 16px 32px;
  font-size: 18px;
}

.btn--primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.btn--secondary {
  border-color: var(--primary);
  color: var(--primary);
  background: white;
}

.btn--secondary:hover {
  background: var(--primary);
  color: white;
}

.btn--secondary-white {
  border-color: white;
  color: white;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.btn--secondary-white:hover {
  background: white;
  color: var(--primary);
}

.btn--outline {
  border-color: var(--border);
  color: var(--text);
  background: white;
}

.btn--outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: #eff6ff;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #eff6ff 0%, #ffffff 50%, #eef2ff 100%);
  padding: 100px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
  direction: rtl;
}

.hero__badge {
  display: inline-block;
  background: linear-gradient(135deg, #dbeafe, #e0e7ff);
  color: var(--primary);
  padding: 8px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 24px;
  animation: fadeInDown 0.6s ease;
}

.hero__inner h1 {
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.2;
  margin-bottom: 24px;
  font-weight: 800;
  animation: fadeInUp 0.6s ease 0.2s both;
}

.gradient-text {
  display: block;
  background: linear-gradient(135deg, var(--primary), var(--secondary), #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-top: 8px;
}

.hero__description {
  color: var(--text-light);
  font-size: 18px;
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto 32px;
  animation: fadeInUp 0.6s ease 0.4s both;
}

.hero__description strong {
  color: var(--primary);
  font-weight: 700;
}

.hero__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
  animation: fadeInUp 0.6s ease 0.6s both;
}

.hero__trust {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.6s ease 0.8s both;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
}

.trust-item svg {
  flex-shrink: 0;
}

.hero__decoration {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
  overflow: hidden;
}

.floating-card {
  position: absolute;
  background: white;
  padding: 16px 20px;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  animation: float 6s ease-in-out infinite;
}

.card-1 {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.card-2 {
  top: 60%;
  right: 10%;
  animation-delay: 2s;
}

.card-3 {
  bottom: 20%;
  left: 15%;
  animation-delay: 4s;
}

.card-icon {
  font-size: 28px;
}

/* Stats Section */
.stats {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  padding: 60px 0;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
}

.stat-card {
  text-align: center;
  animation: fadeInUp 0.6s ease;
}

.stat-icon {
  font-size: 48px;
  margin-bottom: 12px;
}

.stat-card strong {
  display: block;
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 8px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.stat-card span {
  display: block;
  font-size: 16px;
  opacity: 0.9;
}

/* Features Section */
.features {
  padding: 100px 0;
  background: var(--bg);
  direction: rtl;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: clamp(32px, 5vw, 48px);
  margin-bottom: 16px;
  font-weight: 800;
}

.section-subtitle {
  color: var(--muted);
  font-size: 18px;
  max-width: 700px;
  margin: 0 auto;
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.feature-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  transition: all 0.3s ease;
  animation: fadeInUp 0.6s ease;
  text-align: right;
  direction: rtl;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

.feature-icon {
  width: 70px;
  height: 70px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
  font-weight: 700;
}

.feature-card p {
  color: var(--text-light);
  margin-bottom: 16px;
  line-height: 1.7;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-list li {
  color: var(--muted);
  font-size: 14px;
  padding: 6px 0;
  text-align: right;
}

/* Pricing Section */
.pricing {
  padding: 100px 0;
  background: white;
  direction: rtl;
}

.pricing__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  margin-bottom: 60px;
}

.pricing-card {
  background: white;
  border: 2px solid var(--border);
  border-radius: 24px;
  padding: 40px 32px;
  transition: all 0.3s ease;
  position: relative;
  animation: fadeInUp 0.6s ease;
  text-align: right;
  direction: rtl;
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.pricing-card--featured {
  border-color: var(--primary);
  background: linear-gradient(135deg, #f0f9ff 0%, #ffffff 100%);
  box-shadow: 0 20px 40px rgba(37, 99, 235, 0.15);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  right: 32px;
  background: var(--bg-alt);
  color: var(--text);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  border: 2px solid var(--border);
}

.pricing-badge--featured {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  border-color: transparent;
}

.pricing-card h3 {
  font-size: 28px;
  margin-bottom: 8px;
  font-weight: 800;
}

.pricing-description {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 24px;
  min-height: 40px;
}

.price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin: 24px 0;
}

.price .currency {
  font-size: 24px;
  font-weight: 600;
  color: var(--text-light);
}

.price .amount {
  font-size: 56px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.price .period {
  font-size: 18px;
  color: var(--muted);
}

.price .amount-text {
  font-size: 32px;
  font-weight: 800;
  color: var(--primary);
}

.price-note {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 32px;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 32px 0;
}

.pricing-features li {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  align-items: flex-start;
  text-align: right;
  direction: rtl;
}

.pricing-features li svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.pricing-features li div {
  flex: 1;
}

.pricing-features li strong {
  display: block;
  color: var(--text);
  font-weight: 600;
  margin-bottom: 2px;
}

.pricing-features li span {
  display: block;
  color: var(--muted);
  font-size: 14px;
}

.pricing-faq {
  margin-top: 80px;
  text-align: center;
}

.pricing-faq h3 {
  font-size: 32px;
  margin-bottom: 40px;
  font-weight: 800;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  text-align: right;
}

.faq-item {
  background: var(--bg);
  padding: 24px;
  border-radius: 16px;
  transition: all 0.3s ease;
}

.faq-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.faq-item strong {
  display: block;
  color: var(--text);
  font-size: 16px;
  margin-bottom: 8px;
}

.faq-item p {
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

/* CTA Section */
.cta {
  background: linear-gradient(135deg, var(--primary), var(--secondary), #8b5cf6);
  color: white;
  text-align: center;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.05)" d="M0,96L48,112C96,128,192,160,288,186.7C384,213,480,235,576,213.3C672,192,768,128,864,128C960,128,1056,192,1152,197.3C1248,203,1344,149,1392,122.7L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
  opacity: 0.5;
}

.cta__inner {
  position: relative;
  z-index: 1;
}

.cta__content h2 {
  font-size: clamp(32px, 5vw, 48px);
  margin-bottom: 16px;
  font-weight: 800;
}

.cta__content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
  margin-bottom: 32px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.cta__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.cta__features {
  display: flex;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
}

/* Footer */
.footer {
  background: var(--text);
  color: white;
  padding: 60px 0 0;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__brand p {
  color: rgba(255, 255, 255, 0.7);
  margin-top: 16px;
  line-height: 1.6;
}

.footer__column h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer__column a {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  margin-bottom: 12px;
  transition: color 0.2s;
}

.footer__column a:hover {
  color: white;
}

.footer__bottom {
  padding: 24px 0;
}

.footer__bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer__bottom p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
}

.footer__social {
  display: flex;
  gap: 16px;
}

.footer__social a {
  font-size: 24px;
  text-decoration: none;
  transition: transform 0.2s;
}

.footer__social a:hover {
  transform: scale(1.2);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* Responsive */
@media (max-width: 1024px) {
  .footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  
  .floating-card {
    display: none;
  }
}

@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex;
  }
  
  .nav {
    position: fixed;
    top: 70px;
    right: 0;
    width: 100%;
    background: white;
    flex-direction: column;
    padding: 20px;
    box-shadow: var(--shadow-lg);
    transform: translateX(100%);
    transition: transform 0.3s ease;
  }
  
  .nav--open {
    transform: translateX(0);
  }
  
  .hero {
    padding: 60px 0 40px;
  }
  
  .hero__actions {
    flex-direction: column;
  }
  
  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  
  .features__grid,
  .pricing__grid {
    grid-template-columns: 1fr;
  }
  
  .footer__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .footer__bottom .container {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .stats__grid {
    grid-template-columns: 1fr;
  }
  
  .hero__trust {
    flex-direction: column;
    align-items: flex-start;
  }
}
