@import url('https://fonts.googleapis.com/css2?family=Average+Sans&family=Bricolage+Grotesque:opsz,wght@12..96,200..800&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Montserrat+Alternates:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Vend+Sans:ital,wght@0,300..700;1,300..700&display=swap');

:root {

    /* ── Core Brand ── */
    --primary: #0D1F2D;
    --primary-light: #162C3E;
    --primary-dark: #07101A;
    --accent: #2E8BE0;
    --accent-light: #5AAFF0;
    --accent-hover: #1A6FC4;
    --accent-secondary-light: #6AA4C8;

    /* ── Backgrounds ── */
    --bg-main: #E8F1FA;
    --bg-card: #F2F8FE;
    --bg-hover: #D8EAF7;
    --bg-active: #C8DFEF;
    --bg-input: #F2F8FE;

    /* ── New Soft Background Palette ── */
    --bg-soft-yellow: #FFF8DE;
    --bg-soft-blue: #DEEDFC;
    --bg-soft-pink: #F9E3EB;
    --bg-soft-light: #F2F8FE;
    --bg-soft-orange: #FEEEE1;
    --bg-soft-green: #DEF7EB;
    --bg-soft-purple: #EBE7FD;
    --bg-soft-sky: #BFDCF9;

    /* ── Accent Background Helpers ── */
    --bg-accent-light: rgba(46, 139, 224, 0.11);
    --bg-accent-lighter: rgba(46, 139, 224, 0.05);
    --bg-accent-hover: rgba(46, 139, 224, 0.17);

    /* ── Hero ── */
    --hero-gradient-start: #EBF4FD;
    --hero-gradient-mid: #DAECf8;
    --hero-gradient-end: #C5DFF4;
    --hero-gradient: linear-gradient(135deg,
            var(--hero-gradient-start) 0%,
            var(--hero-gradient-mid) 50%,
            var(--hero-gradient-end) 100%);
    --hero-overlay: linear-gradient(135deg,
            rgba(46, 139, 224, 0.09) 0%,
            rgba(58, 127, 168, 0.14) 100%);

    /* ── Text ── */
    --text-primary: #0D1F2D;
    --text-secondary: #162C3E;
    --text-muted: #3A5A70;
    --text-inverse: #F0F7FF;

    /* ── Borders ── */
    --border-color: #B0CCE2;
    --border-light: #C8DFF0;
    --border-accent: rgba(46, 139, 224, 0.36);

    /* ── Typography ── */
    --font-primary: "Vend Sans", sans-serif;
    --font-display: "Bricolage Grotesque", sans-serif;

    /* ── Layout ── */
    --sidebar-width: 270px;
    --header-height: 68px;

    /* ── Shadows ── */
    --shadow-sm: 0 1px 3px 0 rgba(9, 22, 36, 0.12), 0 1px 2px 0 rgba(46, 139, 224, 0.07);
    --shadow-md: 0 4px 8px -1px rgba(9, 22, 36, 0.16), 0 2px 4px -1px rgba(46, 139, 224, 0.10);
    --shadow-lg: 0 10px 20px -3px rgba(9, 22, 36, 0.20), 0 4px 8px -2px rgba(46, 139, 224, 0.12);
    --shadow-xl: 0 20px 28px -5px rgba(9, 22, 36, 0.24), 0 10px 12px -5px rgba(46, 139, 224, 0.14);
    --shadow-2xl: 0 25px 50px -12px rgba(9, 22, 36, 0.32);

    /* ── Transitions ── */
    --transition-fast: 160ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 240ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 340ms cubic-bezier(0.4, 0, 0.2, 1);

    /* ── Radius ── */
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-pill: 50px;
    --radius-2xl: 22px;
}



/* ========================================
   Global Resets
   ======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-main);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: "cv02", "cv03", "cv04", "cv11";
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all var(--transition-base);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* .container {
    max-width: 100%;
    overflow-x: hidden;
} */

/* ========================================
   ENHANCED HEADER STYLES - FIXED VERSION
   ======================================== */

.site-header {
    background: var(--bg-card);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-md);
    font-family: var(--font-display) !important;
    transition: all var(--transition-base);
}

.site-header.scrolled {
    box-shadow: var(--shadow-lg);
    background: rgba(250, 251, 252, 0.98);
    backdrop-filter: blur(12px);
}

.site-header .navbar {
    padding: 0.875rem 0;
    transition: padding var(--transition-base);
}

.site-header.scrolled .navbar {
    padding: 0.625rem 0;
}

.site-header .container-fluid {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: transform var(--transition-base);
}

.logo-container:hover {
    transform: translateX(2px);
}

.logo-full {
    height: 45px;
    width: auto;
    object-fit: contain;
    transition: height var(--transition-base);
}

.site-header.scrolled .logo-full {
    height: 40px;
}

.navbar-toggler {
    border: 2px solid var(--border-light);
    padding: 0.625rem;
    background: transparent;
    display: none;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    position: relative;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
}

.navbar-toggler:hover {
    border-color: var(--accent);
    background: var(--bg-hover);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 3px var(--bg-accent-light);
    outline: none;
}

.navbar-toggler-icon {
    background-image: none;
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    display: block;
    position: relative;
    transition: all var(--transition-base);
    border-radius: 2px;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
    content: '';
    position: absolute;
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    left: 0;
    transition: all var(--transition-base);
    border-radius: 2px;
}

.navbar-toggler-icon::before {
    top: -7px;
}

.navbar-toggler-icon::after {
    bottom: -7px;
}

.navbar-toggler.active .navbar-toggler-icon {
    background: transparent;
}

.navbar-toggler.active .navbar-toggler-icon::before {
    top: 0;
    transform: rotate(45deg);
}

.navbar-toggler.active .navbar-toggler-icon::after {
    bottom: 0;
    transform: rotate(-45deg);
}

.navbar-collapse {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-grow: 1;
}

.navbar-nav {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-item {
    position: relative;
}

.nav-link {
    font-family: var(--font-display);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-primary);
    padding: 0.75rem 1.125rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    white-space: nowrap;
    cursor: pointer;
    position: relative;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width var(--transition-base);
    border-radius: 2px;
}

.nav-link:hover {
    color: var(--accent);
    background: var(--bg-hover);
}

.nav-link:hover::before {
    width: calc(100% - 1.5rem);
}

.nav-item.active .nav-link {
    color: var(--accent);
    background: var(--bg-accent-light);
}

.dropdown-icon {
    transition: transform var(--transition-base);
    flex-shrink: 0;
    margin-left: auto;
    width: 16px;
    height: 16px;
}

.nav-item.dropdown:hover .dropdown-icon {
    transform: rotate(180deg);
}

/* FIXED: No gap between nav and dropdown */
.nav-item.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-card);
    border: 2px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 0.75rem;
    min-width: 240px;
    box-shadow: var(--shadow-xl);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
    z-index: 1000;
    list-style: none;
    margin: 0;
    display: block !important;
    pointer-events: none;
}

.nav-item.dropdown:hover>.dropdown-menu,
.dropdown-menu:hover {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
    transition-delay: 0s;
}

.dropdown-item {
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    display: flex;
    align-items: center;
    gap: 0.625rem;
    white-space: nowrap;
    cursor: pointer;
    margin-bottom: 0.25rem;
    position: relative;
}

.dropdown-item:last-child {
    margin-bottom: 0;
}

.dropdown-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 0;
    background: var(--accent);
    border-radius: 0 2px 2px 0;
    transition: height var(--transition-base);
}

.dropdown-item:hover {
    color: var(--accent);
    background: var(--bg-hover);
    transform: translateX(4px);
    padding-left: 1.25rem;
}

.dropdown-item:hover::before {
    height: 70%;
}

.auth-buttons {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    margin-left: 1.75rem;
}

.btn-signin {
    font-family: var(--font-display);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-primary);
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius-pill);
    border: 2px solid var(--border-light);
    background: transparent;
    transition: all var(--transition-base);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn-signin::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--bg-hover);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-base);
    z-index: -1;
}

.btn-signin:hover::before {
    transform: scaleX(1);
}

.btn-signin:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.btn-register {
    font-family: var(--font-display);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-inverse);
    padding: 0.75rem 2rem;
    border-radius: var(--radius-pill);
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    transition: all var(--transition-base);
    box-shadow: var(--shadow-sm);
    white-space: nowrap;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-register::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--accent-hover) 0%, var(--accent) 100%);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.btn-register:hover::before {
    opacity: 1;
}

.btn-register:hover {
    border-color: var(--accent);
    color: var(--accent);
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.btn-register:active {
    transform: translateY(0);
}

.user-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--border-light);
    flex-shrink: 0;
    cursor: pointer;
    transition: all var(--transition-base);
    position: relative;
}

.user-avatar::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    padding: 2px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.user-avatar:hover::before {
    opacity: 1;
}

.user-avatar:hover {
    transform: scale(1.05);
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mobile-close {
    display: none;
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: var(--bg-hover);
    border: 2px solid var(--border-light);
    padding: 0.75rem;
    cursor: pointer;
    color: var(--text-primary);
    transition: all var(--transition-base);
    border-radius: var(--radius-md);
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    z-index: 1001;
}

.mobile-close:hover {
    color: var(--accent);
    background: var(--bg-active);
    border-color: var(--accent);
    transform: rotate(90deg);
}

/* ADDED: Mobile sidebar logo */
.mobile-sidebar-logo {
    display: none;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.mobile-sidebar-logo .logo-full {
    height: 40px;
    width: auto;
}

/* ========================================
   ENHANCED NEWSLETTER SECTION
   ======================================== */

.newsletter-section {
    background: linear-gradient(135deg, var(--bg-hover) 0%, var(--bg-card) 50%, var(--bg-hover) 100%);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.newsletter-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 40%;
    height: 200%;
    background: radial-gradient(ellipse at center, var(--bg-accent-lighter) 0%, transparent 70%);
    pointer-events: none;
}

.newsletter-section::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -10%;
    width: 40%;
    height: 200%;
    background: radial-gradient(ellipse at center, var(--bg-accent-lighter) 0%, transparent 70%);
    pointer-events: none;
}

.newsletter-content {
    padding-right: 2rem;
    position: relative;
    z-index: 1;
}

.newsletter-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-primary);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent);
    background: var(--bg-accent-light);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-pill);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1.25rem;
    border: 1px solid var(--border-accent);
}

.newsletter-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
}

.newsletter-text {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

.newsletter-form {
    max-width: 100%;
    position: relative;
    z-index: 1;
}

.newsletter-input-group {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--bg-card);
    border: 2px solid var(--border-light);
    border-radius: var(--radius-pill);
    padding: 0.5rem;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-md);
}

.newsletter-input-group:focus-within {
    border-color: var(--accent);
    box-shadow: var(--shadow-lg), 0 0 0 4px var(--bg-accent-light);
}

.newsletter-input-group .input-icon {
    position: absolute;
    left: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
    z-index: 1;
    width: 20px;
    height: 20px;
    transition: color var(--transition-base);
}

.newsletter-input-group:focus-within .input-icon {
    color: var(--accent);
}

.newsletter-input-group .form-control {
    flex: 1;
    border: none;
    background: transparent;
    padding: 0.875rem 1.25rem 0.875rem 3.5rem;
    font-size: 1rem;
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-weight: 500;
}

.newsletter-input-group .form-control:focus {
    outline: none;
    box-shadow: none;
}

.newsletter-input-group .form-control::placeholder {
    color: var(--text-muted);
}

.btn-subscribe {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-inverse);
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    border: none;
    padding: 0.875rem 2.25rem;
    border-radius: var(--radius-pill);
    transition: all var(--transition-base);
    white-space: nowrap;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.btn-subscribe::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--accent-hover) 0%, var(--accent) 100%);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.btn-subscribe:hover::before {
    opacity: 1;
}

.btn-subscribe:hover {
    transform: translateX(3px);
    box-shadow: var(--shadow-md);
}

.newsletter-privacy {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin: 1rem 0 0;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.newsletter-privacy a {
    color: var(--accent);
    text-decoration: underline;
    font-weight: 600;
    transition: color var(--transition-base);
}

.newsletter-privacy a:hover {
    color: var(--accent-hover);
}

/* ========================================
   ENHANCED FOOTER STYLES
   ======================================== */

.site-footer {
    background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--text-inverse);
    padding: 5rem 0 0;
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--accent) 50%, transparent 100%);
}

.footer-heading {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-inverse);
    margin-bottom: 1.75rem;
    letter-spacing: -0.01em;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent) 0%, var(--accent-light) 100%);
    border-radius: 2px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.875rem;
}

.footer-links a {
    font-size: 0.9375rem;
    color: var(--text-sidebar-muted);
    transition: all var(--transition-base);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
}

/* Footer Links with Lucide Arrow Icon - Always Visible */
.footer-links a {
    display: inline-flex;
    align-items: center;
    position: relative;
    transition: all 0.3s ease;
    gap: 0.5rem;
}

.footer-links a .link-arrow-icon {
    display: inline-flex;
    align-items: center;
    opacity: 1;
    /* Changed from 0 to 1 - always visible */
    transform: translateX(0);
    /* Changed from -8px to 0 - no initial offset */
    transition: all 0.3s ease;
}

.footer-links a .link-arrow-icon svg {
    width: 16px;
    height: 16px;
    stroke-width: 2;
    color: var(--accent-light);
}

/* Optional: Animate on hover */
.footer-links a:hover .link-arrow-icon {
    transform: translateX(4px);
    /* Slides right on hover */
}

.footer-links a:hover .link-arrow-icon svg {
    color: var(--accent);
    /* Brightens on hover */
}



.footer-links a:hover {
    color: var(--accent-light);
    transform: translateX(8px);
}



.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.9375rem;
    color: var(--text-sidebar-muted);
    line-height: 1.7;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-md);
    border-left: 3px solid var(--accent);
    transition: all var(--transition-base);
}

.footer-contact li:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateX(4px);
}

.contact-icon {
    flex-shrink: 0;
    margin-top: 0.25rem;
    color: var(--accent-light);
    width: 20px;
    height: 20px;
}

.footer-contact a {
    color: var(--text-sidebar-muted);
    transition: all var(--transition-base);
}

.footer-contact a:hover {
    color: var(--accent-light);
}

.footer-social {
    display: flex;
    gap: 0.875rem;
    margin-top: 1.75rem;
    flex-wrap: wrap;
}

.social-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    color: var(--text-inverse);
    transition: all var(--transition-base);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.social-link:hover::before {
    opacity: 1;
}

.social-link:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-light);
}

.social-link svg {
    width: 20px;
    height: 20px;
    position: relative;
    z-index: 1;
}

.footer-bottom {
    margin-top: 4rem;
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright-text {
    font-size: 0.9375rem;
    color: var(--text-sidebar-muted);
    margin: 0;
    line-height: 1.6;
}

.copyright-text a {
    color: var(--accent-light);
    font-weight: 600;
    transition: color var(--transition-base);
}

.copyright-text a:hover {
    text-decoration: underline;
    color: var(--accent);
}

.payment-methods {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1.75rem;
    flex-wrap: wrap;
}

.payment-icon {
    height: 28px;
    width: auto;
    opacity: 0.65;
    transition: all var(--transition-base);
    filter: brightness(0) invert(1);
}

.payment-icon:hover {
    opacity: 1;
    transform: translateY(-2px);
}

/* Footer Links with Arrow Animation */
.footer-links a {
    display: inline-flex;
    align-items: center;
    position: relative;
    transition: all 0.3s ease;
}

.footer-links a .link-arrow-icon {
    display: inline-flex;
    align-items: center;
    width: 0;
    opacity: 0;
    overflow: hidden;
    transform: translateX(-8px);
    transition: all 0.3s ease;
}

.footer-links a .link-arrow-icon svg {
    width: 16px;
    height: 16px;
    stroke-width: 2;
}

.footer-links a:hover .link-arrow-icon {
    width: 20px;
    opacity: 1;
    transform: translateX(0);
    margin-right: 6px;
}

/* ========================================
   MOBILE RESPONSIVE - HEADER/FOOTER
   ======================================== */

@media (max-width: 991px) {
    .site-header .container-fluid {
        padding: 0 1.5rem;
    }

    .navbar-toggler {
        display: flex;
    }

    .navbar-collapse {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        max-width: 420px;
        height: 100vh;
        background: var(--bg-card);
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 0;
        overflow-y: auto;
        box-shadow: var(--shadow-2xl);
        transition: right var(--transition-slow);
        z-index: 9999;
    }

    .navbar-collapse.active {
        right: 0;
    }

    /* ADDED: Show mobile sidebar logo */
    .mobile-sidebar-logo {
        display: block;
    }

    .mobile-close {
        display: flex;
    }

    .navbar-nav {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        gap: 0.5rem;
        padding: 0 2rem 2rem;
    }

    .nav-item {
        width: 100%;
        border-bottom: none;
    }

    .nav-link {
        width: 100%;
        padding: 1rem 1.5rem;
        justify-content: space-between;
        background: transparent;
        border-radius: var(--radius-lg);
        font-size: 1.0625rem;
        font-weight: 600;
    }

    .nav-link::before {
        display: none;
    }

    .nav-link:hover {
        background: var(--bg-hover);
    }

    .nav-item.dropdown.active .nav-link {
        background: var(--bg-hover);
        color: var(--accent);
    }

    .dropdown-icon {
        margin-left: auto;
        width: 18px;
        height: 18px;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        border-radius: 0;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height var(--transition-base);
        background: transparent;
        margin: 0;
        pointer-events: auto;
    }

    .nav-item.dropdown.active .dropdown-menu {
        max-height: 600px;
        margin-top: 0.5rem;
        padding: 0.75rem 0 0.75rem 1.5rem;
    }

    .nav-item.dropdown.active .dropdown-icon {
        transform: rotate(180deg);
    }

    .dropdown-item {
        padding: 0.875rem 1.25rem;
        border-bottom: none;
        background: transparent;
        margin-bottom: 0.375rem;
        border-radius: var(--radius-md);
        font-size: 1rem;
        border-left: 3px solid transparent;
        transition: all var(--transition-base);
    }

    .dropdown-item::before {
        display: none;
    }

    .dropdown-item:hover {
        background: var(--bg-hover);
        transform: translateX(0);
        border-left-color: var(--accent);
        padding-left: 1.5rem;
    }

    .dropdown-item:last-child {
        border-bottom: none;
        margin-bottom: 0;
    }

    .auth-buttons {
        width: 100%;
        flex-direction: column;
        gap: 1rem;
        margin: 0;
        padding: 2.5rem 2rem;
        border-top: 2px solid var(--border-light);
    }

    .btn-signin,
    .btn-register {
        width: 100%;
        text-align: center;
        justify-content: center;
        padding: 1rem 1.75rem;
        font-size: 1.0625rem;
    }

    .user-avatar {
        margin: 1.5rem auto 0;
        width: 56px;
        height: 56px;
    }

    .newsletter-section {
        padding: 4rem 0;
    }

    .newsletter-content {
        padding-right: 0;
        margin-bottom: 2.5rem;
    }

    .newsletter-title {
        font-size: 2rem;
    }

    .site-footer {
        padding: 4rem 0 0;
    }

    .payment-methods {
        justify-content: flex-start;
        margin-top: 2rem;
    }
}

@media (max-width: 575px) {
    .site-header .container-fluid {
        padding: 0 1rem;
    }

    .logo-full {
        height: 38px;
    }

    .navbar-collapse {
        max-width: 100%;
    }

    .mobile-close {
        top: 1rem;
        right: 1rem;
    }

    .mobile-sidebar-logo {
        padding: 1rem;
    }

    .mobile-sidebar-logo .logo-full {
        height: 36px;
    }

    .navbar-nav {
        padding: 0 1.5rem 1.5rem;
    }

    .nav-link {
        padding: 0.875rem 1.25rem;
        font-size: 1rem;
    }

    .dropdown-item {
        padding: 0.75rem 1rem;
        font-size: 0.9375rem;
    }

    .auth-buttons {
        padding: 2rem 1.5rem;
    }

    .newsletter-section {
        padding: 3rem 0;
    }

    .newsletter-title {
        font-size: 1.75rem;
    }

    .newsletter-text {
        font-size: 1rem;
    }

    .newsletter-input-group {
        flex-direction: column;
        padding: 0.625rem;
        gap: 0.625rem;
    }

    .newsletter-input-group .input-icon {
        left: 1.25rem;
        top: 1.5rem;
    }

    .newsletter-input-group .form-control {
        padding: 1rem 1rem 1rem 3.25rem;
    }

    .btn-subscribe {
        width: 100%;
        padding: 1rem;
    }

    .site-footer {
        padding: 3rem 0 0;
    }

    .footer-heading {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .footer-contact li {
        padding: 0.625rem;
        font-size: 0.875rem;
    }

    .social-link {
        width: 40px;
        height: 40px;
    }

    .social-link svg {
        width: 18px;
        height: 18px;
    }

    .footer-bottom {
        margin-top: 3rem;
        padding: 1.75rem 0;
    }

    .footer-bottom .row {
        text-align: center;
    }

    .copyright-text {
        font-size: 0.875rem;
        margin-bottom: 1.5rem;
    }

    .payment-methods {
        justify-content: center;
        gap: 1.25rem;
    }

    .payment-icon {
        height: 24px;
    }
}

@media (min-width: 1400px) {
    .site-header .container-fluid {
        max-width: 1600px;
    }
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 6, 8, 0.8);
    backdrop-filter: blur(6px);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    z-index: 998;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ========================================
   Hero Slider Section
   ======================================== */

.hero-slider-section {
    position: relative;
    min-height: calc(100vh - var(--header-height));
    background: var(--hero-gradient);
    overflow: hidden;
}

.hero-slider-section::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 50%;
    height: 60%;
    background: var(--hero-overlay);
    clip-path: polygon(0 50%, 100% 0, 100% 100%, 0 100%);
    z-index: 1;
}

.hero-slider-section .container-fluid {
    max-width: 100%;
    padding: 0;
    min-height: calc(100vh - var(--header-height));
}

.hero-slider-section .row {
    margin: 0;
    min-height: calc(100vh - var(--header-height));
}

.hero-content-wrapper {
    padding: 4rem 3rem;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    min-height: calc(100vh - var(--header-height));
}

.hero-content {
    max-width: 600px;
    width: 100%;
}

.hero-badge {
    display: inline-block;
    font-family: var(--font-primary);
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--accent);
    background: var(--bg-accent-light);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-pill);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-family: var(--font-display);
    font-size: 3.25rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.2;
    margin-bottom: 1.25rem;
    letter-spacing: -0.03em;
}

.hero-text {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.hero-slider-wrapper {
    padding: 0;
    position: relative;
    min-height: calc(100vh - var(--header-height));
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: calc(100vh - var(--header-height));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.slider-frame {
    position: relative;
    width: 100%;
    max-width: 100%;
    height: calc(90vh - var(--header-height));
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
}

.heroSwiper {
    width: 100%;
    height: 100%;
    border-radius: var(--radius-2xl);
}

.swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
}

.slide-image-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.slide-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--bg-accent-hover) 0%, var(--bg-accent-light) 100%);
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
}

.swiper-slide-active .slide-overlay {
    opacity: 1;
}

.slider-nav-container {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-pill);
    box-shadow: var(--shadow-lg);
}

.swiper-button-prev-custom,
.swiper-button-next-custom {
    min-width: 44px !important;
    width: 44px !important;
    height: 44px !important;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%) !important;
    border: none !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: var(--text-inverse) !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative !important;
    overflow: hidden !important;
    flex-shrink: 0 !important;
    padding: 0 !important;
}



.swiper-button-prev-custom::after,
.swiper-button-next-custom::after {
    display: none !important;
}

.swiper-button-prev-custom::before,
.swiper-button-next-custom::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%) !important;
    color: var(--text-inverse) !important;
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.4s ease;
}

.swiper-button-prev-custom:hover::before,
.swiper-button-next-custom:hover::before {
    transform: scale(1);
}

.swiper-button-prev-custom:hover,
.swiper-button-next-custom:hover {
    transform: scale(1.1) !important;
    box-shadow: var(--shadow-lg) !important;

}

.swiper-button-prev-custom:active,
.swiper-button-next-custom:active {
    transform: scale(0.95) !important;
}

.swiper-button-prev-custom svg,
.swiper-button-next-custom svg {
    position: relative;
    z-index: 1;
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.swiper-pagination-custom {
    display: flex;
    align-items: center;
    gap: 8px;
}

.swiper-pagination-bullet {
    width: 8px !important;
    height: 8px !important;
    background: var(--border-color) !important;
    opacity: 1 !important;
    border-radius: 50% !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    cursor: pointer !important;
    border: 2px solid transparent !important;
    margin: 0 !important;
}

.swiper-pagination-bullet:hover {
    background: var(--text-muted) !important;
    transform: scale(1.2);
}

.swiper-pagination-bullet-active {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%) !important;
    width: 40px !important;
    border-radius: var(--radius-pill) !important;
    border-color: var(--border-accent) !important;
}

.slider-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--bg-hover);
    z-index: 15;
    overflow: hidden;
}

.slider-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--accent) 0%, var(--accent-light) 100%);
    width: 0;
    transition: width 0.1s linear;
}

.slide-counter {
    position: absolute;
    top: 2.5rem;
    right: 2.5rem;
    z-index: 20;
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-pill);
    box-shadow: var(--shadow-lg);
    font-family: var(--font-display);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.current-slide {
    font-size: 1.25rem;
    color: var(--accent);
    line-height: 1;
}

.slide-separator {
    font-size: 1rem;
    color: var(--border-color);
    line-height: 1;
}

.total-slides {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1;
}

.hero-search-form {
    margin-bottom: 2.5rem;
}

.search-box-wrapper {
    display: flex;
    align-items: center;
    background: var(--bg-card);
    padding: 0.5rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    gap: 0.5rem;
}

.search-input-wrapper,
.category-input-wrapper {
    position: relative;
    flex: 1;
}

.search-icon,
.category-icon {
    position: absolute;
    left: 1.125rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
    z-index: 1;
}

.search-input,
.category-select {
    border: none;
    background: var(--bg-hover);
    padding: 1rem 1rem 1rem 3.25rem;
    font-size: 0.9375rem;
    color: var(--text-primary);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    width: 100%;
}

.search-input:focus,
.category-select:focus {
    outline: none;
    box-shadow: none;
    background: var(--bg-active);
}

.search-input::placeholder {
    color: var(--text-muted);
}

.category-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 12 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 4.5L6 7.5L9 4.5' stroke='%23717171' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.125rem center;
    padding-right: 3rem;
}

.btn-hero-search {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    border: none;
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-inverse);
    transition: all var(--transition-base);
    flex-shrink: 0;
    cursor: pointer;
    box-shadow: var(--shadow-md);
}

.btn-hero-search:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin: 0;
}

.stat-link {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all var(--transition-base);
}

.stat-link:hover {
    color: var(--accent-hover);
    transform: translateX(4px);
}

.stat-divider {
    width: 1px;
    height: 30px;
    background: var(--border-light);
}

@media (max-width: 991px) {

    .hero-slider-section,
    .hero-slider-section .container-fluid,
    .hero-slider-section .row {
        min-height: auto;
    }

    .hero-content-wrapper {
        padding: 3rem 2rem;
        min-height: auto;
    }

    .hero-title {
        font-size: 2.75rem;
    }

    .hero-slider-wrapper {
        min-height: 550px;
        padding: 1.5rem;
    }

    .hero-slider {
        min-height: 550px;
        padding: 1.5rem;
    }

    .slider-frame {
        height: 550px;
        border-radius: var(--radius-xl);
    }

    .search-box-wrapper {
        flex-wrap: wrap;
    }

    .search-input-wrapper,
    .category-input-wrapper {
        width: 100%;
    }

    .btn-hero-search {
        width: 100%;
        height: 52px;
    }

    .swiper-button-prev-custom,
    .swiper-button-next-custom {
        width: 40px !important;
        height: 40px !important;
    }
}

@media (max-width: 575px) {
    .hero-content-wrapper {
        padding: 2rem 1.25rem;
    }

    .hero-title {
        font-size: 1.875rem;
    }

    .hero-slider-wrapper {
        min-height: 420px;
        padding: 0.75rem;
    }

    .hero-slider {
        min-height: 420px;
        padding: 0.75rem;
    }

    .slider-frame {
        height: 420px;
        border-radius: var(--radius-lg);
    }

    .hero-stats {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .stat-divider {
        display: none;
    }

    .swiper-button-prev-custom,
    .swiper-button-next-custom {
        width: 36px !important;
        height: 36px !important;
    }

    .swiper-pagination-bullet-active {
        width: 28px !important;
    }
}

.input-icon {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
    z-index: 1;
    width: 20px;
    height: 20px;
}

@media (max-width: 754px) {
    .input-icon {
        position: absolute;
        left: 1.25rem;
        top: 27%;
        transform: translateY(-50%);
        color: var(--text-muted);
        pointer-events: none;
        z-index: 1;
        width: 20px;
        height: 20px;
    }
}

/* .tch-section */
/* ══════════════════════════════════════════════════════════════
   TOP COMPANIES HIRING NOW — Sober Compact v4
   Goal: less height, more width, equal card size, clean & minimal
   ══════════════════════════════════════════════════════════════ */

/* ── Section ─────────────────────────────────────────────────── */
.tch-section {
    padding: 56px 0 64px;
    background: var(--bg-card);
    position: relative;
    overflow: hidden;
}

/* subtle ambient orb — very quiet */
.tch-section::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, var(--bg-auth-fill-07) 0%, transparent 68%);
    pointer-events: none;
}

/* ── Header ──────────────────────────────────────────────────── */
.tch-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 1.75rem;
}

.tch-header-left {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.tch-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-primary);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
}

.tch-eyebrow-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    flex-shrink: 0;
    animation: tch-blink 2.4s ease-in-out infinite;
}

@keyframes tch-blink {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}

.tch-title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 2.4vw, 2.1rem);
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin: 0;
}

.tch-title-accent {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tch-header-right {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

/* ── Navigation controls ─────────────────────────────────────── */
.tch-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.tch-counter {
    font-family: var(--font-primary);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 2px;
    min-width: 34px;
    justify-content: center;
}

.tch-cur {
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 800;
}

.tch-sep {
    color: var(--border-color);
}

.tch-btn {
    width: 34px;
    height: 34px;
    border-radius: var(--radius-md);
    border: 1.5px solid var(--border-color);
    background: var(--bg-card);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-base);
    flex-shrink: 0;
    color: var(--text-muted);
}

.tch-btn:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(46, 139, 224, 0.25);
}

.tch-btn svg {
    display: block;
}

.tch-btn.swiper-button-disabled {
    opacity: 0.35;
    pointer-events: none;
    transform: none;
}

.tch-view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-family: var(--font-primary);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent);
    text-decoration: none;
    transition: gap var(--transition-base), color var(--transition-base);
    white-space: nowrap;
}

.tch-view-all-btn:hover {
    color: var(--accent-hover);
    gap: 6px;
}

/* ── Swiper shell ────────────────────────────────────────────── */
.tchSwiper {
    overflow: hidden;
    padding: 3px 2px 16px 2px;
}

/* ⚡ KEY: equal height cards */
.tchSwiper .swiper-wrapper {
    align-items: stretch;
    width: max-content;
}

/* Force every slide to exact fixed width */
.tchSwiper .swiper-slide {
    width: 240px !important;
    /* ← your desired card width */
    min-width: 240px;
    max-width: 240px;
    height: auto;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

/* ── Card ────────────────────────────────────────────────────── */
.tch-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    /* fill the stretched slide = equal heights */
    background: var(--bg-card);
    border: 1.5px solid var(--border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition:
        transform 360ms cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 360ms cubic-bezier(0.22, 1, 0.36, 1),
        border-color 220ms ease;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    will-change: transform;
    width: 100%;
    min-width: 0;
    height: 100%;
}

.tch-card:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 12px 32px rgba(13, 31, 45, 0.13);
    border-color: var(--border-accent);
    text-decoration: none;
    color: inherit;
}

/* thin top color bar */
.tch-card-bar {
    height: 3px;
    width: 100%;
    flex-shrink: 0;
}

/* ── Card inner ──────────────────────────────────────────────── */
.tch-card-inner {
    padding: 14px 15px 13px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
    /* grow to fill card height */
}

/* ── Row A: icon + badge ─────────────────────────────────────── */
.tch-row-a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.tch-cat-icon {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
    border: 1.5px solid;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 280ms ease;
}

.tch-card:hover .tch-cat-icon {
    transform: rotate(-5deg) scale(1.07);
}

.tch-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-family: var(--font-primary);
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    border: 1px solid;
    white-space: nowrap;
}

.tch-live-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    flex-shrink: 0;
    animation: tch-pulse 2s ease-in-out infinite;
}

@keyframes tch-pulse {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.45;
    }
}

.tch-soon-badge {
    display: inline-flex;
    align-items: center;
    font-family: var(--font-primary);
    font-size: 0.58rem;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    background: var(--bg-hover);
    color: var(--text-muted);
    border: 1px solid var(--border-light);
    white-space: nowrap;
}

/* ── Title ───────────────────────────────────────────────────── */
.tch-card-title {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.25;
    letter-spacing: -0.01em;
    /* clamp to 2 lines — keeps all cards same height */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: calc(0.9rem * 1.25 * 2);
    /* reserve 2-line space always */
}

/* ── Logos row ───────────────────────────────────────────────── */
.tch-logos-row {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: nowrap;
    min-height: 34px;
    /* reserve height even if empty */
}

.tch-logo-chip {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
    border: 1.5px solid;
    background: var(--bg-card);
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

.tch-logo-chip:hover {
    transform: translateY(-2px) scale(1.1);
}

.tch-logo-chip img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.tch-logo-more {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
    border: 1.5px solid;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-primary);
    font-size: 0.6rem;
    font-weight: 800;
    flex-shrink: 0;
}

.tch-empty-logos {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-family: var(--font-primary);
    font-size: 0.68rem;
    font-weight: 500;
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    border: 1px dashed;
    opacity: 0.7;
}

/* ── CTA row — pushed to bottom via margin-top: auto ─────────── */
.tch-card-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 10px;
    border-top: 1px solid;
    margin-top: auto;
    /* always sits at bottom regardless of content */
}

.tch-cta-text {
    font-family: var(--font-primary);
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1;
}

.tch-cta-arrow {
    width: 24px;
    height: 24px;
    border-radius: var(--radius-xs);
    border: 1px solid;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 280ms cubic-bezier(0.22, 1, 0.36, 1);
}

.tch-card:hover .tch-cta-arrow {
    transform: translateX(3px);
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 991px) {
    .tch-section {
        padding: 44px 0 52px;
    }

    .tch-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.875rem;
    }

    .tch-header-right {
        flex-direction: row;
        align-items: center;
    }
}

@media (max-width: 575px) {
    .tch-section {
        padding: 36px 0 44px;
    }

    .tch-title {
        font-size: 1.45rem;
    }

    .tch-card-inner {
        padding: 12px 13px 11px;
        gap: 8px;
    }

    .tch-logo-chip,
    .tch-logo-more {
        width: 28px;
        height: 28px;
    }

    .tch-logos-row {
        min-height: 30px;
    }
}

/* ════════════════════════════════════════════════════════════════
   SPONSORED COMPANIES — Wide Compact v6
   Shorter height · Wider cards · Vibrant per-card palette
   Logo fix: hero overflow:visible + clip wrapper inside
   ════════════════════════════════════════════════════════════════ */

.spc-section {
    padding: 56px 0 64px;
    background: var(--bg-soft-blue);
    position: relative;
}

/* ── Section header ──────────────────────────────────────────── */
.spc-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 2rem;
}

.spc-header-left {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.spc-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
    font-family: var(--font-primary);
}

.spc-eyebrow-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    animation: spc-blink 2.2s ease-in-out infinite;
}

@keyframes spc-blink {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.3;
        transform: scale(0.72);
    }
}

.spc-title {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 2.2vw, 2rem);
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin: 0;
}

.spc-title-hl {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Swiper ──────────────────────────────────────────────────── */
.topCompaniesSwiper {
    overflow: visible;
    /* must be visible for logo overflow */
    padding: 6px 4px 28px;
}

.topCompaniesSwiper .swiper-wrapper {
    align-items: stretch;
}

.topCompaniesSwiper .swiper-slide {
    height: auto;
    display: flex;
}

/* ════════════════════════════════════════════════════════════════
   CARD
   ════════════════════════════════════════════════════════════════ */
.spc-card {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 20px;
    overflow: visible;
    /* KEY: must be visible so logo shows above */
    cursor: pointer;
    border: 1.5px solid rgba(0, 0, 0, 0.07);
    isolation: isolate;
    /* safe stacking context — no preserve-3d */

    box-shadow:
        0 1px 3px rgba(0, 0, 0, 0.05),
        0 6px 20px rgba(0, 0, 0, 0.07);

    transition:
        transform 80ms ease,
        box-shadow 380ms cubic-bezier(0.22, 1, 0.36, 1),
        border-color 240ms ease;

    will-change: transform, box-shadow;
}

.spc-card:hover {
    box-shadow:
        0 4px 8px rgba(0, 0, 0, 0.06),
        0 16px 40px rgba(0, 0, 0, 0.12);
}

/* ── Hero ────────────────────────────────────────────────────── */
.spc-hero {
    position: relative;
    height: 128px;
    /* ← reduced from 165px */
    flex-shrink: 0;
    overflow: visible;
    /* allows logo to overflow downward */
    border-radius: 18px 18px 0 0;
}

/* Clip wrapper — keeps photo within rounded top corners */
.spc-hero-clip {
    position: absolute;
    inset: 0;
    border-radius: 18px 18px 0 0;
    overflow: hidden;
    z-index: 0;
}

.spc-hero-photo {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    mix-blend-mode: overlay;
    opacity: 0.50;
    transition: opacity 400ms ease, transform 600ms ease;
}

.spc-card:hover .spc-hero-photo {
    opacity: 0.68;
    transform: scale(1.05);
}

.spc-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(0, 0, 0, 0.08) 0%,
            rgba(0, 0, 0, 0.48) 100%);
}

/* ── Hero top row ────────────────────────────────────────────── */
.spc-hero-top {
    position: absolute;
    top: 10px;
    left: 12px;
    right: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 2;
}

.spc-roles-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(255, 255, 255, 0.94);
    color: #111827;
    font-family: var(--font-primary);
    font-size: 0.60rem;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 99px;
    letter-spacing: 0.04em;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.14);
    white-space: nowrap;
}

.spc-roles-pill--soon {
    background: rgba(255, 255, 255, 0.75);
    color: #6b7280;
}

/* Bookmark */
.spc-bm {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #374151;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.14);
    transition: all var(--transition-base);
    flex-shrink: 0;
}

.spc-bm:hover {
    background: #fff;
    color: #E11D48;
    transform: scale(1.12);
}

.spc-bm.bookmarked {
    background: #FEE2E2;
    color: #E11D48;
}

.spc-bm.bookmarked svg {
    fill: currentColor;
}

/* ── Logo — sits ON TOP of hero bottom edge ──────────────────── */
.spc-logo-outer {
    position: absolute;
    bottom: -26px;
    /* half overlaps into body */
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    /* above everything in card */
}

.spc-logo-ring {
    width: 56px;
    height: 56px;
    border-radius: 15px;
    background: #fff;
    border: 3px solid #fff;
    overflow: hidden;
    box-shadow:
        0 4px 14px rgba(0, 0, 0, 0.14),
        0 0 0 3px rgba(255, 255, 255, 0.9);
    transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.spc-card:hover .spc-logo-ring {
    transform: translateY(-4px) scale(1.07);
}

.spc-logo-ring img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Live dot on logo corner */
.spc-live-dot {
    position: absolute;
    bottom: 0;
    right: -1px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #fff;
    z-index: 11;
}

/* ── Card body ───────────────────────────────────────────────── */
.spc-body {
    padding: 2rem 1.1rem 1rem;
    /* top padding accounts for logo overlap */
    display: flex;
    flex-direction: column;
    gap: 11px;
    flex: 1;
    /* clip body contents within rounded bottom */
    border-radius: 0 0 18px 18px;
    overflow: hidden;
    background: #fff;
    position: relative;
    z-index: 1;
}

/* Name + industry chip */
.spc-name-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
}

.spc-name {
    font-family: var(--font-display);
    font-size: 0.98rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.2;
    letter-spacing: -0.02em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.spc-ind-chip {
    display: inline-flex;
    align-items: center;
    font-family: var(--font-primary);
    font-size: 0.65rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 99px;
    border: 1px solid;
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: filter 200ms ease, transform 200ms ease;
    white-space: nowrap;
}

.spc-ind-chip:hover {
    filter: brightness(0.9);
    transform: translateY(-1px);
}

/* ── 2×2 stats grid ─────────────────────────────────────────── */
.spc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
}

.spc-cell {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 8px 9px;
    border-radius: 10px;
    border: 1px solid transparent;
    transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

.spc-card:hover .spc-cell {
    transform: translateY(-1px);
}

.spc-cell-ic {
    width: 26px;
    height: 26px;
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    backdrop-filter: blur(4px);
}

.spc-cell-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.spc-cell-lbl {
    font-size: 0.52rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--text-muted);
    line-height: 1;
    font-family: var(--font-primary);
}

.spc-cell-val {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.25;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-family: var(--font-primary);
}

.spc-age {
    font-size: 0.60rem;
    font-weight: 500;
    color: var(--text-muted);
    font-style: normal;
    margin-left: 2px;
}

/* ── Tech stack ─────────────────────────────────────────────── */
.spc-tech {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-top: 8px;
    border-top: 1px dashed rgba(0, 0, 0, 0.08);
}

.spc-tech-hd {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.58rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-family: var(--font-primary);
}

.spc-chips {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

.spc-chip {
    display: inline-flex;
    align-items: center;
    font-family: var(--font-primary);
    font-size: 0.65rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 6px;
    border: 1px solid;
    line-height: 1.4;
    white-space: nowrap;
    cursor: pointer;
    transition: transform 200ms ease, box-shadow 200ms ease;
}

.spc-chip:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.10);
}

.spc-chip-more {
    background: transparent !important;
    font-weight: 700;
    opacity: 0.7;
}

/* ── Footer ─────────────────────────────────────────────────── */
.spc-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding-top: 9px;
    border-top: 1px dashed rgba(0, 0, 0, 0.08);
    margin-top: auto;
}

.spc-open-lbl {
    display: flex;
    align-items: center;
    gap: 5px;
    font-family: var(--font-primary);
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--text-muted);
    white-space: nowrap;
}

.spc-open-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
    animation: spc-blink 2s ease-in-out infinite;
}

.spc-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-family: var(--font-primary);
    font-size: 0.72rem;
    font-weight: 700;
    color: #fff;
    padding: 6px 14px;
    border-radius: 99px;
    text-decoration: none;
    letter-spacing: 0.02em;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.18);
    transition:
        transform 260ms cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 260ms ease,
        gap 220ms ease;
    flex-shrink: 0;
    white-space: nowrap;
}

.spc-cta-btn:hover {
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
    color: #fff;
    text-decoration: none;
    gap: 8px;
}

/* ════════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════════ */
@media (max-width: 991px) {
    .spc-section {
        padding: 44px 0 52px;
    }

    .spc-hero {
        height: 115px;
    }

    .spc-logo-outer {
        bottom: -24px;
    }

    .spc-logo-ring {
        width: 50px;
        height: 50px;
        border-radius: 13px;
    }

    .spc-body {
        padding: 1.9rem 1rem 0.9rem;
        gap: 9px;
    }
}

@media (max-width: 767px) {
    .spc-hero {
        height: 108px;
    }

    .spc-logo-outer {
        bottom: -22px;
    }

    .spc-logo-ring {
        width: 46px;
        height: 46px;
        border-radius: 12px;
    }

    .spc-body {
        padding: 1.75rem 0.9rem 0.875rem;
    }

    .spc-grid {
        grid-template-columns: 1fr;
        gap: 5px;
    }
}

@media (max-width: 575px) {
    .spc-section {
        padding: 32px 0 40px;
    }

    .spc-hero {
        height: 95px;
    }

    .spc-logo-outer {
        bottom: -20px;
    }

    .spc-logo-ring {
        width: 42px;
        height: 42px;
        border-radius: 11px;
    }

    .spc-body {
        padding: 1.6rem 0.875rem 0.875rem;
        gap: 8px;
    }

    .spc-name {
        font-size: 0.92rem;
    }

    .spc-grid {
        grid-template-columns: 1fr 1fr;
    }

    .spc-cell {
        padding: 6px 7px;
    }
}


/* ════════════════════════════════════════════════════════════════
   FEATURED JOBS — Vibrant Compact Card v2
   Matches company card system exactly
   ════════════════════════════════════════════════════════════════ */

.fjb-section {
    padding: 56px 0 64px;
    background: var(--bg-soft-blue);
    position: relative;
}

/* ── Header ──────────────────────────────────────────────────── */
.fjb-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 2rem;
}

.fjb-header-left {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.fjb-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
    font-family: var(--font-primary);
}

.fjb-eyebrow-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    animation: fjb-blink 2.2s ease-in-out infinite;
}

@keyframes fjb-blink {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.3;
        transform: scale(0.72);
    }
}

.fjb-title {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 2.2vw, 2rem);
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin: 0;
}

.fjb-title-hl {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Swiper ──────────────────────────────────────────────────── */
.featuredJobsSwiper {
    overflow: visible;
    padding: 6px 4px 28px;
}

.featuredJobsSwiper .swiper-wrapper {
    align-items: stretch;
}

.featuredJobsSwiper .swiper-slide {
    height: auto;
    display: flex;
}

/* ════════════════════════════════════════════════════════════════
   CARD
   ════════════════════════════════════════════════════════════════ */
.fjb-card {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 20px;
    overflow: visible;
    /* logo can overflow hero edge */
    cursor: pointer;
    border: 1.5px solid rgba(0, 0, 0, 0.07);
    isolation: isolate;

    box-shadow:
        0 1px 3px rgba(0, 0, 0, 0.05),
        0 6px 20px rgba(0, 0, 0, 0.07);

    transition:
        transform 80ms ease,
        box-shadow 380ms cubic-bezier(0.22, 1, 0.36, 1),
        border-color 240ms ease;

    will-change: transform, box-shadow;
}

.fjb-card:hover {
    box-shadow:
        0 4px 8px rgba(0, 0, 0, 0.06),
        0 20px 44px rgba(0, 0, 0, 0.12);
}

/* ── Hero strip ──────────────────────────────────────────────── */
.fjb-hero {
    position: relative;
    height: 100px;
    /* compact hero height */
    flex-shrink: 0;
    overflow: visible;
    border-radius: 18px 18px 0 0;
}

/* Inner clip — keeps rounded corners on gradient */
.fjb-hero-clip {
    position: absolute;
    inset: 0;
    border-radius: 18px 18px 0 0;
    overflow: hidden;
    z-index: 0;
}

/* Decorative dot-grid pattern on hero */
.fjb-hero-dots {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.15) 1px, transparent 1px);
    background-size: 16px 16px;
    opacity: 0.6;
}

/* ── Hero top row ────────────────────────────────────────────── */
.fjb-hero-top {
    position: absolute;
    top: 10px;
    left: 12px;
    right: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 2;
}

/* Featured badge */
.fjb-featured-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(255, 255, 255, 0.94);
    color: #111827;
    font-family: var(--font-primary);
    font-size: 0.58rem;
    font-weight: 800;
    padding: 3px 9px;
    border-radius: 99px;
    letter-spacing: 0.08em;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.14);
}

.fjb-featured-badge svg {
    color: #F59E0B;
}

/* Bookmark */
.fjb-bm {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #374151;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.14);
    transition: all var(--transition-base);
    flex-shrink: 0;
}

.fjb-bm:hover {
    background: #fff;
    color: #E11D48;
    transform: scale(1.12);
}

.fjb-bm.bookmarked {
    background: #FEE2E2;
    color: #E11D48;
}

.fjb-bm.bookmarked svg {
    fill: currentColor;
}

/* ── Logo — overlaps hero bottom ─────────────────────────────── */
.fjb-logo-outer {
    position: absolute;
    bottom: -24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.fjb-logo-ring {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: #fff;
    border: 3px solid #fff;
    overflow: hidden;
    transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.fjb-card:hover .fjb-logo-ring {
    transform: translateY(-4px) scale(1.07);
}

.fjb-logo-ring img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Avatar fallback inside logo ring */
.fjb-logo-ring .company-logo-fallback,
.fjb-logo-ring .fj-logo-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 800;
}

/* Live dot */
.fjb-live-dot {
    position: absolute;
    bottom: 0;
    right: -1px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #fff;
    z-index: 11;
}

/* ── Card body ───────────────────────────────────────────────── */
.fjb-body {
    padding: 1.9rem 1.1rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 11px;
    flex: 1;
    border-radius: 0 0 18px 18px;
    overflow: hidden;
    background: #fff;
    position: relative;
    z-index: 1;
}

/* Job title + company */
.fjb-title-block {
    text-align: center;
}

.fjb-job-title {
    font-family: var(--font-display);
    font-size: 0.97rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 3px;
    line-height: 1.2;
    letter-spacing: -0.02em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.fjb-company-name {
    font-size: 0.74rem;
    font-weight: 600;
    color: var(--text-muted);
    margin: 0;
}

/* ── 2×2 meta grid ───────────────────────────────────────────── */
.fjb-meta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
}

.fjb-meta-cell {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 8px 9px;
    border-radius: 10px;
    border: 1px solid transparent;
    transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

.fjb-card:hover .fjb-meta-cell {
    transform: translateY(-1px);
}

.fjb-meta-ic {
    width: 24px;
    height: 24px;
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    backdrop-filter: blur(4px);
}

.fjb-meta-text {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}

.fjb-meta-lbl {
    font-size: 0.51rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--text-muted);
    line-height: 1;
    font-family: var(--font-primary);
}

.fjb-meta-val {
    font-size: 0.74rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.25;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-family: var(--font-primary);
}

/* ── Skills ──────────────────────────────────────────────────── */
.fjb-skills {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-top: 8px;
    border-top: 1px dashed rgba(0, 0, 0, 0.08);
}

.fjb-skills-hd {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.57rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-family: var(--font-primary);
}

.fjb-skill-chips {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

.fjb-skill-chip {
    display: inline-flex;
    align-items: center;
    font-family: var(--font-primary);
    font-size: 0.64rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 6px;
    border: 1px solid;
    line-height: 1.4;
    white-space: nowrap;
    cursor: default;
    transition: transform 200ms ease, box-shadow 200ms ease;
}

.fjb-skill-chip:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.10);
}

.fjb-skill-more {
    background: transparent !important;
    font-weight: 700;
    opacity: 0.7;
}

/* ── Footer ─────────────────────────────────────────────────── */
.fjb-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding-top: 9px;
    border-top: 1px dashed rgba(0, 0, 0, 0.08);
    margin-top: auto;
}

.fjb-applicants {
    display: flex;
    align-items: center;
    gap: 5px;
    font-family: var(--font-primary);
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--text-muted);
    white-space: nowrap;
}

.fjb-appl-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
    animation: fjb-blink 2s ease-in-out infinite;
}

.fjb-apply-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-family: var(--font-primary);
    font-size: 0.72rem;
    font-weight: 700;
    color: #fff;
    padding: 6px 14px;
    border-radius: 99px;
    text-decoration: none;
    letter-spacing: 0.02em;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.18);
    white-space: nowrap;
    flex-shrink: 0;
    transition:
        transform 260ms cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 260ms ease,
        gap 220ms ease;
}

.fjb-apply-btn:hover {
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
    color: #fff;
    text-decoration: none;
    gap: 8px;
}

/* ════════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════════ */
@media (max-width: 991px) {
    .fjb-section {
        padding: 44px 0 52px;
    }

    .fjb-hero {
        height: 90px;
    }

    .fjb-logo-outer {
        bottom: -22px;
    }

    .fjb-logo-ring {
        width: 46px;
        height: 46px;
        border-radius: 12px;
    }

    .fjb-body {
        padding: 1.75rem 1rem 0.9rem;
        gap: 9px;
    }
}

@media (max-width: 767px) {
    .fjb-hero {
        height: 82px;
    }

    .fjb-logo-outer {
        bottom: -20px;
    }

    .fjb-logo-ring {
        width: 42px;
        height: 42px;
        border-radius: 11px;
    }

    .fjb-meta-grid {
        grid-template-columns: 1fr;
        gap: 5px;
    }

    .fjb-body {
        padding: 1.65rem 0.9rem 0.875rem;
    }
}

@media (max-width: 575px) {
    .fjb-section {
        padding: 32px 0 40px;
    }

    .fjb-hero {
        height: 76px;
    }

    .fjb-logo-outer {
        bottom: -19px;
    }

    .fjb-logo-ring {
        width: 40px;
        height: 40px;
        border-radius: 10px;
    }

    .fjb-body {
        padding: 1.55rem 0.875rem 0.875rem;
        gap: 8px;
    }

    .fjb-job-title {
        font-size: 0.90rem;
    }

    .fjb-meta-grid {
        grid-template-columns: 1fr 1fr;
    }

    .fjb-meta-cell {
        padding: 6px 7px;
    }
}

/* ════════════════════════════════════════════════════════════════
   CLIENT TESTIMONIALS — Vibrant Compact v2
   Matches company + job card design system
   ════════════════════════════════════════════════════════════════ */

.tsm-section {
    padding: 56px 0 64px;
    background: var(--bg-main);
    position: relative;
}

/* ── Header ──────────────────────────────────────────────────── */
.tsm-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 2rem;
}

.tsm-header-left {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.tsm-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
    font-family: var(--font-primary);
}

.tsm-eyebrow-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    animation: tsm-blink 2.2s ease-in-out infinite;
}

@keyframes tsm-blink {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.3;
        transform: scale(0.72);
    }
}

.tsm-title {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 2.2vw, 2rem);
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin: 0;
}

.tsm-title-hl {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Swiper ──────────────────────────────────────────────────── */
.testimonialsSwiper {
    overflow: visible;
    padding: 6px 4px 28px;
}

.testimonialsSwiper .swiper-wrapper {
    align-items: stretch;
}

.testimonialsSwiper .swiper-slide {
    height: auto;
    display: flex;
}

/* ════════════════════════════════════════════════════════════════
   CARD
   ════════════════════════════════════════════════════════════════ */
.tsm-card {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    border: 1.5px solid rgba(0, 0, 0, 0.07);
    isolation: isolate;

    box-shadow:
        0 1px 3px rgba(0, 0, 0, 0.05),
        0 6px 20px rgba(0, 0, 0, 0.07);

    transition:
        transform 80ms ease,
        box-shadow 380ms cubic-bezier(0.22, 1, 0.36, 1),
        border-color 240ms ease;

    will-change: transform, box-shadow;
}

.tsm-card:hover {
    box-shadow:
        0 4px 8px rgba(0, 0, 0, 0.06),
        0 20px 44px rgba(0, 0, 0, 0.11);
}

/* ── 4px gradient top bar ────────────────────────────────────── */
.tsm-bar {
    height: 4px;
    width: 100%;
    flex-shrink: 0;
}

/* ── Quote hero block ────────────────────────────────────────── */
.tsm-quote-hero {
    position: relative;
    padding: 18px 18px 16px;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.07);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Big watermark quote icon */
.tsm-big-quote {
    position: absolute;
    top: 10px;
    right: 14px;
    line-height: 0;
    pointer-events: none;
    z-index: 0;
}

/* Stars + rating badge row */
.tsm-rating-row {
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    z-index: 1;
}

.tsm-stars {
    display: flex;
    align-items: center;
    gap: 2px;
}

.tsm-rating-badge {
    display: inline-flex;
    align-items: center;
    font-family: var(--font-primary);
    font-size: 0.60rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 99px;
    border: 1px solid;
    letter-spacing: 0.04em;
}

/* Review text */
.tsm-review-text {
    font-family: var(--font-primary);
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-secondary);
    line-height: 1.65;
    margin: 0;
    position: relative;
    z-index: 1;

    /* 4-line clamp */
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ── Person row ──────────────────────────────────────────────── */
.tsm-person {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 14px 16px;
    flex-shrink: 0;
}

/* Avatar */
.tsm-avatar-wrap {
    position: relative;
    flex-shrink: 0;
}

.tsm-avatar-ring {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2.5px solid;
    overflow: hidden;
    transition: transform 300ms cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.10);
}

.tsm-card:hover .tsm-avatar-ring {
    transform: scale(1.07);
}

.tsm-avatar-ring img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Star dot on avatar */
.tsm-avatar-dot {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

/* Person info */
.tsm-person-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.tsm-person-name {
    font-family: var(--font-display);
    font-size: 0.88rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.2;
    letter-spacing: -0.01em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tsm-person-role {
    font-size: 0.70rem;
    font-weight: 500;
    color: var(--text-muted);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Company chip */
.tsm-company-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-family: var(--font-primary);
    font-size: 0.62rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 6px;
    border: 1px solid;
    letter-spacing: 0.02em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 130px;
    transition: transform 200ms ease;
}

.tsm-company-chip:hover {
    transform: translateY(-1px);
}

/* Verified badge — pushed to far right */
.tsm-verified {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-family: var(--font-primary);
    font-size: 0.58rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 99px;
    border: 1px solid;
    letter-spacing: 0.04em;
    white-space: nowrap;
    flex-shrink: 0;
    margin-left: auto;
}

/* ── Empty state ─────────────────────────────────────────────── */
.tsm-empty {
    padding: 48px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--text-muted);
    font-family: var(--font-primary);
    font-size: 0.85rem;
}

/* ════════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════════ */
@media (max-width: 991px) {
    .tsm-section {
        padding: 44px 0 52px;
    }

    .tsm-quote-hero {
        padding: 15px 15px 13px;
        gap: 9px;
    }

    .tsm-person {
        padding: 12px 14px;
    }

    .tsm-avatar-ring {
        width: 44px;
        height: 44px;
    }
}

@media (max-width: 767px) {
    .tsm-review-text {
        font-size: 0.79rem;
    }

    .tsm-avatar-ring {
        width: 40px;
        height: 40px;
    }

    .tsm-person-name {
        font-size: 0.84rem;
    }

    .tsm-company-chip {
        max-width: 100px;
    }
}

@media (max-width: 575px) {
    .tsm-section {
        padding: 32px 0 40px;
    }

    .tsm-quote-hero {
        padding: 13px 13px 11px;
    }

    .tsm-review-text {
        font-size: 0.76rem;
        -webkit-line-clamp: 3;
    }

    .tsm-person {
        padding: 11px 13px;
        gap: 9px;
    }

    .tsm-avatar-ring {
        width: 38px;
        height: 38px;
    }

    .tsm-verified {
        display: none;
    }
}

/* ── Testimonial Slider Controls ─────────────────────────── */
.tsm-header .slider-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.tsm-header .slider-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1.5px solid var(--border-color);
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-muted);
    transition:
        background 240ms ease,
        border-color 240ms ease,
        color 240ms ease,
        transform 200ms cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 240ms ease;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.07);
    flex-shrink: 0;
}

.tsm-header .slider-btn:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
    transform: scale(1.08);
    box-shadow: 0 4px 12px rgba(46, 139, 224, 0.28);
}

.tsm-header .slider-btn:active {
    transform: scale(0.95);
    box-shadow: none;
}

.tsm-header .slider-btn.swiper-button-disabled {
    opacity: 0.38;
    pointer-events: none;
    cursor: not-allowed;
}

.tsm-header .slider-btn svg {
    display: block;
    flex-shrink: 0;
}

/* ════════════════════════════════════════════════════════════════
   AIHR JOB PORTAL — PREMIUM MEGA FOOTER v2
   Root-variable-first — zero hardcoded colors
   ════════════════════════════════════════════════════════════════ */


/* ────────────────────────────────────────────────────────────────
   NEWSLETTER SECTION
──────────────────────────────────────────────────────────────── */
.ft-newsletter-section {
    background: linear-gradient(135deg,
            var(--primary-light) 0%,
            var(--primary) 50%,
            var(--primary-dark) 100%);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border-auth-18);
}

.ft-nl-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.ft-nl-orb--1 {
    width: 560px;
    height: 560px;
    top: -220px;
    right: -140px;
    background: radial-gradient(circle, var(--bg-auth-fill-12) 0%, transparent 70%);
    animation: ftOrbFloat 8s ease-in-out infinite alternate;
}

.ft-nl-orb--2 {
    width: 360px;
    height: 360px;
    bottom: -110px;
    left: -90px;
    background: radial-gradient(circle, var(--bg-auth-fill-10) 0%, transparent 70%);
    animation: ftOrbFloat 11s ease-in-out infinite alternate-reverse;
}

.ft-nl-orb--3 {
    width: 220px;
    height: 220px;
    top: 50%;
    left: 45%;
    background: radial-gradient(circle, var(--bg-glass-07) 0%, transparent 70%);
    animation: ftOrbFloat 6s ease-in-out infinite alternate;
}

@keyframes ftOrbFloat {
    from {
        transform: translate(0, 0) scale(1);
    }

    to {
        transform: translate(30px, 20px) scale(1.08);
    }
}

.ft-nl-inner {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 5rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.ft-nl-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 16px;
    background: var(--bg-auth-fill-15);
    border: 1px solid var(--border-auth-35);
    border-radius: var(--radius-full);
    font-size: .7rem;
    font-weight: 800;
    color: var(--accent-light);
    text-transform: uppercase;
    letter-spacing: .1em;
    margin-bottom: 1.25rem;
    width: fit-content;
}

.ft-nl-title {
    font-family: var(--font-display);
    font-size: clamp(1.9rem, 3vw, 2.8rem);
    font-weight: 800;
    color: var(--text-white);
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin: 0 0 1rem;
}

.ft-nl-text {
    font-size: .95rem;
    color: var(--text-75);
    line-height: 1.75;
    margin: 0 0 1.5rem;
}

.ft-nl-perks {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.ft-nl-perk {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: .78rem;
    color: var(--text-62);
    font-weight: 600;
}

.ft-nl-perk i {
    color: var(--accent-light);
}

.ft-nl-trust {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ft-nl-avatars {
    display: flex;
}

.ft-nl-avatars img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid var(--border-white-15);
    margin-left: -8px;
}

.ft-nl-avatars img:first-child {
    margin-left: 0;
}

.ft-nl-trust-text {
    font-size: .8rem;
    color: var(--text-60);
}

.ft-nl-trust-text strong {
    color: var(--accent-light);
}

/* Rating row */
.ft-nl-rating-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1.25rem;
}

.ft-nl-stars {
    display: flex;
    gap: 2px;
}

.ft-nl-rating-text {
    font-size: .78rem;
    font-weight: 600;
    color: var(--text-60);
}

/* Form */
.ft-nl-input-wrap {
    display: flex;
    align-items: center;
    background: var(--bg-glass-06);
    border: 1.5px solid var(--border-white-10);
    border-radius: var(--radius-full);
    padding: 6px 6px 6px 52px;
    position: relative;
    transition: all var(--transition-base);
    box-shadow: 0 4px 24px var(--shadow-black-45), inset 0 1px 0 var(--bg-glass-06);
}

.ft-nl-input-wrap:focus-within {
    border-color: var(--border-auth-60);
    background: var(--bg-glass-07);
    box-shadow: 0 0 0 4px var(--bg-auth-fill-12), 0 4px 24px var(--shadow-black-45);
}

.ft-nl-input-icon {
    position: absolute;
    left: 18px;
    width: 18px;
    height: 18px;
    color: var(--text-50);
    pointer-events: none;
    transition: color var(--transition-base);
}

.ft-nl-input-wrap:focus-within .ft-nl-input-icon {
    color: var(--accent-light);
}

.ft-nl-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    font-size: .95rem;
    font-weight: 500;
    color: var(--text-white);
    font-family: var(--font-primary);
    min-width: 0;
}

.ft-nl-input::placeholder {
    color: var(--text-40);
}

.ft-nl-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--auth-cta-gradient);
    border: none;
    border-radius: var(--radius-full);
    color: var(--text-white);
    font-size: .875rem;
    font-weight: 700;
    font-family: var(--font-display);
    cursor: pointer;
    white-space: nowrap;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-cta);
    flex-shrink: 0;
}

.ft-nl-btn:hover {
    transform: translateX(3px);
    box-shadow: var(--shadow-cta-hover);
}

.ft-nl-privacy {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: .78rem;
    color: var(--text-50);
    margin: .9rem 0 0;
}

.ft-nl-privacy a {
    color: var(--accent-light);
    font-weight: 600;
}

.ft-nl-privacy a:hover {
    text-decoration: underline;
}

.ft-nl-feature-chips {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 1.25rem;
}

.ft-nl-fchip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 12px;
    background: var(--co-green-fill);
    border: 1px solid var(--co-green-border);
    border-radius: var(--radius-full);
    font-size: .72rem;
    font-weight: 700;
    color: var(--co-green-solid);
    white-space: nowrap;
}

.ft-nl-fchip i {
    color: var(--co-green-solid);
}


/* ────────────────────────────────────────────────────────────────
   CATEGORIES STRIP
──────────────────────────────────────────────────────────────── */
.ft-cat-strip {
    background: var(--primary-light);
    border-top: 1px solid var(--border-auth-12);
    border-bottom: 1px solid var(--border-auth-09);
    padding: 14px 0;
}

.ft-cat-inner {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.ft-cat-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-primary);
    font-size: .65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .09em;
    color: var(--text-50);
    white-space: nowrap;
    flex-shrink: 0;
}

.ft-cat-label i {
    color: var(--accent);
}

.ft-cat-chips {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.ft-cat-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 12px;
    background: var(--bg-glass-05);
    border: 1px solid var(--border-white-08);
    border-radius: var(--radius-full);
    font-size: .72rem;
    font-weight: 600;
    color: var(--text-55);
    text-decoration: none;
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.ft-cat-chip i {
    color: var(--accent);
    opacity: .7;
}

.ft-cat-chip:hover {
    background: var(--bg-auth-fill-15);
    border-color: var(--border-auth-30);
    color: var(--accent-light);
    transform: translateY(-1px);
}


/* ────────────────────────────────────────────────────────────────
   MAIN FOOTER SHELL
──────────────────────────────────────────────────────────────── */
.ft-main {
    background: var(--accent-scene-base);
    padding: 5.5rem 0 0;
    position: relative;
    overflow: hidden;
}

.ft-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--auth-accent-line);
}

/* Grid lines */
.ft-grid-lines {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.ft-gl-line {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(180deg,
            var(--border-auth-12) 0%,
            var(--border-auth-09) 50%,
            transparent 100%);
    animation: ftLineRise 4s ease-out forwards;
    opacity: 0;
}

@keyframes ftLineRise {
    from {
        transform: scaleY(0);
        opacity: 0;
    }

    to {
        transform: scaleY(1);
        opacity: 1;
    }
}

.ft-gl-line--0 {
    left: 8%;
    animation-delay: .0s;
}

.ft-gl-line--1 {
    left: 16%;
    animation-delay: .1s;
}

.ft-gl-line--2 {
    left: 27%;
    animation-delay: .2s;
}

.ft-gl-line--3 {
    left: 39%;
    animation-delay: .3s;
}

.ft-gl-line--4 {
    left: 51%;
    animation-delay: .4s;
}

.ft-gl-line--5 {
    left: 63%;
    animation-delay: .5s;
}

.ft-gl-line--6 {
    left: 76%;
    animation-delay: .6s;
}

.ft-gl-line--7 {
    left: 88%;
    animation-delay: .7s;
}

/* Glow orbs */
.ft-glow {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(80px);
    z-index: 0;
}

.ft-glow--blue {
    width: 640px;
    height: 640px;
    top: -200px;
    left: -160px;
    background: radial-gradient(circle, var(--bg-auth-fill-10) 0%, transparent 65%);
    animation: ftGlowPulse 9s ease-in-out infinite alternate;
}

.ft-glow--teal {
    width: 520px;
    height: 520px;
    top: 20%;
    right: -100px;
    background: radial-gradient(circle, var(--co-teal-tint) 0%, transparent 65%);
    opacity: .08;
    animation: ftGlowPulse 12s ease-in-out infinite alternate-reverse;
}

.ft-glow--violet {
    width: 380px;
    height: 380px;
    bottom: 10%;
    left: 40%;
    background: radial-gradient(circle, var(--co-violet-tint) 0%, transparent 65%);
    opacity: .07;
    animation: ftGlowPulse 7s ease-in-out infinite alternate;
}

@keyframes ftGlowPulse {
    from {
        transform: scale(1) translate(0, 0);
    }

    to {
        transform: scale(1.15) translate(20px, -20px);
    }
}


/* ────────────────────────────────────────────────────────────────
   TOP ROW
──────────────────────────────────────────────────────────────── */
.ft-top-row {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr) 1.3fr;
    gap: 3.5rem;
    padding-bottom: 4rem;
    position: relative;
    z-index: 2;
}

/* Brand col */
.ft-brand-col {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.ft-logo-link {
    display: inline-block;
}

.ft-logo-img {
    height: 48px;
    width: auto;
    /* filter: brightness(0) invert(1); */
    opacity: .9;
    transition: opacity var(--transition-base), filter var(--transition-base);
}

.ft-logo-img:hover {
    opacity: 1;
    filter: brightness(0) invert(1) drop-shadow(0 0 12px var(--shadow-accent-35));
}

.ft-about {
    font-size: .875rem;
    color: var(--text-55);
    line-height: 1.75;
    margin: 0;
}

/* AI badge */
.ft-ai-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    background: var(--bg-auth-fill-10);
    border: 1px solid var(--border-auth-20);
    border-radius: var(--radius-full);
    font-size: .72rem;
    font-weight: 700;
    color: var(--accent-light);
    text-transform: uppercase;
    letter-spacing: .07em;
    width: fit-content;
}

.ft-ai-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--co-green);
    box-shadow: 0 0 6px var(--co-green);
    animation: ftBlink 1.8s ease-in-out infinite;
}

@keyframes ftBlink {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: .3;
    }
}

/* Mini stats */
.ft-mini-stats {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    background: var(--bg-glass-04);
    border: 1px solid var(--border-white-08);
    border-radius: var(--radius-lg);
}

.ft-mini-stat {
    display: flex;
    flex-direction: column;
    gap: 2px;
    text-align: center;
}

.ft-mini-val {
    font-family: var(--font-display);
    font-size: .92rem;
    font-weight: 800;
    color: var(--text-white);
    line-height: 1;
}

.ft-mini-lbl {
    font-size: .60rem;
    font-weight: 600;
    color: var(--text-40);
    text-transform: uppercase;
    letter-spacing: .05em;
    white-space: nowrap;
}

.ft-mini-div {
    width: 1px;
    height: 28px;
    background: var(--border-white-08);
    flex-shrink: 0;
}

/* Social */
.ft-social-label,
.ft-app-label {
    font-size: .65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--text-40);
    margin: 0 0 10px;
}

.ft-social-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.ft-social-btn {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-55);
    background: var(--bg-glass-06);
    border: 1px solid var(--border-white-08);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.ft-social-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.ft-social-linkedin::before {
    background: #0077B5;
}

.ft-social-twitter::before {
    background: #1DA1F2;
}

.ft-social-instagram::before {
    background: radial-gradient(circle at 30% 110%, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5);
}

.ft-social-facebook::before {
    background: #1877F2;
}

.ft-social-youtube::before {
    background: #FF0000;
}

.ft-social-btn:hover::before {
    opacity: 1;
}

.ft-social-btn:hover {
    color: var(--text-white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

/* App badges */
.ft-app-row {
    display: flex;
    gap: 8px;
    flex-direction: column;
}

.ft-app-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 14px;
    background: var(--bg-glass-07);
    border: 1px solid var(--border-white-10);
    border-radius: var(--radius-md);
    color: var(--text-white);
    text-decoration: none;
    transition: all var(--transition-base);
}

.ft-app-btn:hover {
    background: var(--bg-glass-light-sm);
    border-color: var(--border-auth-40);
    color: var(--text-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.ft-app-text {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.ft-app-sub {
    font-size: .6rem;
    color: var(--text-50);
    line-height: 1;
}

.ft-app-name {
    font-size: .82rem;
    font-weight: 700;
    font-family: var(--font-display);
    line-height: 1;
}

/* Widget columns */
.ft-col-heading {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-display);
    font-size: .8rem;
    font-weight: 800;
    color: var(--text-bright);
    margin: 0 0 1.25rem;
    padding-bottom: .75rem;
    border-bottom: 1px solid var(--border-white-08);
    text-transform: uppercase;
    letter-spacing: .06em;
}

.ft-col-heading i {
    color: var(--accent);
}

.ft-link-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ft-link-list li {
    margin-bottom: .45rem;
}

.ft-link {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: .845rem;
    font-weight: 500;
    color: var(--text-55);
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    transition: all var(--transition-base);
    text-decoration: none;
}

.ft-link-arrow {
    color: var(--accent);
    opacity: 0;
    transform: translateX(-4px);
    transition: all var(--transition-base);
    flex-shrink: 0;
}

.ft-link:hover {
    color: var(--accent-light);
    background: var(--bg-auth-fill-08);
    padding-left: 12px;
}

.ft-link:hover .ft-link-arrow {
    opacity: 1;
    transform: translateX(0);
}

.ft-link-badge {
    display: inline-flex;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    font-size: .58rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-left: auto;
    flex-shrink: 0;
}

.ft-link-badge--new {
    background: var(--bg-auth-fill-20);
    color: var(--accent-light);
    border: 1px solid var(--border-auth-30);
}

.ft-link-badge--beta {
    background: var(--co-violet-tint);
    color: var(--co-violet);
    border: 1px solid var(--border-pal-violet);
}

.ft-link-badge--hot {
    background: var(--co-red-fill);
    color: var(--co-red-solid);
    border: 1px solid var(--co-red-border);
}

/* Contact column */
.ft-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 1rem;
    padding: 11px 13px;
    background: var(--bg-glass-04);
    border: 1px solid var(--border-white-08);
    border-left: 3px solid var(--accent);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    transition: all var(--transition-base);
    text-decoration: none;
}

.ft-contact-item:hover {
    background: var(--bg-glass-07);
    transform: translateX(4px);
}

.ft-contact-icon-wrap {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    border-radius: var(--radius-sm);
    background: var(--bg-auth-fill-15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-light);
}

.ft-contact-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ft-contact-label {
    font-size: .60rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: var(--text-40);
}

.ft-contact-val {
    font-size: .84rem;
    font-weight: 500;
    color: var(--text-80);
    line-height: 1.5;
}

.ft-contact-item--link:hover .ft-contact-val {
    color: var(--accent-light);
}

/* Support box */
.ft-support-box {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 14px;
    background: var(--co-green-fill);
    border: 1px solid var(--co-green-border);
    border-radius: var(--radius-md);
    margin: 1.25rem 0 1rem;
}

.ft-support-pulse {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--co-green);
    flex-shrink: 0;
    animation: ftSupportPulse 2s ease-in-out infinite;
}

@keyframes ftSupportPulse {
    0% {
        box-shadow: 0 0 0 0 var(--co-green-glow-shadow);
    }

    70% {
        box-shadow: 0 0 0 8px transparent;
    }

    100% {
        box-shadow: 0 0 0 0 transparent;
    }
}

.ft-support-title {
    font-size: .78rem;
    font-weight: 700;
    color: var(--co-green);
    margin: 0 0 1px;
}

.ft-support-sub {
    font-size: .72rem;
    color: var(--text-50);
    margin: 0;
}

/* Awards row */
.ft-awards-row {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: .75rem;
}

.ft-award-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    background: var(--co-amber-tint);
    border: 1px solid var(--co-amber-medium);
    border-radius: var(--radius-full);
    font-size: .62rem;
    font-weight: 700;
    color: var(--co-amber);
    white-space: nowrap;
    opacity: .85;
}

.ft-award-chip i {
    color: var(--co-amber-medium);
}

/* Quick links */
.ft-quick-links {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.ft-quick-link {
    font-size: .75rem;
    font-weight: 600;
    color: var(--text-50);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.ft-quick-link:hover {
    color: var(--accent-light);
}

.ft-ql-dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--border-white-15);
    flex-shrink: 0;
}


/* ────────────────────────────────────────────────────────────────
   LOCATION ROW
──────────────────────────────────────────────────────────────── */
.ft-location-row {
    border-top: 1px solid var(--border-white-08);
    padding: 2.75rem 0;
    position: relative;
    z-index: 2;
}

.ft-location-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}

.ft-location-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-display);
    font-size: .875rem;
    font-weight: 800;
    color: var(--text-75);
    text-transform: uppercase;
    letter-spacing: .07em;
    margin: 0;
}

.ft-location-title i {
    color: var(--accent);
}

.ft-location-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--bg-glass-06);
    border: 1px solid var(--border-white-10);
    border-radius: var(--radius-full);
    padding: 5px 14px;
    font-size: .73rem;
    font-weight: 700;
    color: var(--text-55);
    cursor: pointer;
    font-family: var(--font-primary);
    transition: all var(--transition-base);
}

.ft-location-toggle:hover {
    background: var(--bg-auth-fill-12);
    border-color: var(--border-auth-30);
    color: var(--accent-light);
}

.ft-location-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    max-height: 200px;
    overflow: hidden;
    transition: max-height var(--transition-slow), opacity var(--transition-base);
}

.ft-location-grid--collapsed {
    max-height: 44px;
}

.ft-location-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 14px;
    background: var(--bg-glass-05);
    border: 1px solid var(--border-white-08);
    border-radius: var(--radius-full);
    font-size: .78rem;
    font-weight: 600;
    color: var(--text-55);
    text-decoration: none;
    white-space: nowrap;
    transition: all var(--transition-base);
}

.ft-location-chip i {
    color: var(--accent);
    opacity: .7;
}

.ft-location-chip:hover {
    background: var(--bg-auth-fill-15);
    border-color: var(--border-auth-35);
    color: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-accent-12);
}


/* ────────────────────────────────────────────────────────────────
   DIVIDER
──────────────────────────────────────────────────────────────── */
.ft-divider-line {
    height: 1px;
    background: var(--border-white-08);
    position: relative;
    overflow: visible;
}

.ft-divider-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 1px;
    background: var(--gradient-divider);
    filter: blur(1px);
    opacity: .6;
}


/* ────────────────────────────────────────────────────────────────
   BOTTOM ROW
──────────────────────────────────────────────────────────────── */
.ft-bottom-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    padding: 2rem 0 2.75rem;
    position: relative;
    z-index: 2;
}

.ft-bottom-left {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ft-copyright {
    font-size: .82rem;
    color: var(--text-40);
    margin: 0;
}

.ft-legal-links {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.ft-legal-link {
    font-size: .75rem;
    font-weight: 600;
    color: var(--text-50);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.ft-legal-link:hover {
    color: var(--accent-light);
}

/* Region chips */
.ft-region-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
}

.ft-region-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    background: var(--bg-glass-05);
    border: 1px solid var(--border-white-08);
    border-radius: var(--radius-full);
    font-size: .65rem;
    font-weight: 700;
    color: var(--text-45);
}

.ft-region-chip i {
    color: var(--accent);
    opacity: .7;
}

.ft-bottom-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}

/* Trust badges */
.ft-trust-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.ft-trust-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    background: var(--bg-glass-05);
    border: 1px solid var(--border-white-08);
    border-radius: var(--radius-full);
    font-size: .7rem;
    font-weight: 700;
    color: var(--text-50);
    transition: all var(--transition-base);
}

.ft-trust-badge i {
    color: var(--co-green);
}

.ft-trust-badge:hover {
    background: var(--co-green-fill);
    border-color: var(--co-green-border);
    color: var(--co-green);
    transform: translateY(-1px);
}

/* Payment row */
.ft-payment-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.ft-pay-label {
    font-size: .65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--text-35);
}

.ft-pay-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    background: var(--bg-glass-07);
    border: 1px solid var(--border-white-10);
    border-radius: var(--radius-sm);
    transition: all var(--transition-base);
    height: 36px;
}

.ft-pay-badge:hover {
    background: var(--bg-glass-light-sm);
    transform: translateY(-2px);
}

.ft-pay-icon {
    height: 28px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: .6;
    transition: opacity var(--transition-base);
}

.ft-pay-badge:hover .ft-pay-icon {
    opacity: 1;
}


/* ────────────────────────────────────────────────────────────────
   SCROLL TO TOP
──────────────────────────────────────────────────────────────── */
.ft-scroll-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 46px;
    height: 46px;
    border-radius: var(--radius-full);
    background: var(--gradient-brand);
    border: none;
    color: var(--text-white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    box-shadow: var(--shadow-cta);
    transform: translateY(80px) scale(.8);
    opacity: 0;
    transition: all var(--transition-base);
}

.ft-scroll-top--visible {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.ft-scroll-top:hover {
    transform: translateY(-4px) scale(1.06);
    box-shadow: var(--shadow-cta-hover);
}


/* ────────────────────────────────────────────────────────────────
   RESPONSIVE
──────────────────────────────────────────────────────────────── */
@media (max-width: 1399px) {
    .ft-top-row {
        grid-template-columns: 1.4fr repeat(3, 1fr) 1.2fr;
        gap: 2.75rem;
    }
}

@media (max-width: 1199px) {
    .ft-top-row {
        grid-template-columns: repeat(3, 1fr);
        gap: 2.5rem 2rem;
    }

    .ft-brand-col {
        grid-column: 1/-1;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }

    .ft-about, .ft-ai-badge, .ft-mini-stats {
        grid-column: 1/-1;
    }

    .ft-nl-inner {
        gap: 3.5rem;
    }

    .ft-nl-title {
        font-size: 2.25rem;
    }
}

@media (max-width: 991px) {
    .ft-newsletter-section {
        padding: 4.5rem 0;
    }

    .ft-nl-inner {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .ft-nl-title {
        font-size: 2rem;
    }

    .ft-top-row {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .ft-brand-col {
        grid-column: 1/-1;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }

    .ft-contact-col {
        grid-column: 1/-1;
    }

    .ft-bottom-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .ft-bottom-right {
        align-items: flex-start;
    }

    .ft-trust-badges, .ft-payment-row {
        justify-content: flex-start;
    }
}

@media (max-width: 767px) {
    .ft-top-row {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }

    .ft-brand-col {
        grid-template-columns: 1fr;
    }

    .ft-nl-title {
        font-size: 1.75rem;
    }

    .ft-nl-input-wrap {
        flex-direction: column;
        padding: 10px;
        border-radius: var(--radius-xl);
    }

    .ft-nl-input {
        padding: 10px 12px 10px 44px;
        width: 100%;
    }

    .ft-nl-input-icon {
        top: 22px;
    }

    .ft-nl-btn {
        width: 100%;
        justify-content: center;
        border-radius: var(--radius-lg);
    }

    .ft-app-row {
        flex-direction: row;
    }

    .ft-mini-stats {
        justify-content: center;
    }
}

@media (max-width: 575px) {
    .ft-newsletter-section {
        padding: 3.5rem 0;
    }

    .ft-nl-title {
        font-size: 1.5rem;
    }

    .ft-nl-perks {
        flex-direction: column;
        gap: 8px;
    }

    .ft-main {
        padding: 3.5rem 0 0;
    }

    .ft-scroll-top {
        bottom: 1.25rem;
        right: 1.25rem;
        width: 40px;
        height: 40px;
    }

    .ft-app-row {
        flex-direction: column;
    }

    .ft-trust-badges {
        gap: 6px;
    }

    .ft-nl-feature-chips {
        flex-direction: column;
    }

    .ft-cat-chips {
        gap: 5px;
    }
}


/* New Section CSS index.php */
/* ══════════════════════════════════════════════════════════════════════
   POPULAR SEARCHES SECTION — Enhanced v4 (Shadow Fixed)
   ══════════════════════════════════════════════════════════════════════ */

.ps-section {
    padding: 88px 0 96px;
    background: var(--bg-soft-light);
    position: relative;
    overflow: hidden;
}

.ps-section::before {
    content: '';
    position: absolute;
    top: -160px;
    right: -160px;
    width: 560px;
    height: 560px;
    background: radial-gradient(circle, var(--bg-auth-fill-10) 0%, transparent 68%);
    pointer-events: none;
    animation: ps-orb-float 8s ease-in-out infinite;
}

.ps-section::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.06) 0%, transparent 68%);
    pointer-events: none;
    animation: ps-orb-float 10s ease-in-out infinite reverse;
}

.ps-section .container {
    overflow: visible !important;
}

@keyframes ps-orb-float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(20px, -20px) scale(1.04);
    }

    66% {
        transform: translate(-10px, 15px) scale(0.97);
    }
}

/* ── Grid ── */
.ps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 20px;
    position: relative;
    z-index: 1;
}

/* ── Heading Cell ── */
.ps-heading-cell {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
    display: flex;
    align-items: center;
}

.ps-heading-inner {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-right: 20px;
}

.ps-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-primary);
    font-size: 0.70rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
}

.ps-eyebrow-dot {
    width: 8px;
    height: 8px;
    border-radius: var(--radius-full);
    background: var(--accent);
    box-shadow: 0 0 0 3px var(--bg-auth-fill-20);
    animation: ps-pulse 2.4s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes ps-pulse {
    0%, 100% {
        box-shadow: 0 0 0 3px var(--bg-auth-fill-20);
    }

    50% {
        box-shadow: 0 0 0 7px var(--bg-auth-fill-08);
    }
}

.ps-main-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.2vw, 3rem);
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.10;
    letter-spacing: -0.03em;
    margin: 0;
}

.ps-sub-text {
    font-family: var(--font-primary);
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin: 0;
    max-width: 230px;
}

.ps-explore-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary);
    color: var(--text-inverse);
    font-family: var(--font-primary);
    font-size: 0.80rem;
    font-weight: 600;
    padding: 11px 22px;
    border-radius: var(--radius-full);
    text-decoration: none;
    width: fit-content;
    letter-spacing: 0.015em;
    box-shadow: 0 4px 18px rgba(13, 31, 45, 0.18);
    transition:
        background 400ms cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 400ms cubic-bezier(0.22, 1, 0.36, 1),
        transform 400ms cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

.ps-explore-btn svg {
    transition: transform 400ms cubic-bezier(0.22, 1, 0.36, 1);
}

.ps-explore-btn:hover {
    background: var(--accent);
    color: var(--text-inverse);
    text-decoration: none;
    transform: translateY(-3px);
    box-shadow: 0 8px 28px var(--shadow-accent-25);
}

.ps-explore-btn:hover svg {
    transform: translateX(4px);
}

.ps-explore-btn:active {
    transform: translateY(-1px);
    transition-duration: 120ms;
}

/* ── Cards Base ── */
.ps-card {
    position: relative;
    border-radius: var(--radius-3xl);
    padding: 28px 24px 24px 28px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 230px;
    text-decoration: none;
    cursor: pointer;
    border: 1.5px solid rgba(255, 255, 255, 0.75);
    will-change: transform, box-shadow;
    transition:
        transform 500ms cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 500ms cubic-bezier(0.22, 1, 0.36, 1),
        border-color 400ms ease;
}

.ps-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0.05) 100%);
    pointer-events: none;
    z-index: 0;
}

.ps-card:hover {
    transform: translateY(-6px) scale(1.013);
    border-color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
}

.ps-card:active {
    transform: translateY(-2px) scale(1.005);
    transition-duration: 150ms;
}

/* ── Card Grid Placement ── */
.ps-card--1 {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
}

.ps-card--2 {
    grid-column: 3 / 4;
    grid-row: 1 / 2;
}

.ps-card--3 {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
}

.ps-card--4 {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
}

.ps-card--5 {
    grid-column: 3 / 4;
    grid-row: 2 / 3;
}

/* ── Accent Color Themes ── */

/* Blue */
.ps-card--accent-blue {
    background: linear-gradient(150deg, #ddeeff 0%, var(--bg-card) 65%, var(--hero-gradient-start) 100%);
    box-shadow: 0 4px 20px rgba(46, 139, 224, 0.10);
}

.ps-card--accent-blue:hover {
    box-shadow: 0 16px 44px rgba(46, 139, 224, 0.18);
}

.ps-card--accent-blue .ps-bg-text {
    color: rgba(46, 139, 224, 0.09);
}

.ps-card--accent-blue .ps-card-glow {
    background: radial-gradient(ellipse at 85% 60%, rgba(46, 139, 224, 0.14) 0%, transparent 62%);
}

.ps-card--accent-blue .ps-badge {
    background: var(--bg-auth-fill-12);
    color: var(--accent-hover);
    border: 1px solid var(--border-auth-20);
}

.ps-card--accent-blue .ps-view-all {
    color: var(--accent-hover);
}

.ps-card--accent-blue .ps-view-all-line {
    background: var(--accent-hover);
}

/* Teal */
.ps-card--accent-teal {
    background: linear-gradient(150deg, #c8f7ee 0%, #f0fdfb 65%, #eafaf6 100%);
    box-shadow: 0 4px 20px rgba(20, 184, 166, 0.10);
}

.ps-card--accent-teal:hover {
    box-shadow: 0 16px 44px rgba(20, 184, 166, 0.18);
}

.ps-card--accent-teal .ps-bg-text {
    color: rgba(20, 184, 166, 0.09);
}

.ps-card--accent-teal .ps-card-glow {
    background: radial-gradient(ellipse at 85% 60%, rgba(20, 184, 166, 0.13) 0%, transparent 62%);
}

.ps-card--accent-teal .ps-badge {
    background: rgba(20, 184, 166, 0.12);
    color: var(--co-teal);
    border: 1px solid rgba(20, 184, 166, 0.22);
}

.ps-card--accent-teal .ps-view-all {
    color: var(--co-teal);
}

.ps-card--accent-teal .ps-view-all-line {
    background: var(--co-teal);
}

/* Violet */
.ps-card--accent-violet {
    background: linear-gradient(150deg, #e8e0ff 0%, #f9f7ff 65%, #f3effe 100%);
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.10);
}

.ps-card--accent-violet:hover {
    box-shadow: 0 16px 44px rgba(139, 92, 246, 0.18);
}

.ps-card--accent-violet .ps-bg-text {
    color: rgba(139, 92, 246, 0.08);
}

.ps-card--accent-violet .ps-card-glow {
    background: radial-gradient(ellipse at 85% 60%, rgba(139, 92, 246, 0.12) 0%, transparent 62%);
}

.ps-card--accent-violet .ps-badge {
    background: rgba(139, 92, 246, 0.10);
    color: var(--co-violet);
    border: 1px solid rgba(139, 92, 246, 0.20);
}

.ps-card--accent-violet .ps-view-all {
    color: var(--co-violet);
}

.ps-card--accent-violet .ps-view-all-line {
    background: var(--co-violet);
}

/* Amber */
.ps-card--accent-amber {
    background: linear-gradient(150deg, #fdefc0 0%, #fffdf5 65%, #fef9e8 100%);
    box-shadow: 0 4px 20px rgba(245, 158, 11, 0.10);
}

.ps-card--accent-amber:hover {
    box-shadow: 0 16px 44px rgba(245, 158, 11, 0.18);
}

.ps-card--accent-amber .ps-bg-text {
    color: rgba(245, 158, 11, 0.08);
}

.ps-card--accent-amber .ps-card-glow {
    background: radial-gradient(ellipse at 85% 60%, rgba(245, 158, 11, 0.12) 0%, transparent 62%);
}

.ps-card--accent-amber .ps-badge {
    background: rgba(245, 158, 11, 0.12);
    color: var(--co-amber);
    border: 1px solid rgba(245, 158, 11, 0.22);
}

.ps-card--accent-amber .ps-view-all {
    color: var(--co-amber);
}

.ps-card--accent-amber .ps-view-all-line {
    background: var(--co-amber);
}

/* Green */
.ps-card--accent-green {
    background: linear-gradient(150deg, #c8f5e0 0%, #f0fdf6 65%, #e4fded 100%);
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.10);
}

.ps-card--accent-green:hover {
    box-shadow: 0 16px 44px rgba(16, 185, 129, 0.18);
}

.ps-card--accent-green .ps-bg-text {
    color: var(--co-green-fill);
}

.ps-card--accent-green .ps-card-glow {
    background: radial-gradient(ellipse at 85% 60%, var(--co-green-fill) 0%, transparent 62%);
}

.ps-card--accent-green .ps-badge {
    background: var(--co-green-fill);
    color: var(--co-green);
    border: 1px solid var(--co-green-border);
}

.ps-card--accent-green .ps-view-all {
    color: var(--co-green);
}

.ps-card--accent-green .ps-view-all-line {
    background: var(--co-green);
}

/* ── Card Internal Elements ── */
.ps-card-top {
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
    z-index: 2;
    flex: 1;
}

.ps-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-family: var(--font-primary);
    font-size: 0.63rem;
    font-weight: 700;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    padding: 5px 11px 5px 8px;
    border-radius: var(--radius-full);
    width: fit-content;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: transform 400ms cubic-bezier(0.22, 1, 0.36, 1);
}

.ps-card:hover .ps-badge {
    transform: translateY(-1px);
}

.ps-badge-flame {
    font-size: 0.70rem;
    line-height: 1;
}

.ps-card-title {
    font-family: var(--font-display);
    font-size: clamp(1.02rem, 1.45vw, 1.22rem);
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.22;
    margin: 0;
    max-width: 56%;
    transition: color 400ms ease;
}

.ps-view-all {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-family: var(--font-primary);
    font-size: 0.82rem;
    font-weight: 700;
    margin-top: auto;
    padding-top: 18px;
    position: relative;
    z-index: 2;
    text-decoration: none;
    width: fit-content;
    transition: gap 400ms cubic-bezier(0.22, 1, 0.36, 1);
}

.ps-view-all svg {
    flex-shrink: 0;
    transition: transform 400ms cubic-bezier(0.22, 1, 0.36, 1);
}

.ps-view-all-line {
    position: absolute;
    bottom: -2px;
    left: 0;
    height: 1.5px;
    width: 0;
    border-radius: var(--radius-full);
    transition: width 400ms cubic-bezier(0.22, 1, 0.36, 1);
}

.ps-card:hover .ps-view-all {
    gap: 11px;
}

.ps-card:hover .ps-view-all svg {
    transform: translateX(4px);
}

.ps-card:hover .ps-view-all-line {
    width: 100%;
}

/* ── Background Ghost Text ── */
.ps-bg-text {
    position: absolute;
    bottom: 100px;
    /* left: 16px; */
    right: 16px;
    font-family: var(--font-display);
    font-size: clamp(3.7rem, 3.2vw, 2.6rem);
    font-weight: 900;
    white-space: nowrap;
    overflow: hidden;
    line-height: 1;
    pointer-events: none;
    z-index: 1;
    letter-spacing: -0.025em;
    user-select: none;
    transition: opacity 400ms ease;
}

.ps-card:hover .ps-bg-text {
    opacity: 0.65;
}

/* ── Character Image ── */
.ps-card-img-wrap {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 46%;
    max-width: 160px;
    height: 92%;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    z-index: 3;
    pointer-events: none;
}

.ps-card-img-wrap img {
    width: 100%;
    height: auto;
    max-height: 100%;
    object-fit: contain;
    object-position: bottom right;
    display: block;
    filter: drop-shadow(0 4px 12px rgba(13, 31, 45, 0.11));
    transition:
        transform 500ms cubic-bezier(0.22, 1, 0.36, 1),
        filter 500ms ease;
    will-change: transform;
}

.ps-card:hover .ps-card-img-wrap img {
    transform: translateY(-8px) scale(1.05);
    filter: drop-shadow(0 10px 22px rgba(13, 31, 45, 0.16));
}

/* ── Radial Glow Overlay ── */
.ps-card-glow {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    border-radius: inherit;
    opacity: 0.45;
    transition: opacity 500ms ease;
}

.ps-card:hover .ps-card-glow {
    opacity: 1;
}

/* ══ Responsive ══════════════════════════════════════════════════════ */
@media (max-width: 1199px) {
    .ps-card {
        min-height: 215px;
    }

    .ps-card-title {
        font-size: clamp(0.95rem, 1.3vw, 1.1rem);
    }
}

@media (max-width: 991px) {
    .ps-section {
        padding: 68px 0 76px;
    }

    .ps-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .ps-heading-cell {
        grid-column: 1 / 3;
        grid-row: 1 / 2;
    }

    .ps-heading-inner {
        flex-direction: row;
        align-items: center;
        flex-wrap: wrap;
        gap: 14px 28px;
        padding-right: 0;
        padding-bottom: 6px;
    }

    .ps-main-title {
        font-size: 2.1rem;
    }

    .ps-sub-text {
        display: none;
    }

    .ps-card--1 {
        grid-column: 1 / 2;
        grid-row: 2 / 3;
    }

    .ps-card--2 {
        grid-column: 2 / 3;
        grid-row: 2 / 3;
    }

    .ps-card--3 {
        grid-column: 1 / 2;
        grid-row: 3 / 4;
    }

    .ps-card--4 {
        grid-column: 2 / 3;
        grid-row: 3 / 4;
    }

    .ps-card--5 {
        grid-column: 1 / 2;
        grid-row: 4 / 5;
    }
}

@media (max-width: 575px) {
    .ps-section {
        padding: 52px 0 60px;
    }

    .ps-grid {
        grid-template-columns: 1fr;
        gap: 13px;
    }

    .ps-heading-cell {
        grid-column: 1 / 2;
        grid-row: 1 / 2;
    }

    .ps-heading-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .ps-card--1 {
        grid-column: 1 / 2;
        grid-row: 2 / 3;
    }

    .ps-card--2 {
        grid-column: 1 / 2;
        grid-row: 3 / 4;
    }

    .ps-card--3 {
        grid-column: 1 / 2;
        grid-row: 4 / 5;
    }

    .ps-card--4 {
        grid-column: 1 / 2;
        grid-row: 5 / 6;
    }

    .ps-card--5 {
        grid-column: 1 / 2;
        grid-row: 6 / 7;
    }

    .ps-card {
        min-height: 180px;
        padding: 22px 18px 18px 22px;
    }

    .ps-card-title {
        max-width: 54%;
        font-size: 1rem;
    }

    .ps-main-title {
        font-size: 1.9rem;
    }

    .ps-bg-text {
        font-size: 1.5rem;
        bottom: 40px;
    }

    .ps-card-img-wrap {
        width: 42%;
        max-width: 132px;
    }
}

/* ══════════════════════════════════════════════════════════════════
   APP DOWNLOAD SECTION
   Outer bg: white | Card: lavender with refined border
   ══════════════════════════════════════════════════════════════════ */

.apd-section {
    padding: 60px 0;
    background: var(--bg-card)
        /* ← clean white outer bg */
}

/* ── Card ── */
.apd-card {
    display: grid;
    grid-template-columns: 1fr 340px 200px;
    align-items: center;
    background: #ede9fe;
    border-radius: 24px;
    padding: 48px 40px 0 52px;
    position: relative;
    overflow: hidden;
    min-height: 280px;
    gap: 0;

    /* ── Better border ── */
    border: 1.5px solid rgba(109, 40, 217, 0.18);
    box-shadow:
        0 0 0 4px rgba(109, 40, 217, 0.05),
        /* soft outer violet glow ring */
        0 8px 32px rgba(109, 40, 217, 0.10),
        /* depth shadow */
        0 2px 8px rgba(13, 31, 45, 0.06),
        /* subtle base shadow */
        inset 0 1px 0 rgba(255, 255, 255, 0.70);
    /* inner top highlight */
}

/* ── LEFT ─────────────────────────────────────────────── */
.apd-left {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-bottom: 48px;
    padding-right: 32px;
}

.apd-title {
    font-family: var(--font-display);
    font-size: clamp(1.9rem, 3vw, 2.7rem);
    font-weight: 800;
    color: #4c1d95;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin: 0;
}

.apd-subtitle {
    font-family: var(--font-primary);
    font-size: 0.875rem;
    color: #5b5b7b;
    line-height: 1.65;
    margin: -4px 0 0;
}

/* CTA Box */
.apd-cta-box {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #fff;
    border: 1.5px solid rgba(109, 40, 217, 0.14);
    border-radius: 16px;
    padding: 18px 20px;
    width: fit-content;
    box-shadow:
        0 2px 14px rgba(109, 40, 217, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
    margin-top: 4px;
}

.apd-cta-inner {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Scan label */
.apd-scan-label {
    display: flex;
    align-items: center;
    gap: 7px;
    font-family: var(--font-primary);
    font-size: 0.80rem;
    font-weight: 500;
    color: #5b5b7b;
    margin: 0;
}

.apd-scan-ico {
    width: 14px;
    height: 14px;
    stroke: #7c3aed;
    flex-shrink: 0;
}

/* Store buttons */
.apd-stores {
    display: flex;
    gap: 10px;
}

.apd-store-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 10px;
    text-decoration: none;
    font-family: var(--font-primary);
    flex-shrink: 0;
    transition:
        transform 260ms cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

.apd-store-btn--dark {
    background: #111827;
    color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.22);
}

.apd-store-btn--blue {
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    color: #fff;
    box-shadow: 0 2px 10px rgba(37, 99, 235, 0.30);
}

.apd-store-btn--dark:hover {
    background: #4c1d95;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(76, 29, 149, 0.32);
    color: #fff;
    text-decoration: none;
}

.apd-store-btn--blue:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.36);
    color: #fff;
    text-decoration: none;
}

.apd-store-btn:active {
    transform: translateY(0);
}

.apd-store-ico {
    width: 17px;
    height: 17px;
    stroke: currentColor;
    flex-shrink: 0;
}

.apd-store-text {
    display: flex;
    flex-direction: column;
    gap: 1px;
    line-height: 1.2;
}

.apd-store-text small {
    font-size: 0.58rem;
    font-weight: 500;
    opacity: 0.80;
    letter-spacing: 0.03em;
}

.apd-store-text strong {
    font-size: 0.82rem;
    font-weight: 700;
}

/* QR */
.apd-qr {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.apd-qr-img {
    width: 88px;
    height: 88px;
    border-radius: 10px;
    border: 1.5px solid rgba(109, 40, 217, 0.18);
    background: #fff;
    object-fit: contain;
    padding: 4px;
    display: block;
    box-shadow: 0 2px 8px rgba(109, 40, 217, 0.08);
}

.apd-qr.apd-qr-ph .apd-qr-img {
    display: none;
}

.apd-qr.apd-qr-ph::before {
    content: '';
    width: 88px;
    height: 88px;
    border-radius: 10px;
    border: 2px dashed rgba(109, 40, 217, 0.25);
    background: rgba(109, 40, 217, 0.05);
    display: block;
}

.apd-qr-caption {
    font-family: var(--font-primary);
    font-size: 0.65rem;
    font-weight: 500;
    color: #5b5b7b;
    text-align: center;
}

/* ── PHONE ────────────────────────────────────────────── */
.apd-phone-col {
    position: relative;
    align-self: flex-end;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    height: 100%;
}

.apd-phone-img {
    width: 100%;
    max-width: 320px;
    height: auto;
    display: block;
    object-fit: contain;
    filter: drop-shadow(0 16px 36px rgba(76, 29, 149, 0.20));
    transform: rotate(3deg);
    transform-origin: bottom center;
    margin-bottom: -4px;
    animation: apd-phone-float 5s ease-in-out infinite;
}

@keyframes apd-phone-float {
    0%, 100% {
        transform: rotate(3deg) translateY(0);
    }

    50% {
        transform: rotate(3deg) translateY(-10px);
    }
}

.apd-phone-col.apd-phone-ph {
    width: 100%;
    height: 280px;
    background: linear-gradient(160deg,
            rgba(109, 40, 217, 0.08) 0%,
            rgba(37, 99, 235, 0.06) 100%);
    border-radius: 16px;
    border: 2px dashed rgba(109, 40, 217, 0.20);
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: center;
}

.apd-phone-col.apd-phone-ph::after {
    content: 'Phone Mockup';
    font-family: var(--font-primary);
    font-size: 0.75rem;
    color: #7c7c9a;
}

/* ── METRICS ──────────────────────────────────────────── */
.apd-metrics {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0;
    padding: 48px 0 48px 32px;
    align-self: center;
}

.apd-metric {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 0;
}

.apd-metrics-divider {
    height: 1px;
    background: linear-gradient(90deg,
            rgba(109, 40, 217, 0.20) 0%,
            rgba(109, 40, 217, 0.05) 100%);
    border-radius: 99px;
    margin: 0 2px;
}

.apd-metric-star {
    font-size: 1.6rem;
    line-height: 1;
    flex-shrink: 0;
}

.apd-metric-dl-ico {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(109, 40, 217, 0.12);
    border: 1.5px solid rgba(109, 40, 217, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #7c3aed;
}

.apd-dl-lucide {
    width: 18px;
    height: 18px;
    stroke: currentColor;
}

.apd-metric-body {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.apd-metric-val {
    font-family: var(--font-display);
    font-size: 1.65rem;
    font-weight: 800;
    color: #1e1b4b;
    letter-spacing: -0.02em;
    line-height: 1.0;
}

.apd-metric-lbl {
    font-family: var(--font-primary);
    font-size: 0.73rem;
    color: #7c3aed;
    font-weight: 600;
    white-space: nowrap;
}

/* ══ RESPONSIVE ══════════════════════════════════════════ */

@media (max-width: 1199px) {
    .apd-card {
        grid-template-columns: 1fr 280px 185px;
        padding: 40px 32px 0 40px;
    }

    .apd-phone-img {
        max-width: 270px;
    }
}

@media (max-width: 991px) {
    .apd-card {
        grid-template-columns: 1fr auto;
        grid-template-rows: auto auto;
        padding: 36px 28px 0 32px;
    }

    .apd-left {
        grid-column: 1;
        grid-row: 1;
        padding-right: 20px;
        padding-bottom: 28px;
    }

    .apd-phone-col {
        grid-column: 2;
        grid-row: 1 / 3;
        align-self: flex-end;
    }

    .apd-metrics {
        grid-column: 1;
        grid-row: 2;
        flex-direction: row;
        gap: 0;
        padding: 0 0 32px;
        align-items: center;
    }

    .apd-metrics-divider {
        width: 1px;
        height: 44px;
        background: linear-gradient(to bottom,
                rgba(109, 40, 217, 0.20) 0%,
                rgba(109, 40, 217, 0.05) 100%);
        margin: 0 20px;
    }

    .apd-phone-img {
        max-width: 230px;
    }

    .apd-cta-box {
        width: 100%;
    }
}

@media (max-width: 767px) {
    .apd-section {
        padding: 40px 0;
    }

    .apd-card {
        grid-template-columns: 1fr;
        padding: 28px 24px 0;
    }

    .apd-left {
        grid-column: 1;
        grid-row: 1;
        padding-right: 0;
        padding-bottom: 20px;
    }

    .apd-metrics {
        grid-column: 1;
        grid-row: 2;
        flex-direction: row;
        padding: 0 0 20px;
    }

    .apd-phone-col {
        grid-column: 1;
        grid-row: 3;
        justify-content: center;
    }

    .apd-phone-img {
        max-width: 210px;
        margin: 0 auto;
    }

    .apd-cta-box {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
        width: 100%;
    }

    .apd-qr {
        flex-direction: row;
        gap: 10px;
        align-items: center;
    }

    .apd-qr-caption {
        text-align: left;
    }

    .apd-metrics-divider {
        width: 1px;
        height: 44px;
        background: linear-gradient(to bottom,
                rgba(109, 40, 217, 0.20) 0%,
                rgba(109, 40, 217, 0.05) 100%);
        margin: 0 16px;
    }
}

@media (max-width: 575px) {
    .apd-card {
        padding: 22px 18px 0;
        border-radius: 18px;
    }

    .apd-title {
        font-size: 1.7rem;
    }

    .apd-subtitle {
        font-size: 0.80rem;
    }

    .apd-stores {
        flex-direction: column;
    }

    .apd-store-btn {
        justify-content: center;
    }

    .apd-cta-box {
        padding: 14px;
    }

    .apd-phone-img {
        max-width: 170px;
    }

    .apd-metric-val {
        font-size: 1.35rem;
    }
}

/* ════════════════════════════════════════════════════════════════
   WANT TO HIRE — Enhanced Employer Banner v2
   Uses new --bg-soft-* palette + vibrant card system
   ════════════════════════════════════════════════════════════════ */

.afe-section {
    padding: 56px 0 64px;
    background: var(--bg-main);
    position: relative;
}

/* ── Card ──────────────────────────────────────────────────── */
.afe-card {
    position: relative;
    display: flex;
    align-items: stretch;
    overflow: hidden;
    min-height: 320px;
    border-radius: 28px;
    border: 1.5px solid rgba(46, 139, 224, 0.18);

    /* Soft green background from new palette */
    background:
        radial-gradient(ellipse at 0% 100%, rgba(16, 185, 129, 0.10) 0%, transparent 55%),
        radial-gradient(ellipse at 100% 0%, rgba(46, 139, 224, 0.10) 0%, transparent 55%),
        var(--bg-soft-green);

    box-shadow:
        0 1px 3px rgba(0, 0, 0, 0.05),
        0 8px 28px rgba(46, 139, 224, 0.10),
        0 0 0 1px rgba(255, 255, 255, 0.60) inset;

    transition:
        box-shadow 380ms cubic-bezier(0.22, 1, 0.36, 1),
        transform 200ms ease;
}

.afe-card:hover {
    box-shadow:
        0 4px 8px rgba(0, 0, 0, 0.06),
        0 20px 48px rgba(46, 139, 224, 0.14),
        0 0 0 1px rgba(255, 255, 255, 0.70) inset;
    transform: translateY(-2px);
}

/* ── Decorative Blobs ──────────────────────────────────────── */
.afe-blob {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.afe-blob--1 {
    width: 400px;
    height: 400px;
    top: -120px;
    right: 60px;
    background: radial-gradient(circle, rgba(46, 139, 224, 0.12) 0%, transparent 70%);
}

.afe-blob--2 {
    width: 260px;
    height: 260px;
    bottom: -90px;
    right: 280px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.12) 0%, transparent 70%);
}

.afe-blob--3 {
    width: 180px;
    height: 180px;
    top: -40px;
    left: 30%;
    background: radial-gradient(circle, rgba(101, 163, 13, 0.08) 0%, transparent 70%);
}

/* ── Dot grid ──────────────────────────────────────────────── */
.afe-deco-dots {
    position: absolute;
    bottom: 20px;
    right: 24px;
    z-index: 0;
    pointer-events: none;
    opacity: 0.65;
}

/* ── Floating stat chips ───────────────────────────────────── */
.afe-float-chip {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.90);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 99px;
    padding: 5px 12px 5px 8px;
    font-family: var(--font-primary);
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--text-primary);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.09);
    z-index: 3;
    animation: afe-float 3.5s ease-in-out infinite;
}

.afe-float-chip--1 {
    top: 22px;
    left: 30%;
    animation-delay: 0s;
}

.afe-float-chip--2 {
    bottom: 28px;
    left: 28%;
    animation-delay: 1.2s;
}

@keyframes afe-float {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}

.afe-chip-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

/* ── LEFT: Image ───────────────────────────────────────────── */
.afe-left {
    flex: 0 0 42%;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 0 0 24px;
    overflow: visible;
}

.afe-img-wrap {
    position: relative;
    width: 100%;
    max-width: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.afe-people-img {
    width: 88%;
    max-height: 340px;
    object-fit: contain;
    object-position: bottom center;
    display: block;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 12px 28px rgba(13, 31, 45, 0.13));
    transition: transform 500ms cubic-bezier(0.22, 1, 0.36, 1);
}

.afe-card:hover .afe-people-img {
    transform: translateY(-6px) scale(1.02);
}

/* Glow ring under the image */
.afe-img-glow {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    height: 40px;
    background: radial-gradient(ellipse, rgba(46, 139, 224, 0.22) 0%, transparent 70%);
    z-index: 1;
    border-radius: 50%;
    filter: blur(8px);
}

/* ── RIGHT: Content ────────────────────────────────────────── */
.afe-right {
    flex: 1;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
    padding: 48px 48px 48px 24px;
}

/* Eyebrow */
.afe-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-family: var(--font-primary);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #065F46;
    background: rgba(5, 150, 105, 0.10);
    border: 1px solid rgba(5, 150, 105, 0.22);
    border-radius: 99px;
    padding: 5px 14px 5px 8px;
    width: fit-content;
}

.afe-eyebrow-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #059669;
    flex-shrink: 0;
    animation: afe-pulse 2.2s ease-in-out infinite;
}

@keyframes afe-pulse {
    0%, 100% {
        box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.20);
    }

    50% {
        box-shadow: 0 0 0 7px rgba(5, 150, 105, 0.07);
    }
}

/* Text block */
.afe-text-block {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.afe-heading {
    font-family: var(--font-display);
    font-size: clamp(1.9rem, 3vw, 2.7rem);
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.12;
    margin: 0;
    letter-spacing: -0.03em;
}

.afe-heading-hl {
    background: linear-gradient(135deg, #059669 0%, #2563eb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.afe-desc {
    font-family: var(--font-primary);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.65;
    max-width: 380px;
}

.afe-desc strong {
    color: var(--text-primary);
    font-weight: 700;
}

/* ── Stats row ─────────────────────────────────────────────── */
.afe-stats {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 14px 20px;
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid rgba(46, 139, 224, 0.14);
    border-radius: 14px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    width: fit-content;
}

.afe-stat {
    display: flex;
    flex-direction: column;
    gap: 2px;
    text-align: center;
}

.afe-stat-val {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
    letter-spacing: -0.02em;
}

.afe-stat-lbl {
    font-family: var(--font-primary);
    font-size: 0.62rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    white-space: nowrap;
}

.afe-stat-div {
    width: 1px;
    height: 32px;
    background: rgba(46, 139, 224, 0.18);
    flex-shrink: 0;
}

/* ── CTA Row ───────────────────────────────────────────────── */
.afe-cta-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* Primary CTA */
.afe-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: linear-gradient(135deg, #059669 0%, #2563eb 100%);
    border: none;
    border-radius: 99px;
    padding: 13px 28px;
    font-family: var(--font-primary);
    font-size: 0.88rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    letter-spacing: 0.02em;
    box-shadow: 0 4px 16px rgba(5, 150, 105, 0.28), 0 1px 0 rgba(255, 255, 255, 0.18) inset;
    transition:
        transform 260ms cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 260ms ease,
        gap 220ms ease;
    white-space: nowrap;
}

.afe-btn-primary:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 8px 24px rgba(5, 150, 105, 0.34), 0 1px 0 rgba(255, 255, 255, 0.22) inset;
    color: #fff;
    text-decoration: none;
    gap: 10px;
}

.afe-btn-primary:active {
    transform: translateY(0) scale(0.98);
}

/* Ghost CTA */
.afe-btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.70);
    border: 1.5px solid rgba(46, 139, 224, 0.28);
    border-radius: 99px;
    padding: 12px 22px;
    font-family: var(--font-primary);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition:
        background 240ms ease,
        border-color 240ms ease,
        color 240ms ease,
        transform 200ms ease;
    white-space: nowrap;
}

.afe-btn-ghost:hover {
    background: rgba(46, 139, 224, 0.10);
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
    text-decoration: none;
}

/* ════════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════════ */
@media (max-width: 991px) {
    .afe-left {
        flex: 0 0 40%;
    }

    .afe-right {
        padding: 36px 32px 36px 20px;
        gap: 18px;
    }

    .afe-float-chip {
        display: none;
    }
}

@media (max-width: 767px) {
    .afe-card {
        flex-direction: column;
        min-height: unset;
        border-radius: 22px;
    }

    .afe-left {
        flex: unset;
        width: 100%;
        height: 240px;
        padding: 0;
        justify-content: center;
    }

    .afe-people-img {
        max-height: 220px;
        width: auto;
    }

    .afe-right {
        padding: 28px 24px;
        align-items: center;
        text-align: center;
        gap: 16px;
    }

    .afe-eyebrow {
        margin: 0 auto;
    }

    .afe-desc {
        max-width: 100%;
    }

    .afe-stats {
        margin: 0 auto;
    }

    .afe-cta-row {
        justify-content: center;
    }

    .afe-btn-primary,
    .afe-btn-ghost {
        width: 100%;
        max-width: 240px;
        justify-content: center;
    }

    .afe-deco-dots {
        display: none;
    }
}

@media (max-width: 480px) {
    .afe-card {
        border-radius: 18px;
    }

    .afe-heading {
        font-size: 1.75rem;
    }

    .afe-right {
        padding: 22px 18px;
    }

    .afe-stats {
        gap: 14px;
        padding: 12px 16px;
    }

    .afe-stat-val {
        font-size: 1rem;
    }
}