/* ========================================
   ANDROIDFUNS.COM - PREMIUM VISUAL SYSTEM
   ======================================== */

/* ===== CSS VARIABLES ===== */
:root {
  --af-green: #3cda84;
  --af-green-dark: #2ec075;
  --af-green-light: #e8faf0;
  --af-dark: #0b1320;
  --af-dark-light: #1a1a1a;
  --af-blue: #34a8eb;
  --af-blue-dark: #1e7bc7;
  --af-gradient: linear-gradient(135deg, var(--af-green), var(--af-blue));
  --af-gradient-reverse: linear-gradient(135deg, var(--af-blue), var(--af-green));
  --af-shadow: 0 10px 30px rgba(60, 218, 132, 0.25);
  --af-shadow-hover: 0 20px 50px rgba(60, 218, 132, 0.4);
  --af-radius: 16px;
  --af-radius-lg: 24px;
  --af-transition: cubic-bezier(0.23, 1, 0.32, 1);
  --af-transition-fast: cubic-bezier(0.23, 1, 0.32, 1);
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ===== SCROLL PROGRESS BAR ===== */
.af-scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--af-gradient);
  z-index: 99999;
  transform-origin: left center;
  transform: scaleX(0);
  will-change: transform;
}

/* ===== FLOATING CTA ===== */
.af-float-cta {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  background: var(--af-gradient);
  color: var(--af-dark);
  font-weight: 700;
  font-size: 15px;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(60, 218, 132, 0.25);
  animation: af-float-pulse 3s ease-in-out infinite;
  will-change: transform, box-shadow;
  transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.af-float-cta:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 20px 50px rgba(60, 218, 132, 0.4);
}

.af-float-cta .icon {
  width: 20px;
  height: 20px;
  stroke: currentColor;
}

@keyframes af-float-pulse {
  0%, 100% { box-shadow: 0 10px 30px rgba(60, 218, 132, 0.25); }
  50% { box-shadow: 0 15px 40px rgba(60, 218, 132, 0.35); }
}

@media (max-width: 768px) {
  .af-float-cta {
    bottom: 0;
    right: 0;
    left: 0;
    border-radius: 20px 20px 0 0;
    justify-content: center;
    padding: 18px 24px;
    animation: af-slide-up 0.5s cubic-bezier(0.23, 1, 0.32, 1) forwards, af-float-pulse 3s ease-in-out infinite 0.5s;
    transform: translateY(100%);
  }
  
  @keyframes af-slide-up {
    to { transform: translateY(0); }
  }
}

/* ===== 3D TILT CARDS ===== */
.af-card-3d {
  perspective: 1000px;
  transform-style: preserve-3d;
}

.af-card-3d .card-inner {
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  transform-style: preserve-3d;
  will-change: transform;
}

.af-card-3d:hover .card-inner {
  transform: rotateY(5deg) rotateX(-5deg) scale(1.02);
}

/* ===== IMAGE COMPARISON SLIDER ===== */
.af-image-compare {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: #f0f0f0;
}

.af-image-compare img {
  width: 100%;
  height: auto;
  display: block;
}

.af-image-compare .before {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  overflow: hidden;
}

.af-image-compare .handle {
  position: absolute;
  top: 0;
  left: 50%;
  width: 4px;
  height: 100%;
  background: #3cda84;
  cursor: ew-resize;
  z-index: 10;
  transform: translateX(-50%);
  transition: left 0.1s ease;
}

.af-image-compare .handle::before,
.af-image-compare .handle::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border: 3px solid #3cda84;
  border-radius: 50%;
  background: white;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.af-image-compare .handle::after {
  width: 16px;
  height: 16px;
  background: #3cda84;
  border: none;
}

/* ===== FADE-UP SCROLL ANIMATION ===== */
.af-fade-up {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 1s cubic-bezier(0.23, 1, 0.32, 1), transform 1s cubic-bezier(0.23, 1, 0.32, 1);
}

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

.af-stagger > * { opacity: 0; transform: translateY(40px); }
.af-stagger.visible > * {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s cubic-bezier(0.23, 1, 0.32, 1), transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}
.af-stagger.visible > *:nth-child(1) { transition-delay: 0.1s; }
.af-stagger.visible > *:nth-child(2) { transition-delay: 0.2s; }
.af-stagger.visible > *:nth-child(3) { transition-delay: 0.3s; }
.af-stagger.visible > *:nth-child(4) { transition-delay: 0.4s; }
.af-stagger.visible > *:nth-child(5) { transition-delay: 0.5s; }
.af-stagger.visible > *:nth-child(6) { transition-delay: 0.6s; }

/* ===== HERO SLIDER BASE ===== */
.af-hero-slider {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
}

.af-hero-slider .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s cubic-bezier(0.23, 1, 0.32, 1), transform 0.8s cubic-bezier(0.23, 1, 0.32, 1), visibility 0.8s;
}

.af-hero-slider .slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.af-hero-slider .slide:not(.active) {
  transform: scale(1.05);
}

.af-hero-slider .slide-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  will-change: transform;
}

/* ===== PARTICLE CANVAS ===== */
.af-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

/* ===== FLOATING ICONS ORBIT ===== */
.af-orbit-container {
  position: absolute;
  width: 200px;
  height: 200px;
  animation: af-orbit 20s linear infinite;
}

@keyframes af-orbit {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.af-orbit-icon {
  position: absolute;
  width: 48px;
  height: 48px;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.15));
}

/* ===== IMAGE BLUR-UP (LQIP) ===== */
.af-img-blur {
  filter: blur(20px);
  transition: filter 0.6s ease-out;
}

.af-img-blur.loaded {
  filter: blur(0);
}

/* ===== PREMIUM BUTTONS ===== */
.af-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 16px;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  will-change: transform, box-shadow;
}

.af-btn-primary {
  background: linear-gradient(135deg, #3cda84, #34a8eb);
  color: #0b1320;
  box-shadow: 0 10px 30px rgba(60, 218, 132, 0.25);
}

.af-btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 20px 50px rgba(60, 218, 132, 0.4);
}

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

.af-btn-secondary:hover {
  background: #1a1a1a;
  transform: translateY(-2px);
}

/* ===== COMPARISON TABLE ENHANCEMENT ===== */
.af-compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.04);
}

.af-compare-table th,
.af-compare-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid #f0f0f0;
}

.af-compare-table th {
  background: #fafafa;
  font-weight: 700;
  color: #0b1320;
  white-space: nowrap;
  position: sticky;
  left: 0;
  z-index: 1;
}

.af-compare-table tr:hover {
  background: #fafafa;
}

.af-compare-table .winner {
  color: #3cda84;
  font-weight: 700;
}

.af-compare-table .winner-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: #3cda84;
  color: #0b1320;
  font-weight: 800;
  font-size: 12px;
  border-radius: 50%;
}

/* ===== VERDICT CARDS ===== */
.af-verdict-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin: 32px 0;
}

.af-verdict-card {
  background: white;
  border: 1px solid #eef0f2;
  border-radius: 24px;
  padding: 32px;
  text-align: center;
  position: relative;
  box-shadow: 0 4px 24px rgba(0,0,0,0.03);
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.af-verdict-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(0,0,0,0.08);
}

.af-verdict-card.winner {
  border-color: #3cda84;
  box-shadow: 0 4px 24px rgba(60, 218, 132, 0.15);
}

.af-verdict-badge {
  display: inline-block;
  background: #3cda84;
  color: #0b1320;
  font-size: 12px;
  font-weight: 800;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.af-verdict-card h3 {
  font-size: 20px;
  font-weight: 800;
  color: #0b1320;
  margin: 0 0 12px;
}

.af-verdict-card p {
  color: #4a4a4a;
  line-height: 1.7;
  margin: 0 0 24px;
}

/* ===== SPECS TABLE ===== */
.af-specs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  margin: 24px 0;
}

.af-specs-table th,
.af-specs-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid #f0f0f0;
}

.af-specs-table th {
  background: #fafafa;
  font-weight: 700;
  color: #0b1320;
  width: 30%;
}

.af-specs-table td:last-child {
  text-align: center;
}

.af-specs-table .winner-cell .winner-badge {
  margin: 0 auto;
}

/* ===== FAQ ACCORDION ===== */
.af-faq-item {
  border: 1px solid #eef0f2;
  border-radius: 16px;
  margin-bottom: 12px;
  overflow: hidden;
  background: white;
}

.af-faq-item summary {
  padding: 20px 24px;
  font-weight: 700;
  color: #0b1320;
  cursor: pointer;
  list-style: none;
  position: relative;
}

.af-faq-item summary::-webkit-details-marker { display: none; }
.af-faq-item summary::after {
  content: '+';
  position: absolute;
  right: 24px;
  font-size: 20px;
  color: #3cda84;
  transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.af-faq-item[open] summary::after { transform: rotate(45deg); }
.af-faq-item[open] summary { border-bottom: 1px solid #f0f0f0; }

.af-faq-item p {
  padding: 0 24px 20px;
  color: #4a4a4a;
  line-height: 1.7;
}

/* ===== FLOATING SOCIAL SHARE ===== */
.af-float-share {
  position: fixed;
  left: 30px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.af-float-share a {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  border-radius: 50%;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  color: #0b1320;
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.af-float-share a:hover {
  transform: translateX(-8px);
  color: #3cda84;
  box-shadow: 0 8px 30px rgba(60, 218, 132, 0.25);
}

@media (max-width: 1024px) {
  .af-float-share { display: none; }
}

/* ===== RELATED COMPARISONS GRID ===== */
.af-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.af-related-card {
  background: white;
  border: 1px solid #eef0f2;
  border-radius: 16px;
  padding: 24px;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.af-related-card:hover {
  transform: translateY(-4px);
  border-color: #3cda84;
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}

.af-related-card h4 {
  font-size: 16px;
  font-weight: 700;
  color: #0b1320;
  margin: 0;
}

/* ===== DEAL CARDS ===== */
.af-deal-card {
  background: linear-gradient(135deg, #f0fdf4 0%, #eef2ff 100%);
  border: 1px solid #d1fae5;
  border-radius: 24px;
  padding: 24px;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}

.af-deal-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(135deg, #3cda84, #34a8eb);
}

.af-deal-card h3 {
  color: #0b1320;
  font-size: 18px;
  font-weight: 800;
  margin: 0 0 8px;
}

.af-deal-card .discount {
  color: #3cda84;
  font-weight: 700;
  font-size: 14px;
}

.af-deal-card .af-btn {
  width: 100%;
  margin-top: 16px;
}

/* ===== PRICE TRACKER ===== */
.af-price-tracker {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
}

.af-price-tracker th,
.af-price-tracker td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid #f0f0f0;
}

.af-price-tracker .price-current { font-weight: 700; color: #0b1320; }
.af-price-tracker .price-drop { color: #3cda84; font-weight: 700; }
.af-price-tracker .sparkline { width: 80px; height: 30px; }

/* ===== TL;DR BOX ===== */
.af-tldr {
  background: #fafafa;
  border-left: 4px solid #3cda84;
  border-radius: 0 16px 16px 0;
  padding: 24px;
  margin: 32px 0;
}

.af-tldr h4 {
  color: #0b1320;
  font-size: 18px;
  font-weight: 800;
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.af-tldr ul { margin: 0; padding-left: 20px; }
.af-tldr li { margin-bottom: 8px; line-height: 1.6; }

/* ===== TRUST BADGE ===== */
.af-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #e8faf0;
  color: #2ec075;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
  border: 1px solid #c7f2dc;
}

.af-trust-badge::before {
  content: '✓';
  font-weight: 900;
}

/* ===== MOBILE OPTIMIZATIONS ===== */
@media (max-width: 768px) {
  .af-compare-table { font-size: 13px; }
  .af-compare-table th,
  .af-compare-table td { padding: 12px 10px; }
  
  .af-verdict-grid { grid-template-columns: 1fr; }
  
  .af-specs-table { font-size: 13px; }
  .af-specs-table th { width: 35%; }
  
  .af-float-cta { left: 0; right: 0; bottom: 0; border-radius: 20px 20px 0 0; }
  
  .af-float-share { display: none; }
  
  .af-hero-slider { border-radius: 0; }
  
  .af-related-grid { grid-template-columns: 1fr; }
  
  .af-deal-card { padding: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .af-float-cta { animation: none; }
  .af-hero-slider .slide { transition: opacity 0.01ms; }
  .af-fade-up { transition: none; opacity: 1; transform: none; }
  .af-stagger > * { transition: none; opacity: 1; transform: none; }
  .af-card-3d .card-inner { transition: none; }
}
/*
Theme Name: AndroidFuns Child
Theme URI: https://androidfuns.com
Description: World-Class Tech Publication & Editorial Engine for AndroidFuns.com
Author: Android Funs Team
Template: flatsome
Version: 2.1.0
Text Domain: androidfuns-child
*/

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@600;700;800;900&display=swap");

:root {
  --af-bg: #060A10;
  --af-card-bg: rgba(13, 20, 34, 0.85);
  --af-card-border: rgba(255, 255, 255, 0.08);
  --af-card-hover-border: rgba(0, 229, 117, 0.45);
  --af-green: #00E575;
  --af-green-glow: rgba(0, 229, 117, 0.4);
  --af-blue: #38BDF8;
  --af-blue-glow: rgba(56, 189, 248, 0.35);
  --af-purple: #A855F7;
  --af-text-heading: #FFFFFF;
  --af-text-body: #CBD5E1;
  --af-text-muted: #94A3B8;
  --af-radius-sm: 8px;
  --af-radius-md: 14px;
  --af-radius-lg: 20px;
  --af-radius-xl: 28px;
}

/* ========================================================
   GLOBAL SYSTEM & RESET
   ======================================================== */
body, html {
  background-color: var(--af-bg) !important;
  color: var(--af-text-body) !important;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

#main, #wrapper, .content-area {
  background-color: var(--af-bg) !important;
}

h1, h2, h3, h4, h5, h6, .af-heading {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif !important;
  color: var(--af-text-heading) !important;
  font-weight: 800;
  letter-spacing: -0.025em;
}

a {
  color: var(--af-green);
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  color: #38BDF8;
}

/* ========================================================
   TOPBAR & HEADER MASTER SYSTEM
   ======================================================== */
.top-bar, #top-bar {
  background: #04070B !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
  padding: 8px 0 !important;
  font-size: 12px !important;
}

.header-main, #masthead {
  background: rgba(6, 10, 16, 0.94) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.stuck .header-main {
  background: rgba(4, 7, 11, 0.98) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7) !important;
}

#logo img, .header-logo img, .header-logo-sticky {
  height: 48px !important;
  width: auto !important;
  max-height: 48px !important;
  object-fit: contain !important;
  filter: drop-shadow(0 2px 12px rgba(0, 229, 117, 0.25));
  transition: transform 0.25s ease;
}

#logo:hover img {
  transform: scale(1.02);
}

.header-nav > li > a {
  color: #E2E8F0 !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  letter-spacing: 0.02em !important;
  padding: 10px 14px !important;
  transition: color 0.2s ease, transform 0.2s ease !important;
}

.header-nav > li:hover > a, .header-nav > li.active > a, .header-nav > li.current-menu-item > a {
  color: #00E575 !important;
}

/* Header Dropdowns */
.nav-dropdown {
  background: #0C1322 !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 12px !important;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6) !important;
}

.nav-dropdown li a {
  color: #CBD5E1 !important;
  font-weight: 600 !important;
  transition: all 0.2s ease !important;
}

.nav-dropdown li a:hover {
  color: #00E575 !important;
  background: rgba(0, 229, 117, 0.08) !important;
}

/* VIP Header Button */
.af-vip-header-btn {
  background: linear-gradient(135deg, #00E575 0%, #00C865 100%) !important;
  color: #060A10 !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 12.5px !important;
  font-weight: 800 !important;
  letter-spacing: 0.05em !important;
  padding: 8px 18px !important;
  border-radius: 999px !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  box-shadow: 0 0 16px rgba(0, 229, 117, 0.35) !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.af-vip-header-btn:hover {
  transform: translateY(-2px) scale(1.04) !important;
  box-shadow: 0 0 25px rgba(0, 229, 117, 0.6) !important;
  color: #000000 !important;
}

/* Search Dropdown in Header */
.header-search input.search-field {
  background: #070B11 !important;
  color: #FFFFFF !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: 999px !important;
}

/* ========================================================
   ANIMATED TICKER (CONTINUOUS 60FPS MARQUEE)
   ======================================================== */
.af-marquee-wrap {
  width: 100%;
  overflow: hidden;
  background: #04070B;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 10px 0;
  position: relative;
}

.af-marquee-track {
  display: flex;
  width: max-content;
  animation: afMarqueeScroll 40s linear infinite;
}

.af-marquee-track:hover {
  animation-play-state: paused;
}

.af-marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 26px;
  font-size: 13px;
  color: #CBD5E1;
  white-space: nowrap;
}

.af-marquee-item a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.af-marquee-item a:hover {
  color: #00E575;
}

.af-badge-hot {
  background: rgba(0, 229, 117, 0.15);
  color: #00E575;
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 4px;
}

@keyframes afMarqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ========================================================
   MASTER HERO SECTION WITH 3D DEVICE SHOWCASE
   ======================================================== */
.af-hero-container {
  position: relative;
  background: radial-gradient(circle at 75% 30%, rgba(0, 229, 117, 0.14) 0%, rgba(56, 189, 248, 0.08) 35%, rgba(6, 10, 16, 0.98) 75%), #060A10;
  overflow: hidden;
  padding: 70px 20px 85px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.af-hero-grid {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 48px;
}

.af-hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 229, 117, 0.12);
  border: 1px solid rgba(0, 229, 117, 0.35);
  padding: 6px 14px;
  border-radius: 999px;
  color: #00E575;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.af-pulse-dot {
  width: 7px;
  height: 7px;
  background-color: #00E575;
  border-radius: 50%;
  box-shadow: 0 0 10px #00E575;
  animation: afPulse 1.8s infinite;
}

@keyframes afPulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 229, 117, 0.7); }
  70% { transform: scale(1.2); box-shadow: 0 0 0 8px rgba(0, 229, 117, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 229, 117, 0); }
}

.af-hero-title {
  font-size: 56px !important;
  line-height: 1.08 !important;
  font-weight: 900 !important;
  letter-spacing: -0.035em !important;
  margin: 0 0 22px !important;
}

.af-gradient-text {
  background: linear-gradient(135deg, #00E575 0%, #38BDF8 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.af-hero-subtitle {
  font-size: 18px;
  line-height: 1.6;
  color: #94A3B8;
  margin-bottom: 34px;
  max-width: 580px;
}

.af-hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 38px;
}

.af-btn-primary {
  background: linear-gradient(135deg, #00E575 0%, #00C865 100%) !important;
  color: #060A10 !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  padding: 14px 30px !important;
  border-radius: 999px !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  box-shadow: 0 6px 20px rgba(0, 229, 117, 0.35) !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.af-btn-primary:hover {
  transform: translateY(-3px) scale(1.03) !important;
  box-shadow: 0 10px 30px rgba(0, 229, 117, 0.55) !important;
  color: #000000 !important;
}

.af-btn-secondary {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  color: #FFFFFF !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  padding: 14px 26px !important;
  border-radius: 999px !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  backdrop-filter: blur(10px) !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.af-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
  transform: translateY(-2px) !important;
}

.af-trust-stats {
  display: flex;
  gap: 22px;
  font-size: 13px;
  color: #94A3B8;
  font-weight: 600;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 22px;
}

.af-trust-stats span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.af-trust-stats .icon {
  color: #00E575;
}

/* 3D Visual Centerpiece */
.af-hero-visual-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.af-hero-visual-glow {
  position: absolute;
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(0, 229, 117, 0.35) 0%, rgba(56, 189, 248, 0.15) 60%, transparent 80%);
  filter: blur(45px);
  z-index: 1;
  animation: afFloatAura 6s ease-in-out infinite alternate;
}

.af-hero-device-img {
  position: relative;
  z-index: 2;
  max-width: 95%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.75);
  animation: afFloatDevice 5s ease-in-out infinite alternate;
}

.af-spec-pill {
  position: absolute;
  z-index: 3;
  background: rgba(13, 20, 34, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(14px);
  padding: 8px 14px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: #FFFFFF;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.45);
}

.af-spec-pill-1 {
  top: 8%;
  right: -6%;
  border-color: rgba(0, 229, 117, 0.45);
  animation: afFloatSlow 4s ease-in-out infinite alternate;
}

.af-spec-pill-2 {
  bottom: 12%;
  left: -10%;
  border-color: rgba(56, 189, 248, 0.45);
  animation: afFloatSlow 4.5s ease-in-out infinite alternate-reverse;
}

.af-spec-pill-3 {
  bottom: -4%;
  right: 6%;
  border-color: rgba(168, 85, 247, 0.45);
  animation: afFloatSlow 5s ease-in-out infinite alternate;
}

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

@keyframes afFloatSlow {
  0% { transform: translateY(0); }
  100% { transform: translateY(-10px); }
}

@keyframes afFloatAura {
  0% { transform: scale(0.9); opacity: 0.6; }
  100% { transform: scale(1.15); opacity: 0.95; }
}

/* ========================================================
   SECTION HEADERS
   ======================================================== */
.af-section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 28px;
}

.af-section-tag {
  color: #00E575;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
}

.af-section-title {
  font-size: 32px !important;
  font-weight: 900 !important;
  color: #FFFFFF !important;
  margin: 0 !important;
}

.af-section-link {
  color: #00E575 !important;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: transform 0.2s;
}

.af-section-link:hover {
  transform: translateX(4px);
}

/* ========================================================
   SPOTLIGHT CARDS (4-GRID)
   ======================================================== */
.af-spotlight-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.af-spotlight-card {
  background: var(--af-card-bg);
  border: 1px solid var(--af-card-border);
  border-radius: var(--af-radius-lg);
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  position: relative;
  text-decoration: none !important;
}

.af-spotlight-card:hover {
  transform: translateY(-8px);
  border-color: var(--af-card-hover-border);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.55), 0 0 25px rgba(0, 229, 117, 0.18);
}

.af-card-media {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  overflow: hidden;
  background: #0C1322;
}

.af-card-media img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.af-spotlight-card:hover .af-card-media img {
  transform: scale(1.08);
}

.af-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(6, 10, 16, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  color: #00E575;
  letter-spacing: 0.05em;
  z-index: 2;
}

.af-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.af-card-title {
  font-size: 17px !important;
  font-weight: 800 !important;
  line-height: 1.35 !important;
  color: #FFFFFF !important;
  margin: 0 0 10px !important;
  transition: color 0.2s;
}

.af-spotlight-card:hover .af-card-title {
  color: #00E575 !important;
}

.af-card-excerpt {
  font-size: 13.5px;
  color: #94A3B8;
  line-height: 1.5;
  margin: 0 0 16px;
  flex-grow: 1;
}

.af-card-action {
  font-size: 13px;
  font-weight: 700;
  color: #00E575;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ========================================================
   DEVICE COMPARISONS GRID
   ======================================================== */
.af-compare-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.af-compare-card {
  background: var(--af-card-bg);
  border: 1px solid var(--af-card-border);
  border-radius: var(--af-radius-lg);
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  text-decoration: none !important;
}

.af-compare-card:hover {
  transform: translateY(-8px);
  border-color: rgba(56, 189, 248, 0.45);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.55), 0 0 25px rgba(56, 189, 248, 0.18);
}

.af-compare-visual {
  position: relative;
  width: 100%;
  padding-top: 55%;
  overflow: hidden;
  background: #0B1320;
}

.af-compare-visual img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.af-compare-card:hover .af-compare-visual img {
  transform: scale(1.06);
}

.af-vs-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #060A10;
  border: 2px solid #00E575;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 900;
  color: #00E575;
  box-shadow: 0 0 16px rgba(0, 229, 117, 0.5);
  z-index: 3;
}

/* ========================================================
   CATEGORY EXPLORER GRID
   ======================================================== */
.af-cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.af-category-card {
  position: relative;
  height: 140px;
  border-radius: var(--af-radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
  text-decoration: none !important;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.af-category-card:hover {
  transform: translateY(-5px);
  border-color: #00E575;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 229, 117, 0.2);
}

.af-category-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
}

.af-category-card:hover .af-category-bg {
  transform: scale(1.1);
}

.af-category-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 10, 16, 0.2) 0%, rgba(6, 10, 16, 0.92) 85%);
  z-index: 2;
  transition: background 0.3s;
}

.af-category-card:hover .af-category-overlay {
  background: linear-gradient(180deg, rgba(6, 10, 16, 0.1) 0%, rgba(6, 10, 16, 0.82) 75%);
}

.af-category-content {
  position: relative;
  z-index: 3;
}

.af-category-name {
  font-size: 18px !important;
  font-weight: 800 !important;
  color: #FFFFFF !important;
  margin: 0 0 4px !important;
}

.af-category-count {
  font-size: 11.5px;
  font-weight: 700;
  color: #00E575;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ========================================================
   BLOG POST GRID (EDITORIAL CARDS)
   ======================================================== */
.af-post-grid .box {
  background: var(--af-card-bg) !important;
  border: 1px solid var(--af-card-border) !important;
  border-radius: var(--af-radius-lg) !important;
  overflow: hidden !important;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3) !important;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.af-post-grid .box:hover {
  transform: translateY(-6px) !important;
  border-color: var(--af-card-hover-border) !important;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5), 0 0 25px rgba(0, 229, 117, 0.15) !important;
}

.af-post-grid .box-text {
  background: transparent !important;
  padding: 20px !important;
}

.af-post-grid .box-text h5 {
  color: #FFFFFF !important;
  font-size: 17px !important;
  font-weight: 800 !important;
  line-height: 1.4 !important;
  transition: color 0.2s;
}

.af-post-grid .box:hover .box-text h5 {
  color: #00E575 !important;
}

.af-post-grid .box-text p {
  color: #94A3B8 !important;
  font-size: 13.5px !important;
}

/* ========================================================
   VIP NEWSLETTER CAPTURE
   ======================================================== */
.af-newsletter-banner {
  background: linear-gradient(135deg, rgba(0, 229, 117, 0.1) 0%, rgba(56, 189, 248, 0.05) 50%, rgba(6, 10, 16, 0.96) 100%), #0A111E;
  border: 1px solid rgba(0, 229, 117, 0.35);
  border-radius: var(--af-radius-xl);
  padding: 50px 36px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 229, 117, 0.12);
}

/* Contextual Related Posts Global Suppress */
.crp_related {
  display: none !important;
}

/* ========================================================
   RESPONSIVE DESIGN RULES
   ======================================================== */
@media (max-width: 1024px) {
  .af-hero-grid { grid-template-columns: 1fr; text-align: center; }
  .af-hero-title { font-size: 42px !important; }
  .af-hero-subtitle { margin: 0 auto 28px; }
  .af-hero-cta-group { justify-content: center; }
  .af-trust-stats { justify-content: center; }
  .af-spotlight-grid { grid-template-columns: repeat(2, 1fr); }
  .af-compare-grid { grid-template-columns: repeat(2, 1fr); }
  .af-cat-grid { grid-template-columns: repeat(2, 1fr); }
  .af-hero-visual-card { margin-top: 30px; }
}

@media (max-width: 640px) {
  .af-hero-title { font-size: 32px !important; }
  .af-spotlight-grid { grid-template-columns: 1fr; }
  .af-compare-grid { grid-template-columns: 1fr; }
  .af-cat-grid { grid-template-columns: 1fr; }
  .af-spec-pill { display: none; }
}
