/* ============================================================================
 * AfaghCloud Design System (afc-*)
 * Light-first, RTL/Persian design system: tokens, primitives, components.
 * Designed & developed by Global Web.
 * ==========================================================================*/

/* ----------------------------------------------------------------------------
 * 1. Design tokens — single source of truth
 * --------------------------------------------------------------------------*/
:root{
  /* Brand (one blue system, no purple) */
  --afc-brand:#2563eb;          /* primary 600 */
  --afc-brand-strong:#1d4ed8;   /* hover 700 */
  --afc-brand-deep:#1e3a8a;     /* 900 */
  --afc-brand-bright:#3b82f6;   /* 500 */
  --afc-brand-tint:#eff6ff;     /* 50 surface */
  --afc-brand-tint-2:#dbeafe;   /* 100 */

  /* Neutrals / ink */
  --afc-canvas:#f6f8fc;         /* page background */
  --afc-surface:#ffffff;        /* cards / panels */
  --afc-surface-2:#f8fafc;      /* nested / subtle fill */
  --afc-ink:#0f172a;            /* primary text */
  --afc-ink-2:#334155;          /* strong body */
  --afc-muted:#64748b;          /* secondary text (AA on white) */
  --afc-faint:#94a3b8;          /* tertiary / placeholder */
  --afc-line:#e5e9f1;           /* hairline borders */
  --afc-line-soft:#eef2f8;      /* dividers */

  /* Semantic */
  --afc-success:#059669;
  --afc-success-tint:#ecfdf5;
  --afc-warning:#d97706;
  --afc-warning-tint:#fffbeb;
  --afc-danger:#dc2626;
  --afc-danger-tint:#fef2f2;
  --afc-info:#2563eb;
  --afc-info-tint:#eff6ff;

  /* Dark surfaces (used strategically: stats / infra showcase only) */
  --afc-dark:#0b1220;
  --afc-dark-2:#0f1a33;
  --afc-on-dark:#e8eefc;
  --afc-on-dark-mut:#9fb2d4;
  --afc-on-dark-line:rgba(255,255,255,.10);

  /* Radius scale */
  --afc-r-sm:8px;
  --afc-r-md:12px;
  --afc-r-lg:16px;
  --afc-r-xl:20px;
  --afc-r-2xl:24px;
  --afc-r-pill:999px;

  /* Elevation — restrained, hairline-first */
  --afc-shadow-xs:0 1px 2px rgba(16,33,71,.05);
  --afc-shadow-sm:0 2px 6px rgba(16,33,71,.06);
  --afc-shadow-md:0 8px 24px -12px rgba(16,33,71,.18);
  --afc-shadow-lg:0 20px 48px -20px rgba(16,33,71,.24);
  --afc-shadow-brand:0 16px 36px -16px rgba(37,99,235,.45);

  /* Spacing rhythm (4/8) */
  --afc-s1:.25rem; --afc-s2:.5rem; --afc-s3:.75rem; --afc-s4:1rem;
  --afc-s5:1.25rem; --afc-s6:1.5rem; --afc-s8:2rem; --afc-s10:2.5rem;
  --afc-s12:3rem; --afc-s16:4rem; --afc-s20:5rem; --afc-s24:6rem;

  /* Layout */
  --afc-container:1320px;
  --afc-header-h:76px;

  /* Motion */
  --afc-ease:cubic-bezier(.22,1,.36,1);
  --afc-dur:.2s;

  /* Focus ring — one consistent, accessible ring everywhere */
  --afc-focus:0 0 0 3px rgba(37,99,235,.32);

  /* Type */
  --afc-font:'Vazirmatn', ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ----------------------------------------------------------------------------
 * 2. Base / primitives
 * --------------------------------------------------------------------------*/
.afc{ font-family:var(--afc-font); }

/* Container */
.afc-container{
  width:100%;
  max-width:var(--afc-container);
  margin-inline:auto;
  padding-inline:1rem;
}
@media (min-width:1024px){ .afc-container{ padding-inline:2rem; } }

/* Section rhythm */
.afc-section{ padding-block:clamp(3.5rem,6vw,6rem); position:relative; }
.afc-section--tight{ padding-block:clamp(2.5rem,4vw,4rem); }
.afc-section--canvas{ background:var(--afc-canvas); }
.afc-section--surface{ background:var(--afc-surface); }

/* Section heading block */
.afc-sec-head{ max-width:46rem; margin-bottom:clamp(2rem,4vw,3rem); }
.afc-sec-head--center{ margin-inline:auto; text-align:center; }
.afc-eyebrow{
  display:inline-flex; align-items:center; gap:.5rem;
  font-size:.8rem; font-weight:700; letter-spacing:.02em;
  color:var(--afc-brand); text-transform:none; margin-bottom:.85rem;
}
.afc-eyebrow .afc-dot{ width:7px;height:7px;border-radius:50%;background:var(--afc-brand); }
.afc-title{
  color:var(--afc-ink); font-weight:800; line-height:1.2; letter-spacing:-.012em;
  font-size:clamp(1.6rem,1.2rem + 1.8vw,2.4rem); margin:0;
}
.afc-title--xl{ font-size:clamp(2rem,1.4rem + 3vw,3.25rem); line-height:1.12; font-weight:900; }
.afc-lead{
  color:var(--afc-muted); font-size:clamp(1rem,.96rem + .3vw,1.18rem);
  line-height:1.8; margin:1rem 0 0;
}
.afc-key{ color:var(--afc-brand); }   /* highlighted keyword in headings */

/* Utility helpers (lean, purpose-built — not a full framework) */
.afc-grid{ display:grid; gap:1.5rem; }
.afc-flex{ display:flex; }
.afc-items-center{ align-items:center; }
.afc-justify-between{ justify-content:space-between; }
.afc-gap-2{ gap:.5rem; } .afc-gap-3{ gap:.75rem; } .afc-gap-4{ gap:1rem; }
.afc-mt-auto{ margin-top:auto; }
.afc-hide-mobile{ display:none; }
@media (min-width:1024px){
  .afc-hide-mobile{ display:flex; }
  .afc-hide-desktop{ display:none !important; }
}

/* ----------------------------------------------------------------------------
 * 3. Buttons — one unified system
 * --------------------------------------------------------------------------*/
.afc-btn{
  display:inline-flex; align-items:center; justify-content:center; gap:.55rem;
  font-family:inherit; font-weight:700; font-size:.95rem; line-height:1;
  padding:.78rem 1.4rem; border-radius:var(--afc-r-md);
  border:1px solid transparent; cursor:pointer; text-decoration:none;
  white-space:nowrap; transition:background var(--afc-dur), color var(--afc-dur),
    border-color var(--afc-dur), box-shadow var(--afc-dur), transform var(--afc-dur);
  min-height:44px;
}
.afc-btn:active{ transform:translateY(1px); }
.afc-btn i{ font-size:.85em; }

.afc-btn--primary{ background:var(--afc-brand); color:#fff; box-shadow:var(--afc-shadow-xs); }
.afc-btn--primary:hover{ background:var(--afc-brand-strong); box-shadow:var(--afc-shadow-brand); color:#fff; }

.afc-btn--ghost{ background:transparent; color:var(--afc-ink-2); border-color:var(--afc-line); }
.afc-btn--ghost:hover{ border-color:var(--afc-brand); color:var(--afc-brand); background:var(--afc-brand-tint); }

.afc-btn--soft{ background:var(--afc-brand-tint); color:var(--afc-brand-strong); }
.afc-btn--soft:hover{ background:var(--afc-brand-tint-2); color:var(--afc-brand-strong); }

.afc-btn--dark{ background:var(--afc-ink); color:#fff; }
.afc-btn--dark:hover{ background:#1e293b; color:#fff; }

.afc-btn--lg{ padding:1rem 1.8rem; font-size:1.02rem; min-height:52px; }
.afc-btn--sm{ padding:.55rem 1rem; font-size:.85rem; min-height:38px; }
.afc-btn--block{ width:100%; }
.afc-btn--arrow:hover i{ transform:translateX(-3px); }  /* RTL: arrow points left */
.afc-btn--arrow i{ transition:transform var(--afc-dur); }

/* ----------------------------------------------------------------------------
 * 4. Surfaces / cards / badges
 * --------------------------------------------------------------------------*/
.afc-card{
  background:var(--afc-surface); border:1px solid var(--afc-line);
  border-radius:var(--afc-r-lg); box-shadow:var(--afc-shadow-xs);
  transition:border-color var(--afc-dur), box-shadow var(--afc-dur), transform var(--afc-dur);
}
.afc-card--pad{ padding:clamp(1.25rem,2vw,1.75rem); }
.afc-card--hover:hover{ border-color:#cdd8ec; box-shadow:var(--afc-shadow-md); transform:translateY(-3px); }

.afc-badge{
  display:inline-flex; align-items:center; gap:.4rem;
  font-size:.72rem; font-weight:800; letter-spacing:.02em;
  padding:.32rem .7rem; border-radius:var(--afc-r-pill);
  background:var(--afc-brand-tint); color:var(--afc-brand-strong);
}
.afc-badge--success{ background:var(--afc-success-tint); color:var(--afc-success); }
.afc-badge--warning{ background:var(--afc-warning-tint); color:var(--afc-warning); }
.afc-badge--neutral{ background:var(--afc-surface-2); color:var(--afc-muted); }

/* Icon tile (used in mega menu, feature lists) */
.afc-itile{
  width:44px; height:44px; flex:none; border-radius:var(--afc-r-md);
  display:flex; align-items:center; justify-content:center; font-size:1.1rem;
  background:var(--afc-brand-tint); color:var(--afc-brand);
  border:1px solid var(--afc-line); transition:transform var(--afc-dur);
}
.afc-itile--orange{ background:#fff7ed; color:#ea580c; }
.afc-itile--emerald{ background:var(--afc-success-tint); color:var(--afc-success); }

/* ----------------------------------------------------------------------------
 * 5. Accessibility: one consistent focus ring; reduced-motion
 * --------------------------------------------------------------------------*/
.afc a:focus-visible, .afc button:focus-visible,
.afc input:focus-visible, .afc select:focus-visible, .afc textarea:focus-visible,
.afc-hdr a:focus-visible, .afc-hdr button:focus-visible,
.afc-ftr a:focus-visible, .afc-ftr button:focus-visible, .afc-ftr input:focus-visible{
  outline:none; box-shadow:var(--afc-focus); border-radius:10px;
}
@media (prefers-reduced-motion:reduce){
  .afc-btn, .afc-card, .afc-itile, .afc-menu-panel, .afc-nav-link::after{ transition:none !important; }
}

/* ============================================================================
 * 6. HEADER  (.afc-hdr)
 * Sticky, light, hairline. Logo (right, RTL) · nav · CTA (left).
 * ==========================================================================*/
.afc-hdr{
  position:sticky; top:0; z-index:50;
  background:rgba(255,255,255,.86);
  -webkit-backdrop-filter:saturate(180%) blur(10px);
  backdrop-filter:saturate(180%) blur(10px);
  border-bottom:1px solid var(--afc-line);
  font-family:var(--afc-font);
  transition:box-shadow var(--afc-dur), background var(--afc-dur);
}
.afc-hdr.is-scrolled{ box-shadow:var(--afc-shadow-sm); background:rgba(255,255,255,.95); }
.afc-hdr-inner{ display:flex; align-items:center; justify-content:space-between; height:var(--afc-header-h); }

/* Brand */
.afc-brand{ display:inline-flex; align-items:center; gap:.6rem; text-decoration:none; font-weight:900; font-size:1.3rem; color:var(--afc-ink); }
.afc-brand img{ height:44px; width:auto; display:block; }
.afc-brand b{ color:var(--afc-brand); font-weight:900; }

/* Primary nav */
.afc-nav{ display:none; align-items:center; gap:.15rem; list-style:none; margin:0; padding:0; }
@media (min-width:1024px){ .afc-nav{ display:flex; } }
.afc-nav > li{ position:relative; }
.afc-nav-link{
  display:inline-flex; align-items:center; gap:.4rem;
  padding:0 1rem; height:var(--afc-header-h); line-height:var(--afc-header-h);
  color:var(--afc-ink-2); font-weight:600; font-size:.95rem; text-decoration:none;
  position:relative; transition:color var(--afc-dur); background:none; border:none; cursor:pointer; font-family:inherit;
}
.afc-nav-link:hover, .afc-nav-link[aria-current="page"]{ color:var(--afc-brand); }
.afc-nav-link::after{
  content:""; position:absolute; inset-inline:1rem; bottom:18px; height:2px; border-radius:2px;
  background:var(--afc-brand); transform:scaleX(0); transform-origin:center;
  transition:transform var(--afc-dur) var(--afc-ease);
}
.afc-nav-link:hover::after, .afc-nav > li:hover .afc-nav-link::after, .afc-nav-link[aria-current="page"]::after{ transform:scaleX(1); }
.afc-nav-link .fa-chevron-down{ font-size:.6rem; transition:transform var(--afc-dur); }
.afc-nav > li:hover .afc-nav-link .fa-chevron-down{ transform:rotate(180deg); }

/* Mega menu */
.afc-mega{
  /* RTL: pin to the start (right) edge of the trigger and open inward (leftward)
     so the wide panel stays inside the viewport instead of overflowing the
     right edge and being clipped by body{overflow-x:hidden}. */
  position:absolute; inset-inline-start:0; inset-inline-end:auto; top:100%;
  opacity:0; visibility:hidden; transform:translateY(8px);
  transition:opacity var(--afc-dur), transform var(--afc-dur), visibility var(--afc-dur);
  z-index:60; padding-top:.5rem;
}
.afc-nav > li:hover .afc-mega, .afc-nav > li:focus-within .afc-mega{ opacity:1; visibility:visible; transform:translateY(0); }
.afc-menu-panel{
  width:min(980px,calc(100vw - 4rem));
  background:var(--afc-surface); border:1px solid var(--afc-line);
  border-radius:var(--afc-r-xl); box-shadow:var(--afc-shadow-lg);
  overflow:hidden; display:grid; grid-template-columns:1fr 2.4fr;
}
.afc-menu-promo{
  background:linear-gradient(160deg,var(--afc-brand) 0%,var(--afc-brand-deep) 100%);
  color:#fff; padding:1.75rem; display:flex; flex-direction:column; justify-content:space-between; gap:1.5rem;
}
.afc-menu-promo .afc-badge{ background:rgba(255,255,255,.18); color:#fff; }
.afc-menu-promo h3{ font-size:1.25rem; font-weight:800; margin:.8rem 0 .5rem; color:#fff; }
.afc-menu-promo p{ font-size:.85rem; line-height:1.7; color:rgba(255,255,255,.85); margin:0; }
.afc-menu-links{ padding:1.75rem; display:grid; grid-template-columns:1fr 1fr; gap:1.5rem 2rem; }
.afc-menu-group h4{
  font-size:.72rem; font-weight:800; letter-spacing:.08em; text-transform:uppercase;
  color:var(--afc-faint); margin:0 0 .9rem; padding-bottom:.55rem; border-bottom:1px solid var(--afc-line-soft);
}
.afc-menu-item{
  display:flex; align-items:flex-start; gap:.85rem; padding:.6rem; margin:0 -.6rem;
  border-radius:var(--afc-r-md); text-decoration:none; transition:background var(--afc-dur);
}
.afc-menu-item:hover{ background:var(--afc-surface-2); }
.afc-menu-item:hover .afc-itile{ transform:scale(1.06); }
.afc-menu-item .t{ font-weight:700; color:var(--afc-ink); font-size:.92rem; display:block; }
.afc-menu-item:hover .t{ color:var(--afc-brand); }
.afc-menu-item .d{ font-size:.76rem; color:var(--afc-muted); margin-top:.15rem; display:block; line-height:1.5; }

/* Header actions */
.afc-hdr-actions{ display:flex; align-items:center; gap:.6rem; }
.afc-burger{
  display:inline-flex; align-items:center; justify-content:center;
  width:46px; height:46px; border-radius:var(--afc-r-md);
  background:var(--afc-surface-2); border:1px solid var(--afc-line);
  color:var(--afc-ink-2); font-size:1.1rem; cursor:pointer;
}
.afc-burger:hover{ background:var(--afc-brand-tint); color:var(--afc-brand); }
@media (min-width:1024px){ .afc-burger{ display:none; } }

/* === Blue header theme (brand background, white logo/nav, white CTA) === */
.afc-hdr{ background:linear-gradient(135deg,#1d4ed8 0%,#2563eb 60%,#3b82f6 100%); border-bottom-color:rgba(255,255,255,.14); }
.afc-hdr.is-scrolled{ background:rgba(29,78,216,.97); box-shadow:0 12px 30px -14px rgba(15,23,42,.45); }
.afc-hdr .afc-brand,
.afc-hdr .afc-brand b{ color:#fff; }
.afc-hdr .afc-brand img{ filter:brightness(0) invert(1); }
.afc-hdr .afc-nav-link{ color:rgba(255,255,255,.9); }
.afc-hdr .afc-nav-link:hover, .afc-hdr .afc-nav-link[aria-current="page"]{ color:#fff; }
.afc-hdr .afc-nav-link::after{ background:#fff; }
.afc-hdr .afc-btn--primary{ background:#fff; color:var(--afc-brand); box-shadow:0 8px 20px -10px rgba(0,0,0,.35); }
.afc-hdr .afc-btn--primary:hover{ background:#eef2ff; color:#1d4ed8; }
.afc-hdr .afc-burger{ background:rgba(255,255,255,.14); border-color:rgba(255,255,255,.3); color:#fff; }
.afc-hdr .afc-burger:hover{ background:rgba(255,255,255,.24); color:#fff; }

/* ----- Mobile full-screen menu ----- */
.afc-mnav{
  position:fixed; inset:0; z-index:70; background:var(--afc-surface);
  display:flex; flex-direction:column; opacity:0; visibility:hidden;
  transition:opacity var(--afc-dur), visibility var(--afc-dur);
  font-family:var(--afc-font);
}
.afc-mnav.hidden{ display:none; }   /* closed initial state */
/* is-open is authoritative: forces the drawer visible even if .hidden lingers */
.afc-mnav.is-open, .afc-mnav.opacity-100{ display:flex !important; opacity:1; visibility:visible; }
.afc-mnav-top{ display:flex; align-items:center; justify-content:space-between; padding:1.1rem 1.25rem; border-bottom:1px solid var(--afc-line); }
.afc-mnav-close{
  width:46px; height:46px; border-radius:var(--afc-r-md); border:1px solid var(--afc-line);
  background:var(--afc-surface-2); color:var(--afc-ink-2); font-size:1.2rem; cursor:pointer;
}
.afc-mnav-close:hover{ background:var(--afc-danger-tint); color:var(--afc-danger); }
.afc-mnav-body{ flex:1; overflow-y:auto; padding:1.25rem; -webkit-overflow-scrolling:touch; }
.afc-mnav-link, .mobile-acc-btn{
  width:100%; display:flex; align-items:center; justify-content:space-between;
  padding:1.05rem 1.15rem; margin-bottom:.6rem; border-radius:var(--afc-r-md);
  background:var(--afc-surface-2); border:1px solid var(--afc-line);
  color:var(--afc-ink); font-weight:700; font-size:1rem; text-decoration:none;
  cursor:pointer; font-family:inherit; transition:border-color var(--afc-dur), background var(--afc-dur);
}
.afc-mnav-link:hover, .mobile-acc-btn:hover{ border-color:var(--afc-brand); color:var(--afc-brand); }
.afc-mnav-link i, .mobile-acc-btn i{ color:var(--afc-faint); font-size:.85rem; }
.mobile-acc-btn i{ color:var(--afc-brand); }
.mobile-acc-content{ overflow:hidden; padding-inline-start:1rem; margin-bottom:.6rem; border-inline-start:2px solid var(--afc-brand-tint-2); }
.mobile-acc-content.hidden{ display:none; }
.mobile-acc-content a{ display:block; padding:.7rem .85rem; color:var(--afc-muted); text-decoration:none; font-size:.92rem; border-radius:var(--afc-r-sm); }
.mobile-acc-content a:hover{ color:var(--afc-brand); background:var(--afc-surface-2); }
.afc-mnav-quick{ display:grid; grid-template-columns:1fr 1fr; gap:.75rem; margin-top:1.5rem; }
.afc-mnav-qcard{ background:var(--afc-surface-2); border:1px solid var(--afc-line); border-radius:var(--afc-r-lg); padding:1.1rem; text-align:center; text-decoration:none; }
.afc-mnav-qcard.is-primary{ background:var(--afc-brand); border-color:var(--afc-brand); }
.afc-mnav-qcard i{ font-size:1.4rem; color:var(--afc-brand); display:block; margin-bottom:.5rem; }
.afc-mnav-qcard.is-primary i, .afc-mnav-qcard.is-primary span{ color:#fff; }
.afc-mnav-qcard .lbl{ display:block; font-size:.68rem; color:var(--afc-muted); text-transform:uppercase; letter-spacing:.04em; }
.afc-mnav-qcard .val{ display:block; font-size:.95rem; font-weight:800; color:var(--afc-ink); margin-top:.2rem; }
.afc-mnav-qcard.is-primary .lbl{ color:rgba(255,255,255,.8); }
.afc-mnav-qcard.is-primary .val{ color:#fff; }
body.afc-mnav-open, body.no-scroll{ overflow:hidden; }

/* ============================================================================
 * 7. FOOTER  (.afc-ftr)
 * ==========================================================================*/
.afc-ftr{ background:var(--afc-surface); color:var(--afc-muted); border-top:1px solid var(--afc-line); font-family:var(--afc-font); }

/* Support bar */
.afc-ftr-support{ background:var(--afc-surface-2); border-bottom:1px solid var(--afc-line); }
.afc-ftr-support-in{ display:flex; flex-direction:column; gap:1.25rem; align-items:center; justify-content:space-between; padding-block:1.4rem; }
@media (min-width:1024px){ .afc-ftr-support-in{ flex-direction:row; } }
.afc-ftr-support-id{ display:flex; align-items:center; gap:.9rem; }
.afc-ftr-support-icon{ position:relative; width:48px; height:48px; border-radius:50%; background:var(--afc-success-tint); display:flex; align-items:center; justify-content:center; color:var(--afc-success); font-size:1.25rem; flex:none; }
.afc-ftr-support-icon .dotlive{ position:absolute; top:0; inset-inline-end:0; width:12px; height:12px; border-radius:50%; background:var(--afc-success); border:2px solid var(--afc-surface-2); }
.afc-ftr-support-id h5{ margin:0; color:var(--afc-ink); font-weight:800; font-size:.95rem; }
.afc-ftr-support-id p{ margin:.15rem 0 0; font-size:.78rem; color:var(--afc-muted); }
.afc-ftr-channels{ display:flex; flex-wrap:wrap; gap:1rem 1.5rem; justify-content:center; }
.afc-ftr-chan{ display:inline-flex; align-items:center; gap:.6rem; text-decoration:none; color:var(--afc-ink-2); font-size:.85rem; font-weight:600; }
.afc-ftr-chan i{ width:34px; height:34px; border-radius:var(--afc-r-md); background:var(--afc-surface); border:1px solid var(--afc-line); display:flex; align-items:center; justify-content:center; color:var(--afc-brand); font-size:.85rem; transition:background var(--afc-dur), color var(--afc-dur); }
.afc-ftr-chan:hover i{ background:var(--afc-brand); color:#fff; }
.afc-ftr-chan:hover{ color:var(--afc-brand); }

/* Main grid */
.afc-ftr-main{ display:grid; grid-template-columns:repeat(2,1fr); gap:2.5rem; padding-block:3.5rem 2rem; }
@media (min-width:768px){ .afc-ftr-main{ grid-template-columns:repeat(3,1fr); } }
@media (min-width:1024px){ .afc-ftr-main{ grid-template-columns:2.2fr 1fr 1fr 1.4fr; } }
.afc-ftr-brand .logo{ display:inline-flex; align-items:center; gap:.55rem; margin-bottom:1.1rem; text-decoration:none; }
.afc-ftr-brand .logo img{ height:46px; width:auto; display:block; }
.afc-ftr-brand .logo span{ font-size:1.15rem; font-weight:900; color:var(--afc-ink); }
.afc-ftr-brand .logo span b{ color:var(--afc-brand); font-weight:400; }
.afc-ftr-about{ font-size:.85rem; line-height:1.85; color:var(--afc-muted); max-width:22rem; margin:0 0 1.25rem; }
.afc-ftr-col h6{ color:var(--afc-ink); font-weight:800; font-size:.82rem; margin:0 0 1.1rem; padding-inline-start:.7rem; border-inline-start:2px solid var(--afc-brand); }
.afc-foot-link, .afc-ftr-col ul a{ color:var(--afc-muted); text-decoration:none; font-size:.85rem; transition:color var(--afc-dur); }
.afc-foot-link:hover, .afc-ftr-col ul a:hover{ color:var(--afc-brand); }
.afc-ftr-col ul{ list-style:none; margin:0; padding:0; display:grid; gap:.75rem; }

/* Newsletter */
.afc-news{ display:flex; position:relative; max-width:20rem; }
.afc-news input{ width:100%; background:var(--afc-surface); border:1px solid var(--afc-line); border-radius:var(--afc-r-md); padding:.7rem 5.5rem .7rem .9rem; font-size:.82rem; color:var(--afc-ink); font-family:inherit; }
.afc-news input::placeholder{ color:var(--afc-faint); }
.afc-news button{ position:absolute; inset-inline-start:.3rem; top:.3rem; bottom:.3rem; padding-inline:1rem; background:var(--afc-brand); color:#fff; border:none; border-radius:var(--afc-r-sm); font-size:.78rem; font-weight:700; cursor:pointer; font-family:inherit; }
.afc-news button:hover{ background:var(--afc-brand-strong); }

/* Trust badges */
.afc-ftr-trust{ display:flex; flex-direction:column; align-items:flex-start; gap:1rem; }
.afc-ftr-trust .badges{ display:flex; gap:.75rem; }
.afc-trust-badge{ width:74px; height:74px; border-radius:var(--afc-r-lg); background:var(--afc-surface-2); border:1px solid var(--afc-line); display:flex; align-items:center; justify-content:center; color:var(--afc-faint); font-size:1.5rem; transition:border-color var(--afc-dur), color var(--afc-dur); }
.afc-trust-badge:hover{ border-color:var(--afc-brand); color:var(--afc-brand); }
.afc-ftr-trust .note{ font-size:.78rem; font-weight:700; color:var(--afc-ink-2); }
.afc-ftr-trust .note small{ display:block; font-size:.62rem; color:var(--afc-faint); text-transform:uppercase; letter-spacing:.08em; margin-top:.2rem; }

/* Bottom bar */
.afc-ftr-bottom{ display:flex; flex-direction:column; gap:1rem; align-items:center; justify-content:space-between; padding-block:1.5rem; border-top:1px solid var(--afc-line-soft); }
@media (min-width:768px){ .afc-ftr-bottom{ flex-direction:row; } }
.afc-ftr-copy{ font-size:.74rem; color:var(--afc-muted); letter-spacing:.01em; }
.afc-ftr-copy .sep{ margin-inline:.5rem; color:var(--afc-line); }
.afc-ftr-social{ display:flex; gap:.5rem; }
.afc-ftr-social a{ width:36px; height:36px; border-radius:var(--afc-r-md); background:var(--afc-surface-2); border:1px solid var(--afc-line); display:flex; align-items:center; justify-content:center; color:var(--afc-muted); text-decoration:none; transition:background var(--afc-dur), color var(--afc-dur); }
.afc-ftr-social a:hover{ background:var(--afc-brand); color:#fff; border-color:var(--afc-brand); }
.afc-ftr-certs{ padding-block:0 2rem; }
.afc-ftr-certs-in{ display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:1.5rem; }
.afc-ftr-certs-in img{ height:96px; width:auto; border-radius:var(--afc-r-md); background:var(--afc-surface-2); border:1px solid var(--afc-line); padding:.5rem; }

/* ============================================================================
 * 8. CONTENT COMPONENTS  — used by inc/sections.php renderers (site-wide)
 * Pricing · plan grids · comparison table · features · testimonials ·
 * FAQ · stats · domain. One system, every page.
 * ==========================================================================*/

/* ---- Feature / service cards ---- */
.afc-feature-grid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); gap:1.5rem; }
.afc-feature{
  background:var(--afc-surface); border:1px solid var(--afc-line); border-radius:var(--afc-r-lg);
  padding:clamp(1.5rem,2.2vw,2rem); transition:border-color var(--afc-dur), box-shadow var(--afc-dur), transform var(--afc-dur);
}
.afc-feature:hover{ border-color:#cdd8ec; box-shadow:var(--afc-shadow-md); transform:translateY(-3px); }
.afc-feature-ic{
  width:54px; height:54px; border-radius:var(--afc-r-md); display:flex; align-items:center; justify-content:center;
  font-size:1.4rem; background:var(--afc-brand-tint); color:var(--afc-brand); margin-bottom:1.25rem;
  transition:background var(--afc-dur), color var(--afc-dur);
}
.afc-feature:hover .afc-feature-ic{ background:var(--afc-brand); color:#fff; }
.afc-feature h3{ font-size:1.15rem; font-weight:800; color:var(--afc-ink); margin:0 0 .6rem; }
.afc-feature p{ font-size:.92rem; line-height:1.8; color:var(--afc-muted); margin:0 0 1rem; }
.afc-link{ display:inline-flex; align-items:center; gap:.4rem; color:var(--afc-brand); font-weight:700; font-size:.9rem; text-decoration:none; }
.afc-link i{ font-size:.75rem; transition:transform var(--afc-dur); }
.afc-link:hover i{ transform:translateX(-4px); }

/* ---- Pricing toggle ---- */
.afc-toggle{ display:inline-flex; align-items:center; gap:.25rem; padding:.3rem; background:var(--afc-surface); border:1px solid var(--afc-line); border-radius:var(--afc-r-md); box-shadow:var(--afc-shadow-xs); }
.afc-toggle-btn{ display:inline-flex; align-items:center; gap:.45rem; padding:.6rem 1.4rem; border:none; background:none; border-radius:var(--afc-r-sm); font-family:inherit; font-weight:700; font-size:.9rem; color:var(--afc-muted); cursor:pointer; transition:background var(--afc-dur), color var(--afc-dur); }
.afc-toggle-btn.is-active{ background:var(--afc-brand); color:#fff; box-shadow:var(--afc-shadow-xs); }
.afc-toggle-save{ font-size:.68rem; font-weight:800; padding:.15rem .55rem; border-radius:var(--afc-r-pill); background:var(--afc-success-tint); color:var(--afc-success); }
.afc-toggle-btn.is-active .afc-toggle-save{ background:rgba(255,255,255,.22); color:#fff; }

/* ---- Pricing / plan cards (unified across all plan renderers) ---- */
.afc-plans{ display:grid; gap:1.5rem; align-items:stretch; grid-template-columns:repeat(auto-fit,minmax(250px,1fr)); max-width:var(--afc-container); margin-inline:auto; }
.afc-plans[data-cols="1"]{ grid-template-columns:minmax(280px,420px); justify-content:center; }
@media (min-width:768px){
  .afc-plans[data-cols="2"]{ grid-template-columns:repeat(2,1fr); }
  .afc-plans[data-cols="3"]{ grid-template-columns:repeat(3,1fr); }
  .afc-plans[data-cols="4"]{ grid-template-columns:repeat(2,1fr); }
}
@media (min-width:1100px){ .afc-plans[data-cols="4"]{ grid-template-columns:repeat(4,1fr); } }

.afc-plan{
  position:relative; display:flex; flex-direction:column;
  background:var(--afc-surface); border:1px solid var(--afc-line); border-radius:var(--afc-r-xl);
  padding:clamp(1.5rem,2.4vw,2rem); box-shadow:var(--afc-shadow-xs);
  transition:border-color var(--afc-dur), box-shadow var(--afc-dur), transform var(--afc-dur);
}
.afc-plan:hover{ border-color:#cdd8ec; box-shadow:var(--afc-shadow-md); transform:translateY(-3px); }
.afc-plan--rec{ border-color:var(--afc-brand); border-width:1.5px; box-shadow:var(--afc-shadow-md); }
@media (min-width:1100px){ .afc-plan--rec{ transform:translateY(-10px); } .afc-plan--rec:hover{ transform:translateY(-14px); } }
.afc-plan-ribbon{ position:absolute; top:-.85rem; inset-inline-end:1.5rem; background:var(--afc-brand); color:#fff; font-size:.7rem; font-weight:800; letter-spacing:.02em; padding:.3rem .85rem; border-radius:var(--afc-r-pill); box-shadow:var(--afc-shadow-brand); }
.afc-plan-name{ font-size:1.25rem; font-weight:800; color:var(--afc-ink); margin:0 0 .35rem; }
.afc-plan-desc{ font-size:.85rem; color:var(--afc-muted); margin:0 0 1rem; line-height:1.6; }
.afc-plan-tag{ display:inline-flex; align-self:flex-start; font-size:.7rem; font-weight:800; padding:.25rem .7rem; border-radius:var(--afc-r-pill); background:var(--afc-success-tint); color:var(--afc-success); margin-bottom:1rem; }
.afc-plan-tag--brand{ background:var(--afc-brand-tint); color:var(--afc-brand-strong); }
.afc-plan-price{ display:flex; align-items:baseline; gap:.4rem; margin:.25rem 0 1.25rem; flex-wrap:wrap; }
.afc-plan-amount{ font-size:clamp(1.9rem,3vw,2.4rem); font-weight:900; color:var(--afc-ink); line-height:1; font-feature-settings:"tnum"; transition:opacity .18s ease; }
.afc-plan-unit{ font-size:.85rem; color:var(--afc-muted); }
.afc-plan-feats{ list-style:none; margin:0 0 1.5rem; padding:1.25rem 0 0; border-top:1px solid var(--afc-line-soft); display:grid; gap:.85rem; flex:1; }
.afc-plan-feats li{ display:flex; align-items:flex-start; gap:.6rem; font-size:.88rem; color:var(--afc-ink-2); line-height:1.5; }
.afc-plan-feats li i{ color:var(--afc-success); font-size:.85rem; margin-top:.2rem; flex:none; }
.afc-plan-feats li.is-off{ color:var(--afc-faint); text-decoration:line-through; }
.afc-plan-feats li.is-off i{ color:var(--afc-faint); }
.afc-plan-feats li.is-spec i{ color:var(--afc-brand); }

/* ---- Comparison table (the ONE system) ---- */
.afc-cmp-wrap{ overflow-x:auto; border:1px solid var(--afc-line); border-radius:var(--afc-r-xl); box-shadow:var(--afc-shadow-xs); -webkit-overflow-scrolling:touch; scrollbar-width:thin; scrollbar-color:#c7d2e8 transparent; }
.afc-cmp-wrap::-webkit-scrollbar{ height:8px; }
.afc-cmp-wrap::-webkit-scrollbar-thumb{ background:#c7d2e8; border-radius:8px; }
/* selectors scoped under .afc-cmp-wrap so they out-specify the legacy
 * `.afagh-light section table` override layer during migration. */
.afc-cmp-wrap .afc-cmp{ width:100%; min-width:760px; border-collapse:separate !important; border-spacing:0 !important; text-align:start; font-size:.9rem; }
.afc-cmp-wrap .afc-cmp thead th{ background:var(--afc-surface-2); color:var(--afc-ink) !important; font-weight:800; padding:1.15rem 1.25rem !important; text-align:center; border-bottom:1px solid var(--afc-line); }
.afc-cmp-wrap .afc-cmp thead th:first-child{ text-align:start; min-width:220px; }
.afc-cmp-wrap .afc-cmp tbody td{ padding:.95rem 1.25rem !important; text-align:center; color:var(--afc-ink-2); border-top:none !important; border-bottom:1px solid var(--afc-line-soft) !important; }
.afc-cmp-wrap .afc-cmp tbody td:first-child{ text-align:start; }
.afc-cmp-wrap .afc-cmp tbody tr:last-child td{ border-bottom:none !important; }
.afc-cmp-wrap .afc-cmp tbody tr:hover td{ background:var(--afc-surface-2); }
.afc-cmp-wrap .afc-cmp-label{ display:flex; align-items:center; gap:.7rem; font-weight:700; color:var(--afc-ink); }
.afc-cmp-wrap .afc-cmp-label .ic{ width:34px; height:34px; border-radius:var(--afc-r-sm); background:var(--afc-brand-tint); color:var(--afc-brand); display:flex; align-items:center; justify-content:center; flex:none; }
.afc-cmp-wrap .afc-cmp .is-rec{ background:var(--afc-brand-tint) !important; border-inline:1px solid var(--afc-brand-tint-2); }
.afc-cmp-wrap .afc-cmp thead .is-rec{ background:var(--afc-brand-tint) !important; color:var(--afc-brand-strong) !important; border-top:2px solid var(--afc-brand); }
.afc-cmp-wrap .afc-cmp tbody tr:hover .is-rec{ background:#e3ecfd !important; }
.afc-cmp-wrap .afc-cmp .is-rec .rec-tag{ display:block; font-size:.65rem; font-weight:800; color:var(--afc-brand); margin-top:.2rem; }
.afc-cmp-wrap .afc-cmp .yes{ color:var(--afc-success); } .afc-cmp-wrap .afc-cmp .no{ color:var(--afc-faint); }
.afc-cmp-wrap .afc-cmp .dot{ width:7px; height:7px; border-radius:50%; background:var(--afc-brand); display:inline-block; }

/* ---- Testimonials ---- */
.afc-quotes{ display:grid; grid-template-columns:repeat(auto-fit,minmax(280px,1fr)); gap:1.5rem; }
.afc-quote{ background:var(--afc-surface); border:1px solid var(--afc-line); border-radius:var(--afc-r-lg); padding:1.75rem; box-shadow:var(--afc-shadow-xs); display:flex; flex-direction:column; transition:border-color var(--afc-dur), box-shadow var(--afc-dur), transform var(--afc-dur); }
.afc-quote:hover{ border-color:#cdd8ec; box-shadow:var(--afc-shadow-md); transform:translateY(-3px); }
.afc-quote-stars{ color:#f59e0b; font-size:.8rem; display:flex; gap:.15rem; margin-bottom:1rem; }
.afc-quote-text{ color:var(--afc-ink-2); font-size:.92rem; line-height:1.9; margin:0 0 1.5rem; flex:1; }
.afc-quote-by{ display:flex; align-items:center; gap:.85rem; padding-top:1.25rem; border-top:1px solid var(--afc-line-soft); }
.afc-quote-av{ width:46px; height:46px; border-radius:var(--afc-r-md); object-fit:cover; background:var(--afc-brand-tint); color:var(--afc-brand); display:flex; align-items:center; justify-content:center; font-weight:800; flex:none; }
.afc-quote-by h4{ margin:0; font-size:.9rem; font-weight:800; color:var(--afc-ink); }
.afc-quote-by p{ margin:.15rem 0 0; font-size:.76rem; color:var(--afc-muted); }

/* ---- FAQ ---- */
.afc-faq{ max-width:48rem; margin-inline:auto; display:grid; gap:.85rem; }
.afc-faq-item{ background:var(--afc-surface); border:1px solid var(--afc-line); border-radius:var(--afc-r-md); overflow:hidden; transition:border-color var(--afc-dur), box-shadow var(--afc-dur); }
.afc-faq-item[open]{ border-color:#cdd8ec; box-shadow:var(--afc-shadow-sm); }
.afc-faq-q{ display:flex; align-items:center; justify-content:space-between; gap:1rem; padding:1.2rem 1.4rem; cursor:pointer; list-style:none; font-weight:700; color:var(--afc-ink); font-size:.98rem; }
.afc-faq-q::-webkit-details-marker{ display:none; }
.afc-faq-item[open] .afc-faq-q{ color:var(--afc-brand); }
.afc-faq-ic{ width:32px; height:32px; flex:none; border-radius:var(--afc-r-sm); background:var(--afc-surface-2); color:var(--afc-muted); display:flex; align-items:center; justify-content:center; transition:transform var(--afc-dur), background var(--afc-dur), color var(--afc-dur); }
.afc-faq-item[open] .afc-faq-ic{ background:var(--afc-brand); color:#fff; transform:rotate(180deg); }
.afc-faq-a{ padding:0 1.4rem 1.3rem; color:var(--afc-muted); line-height:1.9; font-size:.9rem; }

/* ---- Stats ---- */
.afc-stats{ display:grid; grid-template-columns:repeat(2,1fr); gap:1.5rem; text-align:center; }
@media (min-width:900px){ .afc-stats[data-cols="3"]{ grid-template-columns:repeat(3,1fr); } .afc-stats[data-cols="4"]{ grid-template-columns:repeat(4,1fr); } }
.afc-stat-num{ font-size:clamp(1.9rem,3vw,2.6rem); font-weight:900; color:var(--afc-ink); line-height:1.1; }
.afc-stat-num.is-brand{ color:var(--afc-brand); }
.afc-stat-num.is-success{ color:var(--afc-success); }
.afc-stat-label{ font-size:.85rem; color:var(--afc-muted); margin-top:.4rem; }
.afc-stats-bordered{ margin-top:3.5rem; padding-top:3rem; border-top:1px solid var(--afc-line); }

/* ---- Domain extensions ---- */
.afc-tld-grid{ display:grid; grid-template-columns:repeat(auto-fill,minmax(150px,1fr)); gap:1rem; }
.afc-tld{ position:relative; display:block; text-align:center; background:var(--afc-surface); border:1px solid var(--afc-line); border-radius:var(--afc-r-md); padding:1.25rem; text-decoration:none; box-shadow:var(--afc-shadow-xs); transition:border-color var(--afc-dur), box-shadow var(--afc-dur), transform var(--afc-dur); }
.afc-tld:hover{ border-color:#bfdbfe; box-shadow:var(--afc-shadow-md); transform:translateY(-2px); }
.afc-tld-name{ font-size:1.5rem; font-weight:900; color:var(--afc-ink); }
.afc-tld-price{ color:var(--afc-brand); font-weight:800; font-size:.92rem; margin-top:.4rem; }
.afc-tld-flag{ position:absolute; top:.6rem; inset-inline-start:.6rem; background:var(--afc-brand); color:#fff; font-size:.62rem; font-weight:800; padding:.15rem .5rem; border-radius:var(--afc-r-pill); }
.afc-tld-chips{ display:flex; flex-wrap:wrap; justify-content:center; gap:.6rem; }
.afc-tld-chip{ display:inline-flex; align-items:center; gap:.5rem; background:var(--afc-surface); border:1px solid var(--afc-line); padding:.45rem .85rem; border-radius:var(--afc-r-md); font-size:.85rem; box-shadow:var(--afc-shadow-xs); }
.afc-tld-chip b{ color:var(--afc-ink); font-weight:800; }
.afc-tld-chip span{ color:var(--afc-muted); }

/* ---- Add-on cards ---- */
.afc-addons{ display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:1.25rem; }
.afc-addon{ background:var(--afc-surface); border:1px solid var(--afc-line); border-radius:var(--afc-r-lg); padding:1.5rem; transition:border-color var(--afc-dur), box-shadow var(--afc-dur); }
.afc-addon:hover{ border-color:#cdd8ec; box-shadow:var(--afc-shadow-sm); }
.afc-addon-head{ display:flex; align-items:center; justify-content:space-between; gap:.75rem; margin-bottom:.6rem; }
.afc-addon-head h4{ margin:0; font-size:1rem; font-weight:800; color:var(--afc-ink); }
.afc-addon-price{ color:var(--afc-brand); font-weight:900; font-size:.95rem; white-space:nowrap; }
.afc-addon p{ margin:0; font-size:.86rem; line-height:1.8; color:var(--afc-muted); }

/* ============================================================================
 * 9. HERO + BLOG  (homepage / service-page heroes, blog preview)
 * ==========================================================================*/
.afc-hero{ position:relative; background:var(--afc-canvas); padding-block:clamp(3rem,6vw,5.5rem); overflow:hidden; }
.afc-hero::before{ content:""; position:absolute; inset:0; pointer-events:none; opacity:.5;
  background:radial-gradient(60% 60% at 85% 0%, rgba(37,99,235,.07), transparent 60%), radial-gradient(50% 50% at 8% 10%, rgba(37,99,235,.05), transparent 60%); }
.afc-hero-in{ position:relative; max-width:48rem; margin-inline:auto; text-align:center; }
.afc-hero h1{ font-size:clamp(2rem,1.4rem + 3vw,3.4rem); font-weight:900; line-height:1.15; letter-spacing:-.015em; color:var(--afc-ink); margin:0 0 1.1rem; }
.afc-hero h1 span{ color:var(--afc-brand); }
.afc-hero-sub{ font-size:clamp(1rem,.95rem + .4vw,1.2rem); line-height:1.8; color:var(--afc-muted); margin:0 auto 2rem; max-width:38rem; }

/* Domain search box */
.afc-hero-search{ display:flex; align-items:center; gap:.5rem; background:var(--afc-surface); border:1px solid var(--afc-line); border-radius:var(--afc-r-lg); padding:.5rem; box-shadow:var(--afc-shadow-sm); max-width:40rem; margin-inline:auto; }
.afc-hero-search-field{ flex:1; min-width:0; display:flex; align-items:center; gap:.6rem; padding-inline:.85rem; }
.afc-hero-search-field i{ color:var(--afc-faint); flex:none; }
.afc-hero-search input{ width:100%; min-width:0; border:none; background:none; outline:none; font-family:inherit; font-size:1.02rem; font-weight:600; color:var(--afc-ink); padding-block:.8rem; }
.afc-hero-search input::placeholder{ color:var(--afc-faint); font-weight:500; }
.afc-hero-search .afc-btn{ flex:none; }
.afc-hero-tlds{ margin-top:1.25rem; }
.afc-hero-points{ display:flex; flex-wrap:wrap; justify-content:center; gap:.5rem 1.5rem; margin-top:1.5rem; color:var(--afc-muted); font-size:.85rem; }
.afc-hero-points span{ display:inline-flex; align-items:center; gap:.4rem; }
.afc-hero-points i{ color:var(--afc-success); }

/* Blog preview */
.afc-blog-head{ display:flex; align-items:flex-end; justify-content:space-between; gap:1rem; margin-bottom:2rem; }
.afc-blog-grid{ display:grid; gap:1.5rem; }
@media (min-width:768px){ .afc-blog-grid{ grid-template-columns:1fr 1fr; } }
.afc-post{ display:flex; flex-direction:column; background:var(--afc-surface); border:1px solid var(--afc-line); border-radius:var(--afc-r-lg); overflow:hidden; box-shadow:var(--afc-shadow-xs); transition:border-color var(--afc-dur), box-shadow var(--afc-dur), transform var(--afc-dur); }
.afc-post:hover{ border-color:#cdd8ec; box-shadow:var(--afc-shadow-md); transform:translateY(-3px); }
.afc-post-media{ display:block; aspect-ratio:16/9; background:var(--afc-surface-2); overflow:hidden; }
.afc-post-media img{ width:100%; height:100%; object-fit:cover; transition:transform .5s var(--afc-ease); }
.afc-post:hover .afc-post-media img{ transform:scale(1.04); }
.afc-post-body{ display:flex; flex-direction:column; flex:1; padding:1.5rem; }
.afc-post-meta{ display:flex; align-items:center; gap:.6rem; font-size:.78rem; color:var(--afc-muted); margin-bottom:.7rem; }
.afc-post-meta .cat{ color:var(--afc-brand); font-weight:800; }
.afc-post-title{ font-size:1.3rem; font-weight:800; line-height:1.4; margin:0 0 .7rem; }
.afc-post-title a{ color:var(--afc-ink); text-decoration:none; }
.afc-post-title a:hover{ color:var(--afc-brand); }
.afc-post-excerpt{ color:var(--afc-muted); font-size:.9rem; line-height:1.8; margin:0 0 1.1rem; flex:1; }
.afc-post-side{ display:flex; flex-direction:column; gap:1.5rem; }
.afc-post--row{ flex-direction:row; }
.afc-post--row .afc-post-media{ width:38%; aspect-ratio:auto; flex:none; }
.afc-post--row .afc-post-body{ padding:1.1rem 1.25rem; }
.afc-post--row .afc-post-title{ font-size:1rem; }
@media (max-width:560px){ .afc-post--row{ flex-direction:column; } .afc-post--row .afc-post-media{ width:100%; aspect-ratio:16/9; } }
.afc-empty{ text-align:center; color:var(--afc-muted); padding-block:2.5rem; }

/* ============================================================================
 * 10. SERVICE-PAGE COMPONENTS  — hero CTAs, tabs, CTA band, support, utility
 * ==========================================================================*/
/* generic display utility (CDN-independent) */
.hidden{ display:none !important; }

/* Hero CTA row + secondary hero variant for inner service pages */
.afc-hero-cta{ display:flex; flex-wrap:wrap; justify-content:center; gap:.85rem; margin-top:.5rem; }
.afc-hero--page{ padding-block:clamp(3rem,6vw,5rem); }
.afc-hero--page h1{ font-size:clamp(1.9rem,1.3rem + 2.6vw,3rem); }

/* Tabs (reuses toggle look; driven by data-afagh-tab + afagh-ui.js) */
.afc-tabs{ display:inline-flex; gap:.25rem; padding:.3rem; background:var(--afc-surface); border:1px solid var(--afc-line); border-radius:var(--afc-r-md); box-shadow:var(--afc-shadow-xs); }
.afc-tab{ display:inline-flex; align-items:center; gap:.5rem; padding:.65rem 1.5rem; border:none; background:none; border-radius:var(--afc-r-sm); font-family:inherit; font-weight:700; font-size:.9rem; color:var(--afc-muted); cursor:pointer; transition:background var(--afc-dur), color var(--afc-dur); }
.afc-tab.is-active{ background:var(--afc-brand); color:#fff; box-shadow:var(--afc-shadow-xs); }

/* CTA band — strategic dark, professional (used at section ends) */
.afc-cta-band{ position:relative; overflow:hidden; display:flex; flex-direction:column; gap:1.5rem; align-items:center; justify-content:space-between; text-align:center; background:linear-gradient(135deg,var(--afc-brand-deep),var(--afc-brand-strong)); color:#fff; border-radius:var(--afc-r-xl); padding:clamp(1.75rem,3vw,2.5rem); box-shadow:var(--afc-shadow-md); }
@media (min-width:768px){ .afc-cta-band{ flex-direction:row; text-align:start; } }
.afc-cta-band::after{ content:""; position:absolute; inset-block:-50%; inset-inline-end:-10%; width:50%; background:radial-gradient(circle, rgba(255,255,255,.12), transparent 70%); pointer-events:none; }
.afc-cta-band-txt h4{ margin:0 0 .4rem; font-size:clamp(1.15rem,2vw,1.5rem); font-weight:800; color:#fff; }
.afc-cta-band-txt p{ margin:0; color:rgba(255,255,255,.82); font-size:.92rem; line-height:1.7; max-width:42rem; }
.afc-cta-band .afc-btn{ position:relative; z-index:1; flex:none; }
.afc-cta-band .afc-btn--light{ background:#fff; color:var(--afc-brand-strong); }
.afc-cta-band .afc-btn--light:hover{ background:var(--afc-brand-tint); color:var(--afc-brand-strong); }

/* Soft info banner (light) */
.afc-note-band{ display:flex; flex-direction:column; gap:1.25rem; align-items:center; justify-content:space-between; background:var(--afc-surface); border:1px solid var(--afc-line); border-radius:var(--afc-r-xl); padding:1.5rem 1.75rem; box-shadow:var(--afc-shadow-xs); }
@media (min-width:768px){ .afc-note-band{ flex-direction:row; } }
.afc-note-band-id{ display:flex; align-items:center; gap:1rem; }
.afc-note-band-id .ic{ width:54px; height:54px; flex:none; border-radius:var(--afc-r-md); background:var(--afc-brand-tint); color:var(--afc-brand); display:flex; align-items:center; justify-content:center; font-size:1.3rem; }
.afc-note-band-id h4{ margin:0 0 .2rem; font-weight:800; color:var(--afc-ink); }
.afc-note-band-id p{ margin:0; font-size:.86rem; color:var(--afc-muted); }

/* Support / contact-method cards */
.afc-support-grid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(250px,1fr)); gap:1.25rem; }
.afc-support{ background:var(--afc-surface); border:1px solid var(--afc-line); border-radius:var(--afc-r-lg); padding:1.75rem; box-shadow:var(--afc-shadow-xs); transition:border-color var(--afc-dur), box-shadow var(--afc-dur); }
.afc-support:hover{ border-color:#cdd8ec; box-shadow:var(--afc-shadow-md); }
.afc-support .ic{ width:54px; height:54px; border-radius:var(--afc-r-md); background:var(--afc-brand-tint); color:var(--afc-brand); display:flex; align-items:center; justify-content:center; font-size:1.3rem; margin-bottom:1.1rem; transition:background var(--afc-dur), color var(--afc-dur); }
.afc-support:hover .ic{ background:var(--afc-brand); color:#fff; }
.afc-support h3{ margin:0 0 .6rem; font-size:1.1rem; font-weight:800; color:var(--afc-ink); }
.afc-support p{ margin:0 0 1.1rem; font-size:.88rem; line-height:1.8; color:var(--afc-muted); }
.afc-support .tel{ font-size:1.4rem; font-weight:900; color:var(--afc-ink); text-decoration:none; letter-spacing:.02em; display:block; }
.afc-support .tel:hover{ color:var(--afc-brand); }
.afc-support .sub{ font-size:.76rem; color:var(--afc-faint); margin-top:.3rem; display:block; }

/* Section heading, start-aligned variant with brand rule */
.afc-sec-head--start{ text-align:start; max-width:42rem; }

/* ============================================================================
 * 11. FORMS (unified) + contact layout
 * ==========================================================================*/
.afc-form{ display:grid; gap:1.25rem; }
.afc-form-row{ display:grid; gap:1.25rem; grid-template-columns:1fr; }
@media (min-width:640px){ .afc-form-row--2{ grid-template-columns:1fr 1fr; } }
.afc-field{ display:grid; gap:.4rem; }
.afc-label{ font-size:.85rem; font-weight:600; color:var(--afc-ink-2); }
.afc-label .req{ color:var(--afc-danger); }
.afc-input, .afc-select, .afc-textarea{
  width:100%; padding:.85rem 1rem; background:var(--afc-surface); border:1px solid var(--afc-line);
  border-radius:var(--afc-r-md); color:var(--afc-ink); font-family:inherit; font-size:.95rem;
  transition:border-color var(--afc-dur), box-shadow var(--afc-dur); min-height:48px;
}
.afc-input::placeholder, .afc-textarea::placeholder{ color:var(--afc-faint); }
.afc-input:focus, .afc-select:focus, .afc-textarea:focus{ outline:none; border-color:var(--afc-brand); box-shadow:0 0 0 3px rgba(37,99,235,.14); }
.afc-textarea{ resize:vertical; min-height:130px; line-height:1.7; }
.afc-help{ font-size:.78rem; color:var(--afc-muted); }

/* Alerts / notices */
.afc-alert{ display:flex; gap:.7rem; align-items:flex-start; padding:.9rem 1.1rem; border-radius:var(--afc-r-md); font-size:.88rem; line-height:1.6; border:1px solid; }
.afc-alert i{ margin-top:.15rem; }
.afc-alert--info{ background:var(--afc-info-tint); border-color:var(--afc-brand-tint-2); color:var(--afc-brand-strong); }
.afc-alert--success{ background:var(--afc-success-tint); border-color:#a7f3d0; color:var(--afc-success); }
.afc-alert--warning{ background:var(--afc-warning-tint); border-color:#fde68a; color:var(--afc-warning); }
.afc-alert--danger{ background:var(--afc-danger-tint); border-color:#fecaca; color:var(--afc-danger); }

/* Contact layout */
.afc-contact-grid{ display:grid; gap:2rem; grid-template-columns:1fr; align-items:start; }
@media (min-width:1024px){ .afc-contact-grid{ grid-template-columns:1fr 1.8fr; } }
.afc-contact-aside{ display:grid; gap:1.25rem; }
.afc-contact-card{ background:var(--afc-surface); border:1px solid var(--afc-line); border-radius:var(--afc-r-lg); padding:1.5rem; box-shadow:var(--afc-shadow-xs); transition:border-color var(--afc-dur), box-shadow var(--afc-dur), transform var(--afc-dur); }
.afc-contact-card:hover{ border-color:#cdd8ec; box-shadow:var(--afc-shadow-md); transform:translateY(-2px); }
.afc-contact-card .ic{ width:50px; height:50px; border-radius:var(--afc-r-md); background:var(--afc-brand-tint); color:var(--afc-brand); display:flex; align-items:center; justify-content:center; font-size:1.2rem; margin-bottom:1rem; }
.afc-contact-card h3{ margin:0 0 .35rem; font-size:1.05rem; font-weight:800; color:var(--afc-ink); }
.afc-contact-card p{ margin:0 0 .8rem; font-size:.85rem; color:var(--afc-muted); line-height:1.7; }
.afc-contact-card a.val{ color:var(--afc-brand); font-weight:700; text-decoration:none; }
.afc-contact-card a.val:hover{ text-decoration:underline; }
.afc-form-card{ background:var(--afc-surface); border:1px solid var(--afc-line); border-radius:var(--afc-r-xl); padding:clamp(1.5rem,3vw,2.5rem); box-shadow:var(--afc-shadow-sm); }

/* ============================================================================
 * 12. AUTH + ERROR pages (standalone, centered)
 * ==========================================================================*/
.afc-stage{ min-height:100vh; min-height:100dvh; display:flex; align-items:center; justify-content:center; padding:2.5rem 1rem; background:var(--afc-canvas); }
.afc-auth{ width:100%; max-width:26rem; }
.afc-auth-card{ background:var(--afc-surface); border:1px solid var(--afc-line); border-radius:var(--afc-r-xl); padding:clamp(1.75rem,4vw,2.5rem); box-shadow:var(--afc-shadow-md); }
.afc-auth-logo{ width:64px; height:64px; border-radius:var(--afc-r-lg); background:var(--afc-brand); color:#fff; display:flex; align-items:center; justify-content:center; font-size:1.6rem; margin:0 auto 1.25rem; box-shadow:var(--afc-shadow-brand); }
.afc-auth h1{ text-align:center; font-size:1.6rem; font-weight:900; color:var(--afc-ink); margin:0 0 .35rem; }
.afc-auth .sub{ text-align:center; color:var(--afc-muted); font-size:.9rem; margin:0 0 1.75rem; }
.afc-input-icon{ position:relative; }
.afc-input-icon > i{ position:absolute; inset-inline-end:1rem; top:50%; transform:translateY(-50%); color:var(--afc-faint); pointer-events:none; }
.afc-input-icon .afc-input{ padding-inline-end:2.75rem; }
.afc-auth-row{ display:flex; align-items:center; justify-content:space-between; gap:1rem; font-size:.82rem; }
.afc-auth-row a{ color:var(--afc-brand); text-decoration:none; }
.afc-auth-foot{ text-align:center; margin-top:1.5rem; padding-top:1.25rem; border-top:1px solid var(--afc-line-soft); font-size:.88rem; color:var(--afc-muted); }
.afc-auth-foot a{ color:var(--afc-brand); font-weight:700; text-decoration:none; }

.afc-error{ text-align:center; max-width:34rem; }
.afc-error-ic{ width:76px; height:76px; border-radius:var(--afc-r-xl); background:var(--afc-brand-tint); color:var(--afc-brand); display:flex; align-items:center; justify-content:center; font-size:1.9rem; margin:0 auto 1.25rem; }
.afc-error-code{ font-size:clamp(4.5rem,16vw,8rem); font-weight:900; line-height:1; color:var(--afc-brand); letter-spacing:-.02em; }
.afc-error h1{ font-size:clamp(1.4rem,3vw,2rem); font-weight:800; color:var(--afc-ink); margin:.5rem 0 .75rem; }
.afc-error p{ color:var(--afc-muted); line-height:1.8; margin:0 auto 2rem; max-width:28rem; }
.afc-error-actions{ display:flex; flex-wrap:wrap; gap:.85rem; justify-content:center; }
.afc-error-links{ display:flex; flex-wrap:wrap; gap:1.5rem; justify-content:center; margin-top:2.5rem; }
.afc-error-links a{ color:var(--afc-muted); font-size:.85rem; text-decoration:none; display:inline-flex; align-items:center; gap:.4rem; }
.afc-error-links a:hover{ color:var(--afc-brand); }

/* ============================================================================
 * 13. ARTICLE / BLOG SINGLE + PAGE + SIDEBAR  (prose, author, widgets)
 * ==========================================================================*/
.afc-article-layout{ display:grid; gap:2.5rem; grid-template-columns:1fr; align-items:start; }
@media (min-width:1024px){ .afc-article-layout{ grid-template-columns:minmax(0,2fr) minmax(280px,1fr); } }
.afc-crumb{ display:flex; flex-wrap:wrap; align-items:center; gap:.5rem; font-size:.82rem; color:var(--afc-muted); margin-bottom:1.5rem; }
.afc-crumb a{ color:var(--afc-muted); text-decoration:none; } .afc-crumb a:hover{ color:var(--afc-brand); }
.afc-crumb .cur{ color:var(--afc-brand); font-weight:600; }

.afc-article{ background:var(--afc-surface); border:1px solid var(--afc-line); border-radius:var(--afc-r-xl); overflow:hidden; box-shadow:var(--afc-shadow-xs); }
.afc-article-cover{ width:100%; aspect-ratio:16/9; object-fit:cover; display:block; }
.afc-article-body{ padding:clamp(1.5rem,3vw,2.75rem); }
.afc-article-meta{ display:flex; flex-wrap:wrap; align-items:center; gap:1.25rem; font-size:.82rem; color:var(--afc-muted); margin-bottom:1.5rem; }
.afc-article-meta span{ display:inline-flex; align-items:center; gap:.4rem; }
.afc-article-meta i{ color:var(--afc-brand); }
.afc-article-title{ font-size:clamp(1.6rem,1.2rem + 2vw,2.4rem); font-weight:900; line-height:1.25; color:var(--afc-ink); margin:0 0 1.5rem; letter-spacing:-.012em; }

/* Prose: readable long-form content from the WYSIWYG editor */
.afagh-prose, .afc-prose{ color:var(--afc-ink-2); font-size:1.02rem; line-height:1.95; }
.afagh-prose > * + *, .afc-prose > * + *{ margin-top:1.25rem; }
.afagh-prose h2, .afc-prose h2{ font-size:1.5rem; font-weight:800; color:var(--afc-ink); margin-top:2.25rem; line-height:1.35; }
.afagh-prose h3, .afc-prose h3{ font-size:1.2rem; font-weight:800; color:var(--afc-ink); margin-top:1.75rem; }
.afagh-prose a, .afc-prose a{ color:var(--afc-brand); text-decoration:underline; text-underline-offset:3px; }
.afagh-prose a:hover, .afc-prose a:hover{ color:var(--afc-brand-strong); }
.afagh-prose ul, .afagh-prose ol, .afc-prose ul, .afc-prose ol{ padding-inline-start:1.5rem; }
.afagh-prose ul, .afc-prose ul{ list-style:disc; } .afagh-prose ol, .afc-prose ol{ list-style:decimal; }
.afagh-prose li, .afc-prose li{ margin-top:.5rem; }
.afagh-prose img, .afc-prose img{ border-radius:var(--afc-r-md); max-width:100%; height:auto; }
.afagh-prose blockquote, .afc-prose blockquote{ border-inline-start:4px solid var(--afc-brand); background:var(--afc-surface-2); padding:1rem 1.25rem; border-radius:0 var(--afc-r-md) var(--afc-r-md) 0; color:var(--afc-ink-2); }
.afagh-prose pre, .afc-prose pre{ background:#0b1220; color:#e2e8f0; padding:1.1rem 1.25rem; border-radius:var(--afc-r-md); overflow-x:auto; font-size:.9rem; }
.afagh-prose code, .afc-prose code{ font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace; font-size:.9em; }
.afagh-prose :not(pre) > code, .afc-prose :not(pre) > code{ background:var(--afc-surface-2); padding:.15rem .4rem; border-radius:6px; color:var(--afc-brand-strong); }
.afagh-prose table, .afc-prose table{ width:100%; border-collapse:collapse; }
.afagh-prose th, .afagh-prose td, .afc-prose th, .afc-prose td{ border:1px solid var(--afc-line); padding:.65rem .85rem; text-align:start; }
.afagh-prose th, .afc-prose th{ background:var(--afc-surface-2); font-weight:700; color:var(--afc-ink); }

.afc-tags{ display:flex; flex-wrap:wrap; gap:.5rem; margin-top:2.5rem; padding-top:1.75rem; border-top:1px solid var(--afc-line-soft); }
.afc-tag{ background:var(--afc-surface-2); color:var(--afc-muted); padding:.4rem .85rem; border-radius:var(--afc-r-pill); font-size:.8rem; text-decoration:none; border:1px solid var(--afc-line); transition:background var(--afc-dur), color var(--afc-dur); }
.afc-tag:hover{ background:var(--afc-brand); color:#fff; border-color:var(--afc-brand); }

.afc-author{ display:flex; align-items:center; gap:1.25rem; background:var(--afc-surface); border:1px solid var(--afc-line); border-radius:var(--afc-r-lg); padding:1.5rem; margin-top:1.5rem; box-shadow:var(--afc-shadow-xs); }
.afc-author img{ border-radius:var(--afc-r-md); flex:none; }
.afc-author h4{ margin:0 0 .35rem; font-size:1.05rem; font-weight:800; color:var(--afc-ink); }
.afc-author p{ margin:0; font-size:.88rem; color:var(--afc-muted); line-height:1.7; }

.afc-postnav{ display:flex; justify-content:space-between; gap:1rem; margin-top:1.5rem; font-size:.9rem; }
.afc-postnav a{ color:var(--afc-brand); text-decoration:none; font-weight:700; }
.afc-postnav a:hover{ color:var(--afc-brand-strong); }

/* Sidebar widgets */
.afc-aside{ display:grid; gap:1.5rem; align-content:start; }
.afc-widget{ background:var(--afc-surface); border:1px solid var(--afc-line); border-radius:var(--afc-r-lg); padding:1.5rem; box-shadow:var(--afc-shadow-xs); }
.afc-widget h3{ font-size:1.05rem; font-weight:800; color:var(--afc-ink); margin:0 0 1rem; padding-inline-start:.7rem; border-inline-start:2px solid var(--afc-brand); }
.afc-widget-search{ position:relative; }
.afc-widget-search input{ width:100%; background:var(--afc-surface); border:1px solid var(--afc-line); border-radius:var(--afc-r-md); padding:.75rem 1rem; padding-inline-start:2.75rem; color:var(--afc-ink); font-family:inherit; }
.afc-widget-search input:focus{ outline:none; border-color:var(--afc-brand); box-shadow:0 0 0 3px rgba(37,99,235,.14); }
.afc-widget-search button{ position:absolute; inset-inline-start:.4rem; top:50%; transform:translateY(-50%); width:34px; height:34px; border:none; background:none; color:var(--afc-faint); border-radius:var(--afc-r-sm); cursor:pointer; }
.afc-widget-search button:hover{ background:var(--afc-brand); color:#fff; }
.afc-catlist{ list-style:none; margin:0; padding:0; display:grid; gap:.4rem; }
.afc-catlist a{ display:flex; align-items:center; justify-content:space-between; gap:.5rem; padding:.6rem .75rem; border-radius:var(--afc-r-sm); text-decoration:none; color:var(--afc-ink-2); transition:background var(--afc-dur), color var(--afc-dur); }
.afc-catlist a:hover{ background:var(--afc-brand-tint); color:var(--afc-brand); }
.afc-catlist .count{ background:var(--afc-surface-2); color:var(--afc-muted); font-size:.72rem; padding:.15rem .5rem; border-radius:6px; }
.afc-catlist a:hover .count{ background:var(--afc-brand); color:#fff; }
.afc-widget-cta{ background:linear-gradient(150deg,var(--afc-brand),var(--afc-brand-deep)); color:#fff; border:none; text-align:center; }
.afc-widget-cta h3{ color:#fff; border:none; padding:0; }
.afc-widget-cta .ic{ width:56px; height:56px; border-radius:var(--afc-r-md); background:rgba(255,255,255,.16); display:flex; align-items:center; justify-content:center; margin:0 auto 1rem; font-size:1.4rem; }
.afc-widget-cta p{ color:rgba(255,255,255,.85); font-size:.85rem; margin:.25rem 0 1.25rem; }
.afc-widget-cta input{ width:100%; border:none; border-radius:var(--afc-r-md); padding:.7rem 1rem; text-align:center; margin-bottom:.6rem; }
.afc-widget-promo{ position:relative; border-radius:var(--afc-r-lg); overflow:hidden; aspect-ratio:4/5; display:block; border:1px solid var(--afc-line); }
.afc-widget-promo img{ width:100%; height:100%; object-fit:cover; transition:transform .6s var(--afc-ease); }
.afc-widget-promo:hover img{ transform:scale(1.06); }
.afc-widget-promo .ov{ position:absolute; inset:0; background:linear-gradient(to top, rgba(15,23,42,.92), rgba(15,23,42,.35) 55%, transparent); padding:1.5rem; display:flex; flex-direction:column; justify-content:flex-end; }
.afc-widget-promo h4{ color:#fff; font-size:1.05rem; font-weight:800; line-height:1.6; margin:.5rem 0 1rem; }

/* ---- Comments ---- */
.afc-comments{ color:var(--afc-ink-2); }
.afc-comments .afc-comments-title{ font-size:1.25rem; font-weight:800; color:var(--afc-ink); margin:0 0 1.25rem; }
.afc-comments ol.comment-list{ list-style:none; margin:0 0 1.5rem; padding:0; display:grid; gap:1rem; }
.afc-comments ol .children{ list-style:none; margin:1rem 0 0; padding-inline-start:1.25rem; border-inline-start:2px solid var(--afc-line); display:grid; gap:1rem; }
.afc-comments li.comment > article, .afc-comments .comment-body{ background:var(--afc-surface-2); border:1px solid var(--afc-line); border-radius:var(--afc-r-md); padding:1.1rem 1.25rem; }
.afc-comments .comment-author{ display:flex; align-items:center; gap:.6rem; font-weight:700; color:var(--afc-ink); font-size:.92rem; margin-bottom:.4rem; }
.afc-comments .comment-author img{ border-radius:var(--afc-r-sm); }
.afc-comments .comment-meta, .afc-comments .comment-metadata a{ font-size:.76rem; color:var(--afc-muted); text-decoration:none; }
.afc-comments .comment-content{ font-size:.92rem; line-height:1.8; margin-top:.5rem; }
.afc-comments .reply a{ color:var(--afc-brand); font-weight:700; font-size:.82rem; text-decoration:none; }
.afc-comments .comment-respond{ background:var(--afc-surface); border:1px solid var(--afc-line); border-radius:var(--afc-r-lg); padding:1.5rem; margin-top:1rem; }
.afc-comments .comment-reply-title{ font-size:1.1rem; font-weight:800; color:var(--afc-ink); margin:0 0 1rem; }
.afc-comments .comment-form input[type=text],
.afc-comments .comment-form input[type=email],
.afc-comments .comment-form input[type=url],
.afc-comments .comment-form textarea{ width:100%; padding:.8rem 1rem; border:1px solid var(--afc-line); border-radius:var(--afc-r-md); background:var(--afc-surface); color:var(--afc-ink); font-family:inherit; font-size:.95rem; }
.afc-comments .comment-form textarea:focus,
.afc-comments .comment-form input:focus{ outline:none; border-color:var(--afc-brand); box-shadow:0 0 0 3px rgba(37,99,235,.14); }
.afc-comments .comment-form p{ margin:0 0 1rem; }
.afc-comments .form-submit input[type=submit], .afc-comments .submit{
  background:var(--afc-brand); color:#fff; border:none; font-weight:700; padding:.8rem 1.8rem;
  border-radius:var(--afc-r-md); cursor:pointer; font-family:inherit; transition:background var(--afc-dur);
}
.afc-comments .form-submit input[type=submit]:hover, .afc-comments .submit:hover{ background:var(--afc-brand-strong); }

/* ============================================================================
 * 14. BASE — page background & body (replaces the dropped Tailwind body bg)
 * ==========================================================================*/
html{ scroll-behavior:smooth; }
body{ background:#f6f8fc; color:var(--afc-ink); }
::selection{ background:rgba(37,99,235,.22); color:var(--afc-ink); }

/* ============================================================================
 * 15. Infrastructure grid backdrop (hero signature) + premium search (v4.0.1)
 * Subtle technical grid on every hero; masked fade keeps text readable.
 * ==========================================================================*/
.afc-hero::after{
  content:""; position:absolute; inset:0; z-index:0; pointer-events:none; opacity:.7;
  background-image:
    linear-gradient(rgba(37,99,235,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37,99,235,.055) 1px, transparent 1px);
  background-size:46px 46px;
  -webkit-mask-image:radial-gradient(125% 85% at 50% 0%, #000 32%, transparent 80%);
          mask-image:radial-gradient(125% 85% at 50% 0%, #000 32%, transparent 80%);
}
.afc-hero-in{ position:relative; z-index:1; }   /* content above the grid */
@media (prefers-reduced-motion:no-preference){ .afc-hero::after{ } }

/* Section-level faint grid (opt-in: add .afc-section--tech to a section) */
.afc-section--tech{ position:relative; }
.afc-section--tech::before{
  content:""; position:absolute; inset:0; z-index:0; pointer-events:none; opacity:.5;
  background-image:
    linear-gradient(rgba(37,99,235,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37,99,235,.04) 1px, transparent 1px);
  background-size:46px 46px;
  -webkit-mask-image:radial-gradient(110% 90% at 50% 50%, #000 55%, transparent 92%);
          mask-image:radial-gradient(110% 90% at 50% 50%, #000 55%, transparent 92%);
}
.afc-section--tech > *{ position:relative; z-index:1; }

/* Premium domain search: bigger, balanced, responsive */
.afc-hero-search--xl{ max-width:48rem; padding:.55rem; gap:.6rem; box-shadow:var(--afc-shadow-md); }
.afc-hero-search--xl .afc-hero-search-field{ padding-inline:1.1rem; }
.afc-hero-search--xl .afc-hero-search-field i{ font-size:1.05rem; }
.afc-hero-search--xl .afc-hero-search-field input{ font-size:1.12rem; padding-block:1.05rem; }
.afc-hero-search--xl .afc-btn{ padding:1.05rem 2.2rem; font-size:1.05rem; min-height:58px; }
@media (max-width:600px){
  .afc-hero-search, .afc-hero-search--xl{ flex-direction:column; align-items:stretch; }
  .afc-hero-search .afc-btn, .afc-hero-search--xl .afc-btn{ width:100%; }
  .afc-hero-search-field{ padding-block:.35rem; }
}

/* ============================================================================
 * 15. MAINTENANCE / COMING-SOON (standalone full-screen)
 * ==========================================================================*/
.afc-maint{
  min-height:100vh; min-height:100dvh; display:flex; align-items:center; justify-content:center;
  padding:2.5rem 1.25rem; text-align:center;
  background:
    radial-gradient(60% 45% at 50% 0%, rgba(37,99,235,.10), transparent 60%),
    radial-gradient(50% 40% at 50% 100%, rgba(37,99,235,.06), transparent 60%),
    var(--afc-canvas);
}
.afc-maint-in{ max-width:40rem; width:100%; }
.afc-maint-logo{ display:inline-flex; align-items:center; gap:.6rem; font-weight:900; font-size:1.35rem; color:var(--afc-ink); margin-bottom:2.25rem; }
.afc-maint-logo i{ color:var(--afc-brand); }
.afc-maint-logo b{ color:var(--afc-brand); font-weight:900; }
.afc-maint-ic{
  width:96px; height:96px; border-radius:28px; margin:0 auto 1.75rem;
  display:flex; align-items:center; justify-content:center; font-size:2.6rem; color:#fff;
  background:linear-gradient(150deg,var(--afc-brand),var(--afc-brand-deep)); box-shadow:var(--afc-shadow-brand);
}
.afc-maint .afc-badge{ margin-bottom:1rem; }
.afc-maint h1{ font-size:clamp(1.8rem,1.2rem + 3vw,2.8rem); font-weight:900; color:var(--afc-ink); line-height:1.2; margin:.25rem 0 1rem; letter-spacing:-.015em; }
.afc-maint p{ color:var(--afc-muted); font-size:1.05rem; line-height:1.9; margin:0 auto 1.75rem; max-width:34rem; }
.afc-maint-eta{
  display:inline-flex; align-items:center; gap:.5rem; background:var(--afc-surface);
  border:1px solid var(--afc-line); border-radius:var(--afc-r-pill); padding:.6rem 1.25rem;
  color:var(--afc-ink-2); font-weight:700; font-size:.9rem; box-shadow:var(--afc-shadow-xs);
}
.afc-maint-eta i{ color:var(--afc-brand); }
.afc-maint-links{ display:flex; gap:.75rem; justify-content:center; flex-wrap:wrap; margin-top:1.5rem; }
.afc-maint-foot{ margin-top:2.5rem; color:var(--afc-faint); font-size:.8rem; }

/* ---- Footer trust seals (eNamad + Samandehi HTML codes) ---- */
.afc-ftr-seals{ display:flex; flex-wrap:wrap; gap:.75rem; align-content:flex-start; }
.afc-seal{ background:var(--afc-surface); border:1px solid var(--afc-line); border-radius:var(--afc-r-md); padding:.5rem; display:flex; align-items:center; justify-content:center; min-width:84px; min-height:84px; box-shadow:var(--afc-shadow-xs); transition:border-color var(--afc-dur), box-shadow var(--afc-dur); }
.afc-seal:hover{ border-color:#cdd8ec; box-shadow:var(--afc-shadow-md); }
.afc-seal a{ display:flex; align-items:center; justify-content:center; }
.afc-seal img{ max-width:100px; max-height:100px; width:auto; height:auto; display:block; cursor:pointer; }

/* ---- Plan card: country flag (server plans) + "coming soon" state ---- */
.afc-plan-flag{ width:64px; height:64px; border-radius:50%; overflow:hidden; margin:0 auto 1.1rem; border:1px solid var(--afc-line); box-shadow:var(--afc-shadow-xs); background:#fff; display:flex; }
.afc-plan-flag img{ width:100%; height:100%; object-fit:cover; display:block; }
.afc-plan--soon{ position:relative; overflow:hidden; }
.afc-plan--soon > *:not(.afc-plan-soon){ filter:blur(3px); opacity:.5; pointer-events:none; user-select:none; }
.afc-plan-soon{ position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); z-index:4; background:var(--afc-brand); color:#fff; font-weight:800; font-size:.95rem; letter-spacing:.02em; padding:.6rem 1.5rem; border-radius:var(--afc-r-pill); box-shadow:var(--afc-shadow-brand); white-space:nowrap; }

/* ---- Card slider (4-up, RTL, swipe + arrows) ---- */
.afc-slider{ position:relative; }
.afc-slider-track{ display:flex; gap:1.5rem; overflow-x:auto; scroll-snap-type:x mandatory; scroll-behavior:smooth; padding:.5rem .25rem 1rem; -webkit-overflow-scrolling:touch; scrollbar-width:none; }
.afc-slider-track::-webkit-scrollbar{ display:none; }
.afc-slider-track > *{ scroll-snap-align:start; flex:0 0 calc((100% - 4.5rem)/4); min-width:0; }
@media (max-width:1100px){ .afc-slider-track > *{ flex-basis:calc((100% - 3rem)/3); } }
@media (max-width:820px){ .afc-slider-track > *{ flex-basis:calc((100% - 1.5rem)/2); } }
@media (max-width:560px){ .afc-slider-track > *{ flex-basis:86%; } }
.afc-slider-btn{ position:absolute; top:calc(50% - 8px); transform:translateY(-50%); z-index:5; width:44px; height:44px; border-radius:50%; background:var(--afc-surface); border:1px solid var(--afc-line); color:var(--afc-brand); display:flex; align-items:center; justify-content:center; cursor:pointer; box-shadow:var(--afc-shadow-md); transition:background var(--afc-dur), color var(--afc-dur), opacity var(--afc-dur); }
.afc-slider-btn:hover{ background:var(--afc-brand); color:#fff; }
.afc-slider-btn:disabled{ opacity:.3; cursor:default; }
.afc-slider-prev{ inset-inline-start:-8px; }
.afc-slider-next{ inset-inline-end:-8px; }
@media (max-width:820px){ .afc-slider-btn{ display:none; } }

/* ---- Section "coming soon" blur overlay (e.g. homepage domain table) ---- */
.afc-soonwrap{ position:relative; }
.afc-soonwrap.is-soon > *:not(.afc-soon-badge){ filter:blur(4px); opacity:.5; pointer-events:none; user-select:none; }
.afc-soon-badge{ position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); z-index:6; background:var(--afc-brand); color:#fff; font-weight:800; font-size:1rem; padding:.7rem 1.8rem; border-radius:var(--afc-r-pill); box-shadow:var(--afc-shadow-brand); white-space:nowrap; }
@media (prefers-reduced-motion:reduce){ .afc-slider-track{ scroll-behavior:auto; } }

/* ---- Full-page "coming soon" (blur whole content + fixed centered badge) ---- */
.afc-page-soon{ position:relative; }
.afc-page-soon-inner{ filter:blur(6px); opacity:.55; pointer-events:none; user-select:none; }
.afc-page-soon-badge{ position:fixed; top:50%; left:50%; transform:translate(-50%,-50%); z-index:40; display:inline-flex; align-items:center; gap:.6rem; background:var(--afc-brand); color:#fff; font-weight:800; font-size:1.15rem; padding:1rem 2.2rem; border-radius:var(--afc-r-pill); box-shadow:var(--afc-shadow-brand); white-space:nowrap; }

/* ---- Tiny "coming soon" badge for nav items (desktop + mobile) ---- */
.afc-soon-mini{ display:inline-flex; align-items:center; font-size:.62rem; font-weight:800; line-height:1; padding:.2rem .45rem; border-radius:999px; background:var(--afc-brand-tint); color:var(--afc-brand-strong); margin-inline-start:.4rem; vertical-align:middle; white-space:nowrap; }

/* ============================================================================
 * 17. HOMEPAGE HERO v2 — premium single-column (scoped: .afc-hero--home2)
 * ==========================================================================*/
.afc-hero--home2{ position:relative; overflow:hidden; text-align:center;
  display:flex; align-items:center; min-height:min(74vh,760px);
  padding-block:clamp(3.5rem,7vw,7.5rem);
  background:radial-gradient(60% 55% at 50% -8%, rgba(37,99,235,.10), transparent 60%), #f7f9fd; }
.afc-hero--home2::before{ content:""; position:absolute; inset:0; pointer-events:none; opacity:.6; z-index:0;
  background-image:linear-gradient(rgba(37,99,235,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(37,99,235,.045) 1px, transparent 1px);
  background-size:44px 44px;
  -webkit-mask-image:radial-gradient(circle at 50% 20%, #000, transparent 68%); mask-image:radial-gradient(circle at 50% 20%, #000, transparent 68%); }
.afc-hero--home2 > .afc-container{ position:relative; z-index:1; }

.afc-h2-orb{ position:absolute; border-radius:50%; filter:blur(72px); opacity:.5; pointer-events:none; z-index:0; will-change:transform; }
.afc-h2-orb--1{ width:340px; height:340px; background:rgba(37,99,235,.28); top:-90px; inset-inline-end:-60px; animation:afc-h2-float1 15s ease-in-out infinite alternate; }
.afc-h2-orb--2{ width:300px; height:300px; background:rgba(96,165,250,.24); bottom:-110px; inset-inline-start:-40px; animation:afc-h2-float2 17s ease-in-out infinite alternate; }
@keyframes afc-h2-float1{ to{ transform:translate(-32px,40px) scale(1.1); } }
@keyframes afc-h2-float2{ to{ transform:translate(30px,-28px) scale(1.08); } }

.afc-hero--home2 > .afc-container{ width:100%; }
.afc-h2-in{ width:100%; max-width:56rem; margin-inline:auto; }
.afc-h2-eyebrow{ display:inline-flex; align-items:center; gap:.5rem; font-size:.82rem; font-weight:700;
  color:var(--afc-brand-strong); background:rgba(255,255,255,.82); border:1px solid var(--afc-brand-tint-2);
  padding:.5rem 1.05rem; border-radius:var(--afc-r-pill); margin-bottom:1.5rem; box-shadow:var(--afc-shadow-xs);
  -webkit-backdrop-filter:blur(6px); backdrop-filter:blur(6px); }
.afc-h2-eyebrow .dot{ width:7px; height:7px; border-radius:50%; background:var(--afc-success); box-shadow:0 0 0 4px rgba(5,150,105,.16); animation:afc-h2-pulse 2s ease-in-out infinite; }
@keyframes afc-h2-pulse{ 0%,100%{ opacity:1; } 50%{ opacity:.4; } }

.afc-hero--home2 .afc-h2-title{ font-family:'Vazirmatn', var(--afc-font); font-size:clamp(2.1rem,1.3rem + 3.6vw,4.2rem) !important; font-weight:900 !important; line-height:1.14 !important; letter-spacing:-.02em; color:var(--afc-ink); margin:0 0 1.2rem; }
.afc-hero--home2 .afc-h2-title span{ color:var(--afc-brand); font-weight:900 !important; white-space:nowrap; }
@media(max-width:560px){ .afc-hero--home2 .afc-h2-title span{ white-space:normal; } }
.afc-hero--home2 .afc-h2-sub{ font-size:clamp(1rem,.95rem + .4vw,1.2rem); line-height:1.85; color:var(--afc-muted); max-width:40rem; margin:0 auto 2rem; }

/* premium domain search */
.afc-h2-search{ display:flex; align-items:center; gap:.5rem; max-width:48rem; margin:0 auto; background:#fff;
  border:1px solid var(--afc-line); border-radius:18px; padding:.55rem; box-shadow:0 14px 44px -20px rgba(16,33,71,.28);
  transition:box-shadow .2s ease, border-color .2s ease; }
.afc-h2-search:focus-within{ border-color:var(--afc-brand); box-shadow:0 0 0 4px rgba(37,99,235,.12), 0 18px 46px -20px rgba(37,99,235,.42); }
.afc-h2-search-ic{ display:flex; padding-inline-start:.9rem; color:var(--afc-faint); }
.afc-h2-search input{ flex:1; min-width:0; border:none; background:none; outline:none; font-family:inherit; font-size:1.05rem; font-weight:600; color:var(--afc-ink); padding-block:.9rem; text-align:start; }
.afc-h2-search input::placeholder{ color:var(--afc-faint); font-weight:500; }
.afc-h2-search .afc-btn{ flex:none; border-radius:14px; padding:1rem 1.6rem; }

.afc-h2-tlds{ display:flex; flex-wrap:wrap; gap:.6rem; justify-content:center; margin-top:1.25rem; }
.afc-hero--home2 .afc-tld-chips{ display:flex; flex-wrap:wrap; gap:.6rem; justify-content:center; }
.afc-hero--home2 .afc-tld-chip{ background:rgba(255,255,255,.72); border:1px solid var(--afc-line); box-shadow:var(--afc-shadow-xs); -webkit-backdrop-filter:blur(4px); backdrop-filter:blur(4px); }

.afc-h2-trust{ display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:.55rem 1.25rem; margin-top:2.25rem; color:var(--afc-muted); font-size:.85rem; }
.afc-h2-trust b{ color:var(--afc-ink); font-weight:800; }
.afc-h2-trust .sep{ width:5px; height:5px; border-radius:50%; background:#cdd8ec; }

@media (max-width:560px){
  .afc-h2-search{ flex-wrap:wrap; }
  .afc-h2-search .afc-btn{ width:100%; }
  .afc-h2-trust .sep{ display:none; }
}
@media (prefers-reduced-motion:reduce){
  .afc-h2-orb, .afc-h2-eyebrow .dot{ animation:none !important; }
}

/* ---- Contact page (redesigned): brand info panel + form ---- */
.afc-contact2{ display:grid; grid-template-columns:1fr 1.4fr; gap:0; border:1px solid var(--afc-line); border-radius:var(--afc-r-xl); overflow:hidden; box-shadow:var(--afc-shadow-md); background:var(--afc-surface); max-width:64rem; margin-inline:auto; }
@media (max-width:860px){ .afc-contact2{ grid-template-columns:1fr; } }
.afc-contact2-info{ background:linear-gradient(160deg,var(--afc-brand) 0%,var(--afc-brand-deep) 100%); color:#fff; padding:clamp(1.75rem,3vw,2.5rem); }
.afc-contact2-info h3{ color:#fff; font-size:1.3rem; font-weight:800; margin:0 0 .6rem; }
.afc-contact2-info > p{ color:rgba(255,255,255,.82); font-size:.9rem; line-height:1.85; margin:0 0 1.75rem; }
.afc-contact2-list{ list-style:none; margin:0 0 1.75rem; padding:0; display:grid; gap:1.1rem; }
.afc-contact2-list li{ display:flex; align-items:flex-start; gap:.85rem; }
.afc-contact2-list .ic{ width:42px; height:42px; border-radius:12px; background:rgba(255,255,255,.14); display:flex; align-items:center; justify-content:center; flex:none; font-size:1rem; }
.afc-contact2-list b{ display:block; font-size:.8rem; color:rgba(255,255,255,.7); font-weight:600; margin-bottom:.15rem; }
.afc-contact2-list a, .afc-contact2-list div > span{ color:#fff; font-weight:700; text-decoration:none; font-size:.95rem; }
.afc-contact2-list a:hover{ text-decoration:underline; }
.afc-contact2-social{ display:flex; gap:.6rem; }
.afc-contact2-social a{ width:40px; height:40px; border-radius:12px; background:rgba(255,255,255,.14); display:flex; align-items:center; justify-content:center; color:#fff; text-decoration:none; transition:background var(--afc-dur); }
.afc-contact2-social a:hover{ background:rgba(255,255,255,.26); }
.afc-contact2-form{ padding:clamp(1.75rem,3vw,2.5rem); }
.afc-contact2-form h2{ font-size:1.4rem; font-weight:800; color:var(--afc-ink); margin:0 0 1.5rem; }

/* ---- About page (redesigned): story + facts ---- */
.afc-about-story{ display:grid; grid-template-columns:1.15fr .85fr; gap:clamp(2rem,4vw,3.5rem); align-items:center; }
@media (max-width:860px){ .afc-about-story{ grid-template-columns:1fr; } }
.afc-about-story-txt h2{ margin-bottom:1.1rem; }
.afc-about-story-txt p{ color:var(--afc-muted); line-height:1.95; margin:0 0 1rem; }
.afc-about-story-txt b{ color:var(--afc-ink); }
.afc-about-facts{ display:grid; gap:.9rem; }
.afc-about-fact{ display:flex; align-items:center; gap:.9rem; background:var(--afc-surface); border:1px solid var(--afc-line); border-radius:var(--afc-r-lg); padding:1rem 1.15rem; box-shadow:var(--afc-shadow-xs); }
.afc-about-fact .ic{ width:46px; height:46px; border-radius:12px; background:var(--afc-brand-tint); color:var(--afc-brand); display:flex; align-items:center; justify-content:center; font-size:1.1rem; flex:none; }
.afc-about-fact b{ display:block; font-size:.95rem; color:var(--afc-ink); }
.afc-about-fact > div > span{ font-size:.82rem; color:var(--afc-muted); }

/* ---- Homepage hero: fuller on large monitors ---- */
@media (min-width:1500px){
  .afc-hero--home2 .afc-h2-sub{ font-size:1.28rem; max-width:44rem; }
  .afc-h2-search{ max-width:52rem; }
  .afc-h2-search input{ font-size:1.12rem; padding-block:1rem; }
}
