/* Web fonts (Poppins = base font everywhere; Space Grotesk / IBM Plex = homepage redesign block at the end of this file)
   are NOT @import-ed here any more. An @import inside a render-blocking stylesheet makes the browser fetch this file,
   discover the import, then open a connection to fonts.googleapis.com and download THAT before it may paint anything —
   on a slow or far-away connection that is seconds of blank screen. They are now loaded without blocking rendering by
   adflow_fullpage_css() in includes/shortcode.php (preconnect + async <link>, still display=swap). */

/* ── AdFlow v2.0 ─── Professional Dark Advertising Platform ── */
:root {
  --af-bg:        #0a0b10;
  --af-surface:   #12141c;
  --af-surface2:  #1a1d28;
  --af-surface3:  #222636;
  --af-border:    #2a2d3e;
  --af-border2:   #363a52;
  --af-primary:   #6c7fff;
  --af-primary2:  #8b5cf6;
  --af-accent:    #f59e0b;
  --af-green:     #10b981;
  --af-red:       #ef4444;
  --af-amber:     #f59e0b;
  --af-blue:      #3b82f6;
  --af-text:      #e2e4f0;
  --af-text2:     #9095b3;
  --af-text3:     #5d6280;
  --af-radius:    12px;
  --af-radius-sm: 8px;
  --af-radius-lg: 18px;
  --af-shadow:    0 4px 24px rgba(0,0,0,0.4);
  --af-shadow-lg: 0 8px 48px rgba(0,0,0,0.6);
  --af-glow:      0 0 40px rgba(108,127,255,0.15);
}

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

#adflow-app {
  font-family: 'Poppins', -apple-system, sans-serif;
  background: var(--af-bg);
  color: var(--af-text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── Boot screen ─────────────────────────────────────────────────────────── */
.af-boot-screen {
  position: fixed; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  background: var(--af-bg); gap: 24px;
}
.af-boot-logo { display: flex; align-items: center; gap: 12px; font-size: 24px; font-weight: 700; }
.af-boot-spinner {
  width: 36px; height: 36px;
  border: 3px solid var(--af-border);
  border-top-color: var(--af-primary);
  border-radius: 50%;
  animation: af-spin 0.8s linear infinite;
}

/* ── Logo mark ───────────────────────────────────────────────────────────── */
.af-logo-mark {
  width: 30px; height: 30px;
  background: linear-gradient(135deg, var(--af-primary), var(--af-primary2));
  border-radius: 8px;
  flex-shrink: 0;
  position: relative;
}
.af-logo-mark::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
  border-radius: inherit;
}
.af-logo-mark-lg { width: 48px; height: 48px; border-radius: 12px; }
.af-logo-mark-sm { width: 22px; height: 22px; border-radius: 6px; }

/* ── Nav ─────────────────────────────────────────────────────────────────── */
.af-nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10,11,16,0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--af-border);
  padding: 0 24px;
  height: 64px;
  flex-shrink: 0;
}
.af-nav-inner {
  max-width: none; margin: 0 auto;
  height: 100%;
  display: grid; grid-template-columns: 200px 1fr 220px;
  align-items: center; gap: 16px;
}
.af-logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 18px; color: var(--af-text);
  cursor: pointer; text-decoration: none;
  white-space: nowrap;
}
.af-logo-text { color: var(--af-text); }
.af-nav-center { display: flex; align-items: center; justify-content: center; gap: 4px; }
.af-nav-right  { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }

.af-nav-link {
  background: none; border: none; cursor: pointer;
  color: var(--af-text2); font-size: 14px; font-weight: 500;
  padding: 6px 14px; border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}
.af-nav-link:hover { color: var(--af-text); background: var(--af-surface2); }
.af-nav-link.active {
  color: var(--af-primary);
  background: rgba(108,127,255,0.1);
  box-shadow: inset 0 -2px 0 var(--af-primary);
}

/* Wallet pill */
.af-wallet-pill {
  display: flex; align-items: center; gap: 6px;
  background: var(--af-surface2); border: 1px solid var(--af-border);
  color: var(--af-text); padding: 6px 12px; border-radius: 8px;
  font-size: 13px; font-weight: 600; cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.af-wallet-pill:hover { border-color: var(--af-primary); background: var(--af-surface3); }
.af-wallet-pill svg { color: var(--af-primary); }

/* Avatar */
.af-avatar-wrap { position: relative; }
.af-avatar {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--af-primary), var(--af-primary2));
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px; cursor: pointer;
  flex-shrink: 0;
}
.af-avatar-dropdown {
  position: absolute; right: 0; top: calc(100% + 8px);
  background: var(--af-surface); border: 1px solid var(--af-border);
  border-radius: var(--af-radius); width: 220px;
  box-shadow: var(--af-shadow-lg);
  opacity: 0; pointer-events: none; transform: translateY(-8px);
  transition: opacity 0.2s, transform 0.2s;
}
.af-avatar-dropdown.open { opacity: 1; pointer-events: all; transform: translateY(0); }
.af-avatar-info { padding: 14px 16px; }
.af-avatar-info strong { display: block; font-size: 14px; color: var(--af-text); }
.af-avatar-info span { font-size: 12px; color: var(--af-text2); }
.af-avatar-sep { height: 1px; background: var(--af-border); margin: 4px 0; }
.af-avatar-item {
  display: flex; align-items: center; gap: 8px;
  width: 100%; padding: 10px 16px; background: none; border: none;
  color: var(--af-text2); font-size: 13px; cursor: pointer; text-align: left;
  transition: background 0.15s, color 0.15s;
}
.af-avatar-item:hover { background: var(--af-surface2); color: var(--af-text); }
.af-avatar-logout { color: var(--af-red) !important; }
.af-avatar-logout:hover { background: rgba(239,68,68,0.1) !important; }

/* ── App body / layout ───────────────────────────────────────────────────── */
.af-app-body { flex: 1; display: flex; flex-direction: column; min-height: 0; }

/* ── Page wrapper ────────────────────────────────────────────────────────── */
.af-page {
  max-width: none; margin: 0; padding: 40px 24px 80px;
  width: 100%;
}
.af-page-header {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 32px; gap: 20px; flex-wrap: wrap;
}
.af-page-header-right { display: flex; align-items: center; gap: 12px; }
.af-page-eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--af-primary); margin-bottom: 6px; }
.af-page-title { font-size: 28px; font-weight: 700; color: var(--af-text); }
.af-page-sub { color: var(--af-text2); margin-top: 6px; }

/* ── Wallet info bar ─────────────────────────────────────────────────────── */
.af-wallet-info-bar {
  display: flex; align-items: center; gap: 12px;
  background: var(--af-surface2); border: 1px solid var(--af-border);
  border-radius: var(--af-radius); padding: 10px 16px;
}
.af-wib-label { font-size: 12px; color: var(--af-text2); }
.af-wib-amount { font-size: 18px; font-weight: 700; color: var(--af-green); }

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.af-btn-primary-sm {
  background: linear-gradient(135deg, var(--af-primary), var(--af-primary2));
  color: #fff; border: none; border-radius: 8px;
  padding: 9px 18px; font-size: 14px; font-weight: 600; cursor: pointer;
  transition: opacity 0.2s, transform 0.15s; white-space: nowrap;
}
.af-btn-primary-sm:hover { opacity: 0.9; transform: translateY(-1px); }
.af-btn-primary-sm:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

.af-btn-ghost-sm {
  background: transparent; color: var(--af-text2);
  border: 1px solid var(--af-border); border-radius: 8px;
  padding: 8px 16px; font-size: 14px; font-weight: 500; cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}
.af-btn-ghost-sm:hover { color: var(--af-text); border-color: var(--af-border2); }

.af-btn-auth {
  width: 100%; background: linear-gradient(135deg, var(--af-primary), var(--af-primary2));
  color: #fff; border: none; border-radius: var(--af-radius-sm); padding: 13px;
  font-size: 15px; font-weight: 600; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: opacity 0.2s; margin-top: 8px;
}
.af-btn-auth:hover { opacity: 0.9; }
.af-btn-auth:disabled { opacity: 0.6; cursor: not-allowed; }

.af-btn-hero-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, var(--af-primary), var(--af-primary2));
  color: #fff; border: none; border-radius: 10px;
  padding: 14px 28px; font-size: 16px; font-weight: 600; cursor: pointer;
  transition: opacity 0.2s, transform 0.15s; box-shadow: 0 4px 20px rgba(108,127,255,0.4);
}
.af-btn-hero-primary:hover { opacity: 0.9; transform: translateY(-2px); }

.af-btn-hero-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--af-text);
  border: 1px solid var(--af-border2); border-radius: 10px;
  padding: 14px 28px; font-size: 16px; font-weight: 600; cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.af-btn-hero-ghost:hover { border-color: var(--af-primary); background: rgba(108,127,255,0.08); }

.af-full-btn { width: 100%; justify-content: center; }
.af-link-btn { background: none; border: none; color: var(--af-primary); cursor: pointer; font-size: inherit; padding: 0; text-decoration: underline; }

/* ── Home ────────────────────────────────────────────────────────────────── */
.af-home { display: flex; flex-direction: column; }
.af-home-bg {
  position: fixed; inset: 0; overflow: hidden; pointer-events: none; z-index: 0;
}
.af-orb {
  position: absolute; border-radius: 50%; filter: blur(80px);
  animation: af-float 8s ease-in-out infinite;
}
.af-orb1 { width: 600px; height: 600px; background: rgba(108,127,255,0.12); top: -200px; left: -200px; }
.af-orb2 { width: 400px; height: 400px; background: rgba(139,92,246,0.1); top: 30%; right: -100px; animation-delay: -3s; }
.af-orb3 { width: 300px; height: 300px; background: rgba(245,158,11,0.06); bottom: 10%; left: 30%; animation-delay: -5s; }
.af-grid-overlay {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(108,127,255,0.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(108,127,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}
@keyframes af-float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-30px)} }

.af-hero {
  position: relative; z-index: 1;
  max-width: 860px; margin: 0 auto;
  padding: 90px 32px 72px;
  text-align: left;
}
.af-hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--af-primary); margin-bottom: 20px;
}
.af-eyebrow-dot { width: 6px; height: 6px; background: var(--af-green); border-radius: 50%; }
.af-hero-title { font-size: clamp(36px,6vw,68px); font-weight: 800; line-height: 1.1; letter-spacing: -0.03em; color: var(--af-text); margin-bottom: 28px; }
.af-gradient-text { background: linear-gradient(135deg, var(--af-primary), var(--af-primary2), var(--af-accent)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.af-cycle-text { display: inline-block; transition: opacity 0.32s ease, transform 0.32s ease; }
.af-hero-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.af-hero-pill {
  font-size: 13px; font-weight: 500;
  color: var(--af-text2);
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: 24px;
  padding: 7px 16px;
  background: rgba(255,255,255,0.04);
  white-space: nowrap;
  letter-spacing: 0.01em;
}
.af-hero-actions { display: flex; gap: 12px; justify-content: flex-start; flex-wrap: wrap; margin-bottom: 40px; }
.af-hero-stats { display: flex; align-items: center; justify-content: flex-start; gap: 24px; flex-wrap: wrap; }
.af-hero-stat { text-align: left; }
.af-stat-num { display: block; font-size: 28px; font-weight: 800; color: var(--af-text); }
.af-stat-lbl { font-size: 12px; color: var(--af-text2); }
.af-hero-stat-sep { width: 1px; height: 40px; background: var(--af-border); }

/* Home sections */
.af-home-services, .af-home-how, .af-home-cta {
  position: relative; z-index: 1; padding: 80px 24px;
}
.af-home-services { background: var(--af-surface); border-top: 1px solid var(--af-border); border-bottom: 1px solid var(--af-border); }
.af-home-services-inner, .af-home-how-inner { max-width: 1100px; margin: 0 auto; }
.af-section-title { font-size: 32px; font-weight: 700; text-align: center; margin-bottom: 10px; }
.af-section-sub { color: var(--af-text2); text-align: center; margin-bottom: 48px; }

.af-services-preview-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(280px,1fr)); gap: 20px; }
.af-service-preview-card {
  background: var(--af-surface2); border: 1px solid var(--af-border); border-radius: var(--af-radius-lg);
  padding: 28px; display: flex; flex-direction: column; gap: 12px;
  transition: border-color 0.2s, transform 0.2s;
}
.af-service-preview-card:hover { border-color: var(--af-primary); transform: translateY(-4px); }
.af-spc-icon { font-size: 36px; }
.af-spc-name { font-size: 18px; font-weight: 700; }
.af-spc-desc { color: var(--af-text2); font-size: 14px; flex: 1; }
.af-spc-price { font-size: 13px; color: var(--af-primary); font-weight: 600; }
.af-spc-btn { background: none; border: 1px solid var(--af-primary); color: var(--af-primary); border-radius: 8px; padding: 8px 16px; cursor: pointer; font-size: 14px; font-weight: 500; transition: background 0.2s; }
.af-spc-btn:hover { background: rgba(108,127,255,0.1); }

/* How it works */
.af-how-steps { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; justify-content: center; }
.af-how-step { background: var(--af-surface2); border: 1px solid var(--af-border); border-radius: var(--af-radius-lg); padding: 28px 24px; text-align: center; max-width: 200px; }
.af-how-num { font-size: 12px; font-weight: 700; color: var(--af-primary); letter-spacing: 0.1em; margin-bottom: 12px; }
.af-how-icon { font-size: 32px; margin-bottom: 12px; }
.af-how-step h3 { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.af-how-step p { font-size: 13px; color: var(--af-text2); }
.af-how-arrow { font-size: 24px; color: var(--af-border2); flex-shrink: 0; }

/* CTA section */
.af-home-cta { text-align: center; background: linear-gradient(135deg, rgba(108,127,255,0.08), rgba(139,92,246,0.08)); border-top: 1px solid var(--af-border); }
.af-home-cta h2 { font-size: 36px; font-weight: 700; margin-bottom: 12px; }
.af-home-cta p { color: var(--af-text2); margin-bottom: 32px; font-size: 16px; }

/* ── Auth modal ──────────────────────────────────────────────────────────── */
.af-overlay {
  position: fixed; inset: 0; z-index: 9000;
  background: rgba(0,0,0,0.7); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px; overflow-y: auto;
}
.af-auth-modal {
  background: var(--af-surface); border: 1px solid var(--af-border);
  border-radius: var(--af-radius-lg); width: 100%; max-width: 440px;
  padding: 36px; position: relative;
  box-shadow: var(--af-shadow-lg);
  animation: af-modal-in 0.25s ease;
}
@keyframes af-modal-in { from{opacity:0;transform:translateY(20px) scale(0.97)} to{opacity:1;transform:none} }

.af-auth-logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; margin-bottom: 24px; justify-content: center; }
.af-auth-tabs { display: flex; background: var(--af-surface2); border-radius: var(--af-radius-sm); padding: 4px; margin-bottom: 24px; }
.af-auth-tab { flex: 1; background: none; border: none; padding: 8px; border-radius: 6px; font-size: 14px; font-weight: 500; color: var(--af-text2); cursor: pointer; transition: background 0.2s, color 0.2s; }
.af-auth-tab.active { background: var(--af-surface3); color: var(--af-text); }
.af-auth-switch { text-align: center; font-size: 13px; color: var(--af-text2); margin-top: 16px; }
.af-auth-terms { text-align: center; font-size: 12px; color: var(--af-text3); margin-top: 12px; }
.af-auth-terms a { color: var(--af-primary); }
.af-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.af-eye-btn { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); background: none; border: none; cursor: pointer; font-size: 16px; color: var(--af-text3); padding: 4px; }
.af-input-wrap { position: relative; }
.af-input-wrap .af-input { padding-right: 44px; }

/* ── Form elements ───────────────────────────────────────────────────────── */
.af-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.af-label { font-size: 13px; font-weight: 600; color: var(--af-text2); }
.af-req { color: var(--af-red); }
.af-optional { color: var(--af-text3); font-weight: 400; }
.af-input {
  width: 100%; background: var(--af-surface2); border: 1px solid var(--af-border);
  border-radius: var(--af-radius-sm); color: var(--af-text); font-size: 14px;
  padding: 11px 14px; transition: border-color 0.2s, box-shadow 0.2s; outline: none;
}
.af-input:focus { border-color: var(--af-primary); box-shadow: 0 0 0 3px rgba(108,127,255,0.15); }
.af-input::placeholder { color: var(--af-text3); }
.af-textarea { @extend .af-input; resize: vertical; min-height: 80px; font-family: 'Poppins', sans-serif; }
textarea.af-textarea { width: 100%; background: var(--af-surface2); border: 1px solid var(--af-border); border-radius: var(--af-radius-sm); color: var(--af-text); font-size: 14px; padding: 11px 14px; transition: border-color 0.2s; outline: none; resize: vertical; min-height: 80px; font-family: 'Poppins', sans-serif; }
textarea.af-textarea:focus { border-color: var(--af-primary); box-shadow: 0 0 0 3px rgba(108,127,255,0.15); }
.af-field-hint { font-size: 12px; color: var(--af-text3); }

/* Quick amounts */
.af-quick-amounts { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.af-quick-amt {
  background: var(--af-surface2); border: 1px solid var(--af-border);
  color: var(--af-text2); border-radius: 6px; padding: 5px 12px;
  font-size: 13px; cursor: pointer; transition: all 0.15s;
}
.af-quick-amt:hover { border-color: var(--af-primary); color: var(--af-primary); }

/* Alerts */
.af-alert { border-radius: var(--af-radius-sm); padding: 12px 16px; font-size: 13px; margin-bottom: 12px; }
.af-alert-error   { background: rgba(239,68,68,0.1);   border: 1px solid rgba(239,68,68,0.3);   color: #fca5a5; }
.af-alert-success { background: rgba(16,185,129,0.1);  border: 1px solid rgba(16,185,129,0.3);  color: #6ee7b7; }
.af-alert-info    { background: rgba(59,130,246,0.1);  border: 1px solid rgba(59,130,246,0.3);  color: #93c5fd; }
.af-alert-warning { background: rgba(245,158,11,0.1);  border: 1px solid rgba(245,158,11,0.3);  color: #fcd34d; }

/* Toast */
.af-toast {
  position: fixed; bottom: 28px; right: 28px; z-index: 99999;
  background: var(--af-surface); border: 1px solid var(--af-border);
  border-radius: var(--af-radius); padding: 14px 20px;
  font-size: 14px; font-weight: 500;
  box-shadow: 0 8px 32px rgba(0,0,0,0.55);
  animation: af-toast-in 0.3s cubic-bezier(0.34,1.56,0.64,1);
  display: flex; align-items: center; gap: 10px; max-width: 340px;
}
.af-toast-success { border-color: var(--af-green); color: #6ee7b7; background: rgba(16,185,129,0.07); }
.af-toast-error   { border-color: var(--af-red);   color: #fca5a5; background: rgba(239,68,68,0.07);   }
.af-toast-info    { border-color: var(--af-blue);  color: #93c5fd; background: rgba(59,130,246,0.07);  }
@keyframes af-toast-in { from{opacity:0;transform:translateY(16px) scale(0.95)} to{opacity:1;transform:translateY(0) scale(1)} }

/* ── Services grid ───────────────────────────────────────────────────────── */
.af-services-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(300px,1fr)); gap: 16px; }

/* Neon/Cyber service card */
.af-service-card {
  position: relative;
  background: #080c0c;
  border: 1px solid #0d2b22;
  border-radius: 4px;
  display: flex; flex-direction: column;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%);
}
.af-service-card::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 0; height: 0;
  border-style: solid;
  border-width: 0 16px 16px 0;
  border-color: transparent #0d2b22 transparent transparent;
  transition: border-color 0.2s;
  pointer-events: none;
}
.af-service-card:hover {
  border-color: #00ff88;
  box-shadow: 0 0 0 1px #00ff8833, 0 0 30px #00ff8820, inset 0 0 60px #00ff8808;
}
.af-service-card:hover::after { border-color: transparent #00ff88 transparent transparent; }

/* Scan-line overlay */
.af-service-card::before {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(0deg, transparent, transparent 3px, rgba(0,255,136,0.015) 3px, rgba(0,255,136,0.015) 4px);
  pointer-events: none; z-index: 0;
}

/* Top row */
.af-sc-top {
  position: relative; z-index: 1;
  display: flex; align-items: flex-start; justify-content: space-between;
  padding: 20px 20px 0;
}
.af-sc-icon-badge {
  width: 48px; height: 48px;
  background: #0a1a12;
  border: 1px solid #00ff8840;
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; flex-shrink: 0;
  box-shadow: 0 0 12px #00ff8820;
}
.af-sc-meta { text-align: right; }
.af-sc-ppc-label {
  font-size: 9px; font-weight: 700; letter-spacing: 0.15em;
  text-transform: uppercase; color: #00ff88; opacity: 0.6; margin-bottom: 2px;
}
.af-sc-ppc { font-size: 20px; font-weight: 800; color: #00ff88; letter-spacing: -0.02em; font-family: 'Courier New', monospace; }

/* Body */
.af-sc-body { position: relative; z-index: 1; padding: 14px 20px 8px; flex: 1; }
.af-sc-name {
  font-size: 16px; font-weight: 800; color: #e0ffe8;
  margin-bottom: 7px; letter-spacing: 0.04em; text-transform: uppercase;
}
.af-sc-desc { font-size: 12px; color: #4a7a5a; line-height: 1.6; }

/* Divider */
.af-sc-divider {
  position: relative; z-index: 1;
  margin: 0 20px;
  height: 1px;
  background: linear-gradient(90deg, #00ff8840, #00e5ff20, transparent);
}

/* Features */
.af-sc-features {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; gap: 5px;
  padding: 12px 20px 14px;
}
.af-sc-feat {
  display: flex; align-items: center; gap: 8px;
  font-size: 11px; color: #3a6a4a; font-weight: 600; letter-spacing: 0.04em;
}
.af-sc-feat-dot {
  width: 4px; height: 4px; border-radius: 50%;
  background: #00ff88; flex-shrink: 0;
  box-shadow: 0 0 6px #00ff88;
}

/* CTA */
.af-sc-cta {
  position: relative; z-index: 1;
  margin: 0 16px 16px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px;
  background: transparent;
  border: 1px solid #00ff8850;
  border-radius: 2px;
  color: #00ff88;
  font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s, color 0.2s;
  font-family: 'Courier New', monospace;
}
.af-sc-cta:hover, .af-service-card:hover .af-sc-cta {
  background: #00ff8815;
  border-color: #00ff88;
  box-shadow: 0 0 16px #00ff8830;
  color: #00ff88;
}
.af-sc-cta svg { transition: transform 0.2s; }
.af-service-card:hover .af-sc-cta svg { transform: translateX(4px); }

/* Accent bar at bottom — cyan for alternates */
.af-sc-accent-bar {
  height: 2px; flex-shrink: 0;
  background: linear-gradient(90deg, #00ff88, #00e5ff40);
  position: relative; z-index: 1;
}
.af-service-card:nth-child(2) .af-sc-accent-bar { background: linear-gradient(90deg, #00e5ff, #00ff8840); }
.af-service-card:nth-child(2) .af-sc-ppc { color: #00e5ff; }
.af-service-card:nth-child(2) .af-sc-ppc-label { color: #00e5ff; }
.af-service-card:nth-child(2) .af-sc-feat-dot { background: #00e5ff; box-shadow: 0 0 6px #00e5ff; }
.af-service-card:nth-child(2) .af-sc-icon-badge { border-color: #00e5ff40; box-shadow: 0 0 12px #00e5ff20; }
.af-service-card:nth-child(2) .af-sc-divider { background: linear-gradient(90deg, #00e5ff40, #00ff8820, transparent); }
.af-service-card:nth-child(2) .af-sc-cta { border-color: #00e5ff50; color: #00e5ff; }
.af-service-card:nth-child(2):hover { border-color: #00e5ff; box-shadow: 0 0 0 1px #00e5ff33, 0 0 30px #00e5ff20, inset 0 0 60px #00e5ff08; }
.af-service-card:nth-child(2):hover::after { border-color: transparent #00e5ff transparent transparent; }
.af-service-card:nth-child(2):hover .af-sc-cta { background: #00e5ff15; border-color: #00e5ff; box-shadow: 0 0 16px #00e5ff30; }
.af-service-card:nth-child(3) .af-sc-accent-bar { background: linear-gradient(90deg, #ff006e, #00ff8840); }
.af-service-card:nth-child(3) .af-sc-ppc { color: #ff006e; }
.af-service-card:nth-child(3) .af-sc-ppc-label { color: #ff006e; }
.af-service-card:nth-child(3) .af-sc-feat-dot { background: #ff006e; box-shadow: 0 0 6px #ff006e; }
.af-service-card:nth-child(3) .af-sc-icon-badge { border-color: #ff006e40; box-shadow: 0 0 12px #ff006e20; }
.af-service-card:nth-child(3) .af-sc-divider { background: linear-gradient(90deg, #ff006e40, #00ff8820, transparent); }
.af-service-card:nth-child(3) .af-sc-cta { border-color: #ff006e50; color: #ff006e; }
.af-service-card:nth-child(3):hover { border-color: #ff006e; box-shadow: 0 0 0 1px #ff006e33, 0 0 30px #ff006e20, inset 0 0 60px #ff006e08; }
.af-service-card:nth-child(3):hover::after { border-color: transparent #ff006e transparent transparent; }
.af-service-card:nth-child(3):hover .af-sc-cta { background: #ff006e15; border-color: #ff006e; box-shadow: 0 0 16px #ff006e30; }

/* ── KPI row ─────────────────────────────────────────────────────────────── */
.af-kpi-row { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 32px; }
.af-kpi {
  flex: 1; min-width: 140px;
  background: var(--af-surface); border: 1px solid var(--af-border); border-radius: var(--af-radius);
  padding: 20px; text-align: center;
  transition: border-color 0.2s;
}
.af-kpi:hover { border-color: var(--af-border2); }
.af-kpi-icon { font-size: 22px; margin-bottom: 8px; }
.af-kpi-val  { font-size: 28px; font-weight: 800; color: var(--af-text); margin-bottom: 4px; }
.af-kpi-lbl  { font-size: 12px; color: var(--af-text2); font-weight: 500; }
.af-kpi-green .af-kpi-val { color: var(--af-green); }
.af-kpi-amber .af-kpi-val { color: var(--af-amber); }

/* ── Campaigns panel ─────────────────────────────────────────────────────── */
.af-campaigns-panel { background: var(--af-surface); border: 1px solid var(--af-border); border-radius: var(--af-radius-lg); overflow: hidden; }
.af-campaigns-panel-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--af-border); gap: 16px; }
.af-campaigns-panel-head > span { font-weight: 600; font-size: 15px; display: flex; align-items: center; gap: 8px; }
.af-search-input { background: var(--af-surface2); border: 1px solid var(--af-border); border-radius: var(--af-radius-sm); color: var(--af-text); padding: 8px 14px; font-size: 13px; outline: none; width: 200px; transition: border-color 0.2s; }
.af-search-input:focus { border-color: var(--af-primary); }
.af-count-badge { background: var(--af-primary); color: #fff; font-size: 11px; font-weight: 700; border-radius: 20px; padding: 2px 8px; }

.af-campaign-table { overflow-x: auto; }
.af-campaign-table-head {
  display: grid;
  grid-template-columns: 60px 1fr 160px 80px 160px 90px 100px;
  padding: 10px 20px; font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--af-text3); border-bottom: 1px solid var(--af-border);
}
.af-campaign-row {
  display: grid;
  grid-template-columns: 60px 1fr 160px 80px 160px 90px 100px;
  padding: 16px 20px; align-items: center;
  border-bottom: 1px solid var(--af-border); cursor: pointer;
  transition: background 0.15s;
}
.af-campaign-row:last-child { border-bottom: none; }
.af-campaign-row:hover { background: var(--af-surface2); }

.af-td-id { font-size: 13px; color: var(--af-text3); font-weight: 600; }
.af-td-campaign { display: flex; align-items: center; gap: 12px; min-width: 0; }
.af-campaign-service-icon { font-size: 28px; flex-shrink: 0; }
.af-campaign-meta { min-width: 0; }
.af-campaign-title { font-weight: 600; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.af-campaign-url { font-size: 12px; color: var(--af-text3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 200px; }
.af-campaign-date { font-size: 11px; color: var(--af-text3); }
.af-type-badge { display: flex; align-items: center; gap: 6px; background: var(--af-surface2); border: 1px solid var(--af-border); border-radius: 6px; padding: 4px 10px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.af-td-clicks { font-size: 14px; font-weight: 600; }
.af-td-progress { display: flex; flex-direction: column; gap: 4px; }
.af-td-cost { font-size: 14px; font-weight: 600; }
.af-mobile-clicks-mini { display: none; }
.af-td-status {}

/* Progress bar */
.af-progress-track { height: 6px; background: var(--af-surface3); border-radius: 3px; overflow: hidden; }
.af-progress-fill { height: 100%; background: linear-gradient(90deg, var(--af-primary), var(--af-green)); border-radius: 3px; transition: width 0.5s ease; }
.af-progress-track.lg { height: 10px; }
.af-progress-label { font-size: 12px; color: var(--af-text2); }

/* Badges */
.af-badge { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.af-badge-success { background: rgba(16,185,129,0.15); color: #10b981; }
.af-badge-warning { background: rgba(245,158,11,0.15); color: #f59e0b; }
.af-badge-info    { background: rgba(59,130,246,0.15);  color: #3b82f6; }
.af-badge-danger  { background: rgba(239,68,68,0.15);   color: #ef4444; }
.af-badge-default { background: rgba(90,95,130,0.2);    color: var(--af-text2); }

/* ── Deposit page ────────────────────────────────────────────────────────── */
.af-wallet-balance-card {
  background: linear-gradient(135deg, rgba(108,127,255,0.12), rgba(139,92,246,0.08));
  border: 1px solid rgba(108,127,255,0.3); border-radius: var(--af-radius);
  padding: 20px 24px; text-align: right;
}
.af-wbc-label { font-size: 12px; color: var(--af-text2); margin-bottom: 4px; }
.af-wbc-amount { font-size: 32px; font-weight: 800; color: var(--af-green); }
.af-wbc-note { font-size: 11px; color: var(--af-text3); margin-top: 4px; }

.af-deposit-layout { display: grid; grid-template-columns: 1fr 380px; gap: 24px; align-items: start; }

.af-deposit-card, .af-deposit-how-card, .af-deposit-history-card, .af-deposit-form-panel {
  background: var(--af-surface); border: 1px solid var(--af-border); border-radius: var(--af-radius-lg);
  padding: 28px;
}
.af-deposit-card { margin-bottom: 20px; }
.af-deposit-how-card h3, .af-deposit-history-card h3, .af-deposit-card-title { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.af-deposit-card-sub { color: var(--af-text2); font-size: 14px; margin-bottom: 24px; }

.af-deposit-methods-grid { display: flex; flex-direction: column; gap: 10px; }
.af-deposit-method-card {
  display: flex; align-items: center; gap: 14px;
  background: var(--af-surface2); border: 1px solid var(--af-border); border-radius: var(--af-radius);
  padding: 14px 16px; cursor: pointer; transition: border-color 0.2s, background 0.2s;
}
.af-deposit-method-card:hover { border-color: var(--af-primary); background: rgba(108,127,255,0.05); }
.af-dmc-icon {
  width: 44px; height: 44px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 800; flex-shrink: 0;
}
.af-dmc-info { flex: 1; }
.af-dmc-name { font-weight: 600; font-size: 14px; }
.af-dmc-desc { font-size: 12px; color: var(--af-text2); }
.af-dmc-arrow { color: var(--af-text3); font-size: 20px; }

/* Deposit form panel */
.af-deposit-form-panel {
  margin-top: 16px; display: none;
  animation: af-modal-in 0.2s ease;
}
.af-deposit-form-panel.open { display: block; }
.af-dpanel-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.af-dpanel-title { font-weight: 700; font-size: 15px; }
.af-dpanel-sub { font-size: 12px; color: var(--af-text2); }
.af-dpanel-close { background: none; border: none; cursor: pointer; color: var(--af-text3); font-size: 22px; padding: 4px; }
.af-dpanel-close:hover { color: var(--af-text); }

.af-deposit-address-block { background: var(--af-surface2); border: 1px solid var(--af-border); border-radius: var(--af-radius-sm); padding: 14px; margin-bottom: 4px; }
.af-dab-label { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--af-text3); margin-bottom: 8px; }
.af-dab-addr { display: flex; align-items: center; gap: 10px; word-break: break-all; font-size: 13px; font-family: monospace; }
.af-dab-addr span { flex: 1; color: var(--af-text); }
.af-copy-btn {
  display: flex; align-items: center; gap: 4px;
  background: var(--af-surface3); border: 1px solid var(--af-border); border-radius: 6px;
  color: var(--af-text2); padding: 5px 10px; font-size: 12px; cursor: pointer; white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}
.af-copy-btn:hover { background: var(--af-primary); color: #fff; border-color: var(--af-primary); }
.af-deposit-submit-btn { margin-top: 4px; }

/* How list */
.af-how-list { padding-left: 20px; display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.af-how-list li { font-size: 13px; color: var(--af-text2); }
.af-how-list strong { color: var(--af-text); }

/* ── Deposit page — service-card style ──────────────────────────────────── */
.af-dep-section-label {
  font-size: 9px; font-weight: 700; letter-spacing: 0.14em; color: #00ff88; opacity: 0.55;
  text-transform: uppercase; font-family: 'Courier New', monospace;
  margin-bottom: 14px;
}

/* ── Compact tile grid ────────────────────────────────────────────────── */
.af-dep-tile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}
.af-dep-tile {
  display: flex; flex-direction: column; align-items: center; gap: 7px;
  padding: 14px 8px 11px; background: #0d1117;
  border: 1.5px solid rgba(255,255,255,0.06); border-radius: 10px;
  cursor: pointer; transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
  text-align: center; user-select: none;
}
.af-dep-tile:hover {
  border-color: rgba(255,255,255,0.18); background: #131820;
}
.af-dep-tile.af-dep-tile-active {
  border-color: var(--dep-neon, #6366f1);
  background: color-mix(in srgb, var(--dep-neon, #6366f1) 9%, #0d1117);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--dep-neon, #6366f1) 35%, transparent),
              0 4px 16px color-mix(in srgb, var(--dep-neon, #6366f1) 18%, transparent);
}
.af-dep-tile-icon { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.af-dep-tile-icon img { width: 38px; height: 38px; object-fit: contain; border-radius: 8px; display: block; }
.af-dep-tile-letter {
  width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center;
  justify-content: center; font-size: 17px; font-weight: 800; border: 1px solid;
}
.af-dep-tile-name {
  font-size: 11px; font-weight: 700; color: #b0b8c4; line-height: 1.3;
  width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.af-dep-tile.af-dep-tile-active .af-dep-tile-name { color: #fff; }
.af-dep-tile-min {
  font-size: 9.5px; font-weight: 600; color: #6b7280; line-height: 1;
  margin-top: -3px; letter-spacing: 0.2px;
}
.af-dep-tile.af-dep-tile-active .af-dep-tile-min { color: color-mix(in srgb, var(--dep-neon, #6366f1) 70%, #b0b8c4); }
.af-dep-badge-auto   { font-size: 9px; font-weight: 700; letter-spacing: 0.4px; padding: 2px 6px; border-radius: 3px; font-family: 'Courier New', monospace; background: rgba(22,163,74,0.15); color: #4ade80; border: 1px solid rgba(22,163,74,0.3); }
.af-dep-badge-manual { font-size: 9px; font-weight: 700; letter-spacing: 0.4px; padding: 2px 6px; border-radius: 3px; font-family: 'Courier New', monospace; background: rgba(255,255,255,0.05); color: #888; border: 1px solid rgba(255,255,255,0.1); }

/* ── Single active panel slot ─────────────────────────────────────────── */
#af-dep-panel-slot { display: none; }
#af-dep-panel-slot.visible { display: block; animation: af-modal-in 0.18s ease; }
#af-dep-panel-slot .af-deposit-form-panel { display: none; margin-top: 0; }
#af-dep-panel-slot .af-deposit-form-panel.af-panel-open { display: block; }

/* Deposit history */
.af-deposit-history-head { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.af-deposit-list { display: flex; flex-direction: column; gap: 2px; }
.af-deposit-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 0; border-bottom: 1px solid var(--af-border); gap: 12px;
}
.af-deposit-row:last-child { border-bottom: none; }
.af-deposit-row-left { display: flex; align-items: center; gap: 10px; }
.af-deposit-method-icon {
  width: 36px; height: 36px; background: var(--af-surface2); border: 1px solid var(--af-border);
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; flex-shrink: 0;
}
.af-deposit-method-name { font-size: 13px; font-weight: 600; }
.af-deposit-date { font-size: 11px; color: var(--af-text3); }
.af-deposit-row-right { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.af-deposit-amount { font-size: 14px; font-weight: 700; color: var(--af-text); }

/* ── Profile page ────────────────────────────────────────────────────────── */
.af-profile-layout { display: grid; grid-template-columns: 260px 1fr; gap: 24px; align-items: start; }
.af-profile-card {
  background: var(--af-surface); border: 1px solid var(--af-border); border-radius: var(--af-radius-lg);
  padding: 32px; text-align: center;
}
.af-profile-avatar {
  width: 80px; height: 80px; margin: 0 auto 16px;
  background: linear-gradient(135deg, var(--af-primary), var(--af-primary2));
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 32px; font-weight: 800;
}
.af-profile-name { font-size: 20px; font-weight: 700; margin-bottom: 4px; }
.af-profile-email { font-size: 13px; color: var(--af-text2); margin-bottom: 8px; }
.af-profile-since { font-size: 12px; color: var(--af-text3); padding-top: 8px; border-top: 1px solid var(--af-border); }

.af-profile-stats-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-bottom: 20px; }
.af-profile-stat {
  background: var(--af-surface); border: 1px solid var(--af-border); border-radius: var(--af-radius);
  padding: 20px; text-align: center;
}
.af-ps-icon { font-size: 24px; margin-bottom: 8px; }
.af-ps-val { font-size: 22px; font-weight: 800; color: var(--af-text); }
.af-ps-lbl { font-size: 12px; color: var(--af-text2); margin-top: 4px; }
.af-ps-green .af-ps-val { color: var(--af-green); }

.af-profile-actions-card { background: var(--af-surface); border: 1px solid var(--af-border); border-radius: var(--af-radius-lg); padding: 24px; }
.af-profile-actions-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 16px; }
.af-profile-quick { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; }
.af-profile-action-btn {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  background: var(--af-surface2); border: 1px solid var(--af-border); border-radius: var(--af-radius);
  padding: 20px; cursor: pointer; text-align: center;
  color: var(--af-text); font-size: 13px; font-weight: 500; text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}
.af-profile-action-btn:hover { border-color: var(--af-primary); background: rgba(108,127,255,0.05); }
.af-profile-action-btn span:first-child { font-size: 24px; }

/* ── Modal ───────────────────────────────────────────────────────────────── */
.af-modal {
  background: #060a0a; border: 1px solid #0d2b22; border-radius: 3px;
  width: 100%; max-width: 540px; position: relative;
  box-shadow: 0 0 60px rgba(0,255,136,0.08);
}
/* Entrance animation only — applied via JS just for the render where the
   modal first opens, so it doesn't replay (and "blink" the box-shadow)
   on every click inside the wizard. See state._wizardJustOpened. */
.af-modal.af-modal-animate-in { animation: af-modal-in 0.25s ease; }
.af-modal-lg { max-width: 680px; }
.af-modal-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; border-bottom: 1px solid #0d2b22;
}
.af-modal-head-left { display: flex; align-items: center; gap: 12px; }
.af-modal-service-icon { font-size: 24px; }
.af-modal-title { font-size: 13px; font-weight: 800; color: #00ff88; letter-spacing: 0.06em; text-transform: uppercase; font-family: 'Courier New', monospace; }
.af-modal-sub { font-size: 11px; color: #2d5a3d; font-family: 'Courier New', monospace; }
.af-modal-close {
  background: transparent; border: 1px solid #0d2b22; cursor: pointer; color: #2d5a3d;
  border-radius: 2px; padding: 4px 8px; transition: color 0.2s, border-color 0.2s; font-size: 16px;
}
.af-modal-close:hover { color: #00ff88; border-color: #00ff8840; }
.af-modal-stepper { display: flex; align-items: center; justify-content: center; padding: 14px 20px; border-bottom: 1px solid #0d2b22; gap: 0; }
.af-modal-body { padding: 20px; max-height: 70vh; overflow-y: auto; }

/* Steps — neon dots */
.af-step-dot { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.af-step-dot-circle {
  width: 26px; height: 26px; border-radius: 3px;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; border: 1px solid #0d2b22;
  color: #2d5a3d; background: transparent;
  transition: all 0.2s; font-family: 'Courier New', monospace;
}
.af-step-dot.active .af-step-dot-circle { border-color: #00ff88; color: #00ff88; background: rgba(0,255,136,0.08); box-shadow: 0 0 8px rgba(0,255,136,0.2); }
.af-step-dot.done .af-step-dot-circle { border-color: #00ff88; color: #050808; background: #00ff88; }
.af-step-dot > span { font-size: 9px; color: #2d5a3d; white-space: nowrap; font-family: 'Courier New', monospace; letter-spacing: 0.06em; text-transform: uppercase; }
.af-step-dot.active > span { color: #00ff88; }
.af-step-line { flex: 1; height: 1px; background: #0d2b22; min-width: 16px; }

/* Wizard steps */
.af-wstep-title { font-size: 16px; font-weight: 800; margin-bottom: 4px; color: #ffffff; letter-spacing: 0.02em; }
.af-wstep-sub { color: #7a9a8a; font-size: 13px; margin-bottom: 20px; }
.af-wstep-actions { display: flex; justify-content: space-between; margin-top: 20px; padding-top: 16px; border-top: 1px solid #0d2b22; }

/* Targeting cards */
.af-target-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }
.af-target-card {
  display: flex; align-items: center; gap: 12px;
  background: transparent; border: 1px solid #0d2b22; border-radius: 3px;
  padding: 12px; cursor: pointer; transition: all 0.2s;
}
.af-target-card:hover { border-color: #00ff8840; }
.af-target-card.selected { border-color: #00ff88; background: rgba(0,255,136,0.05); box-shadow: 0 0 12px rgba(0,255,136,0.08); }
.af-target-card-icon { font-size: 22px; flex-shrink: 0; }
.af-target-card-body { flex: 1; }
.af-target-card-body strong { display: block; font-size: 13px; color: #c0ffd8; }
.af-target-card-body span { font-size: 11px; color: #2d5a3d; }
.af-target-card-price { font-size: 11px; color: #00ff88; font-weight: 700; white-space: nowrap; font-family: 'Courier New', monospace; }

/* Country picker */
.af-country-picker { background: transparent; border: 1px solid #0d2b22; border-radius: 3px; padding: 12px; display: flex; flex-direction: column; gap: 10px; }
.af-selected-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.af-country-tag { background: rgba(0,255,136,0.08); border: 1px solid rgba(0,255,136,0.25); color: #00ff88; border-radius: 2px; padding: 3px 8px; font-size: 11px; display: flex; align-items: center; gap: 4px; font-family: 'Courier New', monospace; }
.af-country-tag button { background: none; border: none; cursor: pointer; color: #00ff88; font-size: 14px; padding: 0; line-height: 1; }
.af-country-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(148px,1fr)); gap: 4px; max-height: 260px; overflow-y: auto; }

/* Tier cards — neon transparent */
.af-tier-section { margin-bottom: 4px; }
.af-tier-label { font-size: 10px; font-weight: 700; color: #2d5a3d; margin-bottom: 10px; letter-spacing: 0.1em; text-transform: uppercase; font-family: 'Courier New', monospace; }
.af-tier-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.af-tier-card {
  background: #07090a; border: 1px solid #1a1f1e; border-radius: 3px;
  padding: 12px; cursor: pointer; transition: all 0.2s; position: relative; overflow: hidden;
}
.af-tier-card:hover { border-color: #2a3f35; background: #090d0c; }
.af-tier-card.selected { border-color: #00ff88; background: rgba(0,255,136,0.04); box-shadow: 0 0 18px rgba(0,255,136,0.12); }
.af-tier-popular-badge { position: absolute; top: 0; right: 0; background: #00ff88; color: #050808; font-size: 9px; font-weight: 800; padding: 3px 7px; border-radius: 0; font-family: 'Courier New', monospace; letter-spacing: 0.06em; text-transform: uppercase; }
.af-tier-card-top { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.af-tier-badge { font-size: 18px; }
.af-tier-info strong { display: block; font-size: 12px; color: #ffffff; font-family: 'Courier New', monospace; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.af-tier-tagline { font-size: 10px; color: #556a5e; font-weight: 500; }
.af-tier-check { margin-left: auto; width: 18px; height: 18px; background: #00ff88; border-radius: 2px; display: flex; align-items: center; justify-content: center; }
.af-tier-speed-bar { font-size: 12px; color: #00ff88; margin-bottom: 6px; letter-spacing: 1px; display: flex; align-items: center; gap: 6px; }
.af-tier-speed-label { font-size: 10px; color: #556a5e; font-weight: 500; letter-spacing: 0; }

/* Tier features list */
.af-tier-features { list-style: none; padding: 0; margin: 8px 0 0; }
.af-tier-features li { font-size: 11px; color: #b0c4b8; padding: 3px 0; display: flex; align-items: center; gap: 6px; }
.af-tier-features li::before { content: '▸'; color: #00ff8880; display: inline; font-size: 10px; }

/* Step 0 tier layout */
.af-wstep .af-tier-cards { display: flex; gap: 10px; }
.af-wstep .af-tier-card { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.af-wstep .af-tier-card .af-tier-note { margin-top: auto; }

/* Tier variants */
.af-tier-card.af-tier-basic { border-color: #1a2e22; border-left: 2px solid #00ff8830; }
.af-tier-card.af-tier-basic:hover { border-color: #00ff8850; border-left-color: #00ff8860; }
.af-tier-card.af-tier-basic.selected { border-color: #00ff88; border-left-color: #00ff88; background: rgba(0,255,136,0.04); box-shadow: 0 0 18px rgba(0,255,136,0.12); }

.af-tier-card.af-tier-standard { border-color: #1a2e22; border-left: 2px solid #00ff8855; }
.af-tier-card.af-tier-standard:hover { border-color: #00ff8860; border-left-color: #00ff8880; }
.af-tier-card.af-tier-standard.selected { border-color: #00ff88; border-left-color: #00ff88; background: rgba(0,255,136,0.04); box-shadow: 0 0 18px rgba(0,255,136,0.14); }

.af-tier-card.af-tier-premium { border-color: #2a1515; border-left: 2px solid #ff444430; }
.af-tier-card.af-tier-premium:hover { border-color: #ff444450; border-left-color: #ff444460; }
.af-tier-card.af-tier-premium.selected { border-color: #ff4444; border-left-color: #ff4444; background: rgba(255,68,68,0.04); box-shadow: 0 0 18px rgba(255,68,68,0.14); }
.af-tier-card.af-tier-premium .af-tier-popular-badge { background: #ff4444; color: #fff; }
.af-tier-card.af-tier-premium .af-tier-info strong { color: #ffaaaa; }
.af-tier-card.af-tier-premium .af-tier-speed-bar { color: #ff6666; }
.af-tier-card.af-tier-premium.selected .af-tier-check { background: #ff4444; }
.af-tier-card.af-tier-premium .af-tier-surcharge { background: #ff4444; }

@media(max-width:600px) { .af-wstep .af-tier-cards { flex-direction: column; } }

/* Gateway */
.af-gateway-method { position: relative; }
.af-gateway-badge { font-size: 10px; font-weight: 700; background: rgba(0,255,136,0.12); color: #00ff88; border: 1px solid rgba(0,255,136,0.3); padding: 2px 7px; border-radius: 2px; margin-left: auto; white-space: nowrap; font-family: 'Courier New', monospace; }
.af-gateway-panel { border-left: 2px solid #00ff88; box-shadow: inset 4px 0 16px rgba(0,255,136,0.04); }
.af-gateway-note { display: flex; align-items: flex-start; gap: 8px; background: rgba(0,255,136,0.04); border: 1px solid rgba(0,255,136,0.15); border-radius: 2px; padding: 12px 14px; font-size: 13px; color: #7aaa90; margin: 12px 0; }
.af-gateway-note svg { flex-shrink: 0; margin-top: 1px; color: #00ff88; }
.af-gateway-launch-btn { margin-top: 4px; opacity: 0.92; }
.af-gateway-launch-btn:hover { opacity: 1; }

/* ── NOWPayments searchable coin combobox ─────────────────────────────── */
.af-coinsel { position: relative; }
.af-coinsel-trigger {
  width: 100%; display: flex; align-items: center; gap: 10px;
  background: #0d1117; border: 1.5px solid rgba(255,255,255,0.1); border-radius: 8px;
  padding: 10px 12px; cursor: pointer; transition: border-color 0.15s;
  font-size: 14px; color: #e5e7eb; text-align: left;
}
.af-coinsel-trigger:hover { border-color: rgba(255,255,255,0.22); }
.af-coinsel.af-coinsel-open .af-coinsel-trigger { border-color: #00ff88; }
.af-coinsel-trigger-icon {
  width: 24px; height: 24px; border-radius: 6px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 800; background: rgba(0,255,136,0.1); color: #00ff88;
  overflow: hidden;
}
.af-coinsel-trigger-icon img { width: 100%; height: 100%; object-fit: contain; }
.af-coinsel-trigger-label { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.af-coinsel-panel {
  display: none; position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 30;
  background: #0d1117; border: 1.5px solid rgba(255,255,255,0.12); border-radius: 10px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.5); overflow: hidden;
}
.af-coinsel.af-coinsel-open .af-coinsel-panel { display: block; }
.af-coinsel-search-wrap {
  display: flex; align-items: center; gap: 8px; padding: 9px 12px;
  border-bottom: 1px solid rgba(255,255,255,0.08); color: #6b7280;
}
.af-coinsel-search {
  flex: 1; background: none; border: none; outline: none; color: #e5e7eb; font-size: 13px;
}
.af-coinsel-search::placeholder { color: #6b7280; }
.af-coinsel-list { max-height: 240px; overflow-y: auto; }
.af-coinsel-item {
  display: flex; align-items: center; gap: 10px; padding: 9px 12px; cursor: pointer;
  transition: background 0.1s;
}
.af-coinsel-item:hover { background: rgba(255,255,255,0.05); }
.af-coinsel-item-icon {
  width: 26px; height: 26px; border-radius: 6px; flex-shrink: 0; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.af-coinsel-item-icon img { width: 100%; height: 100%; object-fit: contain; border-radius: 6px; }
.af-coinsel-item-letter {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  background: rgba(99,102,241,0.15); color: #818cf8; font-size: 12px; font-weight: 800; border-radius: 6px;
}
.af-coinsel-item-name { flex: 1; font-size: 13px; color: #e5e7eb; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.af-coinsel-item-code { font-size: 10px; font-weight: 700; color: #6b7280; letter-spacing: 0.4px; flex-shrink: 0; }
.af-coinsel-loading, .af-coinsel-empty { padding: 16px 12px; text-align: center; font-size: 12px; color: #6b7280; }

/* Preset clicks */
.af-preset-clicks.active { border-color: #00ff88; color: #00ff88; background: rgba(0,255,136,0.08); box-shadow: 0 0 8px rgba(0,255,136,0.15); font-weight: 700; }
.af-tier-pricing { display: flex; align-items: center; gap: 6px; margin: 6px 0; }
.af-tier-ppc { font-size: 14px; font-weight: 700; color: #ffffff; font-family: 'Courier New', monospace; }
.af-tier-ppc-unit { font-size: 10px; font-weight: 400; color: #556a5e; }
.af-tier-surcharge { font-size: 10px; font-weight: 700; color: #ffffff; background: #cc2200; border-radius: 2px; padding: 2px 6px; font-family: 'Courier New', monospace; letter-spacing: 0.05em; }
.af-tier-surcharge-standard { background: #b86000; }
.af-tier-surcharge-premium  { background: #cc2200; }
.af-tier-base-tag { font-size: 10px; font-weight: 700; color: #00ff88; font-family: 'Courier New', monospace; letter-spacing: 0.04em; }
.af-tier-est-total { font-size: 12px; color: #00ff88; font-weight: 700; margin-top: 6px; font-family: 'Courier New', monospace; }

/* Clicks input */
.af-clicks-input-wrap { position: relative; }
.af-clicks-input { padding-right: 60px !important; }
.af-clicks-unit { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-size: 12px; color: #2d5a3d; }

/* Total estimate */
.af-total-estimate { background: transparent; border: 1px solid #0d2b22; border-radius: 3px; padding: 16px; }
.af-total-tier-info { font-size: 12px; color: #2d5a3d; margin-bottom: 10px; font-family: 'Courier New', monospace; }
.af-total-row { display: flex; justify-content: space-between; align-items: center; }
.af-total-label { font-size: 13px; font-weight: 600; color: #4a7a5a; }
.af-total-amount { font-size: 26px; font-weight: 800; color: #00ff88; font-family: 'Courier New', monospace; text-shadow: 0 0 16px rgba(0,255,136,0.3); }
.af-wallet-note { font-size: 12px; color: #00ff88; margin-top: 8px; font-family: 'Courier New', monospace; }

/* Review */
.af-review-card { background: transparent; border: 1px solid #0d2b22; border-radius: 3px; overflow: hidden; margin-bottom: 16px; }
.af-review-service-row { padding: 14px 16px; display: flex; align-items: center; gap: 12px; border-bottom: 1px solid #0d2b22; }
.af-review-service-icon { font-size: 24px; }
.af-review-service-name { font-size: 11px; color: #2d5a3d; text-transform: uppercase; letter-spacing: 0.06em; font-family: 'Courier New', monospace; }
.af-review-title { font-size: 14px; font-weight: 700; color: #c0ffd8; }
.af-review-rows { padding: 0 16px; }
.af-review-row { display: flex; justify-content: space-between; align-items: center; padding: 9px 0; border-bottom: 1px solid #0d2b22; font-size: 13px; gap: 16px; }
.af-review-row:last-child { border-bottom: none; }
.af-review-row > span:first-child { color: #2d5a3d; flex-shrink: 0; font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; font-family: 'Courier New', monospace; }
.af-review-link { color: #00ff88; text-decoration: none; font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 200px; }
.af-review-total-row { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; background: rgba(0,255,136,0.04); border-top: 1px solid rgba(0,255,136,0.15); font-weight: 600; }
.af-review-total-amount { font-size: 22px; font-weight: 800; color: #00ff88; font-family: 'Courier New', monospace; text-shadow: 0 0 12px rgba(0,255,136,0.3); }
.af-review-row--targeting { align-items: center; }
.af-geo-chip { display: inline-flex; align-items: center; gap: 6px; background: rgba(0,255,136,0.08); border: 1px solid rgba(0,255,136,0.25); color: #00ff88; border-radius: 2px; padding: 4px 10px; font-size: 12px; font-weight: 600; cursor: pointer; transition: background .15s; font-family: 'Courier New', monospace; }
.af-geo-chip:hover, .af-geo-chip--open { background: rgba(0,255,136,0.14); }
.af-geo-chip-arrow { font-size: 14px; font-weight: 400; transition: transform .2s; display: inline-block; line-height: 1; }
.af-geo-expand { padding: 10px 16px 14px; border-top: 1px solid #0d2b22; }
.af-geo-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.af-geo-tag { background: rgba(0,255,136,0.06); border: 1px solid rgba(0,255,136,0.2); color: #4a7a5a; border-radius: 2px; padding: 3px 8px; font-size: 11px; font-family: 'Courier New', monospace; }

/* Wallet pay */
.af-wallet-pay-option { background: transparent; border: 1px solid #0d2b22; border-radius: 3px; padding: 14px; margin-bottom: 8px; }
.af-checkbox-label { display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: 14px; }
.af-checkbox-label input[type="checkbox"] { width: 16px; height: 16px; accent-color: #00ff88; }

/* Detail modal */
.af-detail-status-row { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.af-detail-date { font-size: 12px; color: var(--af-text2); }
.af-detail-progress-block { background: transparent; border: 1px solid #0d2b22; border-radius: 3px; padding: 16px; margin-bottom: 16px; display: flex; flex-direction: column; gap: 10px; }
.af-detail-progress-numbers { display: flex; justify-content: space-between; font-size: 13px; }
.af-detail-progress-numbers.muted { color: var(--af-text2); }
.af-detail-info { display: flex; flex-direction: column; gap: 2px; margin-bottom: 16px; }
.af-detail-row { display: flex; justify-content: space-between; align-items: baseline; padding: 10px 0; border-bottom: 1px solid var(--af-border); font-size: 13px; gap: 16px; }
.af-detail-row:last-child { border-bottom: none; }
.af-detail-key { color: var(--af-text2); flex-shrink: 0; }
.af-detail-link { color: var(--af-primary); text-decoration: none; font-size: 12px; word-break: break-all; }

/* Success body */
.af-success-body { text-align: center; padding: 8px 0; }
.af-success-check { font-size: 56px; margin-bottom: 16px; }
.af-success-body h3 { font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.af-success-body p { color: var(--af-text2); margin-bottom: 16px; }
.af-success-amount { display: flex; justify-content: space-between; align-items: center; background: transparent; border: 1px solid rgba(0,255,136,0.2); border-radius: 2px; padding: 14px 16px; margin-bottom: 16px; font-size: 14px; }
.af-success-amount strong { font-size: 20px; color: #00ff88; font-family: 'Courier New', monospace; text-shadow: 0 0 12px rgba(0,255,136,0.3); }
.af-payment-box { background: rgba(255,204,0,0.04); border: 1px solid rgba(255,204,0,0.2); border-radius: 2px; padding: 16px; text-align: left; margin-bottom: 16px; }
.af-payment-box strong { display: block; margin-bottom: 6px; }
.af-payment-box p { font-size: 13px; color: var(--af-text2); }

/* Empty state */
.af-empty-state { text-align: center; padding: 60px 20px; color: var(--af-text2); }
.af-empty-icon { font-size: 48px; margin-bottom: 16px; }
.af-empty-state h3 { font-size: 18px; font-weight: 600; color: var(--af-text); margin-bottom: 8px; }
.af-empty-tall { padding: 100px 20px; }

/* Spinner */
.af-spinner-inline {
  width: 16px; height: 16px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff; border-radius: 50%;
  animation: af-spin 0.7s linear infinite;
  flex-shrink: 0;
}
@keyframes af-spin { to { transform: rotate(360deg); } }

/* ── Footer ─────────────────────────────────────────────────────────────────────────── */
.af-footer {
  background: #0c0e15;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 0;
  margin-top: 0;
}
.af-footer-top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 28px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  flex-wrap: wrap;
  gap: 12px;
}
.af-footer-bottom {
  display: flex; align-items: center; justify-content: center;
  padding: 14px 28px;
}
.af-footer-brand {
  display: flex; align-items: center; gap: 9px;
  font-weight: 700; font-size: 15px; color: var(--af-text);
  letter-spacing: -0.01em;
}
.af-footer-links { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.af-footer-link {
  color: var(--af-text3); text-decoration: none;
  font-size: 13px; transition: color 0.2s; font-weight: 500;
}
.af-footer-link:hover { color: var(--af-text); }
.af-footer-copy { font-size: 12px; color: var(--af-text3); opacity: 0.8; }

/* ── Page transition loader ──────────────────────────────────────────────── */
.af-page-loader {
  display: flex; align-items: center; justify-content: center;
  min-height: 60vh; flex: 1;
}
.af-page-loader-inner {
  display: flex; flex-direction: column; align-items: center; gap: 16px;
}
.af-page-loader-spinner {
  width: 44px; height: 44px;
  border: 3px solid var(--af-border);
  border-top-color: var(--af-primary);
  border-radius: 50%;
  animation: af-spin 0.75s linear infinite;
}
.af-page-loader-text {
  font-size: 14px; color: var(--af-text2); font-weight: 500;
  letter-spacing: 0.04em;
}

/* ── App body fade-in on new view ───────────────────────────────────────── */
.af-app-body {
  animation: af-fadein 0.18s ease;
}
@keyframes af-fadein { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

/* ── Country item: no shadow/flash on select ─────────────────────────────── */
.af-country-item {
  padding: 6px 8px; border-radius: 6px; font-size: 12px; cursor: pointer;
  transition: background 0.12s, color 0.12s;
  /* Prevent any compositing flash from box-shadow or opacity */
  will-change: background;
  -webkit-tap-highlight-color: transparent;
  display: flex; align-items: center; justify-content: space-between; gap: 4px;
}
.af-country-item:hover { background: var(--af-surface3); }
.af-country-item.selected { background: rgba(108,127,255,0.18); color: var(--af-primary); font-weight: 600; }
/* Ensure no shadow blink on any interactive country element */
.af-country-item:focus { outline: none; }
.af-country-item:active { opacity: 1; }

/* Tier badge inside country item */
.af-country-tier-badge { font-size: 9px; font-weight: 700; border-radius: 3px; padding: 1px 4px; flex-shrink: 0; opacity: 0.7; }
.af-country-tier-badge.t1 { background: rgba(255,193,7,0.2); color: #b8860b; }
.af-country-tier-badge.t2 { background: rgba(108,127,255,0.15); color: var(--af-primary); }
.af-country-tier-badge.t3 { background: rgba(150,150,150,0.15); color: var(--af-muted); }

/* Tier quick-select buttons */
.af-tier-quick-btns { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; padding-bottom: 4px; border-bottom: 1px solid var(--af-border); margin-bottom: 2px; }
.af-tier-quick-label { font-size: 11px; color: var(--af-muted); font-weight: 500; white-space: nowrap; }
.af-tier-quick-btn { border: 1px solid var(--af-border); background: var(--af-surface3); border-radius: 6px; padding: 4px 10px; font-size: 11px; font-weight: 600; cursor: pointer; transition: all 0.15s; white-space: nowrap; color: var(--af-text); }
.af-tier-quick-btn:hover { border-color: var(--af-primary); color: var(--af-primary); background: rgba(108,127,255,0.08); }
.af-tier-quick-t1:hover { border-color: #b8860b; color: #b8860b; background: rgba(255,193,7,0.1); }
.af-tier-quick-t2:hover { border-color: var(--af-primary); }
.af-tier-quick-t3:hover { border-color: #888; color: #888; background: rgba(150,150,150,0.1); }
.af-tier-quick-clear:hover { border-color: #e55; color: #e55; background: rgba(220,50,50,0.08); }


/* ── Password strength meter ─────────────────────────────────────────────── */
.af-pw-strength { display: flex; align-items: center; gap: 10px; margin-top: 6px; }
.af-pw-strength-bar {
  flex: 1; height: 4px; background: var(--af-border); border-radius: 2px; overflow: hidden;
}
.af-pw-strength-fill {
  height: 100%; border-radius: 2px;
  transition: width 0.3s ease, background 0.3s ease;
}
.af-pw-strength-label { font-size: 11px; font-weight: 600; min-width: 70px; text-align: right; }

/* ── Input eye button ────────────────────────────────────────────────────── */
.af-eye-btn {
  background: none; border: none; cursor: pointer;
  color: var(--af-text3); padding: 0 12px; font-size: 16px;
  line-height: 1; transition: color 0.2s;
}
.af-eye-btn:hover { color: var(--af-text2); }

/* ── How It Works — grid (replaces old flex+arrow layout) ─────────────────── */
.af-how-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.af-how-steps-grid .af-how-step {
  background: var(--af-surface2);
  border: 1px solid var(--af-border);
  border-radius: var(--af-radius-lg);
  padding: 22px 16px;
  text-align: center;
  transition: border-color 0.2s, transform 0.2s;
  max-width: none;
}
.af-how-steps-grid .af-how-num { font-size: 11px; margin-bottom: 8px; }
.af-how-steps-grid .af-how-icon { font-size: 26px; margin-bottom: 8px; }
.af-how-steps-grid .af-how-step h3 { font-size: 14px; margin-bottom: 6px; }
.af-how-steps-grid .af-how-step p  { font-size: 12px; line-height: 1.55; }
.af-how-steps-grid .af-how-step:hover {
  border-color: var(--af-primary);
  transform: translateY(-3px);
}

/* ── Testimonials ─────────────────────────────────────────────────────────── */
.af-home-testimonials {
  padding: 80px 24px;
  background: var(--af-surface);
}
.af-home-testimonials-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.af-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.af-testimonial-card {
  background: var(--af-surface2);
  border: 1px solid var(--af-border);
  border-radius: var(--af-radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color 0.2s;
}
.af-testimonial-card:hover { border-color: var(--af-border2); }
.af-testimonial-stars { color: #f59e0b; font-size: 16px; letter-spacing: 2px; }
.af-testimonial-text {
  font-size: 14px;
  color: var(--af-text2);
  line-height: 1.65;
  flex: 1;
  font-style: italic;
}
.af-testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
}
.af-testimonial-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 16px; color: #fff;
  flex-shrink: 0;
}
.af-testimonial-name { font-size: 14px; font-weight: 700; color: var(--af-text); }
.af-testimonial-loc  { font-size: 12px; color: var(--af-text3); margin-top: 2px; }

/* ── FAQ ──────────────────────────────────────────────────────────────────── */
.af-home-faq { padding: 80px 24px; }
.af-home-faq-inner { max-width: 780px; margin: 0 auto; }
.af-faq-list { margin-top: 40px; display: flex; flex-direction: column; gap: 0; }
.af-faq-item {
  border-bottom: 1px solid var(--af-border);
  cursor: pointer;
  transition: background 0.15s;
}
.af-faq-item:first-child { border-top: 1px solid var(--af-border); }
.af-faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 4px;
  font-size: 15px;
  font-weight: 600;
  color: var(--af-text);
  user-select: none;
  gap: 16px;
}
.af-faq-chevron {
  font-size: 22px;
  color: var(--af-text3);
  transition: transform 0.25s, color 0.2s;
  flex-shrink: 0;
  line-height: 1;
}
.af-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.25s;
}
.af-faq-a p {
  font-size: 14px;
  color: var(--af-text2);
  line-height: 1.65;
  padding: 0 4px 20px;
  margin: 0;
}
.af-faq-item.af-faq-open .af-faq-a  { max-height: 200px; }
.af-faq-item.af-faq-open .af-faq-chevron { transform: rotate(90deg); color: var(--af-primary); }
.af-faq-item.af-faq-open .af-faq-q  { color: var(--af-primary); }

/* ── CTA badges ───────────────────────────────────────────────────────────── */
.af-cta-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 20px;
}
.af-cta-badge {
  font-size: 13px;
  color: var(--af-text3);
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--af-border);
  border-radius: 20px;
  padding: 6px 14px;
}


/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .af-deposit-layout { grid-template-columns: 1fr; }
  .af-profile-layout { grid-template-columns: 1fr; }
  .af-profile-stats-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 900px) {
  .af-campaign-table-head,
  .af-campaign-row {
    grid-template-columns: 50px 1fr 100px 90px 100px;
  }
  .af-th-clicks, .af-td-clicks { display: none; }
  .af-tier-cards { grid-template-columns: 1fr; gap: 8px; }
  .af-nav-inner { grid-template-columns: auto 1fr auto; }
  .af-nav-center { justify-content: flex-start; }
  /* Home page grids — tablet */
  .af-how-steps-grid { grid-template-columns: 1fr 1fr; }
  .af-testimonials-grid { grid-template-columns: 1fr 1fr; }
  .af-section-title { font-size: 26px; }
  /* How-it-works — even more compact at tablet 2-col */
  .af-how-steps-grid .af-how-step { padding: 18px 14px; }
  .af-how-steps-grid .af-how-step h3 { font-size: 13px; }
  .af-how-steps-grid .af-how-step p  { font-size: 12px; }
  .af-how-steps-grid .af-how-icon { font-size: 22px; margin-bottom: 6px; }
  /* "Why Choose Us" feature cards — compact at tablet 2-col */
  .af-feature-card { padding: 18px 14px; }
  .af-feature-icon { font-size: 22px; margin-bottom: 6px; }
  .af-feature-card h3 { font-size: 13px; margin: 0 0 6px; }
  .af-feature-card p  { font-size: 12px; line-height: 1.5; }
}
@media (max-width: 700px) {
  .af-hero { padding: 70px 20px 60px; }
  .af-nav-inner { grid-template-columns: 1fr auto; }
  .af-nav-center { display: none; }
  .af-campaign-table-head,
  .af-campaign-row { grid-template-columns: 1fr 100px 90px; }
  .af-th-id, .af-td-id, .af-th-type, .af-td-type, .af-th-progress, .af-td-progress { display: none; }
  .af-mobile-clicks-mini { display: block; }
  .af-target-cards { grid-template-columns: 1fr; }
  .af-field-row { grid-template-columns: 1fr; }
  .af-profile-quick { grid-template-columns: 1fr; }
  .af-profile-stats-grid { grid-template-columns: 1fr 1fr; }
  .af-how-steps { flex-direction: column; align-items: stretch; }
  .af-how-arrow { transform: rotate(90deg); align-self: center; }
  .af-how-steps-grid { grid-template-columns: 1fr 1fr; }
  .af-testimonials-grid { grid-template-columns: 1fr; }
  .af-cta-badges { flex-direction: column; align-items: center; }
  .af-faq-list { margin-top: 28px; }
  .af-hero-stats { gap: 14px; }
}
@media (max-width: 480px) {
  .af-page { padding: 24px 16px 60px; }
  .af-auth-modal { padding: 24px 20px; }
  .af-hero-title { font-size: 32px; }
}



/* ═══════════════════════════════════════════════════════════════════════════
   ADFLOW v3.3 — Full Sidebar Shell Layout + Services Sheet + FAB
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Shell: sidebar + main ──────────────────────────────────────────────── */
.af-shell {
  display: flex;
  min-height: 100vh;
  background: var(--af-bg);
}

/* ── Sidebar ────────────────────────────────────────────────────────────── */
.af-sidebar {
  width: 220px;
  background: var(--af-surface);
  border-right: 1px solid var(--af-border);
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  position: relative;
  top: 0; left: 0; bottom: 0;
  z-index: 100;
  transition: transform 0.25s ease;
  overflow: hidden;
  height: 100vh;
}
.af-sb-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 20px 18px 24px;
  cursor: pointer;
  flex-shrink: 0;
  border-bottom: 1px solid var(--af-border);
  margin-bottom: 8px;
}
.af-sb-logo-text {
  font-size: 16px;
  font-weight: 700;
  color: var(--af-text);
  white-space: nowrap;
}
.af-sb-nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 4px 0;
  overflow-y: auto;
}
.af-sb-bottom {
  padding: 8px 0 16px;
  border-top: 1px solid var(--af-border);
}
.af-si {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 18px;
  cursor: pointer;
  color: var(--af-text3);
  border-left: 2.5px solid transparent;
  transition: all 0.15s;
  min-height: 42px;
}
.af-si:hover { color: var(--af-text); background: rgba(255,255,255,0.04); }
.af-si-on {
  color: var(--af-primary);
  border-left-color: var(--af-primary);
  background: rgba(108,127,255,0.09);
}
.af-si-ico {
  width: 20px; height: 20px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.af-si-lbl { font-size: 13px; font-weight: 500; white-space: nowrap; }

/* ── Main content area ──────────────────────────────────────────────────── */
.af-main {
  flex: 1;
  margin-left: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-width: 0;
}

/* ── Topbar ─────────────────────────────────────────────────────────────── */
.af-topbar {
  height: 56px;
  background: var(--af-surface);
  border-bottom: 1px solid var(--af-border);
  display: flex;
  align-items: center;
  padding: 0 24px;
  gap: 12px;
  position: sticky;
  top: 0;
  z-index: 50;
  flex-shrink: 0;
}
.af-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--af-text2);
  cursor: pointer;
  padding: 4px;
  border-radius: 6px;
  flex-shrink: 0;
}
.af-menu-btn:hover { color: var(--af-text); background: var(--af-surface2); }
.af-topbar-title {
  flex: 1;
  font-size: 15px;
  font-weight: 600;
  color: var(--af-text);
}
.af-topbar-right { display: flex; align-items: center; gap: 10px; }

/* ── Body scroll area ───────────────────────────────────────────────────── */
.af-body {
  flex: 1;
  overflow-y: auto;
  padding-bottom: 80px; /* space for FAB */
}

/* ── FAB ────────────────────────────────────────────────────────────────── */
.af-fab-wrap {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 200;
}
.af-fab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: #00ff88;
  border: 1px solid rgba(0,255,136,0.5);
  border-radius: 3px;
  padding: 12px 20px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 0 16px rgba(0,255,136,0.15);
  transition: background 0.2s, box-shadow 0.2s;
  font-family: 'Courier New', monospace;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.af-fab-btn:hover { background: rgba(0,255,136,0.08); box-shadow: 0 0 24px rgba(0,255,136,0.25); }
.af-fab-btn:active { transform: translateY(0); }
.af-fab-ico {
  width: 20px; height: 20px;
  background: rgba(0,255,136,0.15);
  border-radius: 2px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 800; line-height: 1; flex-shrink: 0;
}

/* ── Services bottom sheet ──────────────────────────────────────────────── */
.af-sheet-overlay {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(0,0,0,0.7);
  display: flex;
  align-items: flex-end;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}
.af-sheet-overlay.af-sheet-show {
  opacity: 1;
  pointer-events: all;
}
.af-sheet {
  width: 100%;
  max-height: 90vh;
  background: #060a0a;
  border-radius: 0;
  border-top: 1px solid #00ff8830;
  box-shadow: 0 -4px 40px #00ff8815;
  display: flex;
  flex-direction: column;
  transform: translateY(30px);
  transition: transform 0.28s ease;
}
.af-sheet-overlay.af-sheet-show .af-sheet { transform: translateY(0); }
.af-sheet-handle {
  width: 40px; height: 3px;
  background: #00ff8840;
  border-radius: 2px;
  margin: 12px auto 0;
  flex-shrink: 0;
}
.af-sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid #0d2b22;
  flex-shrink: 0;
}
.af-sheet-title { font-size: 13px; font-weight: 800; color: #00ff88; letter-spacing: 0.12em; text-transform: uppercase; font-family: 'Courier New', monospace; }
.af-sheet-close {
  width: 28px; height: 28px;
  background: #0a1a12;
  border: 1px solid #00ff8830;
  border-radius: 3px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; line-height: 1;
  cursor: pointer;
  color: #00ff88;
}
.af-sheet-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 16px 32px;
}
.af-sheet-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
}

/* Neon modal service card (v2) */
.af-svc-card-v2 {
  position: relative;
  background: #080c0c;
  border: 1px solid #0d2b22;
  border-radius: 3px;
  display: flex; flex-direction: column;
  overflow: hidden;
  cursor: pointer;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.af-svc-card-v2::after {
  content: '';
  position: absolute; top: 0; right: 0;
  width: 0; height: 0;
  border-style: solid; border-width: 0 14px 14px 0;
  border-color: transparent #0d2b22 transparent transparent;
  transition: border-color 0.2s; pointer-events: none; z-index: 2;
}
.af-svc-card-v2::before {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(0deg,transparent,transparent 3px,rgba(0,255,136,.01) 3px,rgba(0,255,136,.01) 4px);
  pointer-events: none; z-index: 0;
}
.af-svc-card-v2:hover { border-color: var(--svc-neon, #00ff88); box-shadow: 0 0 0 1px color-mix(in srgb, var(--svc-neon, #00ff88) 20%, transparent), 0 0 24px color-mix(in srgb, var(--svc-neon, #00ff88) 15%, transparent); }
.af-svc-card-v2:hover::after { border-color: transparent var(--svc-neon, #00ff88) transparent transparent; }

.af-svc-stripe { height: 2px; flex-shrink: 0; position: relative; z-index: 1; }
.af-svc-v2-body { padding: 16px 16px 12px; flex: 1; display: flex; flex-direction: column; position: relative; z-index: 1; }
.af-svc-v2-top-row { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 12px; }
.af-svc-v2-icon { width: 44px; height: 44px; border-radius: 3px; display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; border: 1px solid; }
.af-svc-v2-badges { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.af-svc-badge-pill { font-size: 9px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 3px 8px; border-radius: 2px; border: 1px solid; font-family: 'Courier New', monospace; }
.af-svc-badge-pop { background: #00ff8815; color: #00ff88; border-color: #00ff8840; }
.af-svc-badge-new { background: #00e5ff15; color: #00e5ff; border-color: #00e5ff40; }
.af-svc-v2-name { font-size: 14px; font-weight: 800; margin-bottom: 6px; color: #c0ffd8; letter-spacing: 0.05em; text-transform: uppercase; }
.af-svc-v2-desc { font-size: 11px; color: #2d5a3d; line-height: 1.6; margin-bottom: 12px; }
.af-svc-v2-features { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 14px; }
.af-svc-v2-feat { font-size: 10px; font-weight: 600; color: #3a6a4a; background: #0a1a12; border: 1px solid #0d2b22; border-radius: 2px; padding: 3px 8px; letter-spacing: 0.03em; }
.af-svc-tier-label { font-size: 8px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #00ff88; opacity: 0.5; margin-bottom: 8px; font-family: 'Courier New', monospace; }
.af-svc-tier-row { display: flex; gap: 6px; }
.af-svc-tier { flex: 1; border-radius: 2px; padding: 8px 6px; text-align: center; cursor: pointer; transition: all 0.15s; user-select: none; background: #0a1212; border: 1px solid #0d2b22 !important; }
.af-svc-tier-sel { background: #0a1a12 !important; }
.af-svc-tier-ico { font-size: 13px; display: block; margin-bottom: 4px; }
.af-svc-tier-lbl { font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; font-family: 'Courier New', monospace; color: #2d5a3d !important; }
.af-svc-tier-sel .af-svc-tier-lbl { color: inherit !important; }
.af-svc-v2-footer { position: relative; z-index: 1; padding: 12px 16px 14px; border-top: 1px solid #0d2b22; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: auto; }
.af-svc-v2-ppc { font-size: 20px; font-weight: 900; line-height: 1; font-family: 'Courier New', monospace; }
.af-svc-v2-ppc-lbl { font-size: 10px; color: #2d5a3d; margin-left: 2px; }
.af-svc-v2-range { font-size: 10px; color: #2d5a3d; margin-top: 3px; }
.af-svc-v2-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: transparent !important;
  border: 1px solid; border-radius: 2px;
  padding: 9px 16px; font-size: 11px; font-weight: 700;
  cursor: pointer; transition: background 0.2s, box-shadow 0.2s;
  white-space: nowrap; flex-shrink: 0; font-family: 'Courier New', monospace;
  letter-spacing: 0.1em; text-transform: uppercase;
}
.af-svc-v2-btn:hover { opacity: 1 !important; transform: none !important; background: color-mix(in srgb, currentColor 12%, transparent) !important; box-shadow: 0 0 14px color-mix(in srgb, currentColor 25%, transparent); }

/* ── Dashboard KPI row v2 ───────────────────────────────────────────────── */
.af-kpi-row-v2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 28px;
}
@media (min-width: 700px) { .af-kpi-row-v2 { grid-template-columns: repeat(4, 1fr); } }
.af-kpi-v2 {
  background: var(--af-surface);
  border: 1px solid var(--af-border);
  border-radius: var(--af-radius-lg);
  padding: 18px 20px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.15s;
}
.af-kpi-v2::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  border-radius: var(--af-radius-lg) var(--af-radius-lg) 0 0;
}
.af-kpi-v2:hover { transform: translateY(-2px); }
.af-kpi-accent::before { background: var(--af-primary); }
.af-kpi-accent .af-kpi-v2-value { color: var(--af-primary); }
.af-kpi-green::before  { background: var(--af-green); }
.af-kpi-green  .af-kpi-v2-value { color: var(--af-green); }
.af-kpi-amber::before  { background: var(--af-amber); }
.af-kpi-amber  .af-kpi-v2-value { color: var(--af-amber); }
.af-kpi-pink::before   { background: #f472b6; }
.af-kpi-pink   .af-kpi-v2-value { color: #f472b6; }
.af-kpi-v2-label { font-size: 10px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--af-text3); margin-bottom: 10px; }
.af-kpi-v2-value { font-size: 26px; font-weight: 800; line-height: 1; margin-bottom: 6px; }
.af-kpi-v2-sub { font-size: 11px; color: var(--af-text3); }

/* ── Mobile responsive ──────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .af-sidebar {
    transform: translateX(-100%);
  }
  .af-sidebar.af-sb-open {
    transform: translateX(0);
    box-shadow: 4px 0 24px rgba(0,0,0,0.5);
  }
  .af-main { margin-left: 0; }
  .af-menu-btn { display: flex; }
  .af-fab-btn .af-fab-ico { margin: 0; }
  .af-fab-wrap { bottom: 20px; right: 16px; }
  .af-sheet-cards { grid-template-columns: 1fr; }
  .af-topbar { padding: 0 16px; }
}
@media (min-width: 769px) {
  .af-sheet-cards { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
}

/* ── Dashboard KPI grid ─────────────────────────────────────────────────── */
.af-dash-kpi-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}
@media (min-width: 700px) { .af-dash-kpi-grid { grid-template-columns: repeat(4, 1fr); } }

.af-dash-kpi {
  background: transparent;
  border: 1px solid var(--af-border);
  border-radius: 3px;
  padding: 16px 18px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%);
}
.af-dash-kpi::after {
  content: '';
  position: absolute; top: 0; right: 0;
  width: 0; height: 0;
  border-style: solid; border-width: 0 10px 10px 0;
  border-color: transparent var(--af-border) transparent transparent;
  pointer-events: none;
}
.af-dash-kpi::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
}
.af-dash-kpi:hover { border-color: var(--af-primary); box-shadow: 0 0 16px rgba(0,255,136,0.08); }
.af-kpi-accent::before { background: linear-gradient(90deg, var(--af-primary), transparent); }
.af-kpi-accent .af-dash-kpi-val { color: var(--af-primary); }
.af-kpi-accent:hover { border-color: var(--af-primary); }
.af-kpi-green::before  { background: linear-gradient(90deg, #00ff88, transparent); }
.af-kpi-green  .af-dash-kpi-val { color: #00ff88; }
.af-kpi-green:hover  { border-color: #00ff88; box-shadow: 0 0 16px rgba(0,255,136,0.08); }
.af-kpi-amber::before  { background: linear-gradient(90deg, #ffcc00, transparent); }
.af-kpi-amber  .af-dash-kpi-val { color: #ffcc00; }
.af-kpi-amber:hover  { border-color: #ffcc00; box-shadow: 0 0 16px rgba(255,204,0,0.08); }
.af-kpi-pink::before   { background: linear-gradient(90deg, #ff006e, transparent); }
.af-kpi-pink   .af-dash-kpi-val { color: #ff006e; }
.af-kpi-pink:hover   { border-color: #ff006e; box-shadow: 0 0 16px rgba(255,0,110,0.08); }
.af-dash-kpi-lbl { font-size: 9px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--af-text3); margin-bottom: 10px; font-family: 'Courier New', monospace; }
.af-dash-kpi-val { font-size: 28px; font-weight: 800; line-height: 1; margin-bottom: 4px; font-family: 'Courier New', monospace; }
.af-dash-kpi-sub { font-size: 11px; color: var(--af-text3); }

/* ── Dashboard chart ────────────────────────────────────────────────────── */
.af-dash-chart-card {
  background: var(--af-surface);
  border: 1px solid var(--af-border);
  border-radius: var(--af-radius-lg);
  padding: 16px 18px;
  margin-bottom: 20px;
}
.af-dash-chart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.af-dash-chart-title { font-size: 10px; font-weight: 700; letter-spacing: 0.08em; color: var(--af-text3); }
.af-dash-chart-legend { display: flex; gap: 12px; }
.af-dash-chart-legend span { display: flex; align-items: center; gap: 5px; font-size: 11px; color: var(--af-text2); }
.af-dot { width: 8px; height: 8px; border-radius: 2px; display: inline-block; flex-shrink: 0; }
#af-clicks-chart { width: 100% !important; height: 130px !important; }

/* ── Dashboard section header ───────────────────────────────────────────── */
.af-dash-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.af-dash-section-title { font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--af-text3); }
.af-dash-view-all {
  background: var(--af-surface2);
  border: 1px solid var(--af-border);
  border-radius: var(--af-radius-sm);
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--af-text2);
  cursor: pointer;
  transition: all 0.15s;
  font-family: inherit;
}
.af-dash-view-all:hover { border-color: var(--af-primary); color: var(--af-primary); }

/* ── Dashboard empty ────────────────────────────────────────────────────── */
.af-dash-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--af-text2);
}
.af-dash-empty-icon { font-size: 48px; margin-bottom: 16px; }
.af-dash-empty h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; color: var(--af-text); }
.af-dash-empty p { font-size: 14px; color: var(--af-text2); }

/* ── Campaign cards (demo style) ────────────────────────────────────────── */
.af-camp-cards { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }

.af-camp-card {
  background: var(--af-surface);
  border: 1px solid var(--af-border);
  border-radius: var(--af-radius);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: border-color 0.15s, transform 0.15s;
}
.af-camp-card:hover {
  border-color: var(--af-border2);
  transform: translateX(2px);
}
.af-camp-card-ico {
  width: 38px; height: 38px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.af-camp-card-info { flex: 1; min-width: 0; }
.af-camp-card-name { font-size: 13px; font-weight: 600; color: var(--af-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.af-camp-card-meta { font-size: 11px; color: var(--af-text3); margin-top: 3px; display: flex; align-items: center; gap: 5px; }
.af-camp-id {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 10px; font-family: monospace; color: var(--af-text3);
  background: var(--af-surface2); border: 1px solid var(--af-border);
  border-radius: 4px; padding: 2px 6px; margin-top: 4px;
  cursor: pointer; width: fit-content;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.af-camp-id:hover { background: var(--af-primary); color: #fff; border-color: var(--af-primary); }
.af-camp-id svg { flex-shrink: 0; }
.af-modal-title .af-camp-id { vertical-align: middle; margin-top: 0; margin-left: 4px; }
.af-camp-status-dot { width: 6px; height: 6px; border-radius: 50%; display: inline-block; flex-shrink: 0; }
.af-camp-card-url { font-size: 10px; color: var(--af-text3); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 200px; }
.af-camp-card-right { text-align: right; flex-shrink: 0; }
.af-camp-card-clicks { font-size: 14px; font-weight: 700; line-height: 1; margin-bottom: 6px; }
.af-camp-card-bar-wrap { width: 60px; height: 3px; background: var(--af-surface3); border-radius: 2px; overflow: hidden; margin-left: auto; }
.af-camp-card-bar { height: 100%; border-radius: 2px; transition: width 0.6s ease; }
.af-camp-card-prog-lbl { font-size: 9px; color: var(--af-text3); margin-top: 3px; white-space: nowrap; }
/* ── My Tasks page (combined RapidWorkers + UNU task orders) ──────────────── */
.af-tasks-cta {
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--af-primary);
  cursor: pointer;
  padding: 8px 2px;
  transition: gap 0.15s;
}
.af-tasks-cta:hover { gap: 10px; }
.af-tasks-cta svg { flex-shrink: 0; }

.af-task-cards { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.af-task-card {
  background: var(--af-surface);
  border: 1px solid var(--af-border);
  border-radius: var(--af-radius);
  padding: 14px 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.af-task-card-ico {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--af-surface2);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.af-task-card-body { flex: 1; min-width: 0; }
.af-task-card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.af-task-card-title { font-size: 13.5px; font-weight: 600; color: var(--af-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.af-task-card-meta { font-size: 11.5px; color: var(--af-text2); margin-top: 4px; }
.af-task-card-barwrap { width: 100%; height: 4px; background: var(--af-surface3); border-radius: 2px; overflow: hidden; margin-top: 9px; }
.af-task-card-bar { height: 100%; border-radius: 2px; background: linear-gradient(90deg, var(--af-primary), var(--af-green)); transition: width 0.6s ease; }
.af-task-card-bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 7px; }
.af-task-card-vendor { font-size: 10px; color: var(--af-text3); text-transform: uppercase; letter-spacing: 0.04em; }
.af-task-card-date { font-size: 10px; color: var(--af-text3); }
.af-task-card-err { font-size: 11px; color: var(--af-red); margin-top: 7px; }

.af-remove-campaign-btn {
  background: none;
  border: 1px solid var(--af-border);
  border-radius: 5px;
  color: var(--af-text3);
  font-size: 11px;
  cursor: pointer;
  padding: 2px 6px;
  margin-top: 4px;
  transition: all 0.15s;
}
.af-remove-campaign-btn:hover { border-color: var(--af-red); color: var(--af-red); }

/* ── Deposit banner on dashboard ────────────────────────────────────────── */
.af-deposit-banner {
  background: linear-gradient(135deg, rgba(108,127,255,0.12), rgba(139,92,246,0.08));
  border: 1px solid rgba(108,127,255,0.22);
  border-radius: var(--af-radius-lg);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.af-deposit-banner-icon { font-size: 26px; flex-shrink: 0; }
.af-deposit-banner-text { flex: 1; }
.af-deposit-banner-title { font-size: 13px; font-weight: 600; color: var(--af-text); margin-bottom: 3px; }
.af-deposit-banner-sub { font-size: 11px; color: var(--af-text3); }
.af-deposit-banner-btn {
  background: var(--af-primary);
  color: #fff;
  border: none;
  border-radius: var(--af-radius-sm);
  padding: 8px 18px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  font-family: inherit;
  transition: opacity 0.15s;
  flex-shrink: 0;
}
.af-deposit-banner-btn:hover { opacity: 0.88; }

/* ── FAB: ensure it doesn't overlap content ─────────────────────────────── */
.af-fab-wrap { pointer-events: none; }
.af-fab-btn { pointer-events: all; }

/* ── Chart period tabs ──────────────────────────────────────────────────── */
.af-dash-period-tabs {
  display: flex;
  gap: 4px;
  background: var(--af-surface2);
  border-radius: 8px;
  padding: 3px;
}
.af-dash-period-tabs {
  margin-right: 0;           /* tabs already have parent padding */
}
.af-period-tab {
  background: none;
  border: none;
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
  color: var(--af-text3);
  cursor: pointer;
  transition: all 0.15s;
  font-family: inherit;
}
.af-period-tab:hover { color: var(--af-text); }
.af-period-tab.af-period-sel {
  background: var(--af-surface3);
  color: var(--af-primary);
  border: 1px solid var(--af-border2);
}
.af-chart-loader {
  text-align: center;
  padding: 40px;
  font-size: 12px;
  color: var(--af-text3);
}

/* ── Detail modal analytics ─────────────────────────────────────────────── */
.af-modal-analytics { max-width: 560px; }

.af-detail-kpi-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}
@media (max-width: 480px) { .af-detail-kpi-row { grid-template-columns: repeat(2, 1fr); } }

.af-detail-kpi {
  background: var(--af-surface2);
  border: 1px solid var(--af-border);
  border-radius: var(--af-radius);
  padding: 12px 10px;
  text-align: center;
}
.af-detail-kpi-val {
  font-size: 18px;
  font-weight: 800;
  color: var(--af-primary);
  line-height: 1;
  margin-bottom: 5px;
}
.af-detail-kpi-lbl {
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--af-text3);
}

/* ── Detail tabs ────────────────────────────────────────────────────────── */
.af-detail-tabs {
  display: flex;
  gap: 2px;
  background: var(--af-surface2);
  border-radius: 10px;
  padding: 3px;
  margin-bottom: 16px;
}
.af-detail-tab {
  flex: 1;
  background: none;
  border: none;
  border-radius: 8px;
  padding: 7px 8px;
  font-size: 11px;
  font-weight: 600;
  color: var(--af-text3);
  cursor: pointer;
  transition: all 0.15s;
  font-family: inherit;
  white-space: nowrap;
}
.af-detail-tab:hover { color: var(--af-text); }
.af-detail-tab.af-detail-tab-sel {
  background: var(--af-surface3);
  color: var(--af-primary);
  border: 1px solid var(--af-border2);
}
.af-detail-tab-body { animation: af-fade-in 0.18s ease; }
@keyframes af-fade-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

.af-detail-chart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
#af-camp-chart { width: 100% !important; height: 160px !important; }

/* ── Geo breakdown ──────────────────────────────────────────────────────── */
.af-geo-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--af-border);
}
.af-geo-row:last-child { border-bottom: none; }
.af-geo-flag { font-size: 20px; flex-shrink: 0; width: 28px; text-align: center; }
.af-geo-info { flex: 1; min-width: 0; }
.af-geo-country { font-size: 12px; font-weight: 600; color: var(--af-text); margin-bottom: 4px; }
.af-geo-bar-wrap { height: 4px; background: var(--af-surface3); border-radius: 2px; overflow: hidden; }
.af-geo-bar { height: 100%; background: var(--af-primary); border-radius: 2px; transition: width 0.5s ease; }
.af-geo-count { font-size: 13px; font-weight: 700; color: var(--af-primary); flex-shrink: 0; text-align: right; min-width: 40px; }

/* ── Services page cards — full width layout (not modal) ────────────────── */
.af-services-page .af-services-grid-v2 {
  grid-template-columns: 1fr;
}
@media (min-width: 600px) {
  .af-services-page .af-services-grid-v2 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .af-services-page .af-services-grid-v2 { grid-template-columns: repeat(3, 1fr); }
}

/* ── Sheet cards — single column on mobile ──────────────────────────────── */
.af-sheet-cards { grid-template-columns: 1fr; }
@media (min-width: 700px) {
  .af-sheet-cards { grid-template-columns: repeat(2, 1fr); }
}

/* ── Sidebar overlay (mobile close) ────────────────────────────────────── */
.af-sb-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 99;
}

/* ── Country targeting chips ────────────────────────────────────────────── */
.af-tgt-list { display: flex; flex-wrap: wrap; gap: 5px; align-items: center; }
.af-tgt-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--af-surface2);
  border: 1px solid var(--af-border);
  border-radius: 6px;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 500;
  color: var(--af-text);
  white-space: nowrap;
}
.af-tgt-more {
  background: var(--af-primary);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: opacity 0.15s;
}
.af-tgt-more:hover { opacity: 0.85; }
.af-tgt-expand { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 6px; width: 100%; }
.af-tgt-hidden { display: none !important; }

/* ── Countries toggle button (inline in detail row) ─────────────────────── */
.af-countries-toggle {
  background: var(--af-surface2);
  border: 1px solid var(--af-border2);
  border-radius: 5px;
  padding: 2px 8px;
  font-size: 11px;
  color: var(--af-primary);
  cursor: pointer;
  font-family: inherit;
  transition: all 0.15s;
  margin-left: 4px;
}
.af-countries-toggle:hover { background: var(--af-surface3); }

/* ── Paginated Lists with Filter Tabs ────────────────────────────────────── */
.af-paged-list { display: flex; flex-direction: column; gap: 10px; }

/* Filter tabs */
.af-filter-tabs {
  display: flex; gap: 6px; flex-wrap: wrap;
}
.af-filter-tab {
  background: transparent;
  border: 1px solid var(--af-border);
  border-radius: 2px; padding: 6px 12px;
  font-size: 10px; font-weight: 700;
  color: var(--af-text3); cursor: pointer;
  font-family: 'Courier New', monospace;
  letter-spacing: 0.06em; text-transform: uppercase;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
  white-space: nowrap;
}
.af-filter-tab:hover { border-color: rgba(0,255,136,0.3); color: #4a7a5a; }
.af-filter-tab-active {
  border-color: #00ff88; color: #00ff88;
  background: rgba(0,255,136,0.06);
}

/* Empty state */
.af-list-empty {
  padding: 24px; text-align: center;
  font-size: 12px; color: var(--af-text3);
  font-family: 'Courier New', monospace;
  border: 1px dashed var(--af-border); border-radius: 3px;
}

/* Pagination */
.af-pagination {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 2px; gap: 12px;
}
.af-page-btn {
  background: transparent; border: 1px solid var(--af-border);
  border-radius: 2px; padding: 7px 14px;
  font-size: 10px; font-weight: 700; color: var(--af-text3);
  cursor: pointer; font-family: 'Courier New', monospace;
  letter-spacing: 0.08em; text-transform: uppercase;
  transition: border-color 0.2s, color 0.2s;
}
.af-page-btn:hover:not(:disabled) { border-color: #00ff88; color: #00ff88; }
.af-page-btn:disabled { opacity: 0.25; cursor: not-allowed; }
.af-page-info {
  font-size: 11px; color: var(--af-text3);
  font-family: 'Courier New', monospace; text-align: center;
}

/* ═══════════════════════════════════════════════════════════════════════════
   ADFLOW v3.6.7 — UNIFIED CYBER THEME
   Palette: Crimson Red (#ff2d55) · Ice White (#f0f4ff) · Neon Cyan (#00e5ff)
            Deep Black (#05070a) · Blood accent (#ff0a2f)
   ═══════════════════════════════════════════════════════════════════════════ */

:root {
  /* ── Override base palette ── */
  --af-bg:        #05070a;
  --af-surface:   #0a0d14;
  --af-surface2:  #0f1420;
  --af-surface3:  #161c2e;
  --af-border:    #1a2035;
  --af-border2:   #243050;

  /* ── New cyber palette ── */
  --c-red:        #ff2d55;
  --c-red2:       #ff0a2f;
  --c-red-dim:    #cc1a38;
  --c-white:      #f0f4ff;
  --c-white2:     #c8d0e8;
  --c-white3:     #8890aa;
  --c-cyan:       #00e5ff;
  --c-cyan2:      #00b8d9;
  --c-gold:       #ffd60a;

  /* ── Text overrides ── */
  --af-text:      #f0f4ff;
  --af-text2:     #8890aa;
  --af-text3:     #4a5270;

  /* ── Primary → red ── */
  --af-primary:   #ff2d55;
  --af-primary2:  #ff0a2f;
  --af-green:     #00e5ff;
  --af-amber:     #ffd60a;
  --af-red:       #ff2d55;

  /* ── Shadows ── */
  --af-shadow:    0 4px 24px rgba(0,0,0,0.6);
  --af-shadow-lg: 0 8px 48px rgba(0,0,0,0.8);
  --af-glow-red:  0 0 40px rgba(255,45,85,0.2);
  --af-glow-cyan: 0 0 40px rgba(0,229,255,0.15);
}

/* ── Global background ───────────────────────────────────────────────────── */
#adflow-app {
  background: var(--af-bg);
  color: var(--af-text);
}

/* ── Grid overlay: red tint ──────────────────────────────────────────────── */
.af-grid-overlay {
  background-image:
    linear-gradient(rgba(255,45,85,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,45,85,0.03) 1px, transparent 1px);
  background-size: 48px 48px;
}

/* ── Hero orbs: red + cyan ───────────────────────────────────────────────── */
.af-orb1 { background: radial-gradient(circle, rgba(255,45,85,0.15), transparent 70%); }
.af-orb2 { background: radial-gradient(circle, rgba(0,229,255,0.1), transparent 70%); }
.af-orb3 { background: radial-gradient(circle, rgba(255,214,10,0.06), transparent 70%); }

/* ── Logo mark ───────────────────────────────────────────────────────────── */
.af-logo-mark {
  background: linear-gradient(135deg, var(--c-red), var(--c-red2));
  box-shadow: 0 0 16px rgba(255,45,85,0.4);
}

/* ── Nav ─────────────────────────────────────────────────────────────────── */
.af-nav {
  background: rgba(5,7,10,0.95);
  border-bottom: 1px solid var(--af-border);
  backdrop-filter: blur(20px);
}
.af-nav-link.active {
  color: var(--c-red);
  background: rgba(255,45,85,0.08);
  box-shadow: inset 0 -2px 0 var(--c-red);
}
.af-nav-link:hover { background: rgba(255,255,255,0.04); color: var(--c-white); }

/* ── Wallet pill ─────────────────────────────────────────────────────────── */
.af-wallet-pill {
  background: rgba(255,45,85,0.08);
  border: 1px solid rgba(255,45,85,0.25);
  color: var(--c-white);
}
.af-wallet-pill svg { color: var(--c-red); }
.af-wallet-pill:hover { border-color: var(--c-red); background: rgba(255,45,85,0.14); }

/* ── Avatar ──────────────────────────────────────────────────────────────── */
.af-avatar {
  background: linear-gradient(135deg, var(--c-red), var(--c-red2));
  box-shadow: 0 0 12px rgba(255,45,85,0.35);
}

/* ── Sidebar ─────────────────────────────────────────────────────────────── */
.af-sidebar {
  background: #07090f;
  border-right: 1px solid var(--af-border);
}
.af-sb-logo {
  border-bottom: 1px solid var(--af-border);
}
.af-sb-logo-text { color: var(--c-white); }

.af-si { color: var(--af-text3); border-left: 2.5px solid transparent; }
.af-si:hover { color: var(--c-white2); background: rgba(255,255,255,0.03); }
.af-si-on {
  color: var(--c-red);
  border-left-color: var(--c-red);
  background: rgba(255,45,85,0.08);
}

/* ── Topbar ──────────────────────────────────────────────────────────────── */
.af-topbar {
  background: #07090f;
  border-bottom: 1px solid var(--af-border);
}
.af-topbar-title { color: var(--c-white); font-weight: 700; letter-spacing: 0.04em; }

/* ── FAB button ──────────────────────────────────────────────────────────── */
.af-fab-btn {
  background: transparent;
  color: var(--c-red);
  border: 1px solid rgba(255,45,85,0.5);
  border-radius: 3px;
  font-family: 'Courier New', monospace;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  box-shadow: 0 0 20px rgba(255,45,85,0.15);
}
.af-fab-btn:hover {
  background: rgba(255,45,85,0.1);
  box-shadow: 0 0 32px rgba(255,45,85,0.3);
  border-color: var(--c-red);
}
.af-fab-ico {
  background: rgba(255,45,85,0.15);
  border-radius: 2px;
}

/* ── Dashboard KPI cards ─────────────────────────────────────────────────── */
.af-dash-kpi {
  background: #07090f;
  border: 1px solid var(--af-border);
  border-radius: 4px;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.af-dash-kpi::after {
  border-color: transparent var(--af-border) transparent transparent;
}
.af-dash-kpi::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
}

/* KPI accent colors: red, cyan, gold, white */
.af-kpi-accent::before  { background: linear-gradient(90deg, var(--c-red), transparent); }
.af-kpi-accent .af-dash-kpi-val { color: var(--c-red); }
.af-kpi-accent:hover    { border-color: var(--c-red); box-shadow: 0 0 20px rgba(255,45,85,0.12); }
.af-kpi-accent::after   { border-color: transparent var(--c-red) transparent transparent; }

.af-kpi-green::before   { background: linear-gradient(90deg, var(--c-cyan), transparent); }
.af-kpi-green .af-dash-kpi-val { color: var(--c-cyan); }
.af-kpi-green:hover     { border-color: var(--c-cyan); box-shadow: 0 0 20px rgba(0,229,255,0.1); }

.af-kpi-amber::before   { background: linear-gradient(90deg, var(--c-gold), transparent); }
.af-kpi-amber .af-dash-kpi-val { color: var(--c-gold); }
.af-kpi-amber:hover     { border-color: var(--c-gold); box-shadow: 0 0 20px rgba(255,214,10,0.1); }

.af-kpi-pink::before    { background: linear-gradient(90deg, var(--c-white2), transparent); }
.af-kpi-pink .af-dash-kpi-val  { color: var(--c-white); }
.af-kpi-pink:hover      { border-color: var(--c-white2); box-shadow: 0 0 20px rgba(200,208,232,0.08); }

.af-dash-kpi:hover { border-color: var(--c-red); }
.af-dash-kpi-lbl {
  color: var(--af-text3);
  font-family: 'Courier New', monospace;
  font-size: 9px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
}
.af-dash-kpi-val {
  font-family: 'Courier New', monospace;
  font-size: 28px; font-weight: 800; line-height: 1;
}
.af-dash-kpi-sub { color: var(--af-text3); font-size: 11px; }

/* ── Dashboard chart card ────────────────────────────────────────────────── */
.af-dash-chart-card {
  background: #07090f;
  border: 1px solid var(--af-border);
  border-radius: var(--af-radius-lg);
  position: relative;
  overflow: hidden;
}
.af-dash-chart-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--c-red), var(--c-cyan), transparent);
}
.af-dash-chart-title { color: var(--af-text3); font-family: 'Courier New', monospace; letter-spacing: 0.1em; }

/* ── Dashboard section headers ───────────────────────────────────────────── */
.af-dash-section-title {
  color: var(--c-red);
  font-family: 'Courier New', monospace;
  letter-spacing: 0.12em;
}
.af-dash-view-all {
  background: transparent;
  border: 1px solid var(--af-border);
  color: var(--af-text3);
  border-radius: 3px;
  font-family: 'Courier New', monospace;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.af-dash-view-all:hover { border-color: var(--c-red); color: var(--c-red); }

/* ── Campaign cards ──────────────────────────────────────────────────────── */
.af-camp-card {
  background: #07090f;
  border: 1px solid var(--af-border);
  border-radius: 4px;
}
.af-camp-card:hover {
  border-color: var(--c-red);
  transform: translateX(3px);
  box-shadow: -3px 0 0 var(--c-red), 0 0 20px rgba(255,45,85,0.08);
}
.af-camp-card-name { color: var(--c-white); }

/* ── Deposit banner ──────────────────────────────────────────────────────── */
.af-deposit-banner {
  background: linear-gradient(135deg, rgba(255,45,85,0.08), rgba(0,229,255,0.04));
  border: 1px solid rgba(255,45,85,0.2);
  position: relative;
  overflow: hidden;
}
.af-deposit-banner::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, var(--c-red), var(--c-cyan), transparent);
}
.af-deposit-banner-title { color: var(--c-white); }
.af-deposit-banner-btn {
  background: linear-gradient(135deg, var(--c-red), var(--c-red2));
  box-shadow: 0 0 16px rgba(255,45,85,0.3);
}
.af-deposit-banner-btn:hover { opacity: 0.9; box-shadow: 0 0 24px rgba(255,45,85,0.5); }

/* ── Empty state ─────────────────────────────────────────────────────────── */
.af-dash-empty h3 { color: var(--c-white); }
.af-dash-empty-icon { filter: drop-shadow(0 0 8px rgba(255,45,85,0.3)); }

/* ── Services cards ──────────────────────────────────────────────────────── */
.af-service-card {
  background: #07090f;
  border: 1px solid var(--af-border);
  border-radius: 4px;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%);
}
.af-service-card::after {
  border-color: transparent var(--af-border) transparent transparent;
}
.af-service-card::before {
  background: repeating-linear-gradient(
    0deg, transparent, transparent 3px,
    rgba(255,45,85,0.012) 3px, rgba(255,45,85,0.012) 4px
  );
}
.af-service-card:hover {
  border-color: var(--c-red);
  box-shadow: 0 0 0 1px rgba(255,45,85,0.2), 0 0 30px rgba(255,45,85,0.12);
}
.af-service-card:hover::after { border-color: transparent var(--c-red) transparent transparent; }

.af-sc-icon-badge {
  background: rgba(255,45,85,0.08);
  border: 1px solid rgba(255,45,85,0.25);
  box-shadow: 0 0 12px rgba(255,45,85,0.15);
}
.af-sc-ppc { color: var(--c-red); font-family: 'Courier New', monospace; }
.af-sc-ppc-label { color: var(--af-text3); }
.af-sc-name { color: var(--c-white); text-transform: uppercase; letter-spacing: 0.04em; }
.af-sc-desc { color: var(--af-text2); }
.af-sc-feat-dot { background: var(--c-red); box-shadow: 0 0 6px rgba(255,45,85,0.5); }
.af-sc-feat { color: var(--af-text2); }
.af-sc-divider { background: linear-gradient(90deg, rgba(255,45,85,0.3), rgba(0,229,255,0.15), transparent); }
.af-sc-accent-bar { background: linear-gradient(90deg, var(--c-red), var(--c-cyan) 60%, transparent); }
.af-sc-cta {
  border: 1px solid rgba(255,45,85,0.3);
  color: var(--c-red);
  font-family: 'Courier New', monospace;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.af-sc-cta:hover, .af-service-card:hover .af-sc-cta {
  background: rgba(255,45,85,0.08);
  border-color: var(--c-red);
  box-shadow: 0 0 16px rgba(255,45,85,0.2);
}

/* nth-child color variants */
.af-service-card:nth-child(2) .af-sc-ppc { color: var(--c-cyan); }
.af-service-card:nth-child(2) .af-sc-ppc-label { color: var(--af-text3); }
.af-service-card:nth-child(2) .af-sc-feat-dot { background: var(--c-cyan); box-shadow: 0 0 6px rgba(0,229,255,0.5); }
.af-service-card:nth-child(2) .af-sc-icon-badge { border-color: rgba(0,229,255,0.25); background: rgba(0,229,255,0.06); box-shadow: 0 0 12px rgba(0,229,255,0.1); }
.af-service-card:nth-child(2) .af-sc-divider { background: linear-gradient(90deg, rgba(0,229,255,0.3), rgba(255,45,85,0.1), transparent); }
.af-service-card:nth-child(2) .af-sc-accent-bar { background: linear-gradient(90deg, var(--c-cyan), var(--c-red) 60%, transparent); }
.af-service-card:nth-child(2) .af-sc-cta { border-color: rgba(0,229,255,0.3); color: var(--c-cyan); }
.af-service-card:nth-child(2):hover { border-color: var(--c-cyan); box-shadow: 0 0 0 1px rgba(0,229,255,0.2), 0 0 30px rgba(0,229,255,0.1); }
.af-service-card:nth-child(2):hover::after { border-color: transparent var(--c-cyan) transparent transparent; }
.af-service-card:nth-child(2):hover .af-sc-cta { background: rgba(0,229,255,0.08); border-color: var(--c-cyan); box-shadow: 0 0 16px rgba(0,229,255,0.15); }

.af-service-card:nth-child(3) .af-sc-ppc { color: var(--c-gold); }
.af-service-card:nth-child(3) .af-sc-feat-dot { background: var(--c-gold); box-shadow: 0 0 6px rgba(255,214,10,0.5); }
.af-service-card:nth-child(3) .af-sc-icon-badge { border-color: rgba(255,214,10,0.25); background: rgba(255,214,10,0.06); }
.af-service-card:nth-child(3) .af-sc-divider { background: linear-gradient(90deg, rgba(255,214,10,0.3), rgba(255,45,85,0.1), transparent); }
.af-service-card:nth-child(3) .af-sc-accent-bar { background: linear-gradient(90deg, var(--c-gold), var(--c-red) 60%, transparent); }
.af-service-card:nth-child(3) .af-sc-cta { border-color: rgba(255,214,10,0.3); color: var(--c-gold); }
.af-service-card:nth-child(3):hover { border-color: var(--c-gold); box-shadow: 0 0 0 1px rgba(255,214,10,0.2), 0 0 30px rgba(255,214,10,0.1); }
.af-service-card:nth-child(3):hover::after { border-color: transparent var(--c-gold) transparent transparent; }
.af-service-card:nth-child(3):hover .af-sc-cta { background: rgba(255,214,10,0.08); border-color: var(--c-gold); }

/* ── svc-card-v2 (sheet/modal) ───────────────────────────────────────────── */
.af-svc-card-v2 {
  background: #07090f;
  border-color: var(--af-border);
}
.af-svc-card-v2:hover {
  border-color: var(--c-red);
  box-shadow: 0 0 0 1px rgba(255,45,85,0.15), 0 0 24px rgba(255,45,85,0.1);
}
.af-svc-stripe { background: linear-gradient(90deg, var(--c-red), var(--c-cyan)); }
.af-svc-v2-name { color: var(--c-white); text-transform: uppercase; letter-spacing: 0.04em; }
.af-svc-v2-ppc { color: var(--c-red); font-family: 'Courier New', monospace; }
.af-svc-v2-btn { border-color: rgba(255,45,85,0.4); color: var(--c-red); font-family: 'Courier New', monospace; }
.af-svc-v2-btn:hover { background: rgba(255,45,85,0.08) !important; box-shadow: 0 0 14px rgba(255,45,85,0.2); }
.af-svc-badge-pop { background: rgba(255,45,85,0.1); color: var(--c-red); border-color: rgba(255,45,85,0.3); }
.af-svc-badge-new { background: rgba(0,229,255,0.1); color: var(--c-cyan); border-color: rgba(0,229,255,0.3); }

/* ── Sheet ───────────────────────────────────────────────────────────────── */
.af-sheet {
  background: #07090f;
  border-top: 1px solid rgba(255,45,85,0.2);
  box-shadow: 0 -8px 60px rgba(255,45,85,0.08);
}
.af-sheet-handle { background: rgba(255,45,85,0.3); }
.af-sheet-head { border-bottom: 1px solid var(--af-border); }
.af-sheet-title { color: var(--c-red); font-family: 'Courier New', monospace; letter-spacing: 0.12em; text-transform: uppercase; font-size: 12px; font-weight: 800; }
.af-sheet-close { background: rgba(255,45,85,0.08); border: 1px solid rgba(255,45,85,0.2); color: var(--c-red); border-radius: 3px; }

/* ── Deposit method tiles ─────────────────────────────────────────────────── */
.af-dep-tile:hover { border-color: var(--c-red); }
.af-dep-tile.af-dep-tile-active {
  border-color: var(--c-red);
  box-shadow: 0 0 0 1px rgba(255,45,85,0.25), 0 4px 18px rgba(255,45,85,0.12);
}
.af-dep-badge-auto { background: rgba(0,229,255,0.1); color: var(--c-cyan); border-color: rgba(0,229,255,0.3); }
.af-dep-section-label { color: var(--c-red); opacity: 0.7; font-family: 'Courier New', monospace; letter-spacing: 0.14em; }

/* ── Wallet balance card ─────────────────────────────────────────────────── */
.af-wallet-balance-card {
  background: linear-gradient(135deg, rgba(255,45,85,0.1), rgba(0,229,255,0.05));
  border: 1px solid rgba(255,45,85,0.25);
  position: relative; overflow: hidden;
}
.af-wallet-balance-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, var(--c-red), var(--c-cyan), transparent);
}
.af-wbc-amount { color: var(--c-red); text-shadow: 0 0 20px rgba(255,45,85,0.3); }

/* ── Deposit history ─────────────────────────────────────────────────────── */
.af-deposit-method-icon {
  background: rgba(255,45,85,0.08);
  border: 1px solid rgba(255,45,85,0.15);
}
.af-deposit-amount { color: var(--c-white); }

/* ── Profile page ────────────────────────────────────────────────────────── */
.af-profile-card {
  background: #07090f;
  border: 1px solid var(--af-border);
  position: relative; overflow: hidden;
}
.af-profile-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--c-red), var(--c-cyan), transparent);
}
.af-profile-avatar {
  background: linear-gradient(135deg, var(--c-red), var(--c-red2));
  box-shadow: 0 0 24px rgba(255,45,85,0.4), 0 0 60px rgba(255,45,85,0.15);
}
.af-profile-name { color: var(--c-white); }
.af-profile-since { color: var(--af-text3); border-top-color: var(--af-border); }

.af-profile-stat {
  background: #07090f;
  border: 1px solid var(--af-border);
  position: relative; overflow: hidden;
}
.af-profile-stat::before {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, var(--c-red), transparent);
}
.af-ps-green .af-ps-val { color: var(--c-cyan); }
.af-ps-val { color: var(--c-white); font-family: 'Courier New', monospace; }

.af-profile-action-btn {
  background: #07090f;
  border-color: var(--af-border);
  color: var(--af-text2);
  position: relative; overflow: hidden;
}
.af-profile-action-btn::before {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, var(--c-red), transparent);
  opacity: 0; transition: opacity 0.2s;
}
.af-profile-action-btn:hover {
  border-color: var(--c-red);
  background: rgba(255,45,85,0.05);
  color: var(--c-white);
}
.af-profile-action-btn:hover::before { opacity: 1; }

/* ── Auth modal ──────────────────────────────────────────────────────────── */
.af-auth-modal {
  background: #07090f;
  border: 1px solid rgba(255,45,85,0.15);
  box-shadow: 0 0 60px rgba(255,45,85,0.08), var(--af-shadow-lg);
}
.af-auth-modal::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--c-red), var(--c-cyan), transparent);
  border-radius: var(--af-radius-lg) var(--af-radius-lg) 0 0;
}
.af-auth-tabs { background: rgba(255,45,85,0.05); }
.af-auth-tab.active { background: rgba(255,45,85,0.1); color: var(--c-red); }
.af-btn-auth {
  background: linear-gradient(135deg, var(--c-red), var(--c-red2));
  box-shadow: 0 0 20px rgba(255,45,85,0.3);
}

/* ── Campaign wizard modal ───────────────────────────────────────────────── */
.af-modal {
  background: #07090f;
  border: 1px solid var(--af-border);
  box-shadow: 0 0 60px rgba(255,45,85,0.08), var(--af-shadow-lg);
}
.af-modal::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--c-red), var(--c-cyan), transparent);
  border-radius: 3px 3px 0 0;
  pointer-events: none;
}
.af-modal-head { border-bottom: 1px solid var(--af-border); }
.af-modal-title { color: var(--c-red); font-family: 'Courier New', monospace; letter-spacing: 0.06em; text-transform: uppercase; font-size: 13px; font-weight: 800; }
.af-modal-sub { color: var(--af-text3); font-family: 'Courier New', monospace; }
.af-modal-close { background: transparent; border: 1px solid var(--af-border); color: var(--af-text3); border-radius: 2px; }
.af-modal-close:hover { color: var(--c-red); border-color: rgba(255,45,85,0.3); }
.af-modal-stepper { border-bottom: 1px solid var(--af-border); }

/* Stepper dots */
.af-step-dot-circle {
  border: 1px solid var(--af-border); color: var(--af-text3); background: transparent;
  border-radius: 3px; font-family: 'Courier New', monospace;
}
.af-step-dot.active .af-step-dot-circle {
  border-color: var(--c-red); color: var(--c-red);
  background: rgba(255,45,85,0.08); box-shadow: 0 0 8px rgba(255,45,85,0.2);
}
.af-step-dot.done .af-step-dot-circle {
  border-color: var(--c-red); color: #fff; background: var(--c-red);
}
.af-step-dot > span { color: var(--af-text3); font-family: 'Courier New', monospace; letter-spacing: 0.06em; text-transform: uppercase; }
.af-step-dot.active > span { color: var(--c-red); }
.af-step-line { background: var(--af-border); }

/* Wizard content */
.af-wstep-title { color: var(--c-white); }
.af-wstep-sub { color: var(--af-text2); }
.af-wstep-actions { border-top: 1px solid var(--af-border); }

/* Targeting cards */
.af-target-card { background: transparent; border-color: var(--af-border); }
.af-target-card:hover { border-color: rgba(255,45,85,0.3); }
.af-target-card.selected {
  border-color: var(--c-red); background: rgba(255,45,85,0.05);
  box-shadow: 0 0 12px rgba(255,45,85,0.12);
}
.af-target-card-body strong { color: var(--c-white); }
.af-target-card-price { color: var(--c-red); font-family: 'Courier New', monospace; }

/* Country picker */
.af-country-tag { background: rgba(255,45,85,0.08); border-color: rgba(255,45,85,0.25); color: var(--c-red); font-family: 'Courier New', monospace; }
.af-country-tag button { color: var(--c-red); }
.af-country-item.selected { background: rgba(255,45,85,0.15); color: var(--c-red); }

/* Tier cards */
.af-tier-card { background: #07090f; border-color: var(--af-border); border-radius: 3px; }
.af-tier-card:hover { border-color: rgba(255,45,85,0.3); background: rgba(255,45,85,0.02); }
.af-tier-card.selected { border-color: var(--c-red); background: rgba(255,45,85,0.05); box-shadow: 0 0 18px rgba(255,45,85,0.12); }
.af-tier-card.af-tier-basic  { border-left: 2px solid rgba(255,45,85,0.3); }
.af-tier-card.af-tier-standard { border-left: 2px solid rgba(255,45,85,0.6); }
.af-tier-card.af-tier-premium { border-left: 2px solid var(--c-cyan); }
.af-tier-card.af-tier-premium.selected { border-color: var(--c-cyan); background: rgba(0,229,255,0.04); box-shadow: 0 0 18px rgba(0,229,255,0.12); }
.af-tier-card.af-tier-premium .af-tier-popular-badge { background: var(--c-cyan); color: #05070a; }
.af-tier-card.af-tier-premium .af-tier-info strong { color: var(--c-cyan); }
.af-tier-card.af-tier-premium .af-tier-speed-bar { color: var(--c-cyan); }
.af-tier-card.af-tier-premium.selected .af-tier-check { background: var(--c-cyan); }
.af-tier-card.af-tier-premium .af-tier-surcharge { background: var(--c-cyan); color: #05070a; }
.af-tier-check { background: var(--c-red); border-radius: 2px; }
.af-tier-popular-badge { background: var(--c-red); color: #fff; font-family: 'Courier New', monospace; }
.af-tier-info strong { color: var(--c-white); font-family: 'Courier New', monospace; }
.af-tier-speed-bar { color: var(--c-red); }
.af-tier-base-tag { color: var(--c-red); font-family: 'Courier New', monospace; }
.af-tier-est-total { color: var(--c-red); font-family: 'Courier New', monospace; }
.af-tier-ppc { color: var(--c-white); font-family: 'Courier New', monospace; }
.af-tier-features li { color: var(--af-text2); }
.af-tier-features li::before { color: var(--c-red); }

/* Total estimate */
.af-total-estimate { background: transparent; border: 1px solid var(--af-border); border-radius: 3px; }
.af-total-amount { color: var(--c-red); font-family: 'Courier New', monospace; text-shadow: 0 0 16px rgba(255,45,85,0.3); }
.af-total-label { color: var(--af-text2); }
.af-wallet-note { color: var(--c-red); font-family: 'Courier New', monospace; }

/* Review card */
.af-review-card { background: transparent; border: 1px solid var(--af-border); border-radius: 3px; }
.af-review-service-row { border-bottom: 1px solid var(--af-border); }
.af-review-service-name { color: var(--af-text3); font-family: 'Courier New', monospace; letter-spacing: 0.06em; text-transform: uppercase; }
.af-review-title { color: var(--c-white); }
.af-review-row { border-bottom: 1px solid var(--af-border); }
.af-review-row > span:first-child { color: var(--af-text3); font-family: 'Courier New', monospace; text-transform: uppercase; letter-spacing: 0.06em; }
.af-review-link { color: var(--c-red); }
.af-review-total-row { background: rgba(255,45,85,0.05); border-top: 1px solid rgba(255,45,85,0.15); }
.af-review-total-amount { color: var(--c-red); font-family: 'Courier New', monospace; text-shadow: 0 0 12px rgba(255,45,85,0.3); }

/* Geo chip */
.af-geo-chip { background: rgba(255,45,85,0.08); border-color: rgba(255,45,85,0.25); color: var(--c-red); font-family: 'Courier New', monospace; }
.af-geo-chip:hover, .af-geo-chip--open { background: rgba(255,45,85,0.14); }
.af-geo-tag { background: rgba(255,45,85,0.05); border-color: rgba(255,45,85,0.15); color: var(--af-text2); }
.af-geo-expand { border-top: 1px solid var(--af-border); }

/* Wallet pay */
.af-wallet-pay-option { background: transparent; border: 1px solid var(--af-border); border-radius: 3px; }
.af-checkbox-label input[type="checkbox"] { accent-color: var(--c-red); }

/* Gateway */
.af-gateway-badge { background: rgba(255,45,85,0.1); color: var(--c-red); border-color: rgba(255,45,85,0.3); font-family: 'Courier New', monospace; }
.af-gateway-panel { border-left: 2px solid var(--c-red); box-shadow: inset 4px 0 16px rgba(255,45,85,0.04); }
.af-gateway-note { background: rgba(255,45,85,0.04); border-color: rgba(255,45,85,0.15); color: var(--af-text2); }
.af-gateway-note svg { color: var(--c-red); }
.af-preset-clicks.active { border-color: var(--c-red); color: var(--c-red); background: rgba(255,45,85,0.08); box-shadow: 0 0 8px rgba(255,45,85,0.15); }

/* Coin combobox — match site accent */
.af-coinsel.af-coinsel-open .af-coinsel-trigger { border-color: var(--c-red); }
.af-coinsel-trigger-icon { background: rgba(255,45,85,0.1); color: var(--c-red); }
.af-coinsel-item-letter { background: rgba(0,229,255,0.12); color: var(--c-cyan); }

/* Success */
.af-success-amount { border-color: rgba(255,45,85,0.2); background: rgba(255,45,85,0.05); }
.af-success-amount strong { color: var(--c-red); text-shadow: 0 0 12px rgba(255,45,85,0.3); }

/* ── Form inputs ─────────────────────────────────────────────────────────── */
.af-input { background: #07090f; border-color: var(--af-border); color: var(--c-white); }
.af-input:focus { border-color: var(--c-red); box-shadow: 0 0 0 3px rgba(255,45,85,0.12); }
textarea.af-textarea { background: #07090f; border-color: var(--af-border); color: var(--c-white); }
textarea.af-textarea:focus { border-color: var(--c-red); box-shadow: 0 0 0 3px rgba(255,45,85,0.12); }
.af-search-input { background: #07090f; border-color: var(--af-border); color: var(--c-white); }
.af-search-input:focus { border-color: var(--c-red); }

/* Quick amounts */
.af-quick-amt { background: #07090f; border-color: var(--af-border); color: var(--af-text2); }
.af-quick-amt:hover { border-color: var(--c-red); color: var(--c-red); }

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.af-btn-primary-sm {
  background: linear-gradient(135deg, var(--c-red), var(--c-red2));
  box-shadow: 0 0 16px rgba(255,45,85,0.25);
}
.af-btn-hero-primary {
  background: linear-gradient(135deg, var(--c-red), var(--c-red2));
  box-shadow: 0 4px 20px rgba(255,45,85,0.4);
}
.af-btn-hero-ghost { border-color: var(--af-border2); color: var(--c-white); }
.af-btn-hero-ghost:hover { border-color: var(--c-red); background: rgba(255,45,85,0.06); }

/* ── Hero section ────────────────────────────────────────────────────────── */
.af-hero-eyebrow { color: var(--c-red); }
.af-eyebrow-dot { background: var(--c-cyan); box-shadow: 0 0 6px var(--c-cyan); }
.af-gradient-text {
  background: linear-gradient(135deg, var(--c-red), var(--c-white) 50%, var(--c-cyan));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.af-home-cta {
  background: linear-gradient(135deg, rgba(255,45,85,0.06), rgba(0,229,255,0.04));
  border-top: 1px solid var(--af-border);
}

/* ── Badges ──────────────────────────────────────────────────────────────── */
.af-badge-success { background: rgba(0,229,255,0.12); color: var(--c-cyan); }
.af-count-badge { background: var(--c-red); }

/* ── Nav active link ─────────────────────────────────────────────────────── */
.af-nav-link.active { color: var(--c-red); background: rgba(255,45,85,0.08); box-shadow: inset 0 -2px 0 var(--c-red); }

/* ── Alerts ──────────────────────────────────────────────────────────────── */
.af-alert-info { background: rgba(0,229,255,0.08); border-color: rgba(0,229,255,0.25); color: var(--c-cyan); }

/* ── Progress bars ───────────────────────────────────────────────────────── */
.af-progress-fill { background: linear-gradient(90deg, var(--c-red), var(--c-cyan)); }
.af-geo-bar { background: var(--c-red); }
.af-camp-card-bar { background: linear-gradient(90deg, var(--c-red), var(--c-cyan)); }

/* ── Campaigns panel ─────────────────────────────────────────────────────── */
.af-campaigns-panel { background: #07090f; border-color: var(--af-border); }
.af-campaigns-panel-head { border-bottom: 1px solid var(--af-border); }

/* ── Filter tabs ─────────────────────────────────────────────────────────── */
.af-filter-tab { border-color: var(--af-border); color: var(--af-text3); font-family: 'Courier New', monospace; border-radius: 3px; }
.af-filter-tab:hover { border-color: rgba(255,45,85,0.3); color: var(--c-red); background: rgba(255,45,85,0.05); }
.af-filter-tab-active { border-color: var(--c-red); color: var(--c-red); background: rgba(255,45,85,0.08); }

/* ── Pagination ──────────────────────────────────────────────────────────── */
.af-page-btn { border-color: var(--af-border); color: var(--af-text3); font-family: 'Courier New', monospace; border-radius: 3px; }
.af-page-btn:hover:not(:disabled) { border-color: var(--c-red); color: var(--c-red); }

/* ── Detail modal ────────────────────────────────────────────────────────── */
.af-detail-kpi-val { color: var(--c-red); }
.af-detail-tab.af-detail-tab-sel { color: var(--c-red); border-color: rgba(255,45,85,0.3); background: rgba(255,45,85,0.08); }
.af-detail-link { color: var(--c-red); }
.af-detail-progress-block { border-color: var(--af-border); background: transparent; border-radius: 3px; }
.af-geo-count { color: var(--c-red); }

/* ── Deposit history period tabs ─────────────────────────────────────────── */
.af-period-tab.af-period-sel { background: rgba(255,45,85,0.1); color: var(--c-red); border-color: rgba(255,45,85,0.25); }
.af-period-tab:hover { color: var(--c-white); }

/* ── Footer (dark theme overrides) */
.af-footer-link:hover { color: var(--c-red); }

/* ── Boot screen ─────────────────────────────────────────────────────────── */
.af-boot-spinner { border-top-color: var(--c-red); box-shadow: 0 0 12px rgba(255,45,85,0.3); }

/* ── Scrollbar ───────────────────────────────────────────────────────────── */
#adflow-app ::-webkit-scrollbar { width: 4px; }
#adflow-app ::-webkit-scrollbar-track { background: var(--af-bg); }
#adflow-app ::-webkit-scrollbar-thumb { background: rgba(255,45,85,0.3); border-radius: 2px; }
#adflow-app ::-webkit-scrollbar-thumb:hover { background: var(--c-red); }


/* ── Aviso / Views Boost wizard styles ──────────────────────────────────── */

/* Type chooser */
.af-type-chooser { display: flex; gap: 14px; margin: 4px 0 20px; flex-wrap: wrap; }
.af-type-choice {
  flex: 1; min-width: 140px; display: flex; flex-direction: column; align-items: flex-start;
  gap: 6px; padding: 16px; border-radius: 12px; cursor: pointer; text-align: left;
  border: 2px solid rgba(255,255,255,0.08); background: rgba(255,255,255,0.04);
  color: var(--af-text); transition: all 0.2s;
}
.af-type-choice:hover { border-color: rgba(255,45,85,0.4); background: rgba(255,45,85,0.06); }
.af-type-choice-sel { border-color: var(--c-red) !important; background: rgba(255,45,85,0.1) !important; }
.af-type-icon { font-size: 26px; line-height: 1; }
.af-type-choice strong { font-size: 15px; font-weight: 700; color: #fff; }
.af-type-choice small { font-size: 12px; color: #888; line-height: 1.4; }

/* Duration grid */
.af-dur-grid { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 4px; }
.af-dur-btn {
  display: flex; flex-direction: column; align-items: center;
  padding: 10px 14px; border-radius: 10px; cursor: pointer; min-width: 68px;
  border: 2px solid rgba(255,255,255,0.08); background: rgba(255,255,255,0.04);
  color: var(--af-text); gap: 3px; transition: all 0.2s;
}
.af-dur-btn:hover { border-color: rgba(255,45,85,0.4); }
.af-dur-btn.selected { border-color: var(--c-red); background: rgba(255,45,85,0.12); }
.af-dur-btn strong { font-size: 15px; font-weight: 700; color: #fff; }
.af-dur-btn small { font-size: 11px; color: #888; }

/* Option button rows */
.af-option-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 4px; }
.af-option-row-4 .af-option-btn { min-width: 120px; }
.af-option-btn {
  flex: 1; min-width: 90px; display: flex; flex-direction: column; align-items: center;
  gap: 3px; padding: 10px 12px; border-radius: 10px; cursor: pointer;
  border: 2px solid rgba(255,255,255,0.08); background: rgba(255,255,255,0.04);
  color: var(--af-text); text-align: center; font-size: 13px; transition: all 0.2s;
}
.af-option-btn:hover { border-color: rgba(255,45,85,0.4); }
.af-option-btn.selected { border-color: var(--c-red); background: rgba(255,45,85,0.12); color: #fff; }
.af-option-btn strong { font-size: 14px; font-weight: 700; color: inherit; }
.af-option-btn small { font-size: 11px; color: #888; }
.af-option-btn.selected small { color: #ccc; }

/* Country checkbox grid */
.af-country-cb-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 6px; max-height: 260px; overflow-y: auto; padding: 10px;
  background: rgba(255,255,255,0.03); border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.07);
}
.af-country-cb-item {
  display: flex; align-items: center; gap: 7px; padding: 6px 8px;
  border-radius: 7px; cursor: pointer; font-size: 13px; color: #ccc;
  border: 1px solid transparent; transition: all 0.15s;
}
.af-country-cb-item:hover { background: rgba(255,45,85,0.07); border-color: rgba(255,45,85,0.2); }
.af-country-cb-item.selected { background: rgba(255,45,85,0.12); border-color: rgba(255,45,85,0.35); color: #fff; }
.af-country-cb-item input[type="checkbox"] { width: 14px; height: 14px; accent-color: var(--c-red); flex-shrink: 0; }

/* Review rows */
.af-review-rows { border: 1px solid rgba(255,255,255,0.08); border-radius: 10px; overflow: hidden; }
.af-review-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 9px 14px; border-bottom: 1px solid rgba(255,255,255,0.05); font-size: 13px;
}
.af-review-row:last-child { border-bottom: none; }
.af-review-row span { color: #888; }
.af-review-row strong { color: #fff; text-align: right; max-width: 65%; word-break: break-all; }
.af-review-total { background: rgba(255,45,85,0.08); }
.af-review-total span, .af-review-total strong { color: var(--c-red); font-weight: 700; font-size: 15px; }

/* Wallet row */
.af-wallet-pay-row { margin-top: 14px; }

/* ── City targeting groups ──────────────────────────────────────────────── */
.af-city-section { margin-top: 4px; }
.af-city-groups { display: flex; flex-direction: column; gap: 10px; }
.af-city-group { border: 1px solid rgba(255,255,255,0.07); border-radius: 10px; overflow: hidden; }
.af-city-group-hd {
  padding: 8px 12px; font-size: 12px; font-weight: 700; letter-spacing: 0.05em;
  text-transform: uppercase; color: #888; background: rgba(255,255,255,0.03);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.af-city-group-items {
  max-height: 180px; border: none; border-radius: 0;
  background: transparent; padding: 8px;
}

/* ── Aviso wizard section spacing ─────────────────────────────────────────── */
#adflow-app .af-wstep .af-field-group + .af-field-group { margin-top: 22px; }
#adflow-app .af-wstep .af-field-group:first-of-type { margin-top: 4px; }

/* ── City toggle button ────────────────────────────────────────────────────── */
.af-city-toggle {
  display: flex; justify-content: space-between; align-items: center;
  width: 100%; padding: 10px 12px; background: rgba(255,255,255,0.03);
  border: none; border-bottom: 1px solid rgba(255,255,255,0.06);
  color: #888; font-size: 12px; font-weight: 700; letter-spacing: 0.05em;
  text-transform: uppercase; cursor: pointer; text-align: left;
  transition: background 0.15s;
}
.af-city-toggle:hover { background: rgba(255,45,85,0.07); color: #ccc; }
.af-city-arrow { font-size: 10px; opacity: 0.6; }
.af-city-badge {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--c-red); color: #fff; border-radius: 10px;
  font-size: 10px; font-weight: 700; padding: 1px 6px; margin-left: 6px;
  text-transform: none; letter-spacing: 0;
}

/* ── Debug error block — scrollable pre-formatted for mobile ──────────────── */
.af-alert-error { white-space: pre-wrap; word-break: break-all; font-size: 12px; max-height: 140px; overflow-y: auto; }

/* ══════════════════════════════════════════════════════════════════════════
   Google Sign-In, Forgot/Reset Password
   ══════════════════════════════════════════════════════════════════════════ */

/* "Continue with Google" + divider, shown above the login/register forms */
.af-google-block { margin-bottom: 20px; }

/* Framed slot for the Google-rendered button. Google draws it inside its own
   accounts.google.com iframe, which we can't restyle directly (cross-origin).
   Per spec, a cross-origin iframe only renders transparent when its own
   color-scheme matches its host element's — otherwise the browser fills the
   iframe's canvas with an opaque WHITE background regardless of the button's
   theme param. That's the white box around "Continue as ...". Google's iframe
   doesn't declare dark support, so it defaults to light; setting
   color-scheme: light here (not dark — this deliberately matches Google's
   side, not ours) removes the mismatch and lets the iframe render transparent,
   so our own dark background below shows through instead of white. */
.af-google-btn-slot {
  display: flex; justify-content: center; align-items: center;
  min-height: 46px; width: 100%;
  background: var(--af-surface2);
  border: 1px solid var(--af-border);
  border-radius: 999px;
  padding: 3px;
  overflow: hidden;
  color-scheme: light;
}
.af-google-btn-slot iframe { width: 100% !important; }
.af-auth-divider {
  display: flex; align-items: center; gap: 12px;
  margin: 18px 0; color: var(--af-text3); font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em;
}
.af-auth-divider::before, .af-auth-divider::after {
  content: ''; flex: 1; height: 1px; background: var(--af-border);
}

/* reCAPTCHA v2 checkbox, shown above the submit button on login/register/forgot.
   Same cross-origin-iframe + color-scheme mismatch as the Google slot above —
   theme:'dark' is already passed to grecaptcha.render(), but the iframe's own
   canvas still needs a matching color-scheme to go transparent instead of
   falling back to an opaque white box. Framed like our inputs (surface2 +
   border + radius) so it reads as an intentional part of the form instead of
   a bare widget floating on the page. */
.af-recaptcha-wrap {
  display: flex; justify-content: center; margin-bottom: 18px;
  background: var(--af-surface2);
  border: 1px solid var(--af-border);
  border-radius: var(--af-radius-sm);
  padding: 10px;
  overflow: hidden;
  color-scheme: light;
}
@media (max-width: 480px) {
  .af-recaptcha-wrap { padding: 8px; margin-bottom: 10px; transform: scale(0.92); transform-origin: center top; }
}

/* "Forgot password?" link under the login password field */
.af-forgot-row { display: flex; justify-content: flex-end; margin-top: 8px; }
.af-forgot-link { font-size: 12px; color: var(--af-text2); text-decoration: none; }
.af-forgot-link:hover { color: var(--c-red); text-decoration: underline; }

/* Header shown instead of the Log In / Register tabs while in "forgot" mode */
.af-auth-forgot-head { margin-bottom: 20px; }
.af-back-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; color: var(--af-text2); text-decoration: none; margin-bottom: 12px;
}
.af-back-link:hover { color: var(--c-red); }
.af-auth-forgot-title { font-size: 18px; font-weight: 700; color: var(--c-white); }

/* Helper copy inside forgot/reset forms */
.af-auth-help { color: var(--af-text2); font-size: 13px; line-height: 1.7; margin: 0 0 18px; }
.af-auth-help strong { color: var(--c-white); }

/* ── Standalone Reset Password page (landed on from the email link) ──────── */
.af-reset-page {
  flex: 1; display: flex; align-items: center; justify-content: center;
  padding: 60px 20px; min-height: 70vh;
}
.af-reset-card {
  width: 100%; max-width: 440px;
  background: #07090f; border: 1px solid rgba(255,45,85,0.15);
  border-radius: var(--af-radius-lg); padding: 36px;
  box-shadow: 0 0 60px rgba(255,45,85,0.08), var(--af-shadow-lg);
  position: relative;
}
.af-reset-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--c-red), var(--c-cyan), transparent);
  border-radius: var(--af-radius-lg) var(--af-radius-lg) 0 0;
}
.af-reset-title { font-size: 20px; font-weight: 700; color: var(--c-white); margin-bottom: 20px; }

/* Verifying state */
.af-reset-verifying { text-align: center; padding: 24px 0; }
.af-spinner-lg {
  width: 32px; height: 32px; border-width: 3px;
  margin: 0 auto 16px; border-color: rgba(255,255,255,0.12);
  border-top-color: var(--c-red);
}

@media (max-width: 480px) {
  .af-reset-page { padding: 32px 12px; }
  .af-reset-card { padding: 28px 20px; }
}


/* ── Side-rail buttons (WhatsApp + Ticket) — right-center ───────────────── */
.af-side-btns {
  position: fixed;
  right: 14px;
  top: 55%;                    /* slightly below center avoids chart tabs */
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 1201;
  pointer-events: none; /* container passthrough */
}
/* Clamp so buttons never crowd the very top or bottom of viewport */
@supports (top: clamp(0px, 0px, 0px)) {
  .af-side-btns {
    top: clamp(120px, 55vh, calc(100vh - 200px));
    transform: none;
  }
}

/* WhatsApp button */
.af-fab-wa {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 4px 18px rgba(37,211,102,.5);
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
  pointer-events: all;
  flex-shrink: 0;
}
.af-fab-wa:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37,211,102,.6);
}

/* Support ticket button */
.af-fab-ticket {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffe08a 0%, #fed966 40%, #f7c948 100%);
  color: #fff;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(245,190,60,.5);
  transition: transform .2s, box-shadow .2s;
  pointer-events: all;
  flex-shrink: 0;
}
.af-fab-ticket:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(245,190,60,.6);
}

/* ── FAB wrap — New Campaign only, stays bottom-right ────────────────────── */
/* Override the original fab-wrap to remove multi-button flex layout */
.af-fab-wrap {
  display: block !important;
  position: fixed;
  bottom: 28px;
  right: 20px;
  z-index: 1200;
  pointer-events: none;
}
.af-fab-wrap .af-fab-btn {
  pointer-events: all;
}

/* ── Ticket Chat Box ─────────────────────────────────────────────────────── */
/* Positioned to the LEFT of the side-rail buttons (right:76px = 48px btn + 14px rail + 14px gap) */
.af-ticket-chat {
  position: fixed;
  bottom: 90px;
  right: 76px;
  width: min(400px, calc(100vw - 48px));
  max-height: min(640px, 78vh);
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 12px 48px rgba(0,0,0,.2);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 1199;
  /* This panel is a deliberately light, high-legibility surface floating over
     the dark app shell — same call every chat/support widget makes. Without
     an explicit color-scheme the browser doesn't know that, so on a phone or
     browser set to dark mode it renders native form controls inside (the
     reply textarea below) with their own dark UA background while our CSS
     still puts dark text on top — unreadable. color-scheme is inherited, so
     declaring it once here covers every control in the panel. Same fix
     already used for the Google/reCAPTCHA iframes elsewhere in this file. */
  color-scheme: light;
}
/* Slim brand cap across the top — the same device as the colored top bar on
   dashboard KPI cards (see .af-kpi-v2::before), so the widget reads as part
   of AdFlow rather than a bolted-on generic chat plugin. */
.af-ticket-chat::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--af-primary), var(--af-primary2));
}
@keyframes af-tc-in {
  from { opacity:0; transform:translateY(10px) scale(.97); }
  to   { opacity:1; transform:translateY(0)  scale(1); }
}
/* Entrance "pop in" animation — only applied by JS on the actual open
   transition (see af-tc-animate-in below), never as part of the base panel
   style. render() fully rebuilds #adflow-app on every click, so if this
   lived on .af-ticket-chat/.af-ann-panel directly it would replay on every
   re-render while the panel stayed open, reading as a rapid "blink". */
.af-tc-animate-in { animation: af-tc-in .2s ease; }

.af-tc-close {
  background: none;
  border: none;
  color: rgba(255,255,255,.8);
  font-size: 20px;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  margin-left: auto;
  transition: color .15s;
}
.af-tc-close:hover { color: #fff; }
.af-tc-back {
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(255,255,255,.85);
  font-size: 20px;
  padding: 0;
  line-height: 1;
  flex-shrink: 0;
  transition: color .15s;
}
.af-tc-back:hover { color: #fff; }

.af-tc-body {
  flex: 1;
  overflow-y: auto;
  min-height: 80px;
}
.af-tc-body::-webkit-scrollbar { width: 4px; }
.af-tc-body::-webkit-scrollbar-thumb { background: #e4e7ec; border-radius: 4px; }

.af-tc-foot {
  border-top: 1px solid #f1f5f9;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  flex-shrink: 0;
}
.af-ticket-row { transition: background .15s; }

/* ── Responsive tweaks ───────────────────────────────────────────────────── */
@media (max-width: 480px) {
  .af-side-btns { right: 10px; }
  .af-ticket-chat {
    left: 10px;
    right: 10px;
    width: auto;
    bottom: 14px;
    max-height: 82vh;
    border-radius: 20px;
  }
  .af-fab-wrap { right: 14px; bottom: 20px; }
}

/* ── Bell button (announcements) ─────────────────────────────────────────── */
.af-fab-bell {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #22e0b4 0%, #00c896 100%);
  color: #fff;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(0,200,150,.45);
  transition: transform .2s, box-shadow .2s;
  pointer-events: all;
  flex-shrink: 0;
  position: relative;
}
.af-fab-bell:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(0,200,150,.55);
}

/* ── Unread count badge (shared by bell + ticket button) ─────────────────── */
.af-side-badge {
  position: absolute;
  top: -3px;
  right: -3px;
  background: #dc2626;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border: 2px solid #fff;
  pointer-events: none;
}
/* Ticket button needs relative positioning for badge */
.af-fab-ticket { position: relative; }
.af-fab-bell   { position: relative; }

/* ── Toast notification ──────────────────────────────────────────────────── */
.af-toast {
  position: fixed;
  bottom: 90px;
  left: 50%;
  transform: translateX(-50%);
  background: #1e1e2e;
  color: #fff;
  border-radius: 12px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 32px rgba(0,0,0,.35);
  z-index: 1300;
  min-width: 260px;
  max-width: calc(100vw - 80px);
  animation: af-toast-in .25s ease;
  pointer-events: all;
}
@keyframes af-toast-in {
  from { opacity:0; transform:translateX(-50%) translateY(10px); }
  to   { opacity:1; transform:translateX(-50%) translateY(0);    }
}
.af-toast-ico  { font-size: 18px; flex-shrink: 0; }
.af-toast-text { font-size: 13px; font-weight: 500; flex: 1; line-height: 1.3; }
.af-toast-open {
  background: #4f46e5;
  color: #fff;
  border: none;
  border-radius: 7px;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  flex-shrink: 0;
  white-space: nowrap;
}
.af-toast-x {
  background: none;
  border: none;
  color: rgba(255,255,255,.5);
  font-size: 18px;
  cursor: pointer;
  line-height: 1;
  padding: 0;
  flex-shrink: 0;
  transition: color .15s;
}
.af-toast-x:hover { color: #fff; }

/* ── Announcements panel ─────────────────────────────────────────────────── */
.af-ann-panel {
  position: fixed;
  bottom: 90px;
  right: 76px;
  width: min(400px, calc(100vw - 48px));
  max-height: min(640px, 78vh);
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 12px 48px rgba(0,0,0,.2);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 1198;
}
.af-ann-item  { transition: opacity .15s; }
.af-ann-read  { opacity: .7; }

/* Gradient header, modeled on the teal "What's new" reference panel */
.af-ann-head {
  background: linear-gradient(115deg, #2ee6b8 0%, #04b189 100%);
  color: #fff;
  padding: 18px 18px 16px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  flex-shrink: 0;
  border-radius: 16px 16px 0 0;
}
.af-ann-head-title {
  font-weight: 800;
  font-size: 16px;
  line-height: 1.3;
  flex: 1;
  min-width: 0;
}
.af-ann-head .af-tc-close { color: rgba(255,255,255,.85); font-size: 22px; }
.af-ann-head .af-tc-close:hover { color: #fff; }
.af-ann-markall {
  background: rgba(255,255,255,.22);
  border: none;
  color: #fff;
  padding: 4px 11px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
}
.af-ann-markall:hover { background: rgba(255,255,255,.32); }

.af-ann-badge-new {
  display: inline-block;
  background: #ff5f85;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .3px;
  padding: 2px 9px;
  border-radius: 20px;
  flex-shrink: 0;
}
.af-ann-card {
  padding: 14px 2px;
  border-bottom: 1px solid #f1f5f9;
}
.af-ann-card:last-child { border-bottom: none; }
.af-ann-meta   { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.af-ann-date   { font-size: 11px; color: #9ca3af; font-weight: 600; }
.af-ann-title  { font-size: 14px; font-weight: 800; color: #4338ca; line-height: 1.35; margin-bottom: 4px; }
.af-ann-title.af-ann-title-read { color: #374151; }
.af-ann-body   { font-size: 12.5px; color: #4b5563; line-height: 1.55; }
.af-ann-body p { margin: 0 0 8px; }
.af-ann-body p:last-child { margin-bottom: 0; }
.af-ann-body a { color: #4f46e5; text-decoration: underline; }
.af-ann-body strong, .af-ann-body b { font-weight: 700; color: #374151; }
.af-ann-body ul, .af-ann-body ol { margin: 4px 0 4px 18px; padding: 0; }
.af-ann-body li { margin-bottom: 2px; }
.af-ann-body blockquote { margin: 6px 0; padding-left: 10px; border-left: 3px solid #e4e7ec; color: #6b7280; }
.af-ann-body code { background: #f3f4f6; padding: 1px 5px; border-radius: 4px; font-size: 11.5px; font-family: 'JetBrains Mono', monospace; }
.af-ann-body h1, .af-ann-body h2, .af-ann-body h3 { font-size: 13.5px; font-weight: 800; color: #111827; margin: 6px 0 3px; }

/* ── Generic avatar cluster (support-team placeholder, no real photos) ─────
   Namespaced as .af-tw-avatar (ticket-widget) so it never collides with the
   unrelated profile-header .af-avatar used elsewhere in the app. ────────── */
.af-avatar-cluster { display: flex; align-items: center; flex-shrink: 0; }
.af-avatar-cluster .af-tw-avatar {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2c3244, #171a22);
  border: 2px solid #fff;
  display: flex; align-items: center; justify-content: center;
  margin-left: -11px;
  box-shadow: 0 1px 3px rgba(0,0,0,.18);
  flex-shrink: 0;
  cursor: default;
}
.af-avatar-cluster .af-tw-avatar:first-child { margin-left: 0; }
.af-avatar-cluster.af-avatar-sm .af-tw-avatar { width: 25px; height: 25px; margin-left: -8px; border-width: 1.5px; }

/* ── Ticket widget: Home screen ────────────────────────────────────────────── */
.af-th-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 16px 0;
  flex-shrink: 0;
}
.af-th-head .af-tc-close { color: #9ca3af; font-size: 22px; }
.af-th-head .af-tc-close:hover { color: #111827; }
.af-th-body { padding: 6px 18px 16px; flex: 1; overflow-y: auto; }
.af-th-greet {
  font-size: 18px; font-weight: 800; color: #111827;
  line-height: 1.35; margin: 16px 0 18px;
}
.af-th-cta {
  display: flex; align-items: center; gap: 10px;
  background: #fff; border: 1px solid #eef0f3; border-radius: 14px;
  padding: 13px 14px; cursor: pointer; width: 100%; text-align: left;
  box-shadow: 0 2px 10px rgba(17,24,39,.07);
  transition: box-shadow .15s, transform .15s;
}
.af-th-cta:hover { box-shadow: 0 5px 18px rgba(17,24,39,.12); transform: translateY(-1px); }
.af-th-cta-text  { flex: 1; min-width: 0; }
.af-th-cta-title { font-size: 13.5px; font-weight: 700; color: #111827; }
.af-th-cta-sub   { font-size: 11.5px; color: #9ca3af; margin-top: 2px; }
.af-th-cta-arrow {
  width: 30px; height: 30px; border-radius: 50%;
  background: linear-gradient(135deg, var(--af-primary), var(--af-primary2));
  color: #fff;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}

/* ── Ticket widget: Messages tab ───────────────────────────────────────────── */
.af-tm-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px; border-bottom: 1px solid #f1f5f9; flex-shrink: 0;
}
.af-tm-head-title { font-size: 14px; font-weight: 800; color: #111827; }
.af-tm-newbtn {
  width: 30px; height: 30px; border-radius: 50%;
  background: #f1f5f9; border: none; color: #111827;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; flex-shrink: 0; transition: background .15s;
}
.af-tm-newbtn:hover { background: #e4e7ec; }
.af-tm-head .af-tc-close:hover { color: #111827; }

/* ── Ticket widget: Thread / compose header (white, replaces indigo bar) ──── */
.af-tc-thread-head {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px; flex-shrink: 0;
  border-bottom: 1px solid #f1f5f9;
}
.af-tc-thread-head .af-tc-back  { color: #6b7280; }
.af-tc-thread-head .af-tc-back:hover  { color: #111827; }
.af-tc-thread-head .af-tc-close { color: #9ca3af; font-size: 20px; }
.af-tc-thread-head .af-tc-close:hover { color: #111827; }
.af-tc-thread-name {
  font-size: 13.5px; font-weight: 800; color: #111827; line-height: 1.25;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.af-tc-thread-sub {
  font-size: 11px; color: #9ca3af; margin-top: 2px;
  display: flex; align-items: center; gap: 4px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ── Ticket widget: message composer (pill input, bottom of thread) ───────── */
.af-tc-composer {
  border: 1.5px solid #e4e7ec; border-radius: 16px;
  padding: 10px 12px 8px; margin: 0;
  display: flex; flex-direction: column; gap: 6px;
  background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
/* focus-within, not :focus — the focusable element is the textarea one
   level down, not this wrapper pill itself. */
.af-tc-composer:focus-within {
  border-color: var(--af-primary);
  box-shadow: 0 0 0 3px rgba(108,127,255,.14);
}
.af-tc-composer textarea {
  border: none; outline: none; resize: none;
  font-family: inherit; font-size: 13px; color: #111827;
  padding: 0; line-height: 1.4; max-height: 90px; overflow-y: auto;
  /* Explicit background — this is the fix for the "can't see what I'm
     typing" bug. A bare <textarea> with only a text color set (no
     background) takes the browser/OS default native background, which is
     dark on a device in dark mode — dark text on a dark field. */
  background: #fff;
}
.af-tc-composer textarea::placeholder { color: #9ca3af; }
.af-tc-composer-row { display: flex; align-items: center; gap: 10px; }
.af-tc-composer-attach {
  cursor: pointer; color: #9ca3af; display: flex; align-items: center;
  flex-shrink: 0; transition: color .15s;
}
.af-tc-composer-attach:hover { color: #6b7280; }
.af-tc-composer-send {
  margin-left: auto; width: 30px; height: 30px; border-radius: 50%;
  background: linear-gradient(135deg, var(--af-primary), var(--af-primary2));
  color: #fff; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  transition: filter .15s, transform .15s;
}
.af-tc-composer-send:hover:not(:disabled) { filter: brightness(1.1); transform: scale(1.06); }
.af-tc-composer-send:disabled { background: #d1d5db; cursor: default; }

/* ── Bottom tab bar (Home / Messages) ──────────────────────────────────────── */
.af-tt-tabs {
  display: flex; border-top: 1px solid #f1f5f9; flex-shrink: 0; background: #fff;
}
.af-tt-tab {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 9px 4px 10px; background: none; border: none; cursor: pointer;
  color: #9ca3af; font-size: 10.5px; font-weight: 700;
  transition: color .15s;
}
.af-tt-tab:hover { color: #4b5563; }
.af-tt-tab.af-tt-active { color: #111827; }
.af-tt-tab-ico { position: relative; display: flex; }
.af-tt-tab-badge {
  position: absolute; top: -5px; right: -7px;
  background: #dc2626; color: #fff; font-size: 9px; font-weight: 800;
  min-width: 15px; height: 15px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  padding: 0 3px; border: 1.5px solid #fff;
}

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 480px) {
  .af-ann-panel {
    left: 10px;
    right: 10px;
    width: auto;
    bottom: 14px;
    max-height: 82vh;
    border-radius: 20px;
  }
  .af-toast { bottom: 78px; }
}

/* ════════════════════════════════════════════════════════════════════════
   AdFlow v1.4.12 — HOMEPAGE REDESIGN (guest nav + home + footer only)
   ════════════════════════════════════════════════════════════════════════
   Scope: .af-nav (guest top nav), .af-home (renderHome), .af-footer.
   None of these classes are shared with the logged-in sidebar/dashboard —
   verified against adflow.js before writing this block — so nothing below
   touches checkout, wallet, campaigns, or any other authenticated screen.

   Appended at end-of-file on purpose rather than edited in place: this file
   already has an earlier "cyber theme" :root block further up that silently
   overrides the original indigo :root above it (that's why the live site
   renders red/cyan, not the indigo the top of the file suggests). Rather
   than perform surgery on that cascade, this block defines its own
   `--afh-*` (AdFlow Home) tokens, uses only new/exclusive class names, and
   scopes the one genuinely shared element (.af-logo-mark) with descendant
   selectors — so it can't collide with or get silently overridden by
   anything above it, and can be deleted wholesale to revert.

   Known tradeoff: the old .af-orb / .af-hero-pill / .af-feature-card rules
   above are now unused dead CSS (nothing in the new markup has those
   classes anymore). Harmless — just flagging it, same as the pre-existing
   unused adflow_base.css. Happy to clean both up in a separate pass.
   ════════════════════════════════════════════════════════════════════════ */

:root {
  --afh-ink: #0A0D10; --afh-panel: #12161B; --afh-panel-2: #171C22;
  --afh-line: #232B33; --afh-line-soft: rgba(35,43,51,.55);
  --afh-paper: #ECE8DF; --afh-text2: #9AA3AC; --afh-text3: #5B6570;
  --afh-signal: #FF7A1A; --afh-signal-2: #FFB066;
  --afh-live: #3DDC84; --afh-live-dim: rgba(61,220,132,.15);
  --afh-radius-sm: 8px; --afh-radius: 12px; --afh-radius-lg: 20px;
  --afh-shadow: 0 20px 60px -20px rgba(0,0,0,.65);
  --afh-ease: cubic-bezier(.4,0,.2,1);
}

/* ── shared bits ─────────────────────────────────────────────────────── */
.af-eyebrow-sm{
  font-family:'IBM Plex Mono',monospace; font-size:11px; font-weight:600;
  letter-spacing:.14em; text-transform:uppercase; color:var(--afh-signal);
  display:inline-flex; align-items:center; gap:8px; margin-bottom:12px;
}
.af-eyebrow-dot{
  width:6px; height:6px; border-radius:50%; background:var(--afh-live);
  box-shadow:0 0 0 3px var(--afh-live-dim);
  animation:afh-pulse 1.8s var(--afh-ease) infinite; display:inline-block;
}
@keyframes afh-pulse{0%,100%{opacity:1;transform:scale(1);}50%{opacity:.55;transform:scale(.8);}}

.af-home-btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  border-radius:var(--afh-radius-sm); font-family:'IBM Plex Sans',sans-serif;
  font-size:14px; font-weight:600; padding:11px 20px; border:1px solid transparent;
  transition:all .18s var(--afh-ease); white-space:nowrap; cursor:pointer;
}
.af-home-btn-signal{background:var(--afh-signal); color:#1A0D04;}
.af-home-btn-signal:hover{background:var(--afh-signal-2); transform:translateY(-1px);}
.af-home-btn-outline{background:transparent; color:var(--afh-paper); border-color:var(--afh-line);}
.af-home-btn-outline:hover{border-color:var(--afh-signal); color:var(--afh-signal);}
.af-home-btn-lg{padding:15px 26px; font-size:15px;}
.af-home-btn-full{width:100%;}

.af-home-section-head{max-width:560px; margin:0 auto 48px; text-align:center;}

/* ── guest nav ────────────────────────────────────────────────────────── */
.af-nav{
  /* height/position are enforced by adflow_layout_fix.css (loads after this
     file): position:relative + height:64px !important, since #adflow-app is
     itself a fixed full-viewport shell — .af-nav doesn't need to be sticky.
     Matching 64px here so this file's own box-sizing math lines up. */
  z-index:100; height:64px;
  background:rgba(10,13,16,.86); backdrop-filter:blur(14px);
  border-bottom:1px solid var(--afh-line-soft); font-family:'IBM Plex Sans',sans-serif;
}
.af-nav::before{
  content:''; position:absolute; top:0; left:0; right:0; height:2px;
  background:linear-gradient(90deg, transparent, var(--afh-signal), transparent);
}
.af-nav-inner{
  max-width:1180px; margin:0 auto; padding:0 24px; height:64px;
  display:flex; align-items:center; justify-content:space-between; gap:20px;
}
.af-nav .af-logo{display:flex; align-items:center; gap:10px; cursor:pointer;}
.af-nav .af-logo-mark, .af-footer .af-logo-mark{
  background:var(--afh-panel-2); border:1px solid var(--afh-line); border-radius:8px; position:relative;
}
.af-nav .af-logo-mark{width:30px; height:30px;}
.af-footer .af-logo-mark{width:22px; height:22px; border-radius:6px;}
.af-nav .af-logo-mark::before, .af-nav .af-logo-mark::after,
.af-footer .af-logo-mark::before, .af-footer .af-logo-mark::after{content:''; position:absolute; width:6px; height:6px;}
.af-nav .af-logo-mark::before, .af-footer .af-logo-mark::before{top:4px; left:4px; border-top:1.5px solid var(--afh-signal); border-left:1.5px solid var(--afh-signal);}
.af-nav .af-logo-mark::after, .af-footer .af-logo-mark::after{bottom:4px; right:4px; border-bottom:1.5px solid var(--afh-signal); border-right:1.5px solid var(--afh-signal);}
.af-nav .af-logo-text{font-family:'Space Grotesk',sans-serif; font-weight:700; font-size:18px; color:var(--afh-paper);}
.af-nav-center{display:flex; align-items:center; gap:4px;}
.af-nav-link{
  font-family:'IBM Plex Sans',sans-serif; font-size:14px; font-weight:500; color:var(--afh-text2);
  padding:8px 14px; border-radius:var(--afh-radius-sm); transition:color .15s, background .15s;
  background:none; border:none; cursor:pointer;
}
.af-nav-link:hover, .af-nav-link.active{color:var(--afh-paper); background:var(--afh-panel-2);}
.af-nav-right{display:flex; align-items:center; gap:8px;}
.af-nav-mobile-btn{
  display:none; background:none; border:none; padding:8px; cursor:pointer;
  flex-direction:column; gap:4px; color:var(--afh-paper);
}
.af-nav-mobile-menu{
  display:none; flex-direction:column; padding:8px 24px 20px; gap:2px;
  border-bottom:1px solid var(--afh-line-soft); background:var(--afh-ink);
}
.af-nav-mobile-menu.af-nav-mobile-open{display:flex;}
.af-nav-mobile-link{
  padding:12px 4px; font-size:15px; color:var(--afh-text2); border-bottom:1px solid var(--afh-line-soft); display:block;
}
.af-nav-mobile-link.active{color:var(--afh-signal);}
.af-nav-mobile-actions{display:flex; flex-direction:column; gap:10px; margin-top:14px;}
.af-nav-mobile-actions .af-nav-link{text-align:left;}

/* ── home wrapper + hero ─────────────────────────────────────────────── */
.af-home{background:var(--afh-ink); font-family:'IBM Plex Sans',sans-serif; color:var(--afh-paper);}
.af-home h1, .af-home h2, .af-home h3{font-family:'Space Grotesk',sans-serif; font-weight:600; letter-spacing:-.01em; color:var(--afh-paper);}

.af-hero{position:relative; overflow:hidden; padding:72px 24px 96px;}
.af-home-glow{
  position:absolute; top:-180px; left:50%; transform:translateX(-50%);
  width:900px; height:500px; pointer-events:none;
  background:radial-gradient(closest-side, rgba(255,122,26,.10), transparent 72%);
}
.af-home-dotgrid{
  position:absolute; inset:0; pointer-events:none; opacity:.5;
  background-image:radial-gradient(var(--afh-line) 1px, transparent 1px);
  background-size:26px 26px;
  -webkit-mask-image:linear-gradient(180deg, black, transparent 75%);
  mask-image:linear-gradient(180deg, black, transparent 75%);
}
.af-hero-inner{
  position:relative; max-width:1180px; margin:0 auto;
  display:grid; grid-template-columns:1fr 420px; gap:56px; align-items:center;
}
.af-hero-eyebrow{
  font-family:'IBM Plex Mono',monospace; font-size:11px; font-weight:600; letter-spacing:.14em;
  text-transform:uppercase; color:var(--afh-signal); display:inline-flex; align-items:center; gap:8px;
}
.af-hero-title{font-size:clamp(34px,4.6vw,54px); line-height:1.06; margin:18px 0 20px;}
.af-hero-accent{color:var(--afh-signal);}
.af-hero-sub{font-family:'IBM Plex Sans',sans-serif; font-size:16px; color:var(--afh-text2); max-width:460px; margin-bottom:32px; line-height:1.6;}
.af-hero-actions{display:flex; gap:12px; flex-wrap:wrap; margin-bottom:40px;}
.af-hero-stats{display:flex; gap:28px; flex-wrap:wrap;}
.af-hero-stat{display:flex; flex-direction:column; gap:2px;}
.af-stat-num{font-family:'Space Grotesk',sans-serif; font-size:22px; font-weight:700; color:var(--afh-paper);}
.af-stat-lbl{font-size:11px; color:var(--afh-text3); font-family:'IBM Plex Mono',monospace; letter-spacing:.03em; text-transform:uppercase;}
.af-hero-stat-sep{display:none;}

/* delivery board */
.af-hero-board{
  background:var(--afh-panel); border:1px solid var(--afh-line); border-radius:var(--afh-radius-lg);
  box-shadow:var(--afh-shadow); overflow:hidden; position:relative;
}
.af-board-head{
  display:flex; align-items:center; justify-content:space-between;
  padding:16px 18px; border-bottom:1px solid var(--afh-line);
}
.af-board-title{font-family:'IBM Plex Mono',monospace; font-size:11px; font-weight:600; letter-spacing:.12em; color:var(--afh-text2); text-transform:uppercase;}
.af-board-live{display:flex; align-items:center; gap:7px; font-family:'IBM Plex Mono',monospace; font-size:11px; font-weight:600; color:var(--afh-live); letter-spacing:.08em; text-transform:uppercase;}
.af-board-rows{padding:6px 10px;}
.af-board-row{
  display:grid; grid-template-columns:22px 1fr auto 8px; align-items:center; gap:10px;
  padding:11px 8px; border-radius:8px; transition:background .3s;
}
.af-board-row.is-active{background:var(--afh-panel-2);}
.af-row-flag{font-size:15px;}
.af-row-country{font-size:13.5px; color:var(--afh-paper); font-weight:500; font-family:'IBM Plex Sans',sans-serif;}
.af-row-count{font-family:'IBM Plex Mono',monospace; font-size:13px; color:var(--afh-text2); transition:color .2s;}
.af-row-count.bump{color:var(--afh-signal-2);}
.af-row-dot{width:6px; height:6px; border-radius:50%; background:var(--afh-line);}
.af-board-row.is-active .af-row-dot{background:var(--afh-live); box-shadow:0 0 0 3px var(--afh-live-dim);}
.af-board-foot{
  padding:10px 18px 14px; font-size:11px; color:var(--afh-text3); font-style:italic;
  border-top:1px solid var(--afh-line-soft); font-family:'IBM Plex Sans',sans-serif;
}

/* ── section shells ──────────────────────────────────────────────────── */
.af-home-services, .af-home-how, .af-home-features, .af-home-testimonials, .af-home-faq{padding:88px 24px;}
.af-home-services, .af-home-features{background:var(--afh-panel); border-top:1px solid var(--afh-line-soft); border-bottom:1px solid var(--afh-line-soft);}
.af-home-services-inner, .af-home-how-inner, .af-home-features-inner, .af-home-testimonials-inner, .af-home-faq-inner{max-width:1180px; margin:0 auto;}
.af-home .af-section-title{font-size:clamp(24px,3vw,32px); margin:0;}
.af-home .af-section-sub{color:var(--afh-text2); margin-top:10px; font-size:15px; font-family:'IBM Plex Sans',sans-serif;}

/* services */
.af-services-preview-grid{display:grid; grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); gap:20px; max-width:900px; margin:0 auto;}
.af-services-viewall{text-align:center; margin-top:28px;}
.af-service-preview-card{
  background:var(--afh-ink); border:1px solid var(--afh-line); border-radius:var(--afh-radius-lg);
  padding:28px; display:flex; flex-direction:column; gap:14px; transition:border-color .2s, transform .2s;
}
.af-service-preview-card:hover{border-color:var(--afh-signal); transform:translateY(-3px);}
.af-spc-top{display:flex; align-items:center; justify-content:space-between;}
.af-spc-icon{
  width:44px; height:44px; border-radius:10px; background:var(--afh-panel-2); border:1px solid var(--afh-line);
  display:flex; align-items:center; justify-content:center; font-size:20px;
}
.af-spc-price{font-family:'IBM Plex Mono',monospace; font-size:14px; font-weight:600; color:var(--afh-signal);}
.af-spc-price span{color:var(--afh-text3); font-weight:400;}
.af-spc-name{font-family:'Space Grotesk',sans-serif; font-weight:600; font-size:18px; color:var(--afh-paper);}
.af-spc-desc{font-size:13.5px; color:var(--afh-text2); flex:1; line-height:1.6;}

/* how it works */
.af-how-steps-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:0;}
.af-how-step{padding:0 20px; position:relative;}
.af-how-step:not(:last-child)::after{
  content:''; position:absolute; top:14px; right:-2px; width:calc(100% - 20px); height:1px;
  background:repeating-linear-gradient(90deg, var(--afh-line) 0 6px, transparent 6px 12px);
}
.af-how-num{font-family:'IBM Plex Mono',monospace; font-size:13px; font-weight:600; color:var(--afh-signal); display:block; margin-bottom:14px;}
.af-how-step h3{font-size:15.5px; margin-bottom:8px;}
.af-how-step p{font-size:13px; color:var(--afh-text2); line-height:1.6;}

/* why AdFlow — spec grid */
.af-spec-grid{display:grid; grid-template-columns:repeat(3,1fr); border:1px solid var(--afh-line); border-radius:var(--afh-radius-lg); overflow:hidden;}
.af-spec-item{padding:26px 24px; border-right:1px solid var(--afh-line); border-bottom:1px solid var(--afh-line);}
.af-spec-item:nth-child(3n){border-right:none;}
.af-spec-item:nth-last-child(-n+3){border-bottom:none;}
.af-spec-label{
  font-family:'IBM Plex Mono',monospace; font-size:11px; font-weight:600; letter-spacing:.1em; text-transform:uppercase;
  color:var(--afh-signal); display:block; margin-bottom:10px;
}
.af-spec-item p{font-size:13.5px; color:var(--afh-text2); line-height:1.6;}

/* testimonials */
.af-testimonials-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:20px;}
.af-testimonial-card{
  background:var(--afh-panel); border:1px solid var(--afh-line); border-radius:var(--afh-radius-lg);
  padding:26px; display:flex; flex-direction:column; gap:16px;
}
.af-testimonial-stars{color:var(--afh-signal); font-size:14px; letter-spacing:2px;}
.af-testimonial-text{font-size:14px; color:var(--afh-text2); line-height:1.65;}
.af-testimonial-author{display:flex; align-items:center; gap:12px;}
.af-testimonial-avatar{
  width:38px; height:38px; border-radius:50%; flex-shrink:0;
  background:var(--afh-panel-2); border:1px solid var(--afh-signal);
  display:flex; align-items:center; justify-content:center;
  font-family:'Space Grotesk',sans-serif; font-weight:700; font-size:14px; color:var(--afh-signal);
}
.af-testimonial-name{font-size:13.5px; font-weight:600; color:var(--afh-paper);}
.af-testimonial-loc{font-size:12px; color:var(--afh-text3);}

/* FAQ */
.af-home-faq-inner{max-width:760px;}
.af-faq-list{border-top:1px solid var(--afh-line-soft);}
.af-faq-item{border-bottom:1px solid var(--afh-line-soft);}
.af-faq-q{
  display:flex; justify-content:space-between; align-items:center; gap:16px;
  padding:19px 4px; font-size:14.5px; font-weight:500; color:var(--afh-paper); cursor:pointer;
}
.af-faq-chevron{font-size:18px; color:var(--afh-text3); transition:transform .25s, color .2s; flex-shrink:0;}
.af-faq-a{max-height:0; overflow:hidden; transition:max-height .3s var(--afh-ease);}
.af-faq-a p{font-size:13.5px; color:var(--afh-text2); padding:0 4px 20px; line-height:1.65;}
.af-faq-item.af-faq-open .af-faq-a{max-height:240px;}
.af-faq-item.af-faq-open .af-faq-chevron{transform:rotate(90deg); color:var(--afh-signal);}
.af-faq-item.af-faq-open .af-faq-q{color:var(--afh-signal);}

/* CTA */
.af-home-cta{
  text-align:center; padding:80px 24px;
  background:linear-gradient(180deg, rgba(255,122,26,.07), transparent 60%);
  border-top:1px solid var(--afh-line-soft);
}
.af-home-cta-inner{max-width:640px; margin:0 auto;}
.af-home-cta h2{font-family:'Space Grotesk',sans-serif; font-size:clamp(24px,3vw,32px); margin-bottom:12px; color:var(--afh-paper);}
.af-home-cta p{color:var(--afh-text2); margin-bottom:30px; font-size:15px; font-family:'IBM Plex Sans',sans-serif;}
.af-cta-badges{display:flex; gap:10px; justify-content:center; flex-wrap:wrap; margin-top:22px;}
.af-cta-badge{
  font-family:'IBM Plex Mono',monospace; font-size:11.5px; color:var(--afh-text3);
  border:1px solid var(--afh-line); border-radius:20px; padding:6px 13px;
}

/* ── footer ───────────────────────────────────────────────────────────── */
.af-footer{padding:36px 24px; border-top:1px solid var(--afh-line-soft); background:var(--afh-panel); font-family:'IBM Plex Sans',sans-serif;}
.af-footer-top{max-width:1180px; margin:0 auto; display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:16px;}
.af-footer-brand{display:flex; align-items:center; gap:10px; font-family:'Space Grotesk',sans-serif; font-weight:700; font-size:15px; color:var(--afh-paper);}
.af-footer-links{display:flex; gap:22px; flex-wrap:wrap;}
.af-footer-link{font-size:13px; color:var(--afh-text2);}
.af-footer-link:hover{color:var(--afh-paper);}
.af-footer-bottom{max-width:1180px; margin:16px auto 0; padding-top:16px; border-top:1px solid var(--afh-line-soft);}
.af-footer-copy{font-size:12.5px; color:var(--afh-text3);}

/* ── responsive ───────────────────────────────────────────────────────── */
@media (max-width:900px){
  .af-hero-inner{grid-template-columns:1fr; gap:40px;}
  .af-hero-board{max-width:480px;}
  .af-how-steps-grid{grid-template-columns:1fr 1fr; row-gap:32px;}
  .af-how-step:nth-child(2)::after{display:none;}
  .af-spec-grid{grid-template-columns:1fr 1fr;}
  .af-spec-item:nth-child(3n){border-right:1px solid var(--afh-line);}
  .af-spec-item:nth-child(2n){border-right:none;}
  .af-spec-item:nth-last-child(-n+3){border-bottom:1px solid var(--afh-line);}
  .af-spec-item:nth-last-child(-n+2){border-bottom:none;}
  .af-testimonials-grid{grid-template-columns:1fr 1fr;}
}
@media (max-width:700px){
  .af-nav-center, .af-nav-right{display:none;}
  .af-nav-mobile-btn{display:flex;}
  .af-services-preview-grid{grid-template-columns:1fr;}
  .af-how-steps-grid{grid-template-columns:1fr; gap:24px;}
  .af-how-step::after{display:none;}
  .af-spec-grid{grid-template-columns:1fr;}
  .af-spec-item{border-right:none !important; border-bottom:1px solid var(--afh-line) !important;}
  .af-spec-item:last-child{border-bottom:none !important;}
  .af-testimonials-grid{grid-template-columns:1fr;}
  .af-hero{padding:48px 24px 64px;}
  .af-home-services, .af-home-how, .af-home-features, .af-home-testimonials, .af-home-faq{padding:64px 24px;}
  .af-home-cta{padding:64px 20px;}
  .af-hero-stats{gap:20px;}
}
@media (max-width:480px){
  .af-hero-title{font-size:32px;}
  .af-board-row{grid-template-columns:20px 1fr auto 8px;}
  .af-row-country{font-size:12.5px;}
}
@media (prefers-reduced-motion:reduce){
  .af-eyebrow-dot{animation-duration:.01ms !important;}
}
