/* ============================================
   RANK BOOSTER INFOTECH - ANIMATIONS CSS
   Version: 1.0 | 2026 Design
   ============================================ */

/* ============================================
   HERO ANIMATIONS
   ============================================ */

/* Gradient Background Animation */
.hero-gradient-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
}

.hero-gradient-bg::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(
        circle,
        rgba(108, 99, 255, 0.2) 0%,
        transparent 70%
    );
    top: -200px;
    right: -100px;
    animation: morphGlow 8s ease-in-out infinite;
}

.hero-gradient-bg::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(
        circle,
        rgba(0, 212, 255, 0.15) 0%,
        transparent 70%
    );
    bottom: -150px;
    left: -100px;
    animation: morphGlow 10s ease-in-out infinite reverse;
}

@keyframes morphGlow {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.8;
    }
    25% {
        transform: translate(30px, -20px) scale(1.1);
        opacity: 1;
    }
    50% {
        transform: translate(-20px, 30px) scale(0.9);
        opacity: 0.6;
    }
    75% {
        transform: translate(20px, 10px) scale(1.05);
        opacity: 0.9;
    }
}

/* Floating Orbs */
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    animation: orbFloat 8s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

.orb-1 {
    width: 300px;
    height: 300px;
    background: rgba(108, 99, 255, 0.15);
    top: 10%;
    right: 15%;
    animation-delay: 0s;
}

.orb-2 {
    width: 200px;
    height: 200px;
    background: rgba(0, 212, 255, 0.12);
    bottom: 20%;
    left: 10%;
    animation-delay: -3s;
}

.orb-3 {
    width: 150px;
    height: 150px;
    background: rgba(0, 255, 136, 0.1);
    top: 50%;
    right: 5%;
    animation-delay: -5s;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33%       { transform: translate(20px, -30px) scale(1.05); }
    66%       { transform: translate(-15px, 20px) scale(0.95); }
}

/* ============================================
   GRID BACKGROUND
   ============================================ */

.grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(108, 99, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(108, 99, 255, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
    z-index: 0;
    pointer-events: none;
}

/* ============================================
   PARTICLE SYSTEM
   ============================================ */

.particles-container {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--brand-purple);
    border-radius: 50%;
    animation: particleFloat linear infinite;
    opacity: 0;
}

.particle:nth-child(odd)  { background: var(--brand-cyan); }
.particle:nth-child(3n)   { background: var(--brand-green); }

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
    10% { opacity: 1; }
    90% { opacity: 0.5; }
    100% {
        transform: translateY(-100px) scale(1);
        opacity: 0;
    }
}

/* ============================================
   TEXT ANIMATIONS
   ============================================ */

/* Typing Effect */
.typing-text {
    overflow: hidden;
    white-space: nowrap;
    border-right: 3px solid var(--brand-purple);
    animation: typing 3s steps(30, end),
               blink 0.7s step-end infinite;
}

@keyframes typing {
    from { width: 0; }
    to   { width: 100%; }
}

@keyframes blink {
    from, to { border-color: transparent; }
    50%       { border-color: var(--brand-purple); }
}

/* Word Rotate Animation */
.word-rotate {
    display: inline-block;
    position: relative;
    overflow: hidden;
    height: 1.2em;
    vertical-align: bottom;
}

.word-rotate-items {
    display: flex;
    flex-direction: column;
    animation: wordRotate 6s infinite;
}

.word-rotate-item {
    display: block;
    line-height: 1.2;
    background: var(--grad-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes wordRotate {
    0%, 25%    { transform: translateY(0); }
    33%, 58%   { transform: translateY(-1.2em); }
    66%, 91%   { transform: translateY(-2.4em); }
    100%        { transform: translateY(0); }
}

/* Shimmer Text */
.shimmer-text {
    background: linear-gradient(
        90deg,
        var(--text-primary) 0%,
        var(--brand-purple) 30%,
        var(--brand-cyan) 50%,
        var(--brand-purple) 70%,
        var(--text-primary) 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmerText 4s linear infinite;
}

@keyframes shimmerText {
    0%   { background-position: 200% center; }
    100% { background-position: -200% center; }
}

/* Split Text Reveal */
.split-reveal {
    overflow: hidden;
    display: inline-block;
}

.split-reveal span {
    display: inline-block;
    animation: splitReveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
    transform: translateY(100%);
}

@keyframes splitReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Number Counter */
.counter-number {
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum";
}

/* ============================================
   CARD ANIMATIONS
   ============================================ */

/* Tilt Effect (JS enhanced) */
.card-tilt {
    transform-style: preserve-3d;
    transform: perspective(1000px);
    transition: transform var(--transition-base);
}

.card-tilt-inner {
    transform: translateZ(20px);
    transition: transform var(--transition-base);
}

/* Glowing Border Animation */
.card-glow-border {
    position: relative;
    background: var(--bg-card);
    border-radius: var(--radius-2xl);
    z-index: 1;
}

.card-glow-border::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: linear-gradient(
        135deg,
        var(--brand-purple),
        var(--brand-cyan),
        var(--brand-purple)
    );
    background-size: 200% 200%;
    opacity: 0;
    z-index: -1;
    transition: opacity var(--transition-base);
    animation: borderRotate 4s linear infinite;
}

.card-glow-border::after {
    content: '';
    position: absolute;
    inset: 1px;
    border-radius: calc(var(--radius-2xl) - 2px);
    background: var(--bg-card);
    z-index: -1;
}

.card-glow-border:hover::before {
    opacity: 1;
}

@keyframes borderRotate {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Service Icon Float */
.service-icon-wrap {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    position: relative;
    transition: transform var(--transition-bounce);
}

.service-icon-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: inherit;
    filter: blur(12px);
    opacity: 0;
    z-index: -1;
    transition: opacity var(--transition-base);
}

.card:hover .service-icon-wrap {
    transform: translateY(-6px) scale(1.1);
}

.card:hover .service-icon-wrap::after {
    opacity: 0.6;
}

/* ============================================
   STAT COUNTER ANIMATION
   ============================================ */

.stat-card {
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--grad-primary);
    opacity: 0;
    transition: opacity var(--transition-base);
    z-index: 0;
}

.stat-card:hover::before {
    opacity: 0.05;
}

.stat-number {
    font-family: var(--font-primary);
    font-size: var(--text-5xl);
    font-weight: var(--fw-extrabold);
    background: var(--grad-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.stat-suffix {
    font-size: var(--text-3xl);
}

.stat-label {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    font-weight: var(--fw-medium);
    margin-top: var(--space-2);
}

/* ============================================
   HERO SECTION ANIMATIONS
   ============================================ */

/* Badge Pulse */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    background: rgba(108, 99, 255, 0.1);
    border: 1px solid rgba(108, 99, 255, 0.25);
    border-radius: var(--radius-full);
    padding: var(--space-2) var(--space-4);
    font-size: var(--text-sm);
    font-weight: var(--fw-medium);
    color: var(--brand-purple);
    margin-bottom: var(--space-6);
    animation: fadeInDown 0.6s ease forwards;
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    background: var(--brand-green);
    border-radius: 50%;
    animation: pulse 1.5s infinite;
    box-shadow: 0 0 8px var(--brand-green);
}

/* Hero Title */
.hero-title {
    font-size: var(--text-7xl);
    font-weight: var(--fw-extrabold);
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: var(--space-6);
    animation: fadeInUp 0.8s ease 0.2s both;
}

/* Hero Subtitle */
.hero-subtitle {
    font-size: var(--text-xl);
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 600px;
    margin-bottom: var(--space-8);
    animation: fadeInUp 0.8s ease 0.4s both;
}

/* Hero CTAs */
.hero-ctas {
    display: flex;
    gap: var(--space-4);
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.6s both;
}

/* Hero Stats Row */
.hero-stats-row {
    display: flex;
    gap: var(--space-8);
    margin-top: var(--space-12);
    padding-top: var(--space-8);
    border-top: 1px solid var(--border-color);
    animation: fadeInUp 0.8s ease 0.8s both;
    flex-wrap: wrap;
}

.hero-stat-item {
    display: flex;
    flex-direction: column;
}

.hero-stat-number {
    font-family: var(--font-primary);
    font-size: var(--text-3xl);
    font-weight: var(--fw-extrabold);
    background: var(--grad-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.hero-stat-label {
    font-size: var(--text-xs);
    color: var(--text-muted);
    font-weight: var(--fw-medium);
    margin-top: 4px;
}

/* ============================================
   MARQUEE / TICKER
   ============================================ */

.marquee-container {
    overflow: hidden;
    width: 100%;
    position: relative;
}

.marquee-container::before,
.marquee-container::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 2;
    pointer-events: none;
}

.marquee-container::before {
    left: 0;
    background: linear-gradient(90deg, var(--bg-primary), transparent);
}

.marquee-container::after {
    right: 0;
    background: linear-gradient(-90deg, var(--bg-primary), transparent);
}

.marquee-track {
    display: flex;
    gap: var(--space-6);
    width: max-content;
    animation: marquee 30s linear infinite;
}

.marquee-track:hover {
    animation-play-state: paused;
}

@keyframes marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

.marquee-item {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-6);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    white-space: nowrap;
    font-size: var(--text-sm);
    font-weight: var(--fw-medium);
    color: var(--text-secondary);
    transition: all var(--transition-fast);
    flex-shrink: 0;
}

.marquee-item:hover {
    border-color: var(--brand-purple);
    color: var(--brand-purple);
    background: rgba(108, 99, 255, 0.05);
}

/* ============================================
   TESTIMONIAL SLIDER
   ============================================ */

.testimonial-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-2xl);
    padding: var(--space-8);
    position: relative;
    transition: all var(--transition-base);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: var(--space-6);
    right: var(--space-8);
    font-size: 6rem;
    line-height: 1;
    color: var(--brand-purple);
    opacity: 0.15;
    font-family: Georgia, serif;
}

.testimonial-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.testimonial-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--brand-purple);
}

.testimonial-avatar-placeholder {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--grad-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: var(--fw-bold);
    color: white;
    font-size: var(--text-lg);
    border: 2px solid var(--brand-purple);
    flex-shrink: 0;
}

.testimonial-quote {
    font-size: var(--text-base);
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: var(--space-6);
    font-style: italic;
}

.testimonial-author-name {
    font-weight: var(--fw-semibold);
    color: var(--text-primary);
    font-size: var(--text-base);
}

.testimonial-author-role {
    font-size: var(--text-sm);
    color: var(--text-muted);
}

/* Slider Dots */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: var(--space-2);
    margin-top: var(--space-8);
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: var(--radius-full);
    background: var(--border-color);
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
    padding: 0;
}

.slider-dot.active {
    width: 28px;
    background: var(--grad-primary);
}

/* Slider Arrows */
.slider-btn {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
}

.slider-btn:hover {
    border-color: var(--brand-purple);
    background: rgba(108, 99, 255, 0.1);
    color: var(--brand-purple);
}

/* ============================================
   PROCESS STEPS
   ============================================ */

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 32px;
    left: calc(12.5% + 16px);
    right: calc(12.5% + 16px);
    height: 2px;
    background: linear-gradient(90deg,
        var(--brand-purple),
        var(--brand-cyan),
        var(--brand-green),
        var(--brand-purple)
    );
    background-size: 200% auto;
    animation: gradientFlow 3s linear infinite;
    z-index: 0;
}

@keyframes gradientFlow {
    0%   { background-position: 0% center; }
    100% { background-position: 200% center; }
}

.process-step {
    text-align: center;
    position: relative;
    z-index: 1;
}

.process-step-num {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 2px solid var(--brand-purple);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-primary);
    font-size: var(--text-xl);
    font-weight: var(--fw-bold);
    color: var(--brand-purple);
    margin: 0 auto var(--space-5);
    position: relative;
    transition: all var(--transition-bounce);
    box-shadow: 0 0 0 8px var(--bg-primary);
}

.process-step:hover .process-step-num {
    background: var(--grad-primary);
    color: white;
    transform: scale(1.1);
    border-color: transparent;
    box-shadow: 0 0 0 8px var(--bg-primary), var(--shadow-glow);
}

.process-step-title {
    font-weight: var(--fw-semibold);
    font-size: var(--text-base);
    margin-bottom: var(--space-2);
    color: var(--text-primary);
}

.process-step-desc {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ============================================
   TEAM CARD
   ============================================ */

.team-card {
    position: relative;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    transition: all var(--transition-base);
    group: true;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
    border-color: var(--border-hover);
}

.team-card-image {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.team-card:hover .team-card-image {
    transform: scale(1.05);
}

.team-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        transparent 40%,
        rgba(10, 10, 15, 0.9) 100%
    );
    opacity: 0;
    transition: opacity var(--transition-base);
    display: flex;
    align-items: flex-end;
    padding: var(--space-6);
}

.team-card:hover .team-card-overlay {
    opacity: 1;
}

.team-card-social {
    display: flex;
    gap: var(--space-3);
}

.team-card-body {
    padding: var(--space-6);
}

.team-card-name {
    font-weight: var(--fw-bold);
    font-size: var(--text-xl);
    margin-bottom: var(--space-1);
}

.team-card-role {
    font-size: var(--text-sm);
    color: var(--brand-purple);
    font-weight: var(--fw-medium);
    margin-bottom: var(--space-4);
}

.team-card-skills {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
}

.skill-tag {
    font-size: var(--text-xs);
    padding: 4px 10px;
    background: rgba(108, 99, 255, 0.1);
    border: 1px solid rgba(108, 99, 255, 0.2);
    border-radius: var(--radius-full);
    color: var(--brand-purple);
    font-weight: var(--fw-medium);
}

/* ============================================
   INDUSTRY CARD
   ============================================ */

.industry-card {
    border-radius: var(--radius-2xl);
    overflow: hidden;
    position: relative;
    cursor: pointer;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    transition: all var(--transition-base);
    aspect-ratio: 16/10;
    display: flex;
    align-items: flex-end;
}

.industry-card-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform var(--transition-slow);
    z-index: 0;
}

.industry-card:hover .industry-card-bg {
    transform: scale(1.08);
}

.industry-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(10, 10, 15, 0.95) 0%,
        rgba(10, 10, 15, 0.4) 60%,
        transparent 100%
    );
    z-index: 1;
    transition: background var(--transition-base);
}

.industry-card:hover .industry-card-overlay {
    background: linear-gradient(
        to top,
        rgba(108, 99, 255, 0.9) 0%,
        rgba(10, 10, 15, 0.5) 60%,
        transparent 100%
    );
}

.industry-card-content {
    position: relative;
    z-index: 2;
    padding: var(--space-6);
    width: 100%;
}

.industry-emoji {
    font-size: 2rem;
    margin-bottom: var(--space-2);
    display: block;
    transform: translateY(0);
    transition: transform var(--transition-bounce);
}

.industry-card:hover .industry-emoji {
    transform: translateY(-6px);
}

.industry-card-title {
    color: white;
    font-size: var(--text-xl);
    font-weight: var(--fw-bold);
    margin-bottom: var(--space-2);
}

.industry-card-desc {
    color: rgba(255,255,255,0.7);
    font-size: var(--text-sm);
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-base);
}

.industry-card:hover .industry-card-desc {
    max-height: 60px;
}

.industry-card-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    color: white;
    font-size: var(--text-sm);
    font-weight: var(--fw-semibold);
    margin-top: var(--space-3);
    opacity: 0;
    transform: translateY(10px);
    transition: all var(--transition-base);
}

.industry-card:hover .industry-card-link {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   FEATURE PILLS / TAGS
   ============================================ */

.feature-pills {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
}

.feature-pill {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    color: var(--text-secondary);
    transition: all var(--transition-fast);
    cursor: default;
}

.feature-pill:hover {
    border-color: var(--brand-purple);
    color: var(--brand-purple);
    background: rgba(108, 99, 255, 0.05);
    transform: scale(1.03);
}

.feature-pill-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--brand-green);
    flex-shrink: 0;
}

/* ============================================
   CTA SECTION
   ============================================ */

.cta-section {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-3xl);
    padding: var(--space-20) var(--space-16);
    background: var(--grad-primary);
    text-align: center;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(255,255,255,0.1) 0%, transparent 50%);
}

.cta-section::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 20px,
        rgba(255,255,255,0.02) 20px,
        rgba(255,255,255,0.02) 40px
    );
    animation: patternMove 20s linear infinite;
}

@keyframes patternMove {
    from { transform: translate(0, 0); }
    to   { transform: translate(40px, 40px); }
}

.cta-title {
    color: white;
    font-size: var(--text-5xl);
    font-weight: var(--fw-extrabold);
    margin-bottom: var(--space-4);
    position: relative;
    z-index: 1;
}

.cta-desc {
    color: rgba(255,255,255,0.85);
    font-size: var(--text-lg);
    margin-bottom: var(--space-8);
    position: relative;
    z-index: 1;
}

/* ============================================
   LOADING SKELETON
   ============================================ */

.skeleton {
    background: linear-gradient(
        90deg,
        var(--bg-card) 25%,
        var(--bg-card-hover) 50%,
        var(--bg-card) 75%
    );
    background-size: 200% 100%;
    animation: skeletonShimmer 1.5s infinite;
    border-radius: var(--radius-md);
}

@keyframes skeletonShimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ============================================
   TOOLTIP
   ============================================ */

[data-tooltip] {
    position: relative;
    cursor: help;
}

[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-size: var(--text-xs);
    font-weight: var(--fw-medium);
    padding: var(--space-2) var(--space-3);
    border-radius: var(--radius-md);
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-fast);
    z-index: var(--z-dropdown);
    pointer-events: none;
    box-shadow: var(--shadow-lg);
}

[data-tooltip]:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* ============================================
   PROGRESS BAR
   ============================================ */

.progress-bar {
    height: 6px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--grad-primary);
    border-radius: var(--radius-full);
    transition: width 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,0.3),
        transparent
    );
    animation: progressShine 2s infinite;
}

@keyframes progressShine {
    from { transform: translateX(-100%); }
    to   { transform: translateX(200%); }
}

/* ============================================
   MODAL ANIMATIONS
   ============================================ */

.modal-backdrop {
    position: fixed;
    inset: 0;
    background: var(--overlay);
    backdrop-filter: blur(8px);
    z-index: var(--z-modal);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-6);
}

.modal-backdrop.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-2xl);
    padding: var(--space-10);
    max-width: 560px;
    width: 100%;
    transform: scale(0.9) translateY(20px);
    transition: transform var(--transition-bounce);
    max-height: 90vh;
    overflow-y: auto;
}

.modal-backdrop.active .modal {
    transform: scale(1) translateY(0);
}

/* ============================================
   PAGE TRANSITION
   ============================================ */

.page-transition {
    animation: pageFadeIn 0.5s ease forwards;
}

@keyframes pageFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   NEON GLOW TEXT
   ============================================ */

.neon-text-purple {
    color: var(--brand-purple);
    text-shadow:
        0 0 10px rgba(108, 99, 255, 0.5),
        0 0 30px rgba(108, 99, 255, 0.3),
        0 0 60px rgba(108, 99, 255, 0.2);
}

.neon-text-cyan {
    color: var(--brand-cyan);
    text-shadow:
        0 0 10px rgba(0, 212, 255, 0.5),
        0 0 30px rgba(0, 212, 255, 0.3),
        0 0 60px rgba(0, 212, 255, 0.2);
}

/* ============================================
   SCROLL INDICATOR
   ============================================ */

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
    color: var(--text-muted);
    font-size: var(--text-xs);
    animation: fadeIn 1s ease 1.5s both;
}

.scroll-mouse {
    width: 22px;
    height: 35px;
    border: 2px solid var(--text-muted);
    border-radius: 11px;
    position: relative;
    display: flex;
    justify-content: center;
    padding-top: 5px;
}

.scroll-mouse::before {
    content: '';
    width: 4px;
    height: 8px;
    background: var(--brand-purple);
    border-radius: var(--radius-full);
    animation: scrollDown 1.5s ease infinite;
}

@keyframes scrollDown {
    0%   { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(10px); opacity: 0; }
}