/* ============================================
   PREMIUM VISUAL UPGRADES
   Cursor glow, Card shine, Text reveals,
   Glassmorphism, SVG icons, Premium animations
   ============================================ */

/* ── Cursor Glow ── */
.cursor-glow {
    position: fixed;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle,
            rgba(79, 125, 249, 0.06) 0%,
            rgba(139, 92, 246, 0.03) 30%,
            transparent 70%);
    pointer-events: none;
    z-index: 0;
    transform: translate(-50%, -50%);
    will-change: left, top;
    mix-blend-mode: screen;
}

/* ── Card Shine Overlay ── */
.card-shine {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    border-radius: inherit;
    transition: background 0.3s ease;
}

/* ── Text Reveal Animation ── */
.text-reveal {
    overflow: hidden;
}

.text-reveal-word {
    display: inline-block;
    opacity: 0;
    transform: translateY(100%);
    transition: opacity 0.6s cubic-bezier(0.23, 1, 0.32, 1),
        transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.text-revealed .text-reveal-word {
    opacity: 1;
    transform: translateY(0);
}

/* ── Premium Scroll Progress ── */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg,
            var(--color-accent-blue),
            var(--color-accent-purple),
            var(--color-accent-gold));
    z-index: 10000;
    transition: width 0.05s linear;
    box-shadow: 0 0 15px rgba(79, 125, 249, 0.5);
}

/* ── Premium Glassmorphism Cards ── */
.glass-card {
    background: rgba(15, 22, 48, 0.4);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--border-radius-xl);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), transparent 60%);
    pointer-events: none;
}

/* ── Utilities ── */
.text-glow {
    text-shadow: 0 0 20px rgba(var(--accent-primary-rgb), 0.3);
}

.gradient-text-gold {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Growth Accelerator Gateway ── */
.accelerator-gateway {
    position: relative;
    padding: var(--space-24) 0;
    overflow: hidden;
    background: linear-gradient(to bottom, transparent, rgba(var(--accent-primary-rgb), 0.03));
}

.ag-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-8);
    align-items: stretch;
}

@media (min-width: 1024px) {
    .ag-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.ag-offer-highlight {
    position: relative;
    overflow: hidden;
}

.ag-offer-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 215, 0, 0.05), transparent);
    z-index: 0;
    pointer-events: none;
}

.ag-offer-highlight>* {
    position: relative;
    z-index: 1;
}

.ag-terms-block {
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.2);
}

.custom-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: var(--accent-primary);
    cursor: pointer;
}

/* ── Floating Accelerator Modals ── */
.ag-floating-btn {
    position: fixed;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    background: linear-gradient(135deg, rgba(var(--accent-primary-rgb), 0.9), rgba(0, 150, 255, 0.9));
    color: white;
    padding: 1rem 0.8rem;
    border-radius: 0 12px 12px 0;
    box-shadow: 0 5px 20px rgba(var(--accent-primary-rgb), 0.4);
    z-index: 9990;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-left: none;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.ag-floating-btn:hover {
    transform: translateY(-50%) translateX(5px);
    box-shadow: 0 8px 25px rgba(var(--accent-primary-rgb), 0.6);
}

.ag-floating-btn .btn-glow {
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: inherit;
    filter: blur(10px);
    opacity: 0.5;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.ag-floating-btn:hover .btn-glow {
    opacity: 0.8;
}

.ag-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(4, 7, 13, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.ag-modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.ag-modal-content {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 2rem;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 20px;
    background: var(--surface-dark);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.1);
    transform: scale(0.95) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    scrollbar-width: none;
    /* Firefox */
}

.ag-modal-content::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

.ag-modal-overlay.active .ag-modal-content {
    transform: scale(1) translateY(0);
}

.ag-modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10000;
    transition: all 0.2s ease;
}

.ag-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

/* ── Header ── */
/* ── Animated Gradient Border ── */
.gradient-border {
    position: relative;
    border: none !important;
}

.gradient-border::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: conic-gradient(from var(--border-angle, 0deg),
            var(--color-accent-blue),
            var(--color-accent-purple),
            var(--color-accent-gold),
            var(--color-accent-cyan),
            var(--color-accent-blue));
    z-index: -1;
    animation: rotate-gradient 4s linear infinite;
    opacity: 0.4;
    transition: opacity 0.3s ease;
}

.gradient-border:hover::before {
    opacity: 1;
}

.gradient-border::after {
    content: '';
    position: absolute;
    inset: 1px;
    background: var(--color-bg-card);
    border-radius: inherit;
    z-index: -1;
}

@keyframes rotate-gradient {
    to {
        --border-angle: 360deg;
    }
}

@property --border-angle {
    syntax: '<angle>';
    inherits: false;
    initial-value: 0deg;
}

/* ── Premium Hero Visual Enhancements ── */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 50% 0%, rgba(79, 125, 249, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse 60% 40% at 80% 30%, rgba(139, 92, 246, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse 50% 30% at 20% 70%, rgba(212, 168, 67, 0.06) 0%, transparent 50%);
    z-index: 0;
    pointer-events: none;
}

/* Premium grid pattern */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(79, 125, 249, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(79, 125, 249, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
    opacity: 0.5;
    z-index: 0;
    pointer-events: none;
}

/* ── Premium Section Backgrounds ── */
.section--dark {
    background:
        radial-gradient(ellipse at 20% 50%, rgba(79, 125, 249, 0.04) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(139, 92, 246, 0.03) 0%, transparent 50%),
        var(--color-bg-secondary);
}

/* ── Floating Badge Glow ── */
.section-label {
    position: relative;
    overflow: hidden;
}

.section-label::after {
    content: '';
    position: absolute;
    inset: -50%;
    background: conic-gradient(from 0deg, transparent 0%, rgba(79, 125, 249, 0.1) 10%, transparent 20%);
    animation: badge-shimmer 3s linear infinite;
}

@keyframes badge-shimmer {
    to {
        transform: rotate(360deg);
    }
}

/* ── Premium SVG Icon System ── */
.premium-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: var(--border-radius-lg);
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.premium-icon--blue {
    background: linear-gradient(135deg, rgba(79, 125, 249, 0.15), rgba(79, 125, 249, 0.05));
    box-shadow: 0 0 30px rgba(79, 125, 249, 0.1);
}

.premium-icon--purple {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(139, 92, 246, 0.05));
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.1);
}

.premium-icon--gold {
    background: linear-gradient(135deg, rgba(212, 168, 67, 0.15), rgba(212, 168, 67, 0.05));
    box-shadow: 0 0 30px rgba(212, 168, 67, 0.1);
}

.premium-icon--red {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15), rgba(239, 68, 68, 0.05));
    box-shadow: 0 0 30px rgba(239, 68, 68, 0.1);
}

.premium-icon--green {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(16, 185, 129, 0.05));
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.1);
}

.premium-icon--cyan {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.15), rgba(0, 212, 255, 0.05));
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.1);
}

.premium-icon svg {
    width: 28px;
    height: 28px;
    stroke-width: 1.5;
    fill: none;
}

.premium-icon--blue svg {
    stroke: var(--color-accent-blue);
}

.premium-icon--purple svg {
    stroke: var(--color-accent-purple);
}

.premium-icon--gold svg {
    stroke: var(--color-accent-gold);
}

.premium-icon--red svg {
    stroke: #ef4444;
}

.premium-icon--green svg {
    stroke: var(--color-accent-green);
}

.premium-icon--cyan svg {
    stroke: var(--color-accent-cyan);
}

.premium-icon svg {
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.premium-icon:hover svg {
    transform: scale(1.15) rotate(5deg);
    filter: drop-shadow(0 0 8px currentColor);
}

/* Icon glow pulse */
.premium-icon::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.premium-icon--blue::after {
    box-shadow: inset 0 0 20px rgba(79, 125, 249, 0.2);
}

.premium-icon--purple::after {
    box-shadow: inset 0 0 20px rgba(139, 92, 246, 0.2);
}

*:hover>.premium-icon::after {
    opacity: 1;
}

/* ── Premium Cost Cards ── */
.cost-card {
    background: rgba(15, 22, 48, 0.6);
    border: 1px solid rgba(239, 68, 68, 0.15);
    border-radius: var(--border-radius-xl);
    padding: var(--space-8);
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.cost-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, rgba(239, 68, 68, 0.5), rgba(239, 68, 68, 0.8), rgba(239, 68, 68, 0.5));
}

.cost-card:hover {
    border-color: rgba(239, 68, 68, 0.3);
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(239, 68, 68, 0.1);
}

.cost-card .cost-icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-4);
}

.cost-card .cost-amount {
    font-family: var(--font-primary);
    font-size: var(--text-2xl);
    font-weight: 800;
    color: #ef4444;
    margin-bottom: var(--space-2);
}

.cost-card h4 {
    font-size: var(--text-lg);
    margin-bottom: var(--space-3);
}

.cost-card p {
    font-size: var(--text-sm);
    line-height: var(--leading-relaxed);
}

/* ── Premium Transformation Grid ── */
.transform-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: var(--space-6);
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.transform-before,
.transform-after {
    background: rgba(15, 22, 48, 0.6);
    border-radius: var(--border-radius-xl);
    padding: var(--space-8);
    position: relative;
    overflow: hidden;
}

.transform-before {
    border: 1px solid rgba(239, 68, 68, 0.15);
}

.transform-before::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(239, 68, 68, 0.5), transparent);
}

.transform-after {
    border: 1px solid rgba(16, 185, 129, 0.15);
}

.transform-after::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.5), transparent);
}

.transform-label {
    display: inline-block;
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wider);
    font-weight: 700;
    padding: var(--space-1) var(--space-3);
    border-radius: var(--border-radius-full);
    margin-bottom: var(--space-4);
}

.transform-label--before {
    background: rgba(239, 68, 68, 0.12);
    color: #ef4444;
}

.transform-label--after {
    background: rgba(16, 185, 129, 0.12);
    color: var(--color-accent-green);
}

.transform-list {
    list-style: none;
    padding: 0;
}

.transform-list li {
    padding: var(--space-3) 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    position: relative;
    padding-left: var(--space-6);
}

.transform-list li::before {
    position: absolute;
    left: 0;
    font-size: var(--text-sm);
}

.transform-before .transform-list li::before {
    content: '✕';
    color: #ef4444;
}

.transform-after .transform-list li::before {
    content: '✓';
    color: var(--color-accent-green);
}

.transform-list li:last-child {
    border-bottom: none;
}

.transform-arrow {
    font-size: var(--text-3xl);
    color: var(--color-accent-gold);
    font-weight: 700;
    text-align: center;
}

@media (max-width: 768px) {
    .transform-grid {
        grid-template-columns: 1fr;
    }

    .transform-arrow {
        transform: rotate(90deg);
    }
}

/* ── Premium Glass Inputs & Global Forms ── */
.glass-input, .form-control {
    background: rgba(15, 22, 48, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-md);
    color: var(--color-text-primary);
    padding: var(--space-3) var(--space-4);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(12px) saturate(150%);
    -webkit-backdrop-filter: blur(12px) saturate(150%);
    width: 100%;
    font-size: var(--text-base);
    box-sizing: border-box;
    font-family: var(--font-secondary);
}

.glass-input:focus, .form-control:focus {
    outline: none;
    background: rgba(15, 22, 48, 0.6);
    border-color: var(--color-accent-gold);
    box-shadow: 0 0 0 4px rgba(212, 168, 67, 0.15), inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.glass-input::placeholder, .form-control::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

/* ── Premium Value Stack ── */
.value-stack {
    max-width: 600px;
    margin: 0 auto;
    border-radius: var(--border-radius-xl);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.value-stack-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-4) var(--space-6);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    background: rgba(15, 22, 48, 0.4);
    transition: background 0.2s ease;
}

.value-stack-item:hover {
    background: rgba(79, 125, 249, 0.04);
}

.value-stack-item::before {
    content: '✓';
    color: var(--color-accent-green);
    font-weight: 700;
    margin-right: var(--space-3);
    flex-shrink: 0;
}

.value-stack-name {
    flex: 1;
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
}

.value-stack-price {
    font-family: var(--font-primary);
    font-weight: 700;
    color: var(--color-text-muted);
    text-decoration: line-through;
    font-size: var(--text-sm);
    opacity: 0.6;
}

.value-stack-total {
    text-align: center;
    padding: var(--space-8);
    background: rgba(212, 168, 67, 0.06);
    border: 1px solid rgba(212, 168, 67, 0.15);
    border-radius: var(--border-radius-xl);
    margin-top: var(--space-4);
}

.value-stack-total-label {
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wider);
    color: var(--color-text-muted);
    margin-bottom: var(--space-2);
}

.value-stack-total-price {
    font-family: var(--font-primary);
    font-size: var(--text-4xl);
    font-weight: 800;
    color: var(--color-text-muted);
    text-decoration: line-through;
    margin-bottom: var(--space-1);
}

.value-stack-your-price {
    font-family: var(--font-primary);
    font-size: var(--text-2xl);
    font-weight: 800;
    color: var(--color-accent-green);
}

/* ── Premium Pain/Gain Text ── */
.pain-text {
    color: #ef4444;
    position: relative;
}

.gain-text {
    color: var(--color-accent-green);
    position: relative;
}

/* ── Premium Live Badge ── */
.live-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-xs);
    color: var(--color-accent-green);
    font-weight: 500;
}

.live-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--color-accent-green);
    border-radius: 50%;
    animation: live-pulse 2s ease infinite;
}

@keyframes live-pulse {

    0%,
    100% {
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
    }

    50% {
        opacity: 0.6;
        box-shadow: 0 0 0 6px transparent;
    }
}

/* ── Premium Hero Image/Visual Area ── */
.hero-visual {
    position: relative;
    max-width: 700px;
    margin: var(--space-12) auto 0;
    border-radius: var(--border-radius-xl);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.hero-visual-inner {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    background: linear-gradient(135deg,
            rgba(79, 125, 249, 0.1) 0%,
            rgba(139, 92, 246, 0.08) 50%,
            rgba(212, 168, 67, 0.06) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Animated dashboard mockup */
.hero-dashboard {
    width: 90%;
    height: 90%;
    border-radius: var(--border-radius-lg);
    background: rgba(5, 10, 24, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.4);
}

.hero-dashboard::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 32px;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

/* Dashboard dots */
.hero-dashboard::after {
    content: '● ● ●';
    position: absolute;
    top: 8px;
    left: 12px;
    font-size: 8px;
    letter-spacing: 4px;
    color: rgba(255, 255, 255, 0.15);
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 8px;
    padding: 40px 12px 12px;
    height: 100%;
}

.dashboard-card {
    border-radius: 8px;
    background: rgba(79, 125, 249, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.03);
    position: relative;
    overflow: hidden;
}

.dashboard-card:nth-child(1)::after {
    content: '';
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
    height: 60%;
    background: linear-gradient(0deg,
            rgba(79, 125, 249, 0.3),
            rgba(79, 125, 249, 0.1) 30%,
            rgba(79, 125, 249, 0.2) 60%,
            rgba(79, 125, 249, 0.05));
    clip-path: polygon(0% 100%, 10% 80%, 20% 85%, 30% 40%, 40% 55%, 50% 30%, 60% 45%, 70% 20%, 80% 35%, 90% 10%, 100% 25%, 100% 100%);
    border-radius: 0 0 4px 4px;
}

.dashboard-card:nth-child(2) {
    display: flex;
    align-items: center;
    justify-content: center;
}

.dashboard-card:nth-child(2)::after {
    content: '';
    width: 60%;
    height: 60%;
    border-radius: 50%;
    border: 6px solid rgba(139, 92, 246, 0.3);
    border-top-color: rgba(139, 92, 246, 0.8);
    animation: rotate-stats 3s linear infinite;
}

@keyframes rotate-stats {
    to {
        transform: rotate(360deg);
    }
}

.dashboard-card:nth-child(3)::after {
    content: '';
    position: absolute;
    inset: 10px;
    background: repeating-linear-gradient(0deg,
            rgba(212, 168, 67, 0.15) 0px,
            rgba(212, 168, 67, 0.15) 8px,
            transparent 8px,
            transparent 16px);
    border-radius: 4px;
}

.dashboard-card:nth-child(4)::after {
    content: '';
    position: absolute;
    inset: 10px;
    display: flex;
    background:
        linear-gradient(90deg, rgba(16, 185, 129, 0.2) 0%, rgba(16, 185, 129, 0.2) 75%, transparent 75%),
        linear-gradient(90deg, rgba(79, 125, 249, 0.2) 0%, rgba(79, 125, 249, 0.2) 55%, transparent 55%),
        linear-gradient(90deg, rgba(212, 168, 67, 0.2) 0%, rgba(212, 168, 67, 0.2) 90%, transparent 90%);
    background-size: 100% 20px;
    background-position: 0 10px, 0 40px, 0 70px;
    background-repeat: no-repeat;
    border-radius: 4px;
}

/* Reflection effect */
.hero-visual::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: 5%;
    right: 5%;
    height: 50%;
    background: linear-gradient(to bottom,
            rgba(79, 125, 249, 0.05),
            transparent 60%);
    transform: scaleY(-1);
    filter: blur(10px);
    opacity: 0.5;
    pointer-events: none;
}

/* ── Floating Client Logos Bar ── */
.logos-track {
    display: flex;
    gap: var(--space-12);
    animation: scroll-logos 30s linear infinite;
    width: max-content;
}

@keyframes scroll-logos {
    to {
        transform: translateX(-50%);
    }
}

.logo-item {
    font-family: var(--font-primary);
    font-size: var(--text-lg);
    font-weight: 700;
    color: rgba(255, 255, 255, 0.15);
    white-space: nowrap;
    letter-spacing: var(--tracking-wide);
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.logo-item:hover {
    color: rgba(255, 255, 255, 0.3);
}

/* ── Section Number Watermark ── */
.section-number {
    position: absolute;
    top: var(--space-8);
    left: var(--space-8);
    font-family: var(--font-primary);
    font-size: 8rem;
    font-weight: 900;
    color: rgba(79, 125, 249, 0.03);
    line-height: 1;
    pointer-events: none;
    z-index: 0;
}

/* ── Premium Horizontal Rule ── */
.premium-hr {
    border: none;
    height: 1px;
    background: linear-gradient(90deg,
            transparent,
            rgba(79, 125, 249, 0.2),
            rgba(139, 92, 246, 0.2),
            transparent);
    margin: var(--space-12) 0;
}

/* ══════════════════════════════════════════════
   TESTIMONIAL MARQUEE — Two-Row Infinite Scroll
   ══════════════════════════════════════════════ */

.testimonial-marquee {
    position: relative;
    overflow: hidden;
    padding: var(--space-2) 0;
    /* Gradient edge fade masks */
    -webkit-mask-image: linear-gradient(90deg,
            transparent 0%,
            black 8%,
            black 92%,
            transparent 100%);
    mask-image: linear-gradient(90deg,
            transparent 0%,
            black 8%,
            black 92%,
            transparent 100%);
}

.testimonial-marquee__track {
    display: flex;
    gap: var(--space-5);
    width: max-content;
    will-change: transform;
}

/* Row 1: content moves right-to-left */
.testimonial-marquee__track--left {
    animation: marquee-scroll-left 45s linear infinite;
}

/* Row 2: content moves left-to-right */
.testimonial-marquee__track--right {
    animation: marquee-scroll-right 50s linear infinite;
}

@keyframes marquee-scroll-left {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes marquee-scroll-right {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0);
    }
}

/* Pause on hover */
.testimonial-marquee:hover .testimonial-marquee__track {
    animation-play-state: paused;
}

/* ── Testimonial Card ── */
.tm-card {
    flex-shrink: 0;
    width: 380px;
    padding: var(--space-6);
    background: rgba(15, 22, 48, 0.5);
    backdrop-filter: blur(16px) saturate(160%);
    -webkit-backdrop-filter: blur(16px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--border-radius-xl);
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.tm-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.02), transparent 60%);
    pointer-events: none;
}

.tm-card:hover {
    border-color: rgba(79, 125, 249, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.tm-card__header {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-3);
}

.tm-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-sm);
    font-weight: 700;
    color: white;
    flex-shrink: 0;
    letter-spacing: 0.5px;
}

.tm-name {
    font-family: var(--font-primary);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-text-primary);
    line-height: 1.3;
}

.tm-role {
    font-size: 12px;
    color: var(--color-text-muted);
    line-height: 1.3;
}

.tm-stars {
    font-size: 12px;
    color: var(--color-accent-gold);
    letter-spacing: 2px;
    margin-bottom: var(--space-3);
}

.tm-quote {
    font-size: 13px;
    line-height: 1.65;
    color: var(--color-text-secondary);
    margin-bottom: var(--space-4);
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tm-result {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--color-accent-green);
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.15);
    padding: 4px 12px;
    border-radius: var(--border-radius-full);
}

@media (max-width: 768px) {
    .tm-card {
        width: 300px;
        padding: var(--space-5);
    }
}

/* ══════════════════════════════════════════════
   NOISE TEXTURE OVERLAY — Premium Depth
   ══════════════════════════════════════════════ */

body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 9998;
    pointer-events: none;
    opacity: 0.025;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n' x='0' y='0'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='256' height='256' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px 256px;
}

/* ══════════════════════════════════════════════
   NAVBAR LOGO IMAGE
   ══════════════════════════════════════════════ */

.navbar-logo-img {
    height: 85px;
    /* Scaled up from 56px for intense brand visibility */
    width: auto;
    object-fit: contain;
    display: block;
}

/* ══════════════════════════════════════════════
   FOUNDER SECTION — About Page
   ══════════════════════════════════════════════ */

.founder-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    position: relative;
    z-index: 0;
}

.founder-credentials {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
    margin-top: var(--space-6);
}

.founder-credential {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-text-secondary);
    background: rgba(79, 125, 249, 0.06);
    border: 1px solid rgba(79, 125, 249, 0.12);
    padding: 6px 14px;
    border-radius: var(--border-radius-full);
}

.founder-credential svg {
    width: 14px;
    height: 14px;
    stroke: var(--color-accent-blue);
    stroke-width: 2;
    fill: none;
}

/* ══════════════════════════════════════════════
   ENHANCED SECTION DIVIDERS
   ══════════════════════════════════════════════ */

.section-divider {
    height: 1px;
    background: linear-gradient(90deg,
            transparent,
            rgba(79, 125, 249, 0.15) 20%,
            rgba(139, 92, 246, 0.2) 50%,
            rgba(212, 168, 67, 0.15) 80%,
            transparent);
    position: relative;
}

.section-divider::after {
    content: '';
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-accent-blue), var(--color-accent-purple));
    border-radius: 2px;
}

/* ══════════════════════════════════════════════
   ACCESSIBILITY — Reduced Motion
   ══════════════════════════════════════════════ */

@media (prefers-reduced-motion: reduce) {
    .cursor-glow {
        display: none;
    }

    .card-shine {
        display: none;
    }

    .logos-track {
        animation: none;
    }

    .testimonial-marquee__track--left,
    .testimonial-marquee__track--right {
        animation: none;
    }

    body::before {
        display: none;
    }
}

/* ══════════════════════════════════════════════
   GLOBAL ACCESSIBILITY & FOCUS STATES
   ══════════════════════════════════════════════ */

*:focus-visible {
    outline: 2px solid var(--color-primary) !important;
    outline-offset: 4px !important;
    box-shadow: 0 0 15px rgba(79, 192, 232, 0.4) !important;
}

input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: none !important;
    border-color: var(--color-primary) !important;
    box-shadow: 0 0 0 3px rgba(79, 192, 232, 0.2) !important;
}

/* Fix mobile overflow for scaled cards */
@media (max-width: 768px) {

    .service-card,
    .elite-card {
        transform: scale(1) !important;
    }
}

/* ══════════════════════════════════════════════
   ELITE RETAINER CARDS (PSYCHOLOGICAL DESIGN)
   ══════════════════════════════════════════════ */
.service-cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    /* Forced 1-column stack below 1024px to prevent horizontal squishing on tablets */
    gap: var(--space-8);
    position: relative;
    z-index: 10;
}

@media (min-width: 1024px) {
    .service-cards-grid {
        grid-template-columns: repeat(3, 1fr);
        align-items: center;
    }
}

.elite-card {
    background: rgba(5, 10, 24, 0.4);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: var(--space-8);
    padding-bottom: var(--space-12);
    /* Added breathing room for CTAs */
    position: relative;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    display: flex;
    flex-direction: column;
    z-index: 1;
}

/* Pseudo element to clip the gradient background but allow the badge to float outside */
.elite-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    overflow: hidden;
    z-index: -1;
    pointer-events: none;
}

.elite-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.03), transparent 50%);
    pointer-events: none;
    z-index: -1;
    border-radius: 24px;
}

.elite-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), inset 0 0 0 1px rgba(255, 255, 255, 0.15);
}

.elite-card-cyan {
    border: 1px solid rgba(79, 192, 232, 0.3);
    box-shadow: 0 0 40px rgba(79, 192, 232, 0.05), inset 0 0 20px rgba(79, 192, 232, 0.05);
}

.elite-card-cyan:hover {
    border-color: rgba(79, 192, 232, 0.7);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.7), 0 0 50px rgba(79, 192, 232, 0.15), inset 0 0 0 1px rgba(79, 192, 232, 0.4);
    transform: translateY(-8px) scale(1.02);
    z-index: 10;
}

.elite-card-gold {
    border: 1px solid rgba(255, 215, 0, 0.3);
    box-shadow: 0 0 40px rgba(255, 215, 0, 0.05), inset 0 0 20px rgba(255, 215, 0, 0.05);
}

.elite-card-gold:hover {
    border-color: rgba(255, 215, 0, 0.7);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.7), 0 0 50px rgba(255, 215, 0, 0.15), inset 0 0 0 1px rgba(255, 215, 0, 0.4);
    transform: translateY(-8px) scale(1.02);
    z-index: 10;
}

.elite-badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    z-index: 10;
    white-space: nowrap;
}

.elite-badge-cyan {
    background: linear-gradient(135deg, #0052D4, #4364F7, #6FB1FC);
    color: #ffffff;
    box-shadow: 0 8px 25px rgba(67, 100, 247, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.3);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.elite-badge-gold {
    background: linear-gradient(135deg, var(--color-accent-gold), #ff8c00);
    color: #000;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
    border: 1px solid #ffeba5;
}

.elite-price-val {
    font-family: 'Outfit', sans-serif;
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    margin: var(--space-4) 0;
    letter-spacing: -1px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.elite-price-val span {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    font-weight: 400;
    letter-spacing: 0;
    text-shadow: none;
}

.elite-features {
    margin: var(--space-6) 0 var(--space-8) 0;
    flex-grow: 1;
}

.elite-features li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 16px;
    color: var(--color-text-secondary);
    font-size: 15px;
    line-height: 1.5;
}

.elite-features li svg {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    margin-top: 2px;
}

.elite-features.icon-white li svg {
    color: #fff;
    opacity: 0.8;
}

.elite-features.icon-cyan li svg {
    color: var(--color-primary);
}

.elite-features.icon-gold li svg {
    color: var(--color-accent-gold);
}

.elite-trust-mark {
    font-size: 12px;
    color: var(--color-text-muted);
    text-align: center;
    margin-top: var(--space-3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-weight: 500;
}

/* Custom override for the final CTA structure */
.cta-card {
    background: linear-gradient(145deg, rgba(8, 12, 21, 0.95), rgba(4, 7, 13, 0.98)) !important;
    border: 1px solid rgba(var(--accent-primary-rgb), 0.3) !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8), 0 0 40px rgba(var(--accent-primary-rgb), 0.15) !important;
}