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

body {
  background: #0a0c10;
  color: #eef2ff;
  font-family: 'Inter', 'Tajawal', sans-serif;
  line-height: 1.5;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
.site-header {
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  position: sticky;
  top: 0;
  background: rgba(10,12,16,0.85);
  backdrop-filter: blur(12px);
  z-index: 100;
}
.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  font-size: 1.6rem;
  font-weight: 800;
  background: linear-gradient(135deg, #a78bfa, #3b82f6);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.logo-icon {
  background: none;
  color: #8b5cf6;
  font-size: 1.7rem;
}
.lang-btn {
  background: rgba(255,255,255,0.08);
  padding: 0.5rem 1rem;
  border-radius: 40px;
  color: white;
  text-decoration: none;
  font-size: 0.9rem;
  transition: 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(255,255,255,0.1);
}
.lang-btn:hover {
  background: #2d3a5e;
}

/* Hero */
.hero {
  padding: 4rem 0 5rem;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}
.app-badge {
  display: inline-block;
  background: rgba(139,92,246,0.2);
  padding: 0.3rem 1rem;
  border-radius: 40px;
  font-size: 0.8rem;
  font-weight: 500;
  color: #c4b5fd;
  margin-bottom: 1.5rem;
}
.hero-title {
  font-size: 3.8rem;
  font-weight: 800;
  background: linear-gradient(135deg, #fff, #a78bfa);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  margin-bottom: 1rem;
}
.hero-tagline {
  font-size: 1.4rem;
  color: #b9c7d9;
  margin-bottom: 2rem;
}
.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.btn {
  padding: 0.8rem 1.8rem;
  border-radius: 60px;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.btn-primary {
  background: linear-gradient(95deg, #3b82f6, #8b5cf6);
  color: white;
  box-shadow: 0 8px 20px rgba(59,130,246,0.3);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 25px rgba(59,130,246,0.4);
}
.btn-secondary {
  background: rgba(255,255,255,0.08);
  color: white;
  border: 1px solid rgba(255,255,255,0.2);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.15);
}
.hero-stats {
  display: flex;
  gap: 2rem;
}
.hero-stats div span {
  font-weight: 800;
  font-size: 1.3rem;
  display: block;
  color: #a78bfa;
}
.hero-icon-placeholder {
  display: flex;
  justify-content: center;
}
.app-icon-glow {
  background: radial-gradient(circle at 30% 20%, #1e293b, #0f172a);
  width: 220px;
  height: 220px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 20px 35px -10px rgba(0,0,0,0.5), 0 0 0 1px rgba(139,92,246,0.2);
}
.app-icon-glow i:first-child {
  font-size: 5rem;
  color: #60a5fa;
}
.swap-icon {
  font-size: 2rem;
  margin: 0 0.5rem;
  color: #a78bfa;
}
.icon-badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: #3b82f6;
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: bold;
}

/* sections common */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.section-tag {
  color: #8b5cf6;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.8rem;
  font-weight: 600;
}
.section-header h2 {
  font-size: 2.3rem;
  margin: 0.5rem 0;
}
/* steps, features, benefits grid */
.steps-grid, .features-grid, .benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 2rem;
}
.step-card, .feature-card, .benefit-card {
  background: #12161c;
  border-radius: 2rem;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all 0.25s;
  border: 1px solid rgba(255,255,255,0.05);
}
.step-card:hover, .feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(139,92,246,0.3);
  box-shadow: 0 20px 30px -15px rgba(0,0,0,0.4);
}
.step-icon, .feature-icon {
  font-size: 2.5rem;
  color: #8b5cf6;
  margin-bottom: 1rem;
}
.screenshots-scroll {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  padding-bottom: 1rem;
  scrollbar-width: thin;
}
.screenshot-card {
  min-width: 180px;
  background: #101418;
  border-radius: 1.5rem;
  padding: 1rem;
  text-align: center;
}
.screenshot-mock {
  background: #1e293b;
  border-radius: 1rem;
  padding: 1rem;
  margin-bottom: 0.8rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.mock-bar, .mock-circle, .mock-graph, .mock-bug, .mock-avatar {
  width: 80%;
  height: 8px;
  background: #3b82f6;
  border-radius: 20px;
}
.cta-card {
  background: linear-gradient(125deg, #111827, #0b1120);
  border-radius: 2rem;
  padding: 3rem;
  text-align: center;
  border: 1px solid #2d3a5e;
}
.btn-cta {
  background: linear-gradient(95deg, #8b5cf6, #3b82f6);
  margin-top: 1.5rem;
  padding: 1rem 2rem;
  font-size: 1.1rem;
}
.site-footer {
  border-top: 1px solid rgba(255,255,255,0.05);
  margin-top: 5rem;
  padding: 2rem 0;
}
.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}
.footer-links {
  display: flex;
  gap: 1.8rem;
}
.footer-links a, .footer-copyright {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.9rem;
}
/* RTL adjustments */
[dir="rtl"] .hero-buttons .btn i:last-child {
  transform: rotate(180deg);
}
[dir="rtl"] .btn-secondary i, [dir="rtl"] .btn-cta i {
  margin-left: 0;
  margin-right: 0.3rem;
}
[dir="rtl"] .screenshots-scroll {
  direction: rtl;
}
@media (max-width: 800px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-stats { justify-content: center; }
  .hero-title { font-size: 2.6rem; }
  .container { padding: 0 1.2rem; }
  .footer-container { flex-direction: column; align-items: center; text-align: center; }
}