/* ============================================================
   getadblockofficial.com — main stylesheet
   Primary: #E84D1B (AdBlock orange-red)
   Surface: #F8F9FA | Dark: #1A1A2E | Text: #2D2D2D
   ============================================================ */

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

:root {
  --primary:       #E84D1B;
  --primary-dark:  #C43A10;
  --primary-light: #FF6B3D;
  --bg:            #FFFFFF;
  --surface:       #F8F9FA;
  --dark:          #1A1A2E;
  --text:          #2D2D2D;
  --text-muted:    #6B7280;
  --border:        #E5E7EB;
  --radius:        8px;
  --radius-lg:     16px;
  --shadow:        0 2px 12px rgba(0,0,0,.08);
  --shadow-lg:     0 8px 32px rgba(0,0,0,.12);
  --header-h:      68px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---- BUTTONS ---- */
.btn-cta {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 32px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background .2s, transform .15s;
  white-space: nowrap;
}
.btn-cta:hover { background: var(--primary-dark); transform: translateY(-1px); }

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--primary);
  font-weight: 600;
  font-size: 1rem;
  padding: 13px 28px;
  border-radius: var(--radius);
  border: 2px solid var(--primary);
  cursor: pointer;
  transition: all .2s;
  white-space: nowrap;
}
.btn-outline:hover { background: var(--primary); color: #fff; }

/* ---- HEADER ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  height: var(--header-h);
}

.nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 32px;
  position: relative;
}

.brand { flex-shrink: 0; display: flex; align-items: center; gap: 10px; }
.logo  { height: 36px; width: auto; max-width: 160px; object-fit: contain; }
.brand-name {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -.3px;
}
.brand-name span { color: var(--primary); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 12px;
}
.nav-links li a {
  display: block;
  padding: 8px 14px;
  font-size: .95rem;
  font-weight: 500;
  color: var(--text);
  border-radius: var(--radius);
  transition: background .15s, color .15s;
}
.nav-links li a:hover, .nav-links li a.active { background: var(--surface); color: var(--primary); }

.nav-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--dark);
  order: 99;
  padding: 4px 8px;
  line-height: 1;
}

/* ---- HERO ---- */
.hero {
  background: linear-gradient(135deg, var(--dark) 0%, #2d1b69 100%);
  color: #fff;
  padding: 100px 24px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1558494949-ef010cbdcc31?w=1400&q=80&auto=format&fit=crop') center/cover no-repeat;
  opacity: .08;
}
.hero-inner { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; }

.hero-badge {
  display: inline-block;
  background: rgba(232,77,27,.2);
  color: #ff8c6b;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
  border: 1px solid rgba(232,77,27,.3);
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -.5px;
}
.hero h1 span { color: var(--primary-light); }

.hero-sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,.82);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.hero-cta-group { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 48px; }

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 36px;
}
.stat-item { text-align: center; }
.stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  display: block;
}
.stat-label {
  font-size: .85rem;
  color: rgba(255,255,255,.6);
  margin-top: 12px;
}

/* ---- SECTIONS ---- */
.section { padding: 80px 24px; }
.section-alt { background: var(--surface); }

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

.section-header { text-align: center; margin-bottom: 56px; }
.section-tag {
  display: inline-block;
  background: rgba(232,77,27,.08);
  color: var(--primary);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 14px;
}
.section-header h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 12px;
  letter-spacing: -.3px;
  line-height: 1.2;
}
.section-header p {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
}

/* ---- FEATURE CARDS ---- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}
.feature-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: transform .2s, box-shadow .2s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.feature-icon {
  width: 52px; height: 52px;
  background: rgba(232,77,27,.1);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  font-size: 1.5rem;
}
.feature-card h3 { font-size: 1.1rem; font-weight: 700; color: var(--dark); margin-bottom: 10px; }
.feature-card p  { font-size: .95rem; color: var(--text-muted); line-height: 1.65; }

/* ---- HOW IT WORKS ---- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
}
.step {
  text-align: center;
  padding: 32px 20px;
}
.step-num {
  width: 56px; height: 56px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  font-weight: 800;
  margin: 0 auto 20px;
}
.step h3 { font-size: 1.05rem; font-weight: 700; color: var(--dark); margin-bottom: 10px; }
.step p  { font-size: .9rem; color: var(--text-muted); line-height: 1.6; }

/* ---- SPLIT ROW ---- */
.split-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.split-row.reverse { direction: rtl; }
.split-row.reverse > * { direction: ltr; }
.split-content h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 16px;
  line-height: 1.2;
}
.split-content p { color: var(--text-muted); line-height: 1.75; margin-bottom: 16px; }
.split-content ul { margin-bottom: 28px; }
.split-content ul li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: .95rem; color: var(--text-muted); margin-bottom: 10px;
}
.split-content ul li::before { content: '✓'; color: var(--primary); font-weight: 700; flex-shrink: 0; margin-top: 1px; }
.split-img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.split-img img { width: 100%; height: 360px; object-fit: cover; }

/* ---- BROWSERS ---- */
.browsers-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}
.browser-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 36px;
  text-align: center;
  min-width: 160px;
  transition: border-color .2s, box-shadow .2s;
  box-shadow: var(--shadow);
}
.browser-card:hover { border-color: var(--primary); box-shadow: var(--shadow-lg); }
.browser-icon { font-size: 2.5rem; margin-bottom: 12px; }
.browser-card h3 { font-size: .95rem; font-weight: 600; color: var(--dark); }

/* ---- PRESS ---- */
.press-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 40px;
}
.press-item {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-muted);
  opacity: .6;
  letter-spacing: -.5px;
  font-style: italic;
}

/* ---- PRICING ---- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  max-width: 800px;
  margin: 0 auto;
}
.pricing-card {
  background: var(--bg);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  text-align: center;
  position: relative;
}
.pricing-card.featured { border-color: var(--primary); }
.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 100px;
  white-space: nowrap;
}
.pricing-card h3 { font-size: 1.1rem; font-weight: 700; color: var(--dark); margin-bottom: 20px; }
.price-amount { font-size: 2.8rem; font-weight: 800; color: var(--dark); line-height: 1; }
.price-amount span { font-size: 1rem; font-weight: 500; color: var(--text-muted); }
.price-period { font-size: .9rem; color: var(--text-muted); margin-top: 6px; margin-bottom: 28px; }
.pricing-features { text-align: left; margin-bottom: 28px; }
.pricing-features li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: .9rem; color: var(--text-muted); padding: 7px 0;
  border-bottom: 1px solid var(--border);
}
.pricing-features li:last-child { border-bottom: none; }
.pricing-features li::before { content: '✓'; color: var(--primary); font-weight: 700; flex-shrink: 0; margin-top: 1px; }

/* ---- FAQ ---- */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 22px 0;
}
.faq-q {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  user-select: none;
}
.faq-q::after { content: '+'; font-size: 1.4rem; color: var(--primary); flex-shrink: 0; line-height: 1; }
.faq-item.open .faq-q::after { content: '−'; }
.faq-a {
  font-size: .95rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease, padding .3s;
}
.faq-item.open .faq-a { max-height: 400px; padding-top: 12px; }

/* ---- CTA BANNER ---- */
.cta-banner {
  background: linear-gradient(135deg, var(--dark) 0%, #2d1b69 100%);
  color: #fff;
  text-align: center;
  padding: 80px 24px;
}
.cta-banner h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 14px;
}
.cta-banner p { color: rgba(255,255,255,.75); font-size: 1.05rem; margin-bottom: 36px; }
.cta-wrap { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* ---- FOOTER ---- */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,.7);
  padding: 60px 24px 32px;
}
.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  margin-bottom: 28px;
}
.footer-brand .brand-name { font-size: 1.2rem; color: #fff; margin-bottom: 12px; }
.footer-brand p { font-size: .9rem; line-height: 1.65; max-width: 280px; }
.footer-col h4 { color: #fff; font-size: .95rem; font-weight: 700; margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: .88rem; transition: color .15s; }
.footer-col ul li a:hover { color: var(--primary-light); }
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .85rem;
}

/* ---- IMAGE STRIP ---- */
.img-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 48px; }
.img-strip img { width: 100%; height: 200px; object-fit: cover; border-radius: var(--radius); }

/* ---- TRUST BAR ---- */
.trust-bar {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px 24px;
}
.trust-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--text-muted);
}
.trust-item .icon { color: var(--primary); font-size: 1.1rem; }

/* ============================================================
   MOBILE STYLES
   ============================================================ */
@media (max-width: 768px) {
  .nav { gap: 0; padding-right: 8px; }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    align-items: center;
    height: auto;
    max-height: none;
    overflow: visible;
    background: var(--bg);
    box-shadow: 0 8px 16px rgba(0,0,0,.12);
    padding: 12px 0;
    z-index: 999;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; text-align: center; }
  .nav-links li a { width: 100%; padding: 14px 0; font-size: 18px; display: block; }

  .nav-right .lang-switcher { display: none; }
  .nav-right .btn-cta { display: none; }
  .nav-right { margin-left: auto; }
  .nav-toggle { display: block; margin-right: 0; padding-right: 0; }

  .hero { padding: 64px 20px 56px; }
  .hero-stats { gap: 28px; }

  .split-row { grid-template-columns: 1fr; gap: 32px; }
  .split-row.reverse { direction: ltr; }
  .split-img img { height: 240px; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }

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

  .btn-cta, .hero-cta, .cta-button, .btn-outline {
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    width: max-content;
    max-width: 90%;
  }
  .cta-wrap { display: flex; flex-direction: column; align-items: center; }
  .hero-cta-group { flex-direction: column; align-items: center; }
  .contact-form .btn-cta { width: 100%; max-width: 100%; }
  .pricing-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .press-row { gap: 20px; }
  .trust-inner { gap: 20px; }
}

/* ---- PAGE HERO (inner pages) ---- */
.page-hero {
  background: linear-gradient(135deg, var(--dark) 0%, #2d1b69 100%);
  color: #fff;
  padding: 72px 24px 56px;
  text-align: center;
}
.page-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 14px;
}
.page-hero p { color: rgba(255,255,255,.75); font-size: 1.05rem; max-width: 560px; margin: 0 auto; }

/* ---- CONTACT ---- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: .9rem; font-weight: 600; color: var(--dark); }
.form-group input,
.form-group textarea,
.form-group select {
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: .95rem;
  font-family: inherit;
  color: var(--text);
  background: var(--bg);
  transition: border-color .15s;
}
.form-group input:focus,
.form-group textarea:focus { outline: none; border-color: var(--primary); }
.form-group textarea { resize: vertical; min-height: 120px; }
.contact-info h3 { font-size: 1.2rem; font-weight: 700; color: var(--dark); margin-bottom: 20px; }
.contact-info-item { display: flex; gap: 12px; margin-bottom: 16px; }
.contact-info-item .icon { color: var(--primary); font-size: 1.2rem; flex-shrink: 0; }
.contact-info-item p { font-size: .95rem; color: var(--text-muted); }

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

/* ---- LEGAL PAGES ---- */
.legal-content { max-width: 800px; margin: 0 auto; padding: 60px 24px; }
.legal-content h1 { font-size: 2rem; font-weight: 800; color: var(--dark); margin-bottom: 8px; }
.legal-content .meta { color: var(--text-muted); font-size: .9rem; margin-bottom: 36px; }
.legal-content h2 { font-size: 1.3rem; font-weight: 700; color: var(--dark); margin: 32px 0 12px; }
.legal-content h3 { font-size: 1.05rem; font-weight: 600; color: var(--dark); margin: 20px 0 8px; }
.legal-content p, .legal-content li { font-size: .97rem; color: var(--text-muted); line-height: 1.75; margin-bottom: 12px; }
.legal-content ul { margin-left: 20px; list-style: disc; margin-bottom: 16px; }

/* ---- DOWNLOAD PAGE ---- */
.platforms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}
.platform-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: border-color .2s, transform .2s;
}
.platform-card:hover { border-color: var(--primary); transform: translateY(-3px); }
.platform-icon { font-size: 2.8rem; margin-bottom: 14px; }
.platform-card h3 { font-size: 1rem; font-weight: 700; color: var(--dark); margin-bottom: 10px; }
.platform-card p { font-size: .85rem; color: var(--text-muted); margin-bottom: 20px; }
