/* ================================================================
   ALPHAFANG BRAND STYLES
   Brand: #C1272D (red), #771E0F (dark red), #000 (black), #fff
   Strictly UI only — no PHP/DB logic touched
   ================================================================ */

/* ---- VARIABLES ---- */
:root {
    --af-red:        #C1272D;
    --af-red-dark:   #771E0F;
    --af-black:      #000000;
    --af-surface:    #111111;
    --af-surface-2:  #1a1a1a;
    --af-border:     rgba(255,255,255,0.08);
    --af-text:       #F2F2F2;
    --af-muted:      rgba(242,242,242,0.55);
    --af-font:       'Poppins', sans-serif;
    --af-transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- RESET NICO DEFAULTS ON HERO AREA ---- */
body { background: var(--af-black); }

/* ================================================================
   NAVBAR
   ================================================================ */
.af-navbar {
    background: transparent !important;
    padding: 18px 0;
    transition: background var(--af-transition), padding var(--af-transition), box-shadow var(--af-transition);
    z-index: 1000;
}
.af-navbar.scrolled {
    background: rgba(0, 0, 0, 0.92) !important;
    padding: 10px 0;
    box-shadow: 0 2px 30px rgba(0,0,0,0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* Logo */
.af-brand { display: flex; align-items: center; }
.af-logo {
    height: 48px;
    width: auto;
    transition: opacity var(--af-transition);
}
.af-logo:hover { opacity: 0.85; }

/* Toggler */
.af-toggler {
    border: 1px solid rgba(255,255,255,0.25) !important;
    color: #fff !important;
    border-radius: 6px;
    padding: 6px 10px;
}

/* Nav buttons */
.af-nav-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
}
.af-btn-login {
    color: #fff;
    font-family: var(--af-font);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-decoration: none;
    padding: 8px 22px;
    border: 1.5px solid rgba(255,255,255,0.35);
    border-radius: 6px;
    transition: all var(--af-transition);
}
.af-btn-login:hover {
    color: #fff;
    border-color: #fff;
    background: rgba(255,255,255,0.08);
    text-decoration: none;
}
.af-btn-signup {
    color: #fff;
    font-family: var(--af-font);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-decoration: none;
    padding: 9px 24px;
    background: var(--af-red);
    border: 1.5px solid var(--af-red);
    border-radius: 6px;
    transition: all var(--af-transition);
}
.af-btn-signup:hover {
    color: #fff;
    background: var(--af-red-dark);
    border-color: var(--af-red-dark);
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(193,39,45,0.4);
}

/* ================================================================
   HERO
   ================================================================ */
.af-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Full cover background image */
.af-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    transform: scale(1.04);
    transition: transform 8s ease;
    z-index: 0;
}
.af-hero:hover .af-hero-bg { transform: scale(1); }

/* Dark overlay — heavier at top/bottom for readability */
.af-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.55) 0%,
        rgba(0,0,0,0.45) 40%,
        rgba(0,0,0,0.72) 100%
    );
    z-index: 1;
}

/* Content sits above bg + overlay */
.af-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 120px 20px 80px;
    max-width: 820px;
    margin: 0 auto;
}

/* Hero logo */
.af-hero-logo {
    height: 90px;
    width: auto;
    margin-bottom: 28px;
    filter: drop-shadow(0 4px 24px rgba(193,39,45,0.5));
    animation: af-float 4s ease-in-out infinite;
}
@keyframes af-float {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-8px); }
}

/* Hero headline */
.af-hero-title {
    font-family: var(--af-font);
    font-size: clamp(2rem, 5vw, 3.6rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    letter-spacing: -0.01em;
    margin-bottom: 20px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}
.af-red { color: var(--af-red); }

/* Hero subtext */
.af-hero-sub {
    font-family: var(--af-font);
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: rgba(255,255,255,0.8);
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* CTA buttons */
.af-hero-ctas {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}
.af-cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--af-font);
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    background: var(--af-red);
    padding: 14px 32px;
    border-radius: 8px;
    border: 2px solid var(--af-red);
    letter-spacing: 0.03em;
    transition: all var(--af-transition);
    box-shadow: 0 4px 24px rgba(193,39,45,0.35);
}
.af-cta-primary:hover {
    color: #fff;
    text-decoration: none;
    background: var(--af-red-dark);
    border-color: var(--af-red-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(193,39,45,0.55);
}
.af-cta-primary i { transition: transform var(--af-transition); }
.af-cta-primary:hover i { transform: translateX(4px); }

.af-cta-secondary {
    display: inline-flex;
    align-items: center;
    font-family: var(--af-font);
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    padding: 14px 32px;
    border-radius: 8px;
    border: 2px solid rgba(255,255,255,0.35);
    letter-spacing: 0.03em;
    transition: all var(--af-transition);
}
.af-cta-secondary:hover {
    color: #fff;
    text-decoration: none;
    border-color: #fff;
    background: rgba(255,255,255,0.1);
    transform: translateY(-2px);
}

/* ================================================================
   WELCOME SECTION
   ================================================================ */
.af-welcome {
    position: relative;
    background: var(--af-black);
    padding: 100px 20px;
    overflow: hidden;
}

/* Subtle red glow top-center */
.af-welcome::before {
    content: '';
    position: absolute;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 300px;
    background: radial-gradient(ellipse at center, rgba(193,39,45,0.18) 0%, transparent 70%);
    pointer-events: none;
}

.af-welcome-inner {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

/* "BEST SMM PANEL" label */
.af-welcome-label {
    display: inline-block;
    font-family: var(--af-font);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    color: var(--af-red);
    text-transform: uppercase;
    margin-bottom: 16px;
}

/* Main title */
.af-welcome-title {
    font-family: var(--af-font);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
    line-height: 1.2;
}

/* Decorative red line under title */
.af-welcome-line {
    width: 60px;
    height: 3px;
    background: var(--af-red);
    margin: 0 auto 36px;
    border-radius: 2px;
    position: relative;
}
.af-welcome-line::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -6px;
    width: 20px;
    height: 3px;
    background: var(--af-red-dark);
    border-radius: 2px;
    opacity: 0.6;
}

/* Body paragraphs */
.af-welcome-body {
    font-family: var(--af-font);
    font-size: 1rem;
    color: rgba(242,242,242,0.72);
    line-height: 1.85;
    margin-bottom: 18px;
}

/* Sub heading */
.af-welcome-sub {
    font-family: var(--af-font);
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin: 32px 0 18px;
    position: relative;
    display: inline-block;
}
.af-welcome-sub::after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background: var(--af-red);
    margin: 8px auto 0;
    border-radius: 2px;
}

/* Signature block */
.af-welcome-signature {
    margin-top: 52px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}
.af-sig-script {
    font-family: 'Dancing Script', 'Brush Script MT', cursive;
    font-size: 2.4rem;
    color: var(--af-red);
    line-height: 1;
    display: block;
    margin-bottom: 4px;
}
.af-sig-name {
    font-family: var(--af-font);
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.04em;
}
.af-sig-role {
    font-family: var(--af-font);
    font-size: 0.85rem;
    color: var(--af-muted);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* ================================================================
   PLATFORM + STATS SECTION
   ================================================================ */
.af-platform-section {
    background: var(--af-black);
    padding: 90px 0 80px;
    position: relative;
}
.af-platform-section::before {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 1px;
    background: var(--af-border);
}

/* --- PITCH (left) --- */
.af-platform-top { margin-bottom: 70px; }
.af-pitch { padding-right: 40px; }

.af-pitch-label {
    display: inline-block;
    font-family: var(--af-font);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--af-red);
    text-transform: uppercase;
    margin-bottom: 16px;
}
.af-pitch-title {
    font-family: var(--af-font);
    font-size: clamp(1.7rem, 3.5vw, 2.6rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 20px;
}
.af-pitch-body {
    font-family: var(--af-font);
    font-size: 0.97rem;
    color: var(--af-muted);
    line-height: 1.75;
    margin-bottom: 32px;
    max-width: 380px;
}

/* --- PLATFORM CARDS (right) --- */
.af-platforms {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.af-platform-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--af-surface);
    border: 1px solid var(--af-border);
    border-radius: 12px;
    padding: 16px 22px;
    transition: border-color var(--af-transition), transform var(--af-transition), box-shadow var(--af-transition);
}
.af-platform-card:hover {
    border-color: rgba(193,39,45,0.4);
    transform: translateX(4px);
    box-shadow: 0 4px 24px rgba(0,0,0,0.4);
}
.af-platform-info {
    display: flex;
    align-items: center;
    gap: 14px;
}
.af-platform-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
    border-radius: 6px;
}
.af-platform-name {
    font-family: var(--af-font);
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
}
.af-platform-tags {
    display: flex;
    gap: 8px;
}
.af-tag {
    font-family: var(--af-font);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 5px 14px;
    border-radius: 6px;
    letter-spacing: 0.03em;
    transition: all var(--af-transition);
    cursor: default;
}
.af-tag-outline {
    color: rgba(255,255,255,0.65);
    border: 1px solid rgba(255,255,255,0.18);
    background: transparent;
}
.af-tag-solid {
    color: #fff;
    background: var(--af-red);
    border: 1px solid var(--af-red);
}
.af-platform-card:hover .af-tag-solid {
    background: var(--af-red-dark);
    border-color: var(--af-red-dark);
}

/* --- STATS LIST (bottom left) --- */
.af-stats-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid var(--af-border);
    border-radius: 14px;
    overflow: hidden;
    align-self: stretch;
}
.af-stat-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px 28px;
    border-bottom: 1px solid var(--af-border);
    transition: background var(--af-transition);
}
.af-stat-item:last-child { border-bottom: none; }
.af-stat-item:hover { background: var(--af-surface); }
.af-stat-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(193,39,45,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.af-stat-icon i {
    color: var(--af-red);
    font-size: 1.1rem;
}
.af-stat-item div:last-child {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.af-stat-item strong {
    font-family: var(--af-font);
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}
.af-stat-item strong span {
    font-size: 0.95rem;
    color: var(--af-muted);
    font-weight: 500;
}
.af-stat-item > div:last-child > span {
    font-family: var(--af-font);
    font-size: 0.82rem;
    color: var(--af-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* --- STATS CARD (bottom right) --- */
.af-stats-card {
    background: var(--af-surface);
    border: 1px solid var(--af-border);
    border-radius: 14px;
    padding: 40px 40px 36px;
    height: 100%;
    transition: border-color var(--af-transition);
}
.af-stats-card:hover { border-color: rgba(193,39,45,0.35); }
.af-stats-card-icon {
    width: 52px;
    height: 52px;
    object-fit: contain;
    margin-bottom: 20px;
    filter: drop-shadow(0 2px 8px rgba(193,39,45,0.4));
}
.af-stats-card h3 {
    font-family: var(--af-font);
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
}
.af-stats-card p {
    font-family: var(--af-font);
    font-size: 0.93rem;
    color: var(--af-muted);
    line-height: 1.75;
    margin-bottom: 12px;
}
.af-stats-card p:last-child { margin-bottom: 0; }

/* --- RESPONSIVE --- */
@media (max-width: 991px) {
    .af-pitch { padding-right: 0; margin-bottom: 40px; }
    .af-platform-top { margin-bottom: 40px; }
    .af-stats-list { margin-bottom: 24px; }
}

/* ================================================================
   WHY CHOOSE US
   ================================================================ */
.af-why {
    background-color: #f0ede8;
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='400' height='400' filter='url(%23noise)' opacity='0.08'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 200px 200px;
    padding: 100px 0 90px;
    position: relative;
    overflow: hidden;
}
/* Subtle top/bottom fade to blend with adjacent dark sections */
.af-why::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to bottom, rgba(0,0,0,0.06) 0%, transparent 80px),
        linear-gradient(to top,    rgba(0,0,0,0.06) 0%, transparent 80px);
    pointer-events: none;
    z-index: 0;
}

/* Section header */
.af-why-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 64px;
    position: relative;
    z-index: 1;
}
/* Override label colour for light bg context */
.af-why-header .af-welcome-label {
    color: var(--af-red);
}
.af-why-title {
    font-family: var(--af-font);
    font-size: clamp(1.9rem, 4vw, 3rem);
    font-weight: 800;
    color: #111;
    line-height: 1.15;
    margin: 12px 0 16px;
}
.af-why-intro {
    font-family: var(--af-font);
    font-size: 1rem;
    color: #555;
    line-height: 1.75;
}

/* Card grid — 3 cols desktop, 2 tablet, 1 mobile */
.af-why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    position: relative;
    z-index: 1;
}
@media (max-width: 991px) { .af-why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px)  { .af-why-grid { grid-template-columns: 1fr; } }

/* Base card */
.af-why-card {
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.07);
    border-radius: 16px;
    padding: 36px 30px 32px;
    position: relative;
    overflow: hidden;
    transition: transform var(--af-transition), border-color var(--af-transition), box-shadow var(--af-transition);
}
.af-why-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--af-red);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--af-transition);
    border-radius: 16px 16px 0 0;
}
.af-why-card:hover {
    transform: translateY(-6px);
    border-color: rgba(193,39,45,0.25);
    box-shadow: 0 20px 48px rgba(0,0,0,0.12), 0 0 0 1px rgba(193,39,45,0.08);
}
.af-why-card:hover::before { transform: scaleX(1); }

/* Featured card (first) — slightly elevated */
.af-why-card--featured {
    background: linear-gradient(145deg, #fff5f5 0%, #ffffff 100%);
    border-color: rgba(193,39,45,0.2);
}
.af-why-card--featured::before { transform: scaleX(1); }

/* Icon */
.af-why-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: rgba(193,39,45,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: background var(--af-transition), transform var(--af-transition);
}
.af-why-icon i {
    font-size: 1.3rem;
    color: var(--af-red);
    transition: transform var(--af-transition);
}
.af-why-card:hover .af-why-icon {
    background: rgba(193,39,45,0.2);
    transform: scale(1.08);
}
.af-why-card:hover .af-why-icon i { transform: scale(1.1); }

/* Text */
.af-why-card h3 {
    font-family: var(--af-font);
    font-size: 1.05rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 10px;
}
.af-why-card p {
    font-family: var(--af-font);
    font-size: 0.9rem;
    color: #666;
    line-height: 1.7;
    margin: 0;
}

/* "Top Rated" badge on featured card */
.af-why-tag {
    display: inline-block;
    margin-top: 18px;
    font-family: var(--af-font);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--af-red);
    border: 1px solid rgba(193,39,45,0.35);
    border-radius: 20px;
    padding: 4px 14px;
}

/* ================================================================
   AF-BENTO  --  Feature Grid Section
   ================================================================ */
.af-bento {
    background: #080808;
    padding: 80px 0 60px;
}
.af-bento-header {
    text-align: center;
    margin-bottom: 52px;
}
.af-bento-title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
    margin-top: 12px;
}

/* ---- Base Card ---- */
.af-bento-card {
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.07);
    padding: 36px 32px 32px;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 28px;
    transition: transform 0.3s ease, border-color 0.3s ease;
    overflow: hidden;
    position: relative;
}
.af-bento-card:hover { transform: translateY(-4px); }

.af-bento-red    { background: rgba(193,39,45,0.09);  border-color: rgba(193,39,45,0.18); }
.af-bento-red:hover    { border-color: rgba(193,39,45,0.4); }
.af-bento-teal   { background: rgba(14,165,233,0.07);  border-color: rgba(14,165,233,0.15); }
.af-bento-teal:hover   { border-color: rgba(14,165,233,0.4); }
.af-bento-amber  { background: rgba(217,119,6,0.07);   border-color: rgba(217,119,6,0.15); }
.af-bento-amber:hover  { border-color: rgba(217,119,6,0.4); }
.af-bento-purple { background: rgba(139,92,246,0.07);  border-color: rgba(139,92,246,0.15); }
.af-bento-purple:hover { border-color: rgba(139,92,246,0.4); }
.af-bento-green  { background: rgba(34,197,94,0.06);   border-color: rgba(34,197,94,0.14); }
.af-bento-green:hover  { border-color: rgba(34,197,94,0.35); }

.af-bento-top h3 {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 10px;
    letter-spacing: -0.01em;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.af-bento-arrow {
    font-size: 16px;
    opacity: 0.4;
    transition: opacity 0.2s ease, transform 0.2s ease;
}
.af-bento-card:hover .af-bento-arrow { opacity: 1; transform: translateX(4px); }
.af-bento-top p {
    font-size: 14.5px;
    color: rgba(242,242,242,0.55);
    line-height: 1.7;
    margin: 0;
}

/* Platform grid */
.af-bento-platforms {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: auto;
}
.af-mini-platform {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 12px;
    padding: 12px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    transition: background 0.25s ease;
}
.af-mini-platform:hover { background: rgba(255,255,255,0.09); }
.af-mini-platform img  { width: 28px; height: 28px; object-fit: contain; }
.af-mini-platform span { font-size: 10.5px; font-weight: 600; color: rgba(255,255,255,0.5); text-align: center; }

/* Code block */
.af-bento-code { margin-top: auto; }
.af-code-block {
    background: #0d0d0d;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    overflow: hidden;
}
.af-code-bar {
    background: #1a1a1a;
    padding: 10px 14px;
    display: flex;
    gap: 6px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.af-code-bar span { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.af-code-bar span:nth-child(1) { background: #ff5f57; }
.af-code-bar span:nth-child(2) { background: #febc2e; }
.af-code-bar span:nth-child(3) { background: #28c840; }
.af-code-block pre {
    margin: 0;
    padding: 16px 18px;
    font-family: 'Courier New', monospace;
    font-size: 12.5px;
    line-height: 1.8;
    color: rgba(255,255,255,0.75);
    white-space: pre;
    overflow-x: auto;
}
.af-c-kw      { color: #0EA5E9; font-weight: 700; }
.af-c-url     { color: rgba(255,255,255,0.85); }
.af-c-key     { color: #a78bfa; }
.af-c-str     { color: #86efac; }
.af-c-num     { color: #fb923c; }
.af-c-comment { color: rgba(255,255,255,0.28); font-style: italic; }

/* Bar chart */
.af-bento-chart { margin-top: auto; }
.af-chart-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: rgba(255,255,255,0.3);
    text-transform: uppercase;
    margin-bottom: 14px;
}
.af-bar-chart {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 90px;
    padding-bottom: 22px;
}
.af-bar {
    flex: 1;
    background: rgba(217,119,6,0.35);
    border-radius: 5px 5px 0 0;
    position: relative;
    transition: background 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding-bottom: 4px;
}
.af-bar:hover { background: rgba(217,119,6,0.8); }
.af-bar span { font-size: 9.5px; color: rgba(255,255,255,0.3); white-space: nowrap; position: absolute; bottom: -20px; }

/* Drip feed */
.af-bento-drip { display: flex; flex-direction: column; gap: 12px; margin-top: auto; }
.af-drip-line { display: flex; align-items: center; gap: 12px; font-size: 12px; color: rgba(255,255,255,0.4); }
.af-drip-bar {
    height: 8px;
    border-radius: 20px;
    background: linear-gradient(90deg, rgba(139,92,246,0.7), rgba(139,92,246,0.3));
    flex-shrink: 0;
}

/* Support chat card */
.af-bento-wide { flex-direction: row; align-items: flex-start; gap: 40px; }
.af-bento-wide .af-bento-top { flex: 0 0 38%; }
.af-bento-wide .af-bento-visual { flex: 1; }
.af-bento-chat { display: flex; flex-direction: column; gap: 12px; }
.af-chat-msg { display: flex; align-items: flex-end; gap: 10px; }
.af-chat-in  { flex-direction: row; }
.af-chat-out { flex-direction: row-reverse; }
.af-chat-avatar {
    width: 30px; height: 30px; border-radius: 50%;
    background: rgba(255,255,255,0.08);
    display: flex; align-items: center; justify-content: center;
    font-size: 11px; color: rgba(255,255,255,0.5); flex-shrink: 0;
}
.af-chat-wolf { background: rgba(193,39,45,0.3); color: var(--af-red); }
.af-chat-bubble {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 10px 16px;
    font-size: 13.5px;
    color: rgba(255,255,255,0.75);
    line-height: 1.5;
    max-width: 75%;
}
.af-chat-out .af-chat-bubble {
    background: rgba(34,197,94,0.12);
    border-color: rgba(34,197,94,0.2);
    color: rgba(255,255,255,0.85);
}

@media (max-width: 991px) {
    .af-bento-wide { flex-direction: column; }
    .af-bento-wide .af-bento-top { flex: none; width: 100%; }
}
@media (max-width: 767px) {
    .af-bento-card { padding: 28px 22px; }
}

/* ================================================================
   AF-AUDIENCE  --  Tabbed "Who It's For" Section
   ================================================================ */
.af-audience {
    background: #080808;
    padding: 90px 0 0;
    overflow: hidden;
}
.af-audience-tabs-wrap { text-align: center; margin-bottom: 52px; }
.af-audience-tabs {
    display: inline-flex;
    gap: 8px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50px;
    padding: 6px;
}
.af-tab-btn {
    padding: 10px 28px;
    border-radius: 50px;
    border: none;
    background: transparent;
    color: rgba(255,255,255,0.5);
    font-family: var(--af-font);
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.28s ease, color 0.28s ease;
    white-space: nowrap;
    letter-spacing: 0.01em;
}
.af-tab-btn:hover { color: #fff; background: rgba(255,255,255,0.08); }
.af-tab-btn.active[data-tab="creators"]  { background: var(--af-red); color: #fff; }
.af-tab-btn.active[data-tab="resellers"] { background: #D97706;        color: #fff; }
.af-tab-btn.active[data-tab="agencies"]  { background: #0EA5E9;        color: #fff; }

.af-tab-panel { display: none; }
.af-tab-panel.active { display: block; animation: afSlideUp 0.38s cubic-bezier(0.4,0,0.2,1); }
@keyframes afSlideUp {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: translateY(0); }
}

.af-tab-headline { text-align: center; max-width: 760px; margin: 0 auto 36px; padding: 0 20px; }
.af-tab-headline h2 {
    font-size: clamp(26px, 4vw, 44px);
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 18px;
    letter-spacing: -0.02em;
}
.af-arrow       { color: rgba(255,255,255,0.35); font-weight: 400; }
.af-accent-gold { color: #D97706; }
.af-accent-blue { color: #0EA5E9; }
.af-tab-headline p { font-size: 16.5px; color: rgba(242,242,242,0.58); line-height: 1.75; max-width: 620px; margin: 0 auto; }

.af-check-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px 40px;
    list-style: none;
    padding: 0;
    margin: 0 auto 64px;
    max-width: 900px;
}
.af-check-list li { color: rgba(255,255,255,0.7); font-size: 14.5px; display: flex; align-items: center; gap: 9px; }
.af-check-list li::before {
    content: '\2713';
    font-weight: 800;
    font-size: 11px;
    width: 20px; height: 20px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
#af-panel-creators  .af-check-list li::before { color: var(--af-red); background: rgba(193,39,45,0.15); }
#af-panel-resellers .af-check-list li::before { color: #D97706;       background: rgba(217,119,6,0.15); }
#af-panel-agencies  .af-check-list li::before { color: #0EA5E9;       background: rgba(14,165,233,0.15); }

.af-community { padding: 56px 0 72px; }
.af-community-creators  { background: rgba(193,39,45,0.10);  border-top: 1px solid rgba(193,39,45,0.18); }
.af-community-resellers { background: rgba(217,119,6,0.10);  border-top: 1px solid rgba(217,119,6,0.18); }
.af-community-agencies  { background: rgba(14,165,233,0.10); border-top: 1px solid rgba(14,165,233,0.18); }

.af-community-label {
    font-size: 11.5px; font-weight: 700;
    letter-spacing: 0.14em;
    color: rgba(255,255,255,0.35);
    text-transform: uppercase;
    margin-bottom: 28px;
}

.af-profile-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.af-profile-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 16px;
    padding: 32px 24px;
    display: flex; flex-direction: column; align-items: center; gap: 10px;
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease;
}
.af-profile-card:hover { transform: translateY(-5px); }
#af-panel-creators  .af-profile-card:hover { border-color: rgba(193,39,45,0.45); }
#af-panel-resellers .af-profile-card:hover { border-color: rgba(217,119,6,0.45); }
#af-panel-agencies  .af-profile-card:hover { border-color: rgba(14,165,233,0.45); }

.af-profile-img-wrap { position: relative; width: 76px; height: 76px; margin-bottom: 4px; }
.af-profile-img-wrap img { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255,255,255,0.1); }
.af-platform-badge {
    position: absolute; bottom: -2px; right: -2px;
    width: 26px; height: 26px; border-radius: 50%;
    border: 2px solid #080808;
    display: flex; align-items: center; justify-content: center;
    color: #fff;
}
.af-platform-badge i { font-size: 10px; line-height: 1; }
.af-badge-instagram { background: linear-gradient(135deg, #f09433 0%, #e6683c 30%, #dc2743 60%, #bc1888 100%); }
.af-badge-tiktok    { background: #010101; }
.af-badge-youtube   { background: #FF0000; }
.af-badge-twitter   { background: #000; }
.af-badge-linkedin  { background: #0077B5; }

.af-profile-handle { font-size: 15px; font-weight: 600; color: #fff; font-family: var(--af-font); }
.af-profile-card small { font-size: 10.5px; font-weight: 700; letter-spacing: 0.09em; color: rgba(255,255,255,0.3); text-transform: uppercase; }

@media (max-width: 767px) {
    .af-audience-tabs { flex-wrap: wrap; border-radius: 20px; justify-content: center; }
    .af-profile-grid  { grid-template-columns: 1fr; max-width: 340px; margin: 0 auto; }
    .af-check-list    { flex-direction: column; align-items: flex-start; padding: 0 16px; }
}

/* ================================================================
   HOW IT WORKS  --  Dark-theme overrides
   ================================================================ */
.work-process-area {
    background: #0d0d0d;
    padding: 80px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.work-process-area .section-header h2 {
    color: #fff !important;
    font-family: var(--af-font);
    font-weight: 800;
    letter-spacing: -0.02em;
}
.work-process-area .section-header p {
    color: rgba(242,242,242,0.55) !important;
    font-family: var(--af-font);
}
.single_work_step h5 {
    color: #fff !important;
    font-family: var(--af-font);
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 10px;
}
.single_work_step p {
    color: rgba(242,242,242,0.55) !important;
    font-family: var(--af-font);
    font-size: 14.5px;
    line-height: 1.7;
}
.single_work_step .step-icon i {
    color: var(--af-red) !important;
    font-style: normal;
    font-family: var(--af-font);
    font-weight: 800;
}
.single_work_step .step-icon::after { border-color: rgba(193,39,45,0.35) !important; }
.single_work_step:hover .step-icon::after,
.single_work_step:focus .step-icon::after { border-color: var(--af-red) !important; }
.single_work_step:hover .step-icon i,
.single_work_step:focus .step-icon i { color: #fff !important; }
.single_work_step:hover h5,
.single_work_step:focus h5 { color: var(--af-red) !important; }
.single_work_step::before { color: rgba(255,255,255,0.1) !important; }
.single_work_step:hover::before,
.single_work_step:focus::before { color: rgba(193,39,45,0.4) !important; }

/* ================================================================
   SCROLL-TRIGGERED NAVBAR JS CLASS HOOK
   ================================================================ */

/* ================================================================
   COMPREHENSIVE MOBILE RESPONSIVE
   ================================================================ */

/* ---- Navbar ---- */
@media (max-width: 991px) {
    .af-navbar { padding: 12px 0; }
    .af-navbar .collapse.navbar-collapse {
        background: rgba(0,0,0,0.96);
        border-radius: 12px;
        padding: 16px;
        margin-top: 10px;
        border: 1px solid rgba(255,255,255,0.08);
    }
    .af-nav-buttons { flex-direction: column; gap: 10px; width: 100%; }
    .af-btn-login, .af-btn-signup { text-align: center; width: 100%; padding: 12px 20px; }
}

/* ---- Hero ---- */
@media (max-width: 767px) {
    .af-hero-content { padding: 100px 20px 60px; }
    .af-hero-logo    { height: 64px; margin-bottom: 20px; }
    .af-hero-title   { font-size: clamp(1.7rem, 7vw, 2.4rem); }
    .af-hero-sub     { font-size: 0.95rem; }
    .af-hero-ctas    { flex-direction: column; align-items: stretch; gap: 12px; }
    .af-cta-primary, .af-cta-secondary { justify-content: center; padding: 13px 24px; }
}

/* ---- Welcome section ---- */
@media (max-width: 767px) {
    .af-welcome { padding: 70px 20px; }
    .af-welcome-title { font-size: clamp(1.8rem, 6vw, 2.4rem); }
    .af-welcome-signature { flex-direction: column; align-items: center; gap: 4px; }
    .af-sig-script { font-size: 1.8rem; }
}

/* ---- Platform + stats section ---- */
@media (max-width: 767px) {
    .af-platform-section { padding: 60px 0; }
    .af-pitch-title { font-size: clamp(1.6rem, 6vw, 2.2rem); }
    .af-platforms { grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 30px; }
    .af-stats-card { padding: 28px 20px; }
    .af-stat-item { padding: 16px 12px; }
    .af-stat-item strong { font-size: 1.5rem; }
}

/* ---- Audience tabs ---- */
@media (max-width: 575px) {
    .af-audience-tabs { width: 100%; border-radius: 14px; padding: 4px; }
    .af-tab-btn { flex: 1; text-align: center; padding: 9px 10px; font-size: 13.5px; }
    .af-tab-headline h2 { font-size: clamp(1.5rem, 6vw, 2rem); }
    .af-check-list li { font-size: 13.5px; }
    .af-community { padding: 40px 0 50px; }
    .af-profile-grid { max-width: 100%; padding: 0; }
    .af-profile-card { padding: 24px 16px; }
}

/* ---- Bento grid ---- */
@media (max-width: 767px) {
    .af-bento { padding: 60px 0 40px; }
    .af-bento-card { padding: 26px 20px; gap: 20px; }
    .af-code-block pre { font-size: 11px; padding: 12px 14px; }
    .af-bar-chart { height: 70px; }
    .af-bento-wide { flex-direction: column; gap: 24px; }
    .af-bento-wide .af-bento-top { flex: none; width: 100%; }
    .af-bento-title { font-size: clamp(1.6rem, 6vw, 2.2rem); }
}

/* ---- Streamer feature section ---- */
@media (max-width: 767px) {
    .feature .icon-box { flex-direction: column; text-align: center; }
    .feature .icon-box .icon { margin: 0 auto 12px; }
    .feature .col-xl-4 { display: none; } /* hide decorative image on mobile */
}

/* ---- How it works ---- */
@media (max-width: 575px) {
    .work-process-area { padding: 60px 0; }
    .single_work_step { margin-bottom: 40px; }
    .single_work_step .step-icon { width: 70px; height: 70px; }
    .single_work_step .step-icon i { font-size: 2.2rem; line-height: 70px; }
    .single_work_step h5 { font-size: 15px !important; }
}

/* ---- FAQ ---- */
@media (max-width: 767px) {
    .faqs { padding: 60px 0; }
    .faq-block__header h4 { font-size: 14.5px; }
}

/* ---- Testimonials ---- */
@media (max-width: 767px) {
    .slider-2 .section-header h2 { font-size: 1.5rem; }
    .text-wrapper .testimonial-text { font-size: 0.9rem; }
}

/* ---- Footer ---- */
@media (max-width: 767px) {
    .footer-top { flex-direction: column; gap: 30px; }
    .footer-info, .footer-newsletter { width: 100%; }
    .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
    .footer-links ul { justify-content: center; flex-wrap: wrap; }
}

/* ---- Global small-screen utility ---- */
@media (max-width: 575px) {
    .af-welcome-label,
    .af-pitch-label,
    .af-community-label { letter-spacing: 0.1em; font-size: 10px; }
    .container { padding-left: 16px; padding-right: 16px; }
}

/* ================================================================
   MOBILE RESPONSIVE — ENHANCED FIXES v2
   Appended to fix layout bugs and improve mobile alignment
   ================================================================ */

/* 1. Prevent horizontal overflow globally on mobile */
@media (max-width: 991px) {
    html, body { overflow-x: hidden; }
    section { max-width: 100%; overflow-x: hidden; }
}

/* 2. Fix feature section: hide decorative image below 1200px (col-xl stacks at xl not lg) */
@media (max-width: 1199px) {
    .feature .col-xl-4 { display: none !important; }
    .feature .col-xl-8 {
        -webkit-flex: 0 0 100% !important;
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
}

/* 3. Fix feature nested row overflow — Bootstrap rows have -15px margins */
@media (max-width: 991px) {
    .feature .row.feature-icons { margin-left: 0; margin-right: 0; }
    .feature .feature-icons > .row { margin-left: -8px; margin-right: -8px; }
    .feature .feature-icons > .row [class*="col-"] { padding-left: 8px; padding-right: 8px; }
}

/* 4. Fix platform cards: add display:grid so the grid-template rule actually works */
@media (max-width: 767px) {
    .af-platforms {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        margin-top: 24px;
    }
    .af-platform-card { padding: 12px 14px; }
    .af-platform-info { gap: 8px; }
    .af-platform-icon { width: 26px; height: 26px; }
    .af-platform-name { font-size: 0.83rem; }
    .af-platform-tags { flex-wrap: wrap; gap: 4px; }
    .af-tag { padding: 3px 8px; font-size: 0.68rem; }
}

/* 5. Why section mobile: padding + card sizes */
@media (max-width: 767px) {
    .af-why { padding: 70px 0 60px; }
    .af-why-header { margin-bottom: 40px; padding: 0 8px; }
    .af-why-card { padding: 28px 22px 24px; }
    .af-why-grid { gap: 14px; }
}

/* 6. Platform/stats section mobile tuning */
@media (max-width: 767px) {
    .af-pitch { padding-right: 0 !important; margin-bottom: 32px; }
    .af-pitch-body { max-width: 100%; }
    .af-stats-card { padding: 24px 20px; }
    .af-stats-card h3 { font-size: 1.25rem; }
    .af-stats-card p { font-size: 0.88rem; }
    .af-stats-list { margin-bottom: 20px; }
}

/* 7. Bento: prevent code block horizontal overflow */
@media (max-width: 767px) {
    .af-code-block { overflow: hidden; }
    .af-code-block pre {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        font-size: 10.5px;
        padding: 10px 12px;
    }
    .af-chat-bubble { font-size: 12.5px; padding: 8px 12px; max-width: 82%; }
}

/* 8. Bento smaller screens */
@media (max-width: 575px) {
    .af-bento-card { padding: 22px 18px; gap: 16px; border-radius: 14px; }
    .af-bento-platforms { gap: 8px; }
    .af-mini-platform span { font-size: 10.5px; }
    .af-bento-header { margin-bottom: 36px; }
    .af-bar-chart { height: 60px; }
    .af-bento-drip { gap: 8px; }
    .af-drip-line { font-size: 11px; }
    .af-bento-wide .af-bento-chat { width: 100%; }
}

/* 9. Feature icon boxes: shrink icons on small mobile */
@media (max-width: 575px) {
    .feature .feature-icons .content .icon-box { flex-direction: row; align-items: flex-start; }
    .feature .feature-icons .content .icon-box .icon {
        flex: 0 0 56px;
        max-width: 56px;
        width: 56px;
        height: 56px;
        margin-right: 1rem;
        font-size: 1.6rem;
    }
    .feature .feature-icons .content .icon-box i { line-height: 56px; font-size: 28px; }
    .feature .feature-icons .content .icon-box h4 { font-size: 15px; }
    .feature .feature-icons .content .icon-box p { font-size: 13px; }
}

/* 10. How it works: center step content on mobile */
@media (max-width: 575px) {
    .single_work_step { text-align: center; padding: 0 10px; }
    .single_work_step .step-icon { margin: 0 auto 20px; }
}

/* 11. Audience tabs: prevent overflow on very small screens */
@media (max-width: 400px) {
    .af-audience-tabs { width: calc(100% - 40px); padding: 4px; gap: 4px; }
    .af-tab-btn { padding: 8px 14px; font-size: 13px; flex: 1; text-align: center; }
}

/* 12. Audience checklist: center-align on narrow mobile */
@media (max-width: 575px) {
    .af-check-list { flex-direction: column; align-items: center; padding: 0 8px; gap: 8px; }
    .af-check-list li { font-size: 13.5px; }
    .af-tab-headline h2 { font-size: clamp(1.3rem, 5.5vw, 1.8rem); }
    .af-tab-headline p { font-size: 14.5px; }
    .af-profile-grid { max-width: 300px; gap: 12px; }
    .af-profile-card { padding: 22px 16px; }
}

/* 13. Stat item tighter on very small screens */
@media (max-width: 375px) {
    .af-stat-item { padding: 14px 12px; gap: 12px; }
    .af-stat-icon { width: 36px; height: 36px; border-radius: 8px; }
    .af-stat-item strong { font-size: 1.2rem; }
}

/* 14. Hero: ensure overlay bg covers fully on mobile */
@media (max-width: 575px) {
    .af-hero-bg, .af-hero-overlay { min-height: 100vh; }
    .af-hero-content { min-height: 100vh; }
}

/* ================================================================
   STREAMER SECTION — MOBILE CARD LAYOUT
   Icon-boxes become proper cards in a 2-column grid on mobile
   ================================================================ */
@media (max-width: 991px) {
    /* Switch the icon row from Bootstrap flex to CSS grid */
    .feature .feature-icons .content .row.align-self-center {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
        margin-left: 0 !important;
        margin-right: 0 !important;
        row-gap: 14px;
    }
    /* Remove Bootstrap col sizing so grid takes control */
    .feature .feature-icons .content .row.align-self-center > [class*="col-"] {
        flex: none !important;
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    /* Card wrapper: column layout, centered */
    .feature .feature-icons .content .icon-box {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 16px;
        padding: 26px 18px 22px;
        gap: 0;
        height: 100%;
        transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s ease;
    }
    .feature .feature-icons .content .icon-box:hover {
        background: rgba(193, 39, 45, 0.08);
        border-color: rgba(193, 39, 45, 0.4);
        transform: translateY(-4px);
    }
    /* Icon circle: centred, smaller */
    .feature .feature-icons .content .icon-box .icon {
        flex: none !important;
        width: 60px !important;
        height: 60px !important;
        max-width: 60px !important;
        font-size: 1.5rem;
        margin-right: 0 !important;
        margin-bottom: 14px;
        margin-top: 0;
    }
    .feature .feature-icons .content .icon-box i {
        line-height: 60px !important;
        font-size: 26px !important;
    }
    /* Text block: fill remaining height */
    .feature .feature-icons .content .icon-box > div {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 6px;
    }
    .feature .feature-icons .content .icon-box h4 {
        font-size: 14px !important;
        margin-bottom: 6px !important;
        line-height: 1.3;
    }
    .feature .feature-icons .content .icon-box p {
        font-size: 12.5px !important;
        line-height: 1.6 !important;
        color: rgba(255, 255, 255, 0.58) !important;
        margin: 0;
    }
}

/* Single column only on very narrow screens (≤390px) */
@media (max-width: 390px) {
    .feature .feature-icons .content .row.align-self-center {
        grid-template-columns: 1fr !important;
    }
    .feature .feature-icons .content .icon-box {
        flex-direction: row !important;
        align-items: flex-start !important;
        text-align: left !important;
        padding: 20px 16px !important;
        gap: 14px;
    }
    .feature .feature-icons .content .icon-box > div {
        align-items: flex-start;
    }
    .feature .feature-icons .content .icon-box .icon {
        flex: 0 0 50px !important;
        width: 50px !important;
        height: 50px !important;
        max-width: 50px !important;
        margin-bottom: 0 !important;
    }
    .feature .feature-icons .content .icon-box i {
        line-height: 50px !important;
        font-size: 22px !important;
    }
}

/* ================================================================
   AF-FOOTER  —  Minimal red imprint footer
   ================================================================ */
.af-footer {
    position: relative;
    background: var(--af-red);
    overflow: hidden;
    padding: 56px 40px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

/* Giant watermark text */
.af-footer-watermark {
    position: absolute;
    bottom: -0.18em;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--af-font);
    font-size: clamp(80px, 18vw, 200px);
    font-weight: 900;
    letter-spacing: -0.04em;
    color: rgba(255,255,255,0.12);
    white-space: nowrap;
    pointer-events: none;
    user-select: none;
    line-height: 1;
}

/* Logo icon */
.af-footer-logo-wrap {
    position: relative;
    z-index: 1;
}
.af-footer-icon {
    height: 52px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.95;
}

/* Meta row */
.af-footer-meta {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 960px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.af-footer-copy {
    font-family: var(--af-font);
    font-size: 0.82rem;
    font-weight: 500;
    color: rgba(255,255,255,0.75);
    letter-spacing: 0.02em;
}
.af-footer-email {
    font-family: var(--af-font);
    font-size: 0.82rem;
    font-weight: 500;
    color: rgba(255,255,255,0.75);
    letter-spacing: 0.02em;
    text-decoration: none;
    transition: color 0.2s ease;
}
.af-footer-email:hover {
    color: #fff;
    text-decoration: none;
}

/* Mobile */
@media (max-width: 575px) {
    .af-footer { padding: 48px 24px 32px; gap: 24px; }
    .af-footer-meta { flex-direction: column; align-items: center; text-align: center; gap: 8px; }
    .af-footer-icon { height: 42px; }
}

/* ================================================================
   AF-FOOTER  —  Full-bleed image footer
   ================================================================ */
.af-footer-img-wrap {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    line-height: 0;
    background: #C1272D; /* solid fallback while image loads */
    overflow: hidden;
}

/* Desktop: full width, natural height */
.af-footer-img {
    display: block;
    width: 100%;
    height: auto;
}

/* Mobile: fix height so icon + CTA stay readable, cover from top */
@media (max-width: 767px) {
    .af-footer-img {
        height: 260px;
        object-fit: cover;
        object-position: top center;
    }
}

@media (max-width: 480px) {
    .af-footer-img {
        height: 220px;
        object-position: top right; /* keep copyright + CTA in frame */
    }
}

/* Fix: footer image constrained to viewport on mobile */
@media (max-width: 767px) {
    .af-footer-img-wrap {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }
    .af-footer-img {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }
}

/* Mobile footer: 70% width, centred on red bg */
@media (max-width: 767px) {
    .af-footer-img-wrap {
        display: flex;
        justify-content: center;
        background: #C1272D;
    }
    .af-footer-img {
        width: 70% !important;
        height: auto !important;
        object-fit: unset !important;
        min-width: 0 !important;
    }
}

/* Navbar: breathing room from screen edges on mobile */
@media (max-width: 991px) {
    .af-navbar .container {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
}

@media (max-width: 575px) {
    .af-navbar .container {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }
}

/* ================================================================
   AF-PAYMENTS  —  Modern pill-chip payment methods strip
   ================================================================ */
.af-payments {
    background: #0a0a0a;
    padding: 72px 0 80px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.af-payments-header {
    text-align: center;
    margin-bottom: 44px;
}
.af-payments-header p {
    font-family: var(--af-font);
    font-size: 0.95rem;
    color: var(--af-muted);
    margin: 8px 0 0;
}

/* Grid of chips */
.af-payments-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

/* Individual chip */
.af-pay-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50px;
    padding: 11px 24px;
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
    cursor: default;
}
.af-pay-chip:hover {
    background: rgba(255,255,255,0.09);
    border-color: rgba(193,39,45,0.45);
    transform: translateY(-2px);
}
.af-pay-chip img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    flex-shrink: 0;
    opacity: 0.85;
}
.af-pay-chip:hover img { opacity: 1; }
.af-pay-chip span {
    font-family: var(--af-font);
    font-size: 0.88rem;
    font-weight: 600;
    color: rgba(255,255,255,0.7);
    white-space: nowrap;
    letter-spacing: 0.02em;
}
.af-pay-chip:hover span { color: #fff; }

/* Mobile */
@media (max-width: 575px) {
    .af-payments { padding: 56px 0 64px; }
    .af-payments-grid { gap: 10px; }
    .af-pay-chip { padding: 9px 18px; gap: 8px; }
    .af-pay-chip img { width: 18px; height: 18px; }
    .af-pay-chip span { font-size: 0.82rem; }
}
