@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700;900&display=swap');

:root {
  --accent: #e67e22;
  --accent-dark: #ca6f1e;
  --accent-light: #fef5ec;
  --accent-2: #1a6b3c;
  --accent-3: #6c3483;
  --accent-4: #1a4fa0;
  --text: #1a1a1a;
  --text-light: #555;
  --bg: #f7f7f7;
  --white: #fff;
  --border: #e0e0e0;
  --shadow: 0 2px 8px rgba(0,0,0,0.08);
  --radius: 8px;
}

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

body {
  font-family: 'Cairo', system-ui, sans-serif;
  direction: rtl;
  text-align: right;
  color: var(--text);
  background: var(--bg);
  font-size: 1rem;
  line-height: 1.75;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ===== Header ===== */
.site-header {
  background: var(--accent);
  color: white;
  box-shadow: 0 2px 6px rgba(0,0,0,0.18);
}

.site-header .container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 62px;
  flex-wrap: wrap;
  gap: 8px;
}

.logo {
  font-size: 1.25rem;
  font-weight: 900;
  color: white;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 5px;
}

.logo span { opacity: 0.88; }

.logo .tag {
  font-size: 0.68rem;
  background: rgba(255,255,255,0.22);
  border-radius: 4px;
  padding: 2px 6px;
  font-weight: 700;
  letter-spacing: 1px;
}

.site-header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
}

.site-header nav a {
  color: rgba(255,255,255,0.88);
  font-size: 0.83rem;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 4px;
  transition: background 0.15s;
}

.site-header nav a:hover,
.site-header nav a.active {
  background: rgba(255,255,255,0.2);
  color: white;
  text-decoration: none;
}

/* ===== Ad slots ===== */
.ad-slot {
  background: #f0f0f0;
  border: 1px dashed #bbb;
  color: #999;
  font-size: 0.78rem;
  text-align: center;
  padding: 14px;
  border-radius: 4px;
  margin: 14px 0;
}

.ad-top {
  max-width: 1100px;
  margin: 14px auto;
  padding: 0 20px;
}

/* ===== Layout grid ===== */
.layout {
  max-width: 1100px;
  margin: 22px auto 40px;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 24px;
  align-items: start;
}

/* ===== Main content ===== */
.content {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 32px;
}

.content h1 {
  font-size: 1.65rem;
  font-weight: 900;
  color: var(--accent);
  margin-bottom: 6px;
  line-height: 1.3;
}

.content h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  margin: 30px 0 12px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--accent-light);
}

.content h3 {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--accent-dark);
  margin: 18px 0 8px;
}

.content p { margin-bottom: 14px; }

.content ul,
.content ol {
  padding-right: 22px;
  margin-bottom: 14px;
}

.content li { margin-bottom: 6px; }

.meta {
  color: var(--text-light);
  font-size: 0.83rem;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 12px;
}

/* ===== Highlight / tip box ===== */
.highlight-box {
  background: var(--accent-light);
  border-right: 4px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 15px 20px;
  margin: 22px 0;
}

.highlight-box p { margin: 0; font-weight: 600; }

/* ===== Course cards ===== */
.course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
  margin: 20px 0;
}

.course-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  border-top: 3px solid var(--accent);
  box-shadow: var(--shadow);
}

.course-card h3 {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.course-price {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 6px;
}

.course-platform {
  font-size: 0.76rem;
  color: var(--text-light);
  background: var(--accent-light);
  padding: 2px 9px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 8px;
}

.course-note {
  font-size: 0.86rem;
  color: var(--text-light);
  line-height: 1.55;
  margin-bottom: 8px;
}

.course-gig {
  font-size: 0.82rem;
  color: var(--accent-2);
  font-weight: 700;
  margin-top: 8px;
}

/* ===== CTA button ===== */
.cta-btn {
  display: inline-block;
  background: var(--accent);
  color: white;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 9px 18px;
  border-radius: 6px;
  margin-top: 10px;
  transition: background 0.2s;
}

.cta-btn:hover {
  background: var(--accent-dark);
  text-decoration: none;
  color: white;
}

/* ===== Badges ===== */
.badge-free {
  display: inline-block;
  background: #e8f5ee;
  color: #1a6b3c;
  border: 1px solid #a7d4b5;
  border-radius: 20px;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 2px 9px;
  margin-bottom: 4px;
}

.badge-paid {
  display: inline-block;
  background: var(--accent-light);
  color: var(--accent);
  border: 1px solid #f5cba7;
  border-radius: 20px;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 2px 9px;
  margin-bottom: 4px;
}

/* ===== ROI Table ===== */
.table-wrapper {
  overflow-x: auto;
  margin: 20px 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.roi-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  min-width: 600px;
}

.roi-table th {
  background: var(--accent);
  color: white;
  padding: 10px 14px;
  text-align: right;
  font-weight: 700;
  white-space: nowrap;
}

.roi-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  text-align: right;
  background: var(--white);
}

.roi-table tr:nth-child(even) td { background: #fef8f2; }
.roi-table tr:hover td { background: #fdebd0; }

.roi-best td { font-weight: 700; color: var(--accent-dark); }

/* ===== Sister site inline boxes ===== */
.sister-box {
  background: #e8f5ee;
  border: 1px solid #a7d4b5;
  border-radius: var(--radius);
  padding: 14px 18px;
  margin: 22px 0;
}

.ai-box {
  background: #f3e8fa;
  border: 1px solid #d8b4f0;
  border-radius: var(--radius);
  padding: 14px 18px;
  margin: 22px 0;
}

.en-box {
  background: #e8eef8;
  border: 1px solid #b0c4e8;
  border-radius: var(--radius);
  padding: 14px 18px;
  margin: 22px 0;
}

.sister-box a { color: var(--accent-2); font-weight: 700; }
.ai-box a { color: var(--accent-3); font-weight: 700; }
.en-box a { color: var(--accent-4); font-weight: 700; }
.sister-box p, .ai-box p, .en-box p { margin: 0; }

/* ===== Sidebar ===== */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.sidebar-section {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px 18px;
  border-top: 3px solid var(--accent);
}

.sidebar-section.sister-green { border-top-color: var(--accent-2); }
.sidebar-section.sister-purple { border-top-color: var(--accent-3); }
.sidebar-section.sister-blue { border-top-color: var(--accent-4); }

.sidebar-section h3 {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--accent-light);
}

.sidebar-section.sister-green h3 { color: var(--accent-2); border-bottom-color: #c3e6cb; }
.sidebar-section.sister-purple h3 { color: var(--accent-3); border-bottom-color: #e1cff0; }
.sidebar-section.sister-blue h3 { color: var(--accent-4); border-bottom-color: #c0d4f0; }

.sidebar-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-section ul li {
  border-bottom: 1px solid var(--border);
  padding: 7px 0;
  font-size: 0.86rem;
}

.sidebar-section ul li:last-child { border-bottom: none; }
.sidebar-section ul li a { color: var(--text); }
.sidebar-section ul li a:hover { color: var(--accent); }

/* ===== Footer ===== */
.site-footer {
  background: #1c1c1c;
  color: #999;
  text-align: center;
  padding: 30px 20px;
  font-size: 0.88rem;
}

.site-footer .container {
  max-width: 1100px;
  margin: 0 auto;
}

.site-footer p { margin-bottom: 14px; }

.site-footer nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 22px;
}

.site-footer nav a { color: #ccc; }
.site-footer nav a:hover { color: white; text-decoration: none; }

.sister-link-green { color: #4ade80 !important; font-weight: 700; }
.sister-link-purple { color: #c084fc !important; font-weight: 700; }
.sister-link-blue { color: #7eb3f0 !important; font-weight: 700; }

/* ===== Quick-stat strip ===== */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
  margin: 22px 0;
}

.stat-item {
  background: var(--accent-light);
  border-radius: var(--radius);
  padding: 14px 16px;
  text-align: center;
}

.stat-num {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--accent);
  display: block;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-light);
}

/* ===== Mobile ===== */
@media (max-width: 768px) {
  .layout {
    grid-template-columns: 1fr;
  }

  .sidebar { order: -1; }

  .content { padding: 18px 16px; }

  .content h1 { font-size: 1.35rem; }

  .site-header nav a { font-size: 0.76rem; padding: 5px 7px; }

  .course-grid { grid-template-columns: 1fr; }

  .stat-strip { grid-template-columns: 1fr 1fr; }

  .ad-top { padding: 0 14px; }
}
