/* ═══════════════════════════════════════════════════════════════════════
   🌍 WORLD-CLASS UPGRADE — AHMED ASHRAF × AWALIM GROUP
   The Most Premium Arabic Personal Brand Website On Earth
   Features: Kinetic Hero, Cinema Loader, Cursor Trail, 3D Portfolio,
             Holographic Cards, Nebula Footer, Magazine Testimonials
═══════════════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

:root {
    --wc-lime: #a3cf2b;
    --wc-teal: #00e5c8;
    --wc-purple: #7c3aed;
    --wc-orange: #ff6b35;
    --wc-dark: #021014;
    --wc-glass: rgba(255, 255, 255, 0.04);
    --wc-border: rgba(163, 207, 43, 0.18);
    --wc-glow: rgba(163, 207, 43, 0.25);

    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ═══════════════════════════════════════
   🎬 ULTRA CINEMATIC LOADING SCREEN
═══════════════════════════════════════ */

.loader {
    background: #000 !important;
    overflow: hidden;
}

.loader::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 20% 50%, rgba(163, 207, 43, 0.07) 0%, transparent 60%),
        radial-gradient(ellipse 60% 80% at 80% 50%, rgba(0, 229, 200, 0.05) 0%, transparent 60%);
    animation: loaderBgPulse 4s ease-in-out infinite;
}

@keyframes loaderBgPulse {

    0%,
    100% {
        opacity: 0.6;
    }

    50% {
        opacity: 1;
    }
}

/* Scanlines on loader */
.loader::after {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(0deg,
            transparent,
            transparent 2px,
            rgba(0, 0, 0, 0.15) 2px,
            rgba(0, 0, 0, 0.15) 4px);
    pointer-events: none;
    z-index: 2;
}

.loader-inner {
    position: relative;
    z-index: 3;
}

.loader-logo {
    position: relative;
}

.loader-logo::before {
    content: '';
    position: absolute;
    inset: -30px;
    background: radial-gradient(circle, rgba(163, 207, 43, 0.25) 0%, transparent 70%);
    animation: logoBgGlow 2s ease-in-out infinite;
}

@keyframes logoBgGlow {

    0%,
    100% {
        transform: scale(0.9);
        opacity: 0.6;
    }

    50% {
        transform: scale(1.1);
        opacity: 1;
    }
}

.loader-bar {
    width: 280px !important;
    height: 3px !important;
    position: relative;
}

.loader-progress {
    background: linear-gradient(90deg, var(--wc-teal), var(--wc-lime), var(--wc-teal)) !important;
    background-size: 200% 100% !important;
    animation: shimmerBar 1.5s linear infinite !important;
    box-shadow: 0 0 12px var(--wc-lime);
}

@keyframes shimmerBar {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

.loader-text {
    font-size: 0.75rem !important;
    letter-spacing: 4px !important;
    text-transform: uppercase;
    color: var(--wc-lime) !important;
    font-family: 'Space Grotesk', monospace;
    animation: textFlicker 3s ease-in-out infinite;
}

@keyframes textFlicker {

    0%,
    90%,
    100% {
        opacity: 1;
    }

    92%,
    98% {
        opacity: 0.3;
    }
}

/* ═══════════════════════════════════════
   🖱️ ENHANCED CURSOR TRAIL
═══════════════════════════════════════ */

.cursor-trail-particle {
    position: fixed;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9990;
    transform: translate(-50%, -50%);
    animation: trailFade 0.6s ease forwards;
}

@keyframes trailFade {
    0% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1);
    }

    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0);
    }
}

.cursor-dot {
    width: 6px !important;
    height: 6px !important;
    background: #fff !important;
    box-shadow: 0 0 8px var(--wc-lime);
}

.cursor-ring {
    width: 32px !important;
    height: 32px !important;
    border-color: var(--wc-lime) !important;
    transition: transform 0.12s ease, width 0.25s var(--ease-spring), height 0.25s var(--ease-spring), border-color 0.3s ease !important;
}

.cursor-ring.hovered {
    width: 64px !important;
    height: 64px !important;
    border-color: var(--wc-teal) !important;
    mix-blend-mode: difference;
}

/* ═══════════════════════════════════════
   🚀 HERO SECTION — WORLD-CLASS UPGRADE
═══════════════════════════════════════ */

.hero {
    background:
        radial-gradient(ellipse 60% 80% at 0% 50%, rgba(163, 207, 43, 0.06) 0%, transparent 60%),
        radial-gradient(ellipse 50% 60% at 100% 30%, rgba(0, 229, 200, 0.04) 0%, transparent 60%),
        #021a1e !important;
}

/* Giant ambient orb behind hero */
.hero::before {
    content: '';
    position: absolute;
    width: 800px;
    height: 800px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(163, 207, 43, 0.04) 0%, transparent 70%);
    top: 50%;
    left: -200px;
    transform: translateY(-50%);
    animation: heroOrbFloat 8s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 229, 200, 0.03) 0%, transparent 70%);
    bottom: -100px;
    right: -100px;
    animation: heroOrbFloat 10s ease-in-out infinite reverse;
    pointer-events: none;
    z-index: 0;
}

@keyframes heroOrbFloat {

    0%,
    100% {
        transform: translateY(-50%) scale(1);
    }

    50% {
        transform: translateY(-52%) scale(1.08);
    }
}

/* Hero Title upgrade */
.hero-title {
    font-size: clamp(2.8rem, 5.5vw, 5.2rem) !important;
    line-height: 1.02 !important;
    letter-spacing: -0.03em !important;
}

.title-accent {
    background: linear-gradient(135deg, var(--wc-lime) 0%, var(--wc-teal) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: accentShift 6s ease-in-out infinite;
    background-size: 200% 200%;
}

@keyframes accentShift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

/* Available badge */
.hero-badge {
    background: rgba(163, 207, 43, 0.08) !important;
    border-color: rgba(163, 207, 43, 0.35) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 0 30px rgba(163, 207, 43, 0.1);
}

/* Hero visual card — 3D glow */
.visual-card {
    filter: drop-shadow(0 20px 60px rgba(163, 207, 43, 0.12));
}

.card-glow {
    animation: glowPulse 3s ease-in-out infinite !important;
    background: radial-gradient(circle, rgba(163, 207, 43, 0.2) 0%, rgba(0, 229, 200, 0.08) 50%, transparent 70%) !important;
}

/* Float badges glow */
.float-badge {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 20px rgba(163, 207, 43, 0.1) !important;
    border-color: rgba(163, 207, 43, 0.25) !important;
}

/* Tech pills shimmer */
.tech-pill {
    background: linear-gradient(135deg, var(--wc-lime), #c8e84a) !important;
    box-shadow: 0 4px 20px rgba(163, 207, 43, 0.4), 0 0 8px rgba(163, 207, 43, 0.2) !important;
    font-family: 'Space Grotesk', sans-serif !important;
    letter-spacing: 0.05em;
}

/* Scroll indicator pulse */
.scroll-mouse {
    border-color: rgba(163, 207, 43, 0.5) !important;
    box-shadow: 0 0 12px rgba(163, 207, 43, 0.15);
}

/* ═══════════════════════════════════════
   🎟️ MARQUEE STRIP — WORLD-CLASS
═══════════════════════════════════════ */

.marquee-section {
    background: linear-gradient(90deg,
            #021a1e 0%,
            rgba(163, 207, 43, 0.9) 15%,
            #a3cf2b 50%,
            rgba(163, 207, 43, 0.9) 85%,
            #021a1e 100%) !important;
    padding: 14px 0 !important;
    position: relative;
    overflow: hidden;
}

.marquee-section::before,
.marquee-section::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 120px;
    z-index: 2;
    pointer-events: none;
}

.marquee-section::before {
    left: 0;
    background: linear-gradient(90deg, #021a1e, transparent);
}

.marquee-section::after {
    right: 0;
    background: linear-gradient(-90deg, #021a1e, transparent);
}

.marquee-content span {
    font-family: 'Space Grotesk', sans-serif !important;
    font-weight: 700 !important;
    letter-spacing: 2px !important;
    font-size: 0.8rem !important;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.marquee-content span::before {
    content: '✦';
    font-size: 0.6rem;
    opacity: 0.7;
}

/* ═══════════════════════════════════════
   👤 PERSONA ABOUT — ENHANCED
═══════════════════════════════════════ */

.persona-split-wrap {
    position: relative;
}

/* Glowing center divider */
.persona-divider {
    position: relative;
    z-index: 2;
}

.divider-glow {
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom,
            transparent 0%,
            var(--wc-lime) 30%,
            var(--wc-teal) 70%,
            transparent 100%);
    box-shadow: 0 0 20px var(--wc-lime), 0 0 40px rgba(163, 207, 43, 0.3);
    animation: dividerPulse 3s ease-in-out infinite;
}

@keyframes dividerPulse {

    0%,
    100% {
        opacity: 0.7;
        box-shadow: 0 0 20px var(--wc-lime);
    }

    50% {
        opacity: 1;
        box-shadow: 0 0 30px var(--wc-lime), 0 0 60px rgba(163, 207, 43, 0.4);
    }
}

.persona-side {
    transition: transform 0.6s var(--ease-expo) !important;
}

.persona-side:hover {
    transform: scale(1.02) !important;
    z-index: 3;
}

.persona-portrait {
    transition: transform 0.8s var(--ease-expo) !important;
}

.persona-side:hover .persona-portrait {
    transform: scale(1.06) !important;
}

/* ═══════════════════════════════════════
   🗂️ PORTFOLIO — 3D PREMIUM HOVER
═══════════════════════════════════════ */

.portfolio-item {
    transform-style: preserve-3d;
    transition: transform 0.4s var(--ease-expo), box-shadow 0.4s ease !important;
    border-radius: 16px !important;
    overflow: hidden;
    position: relative;
}

.portfolio-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--wc-lime), var(--wc-teal));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
    border-radius: inherit;
}

.portfolio-item:hover {
    transform: translateY(-8px) rotateX(2deg) !important;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), 0 0 40px rgba(163, 207, 43, 0.15) !important;
}

.portfolio-item:hover::before {
    opacity: 1;
}

.port-img-wrap {
    position: relative;
    overflow: hidden;
}

.port-img-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            transparent 0%,
            transparent 50%,
            rgba(2, 20, 30, 0.85) 100%);
    transition: opacity 0.3s ease;
}

.portfolio-item img {
    transition: transform 0.7s var(--ease-expo) !important;
}

.portfolio-item:hover img {
    transform: scale(1.08) !important;
}

/* Overlay reveal */
.port-overlay {
    background: linear-gradient(to top,
            rgba(2, 26, 30, 0.97) 0%,
            rgba(2, 26, 30, 0.8) 60%,
            transparent 100%) !important;
    border-top: 1px solid var(--wc-border);
}

.port-overlay h3 {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.port-link {
    background: var(--wc-lime);
    color: #021a1e;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.8rem;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
}

.port-link:hover {
    background: var(--wc-teal);
    transform: scale(1.05);
}

/* Featured port card glow */
.port-featured {
    position: relative;
}

.port-featured::after {
    content: '';
    position: absolute;
    inset: -1px;
    background: linear-gradient(135deg, var(--wc-lime), var(--wc-teal), var(--wc-purple));
    border-radius: inherit;
    z-index: -1;
    opacity: 0.5;
    filter: blur(8px);
    transition: opacity 0.3s ease;
}

.port-featured:hover::after {
    opacity: 0.9;
}

/* ═══════════════════════════════════════
   🎓 COURSES — HOLOGRAPHIC CARDS
═══════════════════════════════════════ */

.course-card {
    position: relative;
    overflow: hidden;
    transition: transform 0.4s var(--ease-spring), box-shadow 0.4s ease !important;
}

/* Shimmer overlay */
.course-card::before {
    content: '';
    position: absolute;
    inset: -100%;
    background: linear-gradient(105deg,
            transparent 30%,
            rgba(255, 255, 255, 0.06) 50%,
            transparent 70%);
    transition: inset 0s;
    z-index: 1;
    pointer-events: none;
}

.course-card:hover::before {
    animation: holographicShimmer 0.7s ease forwards;
}

@keyframes holographicShimmer {
    0% {
        inset: -100% -100% -100% 200%;
    }

    100% {
        inset: -100% -100% -100% -200%;
    }
}

.course-card:hover {
    transform: translateY(-10px) !important;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4), 0 0 40px var(--wc-glow) !important;
}

.course-featured {
    border-color: rgba(163, 207, 43, 0.4) !important;
    position: relative;
}

.course-featured::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(163, 207, 43, 0.04) 0%, transparent 60%);
    pointer-events: none;
}

.course-thumb-bg {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 140px;
    border-radius: 12px !important;
    position: relative;
    overflow: hidden;
}

.course-thumb-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(163, 207, 43, 0.1) 0%, transparent 70%);
    animation: courseGlow 3s ease-in-out infinite;
}

@keyframes courseGlow {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}

.course-icon {
    font-size: 2.8rem !important;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 0 12px currentColor);
}

.course-hot-badge {
    background: linear-gradient(135deg, #ff6b35, #ff4040) !important;
    box-shadow: 0 4px 20px rgba(255, 107, 53, 0.4);
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {

    0%,
    100% {
        box-shadow: 0 4px 20px rgba(255, 107, 53, 0.4);
    }

    50% {
        box-shadow: 0 4px 30px rgba(255, 107, 53, 0.7);
    }
}

/* ═══════════════════════════════════════
   🛎️ SERVICES — ORBITAL ICONS
═══════════════════════════════════════ */

.service-card {
    position: relative;
    overflow: hidden;
    transition: transform 0.4s var(--ease-spring), box-shadow 0.4s ease, border-color 0.3s ease !important;
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%),
            rgba(163, 207, 43, 0.08) 0%,
            transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35), 0 0 30px var(--wc-glow) !important;
    border-color: rgba(163, 207, 43, 0.3) !important;
}

.srv-icon-wrap {
    position: relative;
    width: fit-content;
}

.srv-icon {
    position: relative;
    transition: transform 0.4s var(--ease-spring) !important;
}

.service-card:hover .srv-icon {
    transform: scale(1.15) rotate(5deg) !important;
}

/* Orbital ring around icon */
.srv-icon-wrap::after {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 1.5px dashed rgba(163, 207, 43, 0.2);
    animation: orbitSpin 8s linear infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover .srv-icon-wrap::after {
    opacity: 1;
}

@keyframes orbitSpin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.srv-featured {
    border-color: rgba(163, 207, 43, 0.35) !important;
    background: linear-gradient(135deg, rgba(163, 207, 43, 0.04) 0%, rgba(2, 26, 30, 1) 60%) !important;
}

/* ═══════════════════════════════════════
   💬 TESTIMONIALS — MAGAZINE-GRADE
═══════════════════════════════════════ */

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.testi-card {
    position: relative;
    overflow: hidden;
    transition: transform 0.4s var(--ease-spring), box-shadow 0.4s ease !important;
    padding: 36px !important;
}

/* Quote mark */
.testi-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    right: 20px;
    font-size: 8rem;
    font-family: Georgia, serif;
    color: rgba(163, 207, 43, 0.07);
    line-height: 1;
    pointer-events: none;
    transition: color 0.3s ease;
}

.testi-card:hover::before {
    color: rgba(163, 207, 43, 0.15);
}

.testi-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.4), 0 0 40px rgba(163, 207, 43, 0.1) !important;
}

.testi-featured {
    border-color: rgba(163, 207, 43, 0.35) !important;
    background: linear-gradient(135deg,
            rgba(163, 207, 43, 0.05) 0%,
            rgba(2, 26, 30, 0.97) 100%) !important;
}

/* Stars upgrade */
.testi-stars {
    font-size: 1.1rem !important;
    letter-spacing: 2px;
    background: linear-gradient(90deg, #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 6px rgba(251, 191, 36, 0.4));
    margin-bottom: 16px;
}

.testi-text {
    font-size: 1.05rem !important;
    line-height: 1.75 !important;
    color: rgba(241, 245, 249, 0.85) !important;
    font-style: italic;
}

/* Avatar ring color per card */
.testi-avatar {
    width: 46px !important;
    height: 46px !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.95rem;
    box-shadow: 0 0 20px rgba(163, 207, 43, 0.3);
}

.av1 {
    background: linear-gradient(135deg, #7c3aed, #a78bfa);
}

.av2 {
    background: linear-gradient(135deg, #a3cf2b, #00e5c8);
}

.av3 {
    background: linear-gradient(135deg, #ff6b35, #ff4040);
}

/* ═══════════════════════════════════════
   📬 CONTACT — NEON FORM
═══════════════════════════════════════ */

.contact-section {
    position: relative;
    overflow: hidden;
}

/* Neon grid bg */
.contact-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(163, 207, 43, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(163, 207, 43, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    opacity: 0;
    animation: gridReveal 1s ease 0.5s forwards;
}

@keyframes gridReveal {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease !important;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--wc-lime) !important;
    box-shadow: 0 0 0 3px rgba(163, 207, 43, 0.12), 0 0 20px rgba(163, 207, 43, 0.08) !important;
    background: rgba(163, 207, 43, 0.02) !important;
}

.contact-title .text-accent {
    background: linear-gradient(135deg, var(--wc-lime) 0%, var(--wc-teal) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-method {
    transition: all 0.3s var(--ease-expo) !important;
    border-radius: 12px;
    padding: 14px 16px;
}

.contact-method:hover {
    background: rgba(163, 207, 43, 0.06) !important;
    border-color: rgba(163, 207, 43, 0.2) !important;
    transform: translateX(-4px) !important;
}

/* Submit btn glow */
.btn-submit:hover {
    box-shadow: 0 20px 60px rgba(163, 207, 43, 0.35), 0 0 20px rgba(163, 207, 43, 0.2) !important;
}

/* ═══════════════════════════════════════
   🌌 FOOTER — PREMIUM NEBULA
═══════════════════════════════════════ */

.footer {
    background:
        radial-gradient(ellipse 100% 80% at 50% 120%, rgba(163, 207, 43, 0.04) 0%, transparent 60%),
        #010c0f !important;
    position: relative;
    overflow: hidden;
}

/* Nebula star field */
.footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(1px 1px at 10% 20%, rgba(255, 255, 255, 0.3) 0%, transparent 100%),
        radial-gradient(1px 1px at 25% 65%, rgba(255, 255, 255, 0.2) 0%, transparent 100%),
        radial-gradient(1px 1px at 45% 15%, rgba(255, 255, 255, 0.25) 0%, transparent 100%),
        radial-gradient(1px 1px at 60% 80%, rgba(255, 255, 255, 0.15) 0%, transparent 100%),
        radial-gradient(1px 1px at 75% 40%, rgba(255, 255, 255, 0.2) 0%, transparent 100%),
        radial-gradient(1px 1px at 88% 10%, rgba(255, 255, 255, 0.3) 0%, transparent 100%),
        radial-gradient(1.5px 1.5px at 15% 88%, rgba(163, 207, 43, 0.4) 0%, transparent 100%),
        radial-gradient(1.5px 1.5px at 90% 70%, rgba(0, 229, 200, 0.3) 0%, transparent 100%);
    pointer-events: none;
}

/* Glow line at top of footer */
.footer-line {
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg,
            transparent,
            var(--wc-lime) 30%,
            var(--wc-teal) 70%,
            transparent);
    box-shadow: 0 0 20px var(--wc-lime);
}

.footer-brand p {
    color: rgba(148, 163, 184, 0.8) !important;
    line-height: 1.7;
}

.footer-social a {
    transition: color 0.3s ease, transform 0.3s var(--ease-spring), text-shadow 0.3s ease !important;
}

.footer-social a:hover {
    color: var(--wc-lime) !important;
    transform: translateY(-4px) scale(1.2) !important;
    text-shadow: 0 0 15px var(--wc-lime);
}

.footer-nav-col a {
    transition: color 0.25s ease, padding-right 0.25s ease !important;
}

.footer-nav-col a:hover {
    color: var(--wc-lime) !important;
    padding-right: 6px !important;
}

.footer-heart {
    animation: heartBeat 2s ease-in-out infinite;
}

@keyframes heartBeat {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
    margin-top: 40px;
    padding-top: 24px;
}

/* ═══════════════════════════════════════
   🌐 NAV — ENHANCED SCROLL STATE
═══════════════════════════════════════ */

.nav.scrolled {
    background: rgba(2, 18, 22, 0.92) !important;
    box-shadow: 0 1px 0 rgba(163, 207, 43, 0.1), 0 8px 32px rgba(0, 0, 0, 0.3) !important;
}

.nav-cta {
    background: linear-gradient(135deg, var(--wc-lime), #c8e84a) !important;
    box-shadow: 0 4px 20px rgba(163, 207, 43, 0.25);
    transition: all 0.3s var(--ease-spring) !important;
}

.nav-cta:hover {
    transform: translateY(-2px) scale(1.03) !important;
    box-shadow: 0 8px 30px rgba(163, 207, 43, 0.4) !important;
}

/* ═══════════════════════════════════════
   🟢 SCROLL PROGRESS BAR
═══════════════════════════════════════ */

.scroll-progress-bar {
    background: linear-gradient(90deg, var(--wc-teal), var(--wc-lime)) !important;
    box-shadow: 0 0 12px var(--wc-lime), 0 0 6px var(--wc-teal) !important;
}

/* ═══════════════════════════════════════
   📐 SECTION TRANSITIONS — SMOOTH WAVE
═══════════════════════════════════════ */

.section::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
}

/* Section reveal upgrade */
.reveal {
    transition: opacity 1s var(--ease-expo), transform 1s var(--ease-expo) !important;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0) !important;
}

/* ═══════════════════════════════════════
   📱 MOBILE BOTTOM NAV — PREMIUM
═══════════════════════════════════════ */

.mobile-app-bar {
    background: rgba(2, 16, 20, 0.95) !important;
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(163, 207, 43, 0.15) !important;
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.3) !important;
}

.app-nav-item.active {
    color: var(--wc-lime) !important;
}

.app-nav-item.active i {
    filter: drop-shadow(0 0 6px var(--wc-lime));
}

/* ═══════════════════════════════════════
   🤖 AI ASSISTANT — ENHANCED
═══════════════════════════════════════ */

.ai-bubble {
    background: rgba(2, 16, 20, 0.9) !important;
    border-color: rgba(74, 222, 128, 0.5) !important;
    box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.4), 0 0 30px rgba(74, 222, 128, 0.15) !important;
    transition: all 0.4s var(--ease-spring) !important;
}

.ai-bubble:hover {
    box-shadow: 0 0 0 8px rgba(74, 222, 128, 0.1), 0 0 40px rgba(74, 222, 128, 0.25) !important;
}

/* ═══════════════════════════════════════
   🪐 BENTO CARDS — PREMIUM HOVER
═══════════════════════════════════════ */

.bento-card {
    transition: transform 0.4s var(--ease-spring), box-shadow 0.4s ease, border-color 0.3s ease !important;
}

.bento-card:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35), 0 0 30px var(--wc-glow) !important;
    border-color: rgba(163, 207, 43, 0.25) !important;
}

.holographic {
    position: relative;
    overflow: hidden;
}

.holographic::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            transparent 0%,
            rgba(163, 207, 43, 0.03) 30%,
            rgba(0, 229, 200, 0.03) 60%,
            transparent 100%);
    pointer-events: none;
    animation: holographic 8s linear infinite;
    background-size: 200% 200%;
}

@keyframes holographic {
    0% {
        background-position: 0% 0%;
    }

    100% {
        background-position: 200% 200%;
    }
}

/* ═══════════════════════════════════════
   🔮 GLASS CARDS — PREMIUM
═══════════════════════════════════════ */

.glass-card {
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    transition: transform 0.4s var(--ease-spring), box-shadow 0.4s ease, border-color 0.3s ease !important;
}

.glass-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3), 0 0 25px rgba(163, 207, 43, 0.08) !important;
    border-color: rgba(163, 207, 43, 0.2) !important;
}

/* ═══════════════════════════════════════
   ✨ BUTTON ENHANCEMENTS
═══════════════════════════════════════ */

.btn-primary {
    background: linear-gradient(135deg, var(--wc-lime), #c8e84a) !important;
    box-shadow: 0 4px 20px rgba(163, 207, 43, 0.2);
    transition: all 0.3s var(--ease-spring) !important;
    font-family: 'Space Grotesk', var(--font-ar), sans-serif;
    letter-spacing: 0.02em;
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.02) !important;
    box-shadow: 0 16px 50px rgba(163, 207, 43, 0.4) !important;
}

.btn-outline:hover {
    box-shadow: 0 8px 30px rgba(163, 207, 43, 0.15) !important;
}

/* ═══════════════════════════════════════
   🎯 VIBE SECTION UPGRADES
═══════════════════════════════════════ */

.vibe-what-card {
    position: relative;
    overflow: hidden;
    transition: transform 0.4s var(--ease-spring), box-shadow 0.4s ease !important;
}

.vibe-what-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4), 0 0 30px rgba(163, 207, 43, 0.1) !important;
}

.vibe-what-featured {
    border-color: rgba(163, 207, 43, 0.35) !important;
}

.vwc-icon {
    position: relative;
    transition: transform 0.4s var(--ease-spring) !important;
}

.vibe-what-card:hover .vwc-icon {
    transform: scale(1.15) !important;
}

.vibe-step {
    transition: transform 0.3s var(--ease-spring) !important;
}

.vibe-step:hover {
    transform: translateY(-4px) !important;
}

/* ═══════════════════════════════════════
   🖥️ TERMINAL SECTION — MATRIX
═══════════════════════════════════════ */

.terminal-section {
    position: relative;
    overflow: hidden;
}

.terminal-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(0deg,
            transparent 0px,
            transparent 3px,
            rgba(163, 207, 43, 0.01) 3px,
            rgba(163, 207, 43, 0.01) 4px);
    pointer-events: none;
    animation: scanMove 8s linear infinite;
}

@keyframes scanMove {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 0 100px;
    }
}

.terminal-container {
    box-shadow: 0 0 60px rgba(163, 207, 43, 0.08), 0 0 120px rgba(163, 207, 43, 0.04) !important;
}

.terminal-header-bar {
    background: rgba(5, 25, 30, 0.98) !important;
}

.terminal-window {
    font-family: 'Courier New', Courier, monospace !important;
}

/* ═══════════════════════════════════════
   📝 SECTION TAGS — PREMIUM
═══════════════════════════════════════ */

/* Restore section-tag proper styling (override premium-fx.css) */
.section-tag {
    background: rgba(163, 207, 43, 0.08) !important;
    backdrop-filter: blur(8px) !important;
    border: 1px solid rgba(163, 207, 43, 0.25) !important;
    color: var(--wc-lime) !important;
    font-family: 'Space Grotesk', sans-serif !important;
    letter-spacing: 2.5px !important;
}

/* ═══════════════════════════════════════
   🌟 FILTER TABS — VIBE CODING
═══════════════════════════════════════ */

.filter-btn {
    transition: all 0.25s var(--ease-spring) !important;
    position: relative;
    overflow: hidden;
}

.filter-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(163, 207, 43, 0.15), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.filter-btn:hover::after {
    opacity: 1;
}

.filter-btn.active {
    box-shadow: 0 0 20px rgba(163, 207, 43, 0.2) !important;
}

/* ═══════════════════════════════════════
   🌍 RESPONSIVE FINE-TUNING
═══════════════════════════════════════ */

@media (max-width: 768px) {
    .hero-title {
        font-size: clamp(2rem, 7vw, 3rem) !important;
    }

    .testi-card {
        padding: 24px !important;
    }

    .testi-card::before {
        font-size: 5rem;
    }

    .portfolio-item:hover {
        transform: translateY(-4px) !important;
    }
}

/* ═══════════════════════════════════════
   📰 COMMUNITY SECTION — MAGAZINE PREMIUM
═══════════════════════════════════════ */

/* Outer card wrapper for post-feed (the glass-card containing posts) */
.glass-card.post-feed-preview {
    padding: 0 !important;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.025) !important;
    border: 1px solid rgba(255, 255, 255, 0.07) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    transition: box-shadow 0.4s ease, border-color 0.3s ease !important;
    transform: none !important;
    /* override glass-card hover transform for feed */
}

.glass-card.post-feed-preview:hover {
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.3), 0 0 30px rgba(163, 207, 43, 0.06) !important;
    border-color: rgba(163, 207, 43, 0.15) !important;
    transform: none !important;
}

/* Each individual post item enhanced */
.post-item {
    position: relative;
}

.post-item::before {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: transparent;
    transition: background 0.3s ease;
}

.post-item:hover::before {
    background: linear-gradient(to bottom, var(--wc-lime), var(--wc-teal));
}

/* Live badge pulse for "coming soon" posts */
.live-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(163, 207, 43, 0.1);
    border: 1px solid rgba(163, 207, 43, 0.3);
    color: var(--wc-lime);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 3px 10px;
    border-radius: 20px;
    text-transform: uppercase;
}

.live-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--wc-lime);
    animation: livePing 1.5s ease infinite;
    flex-shrink: 0;
}

@keyframes livePing {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.4;
        transform: scale(0.7);
    }
}

/* Community sidebar newsletter widget */
.glass-card.member-widget {
    background: rgba(163, 207, 43, 0.04) !important;
    border: 1px solid rgba(163, 207, 43, 0.12) !important;
    position: relative;
    overflow: hidden;
}

.glass-card.member-widget::before {
    content: '';
    position: absolute;
    inset: -50%;
    background: radial-gradient(circle, rgba(163, 207, 43, 0.06) 0%, transparent 60%);
    pointer-events: none;
    animation: memberGlow 6s ease-in-out infinite;
}

@keyframes memberGlow {

    0%,
    100% {
        opacity: 0.5;
        transform: scale(0.9);
    }

    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}

/* ═══════════════════════════════════════
   🔧 GLASS CARD — FEATURE TOOL ITEMS
═══════════════════════════════════════ */

.glass-card .feature-tool {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 18px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.025);
    transition: all 0.3s var(--ease-spring);
    margin-bottom: 12px;
    position: relative;
    overflow: hidden;
}

.glass-card .feature-tool::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(163, 207, 43, 0.04), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: inherit;
}

.glass-card .feature-tool:hover {
    border-color: rgba(163, 207, 43, 0.2);
    transform: translateX(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.glass-card .feature-tool:hover::before {
    opacity: 1;
}

.glass-card .feature-tool:last-child {
    margin-bottom: 0;
}

/* ═══════════════════════════════════════
   📱 MOBILE — SPLIT HERO ENHANCED
═══════════════════════════════════════ */

@media (max-width: 900px) {
    .persona-split-wrap {
        flex-direction: column !important;
        height: auto !important;
        min-height: unset !important;
    }

    .persona-side {
        flex: none !important;
        width: 100% !important;
        height: 55vw !important;
        min-height: 280px;
        max-height: 380px;
    }

    .persona-divider {
        display: none !important;
    }

    .persona-portrait {
        height: 100% !important;
        width: 100% !important;
        object-fit: cover;
        object-position: top center;
    }

    .code-float {
        display: none !important;
    }

    .persona-label h2 {
        font-size: clamp(2.2rem, 8vw, 3.5rem) !important;
    }
}

/* ═══════════════════════════════════════
   🔔 TOAST NOTIFICATION SYSTEM
═══════════════════════════════════════ */

.vibe-toast {
    position: fixed;
    bottom: 90px;
    left: 24px;
    z-index: 99999;
    background: rgba(5, 15, 20, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(163, 207, 43, 0.3);
    border-radius: 14px;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 240px;
    max-width: 320px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.85);
    font-family: 'Outfit', 'Cairo', sans-serif;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(163, 207, 43, 0.1);
    transform: translateY(80px);
    opacity: 0;
    transition: transform 0.5s var(--ease-spring), opacity 0.4s ease;
    pointer-events: none;
}

.vibe-toast.show {
    transform: translateY(0);
    opacity: 1;
}

.vibe-toast-icon {
    font-size: 1.1rem;
    color: var(--wc-lime);
    flex-shrink: 0;
    filter: drop-shadow(0 0 6px var(--wc-lime));
}

.vibe-toast-msg {
    flex: 1;
    line-height: 1.4;
}

.vibe-toast-msg strong {
    display: block;
    color: #fff;
    font-weight: 700;
    font-size: 0.88rem;
}

/* ═══════════════════════════════════════
   ✦ SECTION HEADER WORLDCLASS — UPGRADE
═══════════════════════════════════════ */

.section-header-worldclass h2 {
    font-size: clamp(1.8rem, 4vw, 3.2rem);
    font-weight: 900;
    font-family: 'Outfit', 'Space Grotesk', sans-serif;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.75) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 14px 0 10px;
    line-height: 1.1;
}

.section-header-worldclass p {
    color: rgba(255, 255, 255, 0.5);
    max-width: 580px;
    font-size: 1rem;
    line-height: 1.7;
}

/* ═══════════════════════════════════════
   🎯 SECTION DARK — ENHANCED BG
═══════════════════════════════════════ */

.section-dark {
    background:
        radial-gradient(ellipse 60% 50% at 10% 50%, rgba(163, 207, 43, 0.035) 0%, transparent 60%),
        radial-gradient(ellipse 50% 60% at 90% 40%, rgba(0, 229, 200, 0.025) 0%, transparent 60%),
        #040d10 !important;
}

/* ═══════════════════════════════════════
   📊 CONTROL CENTER BENTO POLISH
═══════════════════════════════════════ */

.bento-mini-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 20px;
}

.bento-mini-stat {
    text-align: center;
    padding: 14px 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.bento-mini-stat:hover {
    border-color: rgba(163, 207, 43, 0.2);
    background: rgba(163, 207, 43, 0.04);
}

.bento-mini-stat strong {
    display: block;
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--wc-lime);
    font-family: 'Space Grotesk', monospace;
    line-height: 1;
    margin-bottom: 4px;
}

.bento-mini-stat span {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.5px;
}

/* ═══════════════════════════════════════
   🏗️ INFRASTRUCTURE CARDS — HUB STYLE
═══════════════════════════════════════ */

.infra-tool-card {
    transition: all 0.4s var(--ease-spring) !important;
}

.infra-tool-card:hover {
    transform: translateY(-6px) scale(1.02) !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 30px rgba(163, 207, 43, 0.1) !important;
}

/* ═══════════════════════════════════════
   📱 EXTRA MOBILE — 480px AND BELOW
═══════════════════════════════════════ */

@media (max-width: 480px) {
    .hero-title {
        font-size: clamp(1.8rem, 8vw, 2.6rem) !important;
    }

    .hero-stats {
        gap: 16px !important;
        padding-top: 16px !important;
    }

    .stat-num {
        font-size: 1.5rem !important;
    }

    .portfolio-grid {
        grid-template-columns: 1fr !important;
    }

    .port-featured {
        grid-column: span 1 !important;
    }

    .courses-grid {
        grid-template-columns: 1fr !important;
    }

    .bento-grid {
        grid-template-columns: 1fr !important;
    }

    .bento-bio,
    .bento-specialty,
    .bento-stats,
    .bento-tools,
    .bento-quote,
    .bento-timeline {
        grid-column: span 1 !important;
    }

    .community-inline-grid {
        grid-template-columns: 1fr !important;
    }

    .vibe-toast {
        bottom: 80px;
        left: 12px;
        right: 12px;
        min-width: unset;
        max-width: none;
    }
}
/* ════════════════════════════════════════
   ❓ FAQ ACCORDION SECTION
════════════════════════════════════════ */
.faq-section { padding: 100px 0; }

.faq-grid {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq-item {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.faq-item:hover, .faq-item.open {
    border-color: rgba(163,207,43,0.3);
    box-shadow: 0 0 30px rgba(163,207,43,0.05);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 28px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: 'Cairo', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    text-align: right;
    transition: color 0.3s;
}
.faq-item.open .faq-question { color: #a3cf2b; }

.faq-icon {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.4);
    flex-shrink: 0;
    transition: transform 0.35s cubic-bezier(0.4,0,0.2,1), color 0.3s;
}
.faq-item.open .faq-icon { transform: rotate(45deg); color: #a3cf2b; }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1);
}
.faq-item.open .faq-answer { max-height: 300px; }

.faq-answer p {
    padding: 0 28px 22px;
    font-size: 0.92rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.62);
    margin: 0;
}

@media (max-width: 768px) {
    .faq-question { padding: 18px 20px; font-size: 0.92rem; }
    .faq-answer p { padding: 0 20px 18px; }
}
