/* ByeBug – Global Stylesheet
   Colors from logo: blue #1A7FD4, green #2EA043, gold #FFD700, dark #0D1117
*/

:root {
  --blue:    #1A7FD4;
  --blue-l:  #3EAAEE;
  --green:   #2EA043;
  --green-l: #43C060;
  --gold:    #FFD700;
  --dark:    #0D1117;
  --dark2:   #161B22;
  --dark3:   #1C2128;
  --gray:    #8B949E;
  --light:   #F0F6FF;
  --white:   #FFFFFF;
  --red:     #E53935;

  --font: 'Heebo', sans-serif;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(0,0,0,0.18);
  --shadow-lg: 0 8px 48px rgba(0,0,0,0.28);
  --transition: 0.25s ease;
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  direction: rtl;
  background: var(--dark);
  color: var(--white);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-l); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold); }
ul { list-style: none; }

/* Typography */
h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 900; line-height: 1.15; }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 800; line-height: 1.2; }
h3 { font-size: clamp(1.2rem, 3vw, 1.6rem); font-weight: 700; }
h4 { font-size: 1.15rem; font-weight: 700; }
p { margin-bottom: 1rem; color: #CBD5E1; }

/* Utilities */
.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.section { padding: 72px 0; }
.section-light { background: var(--light); color: var(--dark); }
.section-light p { color: #374151; }
.section-light h2, .section-light h3, .section-light h4 { color: var(--dark); }
.section-dark2 { background: var(--dark2); }
.section-dark3 { background: var(--dark3); }
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.text-blue { color: var(--blue-l); }
.text-green { color: var(--green-l); }
.badge {
  display: inline-block;
  background: rgba(26,127,212,0.15);
  border: 1px solid rgba(26,127,212,0.4);
  color: var(--blue-l);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 99px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.badge-gold {
  background: rgba(255,215,0,0.1);
  border-color: rgba(255,215,0,0.35);
  color: var(--gold);
}
.badge-green {
  background: rgba(46,160,67,0.12);
  border-color: rgba(46,160,67,0.35);
  color: var(--green-l);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-l));
  color: var(--white);
  box-shadow: 0 4px 20px rgba(26,127,212,0.4);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(26,127,212,0.55);
  color: var(--white);
}
.btn-green {
  background: linear-gradient(135deg, var(--green), var(--green-l));
  color: var(--white);
  box-shadow: 0 4px 20px rgba(46,160,67,0.4);
}
.btn-green:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(46,160,67,0.55);
  color: var(--white);
}
.btn-gold {
  background: linear-gradient(135deg, #E6A800, var(--gold));
  color: var(--dark);
  box-shadow: 0 4px 20px rgba(255,215,0,0.35);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(255,215,0,0.5);
  color: var(--dark);
}
.btn-outline {
  background: transparent;
  border: 2px solid var(--blue-l);
  color: var(--blue-l);
}
.btn-outline:hover {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.btn-lg { padding: 18px 42px; font-size: 1.1rem; }
.btn-sm { padding: 10px 22px; font-size: 0.9rem; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(13,17,23,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  height: 70px;
  display: flex;
  align-items: center;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.logo-wrap { display: flex; align-items: center; gap: 10px; }
.logo-wrap img { height: 48px; width: auto; }
.logo-text {
  font-size: 1.5rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--blue-l), var(--green-l));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav a {
  color: #CBD5E1;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.95rem;
  transition: all var(--transition);
}
.main-nav a:hover, .main-nav a.active {
  color: var(--white);
  background: rgba(255,255,255,0.08);
}
.header-cta { display: flex; align-items: center; gap: 10px; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}
.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--dark2);
  padding: 16px 20px;
  border-top: 1px solid rgba(255,255,255,0.06);
  gap: 4px;
}
.mobile-nav a {
  color: #CBD5E1;
  font-weight: 600;
  font-size: 1rem;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  display: block;
}
.mobile-nav.open { display: flex; }

/* Hero */
.hero {
  position: relative;
  padding: 80px 0 90px;
  overflow: hidden;
  background: linear-gradient(135deg, #0D1117 0%, #0D1B2A 50%, #0D1F0D 100%);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 50%, rgba(26,127,212,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 20% 80%, rgba(46,160,67,0.1) 0%, transparent 70%);
}
.hero-content { position: relative; z-index: 1; max-width: 680px; }
.hero h1 { margin-bottom: 20px; }
.hero h1 span { color: var(--gold); }
.hero-sub {
  font-size: 1.15rem;
  color: #94A3B8;
  margin-bottom: 36px;
  max-width: 560px;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-trust { display: flex; gap: 28px; flex-wrap: wrap; }
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: #94A3B8;
  font-weight: 600;
}
.trust-item .icon { font-size: 1.2rem; }

/* Cards */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.card {
  background: var(--dark2);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: all var(--transition);
}
.card:hover {
  border-color: rgba(26,127,212,0.35);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.25);
}
.card-icon {
  font-size: 2.4rem;
  margin-bottom: 16px;
  display: block;
}
.card h3 { margin-bottom: 10px; font-size: 1.1rem; }
.card p { font-size: 0.92rem; color: #8B949E; margin: 0; }

/* Light cards (for light sections) */
.section-light .card {
  background: var(--white);
  border-color: #E2E8F0;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.section-light .card:hover { border-color: var(--blue); }
.section-light .card p { color: #4B5563; }

/* Steps */
.steps { counter-reset: step; margin-top: 48px; }
.step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 20px;
  margin-bottom: 36px;
  align-items: start;
}
.step-num {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--blue-l));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--white);
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(26,127,212,0.35);
}
.step-body h3 { margin-bottom: 8px; }
.step-body p { color: #8B949E; font-size: 0.95rem; margin: 0; }

/* Accordion / FAQ */
.faq-list { margin-top: 40px; }
.faq-item {
  border-bottom: 1px solid rgba(255,255,255,0.07);
  overflow: hidden;
}
.section-light .faq-item { border-color: #E2E8F0; }
.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: right;
  padding: 20px 0;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  transition: color var(--transition);
}
.section-light .faq-question { color: var(--dark); }
.faq-question:hover { color: var(--blue-l); }
.faq-question .chevron {
  font-size: 1.1rem;
  transition: transform var(--transition);
  flex-shrink: 0;
  color: var(--blue-l);
}
.faq-question.open .chevron { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-answer-inner {
  padding: 0 0 20px;
  font-size: 0.95rem;
  color: #8B949E;
  line-height: 1.8;
}
.section-light .faq-answer-inner { color: #4B5563; }

/* Warning box */
.warning-box {
  background: rgba(229,57,53,0.1);
  border: 1px solid rgba(229,57,53,0.3);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin: 32px 0;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.warning-box .wi { font-size: 1.8rem; flex-shrink: 0; }
.warning-box h4 { color: #FF6B6B; margin-bottom: 6px; }
.warning-box p { color: #F87171; font-size: 0.9rem; margin: 0; }

/* Info box */
.info-box {
  background: rgba(26,127,212,0.08);
  border: 1px solid rgba(26,127,212,0.25);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin: 32px 0;
}
.info-box h4 { color: var(--blue-l); margin-bottom: 8px; }
.info-box p { color: #94A3B8; font-size: 0.93rem; margin: 0; }

/* Checklist */
.checklist { margin: 16px 0; }
.checklist li {
  padding: 8px 0;
  padding-right: 28px;
  position: relative;
  color: #CBD5E1;
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.section-light .checklist li { color: #374151; border-color: #E5E7EB; }
.checklist li::before {
  content: '✓';
  position: absolute;
  right: 0;
  color: var(--green-l);
  font-weight: 900;
}
.checklist li.bad::before { content: '✗'; color: var(--red); }

/* Two-col layout */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.two-col-text p { margin-bottom: 1.2rem; }

/* Section title */
.section-title { margin-bottom: 48px; }
.section-title h2 { margin-bottom: 12px; }
.section-title p { color: #8B949E; max-width: 600px; }
.section-light .section-title p { color: #6B7280; }
.text-center .section-title p { margin: 0 auto; }

/* Table */
.data-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 0.93rem;
}
.data-table th {
  background: var(--dark3);
  color: var(--blue-l);
  padding: 12px 16px;
  text-align: right;
  font-weight: 700;
  border-bottom: 2px solid rgba(26,127,212,0.3);
}
.data-table td {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  color: #CBD5E1;
  vertical-align: top;
}
.data-table tr:hover td { background: rgba(255,255,255,0.02); }
.section-light .data-table th { background: #F1F5F9; color: var(--blue); }
.section-light .data-table td { color: #374151; border-color: #E2E8F0; }
.section-light .data-table tr:hover td { background: #F8FAFC; }

/* Highlight strip */
.highlight-strip {
  background: linear-gradient(135deg, var(--blue) 0%, var(--green) 100%);
  padding: 56px 0;
  text-align: center;
}
.highlight-strip h2 { color: var(--white); margin-bottom: 12px; }
.highlight-strip p { color: rgba(255,255,255,0.85); max-width: 560px; margin: 0 auto 32px; }

/* Contact form */
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-weight: 700;
  margin-bottom: 8px;
  font-size: 0.9rem;
  color: #CBD5E1;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: var(--dark3);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 13px 16px;
  font-family: var(--font);
  font-size: 1rem;
  color: var(--white);
  direction: rtl;
  transition: border-color var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--blue-l); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group input::placeholder,
.form-group textarea::placeholder { color: #4B5563; }

/* WhatsApp float button */
.wa-float {
  position: fixed;
  bottom: 28px;
  left: 28px;
  z-index: 999;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  font-size: 1.7rem;
  transition: all var(--transition);
  text-decoration: none;
}
.wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(37,211,102,0.6);
}
.wa-float-label {
  position: fixed;
  bottom: 38px;
  left: 96px;
  z-index: 999;
  background: var(--dark2);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}
.wa-float:hover + .wa-float-label { opacity: 1; }

/* Footer */
.site-footer {
  background: #080B0F;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 56px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand p { color: #4B5563; font-size: 0.9rem; margin-top: 12px; max-width: 280px; }
.footer-col h4 { color: var(--white); margin-bottom: 18px; font-size: 0.95rem; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: #4B5563; font-size: 0.9rem; transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--blue-l); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { color: #374151; font-size: 0.82rem; margin: 0; }

/* Responsive */
@media (max-width: 900px) {
  .main-nav { display: none; }
  .header-cta .btn { display: none; }
  .hamburger { display: flex; }
  .two-col { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .section { padding: 52px 0; }
  .hero { padding: 52px 0 60px; }
  .hero-btns { flex-direction: column; }
  .hero-btns .btn { width: 100%; justify-content: center; }
  .hero-trust { gap: 16px; }
  .cards-grid { grid-template-columns: 1fr; }
  .step { grid-template-columns: 48px 1fr; }
  .step-num { width: 48px; height: 48px; font-size: 1.1rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .wa-float-label { display: none; }
}

/* WhatsApp Modal */
.wa-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.wa-modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.wa-modal {
  background: #1C2128;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  width: 100%;
  max-width: 480px;
  padding: 32px;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.25s ease;
  max-height: 90vh;
  overflow-y: auto;
}
.wa-modal-overlay.open .wa-modal {
  transform: translateY(0);
}
.wa-modal-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
}
.wa-modal-icon {
  width: 44px;
  height: 44px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.wa-modal-icon svg { width: 24px; height: 24px; fill: #fff; }
.wa-modal-header h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  margin: 0;
}
.wa-modal-sub {
  font-size: 0.85rem;
  color: #6B7280;
  margin: 0 0 24px 56px;
}
.wa-modal-close {
  position: absolute;
  top: 16px;
  left: 16px;
  background: none;
  border: none;
  color: #6B7280;
  font-size: 1.4rem;
  cursor: pointer;
  line-height: 1;
  padding: 4px 8px;
  border-radius: 6px;
  transition: all 0.2s;
}
.wa-modal-close:hover { background: rgba(255,255,255,0.07); color: #fff; }
.wa-form-group {
  margin-bottom: 14px;
}
.wa-form-group label {
  display: block;
  font-size: 0.83rem;
  font-weight: 700;
  color: #94A3B8;
  margin-bottom: 6px;
}
.wa-form-group input,
.wa-form-group select,
.wa-form-group textarea {
  width: 100%;
  background: #0D1117;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 10px 14px;
  color: #fff;
  font-family: 'Heebo', sans-serif;
  font-size: 0.95rem;
  transition: border-color 0.2s;
  direction: rtl;
}
.wa-form-group input:focus,
.wa-form-group select:focus,
.wa-form-group textarea:focus {
  outline: none;
  border-color: #25D366;
}
.wa-form-group select option { background: #1C2128; }
.wa-form-group textarea { resize: none; height: 80px; }
.wa-submit-btn {
  width: 100%;
  background: #25D366;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 14px;
  font-size: 1.05rem;
  font-weight: 800;
  font-family: 'Heebo', sans-serif;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
  transition: background 0.2s, transform 0.15s;
}
.wa-submit-btn:hover { background: #20BA5A; transform: translateY(-1px); }
.wa-submit-btn svg { width: 22px; height: 22px; fill: #fff; }
@media (max-width: 500px) {
  .wa-modal { padding: 24px 18px; }
  .wa-modal-sub { margin-right: 0; margin-top: 4px; }
}

/* Animations */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 0.6s ease forwards; }
.fade-up-2 { animation: fadeUp 0.6s 0.15s ease forwards; opacity: 0; }
.fade-up-3 { animation: fadeUp 0.6s 0.3s ease forwards; opacity: 0; }

/* Article / long-form content */
.article-body h2 { margin-top: 48px; margin-bottom: 16px; }
.article-body h3 { margin-top: 36px; margin-bottom: 12px; color: var(--blue-l); }
.article-body h4 { margin-top: 28px; margin-bottom: 8px; color: var(--green-l); }
.article-body p { margin-bottom: 1.2rem; }
.article-body ul, .article-body ol { margin: 16px 0 20px 0; padding-right: 24px; }
.article-body ul li { list-style: disc; color: #CBD5E1; margin-bottom: 8px; }
.article-body ol li { list-style: decimal; color: #CBD5E1; margin-bottom: 8px; }
.article-toc {
  background: var(--dark2);
  border: 1px solid rgba(26,127,212,0.2);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin-bottom: 40px;
}
.article-toc h4 { color: var(--blue-l); margin-bottom: 14px; }
.article-toc ol { padding-right: 20px; }
.article-toc ol li { color: var(--blue-l); margin-bottom: 6px; font-size: 0.92rem; }
.article-toc ol li a { color: var(--blue-l); }
.article-toc ol li a:hover { color: var(--gold); }
