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

body {
  font-family: "Cairo", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.7;
  color: #1a1a1a;
  background: #fefefe;
  direction: rtl;
  font-size: 16px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
  color: #0a0a0a;
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
}
h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
}
h3 {
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
}

p {
  margin-bottom: 1.5rem;
  color: #2a2a2a;
}

/* Header Styles */
.header {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  border-bottom: 1px solid #e8e8e8;
}

.navbar {
  padding: 1.5rem 0;
}

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

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.5rem;
  font-weight: 800;
  color: #0a0a0a;
  letter-spacing: -0.02em;
}

.nav-brand i {
  font-size: 1.8rem;
  color: #000;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 3rem;
}

.nav-menu a {
  text-decoration: none;
  color: #4a4a4a;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s ease;
  letter-spacing: -0.01em;
}

.nav-menu a:hover {
  color: #0a0a0a;
}

/* Breadcrumb Styles */
.breadcrumb {
  background: #f8f8f8;
  padding: 1rem 0;
  margin-top: 85px;
  border-bottom: 1px solid #e8e8e8;
}

.breadcrumb-list {
  display: flex;
  list-style: none;
  gap: 0.75rem;
  align-items: center;
  font-size: 0.9rem;
}

.breadcrumb-list li:not(:last-child)::after {
  content: "←";
  margin-right: 0.75rem;
  color: #999;
  font-size: 0.8rem;
}

.breadcrumb-list a {
  text-decoration: none;
  color: #666;
  transition: color 0.2s ease;
}

.breadcrumb-list a:hover {
  color: #0a0a0a;
}

.breadcrumb-list .active {
  color: #0a0a0a;
  font-weight: 600;
}

/* Hero Section - Magazine Style */
.hero {
  background: #fefefe;
  padding: 4rem 0 6rem;
  border-bottom: 3px solid #0a0a0a;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 4px;
  background: #0a0a0a;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  text-align: center;
  max-width: 900px;
}

.hero-badge {
  display: inline-block;
  background: #0a0a0a;
  color: white;
  padding: 0.5rem 1.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.hero-title {
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 900;
  line-height: 0.9;
  margin-bottom: 2rem;
  color: #0a0a0a;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.highlight {
  color: #0a0a0a;
  position: relative;
}

.highlight::after {
  content: "";
  position: absolute;
  bottom: 0.1em;
  right: 0;
  left: 0;
  height: 0.3em;
  background: #ffeb3b;
  z-index: -1;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: #4a4a4a;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 4rem;
  margin-top: 3rem;
}

.stat {
  text-align: center;
}

.stat-number {
  font-size: 3rem;
  font-weight: 900;
  color: #0a0a0a;
  display: block;
  line-height: 1;
}

.stat-label {
  font-size: 0.9rem;
  color: #666;
  margin-top: 0.5rem;
  font-weight: 500;
}

/* Remove floating cards - too playful for editorial style */
.hero-visual {
  display: none;
}

/* Main Content - Editorial Style */
.main-content {
  padding: 4rem 0;
  background: #fefefe;
}

.article {
  background: white;
  max-width: 800px;
  margin: 0 auto;
  padding: 0;
}

.article-meta {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #e8e8e8;
  font-size: 0.9rem;
}

.article-meta span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #666;
}

.article-meta i {
  color: #0a0a0a;
  font-size: 0.8rem;
}

.article-intro {
  margin-bottom: 4rem;
  text-align: center;
}

.lead {
  font-size: 1.3rem;
  font-weight: 400;
  color: #2a2a2a;
  margin-bottom: 3rem;
  line-height: 1.6;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.companies-used {
  background: #f8f8f8;
  padding: 2.5rem;
  border-right: 4px solid #0a0a0a;
  margin: 3rem 0;
}

.companies-used h3 {
  color: #0a0a0a;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.company-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.company {
  background: white;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  color: #0a0a0a;
  border: 1px solid #e8e8e8;
  font-size: 0.9rem;
}

.warning-box {
  background: #fff9e6;
  border: 1px solid #f0c419;
  border-right: 4px solid #f0c419;
  padding: 2rem;
  margin: 3rem 0;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.warning-box i {
  color: #d97706;
  font-size: 1.2rem;
  margin-top: 0.2rem;
}

.warning-box p {
  color: #8b5a00;
  font-weight: 500;
  margin: 0;
  line-height: 1.6;
}

/* How It Works Section - Editorial Layout */
.how-it-works {
  margin: 4rem 0;
}

.how-it-works h2 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 3rem;
  color: #0a0a0a;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.how-it-works h2 i {
  display: none; /* Remove icon for cleaner editorial look */
}

.steps {
  display: grid;
  gap: 4rem;
  margin-top: 3rem;
}

.step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 2rem;
  align-items: start;
}

.step-number {
  background: #0a0a0a;
  color: white;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 900;
  position: sticky;
  top: 120px;
}

.step-content h3 {
  color: #0a0a0a;
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  font-weight: 800;
  line-height: 1.2;
}

.step-content p {
  color: #4a4a4a;
  margin-bottom: 1.5rem;
  line-height: 1.7;
  font-size: 1rem;
}

.code-example {
  background: #f8f8f8;
  border-right: 4px solid #0a0a0a;
  padding: 2rem;
  margin: 2rem 0;
}

.code-example h4 {
  color: #0a0a0a;
  margin-bottom: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}

.code-example p {
  color: #4a4a4a;
  margin-bottom: 1rem;
}

.code-example code {
  background: #0a0a0a;
  color: #00ff88;
  padding: 1rem 1.5rem;
  font-family: "SF Mono", "Monaco", "Inconsolata", "Roboto Mono", monospace;
  display: block;
  margin: 1rem 0;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}

.data-list {
  list-style: none;
  display: grid;
  gap: 1rem;
  margin: 2rem 0;
}

.data-list li {
  background: #f8f8f8;
  padding: 1.5rem;
  border-right: 3px solid #0a0a0a;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.data-list i {
  color: #0a0a0a;
  font-size: 1.1rem;
}

.data-list li {
  font-weight: 500;
  color: #2a2a2a;
}

.template-example {
  background: #f8f8f8;
  border-right: 4px solid #0a0a0a;
  padding: 2.5rem;
  margin: 2rem 0;
}

.template-example h4 {
  color: #0a0a0a;
  margin-bottom: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}

.template-code {
  background: white;
  border: 1px solid #e8e8e8;
  padding: 2rem;
  margin: 1.5rem 0;
  font-family: "SF Mono", "Monaco", monospace;
  font-size: 0.9rem;
  line-height: 1.8;
  color: #2a2a2a;
}

.template-note {
  color: #666;
  font-style: italic;
  margin-top: 1.5rem;
  font-size: 0.95rem;
}

.examples {
  background: #f8f8f8;
  padding: 2rem;
  margin: 2rem 0;
  border-right: 3px solid #0a0a0a;
}

.examples h4 {
  color: #0a0a0a;
  margin-bottom: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}

.examples ul {
  list-style: none;
}

.examples li {
  color: #4a4a4a;
  margin-bottom: 0.75rem;
  padding-right: 1.5rem;
  position: relative;
  font-weight: 500;
}

.examples li::before {
  content: "•";
  color: #0a0a0a;
  font-weight: bold;
  position: absolute;
  right: 0;
  font-size: 1.2rem;
}

/* Results Section */
.results {
  margin: 4rem 0;
}

.results h2 {
  color: #0a0a0a;
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.results h2 i {
  display: none;
}

.result-content {
  background: #f0f8f0;
  border-right: 4px solid #2d5a2d;
  padding: 2.5rem;
}

.result-content p {
  color: #1a4a1a;
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 2rem;
  font-weight: 500;
}

.benefits h3 {
  color: #1a4a1a;
  margin-bottom: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}

.benefit-cards {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.benefit-card {
  background: white;
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  border: 1px solid #d4e6d4;
  flex: 1;
  min-width: 200px;
}

.benefit-card i {
  color: #2d5a2d;
  font-size: 1.3rem;
}

.benefit-card span {
  color: #1a4a1a;
  font-weight: 600;
}

/* CTA Section - Editorial Style */
.cta-section {
  background: #0a0a0a;
  color: white;
  padding: 4rem 3rem;
  text-align: center;
  margin-top: 4rem;
}

.cta-section h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  font-weight: 700;
  color: white;
}

.cta-section p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 2.5rem;
  color: #e0e0e0;
}

.cta-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  padding: 1rem 2.5rem;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  letter-spacing: 0.02em;
}

.btn-primary {
  background: #ffeb3b;
  color: #0a0a0a;
}

.btn-primary:hover {
  background: #fff176;
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.btn-secondary:hover {
  background: white;
  color: #0a0a0a;
}

/* Footer - Minimal Editorial Style */
.footer {
  background: #f8f8f8;
  color: #4a4a4a;
  padding: 3rem 0 2rem;
  margin-top: 4rem;
  border-top: 1px solid #e8e8e8;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  color: #0a0a0a;
  margin-bottom: 1rem;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.footer-section p {
  color: #666;
  line-height: 1.6;
  font-size: 0.95rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.75rem;
}

.footer-section ul li a {
  color: #666;
  text-decoration: none;
  transition: color 0.2s ease;
  font-size: 0.95rem;
}

.footer-section ul li a:hover {
  color: #0a0a0a;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #e8e8e8;
  color: #4a4a4a;
  text-decoration: none;
  transition: all 0.2s ease;
}

.social-links a:hover {
  background: #0a0a0a;
  color: white;
}

.footer-bottom {
  border-top: 1px solid #e8e8e8;
  padding-top: 2rem;
  text-align: center;
  color: #999;
  font-size: 0.9rem;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  width: 50px;
  height: 50px;
  background: #0a0a0a;
  color: white;
  border: none;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all 0.2s ease;
  z-index: 1000;
}

.back-to-top:hover {
  background: #333;
}

.back-to-top.show {
  display: flex;
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }

  .hero {
    padding: 3rem 0 4rem;
  }

  .hero-title {
    font-size: clamp(2rem, 8vw, 3.5rem);
  }

  .hero-stats {
    gap: 2rem;
    flex-wrap: wrap;
  }

  .nav-menu {
    display: none;
  }

  .article {
    padding: 0 1rem;
  }

  .article-meta {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .step {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.5rem;
  }

  .step-number {
    position: static;
    margin: 0 auto;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .data-list {
    grid-template-columns: 1fr;
  }

  .benefit-cards {
    flex-direction: column;
  }

  .how-it-works h2 {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
    line-height: 1.1;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero {
    padding: 2rem 0 3rem;
  }

  .main-content {
    padding: 2rem 0;
  }

  .step-content h3 {
    font-size: 1.4rem;
  }
}

/* Print Styles */
@media print {
  .header,
  .breadcrumb,
  .cta-section,
  .footer,
  .back-to-top {
    display: none;
  }

  .hero {
    background: none;
    color: #333;
    padding: 1rem 0;
  }

  .article {
    box-shadow: none;
    border: 1px solid #ddd;
  }

  body {
    font-size: 12pt;
    line-height: 1.4;
  }
}
