/* ============================================
   AdFilter.pro — Landing Page Styles
   ============================================ */

/* --- Font (self-hosted: no third-party requests) --- */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/inter-latin-var.woff2') format('woff2');
}

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

:root {
  /* Colors */
  --bg-deep:      #060b18;
  --bg-dark:      #0a1025;
  --bg-card:      #0f1a2e;
  --bg-card-hover:#142240;
  --border-card:  #1a2d4a;
  --accent:       #00e5ff;
  --accent-dim:   #0093a8;
  --accent-dark:  #0052d4;
  --green:        #3DDC84;
  --white:        #ffffff;
  --gray-100:     #e0e6ef;
  --gray-300:     #8b9ec2;
  --gray-500:     #4a5f8a;

  /* Typography */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Spacing */
  --section-pad: 100px 0;
  --container-max: 1080px;
  --radius: 14px;
  --radius-sm: 10px;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font);
  background: var(--bg-deep);
  color: var(--gray-100);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img, svg {
  display: block;
  max-width: 100%;
}

/* --- Container --- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Section Title --- */
.section-title {
  text-align: center;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 48px;
  position: relative;
}

.text-pro {
  color: var(--accent);
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-dark));
  margin: 16px auto 0;
  border-radius: 2px;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font);
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn--primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: var(--bg-deep);
  padding: 14px 32px;
  font-size: 1rem;
  box-shadow: 0 4px 24px rgba(0, 229, 255, 0.25);
}

.btn--primary:hover {
  box-shadow: 0 6px 32px rgba(0, 229, 255, 0.4);
  transform: translateY(-2px);
}

.btn--primary:active {
  transform: translateY(0);
}

.btn--lg {
  padding: 16px 40px;
  font-size: 1.1rem;
  border-radius: 10px;
}

.btn--sm {
  padding: 8px 20px;
  font-size: 0.875rem;
}

.btn--outline {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
  padding: 8px 20px;
  font-size: 0.875rem;
}

.btn--outline:hover {
  background: rgba(0, 229, 255, 0.1);
}

/* ============================================
   HEADER
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 0;
  background: rgba(6, 11, 24, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(26, 45, 74, 0.3);
  transition: background 0.3s;
}

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

.logo {
  display: flex;
  align-items: center;
}

.logo__img {
  height: 32px;
  width: auto;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-300);
  transition: color 0.25s;
}

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

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 50% 40%, rgba(0, 82, 212, 0.12) 0%, transparent 70%),
    linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-dark) 100%);
}

/* Animated grid background */
.hero__bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 229, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 50% at 50% 40%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 50% at 50% 40%, black 20%, transparent 70%);
  animation: gridPulse 8s ease-in-out infinite;
}

@keyframes gridPulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

.hero__inner {
  display: flex;
  align-items: center;
  gap: 60px;
  position: relative;
  z-index: 1;
}

/* Shield */
.hero__shield {
  flex-shrink: 0;
  width: 260px;
  height: 310px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.shield-img {
  width: 220px;
  height: auto;
  filter: drop-shadow(0 0 30px rgba(0, 229, 255, 0.3));
  animation: shieldFloat 6s ease-in-out infinite;
}

@keyframes shieldFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.shield-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 220px;
  height: 260px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.08) 0%, transparent 70%);
  animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
  50% { transform: translate(-50%, -50%) scale(1.15); opacity: 1; }
}

/* Hero text */
.hero__content {
  flex: 1;
}

.hero__title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 20px;
}

.hero__title--accent {
  background: linear-gradient(135deg, var(--accent) 30%, var(--accent-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--gray-300);
  margin-bottom: 36px;
  line-height: 1.7;
}

/* ============================================
   FEATURES
   ============================================ */
.features {
  padding: var(--section-pad);
  position: relative;
}

.features::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  max-width: 600px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-card), transparent);
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius);
  padding: 40px 28px;
  text-align: center;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}

.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(0, 229, 255, 0.2);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
}

.feature-card__icon svg {
  width: 100%;
  height: 100%;
}

.feature-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.feature-card__desc {
  font-size: 0.9rem;
  color: var(--gray-300);
  line-height: 1.6;
}

/* ============================================
   PLATFORMS
   ============================================ */
.platforms {
  padding: var(--section-pad);
}

.platforms__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 720px;
  margin: 0 auto;
}

.platform-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius);
  padding: 24px 24px 32px;
  text-align: center;
  transition: all 0.3s ease;
}

.platform-card:hover {
  border-color: rgba(0, 229, 255, 0.15);
  transform: translateY(-2px);
}

.platform-card--active {
  border-color: rgba(0, 229, 255, 0.3);
  box-shadow: 0 0 30px rgba(0, 229, 255, 0.06);
}

.platform-card__name {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gray-100);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.platform-card__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
}

.platform-card__icon svg {
  width: 100%;
  height: 100%;
}

.platform-card__status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
}

.platform-card__status--dev {
  color: var(--accent);
}

.platform-card__status--soon {
  color: var(--gray-300);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.status-dot--pulse {
  animation: dotPulse 2s ease-in-out infinite;
  box-shadow: 0 0 6px var(--accent);
}

@keyframes dotPulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 6px var(--accent); }
  50% { opacity: 0.4; box-shadow: 0 0 2px var(--accent); }
}

.platforms__note {
  text-align: center;
  margin-top: 24px;
  font-size: 0.8rem;
  color: var(--gray-500);
  font-style: italic;
}

/* ============================================
   ANIMATIONS — Fade in on scroll
   ============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.fade-in-stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in-stagger.visible > *:nth-child(1) { transition-delay: 0.1s; opacity: 1; transform: none; }
.fade-in-stagger.visible > *:nth-child(2) { transition-delay: 0.2s; opacity: 1; transform: none; }
.fade-in-stagger.visible > *:nth-child(3) { transition-delay: 0.3s; opacity: 1; transform: none; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  .hero {
    padding: 90px 0 60px;
    min-height: auto;
  }

  .hero__inner {
    flex-direction: column;
    text-align: center;
    gap: 32px;
  }

  .hero__shield {
    width: 160px;
    height: 200px;
  }

  .shield-img {
    width: 160px;
  }

  .logo__img {
    height: 26px;
  }

  .hero__subtitle br {
    display: none;
  }

  .hero__cta {
    margin: 0 auto;
  }

  .features__grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .platforms__grid {
    grid-template-columns: repeat(3, 1fr);
    max-width: 100%;
    gap: 12px;
  }

  .platform-card {
    padding: 18px 12px 24px;
  }

  .platform-card__name {
    font-size: 0.65rem;
  }

  .platform-card__icon {
    width: 40px;
    height: 40px;
    margin-bottom: 14px;
  }

  .platform-card__status {
    font-size: 0.7rem;
  }


  .header__nav .nav-link {
    display: none;
  }



  .section-title {
    font-size: 1.4rem;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .hero__shield {
    width: 200px;
    height: 260px;
  }

  .shield-img {
    width: 180px;
  }
}

/* ============================================
   UTILITY — Scrollbar
   ============================================ */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-deep);
}

::-webkit-scrollbar-thumb {
  background: var(--border-card);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gray-500);
}

/* Selection */
::selection {
  background: rgba(0, 229, 255, 0.2);
  color: var(--white);
}

/* ============================================
   2026-11 REFRESH — new sections and components
   ============================================ */

/* Buttons */
.btn--outline.btn--lg,
.btn--lg-outline {
  padding: 15px 32px;
  font-size: 1.05rem;
  border-radius: 10px;
  border: 1.5px solid var(--accent);
  color: var(--accent);
  background: transparent;
}

.btn--lg-outline {
  padding: 12px 26px;
  font-size: 1rem;
  border-radius: 8px;
}

.btn__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.btn__icon--invert {
  filter: brightness(0);
}

/* Hero */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  margin-bottom: 20px;
  border: 1px solid rgba(61, 220, 132, 0.35);
  border-radius: 999px;
  color: var(--green);
  font-size: 0.85rem;
  font-weight: 600;
}

.hero__badge .status-dot {
  background: var(--green);
  box-shadow: 0 0 6px var(--green);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero__meta {
  margin-top: 16px;
  font-size: 0.85rem;
  color: var(--gray-500);
}

.shield-img {
  width: 230px;
}

/* Stats */
.stats {
  padding: 0 0 20px;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius);
  overflow: hidden;
  padding: 0;
}

.stat {
  background: var(--bg-dark);
  padding: 24px 22px;
}

.stat strong {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.stat span {
  font-size: 0.85rem;
  color: var(--gray-300);
}

/* Stagger the extra cards (grids now hold up to 6) */
.fade-in-stagger.visible > *:nth-child(4) { transition-delay: 0.4s; opacity: 1; transform: none; }
.fade-in-stagger.visible > *:nth-child(5) { transition-delay: 0.5s; opacity: 1; transform: none; }
.fade-in-stagger.visible > *:nth-child(6) { transition-delay: 0.6s; opacity: 1; transform: none; }

/* How it works */
.how {
  padding: var(--section-pad);
  padding-top: 20px;
}

.how__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.mode-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius);
  padding: 32px;
}

.mode-card--advanced {
  border-color: rgba(0, 229, 255, 0.3);
  box-shadow: 0 0 30px rgba(0, 229, 255, 0.06);
}

.mode-card__tag {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}

.mode-card__title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 10px;
}

.mode-card__desc {
  color: var(--gray-300);
  font-size: 0.95rem;
  margin-bottom: 18px;
}

.mode-card__list {
  list-style: none;
  display: grid;
  gap: 10px;
}

.mode-card__list li {
  position: relative;
  padding-left: 28px;
  font-size: 0.92rem;
  color: var(--gray-100);
}

.mode-card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(0, 229, 255, 0.15)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%2300e5ff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / 12px no-repeat;
}

.how__note {
  margin-top: 24px;
  padding: 20px 24px;
  border: 1px solid var(--border-card);
  border-left: 3px solid #ffc46b;
  border-radius: var(--radius-sm);
  background: rgba(255, 196, 107, 0.04);
  color: var(--gray-300);
  font-size: 0.92rem;
}

.how__note strong {
  color: var(--white);
}

/* Platforms (now four cards with downloads) */
.platforms__grid {
  grid-template-columns: repeat(4, 1fr);
  max-width: 1000px;
}

.platform-card {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.platform-card__icon img {
  width: 100%;
  height: 100%;
}

.platform-card__status--live {
  color: var(--green);
}

.platform-card__status--live .status-dot {
  background: var(--green);
  box-shadow: 0 0 6px var(--green);
}

.platform-card__req {
  margin: 12px 0 18px;
  font-size: 0.82rem;
  color: var(--gray-300);
  line-height: 1.5;
}

.platform-card__btn {
  margin-top: auto;
  width: 100%;
  padding: 10px 16px;
}

.credits {
  max-width: 640px;
  margin: 28px auto 0;
  text-align: center;
  font-size: 0.8rem;
  color: var(--gray-500);
}

/* FAQ */
.faq {
  padding: var(--section-pad);
}

.faq__inner {
  max-width: 760px;
}

.faq__item {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-sm);
  padding: 0 22px;
  margin-bottom: 12px;
}

.faq__item summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 18px 28px 18px 0;
  font-weight: 600;
  color: var(--white);
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--accent);
}

.faq__item[open] summary::after {
  content: '\2212';
}

.faq__item p {
  padding-bottom: 18px;
  color: var(--gray-300);
  font-size: 0.95rem;
}

.faq__item a,
.legal a,
.footer__copy a {
  color: var(--accent);
}

/* CTA */
.cta {
  padding: 0 0 90px;
}

.cta__card {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 32px 40px;
  background:
    radial-gradient(80% 140% at 0% 0%, rgba(0, 229, 255, 0.1), transparent 60%),
    var(--bg-card);
  border: 1px solid rgba(0, 229, 255, 0.2);
  border-radius: var(--radius);
}

.cta__shield {
  width: 64px;
  height: auto;
  flex-shrink: 0;
}

.cta__content {
  flex: 1;
}

.cta__title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--white);
}

.cta__desc {
  color: var(--gray-300);
  font-size: 0.95rem;
}

.cta__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Footer */
.footer {
  padding: 56px 0 32px;
  border-top: 1px solid rgba(26, 45, 74, 0.5);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
}

.footer__brand p {
  margin-top: 14px;
  max-width: 300px;
  font-size: 0.9rem;
  color: var(--gray-300);
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__col h3 {
  margin-bottom: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-500);
}

.footer__col a {
  color: var(--gray-100);
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer__col a:hover {
  color: var(--accent);
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(26, 45, 74, 0.5);
}

.footer__copy {
  font-size: 0.85rem;
  color: var(--gray-500);
}

/* Legal pages */
.legal {
  padding: 130px 0 80px;
}

.legal .prose {
  max-width: 760px;
  margin: 0 auto;
}

.legal h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 8px;
}

.legal h2 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--white);
  margin: 40px 0 12px;
}

.legal h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin: 24px 0 8px;
}

.legal p,
.legal li {
  color: var(--gray-300);
  margin-bottom: 12px;
}

.legal ul {
  padding-left: 22px;
  margin-bottom: 12px;
}

.legal .updated {
  color: var(--gray-500);
  margin-bottom: 28px;
}

.legal .summary-box {
  margin: 24px 0;
  padding: 18px 22px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm);
}

.legal .summary-box ul {
  margin: 0;
}

/* Responsive for the new parts */
@media (max-width: 900px) {
  .stats__grid,
  .platforms__grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .hero__actions {
    justify-content: center;
  }

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

  .features__grid {
    max-width: 480px;
  }

  .platform-card__name {
    font-size: 0.75rem;
  }

  .platform-card__status {
    font-size: 0.8rem;
  }

  .cta__card {
    flex-direction: column;
    text-align: center;
    padding: 28px 24px;
  }

  .cta__actions {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .stats__grid,
  .platforms__grid,
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .hero__actions .btn {
    width: 100%;
  }
}
