/* ═══════════════════════════════════════════
   Features Showcase Page — features.css
   ═══════════════════════════════════════════ */

/* ── Lucide icon sizing ── */
.lucide {
    display: block;
    flex-shrink: 0;
}
/* default inline size */
.fa-chip .lucide,
.fb-badge-icon .lucide,
.fb-cat-tag .lucide      { width: 12px; height: 12px; display: inline-block; vertical-align: middle; }
.al-icon-wrap .lucide    { width: 16px; height: 16px; }
.al-dismiss .lucide      { width: 13px; height: 13px; display: inline-block; }
.tr-icon .lucide         { width: 16px; height: 16px; }
.tr-close .lucide        { width: 13px; height: 13px; display: inline-block; }
.notif-avatar .lucide    { width: 18px; height: 18px; }
.mm-icon .lucide         { width: 16px; height: 16px; }
.hcard-icon .lucide      { width: 20px; height: 20px; }
.nav-icon .lucide        { width: 14px; height: 14px; display: inline-block; vertical-align: middle; }
.fa-snackbar .lucide     { width: 15px; height: 15px; display: inline-block; vertical-align: middle; flex-shrink: 0; }

/* ── Page layout ── */
.features-page {
    padding-top: 80px;
}

.features-hero {
    padding: 80px 0 60px;
    text-align: center;
    position: relative;
    overflow: visible;
}
.features-hero canvas {
    z-index: 1 !important;
    overflow: hidden;
}
.features-hero > .container {
    position: relative;
    z-index: 2;
}

/* ── Features hero creature ── */
.fc-creature-wrap {
    position: absolute;
    bottom: 18px;
    right: 80px;
    cursor: grab;
    user-select: none;
    z-index: 10;
    touch-action: none;
}
.fc-creature-wrap:active { cursor: grabbing; }

/* ── Chonk scaler — sits between wrap and inner, handles growth ── */
.fc-scaler {
    transform-origin: bottom center;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.fc-creature-wrap.chonk-1 .fc-scaler { transform: scale(1.35); }
.fc-creature-wrap.chonk-2 .fc-scaler { transform: scale(1.75); }
.fc-creature-wrap.chonk-3 .fc-scaler { transform: scale(2.2);  }

/* ── Eat animation ── */
@keyframes fcNom {
    0%   { transform: scaleY(1)   scaleX(1); }
    20%  { transform: scaleY(0.8) scaleX(1.2) translateY(5px); }
    55%  { transform: scaleY(1.2) scaleX(0.88) translateY(-8px); }
    80%  { transform: scaleY(0.96) scaleX(1.04); }
    100% { transform: scaleY(1)   scaleX(1); }
}
.fc-creature-wrap.eating .creature-inner {
    animation: fcNom 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

/* Mouth open/chew during eating */
@keyframes fcMouthChew {
    0%   { height: 5px;  width: 14px; background: transparent;          border: none; border-bottom: 2px solid rgba(255,105,180,0.8); border-radius: 0 0 8px 8px; }
    18%  { height: 22px; width: 20px; background: rgba(15,0,8,0.95);    border: 2px solid rgba(255,105,180,0.9); border-radius: 50% 50% 55% 55%; }
    36%  { height: 7px;  width: 16px; background: rgba(15,0,8,0.4);     border: none; border-bottom: 2px solid rgba(255,105,180,0.8); border-radius: 0 0 8px 8px; }
    55%  { height: 18px; width: 20px; background: rgba(15,0,8,0.95);    border: 2px solid rgba(255,105,180,0.9); border-radius: 50% 50% 55% 55%; }
    72%  { height: 7px;  width: 15px; background: rgba(15,0,8,0.3);     border: none; border-bottom: 2px solid rgba(255,105,180,0.8); border-radius: 0 0 8px 8px; }
    88%  { height: 12px; width: 16px; background: rgba(15,0,8,0.7);     border: 2px solid rgba(255,105,180,0.8); border-radius: 50% 50% 55% 55%; }
    100% { height: 5px;  width: 14px; background: transparent;          border: none; border-bottom: 2px solid rgba(255,105,180,0.8); border-radius: 0 0 8px 8px; }
}
.fc-creature-wrap.eating .creature-mouth {
    animation: fcMouthChew 0.65s ease-in-out forwards;
}

/* ── Chaos spin (faster than normal fly spin) ── */
.fc-creature-wrap.chaos .creature-inner {
    animation: fcSpin 0.16s linear infinite !important;
}

/* ── Food items ── */
.fc-food {
    position: absolute;
    font-size: 2.4rem;
    cursor: grab;
    user-select: none;
    z-index: 12;
    filter: drop-shadow(0 2px 10px rgba(0,0,0,0.5));
    transition: transform 0.2s ease, opacity 0.25s ease;
    transform-origin: center;
    line-height: 1;
}
/* Diamond shape — N at top centre, S at bottom centre, wide at middle */
/* Left diamond */
#fcFood0 { top: 185px; left: 175px; } /* N */
#fcFood1 { top: 232px; left: 135px; } /* W */
#fcFood3 { top: 232px; left: 215px; } /* E */
#fcFood5 { top: 275px; left: 175px; } /* S */
/* Right diamond */
#fcFood2 { top: 185px; right: 175px; }/* N */
#fcFood4 { top: 232px; right: 135px; }/* E */
#fcFood6 { top: 232px; right: 215px; }/* W */
#fcFood7 { top: 275px; right: 175px; }/* S */
@keyframes fcFoodFloat {
    0%, 100% { transform: translateY(0)    rotate(-4deg); }
    50%       { transform: translateY(-7px) rotate(4deg);  }
}
.fc-food {
    animation: fcFoodFloat 2.4s ease-in-out infinite;
}
/* Each item gets a slightly different phase so they don't all move in sync */
#fcFood1 { animation-delay: -0.5s; }
#fcFood2 { animation-delay: -1.1s; }
#fcFood3 { animation-delay: -1.7s; }
#fcFood4 { animation-delay: -0.3s; }
#fcFood5 { animation-delay: -2.0s; }
#fcFood6 { animation-delay: -0.8s; }
#fcFood7 { animation-delay: -1.4s; }
.fc-food:hover { animation-play-state: paused; transform: scale(1.25) rotate(-10deg); }
.fc-food.fc-dragging { cursor: grabbing; transform: scale(1.35); opacity: 0.85; z-index: 9999; animation-play-state: paused; }
@keyframes fcFoodEaten {
    0%   { transform: scale(1);   opacity: 1; }
    40%  { transform: scale(1.6); opacity: 1; }
    100% { transform: scale(0);   opacity: 0; }
}
.fc-food.fc-eaten { animation: fcFoodEaten 0.35s ease forwards; pointer-events: none; }

/* Scale up body */
.fc-creature-wrap .creature-body {
    width: 88px;
    height: 68px;
}
.fc-creature-wrap .creature-eye {
    width: 16px;
    height: 19px;
    top: 16px;
    overflow: hidden;
}
.fc-creature-wrap .creature-eye.left  { left: 14px; }
.fc-creature-wrap .creature-eye.right { right: 14px; }

/* Hide the CSS ::after pupil — we use .fc-pupil div instead for eye tracking */
.fc-creature-wrap .creature-eye::after { display: none; }

.fc-pupil {
    position: absolute;
    width: 8px;
    height: 9px;
    background: #1a001a;
    border-radius: 50%;
    top: 5px;
    left: 5px;
    transition: transform 0.06s ease;
    pointer-events: none;
}

.fc-creature-wrap .creature-mouth {
    bottom: 11px;
    width: 22px;
    height: 8px;
}
.fc-creature-wrap .creature-glasses {
    top: 13px;
    width: 56px;
    height: 22px;
}
.fc-creature-wrap .creature-glasses::before,
.fc-creature-wrap .creature-glasses::after {
    width: 22px;
    height: 20px;
}
.fc-creature-wrap .creature-code {
    font-size: 8.5px;
    bottom: 5px;
    right: 5px;
}
/* Hair width + shape — slightly wider triangle-ish spike */
.fc-creature-wrap .hair-spike {
    width: 9px;
    border-radius: 4px 4px 2px 2px;
}
/* Positions calculated to sit on the elliptical head curve (88×68, border-radius 50%) */
.fc-creature-wrap .hair-spike.s1 { height: 32px; left: 11px; top: -23px; --hr: -34deg; }
.fc-creature-wrap .hair-spike.s2 { height: 42px; left: 38px; top: -42px; --hr:   0deg; }
.fc-creature-wrap .hair-spike.s3 { height: 30px; left: 66px; top: -22px; --hr:  30deg; }
.fc-creature-wrap .creature-legs { gap: 9px; margin-top: 3px; }
.fc-creature-wrap .creature-leg  { width: 9px; height: 17px; }
.fc-creature-wrap .creature-speech {
    font-size: 11px;
    white-space: nowrap;
    bottom: calc(100% + 16px);
    /* Stay readable even when creature-inner is spinning */
    transform: translateX(-50%) scaleX(1) !important;
    transform-origin: center bottom;
}
/* Counter-rotate speech bubble when creature inner spins */
.fc-creature-wrap.flying .creature-speech {
    animation: none !important;
    opacity: 0;
}

/* Instruction strip */
.fc-instructions {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem 0.8rem;
    margin-top: 1.2rem;
    padding: 0.75rem 1.2rem;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,20,147,0.18);
    border-radius: 40px;
    pointer-events: none;
}

.fc-instr-item {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.55);
    white-space: nowrap;
}

@keyframes instrKeyPulse {
    0%, 100% {
        background: rgba(255,20,147,0.15);
        border-color: rgba(255,20,147,0.35);
        box-shadow: none;
    }
    50% {
        background: rgba(255,20,147,0.32);
        border-color: rgba(255,20,147,0.75);
        box-shadow: 0 0 8px rgba(255,20,147,0.45);
    }
}
.fc-instr-key {
    background: rgba(255,20,147,0.15);
    border: 1px solid rgba(255,20,147,0.35);
    color: #ff69b4;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.15rem 0.55rem;
    border-radius: 6px;
    white-space: nowrap;
    animation: instrKeyPulse 2s ease-in-out infinite;
}
/* Stagger each key so they don't all pulse in unison */
.fc-instr-item:nth-child(1) .fc-instr-key { animation-delay: 0s; }
.fc-instr-item:nth-child(3) .fc-instr-key { animation-delay: 0.4s; }
.fc-instr-item:nth-child(5) .fc-instr-key { animation-delay: 0.8s; }
.fc-instr-item:nth-child(7) .fc-instr-key { animation-delay: 1.2s; }
.fc-instr-item:nth-child(9) .fc-instr-key { animation-delay: 1.6s; }

.fc-instr-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: rgba(255,255,255,0.8);
    margin-right: 0.3rem;
    white-space: nowrap;
}

.fc-instr-dot {
    width: 3px;
    height: 3px;
    background: rgba(255,20,147,0.3);
    border-radius: 50%;
    flex-shrink: 0;
}

@media (max-width: 600px) {
    .fc-instructions { display: grid !important; }
}

/* Stop creatureTurn on the features creature — it's stationary, not walking */
.fc-creature-wrap .creature-inner {
    animation: none;
}

/* Click — simple bounce up/down, no rotation */
@keyframes fcClickBounce {
    0%   { transform: scaleX(1)    scaleY(1); }
    25%  { transform: scaleX(0.88) scaleY(1.2); }
    55%  { transform: scaleX(1.1)  scaleY(0.9); }
    100% { transform: scaleX(1)    scaleY(1); }
}
.fc-creature-wrap.bouncing .creature-inner {
    animation: fcClickBounce 0.4s cubic-bezier(0.34,1.56,0.64,1) forwards;
}


/* Spin while flying */
@keyframes fcSpin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}
.fc-creature-wrap.flying .creature-inner {
    animation: fcSpin 0.35s linear infinite;
}

/* Walking home */
@keyframes fcWalkRight {
    0%, 100% { transform: scaleX(1)  translateY(0); }
    50%       { transform: scaleX(1)  translateY(-6px); }
}
@keyframes fcWalkLeft {
    0%, 100% { transform: scaleX(-1) translateY(0); }
    50%       { transform: scaleX(-1) translateY(-6px); }
}
.fc-creature-wrap.fc-walk-right .creature-inner { animation: fcWalkRight 0.32s ease-in-out infinite !important; }
.fc-creature-wrap.fc-walk-left  .creature-inner { animation: fcWalkLeft  0.32s ease-in-out infinite !important; }

/* Squish on wall bounce */
@keyframes fcSquishX {
    0%,100% { transform: scaleX(1)    scaleY(1); }
    40%     { transform: scaleX(0.55) scaleY(1.3); }
}
@keyframes fcSquishY {
    0%,100% { transform: scaleX(1)    scaleY(1); }
    40%     { transform: scaleX(1.3)  scaleY(0.55); }
}
.fc-creature-wrap.squish-x .creature-inner { animation: fcSquishX 0.25s ease forwards; }
.fc-creature-wrap.squish-y .creature-inner { animation: fcSquishY 0.25s ease forwards; }

.features-hero h1 {
    font-size: clamp(2.4rem, 5vw, 4rem);
    color: #fff;
    margin: 0 0 0.5rem;
}

.features-hero h1 span:not(.h1-letter):not(.h1-word) {
    color: #ff1493;
}

/* ── Features h1 — wave instead of drop-in ── */
@keyframes h1HeroWave {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-14px); }
}
.features-hero h1 {
    padding-top: 18px;
}
.features-hero h1 .h1-letter {
    animation-name:            h1HeroWave !important;
    animation-duration:        0.8s !important;
    animation-timing-function: ease-in-out !important;
    animation-iteration-count: infinite !important;
    animation-fill-mode:       none !important;
    /* animation-delay left to inline style set per letter by JS */
    will-change: transform;
}

@keyframes heroFade {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}
.features-ask-btn {
    display: inline-block;
    margin-top: 0.6rem;
    padding: 15px 40px;
    background: transparent;
    border: 2px solid #ff1493;
    color: #ff1493;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: heroFade 1s ease both;
    animation-delay: 1050ms;
}
.features-ask-btn:hover {
    background: #ff1493;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 20, 147, 0.3);
}

.features-hero p {
    animation: heroFade 0.6s ease both;
    animation-delay: 400ms;
    color: #aaa;
    font-size: 1.1rem;
    max-width: 540px;
    margin: 0 auto;
}

.features-toc {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
    margin-top: 2rem;
}

.toc-chip {
    padding: 0.4rem 1rem;
    border: 1px solid rgba(255,20,147,0.35);
    border-radius: 999px;
    color: #fff;
    font-size: 0.82rem;
    text-decoration: none;
    transition: all 0.2s;
    background: rgba(255,20,147,0.05);
}

.toc-chip:hover {
    background: rgba(255,20,147,0.18);
    border-color: #ff1493;
    color: #fff;
}

/* ── Strip body background curves on features page ── */
.features-page ~ * { background-image: none; }
body:has(.features-page) {
    background-image: none;
}
body:has(.features-page)::before {
    display: none;
}

/* ── Section wrapper ── */
.feat-section {
    padding: 70px 0;
    border-top: 1px solid rgba(255,255,255,0.06);
}


.feat-section-header {
    margin-bottom: 2.5rem;
}

.feat-section-header h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    color: #fff;
    margin: 0 0 0.4rem;
}

.feat-section-header p {
    color: #fff;
    font-size: 0.95rem;
    margin: 0;
}

.feat-section-header .section-number {
    font-size: 0.78rem;
    color: #888;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 0.4rem;
    display: block;
}

/* ── Demo tiles ── */
.demo-grid {
    display: grid;
    gap: 1.2rem;
}

.demo-grid.col-2 { grid-template-columns: repeat(2, 1fr); }
.demo-grid.col-3 { grid-template-columns: repeat(3, 1fr); }
.demo-grid.col-4 { grid-template-columns: repeat(4, 1fr); }
.demo-grid.auto  { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }

.demo-tile {
    background: rgba(255,255,255,0.045);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    min-height: 120px;
    min-width: 0;
    max-width: 100%;
    transition: border-color 0.2s, box-shadow 0.2s;
    text-align: center;
}

.demo-tile:hover {
    border-color: rgba(255,20,147,0.35);
    box-shadow: 0 4px 24px rgba(255,20,147,0.08);
}

.demo-tile .label {
    font-size: 0.72rem;
    color: #fff;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-top: auto;
}

/* ════════════════════════════
   1. BUTTONS
════════════════════════════ */

/* Solid */
.fb-solid {
    padding: 0.65rem 1.6rem;
    background: #ff1493;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}
.fb-solid:hover { background: #d4006e; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(255,20,147,0.4); }

/* Outline */
.fb-outline {
    padding: 0.65rem 1.6rem;
    background: transparent;
    color: #ff1493;
    border: 2px solid #ff1493;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}
.fb-outline:hover { background: #ff1493; color: #fff; transform: translateY(-2px); }

/* Ghost */
.fb-ghost {
    padding: 0.65rem 1.6rem;
    background: rgba(255,20,147,0.08);
    color: #ff69b4;
    border: 1px solid rgba(255,20,147,0.2);
    border-radius: 8px;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s;
}
.fb-ghost:hover { background: rgba(255,20,147,0.18); color: #fff; }

/* Pill */
.fb-pill {
    padding: 0.65rem 2rem;
    background: #ff1493;
    color: #fff;
    border: none;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}
.fb-pill:hover { background: #d4006e; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(255,20,147,0.4); }

/* Gradient */
.fb-gradient {
    padding: 0.65rem 1.8rem;
    background: linear-gradient(135deg, #ff1493, #bb44ff);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}
.fb-gradient:hover { filter: brightness(1.15); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(187,68,255,0.4); }

@keyframes btnPulse {
    0%, 100% { box-shadow: 0 0 8px rgba(255,20,147,0.4), 0 0 20px rgba(255,20,147,0.2); }
    50%       { box-shadow: 0 0 22px rgba(255,20,147,1), 0 0 50px rgba(255,20,147,0.6), 0 0 90px rgba(255,105,180,0.4); }
}

/* Glow pulse */
.fb-glow {
    padding: 0.65rem 1.6rem;
    background: #ff1493;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    animation: btnPulse 2s ease-in-out infinite;
}

/* Icon left */
.fb-icon {
    padding: 0.65rem 1.6rem;
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    font-size: 0.95rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s;
}
.fb-icon:hover { border-color: #ff1493; color: #ff1493; }
.fb-icon svg { width: 16px; height: 16px; fill: currentColor; }

/* Loading */
.fb-loading {
    padding: 0.65rem 1.6rem;
    background: rgba(255,20,147,0.15);
    color: #ff69b4;
    border: 1px solid rgba(255,20,147,0.3);
    border-radius: 8px;
    font-size: 0.95rem;
    cursor: not-allowed;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}
.fb-spinner {
    width: 14px; height: 14px;
    border: 2px solid rgba(255,20,147,0.3);
    border-top-color: #ff1493;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Danger */
.fb-danger {
    padding: 0.65rem 1.6rem;
    background: transparent;
    color: #ff4444;
    border: 2px solid #ff4444;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}
.fb-danger:hover { background: #ff4444; color: #fff; }

/* Success */
.fb-success {
    padding: 0.65rem 1.6rem;
    background: #00cc66;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}
.fb-success:hover { background: #009944; transform: translateY(-2px); }

/* Sizes row */
.fb-sm { padding: 0.4rem 1rem; background: #ff1493; color: #fff; border: none; border-radius: 6px; font-size: 0.78rem; cursor: pointer; }
.fb-md { padding: 0.65rem 1.6rem; background: #ff1493; color: #fff; border: none; border-radius: 8px; font-size: 0.95rem; cursor: pointer; }
.fb-lg { padding: 0.9rem 2.2rem; background: #ff1493; color: #fff; border: none; border-radius: 10px; font-size: 1.1rem; font-weight: 700; cursor: pointer; }
.fb-xl { padding: 1.1rem 2.8rem; background: #ff1493; color: #fff; border: none; border-radius: 12px; font-size: 1.3rem; font-weight: 700; cursor: pointer; }

/* Underline text btn */
.fb-text {
    background: none; border: none; color: #ff1493;
    font-size: 0.95rem; cursor: pointer; text-decoration: underline;
    text-underline-offset: 3px;
}
.fb-text:hover { color: #ff69b4; }

/* Split button */
.fb-split {
    display: inline-flex;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid #ff1493;
}
.fb-split button {
    padding: 0.6rem 1.2rem;
    background: transparent;
    color: #ff1493;
    border: none;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}
.fb-split button:first-child { border-right: 1px solid rgba(255,20,147,0.3); }
.fb-split button:hover { background: #ff1493; color: #fff; }

/* ════════════════════════════
   ELECTRIC / ANIMATED BUTTONS
════════════════════════════ */

/* 1 — Pulsing glow (purple) */
.fb-electric-pulse {
    padding: 0.65rem 1.8rem;
    background: #7c3aed;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    animation: elPulse 2s ease-in-out infinite;
    position: relative;
}
@keyframes elPulse {
    0%, 100% { box-shadow: 0 0 8px rgba(124,58,237,0.4), 0 0 20px rgba(124,58,237,0.2); }
    50%       { box-shadow: 0 0 22px rgba(124,58,237,1), 0 0 50px rgba(124,58,237,0.6), 0 0 90px rgba(167,139,250,0.4); }
}

/* 2 — Travelling border dot */
.fb-electric-dot {
    padding: 0.65rem 1.8rem;
    background: transparent;
    color: #ff1493;
    border: 2px solid rgba(255,20,147,0.25);
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: color 0.2s;
}
.fb-electric-dot::before {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    background: #ff1493;
    border-radius: 50%;
    box-shadow: 0 0 10px 4px rgba(255,20,147,0.8), 0 0 24px 8px rgba(255,20,147,0.4);
    offset-path: inset(-2px round 9px);
    offset-distance: 0%;
    animation: elDotTravel 2s linear infinite;
}
@keyframes elDotTravel { to { offset-distance: 100%; } }
.fb-electric-dot:hover { color: #fff; background: rgba(255,20,147,0.08); }

/* 3 — Full border glow (conic sweep) */
.fb-electric-conic {
    padding: 0.65rem 1.8rem;
    background: #000;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    z-index: 0;
}
.fb-electric-conic::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 10px;
    background: conic-gradient(from var(--a), #ff1493, #bb44ff, #00eeff, #ff1493);
    z-index: -1;
    animation: elConicSpin 2s linear infinite;
}
.fb-electric-conic::after {
    content: '';
    position: absolute;
    inset: 2px;
    border-radius: 7px;
    background: #000;
    z-index: -1;
}
@property --a { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
@keyframes elConicSpin { to { --a: 360deg; } }

/* 4 — Neon flicker */
.fb-electric-flicker {
    padding: 0.65rem 1.8rem;
    background: transparent;
    color: #ff1493;
    border: 2px solid #ff1493;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    text-shadow: 0 0 8px rgba(255,20,147,0.8);
    box-shadow: 0 0 8px rgba(255,20,147,0.3), inset 0 0 8px rgba(255,20,147,0.05);
    animation: elFlicker 3.5s ease-in-out infinite;
}
@keyframes elFlicker {
    0%,19%,21%,23%,25%,54%,56%,100% {
        box-shadow: 0 0 8px rgba(255,20,147,0.4), 0 0 20px rgba(255,20,147,0.2), inset 0 0 8px rgba(255,20,147,0.05);
        text-shadow: 0 0 6px rgba(255,20,147,0.8);
        border-color: #ff1493;
    }
    20%,24%,55% {
        box-shadow: none;
        text-shadow: none;
        border-color: rgba(255,20,147,0.3);
    }
}

/* 5 — Rainbow sweep */
.fb-electric-rainbow {
    padding: 0.65rem 1.8rem;
    background: transparent;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    z-index: 0;
    overflow: hidden;
}
.fb-electric-rainbow::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 10px;
    background: linear-gradient(90deg, #ff1493, #bb44ff, #00eeff, #44ff88, #ffdd00, #ff6600, #ff1493);
    background-size: 300% 100%;
    animation: elRainbowSlide 2s linear infinite;
    z-index: -1;
}
.fb-electric-rainbow::after {
    content: '';
    position: absolute;
    inset: 2px;
    border-radius: 7px;
    background: #111;
    z-index: -1;
}
@keyframes elRainbowSlide { to { background-position: 300% 0; } }

/* 6 — Pulse outline (no fill) */
.fb-electric-ring {
    padding: 0.65rem 1.8rem;
    background: transparent;
    color: #00eeff;
    border: 2px solid #00eeff;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    animation: elRing 2s ease-in-out infinite;
    text-shadow: 0 0 8px rgba(0,238,255,0.6);
}
@keyframes elRing {
    0%, 100% { box-shadow: 0 0 6px rgba(0,238,255,0.3), 0 0 16px rgba(0,238,255,0.1); border-color: #00eeff; }
    50%       { box-shadow: 0 0 20px rgba(0,238,255,0.9), 0 0 50px rgba(0,238,255,0.5); border-color: #44ffff; }
}

/* 7 — Purple electric */
.fb-electric-purple {
    padding: 0.65rem 1.8rem;
    background: rgba(187,68,255,0.1);
    color: #cc88ff;
    border: 2px solid rgba(187,68,255,0.4);
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    animation: elPurple 2s ease-in-out infinite;
}
@keyframes elPurple {
    0%, 100% { box-shadow: 0 0 8px rgba(187,68,255,0.3), 0 0 20px rgba(187,68,255,0.1); }
    50%       { box-shadow: 0 0 22px rgba(187,68,255,0.9), 0 0 50px rgba(187,68,255,0.5); }
}

/* 8 — Solid with spark burst on hover */
.fb-electric-spark {
    padding: 0.65rem 1.8rem;
    background: linear-gradient(135deg, #ff1493, #bb44ff);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    transition: all 0.2s;
    box-shadow: 0 4px 15px rgba(255,20,147,0.3);
}
.fb-electric-spark:hover {
    box-shadow: 0 0 30px rgba(255,20,147,0.8), 0 0 60px rgba(187,68,255,0.5);
    transform: translateY(-2px) scale(1.03);
}

/* ════════════════════════════
   2. CARDS
════════════════════════════ */

.fc-basic {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 14px;
    padding: 1.5rem;
    color: #ddd;
    transition: all 0.2s;
    width: 100%;
}
.fc-basic h4 { color: #fff; margin: 0 0 0.5rem; font-size: 1.05rem; }
.fc-basic p { color: #bbb; font-size: 0.88rem; margin: 0; }
.fc-basic:hover { border-color: rgba(255,20,147,0.6); transform: translateY(-4px); box-shadow: 0 12px 30px rgba(255,20,147,0.15); }

.fc-pink {
    background: rgba(255,20,147,0.18);
    border: 1px solid rgba(255,20,147,0.5);
    border-radius: 14px;
    padding: 1.5rem;
    color: #ddd;
    transition: all 0.2s;
    width: 100%;
}
.fc-pink h4 { color: #ff69b4; margin: 0 0 0.5rem; }
.fc-pink p { color: #dda0c0; font-size: 0.88rem; margin: 0; }
.fc-pink:hover { border-color: #ff1493; background: rgba(255,20,147,0.25); box-shadow: 0 0 30px rgba(255,20,147,0.3); }

/* Glass card needs colour behind it to show the blur — demo-tile gets a gradient backdrop */
.fc-glass-wrap {
    background: linear-gradient(135deg, #2d0545 0%, #0a1540 50%, #1a0030 100%);
    border-radius: 18px;
    padding: 3px;
}

.fc-glass {
    background: rgba(255,255,255,0.14);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 16px;
    padding: 1.5rem;
    color: #ddd;
    width: 100%;
    transition: all 0.2s;
    position: relative;
    overflow: hidden;
}
.fc-glass::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,20,147,0.12) 0%, rgba(187,68,255,0.08) 100%);
    border-radius: inherit;
    pointer-events: none;
}
.fc-glass h4 { color: #fff; margin: 0 0 0.5rem; position: relative; }
.fc-glass p { color: #ddd; font-size: 0.88rem; margin: 0; position: relative; }
.fc-glass:hover { background: rgba(255,255,255,0.2); transform: translateY(-4px); box-shadow: 0 12px 40px rgba(187,68,255,0.25); }

.fc-gradient {
    background: linear-gradient(135deg, #ff1493 0%, #bb44ff 100%);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 18px;
    padding: 1.5rem;
    width: 100%;
    transition: all 0.2s;
    box-shadow: 0 6px 24px rgba(187,68,255,0.35);
}
.fc-gradient h4 { color: #fff; margin: 0 0 0.5rem; text-shadow: 0 1px 4px rgba(0,0,0,0.3); }
.fc-gradient p { color: rgba(255,255,255,0.85); font-size: 0.88rem; margin: 0; }
.fc-gradient:hover { transform: translateY(-4px); box-shadow: 0 16px 50px rgba(187,68,255,0.5); filter: brightness(1.1); }

.fc-stat {
    background: linear-gradient(135deg, rgba(255,20,147,0.15), rgba(187,68,255,0.1));
    border: 1px solid rgba(255,20,147,0.3);
    border-radius: 14px;
    padding: 1.5rem;
    text-align: center;
    width: 100%;
    transition: all 0.2s;
}
.fc-stat .stat-num { font-size: 2.4rem; font-weight: 800; color: #ff1493; line-height: 1; }
.fc-stat .stat-label { font-size: 0.82rem; color: #666; margin-top: 0.3rem; }
.fc-stat:hover { border-color: rgba(255,20,147,0.3); transform: translateY(-3px); }

.fc-profile {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 1.8rem 1.5rem;
    text-align: center;
    width: 100%;
    transition: all 0.2s;
}
.fc-profile .avatar {
    width: 60px; height: 60px;
    background: linear-gradient(135deg, #ff1493, #bb44ff);
    border-radius: 50%;
    margin: 0 auto 0.8rem;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem; color: #fff; font-weight: 700;
}
.fc-profile h4 { color: #fff; margin: 0 0 0.2rem; font-size: 1rem; }
.fc-profile p { color: #777; font-size: 0.82rem; margin: 0; }
.fc-profile:hover { border-color: rgba(255,20,147,0.3); transform: translateY(-3px); }

/* ── Flip Card ── */
.fc-flip {
    width: 100%;
    height: 200px;
    perspective: 900px;
    cursor: pointer;
}
.fc-flip-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.6s cubic-bezier(0.4,0,0.2,1);
}
.fc-flip:hover .fc-flip-inner { transform: rotateY(180deg); }
.fc-flip-front,
.fc-flip-back {
    position: absolute;
    inset: 0;
    border-radius: 16px;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    text-align: center;
}
.fc-flip-front {
    background: rgba(255,20,147,0.06);
    border: 1px solid rgba(255,20,147,0.2);
}
.fc-flip-front h4 { color: #fff; margin: 0 0 0.4rem; font-size: 1rem; }
.fc-flip-front p  { color: #888; font-size: 0.82rem; margin: 0; }
.fc-flip-front .flip-icon { font-size: 2rem; margin-bottom: 0.6rem; }
.fc-flip-back {
    background: linear-gradient(135deg, rgba(255,20,147,0.15), rgba(187,68,255,0.1));
    border: 1px solid rgba(255,20,147,0.35);
    transform: rotateY(180deg);
}
.fc-flip-back h4 { color: #ff1493; margin: 0 0 0.5rem; font-size: 1rem; }
.fc-flip-back p  { color: #bbb; font-size: 0.82rem; margin: 0 0 0.8rem; }

/* ── Tilt / 3D perspective card (JS-driven) ── */
.fc-tilt {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 1.5rem;
    width: 100%;
    transform-style: preserve-3d;
    transition: transform 0.1s ease, box-shadow 0.2s ease;
    cursor: pointer;
    will-change: transform;
}
.fc-tilt h4 { color: #fff; margin: 0 0 0.4rem; font-size: 1rem; transform: translateZ(18px); position: relative; }
.fc-tilt p  { color: #888; font-size: 0.82rem; margin: 0; transform: translateZ(10px); position: relative; }
.fc-tilt .tilt-shine {
    position: absolute;
    inset: 0;
    border-radius: 16px;
    background: radial-gradient(circle at var(--mx,50%) var(--my,50%), rgba(255,255,255,0.08) 0%, transparent 60%);
    pointer-events: none;
    transition: opacity 0.2s;
    opacity: 0;
}
.fc-tilt:hover .tilt-shine { opacity: 1; }

/* ── Image overlay card ── */
.fc-overlay {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    height: 200px;
}
.fc-overlay-bg {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a0020, #0d0030);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    transition: transform 0.4s ease;
}
.fc-overlay:hover .fc-overlay-bg { transform: scale(1.07); }
.fc-overlay-content {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 55%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.2rem;
    transition: background 0.3s;
}
.fc-overlay:hover .fc-overlay-content { background: linear-gradient(to top, rgba(255,20,147,0.7) 0%, transparent 70%); }
.fc-overlay-content h4 { color: #fff; margin: 0 0 0.2rem; font-size: 1rem; }
.fc-overlay-content p  { color: rgba(255,255,255,0.7); font-size: 0.8rem; margin: 0; transform: translateY(8px); opacity: 0; transition: all 0.3s; }
.fc-overlay:hover .fc-overlay-content p { transform: translateY(0); opacity: 1; }

/* ── Neon / electric card ── */
.fc-neon {
    background: #000;
    border: 1px solid rgba(255,20,147,0.2);
    border-radius: 16px;
    padding: 1.5rem;
    width: 100%;
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
}
.fc-neon::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 18px;
    background: conic-gradient(from var(--nc,0deg), #ff1493, #bb44ff, #00eeff, #ff1493);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s;
    animation: neonCardSpin 3s linear infinite;
}
@property --nc { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
@keyframes neonCardSpin { to { --nc: 360deg; } }
.fc-neon:hover::before { opacity: 1; }
.fc-neon:hover { box-shadow: 0 0 30px rgba(255,20,147,0.2); }
.fc-neon h4 { color: #ff1493; margin: 0 0 0.4rem; font-size: 1rem; }
.fc-neon p  { color: #888; font-size: 0.82rem; margin: 0; }

/* ── Horizontal card ── */
.fc-horizontal {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 1.2rem;
    width: 100%;
    transition: all 0.2s;
}
.fc-horizontal:hover { border-color: rgba(255,20,147,0.3); transform: translateX(4px); }
.fc-horizontal .hcard-icon {
    width: 52px; height: 52px;
    border-radius: 12px;
    background: linear-gradient(135deg, #ff1493, #bb44ff);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}
.fc-horizontal .hcard-text h4 { color: #fff; margin: 0 0 0.2rem; font-size: 0.95rem; }
.fc-horizontal .hcard-text p  { color: #777; font-size: 0.8rem; margin: 0; }

/* ── Testimonial / quote card ── */
.fc-quote {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 1.5rem;
    width: 100%;
    position: relative;
    transition: all 0.2s;
}
.fc-quote::before {
    content: '"';
    position: absolute;
    top: 0.5rem; left: 1.1rem;
    font-size: 4rem;
    color: rgba(255,20,147,0.2);
    font-family: Georgia, serif;
    line-height: 1;
    pointer-events: none;
}
.fc-quote:hover { border-color: rgba(255,20,147,0.25); }
.fc-quote blockquote {
    margin: 0.8rem 0 1rem;
    color: #bbb;
    font-size: 0.88rem;
    line-height: 1.6;
    font-style: italic;
}
.fc-quote .q-author { display: flex; align-items: center; gap: 0.6rem; }
.fc-quote .q-avatar {
    width: 32px; height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff1493, #bb44ff);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.75rem; font-weight: 700; color: #fff;
}
.fc-quote .q-name  { color: #fff; font-size: 0.85rem; font-weight: 600; }
.fc-quote .q-role  { color: #666; font-size: 0.75rem; }

/* ── Expandable / reveal card ── */
.fc-expand {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 1.2rem 1.4rem;
    width: 100%;
    cursor: pointer;
    transition: border-color 0.2s;
}
.fc-expand.open { border-color: rgba(255,20,147,0.3); }
.fc-expand-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.fc-expand-head h4 { color: #fff; margin: 0; font-size: 0.95rem; }
.fc-expand-arrow {
    width: 26px; height: 26px;
    border-radius: 50%;
    background: rgba(255,20,147,0.1);
    border: 1px solid rgba(255,20,147,0.2);
    display: flex; align-items: center; justify-content: center;
    color: #ff1493;
    font-size: 0.75rem;
    transition: transform 0.3s, background 0.2s;
    flex-shrink: 0;
}
.fc-expand.open .fc-expand-arrow { transform: rotate(180deg); background: rgba(255,20,147,0.2); }
.fc-expand-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}
.fc-expand.open .fc-expand-body { max-height: 200px; }
.fc-expand-body p {
    color: #888;
    font-size: 0.85rem;
    margin: 0.8rem 0 0;
    line-height: 1.6;
}

/* ── Notification / action card ── */
.fc-notify {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    padding: 1rem 1.2rem;
    width: 100%;
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    transition: all 0.2s;
}
.fc-notify:hover { border-color: rgba(255,20,147,0.25); background: rgba(255,20,147,0.03); }
.fc-notify .notif-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: #ff1493;
    box-shadow: 0 0 8px rgba(255,20,147,0.6);
    flex-shrink: 0;
    margin-top: 5px;
    animation: pulseDot 1.5s ease-in-out infinite;
}
.fc-notify .notif-body { flex: 1; }
.fc-notify .notif-body h4 { color: #ddd; font-size: 0.88rem; margin: 0 0 0.2rem; }
.fc-notify .notif-body p  { color: #666; font-size: 0.78rem; margin: 0; }
.fc-notify .notif-time { color: #444; font-size: 0.72rem; flex-shrink: 0; }

/* ── Scroll stack cards ── */
.fc-stack-demo {
    position: relative;
    height: 180px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.06);
    overflow: hidden;
    cursor: ns-resize;
    user-select: none;
    touch-action: none;
}
.fc-stack-card {
    position: absolute;
    inset: 0;
    background: var(--stack-bg, #1a1a2e);
    border-radius: 16px;
    padding: 1.8rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.4rem;
    transition: transform 0.4s cubic-bezier(0.4,0,0.2,1), box-shadow 0.4s ease;
}
.fc-stack-card:nth-child(1) { z-index: 1; }
.fc-stack-card:nth-child(2) { z-index: 2; transform: translateY(105%); }
.fc-stack-card:nth-child(3) { z-index: 3; transform: translateY(105%); }
.fc-stack-card:nth-child(4) { z-index: 4; transform: translateY(105%); }
.fc-stack-card .stack-num {
    font-size: 0.72rem;
    color: #ff1493;
    font-weight: 700;
    letter-spacing: 0.15em;
}
.fc-stack-card h4 { color: #fff; font-size: 1.1rem; margin: 0; }
.fc-stack-card p  { color: #999; font-size: 0.88rem; margin: 0; }
.fc-stack-hint {
    position: absolute;
    bottom: 10px;
    right: 14px;
    font-size: 0.68rem;
    color: rgba(255,255,255,0.25);
    letter-spacing: 0.08em;
    pointer-events: none;
    z-index: 10;
}

/* ══════════════════════════════
   REVEAL ANIMATIONS
══════════════════════════════ */
.fr-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 16px;
    padding: 2.2rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    flex: 1;
    min-height: 200px;
}
.fr-icon { font-size: 2.2rem; line-height: 1; }
.fr-card h4 { color: #fff; font-size: 1.15rem; margin: 0; }
.fr-card p  { color: #888; font-size: 0.9rem; margin: 0; line-height: 1.5; }

/* Hidden states */
.fr-slide-up    { opacity: 0; transform: translateY(70px);  transition: opacity 0.75s ease, transform 0.75s ease; }
.fr-slide-left  { opacity: 0; transform: translateX(-70px); transition: opacity 0.75s ease, transform 0.75s ease; }
.fr-slide-right { opacity: 0; transform: translateX(70px);  transition: opacity 0.75s ease, transform 0.75s ease; }
.fr-zoom-in     { opacity: 0; transform: scale(0.65);       transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.34,1.56,0.64,1); }
.fr-flip-in     { opacity: 0; transform: perspective(600px) rotateX(60deg); transform-origin: top center; transition: opacity 0.65s ease, transform 0.65s ease; }
.fr-blur-in     { opacity: 0; filter: blur(18px);           transition: opacity 0.8s ease, filter 0.8s ease; }

/* Visible states */
.fr-slide-up.fr-visible    { opacity: 1; transform: translateY(0); }
.fr-slide-left.fr-visible  { opacity: 1; transform: translateX(0); }
.fr-slide-right.fr-visible { opacity: 1; transform: translateX(0); }
.fr-zoom-in.fr-visible     { opacity: 1; transform: scale(1); }
.fr-flip-in.fr-visible     { opacity: 1; transform: perspective(600px) rotateX(0deg); }
.fr-blur-in.fr-visible     { opacity: 1; filter: blur(0); }

/* ── Back to top ── */
.back-to-top-wrap {
    text-align: center;
    padding: 2rem 0 3rem;
}
.back-to-top-btn {
    background: transparent;
    border: 1px solid rgba(255,20,147,0.4);
    color: #ff1493;
    padding: 0.55rem 1.6rem;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
    letter-spacing: 0.04em;
}
.back-to-top-btn:hover { background: rgba(255,20,147,0.08); border-color: #ff1493; }

/* ── Smaller advanced-cards on features page only ── */
.features-page .advanced-card {
    padding: 1.2rem 1.4rem;
    border-radius: 20px 8px 20px 8px;
    min-width: 0;
    display: flex;
    flex-direction: column;
}
.features-page .advanced-card:hover {
    border-radius: 8px 20px 8px 20px;
    transform: translateY(-8px) scale(1.03);
}
.features-page .advanced-card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.features-page .advanced-card p  { font-size: 0.82rem; margin-bottom: 0.7rem; flex: 1; }



/* ════════════════════════════
   FULL FORM STYLES
════════════════════════════ */

/* ── Shared form wrapper ── */
.fform {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.fform-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0 0 0.2rem;
}
.fform-sub {
    font-size: 0.82rem;
    margin: 0 0 0.5rem;
    opacity: 0.6;
}

/* ══════════════════════════
   BASIC FORM
══════════════════════════ */
.fform-basic {
    background: #f5f5f7;
    border-radius: 14px;
    padding: 1.8rem;
}
.fform-basic .fform-title { color: #111; font-size: 1.1rem; font-weight: 800; }
.fform-basic .fform-sub   { color: #777; font-size: 0.84rem; }

.fform-basic .fg {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}
.fform-basic label {
    font-size: 0.78rem;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
}
.fform-basic input,
.fform-basic textarea,
.fform-basic select {
    width: 100%;
    padding: 0.65rem 0.9rem;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    color: #111;
    font-size: 0.92rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.fform-basic input:focus,
.fform-basic textarea:focus,
.fform-basic select:focus {
    border-color: #ff1493;
    box-shadow: 0 0 0 3px rgba(255,20,147,0.1);
}
.fform-basic input::placeholder,
.fform-basic textarea::placeholder { color: #bbb; }
.fform-basic textarea { resize: vertical; min-height: 80px; }
.fform-basic select { appearance: none; cursor: pointer; }
.fform-basic select option { background: #fff; }
.fform-basic .fform-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
}
.fform-radio-group {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
    padding: 0.4rem 0;
}

.fform-radio {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
    cursor: pointer;
    color: inherit;
}

.fform-radio input[type="radio"] {
    accent-color: #ff1493;
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.fform-basic .fform-btn {
    padding: 0.7rem;
    background: #111;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    width: 100%;
}
.fform-basic .fform-btn:hover { background: #ff1493; transform: translateY(-1px); }

/* ══════════════════════════
   FUN FORM
══════════════════════════ */
.fform-fun {
    background: linear-gradient(135deg, #1a0535 0%, #0d1030 100%);
    border: 2px solid rgba(255,20,147,0.35);
    border-radius: 24px;
    padding: 1.8rem;
    position: relative;
    overflow: hidden;
}
.fform-fun::before {
    content: '';
    position: absolute;
    top: -60px; right: -60px;
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(255,20,147,0.35), transparent 65%);
    pointer-events: none;
}
.fform-fun::after {
    content: '';
    position: absolute;
    bottom: -40px; left: -40px;
    width: 160px; height: 160px;
    background: radial-gradient(circle, rgba(187,68,255,0.3), transparent 65%);
    pointer-events: none;
}
.fform-fun .fform-title { color: #ff69b4; font-size: 1.15rem; font-weight: 800; }
.fform-fun .fform-sub   { color: #cc88ff; }

.fform-fun .fg {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}
.fform-fun label {
    font-size: 0.84rem;
    font-weight: 700;
    color: #ff69b4;
}
.fform-fun input,
.fform-fun textarea,
.fform-fun select {
    width: 100%;
    padding: 0.7rem 1rem;
    background: rgba(255,255,255,0.08);
    border: 2px solid rgba(255,20,147,0.35);
    border-radius: 999px;
    color: #fff;
    font-size: 0.92rem;
    font-family: inherit;
    outline: none;
    transition: all 0.2s;
}
.fform-fun textarea {
    border-radius: 16px;
    resize: none;
    min-height: 80px;
}
.fform-fun input:focus,
.fform-fun textarea:focus,
.fform-fun select:focus {
    border-color: #ff1493;
    box-shadow: 0 0 0 4px rgba(255,20,147,0.18), 0 0 20px rgba(255,20,147,0.2);
}
.fform-fun input::placeholder,
.fform-fun textarea::placeholder { color: rgba(255,105,180,0.35); }
.fform-fun select { appearance: none; cursor: pointer; }
.fform-fun select option { background: #111; border-radius: 0; }
.fform-fun .fform-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
}
.fform-fun .fform-btn {
    padding: 0.8rem;
    background: linear-gradient(135deg, #ff1493, #bb44ff);
    color: #fff;
    border: none;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 800;
    cursor: pointer;
    width: 100%;
    transition: all 0.2s;
    animation: btnPulse 2s ease-in-out infinite;
}
.fform-fun .fform-btn:hover {
    filter: brightness(1.2);
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 8px 30px rgba(255,20,147,0.5);
}
.fform-fun .fun-emoji {
    font-size: 1.4rem;
    display: inline-block;
    animation: funBob 1.2s ease-in-out infinite;
}
@keyframes funBob { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-5px)} }

/* ══════════════════════════
   PROFESSIONAL FORM
══════════════════════════ */
.fform-pro {
    background: #06101e;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Top header bar */
.fform-pro .fpro-header {
    background: linear-gradient(135deg, #0a1928 0%, #0d2040 100%);
    border-bottom: 1px solid rgba(100,160,255,0.15);
    padding: 1.4rem 1.8rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.fform-pro .fpro-header-left { display: flex; flex-direction: column; gap: 0.2rem; }
.fform-pro .fform-title {
    color: #e8f4ff;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin: 0;
}
.fform-pro .fform-sub { color: #4a6a8a; font-size: 0.78rem; margin: 0; }
.fform-pro .fpro-tag {
    padding: 0.25rem 0.75rem;
    background: rgba(64,140,255,0.12);
    border: 1px solid rgba(64,140,255,0.3);
    border-radius: 4px;
    font-size: 0.7rem;
    color: #6aaaff;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Body padding */
.fform-pro .fpro-body {
    padding: 1.4rem 1.8rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.fform-pro .fg {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    position: relative;
}
.fform-pro label {
    font-size: 0.72rem;
    color: #3a5a7a;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}
.fform-pro .fpro-required { color: #6aaaff; }
.fform-pro input,
.fform-pro textarea,
.fform-pro select {
    width: 100%;
    padding: 0.6rem 0.85rem;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(100,160,255,0.12);
    border-radius: 6px;
    color: #cce0ff;
    font-size: 0.9rem;
    font-family: inherit;
    outline: none;
    transition: all 0.2s;
}
.fform-pro input:focus,
.fform-pro textarea:focus,
.fform-pro select:focus {
    border-color: rgba(64,140,255,0.5);
    background: rgba(64,140,255,0.05);
    box-shadow: 0 0 0 3px rgba(64,140,255,0.08);
}
.fform-pro input::placeholder,
.fform-pro textarea::placeholder { color: #1e3050; }
.fform-pro textarea { resize: none; min-height: 70px; }
.fform-pro select { appearance: none; cursor: pointer; }
.fform-pro select option { background: #06101e; }
.fform-pro .fform-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
}

/* Footer bar */
.fform-pro .fpro-footer {
    background: rgba(10,25,45,0.8);
    border-top: 1px solid rgba(100,160,255,0.08);
    padding: 1rem 1.8rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.fform-pro .fpro-note {
    font-size: 0.7rem;
    color: #1e3050;
}
.fform-pro .fform-btn {
    padding: 0.6rem 1.8rem;
    background: #1a4a8a;
    color: #fff;
    border: none;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.2s;
    border-radius: 6px;
    white-space: nowrap;
    flex-shrink: 0;
}
.fform-pro .fform-btn:hover {
    background: #2060b0;
    box-shadow: 0 4px 16px rgba(64,140,255,0.3);
    transform: translateY(-1px);
}

/* ══════════════════════════
   PREMIUM FORM
══════════════════════════ */
.fform-premium {
    background: #080808;
    border-radius: 18px;
    padding: 0;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.06);
}

/* Animated spinning border */
.fform-premium::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 19px;
    background: conic-gradient(from var(--prem-a, 0deg), #ff1493 0%, #bb44ff 25%, #00eeff 50%, #bb44ff 75%, #ff1493 100%);
    z-index: 0;
    animation: premBorderSpin 4s linear infinite;
    opacity: 0.6;
}
@property --prem-a { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
@keyframes premBorderSpin { to { --prem-a: 360deg; } }

/* Inner mask to show only border ring */
.fform-premium::after {
    content: '';
    position: absolute;
    inset: 1px;
    border-radius: 17px;
    background: #080808;
    z-index: 1;
}

/* All content above the pseudo elements */
.fform-premium .fprem-inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Top glow blob */
.fprem-glow-top {
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 280px; height: 120px;
    background: radial-gradient(ellipse at 50% 0%, rgba(255,20,147,0.18) 0%, transparent 70%);
    pointer-events: none;
    z-index: 2;
}

.fform-premium .fprem-header {
    padding: 1.6rem 1.8rem 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.fform-premium .fprem-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    width: fit-content;
    padding: 0.2rem 0.8rem;
    background: linear-gradient(135deg, rgba(255,20,147,0.15), rgba(187,68,255,0.1));
    border: 1px solid rgba(255,20,147,0.3);
    border-radius: 999px;
    font-size: 0.68rem;
    color: #ff69b4;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 700;
}
.fform-premium .fprem-badge::before { content: '★'; }
.fform-premium .fform-title {
    background: linear-gradient(120deg, #ffffff 0%, #ff8c00 60%, #ff4500 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.2rem;
    font-weight: 800;
    margin: 0;
    letter-spacing: -0.02em;
}
.fform-premium .fform-sub { color: rgba(255,255,255,0.35); font-size: 0.8rem; margin: 0; }

.fform-premium .fprem-body {
    padding: 1.2rem 1.8rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.fform-premium .fg {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}
.fform-premium label {
    font-size: 0.7rem;
    color: rgba(255,180,220,0.5);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 600;
}
.fform-premium input,
.fform-premium textarea,
.fform-premium select {
    width: 100%;
    padding: 0.7rem 1rem;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,20,147,0.2);
    border-radius: 9px;
    color: #fff;
    font-size: 0.9rem;
    font-family: inherit;
    outline: none;
    transition: all 0.25s;
}
.fform-premium input:focus,
.fform-premium textarea:focus,
.fform-premium select:focus {
    background: rgba(255,20,147,0.06);
    border-color: rgba(255,20,147,0.45);
    box-shadow: 0 0 0 3px rgba(255,20,147,0.08), 0 0 20px rgba(255,20,147,0.1);
}
.fform-premium input::placeholder,
.fform-premium textarea::placeholder { color: rgba(255,255,255,0.2); }
.fform-premium textarea { resize: none; min-height: 75px; }
.fform-premium select { appearance: none; cursor: pointer; }
.fform-premium select option { background: #111; }
.fform-premium .fform-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
}

.fform-premium .fprem-footer {
    padding: 1rem 1.8rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}
.fform-premium .fform-btn {
    padding: 0.85rem;
    background: linear-gradient(135deg, #ff8c00 0%, #ff4500 50%, #ff8c00 100%);
    background-size: 200% 100%;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 800;
    cursor: pointer;
    width: 100%;
    transition: all 0.35s;
    letter-spacing: 0.03em;
    position: relative;
    overflow: hidden;
}
.fform-premium .fform-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(255,255,255,0.15) 0%, transparent 60%);
    pointer-events: none;
}
.fform-premium .fform-btn:hover {
    background-position: 100% 0;
    box-shadow: 0 0 30px rgba(255,140,0,0.5), 0 0 60px rgba(255,69,0,0.25);
    transform: translateY(-2px) scale(1.01);
}
.fform-premium .fprem-security {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.7rem;
    color: rgba(255,255,255,0.2);
}
.fform-premium .fprem-security::before { content: '🔒'; font-size: 0.75rem; }

/* ════════════════════════════
   3. BADGES & TAGS
════════════════════════════ */

.badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    align-items: center;
}

.fb-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}
.fb-badge.pink    { background: rgba(255,20,147,0.15); color: #ff69b4; border: 1px solid rgba(255,20,147,0.3); }
.fb-badge.purple  { background: rgba(187,68,255,0.15); color: #cc88ff; border: 1px solid rgba(187,68,255,0.3); }
.fb-badge.green   { background: rgba(0,204,102,0.12); color: #44dd88; border: 1px solid rgba(0,204,102,0.3); }
.fb-badge.red     { background: rgba(255,68,68,0.12); color: #ff8888; border: 1px solid rgba(255,68,68,0.3); }
.fb-badge.blue    { background: rgba(0,150,255,0.12); color: #66aaff; border: 1px solid rgba(0,150,255,0.3); }
.fb-badge.yellow  { background: rgba(255,200,0,0.12); color: #ffcc44; border: 1px solid rgba(255,200,0,0.3); }
.fb-badge.outline { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.25); }
.fb-badge.solid   { background: #ff1493; color: #fff; border: none; }

.fb-dot-badge { position: relative; display: inline-flex; align-items: center; }
.fb-dot-badge .dot {
    width: 8px; height: 8px; border-radius: 50%;
    display: inline-block; margin-right: 0.45rem;
}
.fb-dot-badge.live .dot { background: #00cc66; box-shadow: 0 0 6px #00cc66; animation: pulseDot 1.2s ease-in-out infinite; }
.fb-dot-badge.offline .dot { background: #555; }
.fb-dot-badge.busy .dot { background: #ff4444; box-shadow: 0 0 6px #ff4444; }
.fb-dot-badge span { font-size: 0.85rem; color: #bbb; }

/* ── Extra badge variants ── */
.fb-badge.ghost { background: transparent; color: #666; border: 1px solid rgba(255,255,255,0.1); }
.fb-badge.dark  { background: rgba(255,255,255,0.07); color: #999; border: 1px solid rgba(255,255,255,0.1); }

/* ── Icon badges ── */
.fb-badge-icon { display: inline-flex; align-items: center; gap: 0.3rem; }

/* ── Counter bubbles ── */
.fb-counter {
    min-width: 20px; height: 20px;
    border-radius: 999px;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 0.68rem; font-weight: 800;
    color: #fff;
    padding: 0 5px;
    line-height: 1;
}
.fb-counter-label {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.82rem;
    color: #888;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 999px;
    padding: 0.2rem 0.6rem 0.2rem 0.8rem;
}

/* ── Gradient badges ── */
.fb-grad-pink   { background: linear-gradient(135deg,#ff1493,#bb44ff); color:#fff; border:none; }
.fb-grad-blue   { background: linear-gradient(135deg,#0099ff,#00eeff); color:#fff; border:none; }
.fb-grad-green  { background: linear-gradient(135deg,#00cc66,#00eeff); color:#fff; border:none; }
.fb-grad-sunset { background: linear-gradient(135deg,#ff6600,#ffdd00); color:#fff; border:none; }
.fb-grad-purple { background: linear-gradient(135deg,#7700ff,#bb44ff); color:#fff; border:none; }
.fb-grad-teal   { background: linear-gradient(135deg,#00aaaa,#44ff88); color:#fff; border:none; }

/* ── Dismissible tags ── */
.fb-tag-dismiss {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.5rem 0.3rem 0.75rem;
    background: rgba(255,20,147,0.08);
    border: 1px solid rgba(255,20,147,0.2);
    border-radius: 999px;
    font-size: 0.78rem;
    color: #ff69b4;
    transition: background 0.2s;
}
.fb-tag-dismiss:hover { background: rgba(255,20,147,0.14); }
.fb-tag-dismiss button {
    background: none; border: none; cursor: pointer;
    color: #ff69b4; font-size: 0.85rem; line-height: 1;
    padding: 0; opacity: 0.6; transition: opacity 0.2s;
    font-family: inherit;
}
.fb-tag-dismiss button:hover { opacity: 1; }

/* ── Tag cloud ── */
.fb-cloud-tag {
    display: inline-block;
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    color: #666;
    font-weight: 600;
    cursor: default;
    transition: color 0.2s, border-color 0.2s, background 0.2s;
    line-height: 1.5;
}
.fb-cloud-tag:hover {
    color: #ff1493;
    border-color: rgba(255,20,147,0.3);
    background: rgba(255,20,147,0.06);
}

/* ── Category filter tags ── */
.fb-cat-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.35rem 0.9rem;
    border-radius: 10px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    color: #666;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    user-select: none;
}
.fb-cat-tag:hover { border-color: rgba(255,20,147,0.3); color: #ddd; }
.fb-cat-tag.active {
    background: rgba(255,20,147,0.1);
    border-color: rgba(255,20,147,0.35);
    color: #ff1493;
}
@keyframes pulseDot { 0%,100%{opacity:1} 50%{opacity:0.4} }

/* ════════════════════════════
   4. FORM ELEMENTS
════════════════════════════ */

.ff-group {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    width: 100%;
}

.ff-label {
    font-size: 0.8rem;
    color: #888;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.ff-input {
    width: 100%;
    padding: 0.7rem 1rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    color: #fff;
    font-size: 0.95rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.ff-input:focus {
    border-color: #ff1493;
    box-shadow: 0 0 0 3px rgba(255,20,147,0.15);
}
.ff-input::placeholder { color: #555; }

.ff-input.error { border-color: #ff4444; }
.ff-input.success { border-color: #00cc66; }

.ff-textarea {
    width: 100%;
    padding: 0.7rem 1rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    color: #fff;
    font-size: 0.95rem;
    font-family: inherit;
    outline: none;
    resize: vertical;
    min-height: 90px;
    transition: border-color 0.2s;
}
.ff-textarea:focus { border-color: #ff1493; box-shadow: 0 0 0 3px rgba(255,20,147,0.15); }
.ff-textarea::placeholder { color: #555; }

.ff-select {
    width: 100%;
    padding: 0.7rem 1rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    color: #fff;
    font-size: 0.95rem;
    font-family: inherit;
    outline: none;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23ff1493' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    transition: border-color 0.2s;
}
.ff-select:focus { border-color: #ff1493; }
.ff-select option { background: #111; }

/* Toggle switch */
.ff-toggle-wrap {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
}
.ff-toggle {
    position: relative;
    width: 44px;
    height: 24px;
    flex-shrink: 0;
}
.ff-toggle input { opacity: 0; width: 0; height: 0; position: absolute; }
.ff-toggle-track {
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.1);
    border-radius: 999px;
    transition: background 0.25s;
    border: 1px solid rgba(255,255,255,0.1);
}
.ff-toggle input:checked + .ff-toggle-track { background: #ff1493; border-color: #ff1493; }
.ff-toggle-thumb {
    position: absolute;
    top: 3px; left: 3px;
    width: 16px; height: 16px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.25s;
    pointer-events: none;
}
.ff-toggle input:checked ~ .ff-toggle-thumb { transform: translateX(20px); }
.ff-toggle-label { color: #bbb; font-size: 0.9rem; }

/* Checkbox */
.ff-check-wrap {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    cursor: pointer;
}
.ff-check-wrap input[type="checkbox"] {
    width: 18px; height: 18px;
    accent-color: #ff1493;
    cursor: pointer;
}
.ff-check-wrap span { color: #bbb; font-size: 0.9rem; }

/* Radio */
.ff-radio-group { display: flex; flex-direction: column; gap: 0.5rem; }
.ff-radio-wrap {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    cursor: pointer;
}
.ff-radio-wrap input[type="radio"] {
    width: 16px; height: 16px;
    accent-color: #ff1493;
    cursor: pointer;
}
.ff-radio-wrap span { color: #bbb; font-size: 0.9rem; }

/* Range slider */
.ff-range {
    width: 100%;
    accent-color: #ff1493;
    cursor: pointer;
}

/* Input with icon */
.ff-input-icon {
    position: relative;
    width: 100%;
}
.ff-input-icon .ff-input { padding-left: 2.5rem; }
.ff-input-icon .icon {
    position: absolute;
    left: 0.85rem;
    top: 50%;
    transform: translateY(-50%);
    color: #555;
    font-size: 0.95rem;
    pointer-events: none;
}

/* ════════════════════════════
   5. NAVIGATION STYLES
════════════════════════════ */

/* Tab nav */
.fn-tabs {
    display: flex;
    gap: 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    width: 100%;
}
.fn-tab {
    padding: 0.6rem 1.3rem;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    color: #666;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
    margin-bottom: -1px;
}
.fn-tab:hover { color: #ff69b4; }
.fn-tab.active { color: #ff1493; border-bottom-color: #ff1493; }

/* Pill nav */
.fn-pills {
    display: flex;
    gap: 0.4rem;
    background: rgba(255,255,255,0.04);
    border-radius: 10px;
    padding: 0.3rem;
    width: fit-content;
}
.fn-pill {
    padding: 0.45rem 1.1rem;
    background: none;
    border: none;
    border-radius: 7px;
    color: #666;
    font-size: 0.88rem;
    cursor: pointer;
    transition: all 0.2s;
}
.fn-pill:hover { color: #ddd; }
.fn-pill.active { background: #ff1493; color: #fff; }

/* Breadcrumb */
.fn-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.88rem;
    flex-wrap: wrap;
}
.fn-breadcrumb a { color: #ff69b4; text-decoration: none; }
.fn-breadcrumb a:hover { text-decoration: underline; }
.fn-breadcrumb .sep { color: #444; }
.fn-breadcrumb .current { color: #aaa; }

/* Vertical side nav */
.fn-sidenav {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    width: 100%;
}
.fn-sidenav a {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.55rem 0.9rem;
    border-radius: 8px;
    color: #888;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s;
}
.fn-sidenav a:hover { background: rgba(255,20,147,0.08); color: #ff69b4; }
.fn-sidenav a.active { background: rgba(255,20,147,0.12); color: #ff1493; font-weight: 600; }
.fn-sidenav .nav-icon { font-size: 1rem; width: 20px; text-align: center; }

/* Dot nav */
.fn-dot-nav {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    align-items: flex-start;
}
.fn-dot-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    cursor: pointer;
}
.fn-dot-item .dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    border: 2px solid rgba(255,255,255,0.2);
    transition: all 0.2s;
    flex-shrink: 0;
}
.fn-dot-item.active .dot { background: #ff1493; border-color: #ff1493; box-shadow: 0 0 8px rgba(255,20,147,0.5); }
.fn-dot-item span { color: #777; font-size: 0.88rem; }
.fn-dot-item.active span { color: #ff1493; }

/* ── Top Navbar mockup ── */
.fn-navbar {
    width: 100%;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    padding: 0 1.2rem;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.fn-navbar-logo {
    font-size: 0.95rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
    white-space: nowrap;
}
.fn-navbar-logo span { color: #ff1493; }
.fn-navbar-links {
    display: flex;
    align-items: center;
    gap: 0.2rem;
    flex: 1;
    justify-content: center;
}
.fn-navbar-links a {
    padding: 0.35rem 0.85rem;
    color: #777;
    font-size: 0.82rem;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.2s;
    white-space: nowrap;
}
.fn-navbar-links a:hover { color: #ddd; background: rgba(255,255,255,0.05); }
.fn-navbar-links a.active { color: #ff1493; background: rgba(255,20,147,0.08); }
.fn-navbar-cta {
    padding: 0.4rem 1rem;
    background: #ff1493;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
}
.fn-navbar-cta:hover { background: #d4006e; }

/* Transparent/glass navbar */
.fn-navbar.glass {
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(12px);
    border-color: rgba(255,255,255,0.1);
}

/* Dark solid navbar */
.fn-navbar.solid {
    background: #111;
    border-color: rgba(255,255,255,0.06);
}

/* Branded navbar */
.fn-navbar.branded {
    background: linear-gradient(135deg, #1a0020, #0d0018);
    border-color: rgba(255,20,147,0.2);
}

/* ── Stepped / Wizard nav ── */
.fn-steps {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 0;
}
.fn-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    flex: 1;
    position: relative;
}
.fn-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 14px;
    left: 50%;
    width: 100%;
    height: 2px;
    background: rgba(255,255,255,0.08);
    z-index: 0;
}
.fn-step.done:not(:last-child)::after { background: #ff1493; }
.fn-step-circle {
    width: 28px; height: 28px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.12);
    background: #000;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.72rem; font-weight: 700; color: #555;
    position: relative; z-index: 1;
    transition: all 0.2s;
}
.fn-step.done .fn-step-circle { background: #ff1493; border-color: #ff1493; color: #fff; }
.fn-step.active .fn-step-circle { border-color: #ff1493; color: #ff1493; box-shadow: 0 0 0 3px rgba(255,20,147,0.15); }
.fn-step-label { font-size: 0.7rem; color: #444; white-space: nowrap; }
.fn-step.done .fn-step-label   { color: #ff1493; }
.fn-step.active .fn-step-label { color: #ddd; }

/* ── Tag / Filter bar ── */
.fn-tagbar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    width: 100%;
}
.fn-tag {
    padding: 0.3rem 0.85rem;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 999px;
    color: #666;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s;
    user-select: none;
}
.fn-tag:hover { border-color: rgba(255,20,147,0.3); color: #ddd; }
.fn-tag.active { background: rgba(255,20,147,0.12); border-color: rgba(255,20,147,0.4); color: #ff1493; font-weight: 600; }

/* ── Mobile bottom nav ── */
.fn-bottomnav {
    display: flex;
    align-items: center;
    justify-content: space-around;
    width: 100%;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    padding: 0.6rem 0;
}
.fn-bottomnav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    padding: 0 1rem;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}
.fn-bottomnav-item .bn-icon { font-size: 1.3rem; line-height: 1; }
.fn-bottomnav-item .bn-label { font-size: 0.65rem; color: #555; transition: color 0.2s; }
.fn-bottomnav-item.active .bn-label { color: #ff1493; }
.fn-bottomnav-item.active .bn-icon { filter: drop-shadow(0 0 6px rgba(255,20,147,0.6)); }
.fn-bottomnav-item:hover .bn-label { color: #aaa; }

/* ── Pagination ── */
.fn-pagination {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex-wrap: wrap;
}
.fn-page {
    width: 34px; height: 34px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 7px;
    font-size: 0.85rem;
    cursor: pointer;
    border: 1px solid rgba(255,255,255,0.08);
    background: transparent;
    color: #666;
    transition: all 0.2s;
    font-family: inherit;
}
.fn-page:hover { border-color: rgba(255,20,147,0.3); color: #ddd; }
.fn-page.active { background: #ff1493; border-color: #ff1493; color: #fff; font-weight: 700; }
.fn-page.dots { border-color: transparent; cursor: default; color: #444; }
.fn-page.dots:hover { border-color: transparent; color: #444; }
.fn-page.arrow { font-size: 1rem; }

/* ── Mega menu mockup ── */
.fn-megamenu {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
}
.fn-megamenu-bar {
    display: flex;
    background: rgba(255,255,255,0.04);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding: 0 1rem;
}
.fn-megamenu-bar a {
    padding: 0.65rem 1rem;
    font-size: 0.85rem;
    color: #777;
    text-decoration: none;
    transition: color 0.2s;
    position: relative;
}
.fn-megamenu-bar a:hover { color: #ddd; }
.fn-megamenu-bar a.active { color: #ff1493; }
.fn-megamenu-bar a.active::after {
    content: '';
    position: absolute;
    bottom: 0; left: 1rem; right: 1rem;
    height: 2px;
    background: #ff1493;
    border-radius: 2px 2px 0 0;
}
.fn-megamenu-panel {
    background: rgba(255,255,255,0.02);
    padding: 1.2rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.6rem;
}
.fn-megamenu-item {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    padding: 0.65rem 0.8rem;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.2s;
    cursor: pointer;
}
.fn-megamenu-item:hover { background: rgba(255,255,255,0.04); }
.fn-megamenu-item .mm-icon {
    width: 36px; height: 36px;
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
    background: rgba(255,20,147,0.12);
    border: 1px solid rgba(255,20,147,0.25);
    color: #ff1493;
    line-height: 1;
}
.fn-megamenu-item .mm-text h5 { color: #ddd; font-size: 0.82rem; margin: 0 0 0.15rem; }
.fn-megamenu-item .mm-text p  { color: #555; font-size: 0.72rem; margin: 0; line-height: 1.4; }

/* ════════════════════════════
   6. PROGRESS & LOADING
════════════════════════════ */

.fp-bar-wrap {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}
.fp-bar-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #888;
}
.fp-bar-track {
    width: 100%;
    height: 8px;
    background: rgba(255,255,255,0.07);
    border-radius: 999px;
    overflow: hidden;
}
.fp-bar-fill {
    height: 100%;
    border-radius: 999px;
    background: #ff1493;
    transition: width 1s ease;
}
.fp-bar-fill.purple { background: linear-gradient(90deg, #bb44ff, #ff1493); }
.fp-bar-fill.green  { background: #00cc66; }
.fp-bar-fill.striped {
    background: repeating-linear-gradient(
        45deg,
        #ff1493,
        #ff1493 10px,
        rgba(255,20,147,0.6) 10px,
        rgba(255,20,147,0.6) 20px
    );
    animation: stripeScroll 0.6s linear infinite;
}
@keyframes stripeScroll { from{background-position:0 0} to{background-position:40px 0} }

/* Spinners */
.fp-spinner {
    width: 36px; height: 36px;
    border: 3px solid rgba(255,20,147,0.2);
    border-top-color: #ff1493;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
.fp-spinner.dual {
    border: 3px solid transparent;
    border-top-color: #ff1493;
    border-bottom-color: #bb44ff;
}
.fp-spinner.sm { width: 20px; height: 20px; border-width: 2px; }
.fp-spinner.lg { width: 56px; height: 56px; border-width: 4px; }

/* Dot loader */
.fp-dots {
    display: flex;
    gap: 6px;
    align-items: center;
}
.fp-dots span {
    width: 8px; height: 8px;
    background: #ff1493;
    border-radius: 50%;
    animation: dotBounce 0.8s ease-in-out infinite;
}
.fp-dots span:nth-child(2) { animation-delay: 0.15s; background: #bb44ff; }
.fp-dots span:nth-child(3) { animation-delay: 0.3s;  background: #ff69b4; }
@keyframes dotBounce { 0%,80%,100%{transform:scale(0.6);opacity:0.5} 40%{transform:scale(1);opacity:1} }

/* Skeleton loader */
.fp-skeleton {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}
.fp-skel-line {
    height: 14px;
    background: linear-gradient(90deg, rgba(255,255,255,0.04) 25%, rgba(255,255,255,0.09) 50%, rgba(255,255,255,0.04) 75%);
    background-size: 200% 100%;
    border-radius: 4px;
    animation: shimmer 1.4s infinite;
}
.fp-skel-line.short { width: 60%; }
.fp-skel-line.medium { width: 80%; }
.fp-skel-avatar {
    width: 44px; height: 44px;
    background: linear-gradient(90deg, rgba(255,255,255,0.04) 25%, rgba(255,255,255,0.09) 50%, rgba(255,255,255,0.04) 75%);
    background-size: 200% 100%;
    border-radius: 50%;
    animation: shimmer 1.4s infinite;
}
@keyframes shimmer { from{background-position:200% 0} to{background-position:-200% 0} }

/* ════════════════════════════
   7. ALERTS & TOASTS
════════════════════════════ */

/* ── Banner Alerts ── */
.fa-alert {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.85rem 1rem 0.85rem 0;
    border-radius: 12px;
    font-size: 0.88rem;
    width: 100%;
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
}
.fa-alert::before {
    content: '';
    width: 4px;
    align-self: stretch;
    flex-shrink: 0;
    border-radius: 12px 0 0 12px;
    margin-right: 0.2rem;
}
.fa-alert .al-icon-wrap {
    width: 32px; height: 32px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.95rem;
    flex-shrink: 0;
    font-weight: 700;
}
.fa-alert .al-body { display: flex; flex-direction: column; gap: 0.1rem; flex: 1; min-width: 0; }
.fa-alert .al-title { font-weight: 700; font-size: 0.88rem; }
.fa-alert .al-msg { font-size: 0.8rem; opacity: 0.7; }
.fa-alert .al-dismiss {
    background: none; border: none; cursor: pointer;
    font-size: 0.75rem; opacity: 0.4; flex-shrink: 0;
    padding: 0.2rem 0.5rem; border-radius: 4px;
    transition: opacity 0.2s;
    margin-right: 0.5rem;
}
.fa-alert .al-dismiss:hover { opacity: 0.9; }

.fa-alert.success { background: rgba(0,204,102,0.07);  border-color: rgba(0,204,102,0.2);  color: #44dd88; }
.fa-alert.success::before { background: #00cc66; }
.fa-alert.success .al-icon-wrap { background: rgba(0,204,102,0.15); }
.fa-alert.error   { background: rgba(255,68,68,0.07);  border-color: rgba(255,68,68,0.2);   color: #ff8888; }
.fa-alert.error::before { background: #ff4444; }
.fa-alert.error .al-icon-wrap { background: rgba(255,68,68,0.15); }
.fa-alert.warning { background: rgba(255,200,0,0.07);  border-color: rgba(255,200,0,0.2);   color: #ffcc44; }
.fa-alert.warning::before { background: #ffcc00; }
.fa-alert.warning .al-icon-wrap { background: rgba(255,200,0,0.15); }
.fa-alert.info    { background: rgba(0,150,255,0.07);  border-color: rgba(0,150,255,0.2);   color: #66aaff; }
.fa-alert.info::before { background: #0099ff; }
.fa-alert.info .al-icon-wrap { background: rgba(0,150,255,0.15); }
.fa-alert.pink    { background: rgba(255,20,147,0.07); border-color: rgba(255,20,147,0.2);  color: #ff69b4; }
.fa-alert.pink::before { background: #ff1493; }
.fa-alert.pink .al-icon-wrap { background: rgba(255,20,147,0.15); }

/* ── Rich Toast Notifications ── */
.fa-toast-rich {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    font-size: 0.88rem;
    width: 100%;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    position: relative;
    overflow: hidden;
}
.fa-toast-rich::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 3px;
}
.fa-toast-rich .tr-icon {
    width: 34px; height: 34px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.9rem; font-weight: 700;
    flex-shrink: 0;
}
.fa-toast-rich .tr-body { display: flex; flex-direction: column; gap: 0.1rem; flex: 1; min-width: 0; }
.fa-toast-rich .tr-title { font-weight: 700; color: #ddd; font-size: 0.85rem; }
.fa-toast-rich .tr-msg   { font-size: 0.78rem; color: #666; }
.fa-toast-rich .tr-time  { font-size: 0.72rem; color: #444; flex-shrink: 0; white-space: nowrap; }
.fa-toast-rich .tr-close {
    background: none; border: none; cursor: pointer;
    font-size: 0.7rem; color: #444; padding: 0.2rem 0.4rem;
    border-radius: 4px; transition: color 0.2s; flex-shrink: 0;
}
.fa-toast-rich .tr-close:hover { color: #aaa; }

.fa-toast-rich.toast-success::before { background: #00cc66; }
.fa-toast-rich.toast-success .tr-icon { background: rgba(0,204,102,0.12); color: #00cc66; }
.fa-toast-rich.toast-error::before   { background: #ff4444; }
.fa-toast-rich.toast-error .tr-icon  { background: rgba(255,68,68,0.12);  color: #ff6666; }
.fa-toast-rich.toast-warning::before { background: #ffcc00; }
.fa-toast-rich.toast-warning .tr-icon{ background: rgba(255,200,0,0.12);  color: #ffcc44; }
.fa-toast-rich.toast-info::before    { background: #0099ff; }
.fa-toast-rich.toast-info .tr-icon   { background: rgba(0,150,255,0.12);  color: #66aaff; }

/* ── Notification Panel ── */
.fa-notif-panel { display: flex; flex-direction: column; width: 100%; }
.notif-panel-head {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1rem 1.2rem 0.8rem;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}
.notif-panel-title { font-weight: 700; color: #ddd; font-size: 0.92rem; flex: 1; }
.notif-badge {
    background: #ff1493;
    color: #fff;
    font-size: 0.68rem;
    font-weight: 700;
    border-radius: 999px;
    padding: 0.1rem 0.45rem;
    line-height: 1.5;
}
.notif-mark-all {
    background: none; border: none; cursor: pointer;
    font-size: 0.75rem; color: #ff1493; font-family: inherit;
    opacity: 0.8; transition: opacity 0.2s;
}
.notif-mark-all:hover { opacity: 1; }
.notif-list { display: flex; flex-direction: column; }
.notif-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.85rem 1.2rem;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    position: relative;
    transition: background 0.2s;
    cursor: pointer;
}
.notif-item:last-child { border-bottom: none; }
.notif-item:hover { background: rgba(255,255,255,0.03); }
.notif-item.unread { background: rgba(255,20,147,0.02); }
.notif-avatar {
    width: 36px; height: 36px;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem; flex-shrink: 0;
}
.notif-content { display: flex; flex-direction: column; gap: 0.2rem; flex: 1; min-width: 0; }
.notif-text { font-size: 0.8rem; color: #aaa; line-height: 1.4; }
.notif-text strong { color: #ddd; font-weight: 600; }
.notif-time { font-size: 0.72rem; color: #444; }
.notif-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: #ff1493;
    flex-shrink: 0;
    box-shadow: 0 0 6px rgba(255,20,147,0.6);
}

/* ── Status Chips ── */
.fa-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.28rem 0.75rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid transparent;
}
.chip-success { background: rgba(0,204,102,0.1);  border-color: rgba(0,204,102,0.25);  color: #44dd88; }
.chip-error   { background: rgba(255,68,68,0.1);  border-color: rgba(255,68,68,0.25);  color: #ff8888; }
.chip-warning { background: rgba(255,200,0,0.1);  border-color: rgba(255,200,0,0.25);  color: #ffcc44; }
.chip-info    { background: rgba(0,150,255,0.1);  border-color: rgba(0,150,255,0.25);  color: #66aaff; }
.chip-pink    { background: rgba(255,20,147,0.1); border-color: rgba(255,20,147,0.25); color: #ff69b4; }
.chip-neutral { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.1); color: #666; }

/* ── Snackbars ── */
.fa-snackbar {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    font-size: 0.84rem;
    font-weight: 500;
    width: 100%;
}
.fa-snackbar .snack-action {
    margin-left: auto;
    background: none; border: none;
    font-size: 0.8rem; font-weight: 700;
    cursor: pointer; font-family: inherit;
    padding: 0.2rem 0.5rem; border-radius: 5px;
    transition: background 0.2s;
}
.snack-success {
    background: rgba(0,204,102,0.1);
    border: 1px solid rgba(0,204,102,0.2);
    color: #44dd88;
}
.snack-success .snack-action { color: #00cc66; }
.snack-success .snack-action:hover { background: rgba(0,204,102,0.1); }
.snack-dark {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    color: #ccc;
}
.snack-dark .snack-action { color: #ff1493; }
.snack-dark .snack-action:hover { background: rgba(255,20,147,0.08); }
.snack-error {
    background: rgba(255,68,68,0.08);
    border: 1px solid rgba(255,68,68,0.2);
    color: #ff8888;
}
.snack-error .snack-action { color: #ff6666; }
.snack-error .snack-action:hover { background: rgba(255,68,68,0.1); }

/* ════════════════════════════
   8. TOOLTIPS
════════════════════════════ */

.ft-wrap {
    position: relative;
    display: inline-block;
    cursor: pointer;
}
.ft-tip {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) scale(0.9);
    background: rgba(30,30,30,0.97);
    color: #eee;
    font-size: 0.78rem;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transition: all 0.18s;
    border: 1px solid rgba(255,255,255,0.1);
    z-index: 100;
}
.ft-tip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: rgba(255,255,255,0.1);
}
.ft-wrap:hover .ft-tip {
    opacity: 1;
    transform: translateX(-50%) scale(1);
}

/* Right tooltip */
.ft-wrap.right .ft-tip {
    top: 50%;
    left: calc(100% + 8px);
    bottom: auto;
    transform: translateY(-50%) scale(0.9);
}
.ft-wrap.right .ft-tip::after {
    top: 50%;
    left: -10px;
    transform: translateY(-50%);
    border-top-color: transparent;
    border-right-color: rgba(255,255,255,0.1);
}
.ft-wrap.right:hover .ft-tip { transform: translateY(-50%) scale(1); }

/* ════════════════════════════
   9. ACCORDION / FAQ
════════════════════════════ */

.fa-accordion {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.fa-acc-item {
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    overflow: hidden;
    transition: border-color 0.2s;
}
.fa-acc-item.open { border-color: rgba(255,20,147,0.3); }

.fa-acc-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.9rem 1.2rem;
    cursor: pointer;
    color: #ddd;
    font-size: 0.92rem;
    font-weight: 600;
    user-select: none;
    transition: color 0.2s;
}
.fa-acc-item.open .fa-acc-head { color: #ff1493; }
.fa-acc-arrow {
    font-size: 0.8rem;
    transition: transform 0.25s;
    color: #555;
}
.fa-acc-item.open .fa-acc-arrow { transform: rotate(180deg); color: #ff1493; }

.fa-acc-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}
.fa-acc-item.open .fa-acc-body { max-height: 200px; }
.fa-acc-body p {
    padding: 0 1.2rem 1rem;
    color: #888;
    font-size: 0.88rem;
    margin: 0;
    line-height: 1.6;
}

/* ════════════════════════════
   10. SLIDERS / CAROUSELS
════════════════════════════ */

.fs-tab-carousel {
    width: 100%;
}

.fs-tab-list {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.2rem;
    flex-wrap: wrap;
}

.fs-tab-btn {
    padding: 0.45rem 1.1rem;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    color: #777;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}
.fs-tab-btn:hover { color: #ddd; border-color: rgba(255,255,255,0.2); }
.fs-tab-btn.active { background: rgba(255,20,147,0.1); border-color: rgba(255,20,147,0.35); color: #ff1493; }

.fs-tab-panel {
    display: none;
    animation: fadeInUp 0.3s ease;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 12px;
    padding: 1.5rem;
    color: #aaa;
    font-size: 0.92rem;
    line-height: 1.6;
}
.fs-tab-panel.active { display: block; }
@keyframes fadeInUp { from{opacity:0;transform:translateY(6px)} to{opacity:1;transform:none} }

/* Image strip slider */
.fs-strip {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
}
.fs-strip-inner {
    display: flex;
    transition: transform 0.4s ease;
}
.fs-strip-slide {
    min-width: 100%;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    border-radius: 12px;
}
.fs-strip-slide:nth-child(1) { background: linear-gradient(135deg, #ff1493, #bb44ff); }
.fs-strip-slide:nth-child(2) { background: linear-gradient(135deg, #0099ff, #00eeff); }
.fs-strip-slide:nth-child(3) { background: linear-gradient(135deg, #ff6600, #ffdd00); }
.fs-strip-slide:nth-child(4) { background: linear-gradient(135deg, #44ff88, #0099ff); }

.fs-strip-btns {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: 0 0.7rem;
    pointer-events: none;
}
.fs-strip-btn {
    pointer-events: all;
    width: 34px; height: 34px;
    background: rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.9rem;
    transition: background 0.2s;
}
.fs-strip-btn:hover { background: rgba(255,20,147,0.6); }

.fs-strip-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 0.7rem;
}
.fs-strip-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    border: none;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    padding: 0;
}
.fs-strip-dot.active { background: #ff1493; transform: scale(1.25); }

/* ── Fade Carousel ── */
.fs-fade {
    width: 100%;
    position: relative;
}
.fs-fade-slide {
    display: none;
    animation: fsFadeIn 0.4s ease;
}
.fs-fade-slide.active { display: block; }
@keyframes fsFadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.fs-fade-content {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    padding: 1.5rem;
    min-height: 140px;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}
.fs-fade-num {
    font-size: 0.72rem;
    font-weight: 800;
    color: #ff1493;
    letter-spacing: 0.1em;
}
.fs-fade-content h4 { color: #eee; font-size: 1rem; margin: 0; }
.fs-fade-content p  { color: #777; font-size: 0.83rem; margin: 0; line-height: 1.55; }
.fs-fade-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 0.9rem;
}
.fs-fade-btn {
    width: 30px; height: 30px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: #aaa;
    cursor: pointer;
    font-size: 0.85rem;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.2s;
}
.fs-fade-btn:hover { background: rgba(255,20,147,0.15); border-color: rgba(255,20,147,0.3); color: #ff1493; }
.fs-fade-dots { display: flex; gap: 5px; align-items: center; }
.fs-fade-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    transition: all 0.2s;
    cursor: pointer;
}
.fs-fade-dot.active { background: #ff1493; width: 18px; border-radius: 3px; }

/* ── Mini 3D Coverflow ── */
.fs-coverflow-clip {
    width: 100%;
    overflow: hidden;
    border-radius: 10px;
}
.fs-coverflow-stage {
    position: relative;
    width: 100%;
    height: 190px;
    perspective: 800px;
}
.fs-cf-card {
    position: absolute;
    width: 58%;
    left: 21%;
    top: 0; bottom: 0;
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.5s cubic-bezier(0.25,0.46,0.45,0.94),
                opacity 0.5s ease;
    will-change: transform;
}
.fs-cf-card.pos-center {
    transform: translateX(0) scale(1) translateZ(60px) rotateY(0deg);
    z-index: 3; opacity: 1; cursor: default;
}
.fs-cf-card.pos-left {
    transform: translateX(-68%) scale(0.74) translateZ(0) rotateY(28deg);
    z-index: 2; opacity: 0.55;
}
.fs-cf-card.pos-right {
    transform: translateX(68%) scale(0.74) translateZ(0) rotateY(-28deg);
    z-index: 2; opacity: 0.55;
}
.fs-cf-inner {
    width: 100%; height: 100%;
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 14px;
}
.fs-cf-tag {
    font-size: 0.68rem;
    font-weight: 700;
    color: #ff1493;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.fs-cf-inner h4 { color: #eee; font-size: 0.95rem; margin: 0; }
.fs-cf-inner p  { color: #888; font-size: 0.78rem; margin: 0; line-height: 1.5; }

/* ── Infinite Marquee ── */
.fs-marquee-wrap {
    width: 100%;
    overflow: hidden;
    margin-top: 2.5rem;
    position: relative;
    padding: 0.9rem 0;
    border-top: 1px solid rgba(255,255,255,0.07);
    border-bottom: 1px solid rgba(255,255,255,0.07);
}
.fs-marquee-wrap::before,
.fs-marquee-wrap::after {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    width: 80px;
    z-index: 2;
    pointer-events: none;
}
.fs-marquee-wrap::before { left: 0;  background: linear-gradient(to right, #000, transparent); }
.fs-marquee-wrap::after  { right: 0; background: linear-gradient(to left,  #000, transparent); }

.fs-marquee-track {
    display: flex;
    gap: 1.8rem;
    width: max-content;
    animation: marqueeScroll 18s linear infinite;
    align-items: center;
}
.fs-marquee-track:hover { animation-play-state: paused; }
.fs-marquee-track span {
    font-size: 0.85rem;
    font-weight: 600;
    color:#ff1493 ;
    white-space: nowrap;
    transition: color 0.2s;
}
.fs-marquee-track span:hover { color: #ff1493; }
.fs-marquee-track span:nth-child(even) { color: #ff1493; font-size: 0.6rem; }
@keyframes marqueeScroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ════════════════════════════
   11. MODALS
════════════════════════════ */

.fm-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.75);
    backdrop-filter: blur(6px);
    z-index: 9000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s;
}
.fm-overlay.open {
    opacity: 1;
    pointer-events: all;
}
.fm-box {
    background: #0d0d0d;
    border: 1px solid rgba(255,20,147,0.25);
    border-radius: 18px;
    padding: 2rem 2rem 1.5rem;
    max-width: 440px;
    width: 90%;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.25s cubic-bezier(0.34,1.56,0.64,1);
    position: relative;
}
.fm-overlay.open .fm-box { transform: scale(1) translateY(0); }
.fm-close {
    position: absolute;
    top: 1rem; right: 1rem;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50%;
    width: 30px; height: 30px;
    color: #888;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem;
    transition: all 0.2s;
}
.fm-close:hover { background: rgba(255,20,147,0.15); color: #ff1493; border-color: rgba(255,20,147,0.3); }
.fm-box h3 { color: #fff; margin: 0 0 0.5rem; font-size: 1.2rem; }
.fm-box p  { color: #888; font-size: 0.9rem; margin: 0 0 1.5rem; line-height: 1.6; }
.fm-actions { display: flex; gap: 0.7rem; justify-content: flex-end; }

/* ════════════════════════════
   12. TIMELINE
════════════════════════════ */

.ft-timeline {
    position: relative;
    padding-left: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
}
.ft-timeline::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 10px;
    bottom: 10px;
    width: 2px;
    background: rgba(255,20,147,0.2);
}
.ft-tl-item {
    position: relative;
    padding-bottom: 1.5rem;
}
.ft-tl-item:last-child { padding-bottom: 0; }
.ft-tl-dot {
    position: absolute;
    left: -1.9rem;
    top: 4px;
    width: 14px; height: 14px;
    border-radius: 50%;
    background: #000;
    border: 2px solid rgba(255,20,147,0.4);
    transition: border-color 0.2s;
}
.ft-tl-item.done .ft-tl-dot { background: #ff1493; border-color: #ff1493; box-shadow: 0 0 8px rgba(255,20,147,0.4); }
.ft-tl-item h4 { color: #ddd; font-size: 0.92rem; margin: 0 0 0.2rem; }
.ft-tl-item p  { color: #666; font-size: 0.82rem; margin: 0; }
.ft-tl-meta { font-size: 0.75rem; color: #555; margin-bottom: 0.2rem; }

/* ════════════════════════════
   13. PRICING CARDS
════════════════════════════ */

.fp-style-label {
    font-size: 0.72rem;
    font-weight: 700;
    color: #444;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 2rem 0 0.75rem;
}
.fp-style-label:first-of-type { margin-top: 0; }

.fp-pricing-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 1rem;
    width: 100%;
}

/* ── Horizontal cards ── */
.fp-horiz-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.1rem 1.4rem;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.07);
    background: rgba(255,255,255,0.02);
    transition: border-color 0.2s, background 0.2s;
}
.fp-horiz-card:hover { border-color: rgba(255,255,255,0.12); background: rgba(255,255,255,0.04); }
.fp-horiz-featured {
    border-color: rgba(255,20,147,0.25) !important;
    background: rgba(255,20,147,0.04) !important;
}
.fp-horiz-left {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 180px;
}
.fp-horiz-tier {
    font-size: 0.92rem;
    font-weight: 700;
    color: #ddd;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.fp-horiz-badge {
    font-size: 0.65rem;
    background: rgba(255,20,147,0.15);
    border: 1px solid rgba(255,20,147,0.3);
    color: #ff1493;
    padding: 0.1rem 0.5rem;
    border-radius: 999px;
    font-weight: 700;
}
.fp-horiz-desc { font-size: 0.78rem; color: #555; line-height: 1.4; max-width: 220px; }
.fp-horiz-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    flex: 1;
}
.fp-horiz-features span {
    font-size: 0.75rem;
    padding: 0.2rem 0.65rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    color: #777;
    white-space: nowrap;
}
.fp-horiz-featured .fp-horiz-features span { border-color: rgba(255,20,147,0.15); color: #aaa; }
.fp-horiz-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.6rem;
    min-width: 90px;
}
.fp-horiz-price { font-size: 1.3rem; font-weight: 800; color: #fff; }
.fp-horiz-featured .fp-horiz-price { color: #ff1493; }

/* ── Comparison table ── */
.fp-table-wrap { width: 100%; overflow-x: auto; }
.fp-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.84rem;
}
.fp-table th, .fp-table td {
    padding: 0.7rem 1rem;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    color: #777;
}
.fp-table th { color: #aaa; font-weight: 700; font-size: 0.8rem; padding-bottom: 0.9rem; }
.fp-table td:first-child, .fp-table th:first-child { text-align: left; color: #555; }
.fp-table tr:hover td { background: rgba(255,255,255,0.02); }
.fp-table-highlight {
    background: rgba(255,20,147,0.04);
    color: #ddd !important;
    border-left: 1px solid rgba(255,20,147,0.12);
    border-right: 1px solid rgba(255,20,147,0.12);
}
.fp-table thead .fp-table-highlight {
    color: #ff1493 !important;
    border-top: 1px solid rgba(255,20,147,0.2);
    border-radius: 8px 8px 0 0;
}
.fp-table-cta-row td { border-bottom: none; padding-top: 1rem; }

/* ── Spotlight card ── */
.fp-spotlight-wrap { width: 100%; }
.fp-spotlight {
    display: flex;
    border-radius: 20px;
    border: 1px solid rgba(255,20,147,0.25);
    background: linear-gradient(135deg, rgba(255,20,147,0.06), rgba(100,0,60,0.08));
    overflow: hidden;
    gap: 0;
}
.fp-spotlight-left {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}
.fp-spotlight-eyebrow {
    font-size: 0.7rem;
    font-weight: 800;
    color: #ff1493;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 0.4rem;
}
.fp-spotlight-name {
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    margin: 0 0 0.5rem;
}
.fp-spotlight-sub { font-size: 0.85rem; color: #777; line-height: 1.55; margin: 0; }
.fp-spotlight-divider {
    width: 1px;
    background: rgba(255,20,147,0.15);
    flex-shrink: 0;
}
.fp-spotlight-right {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}
.fp-spotlight-price {
    font-size: 2.2rem;
    font-weight: 800;
    color: #ff1493;
    line-height: 1;
    margin-bottom: 1.2rem;
}
.fp-spotlight-price span { font-size: 0.8rem; color: #555; font-weight: 400; }
.fp-spotlight-list {
    list-style: none;
    padding: 0; margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.fp-spotlight-list li {
    font-size: 0.83rem;
    color: #888;
    display: flex;
    gap: 0.5rem;
    align-items: flex-start;
}
.fp-spotlight-list li::before { content: '✓'; color: #ff1493; font-weight: 700; flex-shrink: 0; }
.fp-price-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 1.5rem 1.2rem;
    text-align: center;
    transition: all 0.2s;
}
.fp-price-card:hover { transform: translateY(-4px); }
.fp-price-card.featured {
    background: rgba(255,20,147,0.07);
    border-color: rgba(255,20,147,0.3);
    box-shadow: 0 0 30px rgba(255,20,147,0.1);
}
.fp-price-card .tier { font-size: 0.78rem; color: #888; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 0.5rem; }
.fp-price-card.featured .tier { color: #ff69b4; }
.fp-price-card .amount { font-size: 2rem; font-weight: 800; color: #fff; line-height: 1; }
.fp-price-card.featured .amount { color: #ff1493; }
.fp-price-card .per { font-size: 0.78rem; color: #555; }
.fp-price-card ul { list-style: none; padding: 0; margin: 1rem 0; text-align: left; display: flex; flex-direction: column; gap: 0.35rem; }
.fp-price-card li { font-size: 0.82rem; color: #888; display: flex; gap: 0.4rem; align-items: flex-start; }
.fp-price-card li::before { content: '✓'; color: #ff1493; font-weight: 700; flex-shrink: 0; }

/* ════════════════════════════
   14. AVATARS & GROUPS
════════════════════════════ */

.fav-group {
    display: flex;
}
.fav-avatar {
    width: 40px; height: 40px;
    border-radius: 50%;
    border: 2px solid #000;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.85rem; font-weight: 700; color: #fff;
    margin-left: -10px;
    flex-shrink: 0;
}
.fav-group .fav-avatar:first-child { margin-left: 0; }
.fav-avatar.a1 { background: linear-gradient(135deg,#ff1493,#bb44ff); }
.fav-avatar.a2 { background: linear-gradient(135deg,#0099ff,#00eeff); }
.fav-avatar.a3 { background: linear-gradient(135deg,#ff6600,#ffdd00); }
.fav-avatar.a4 { background: linear-gradient(135deg,#44ff88,#0099ff); }
.fav-avatar.more { background: rgba(255,255,255,0.1); color: #888; font-size: 0.72rem; border-color: rgba(255,255,255,0.15); }

.fav-single {
    position: relative;
    display: inline-block;
}
.fav-single .fav-avatar { margin: 0; }
.fav-badge-dot {
    position: absolute;
    bottom: 1px; right: 1px;
    width: 11px; height: 11px;
    border-radius: 50%;
    border: 2px solid #000;
}
.fav-badge-dot.online { background: #00cc66; }
.fav-badge-dot.away   { background: #ffcc00; }
.fav-badge-dot.busy   { background: #ff4444; }

/* ── Notification badge ── */
.fav-notif-badge {
    position: absolute;
    top: -4px; right: -4px;
    min-width: 18px; height: 18px;
    border-radius: 999px;
    background: #ff1493;
    color: #fff;
    font-size: 0.62rem;
    font-weight: 800;
    display: flex; align-items: center; justify-content: center;
    border: 2px solid #000;
    padding: 0 3px;
    line-height: 1;
}

/* ── Profile card ── */
.fav-profile-card { display: flex; flex-direction: column; width: 100%; }
.fav-profile-banner {
    height: 60px;
    background: linear-gradient(135deg, #1a0020, #3d0057, #ff1493);
    opacity: 0.7;
}
.fav-profile-body {
    padding: 0 1.2rem 1.2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.fav-profile-av-wrap {
    position: relative;
    display: inline-block;
    margin-top: -28px;
    margin-bottom: 0.5rem;
}
.fav-profile-name { font-size: 0.95rem; font-weight: 700; color: #eee; }
.fav-profile-role { font-size: 0.75rem; color: #666; margin-top: 0.1rem; margin-bottom: 0.8rem; }
.fav-profile-stats {
    display: flex;
    gap: 1.2rem;
    width: 100%;
    justify-content: center;
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: 0.8rem;
}
.fav-profile-stats div { display: flex; flex-direction: column; align-items: center; gap: 0.1rem; }
.fav-profile-stats strong { font-size: 0.92rem; color: #ddd; font-weight: 700; }
.fav-profile-stats span   { font-size: 0.68rem; color: #555; }

/* ── Team list ── */
.fav-team-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.4rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}
.fav-team-row:last-of-type { border-bottom: none; }
.fav-team-info { display: flex; flex-direction: column; gap: 0.1rem; flex: 1; min-width: 0; }
.fav-team-name { font-size: 0.83rem; font-weight: 600; color: #ccc; }
.fav-team-role { font-size: 0.73rem; color: #555; }
.fav-team-tag {
    font-size: 0.67rem;
    font-weight: 700;
    padding: 0.15rem 0.55rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    color: #555;
    white-space: nowrap;
}

/* ── Chat bubbles + typing ── */
.fav-chat-row {
    display: flex;
    align-items: flex-end;
    gap: 0.5rem;
    width: 100%;
}
.fav-chat-me { flex-direction: row-reverse; }
.fav-bubble {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px 14px 14px 4px;
    padding: 0.5rem 0.8rem;
    font-size: 0.78rem;
    color: #bbb;
    max-width: 75%;
    line-height: 1.4;
}
.fav-bubble-me {
    background: rgba(255,20,147,0.12);
    border-color: rgba(255,20,147,0.2);
    color: #ddd;
    border-radius: 14px 14px 4px 14px;
}
.fav-typing {
    display: flex;
    align-items: center;
    gap: 4px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px 14px 14px 4px;
    padding: 0.55rem 0.9rem;
}
.fav-typing span {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #555;
    animation: typingBounce 1.2s infinite ease-in-out;
}
.fav-typing span:nth-child(2) { animation-delay: 0.2s; }
.fav-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typingBounce {
    0%, 60%, 100% { transform: translateY(0); background: #555; }
    30% { transform: translateY(-5px); background: #ff1493; }
}

/* ════════════════════════════
   15. CODE BLOCK STYLE
════════════════════════════ */

.fc-code-block {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    overflow: hidden;
    width: 100%;
    font-family: 'Courier New', monospace;
    font-size: 0.82rem;
}
.fc-code-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.55rem 1rem;
    background: rgba(255,255,255,0.03);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.fc-code-dots { display: flex; gap: 5px; }
.fc-code-dots span { width: 10px; height: 10px; border-radius: 50%; }
.fc-code-dots span:nth-child(1) { background: #ff5f57; }
.fc-code-dots span:nth-child(2) { background: #ffbd2e; }
.fc-code-dots span:nth-child(3) { background: #28c840; }
.fc-code-lang { font-size: 0.75rem; color: #555; }
.fc-code-body { padding: 1rem; color: #ccc; line-height: 1.65; white-space: pre-wrap; }
.fc-code-key { color: #ff69b4; }
.fc-code-val { color: #ffdd00; }
.fc-code-str { color: #44ff88; }
.fc-code-cmt { color: #555; }

/* ════════════════════════════
   Responsive
════════════════════════════ */

@media (max-width: 768px) {
    .demo-grid.col-2,
    .demo-grid.col-3,
    .demo-grid.col-4 { grid-template-columns: 1fr; }
    .fp-pricing-grid  { grid-template-columns: 1fr; }
    .fp-horiz-card { flex-direction: column; align-items: flex-start; }
    .fp-horiz-right { align-items: flex-start; flex-direction: row; align-items: center; gap: 1rem; }
    .fp-spotlight { flex-direction: column; }
    .fp-spotlight-divider { width: 100%; height: 1px; }
}

@media (max-width: 480px) {
    .fn-pills { flex-wrap: wrap; }
    .features-hero h1 { font-size: 2rem; }
}

/* ── Tablet: reduce col-3/col-4 grids to 2 columns ── */
@media (min-width: 769px) and (max-width: 1024px) {
    .demo-grid.col-3,
    .demo-grid.col-4 { grid-template-columns: repeat(2, 1fr); }

    .fn-megamenu-panel { grid-template-columns: repeat(2, 1fr); }
    .fn-navbar-links a { padding: 0.3rem 0.6rem; font-size: 0.78rem; }
}

/* ── Mobile + tablet: navigation components fit inside tiles ── */
@media (max-width: 1024px) {
    /* Tabs scroll horizontally rather than overflow */
    .fn-tabs { overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .fn-tabs::-webkit-scrollbar { display: none; }

    /* Stepper: shrink circles and labels */
    .fn-step-label { font-size: 0.62rem; }
    .fn-step-circle { width: 24px; height: 24px; font-size: 0.62rem; }
    .fn-step:not(:last-child)::after { top: 12px; }
}

/* ── Mobile-only: nav component fixes inside single-column tiles ── */
@media (max-width: 768px) {
    /* Reduce tile padding on small screens */
    .demo-tile { padding: 1.25rem 1rem; }

    /* Navbar: allow links to wrap onto a second line */
    .fn-navbar { height: auto; min-height: 44px; flex-wrap: wrap; padding: 0.5rem 0.8rem; gap: 0.35rem; }
    .fn-navbar-links { flex: unset; width: 100%; flex-wrap: wrap; justify-content: flex-start; gap: 0.15rem; }
    .fn-navbar-links a { padding: 0.25rem 0.45rem; font-size: 0.72rem; }

    /* Megamenu: single column panel */
    .fn-megamenu-panel { grid-template-columns: 1fr; }

    /* Pills: fill tile width */
    .fn-pills { flex-wrap: wrap; width: 100%; }

    /* Pagination: tighter */
    .fn-pagination { gap: 0.2rem; }
    .fn-page { width: 30px; height: 30px; font-size: 0.78rem; }
}


/* ══════════════════════════════════════════
   16. TEXT ANIMATIONS
══════════════════════════════════════════ */

.ta-tile {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
    min-height: 180px;
}

.ta-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #ff1493;
}

.ta-desc {
    font-size: 0.8rem;
    color: #777;
    margin: 0;
    line-height: 1.45;
}

.ta-preview {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 60px;
}

/* Typewriter */
.ta-typewriter {
    font-size: 1.1rem;
    font-weight: 700;
    color: #00ff88;
}
.ta-cursor {
    font-size: 1.1rem;
    font-weight: 300;
    color: #00ff88;
    animation: taCursorBlink 0.7s step-end infinite;
}
@keyframes taCursorBlink {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0; }
}

/* Bounce in letters */
.ta-bounce-wrap {
    display: flex;
    gap: 0.1rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
}
.ta-bounce-wrap span {
    display: inline-block;
    opacity: 0;
    transform: translateY(-30px);
}
@keyframes taBounceIn {
    0%   { opacity: 0; transform: translateY(-30px) scale(0.8); }
    60%  { opacity: 1; transform: translateY(6px) scale(1.1); }
    80%  { transform: translateY(-4px) scale(0.97); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}
.ta-bounce-wrap.playing span {
    animation: taBounceIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

/* Fade up */
.ta-fadeup {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.ta-fadeup.played {
    opacity: 1;
    transform: translateY(0);
}

/* Word by word */
.ta-word-wrap {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
}
.ta-word-wrap span {
    opacity: 0;
    transform: translateY(10px);
    display: inline-block;
}
@keyframes taWordIn {
    to { opacity: 1; transform: translateY(0); }
}
.ta-word-wrap.playing span {
    animation: taWordIn 0.4s ease forwards;
}

/* Slide in */
.ta-slidein {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.ta-slidein.played {
    opacity: 1;
    transform: translateX(0);
}

/* Glitch */
.ta-glitch {
    font-size: 1.6rem;
    font-weight: 900;
    color: #fff;
    margin: 0;
    position: relative;
    letter-spacing: 0.04em;
    animation: taGlitch 3s infinite;
}
.ta-glitch::before,
.ta-glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    font-weight: inherit;
    font-size: inherit;
}
.ta-glitch::before {
    color: #ff1493;
    clip-path: polygon(0 20%, 100% 20%, 100% 40%, 0 40%);
    animation: taGlitchTop 3s infinite;
}
.ta-glitch::after {
    color: #bb44ff;
    clip-path: polygon(0 60%, 100% 60%, 100% 80%, 0 80%);
    animation: taGlitchBot 3s infinite;
}
@keyframes taGlitch {
    0%, 90%, 100% { transform: none; }
    92%           { transform: translateX(-3px); }
    94%           { transform: translateX(3px); }
    96%           { transform: translateX(-2px); }
}
@keyframes taGlitchTop {
    0%, 90%, 100% { transform: none; opacity: 0; }
    92%           { transform: translateX(4px); opacity: 0.8; }
    94%           { transform: translateX(-4px); opacity: 0.8; }
    96%           { transform: none; opacity: 0; }
}
@keyframes taGlitchBot {
    0%, 90%, 100% { transform: none; opacity: 0; }
    93%           { transform: translateX(-3px); opacity: 0.8; }
    95%           { transform: translateX(3px); opacity: 0.8; }
    97%           { transform: none; opacity: 0; }
}

/* Highlight reveal */
.ta-highlight {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    position: relative;
    display: inline-block;
}
.ta-highlight::after {
    content: '';
    position: absolute;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background: #ff1493;
    transform: scaleX(1);
    transform-origin: left;
    animation: taHighlight 2s ease 0.5s infinite;
}
@keyframes taHighlight {
    0%   { transform: scaleX(1); transform-origin: left; }
    45%  { transform: scaleX(0); transform-origin: left; }
    50%  { transform: scaleX(0); transform-origin: right; }
    100% { transform: scaleX(0); transform-origin: right; }
}

/* Counters */
.ta-counter-row {
    display: flex;
    gap: 1.2rem;
    width: 100%;
    justify-content: center;
}
.ta-counter-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
}
.ta-count {
    font-size: 1.6rem;
    font-weight: 900;
    color: #ff1493;
    line-height: 1;
}
.ta-count-label {
    font-size: 0.7rem;
    color: #44dd88;
    text-align: center;
}

/* Pop In tile */
@keyframes taPop {
    0%   { transform: scale(0);    opacity: 0; }
    60%  { transform: scale(1.35); opacity: 1; }
    80%  { transform: scale(0.88); }
    100% { transform: scale(1); }
}
.ta-pop-demo {
    font-size: 2.8rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: -1px;
    animation: taPop 1.8s cubic-bezier(0.34, 1.56, 0.64, 1) infinite;
    animation-direction: alternate;
    animation-delay: 0.4s;
}
.ta-pop-demo span {
    color: #dd88ff;
    display: inline-block;
    animation: taPop 1.8s cubic-bezier(0.34, 1.56, 0.64, 1) infinite;
    animation-direction: alternate;
    animation-delay: 0.8s;
}

/* Wave tile */
@keyframes taWave {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-14px); }
}
.ta-wave-demo {
    font-size: 2.4rem;
    font-weight: 900;
    color: #00c8ff;
    letter-spacing: 4px;
}
.ta-wave-demo span {
    display: inline-block;
    animation: taWave 0.8s ease-in-out infinite;
}
.ta-wave-demo span:nth-child(1) { animation-delay: 0s;     color: #00c8ff; }
.ta-wave-demo span:nth-child(2) { animation-delay: 0.15s;  color: #44aaff; }
.ta-wave-demo span:nth-child(3) { animation-delay: 0.30s;  color: #8877ff; }
.ta-wave-demo span:nth-child(4) { animation-delay: 0.45s;  color: #cc55ff; }

/* ── Reveal animations replay button ── */
.fr-replay-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.4rem;
    background: transparent;
    border: 2px solid #e91e8c;
    border-radius: 50px;
    color: #e91e8c;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}
.fr-replay-btn:hover {
    background: #e91e8c;
    color: #fff;
}
.fr-replay-btn svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    transition: transform 0.7s ease;
}
@keyframes frSpin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(-360deg); }
}
.fr-replay-btn.spinning svg {
    animation: frSpin 0.7s ease;
}

/* ── Features hero mobile ── */
@media (max-width: 767px) {
    .features-hero {
        padding: 80px 0 270px;
    }
    .fc-creature-wrap {
        right: 50%;
        transform: translateX(50%);
        bottom: 10px;
    }
}

/* ── Features hero tablet ── */
@media (min-width: 768px) and (max-width: 1024px) {
    .features-hero {
        padding: 100px 0 260px;
    }
    .fc-creature-wrap {
        right: 50%;
        transform: translateX(50%);
        bottom: 20px;
    }
    /* Food in the bottom padding area, not overlapping h1 */
    .fc-food { font-size: 1.8rem; }
    #fcFood0 { bottom: 190px; top: auto; left:  6%; right: auto; }
    #fcFood1 { bottom: 190px; top: auto; left: 18%; right: auto; }
    #fcFood2 { bottom: 190px; top: auto; left: 30%; right: auto; }
    #fcFood3 { bottom: 190px; top: auto; left: 42%; right: auto; }
    #fcFood4 { bottom: 190px; top: auto; left: 54%; right: auto; }
    #fcFood5 { bottom: 190px; top: auto; left: 66%; right: auto; }
    #fcFood6 { bottom: 190px; top: auto; left: 78%; right: auto; }
    #fcFood7 { bottom: 190px; top: auto; left: 90%; right: auto; }
}

/* Desktop/mobile instruction key toggles */
.fc-mobile-only { display: none; }
.fc-desktop-only { display: inline; }

@media (max-width: 767px) {
    .fc-mobile-only  { display: inline; }
    .fc-desktop-only { display: none; }
}

/* ── Features hero button spacing on mobile ── */
@media (max-width: 767px) {
    .features-hero p { margin-bottom: 1.5rem; }
    .features-ask-btn { margin-top: 0; }
}

/* ── Food & instructions on mobile ── */
@media (max-width: 767px) {
    /* Single row of 8 above the instructions */
    .fc-food { font-size: 1.5rem; }
    #fcFood0 { bottom: 200px; top: auto; left:  3%; right: auto; }
    #fcFood1 { bottom: 200px; top: auto; left: 15%; right: auto; }
    #fcFood2 { bottom: 200px; top: auto; left: 27%; right: auto; }
    #fcFood3 { bottom: 200px; top: auto; left: 39%; right: auto; }
    #fcFood4 { bottom: 200px; top: auto; left: 51%; right: auto; }
    #fcFood5 { bottom: 200px; top: auto; left: 63%; right: auto; }
    #fcFood6 { bottom: 200px; top: auto; left: 75%; right: auto; }
    #fcFood7 { bottom: 200px; top: auto; left: 87%; right: auto; }

    /* Cleaner instructions */
    .fc-instructions {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        gap: 0.4rem 0.6rem;
        padding: 0.6rem 0.9rem;
        border-radius: 16px;
        margin-top: 2rem;
    }
    .fc-instr-label {
        grid-column: 1 / -1;
        text-align: center;
        margin-right: 0;
        font-size: 0.75rem;
    }
    .fc-instr-item { font-size: 0.72rem; white-space: normal; }
    .fc-instr-dot  { display: none; }
}
