/* CSS Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Colors - HSL format */
  --background: hsl(0, 0%, 100%);
  --foreground: hsl(220, 15%, 30%);
  
  --primary: hsl(5, 70%, 65%);
  --primary-foreground: hsl(0, 0%, 100%);
  
  --secondary: hsl(200, 40%, 94%);
  --secondary-foreground: hsl(220, 15%, 30%);
  
  --muted: hsl(200, 30%, 96%);
  --muted-foreground: hsl(220, 10%, 50%);
  
  --accent: hsl(45, 85%, 75%);
  --accent-foreground: hsl(220, 15%, 30%);
  
  --border: hsl(200, 20%, 90%);
  
  --radius: 1rem;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.5;
  min-height: 100vh;
}

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

/* Utilities */
.hidden {
  display: none !important;
}

.font-bold {
  font-weight: 700;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  border-radius: calc(var(--radius) - 0.5rem);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 0.75rem 3rem;
  font-size: 1rem;
}

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

.btn-primary:hover {
  opacity: 0.9;
}

.btn-secondary {
  background-color: var(--secondary);
  color: var(--secondary-foreground);
}

.btn-secondary:hover {
  opacity: 0.8;
}

/* Header */
.header {
  background-color: var(--primary);
  padding: 1.25rem 1.5rem;
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-foreground);
  text-decoration: none;
}

/* Navigation */
.nav-desktop {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

.nav-mobile {
  display: none;
  align-items: center;
  gap: 0.75rem;
}

.menu-toggle {
  background: transparent;
  border: none;
  color: var(--primary-foreground);
  padding: 0.5rem;
  cursor: pointer;
}

.mobile-menu {
  padding: 1rem 0 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 1rem;
}

.mobile-menu-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Responsive Navigation */
@media (max-width: 768px) {
  .nav-desktop {
    display: none;
  }
  
  .nav-mobile {
    display: flex;
  }
}

/* Hero Section */
.hero {
  padding: 5rem 1.5rem;
  background-color: var(--background);
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  max-width: 1280px;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--primary);
}

.hero-description {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  margin-bottom: 1rem;
}

.hero-subdescription {
  color: var(--muted-foreground);
  margin-bottom: 2rem;
}

.hero-card {
 
}

.hero-card-content {
  text-align: center;
}

.hero-stat {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
}

.hero-stat-label {
  color: var(--muted-foreground);
}

@media (max-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr;
  }
  
  .hero-title {
    font-size: 2rem;
  }
}

/* Features Section */
.features {
  background-color: var(--secondary);
  padding: 4rem 1.5rem;
}

.features-container {
  max-width: 56rem;
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.feature-card {
  background-color: var(--background);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transition: box-shadow 0.2s ease;
}

.feature-card:hover {
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  width: 3.5rem;
  height: 3.5rem;
  flex-shrink: 0;
  background-color: hsla(5, 70%, 65%, 0.1);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.feature-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.feature-description {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* Steps Section */
.steps {
  padding: 4rem 1.5rem;
  background-color: var(--background);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.steps .container {
  max-width: 1280px;
}

.steps-title {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.steps-subtitle {
  color: var(--muted-foreground);
  margin-bottom: 2.5rem;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.step-card {
  background-color: hsla(5, 70%, 65%, 0.05);
  border-radius: var(--radius);
  padding: 1.5rem;
  border-left: 4px solid var(--primary);
}

.step-number {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.step-title {
  font-size: 1.125rem;
  font-weight: 600;
}

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

/* Contacts Section */
.contacts {
  padding: 4rem 1.5rem;
  background-color: var(--background);
}

.contacts-content {
  max-width: 48rem;
  text-align: center;
}

.contacts-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.contacts-card {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background-color: var(--secondary);
  padding: 1rem 1.5rem;
  border-radius: 0.5rem;
}

.contacts-icon {
  color: var(--primary);
}

.contacts-email {
  font-weight: 500;
  color: var(--foreground);
  text-decoration: none;
  transition: color 0.2s ease;
}

.contacts-email:hover {
  color: var(--primary);
}

/* Footer */
.footer {
  background-color: var(--secondary);
  padding: 2rem 1.5rem;
}

.footer-content {
  max-width: 56rem;
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.footer-link {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--foreground);
}

/* Page Content (About, Privacy, Terms) */
.page-content {
  flex: 1;
  padding: 4rem 1.5rem;
  background-color: var(--background);
}

.content-container {
  max-width: 56rem;
}

.page-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.page-date {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 2rem;
}

.content-section {
  margin-bottom: 2.5rem;
}

.section-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 1rem;
}

.section-text {
  color: var(--muted-foreground);
  line-height: 1.7;
}

.content-list {
  list-style: disc;
  list-style-position: inside;
  color: var(--muted-foreground);
  line-height: 1.8;
}

.content-list li {
  margin-bottom: 0.5rem;
}

/* Legal Content Styles */
.legal-content {
  color: var(--muted-foreground);
  line-height: 1.7;
}

.legal-content p {
  margin-bottom: 1.5rem;
}

.legal-content h2 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--foreground);
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.legal-content ul {
  list-style: disc;
  list-style-position: inside;
  margin-bottom: 1.5rem;
}

.legal-content ul li {
  margin-bottom: 0.5rem;
}

.legal-highlight {
  font-weight: 600;
  color: var(--foreground);
}

.legal-disclaimer {
  text-transform: uppercase;
  font-size: 0.875rem;
}

.contact-info {
  font-weight: 500;
  color: var(--foreground);
}

.legal-footer {
  margin-top: 2rem;
  font-size: 0.875rem;
}

/* Language Toggle Button */
.btn-lang {
  background-color: transparent;
  color: var(--primary-foreground);
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 0.375rem 0.75rem;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-lang:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
}

/* RTL Support */
html[dir="rtl"] {
  direction: rtl;
}

html[dir="rtl"] .step-card {
  border-left: none;
  border-right: 4px solid var(--primary);
}

html[dir="rtl"] .feature-card {
  flex-direction: row-reverse;
}

html[dir="rtl"] .contacts-card {
  flex-direction: row-reverse;
}

html[dir="rtl"] .header-content {
  flex-direction: row-reverse;
}

html[dir="rtl"] .nav-desktop {
  flex-direction: row-reverse;
}

html[dir="rtl"] .nav-mobile {
  flex-direction: row-reverse;
}

html[dir="rtl"] .mobile-menu-content {
  align-items: flex-end;
}

html[dir="rtl"] .hero-content {
  direction: rtl;
}

html[dir="rtl"] .footer-content {
  flex-direction: row-reverse;
}

html[dir="rtl"] .content-list {
  list-style-position: inside;
  padding-right: 0;
  text-align: right;
}

html[dir="rtl"] .legal-content ul {
  padding-right: 0;
  text-align: right;
}
.legal-footer {
  font-size: 0.875rem;
  margin-top: 2rem;
}