:root {
    /* Brand Colors */
    --gotham-primary: #2563eb;
    --gotham-secondary: #6b21a8;
    --gotham-accent: #ea580c;
    --visa-gold: #f7b600;
    --visa-blue: #1a1f71;

    /* Gradient Definitions */
    --gradient-gotham: linear-gradient(135deg, var(--gotham-accent) 0%, var(--gotham-secondary) 50%, var(--gotham-primary) 100%);
    --gradient-visa: linear-gradient(90deg, #00aaff, var(--visa-gold));

    /* Neutral Colors */
    --bg-primary: #0a0e1a;
    --bg-secondary: #111827;
    --bg-card: rgba(255, 255, 255, 0.03);
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;

    /* Spacing System (8px grid) */
    --space-1: 8px;
    --space-2: 16px;
    --space-3: 24px;
    --space-4: 32px;
    --space-5: 40px;
    --space-6: 48px;
    --space-8: 64px;

    /* Animation Timings */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-spring: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-primary);
    color: #e0e0e0;
    overflow: hidden; /* Prevent scrolling the body */
    position: relative;
}

/* Animated Gradient Background */
body::before {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 20% 50%, rgba(0, 170, 255, 0.15) 0%, transparent 45%),
                radial-gradient(circle at 80% 80%, rgba(247, 182, 0, 0.15) 0%, transparent 45%),
                radial-gradient(circle at 50% 50%, rgba(107, 33, 168, 0.08) 0%, transparent 50%);
    animation: gradientFloat 25s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes gradientFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(-10%, -10%) scale(1.1);
    }
    66% {
        transform: translate(10%, 10%) scale(0.95);
    }
}

/* Particle Background Effect - Performance Optimized */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    pointer-events: none;
    will-change: transform, opacity;
    transform: translateZ(0);
    backface-visibility: hidden;
}

@keyframes floatUp {
    0% {
        transform: translateY(100vh) translateX(0) scale(0);
        opacity: 0;
    }
    10% {
        transform: translateY(90vh) translateX(10px) scale(1);
        opacity: 0.5;
    }
    90% {
        opacity: 0.3;
    }
    100% {
        transform: translateY(-10vh) translateX(-10px) scale(0.5);
        opacity: 0;
    }
}

@keyframes floatDiagonal {
    0% {
        transform: translate(0, 100vh) scale(0);
        opacity: 0;
    }
    10% {
        transform: translate(10px, 90vh) scale(1);
        opacity: 0.6;
    }
    90% {
        opacity: 0.2;
    }
    100% {
        transform: translate(100px, -10vh) scale(0.3);
        opacity: 0;
    }
}

.gotham-brand {
    color: #00aaff;
    text-shadow: 0 0 20px rgba(0, 170, 255, 0.3);
}

.visa-brand {
    color: #f7b600;
    text-shadow: 0 0 20px rgba(247, 182, 0, 0.3);
}

.hero-bg {
    background: linear-gradient(rgba(10, 14, 26, 0.85), rgba(10, 14, 26, 1)), url('https://images.unsplash.com/photo-1530789253388-582c481c54b0?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%DD&auto=format&fit=crop&w=2070&q=80') no-repeat center center;
    background-size: cover;
}

/* Professional Card Styling - Enhanced with 3D and GPU Acceleration */
.card-bg {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    transform: perspective(1000px) rotateX(0deg) rotateY(0deg) translateZ(0);
    will-change: transform, box-shadow;
    /* Professional glow effect */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2),
                0 0 40px rgba(0, 170, 255, 0.08),
                inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

/* Animated gradient border */
.card-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(45deg,
        transparent 30%,
        rgba(0, 170, 255, 0.3) 50%,
        transparent 70%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity var(--transition-base);
}

/* Enhanced 3D hover effect */
.card-bg:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    transform: perspective(1000px) rotateX(-2deg) rotateY(2deg) translateY(-8px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4),
                0 0 80px rgba(0, 170, 255, 0.2),
                inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.card-bg:hover::before {
    opacity: 1;
    animation: borderGlow 2s linear infinite;
}

@keyframes borderGlow {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 200% 50%;
    }
}

/* Card entrance animations */
.card-bg {
    animation: cardFadeIn 0.6s ease forwards;
    opacity: 0;
}

.slide:not(.hidden) .card-bg:nth-child(1) { animation-delay: 0.1s; }
.slide:not(.hidden) .card-bg:nth-child(2) { animation-delay: 0.2s; }
.slide:not(.hidden) .card-bg:nth-child(3) { animation-delay: 0.3s; }
.slide:not(.hidden) .card-bg:nth-child(4) { animation-delay: 0.4s; }

@keyframes cardFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Special card effects by type */

/* Pillars cards - icon rotation on hover */
.pillar-card {
    transition: all 0.4s ease;
}

.pillar-card:hover .pillar-icon {
    transform: rotate(360deg) scale(1.1);
    transition: transform 0.6s ease;
}

.pillar-icon {
    transition: transform 0.6s ease;
}

/* Problem card - danger theme */
.problem-card {
    background: linear-gradient(135deg,
        rgba(239, 68, 68, 0.03) 0%,
        rgba(255, 255, 255, 0.02) 100%);
    border: 2px solid transparent;
    background-clip: padding-box;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2),
                0 0 40px rgba(239, 68, 68, 0.1);
}

.problem-card::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 1rem;
    padding: 2px;
    background: linear-gradient(45deg, #ef4444, #f97316);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.2;
    transition: opacity 0.4s ease;
}

.problem-card:hover::before {
    opacity: 0.5;
}

/* Opportunity card - success theme */
.opportunity-card {
    background: linear-gradient(135deg,
        rgba(34, 197, 94, 0.03) 0%,
        rgba(255, 255, 255, 0.02) 100%);
    border: 2px solid transparent;
    background-clip: padding-box;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2),
                0 0 40px rgba(34, 197, 94, 0.1);
}

.opportunity-card::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 1rem;
    padding: 2px;
    background: linear-gradient(45deg, #22c55e, #00aaff);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.2;
    transition: opacity 0.4s ease;
}

.opportunity-card:hover::before {
    opacity: 0.5;
}

.opportunity-card:hover,
.problem-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3),
                0 0 60px rgba(var(--card-glow-color, 255, 255, 255), 0.15);
}

/* Icon floating animation */
.icon-float {
    animation: iconFloat 3s ease-in-out infinite;
}

.icon-float:nth-child(2) { animation-delay: 0.5s; }
.icon-float:nth-child(3) { animation-delay: 1s; }
.icon-float:nth-child(4) { animation-delay: 1.5s; }

/* Custom bullet point styles */
.custom-bullet-red {
    box-shadow: 0 0 6px rgba(239, 68, 68, 0.6);
    animation: bulletPulse 2s ease-in-out infinite;
}

.custom-bullet-green {
    box-shadow: 0 0 6px rgba(34, 197, 94, 0.6);
    animation: bulletPulse 2s ease-in-out infinite;
}

@keyframes bulletPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.2);
        opacity: 1;
    }
}

/* Marketing cards - number bounce */
.marketing-card .card-number {
    display: inline-block;
    animation: numberBounce 0.8s ease;
}

@keyframes numberBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Impact cards - enhanced with pulsing glow */
.impact-card {
    animation: pulseGlow 4s ease-in-out infinite;
}

.impact-card span {
    animation: iconFloat 3s ease-in-out infinite;
    font-size: 3rem;
}

.impact-card:nth-child(1) { animation-delay: 0s; }
.impact-card:nth-child(2) { animation-delay: 1.3s; }
.impact-card:nth-child(3) { animation-delay: 2.6s; }

.impact-card:nth-child(1) span { animation-delay: 0s; }
.impact-card:nth-child(2) span { animation-delay: 1s; }
.impact-card:nth-child(3) span { animation-delay: 2s; }

@keyframes iconFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2),
                    0 0 40px rgba(0, 170, 255, 0.08);
    }
    50% {
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25),
                    0 0 60px rgba(0, 170, 255, 0.15);
    }
}

/* Time traveler card - gradient animation */
.gradient-border {
    position: relative;
    background-clip: padding-box;
    border: 2px solid transparent;
}

.gradient-border::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 1rem;
    background: linear-gradient(45deg, #00aaff, #f7b600, #00aaff);
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Phone mockup floating effect */
.phone-mockup {
    animation: phoneFloat 4s ease-in-out infinite;
}

@keyframes phoneFloat {
    0%, 100% { transform: translateY(0) rotateZ(0deg); }
    25% { transform: translateY(-8px) rotateZ(1deg); }
    75% { transform: translateY(-8px) rotateZ(-1deg); }
}

/* Premium Credit Card Styling with Shimmer */
.credit-card-container {
    position: relative;
}

.credit-card-glow {
    background: radial-gradient(ellipse at center, rgba(0, 170, 255, 0.15) 0%, rgba(247, 182, 0, 0.1) 30%, transparent 70%);
    filter: blur(40px);
    transform: scale(1.2);
    animation: pulseGlow 4s ease-in-out infinite;
}

.credit-card-backdrop {
    background: linear-gradient(135deg,
        rgba(0, 170, 255, 0.05) 0%,
        rgba(247, 182, 0, 0.03) 50%,
        rgba(0, 170, 255, 0.05) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: inset 0 0 40px rgba(255, 255, 255, 0.02);
}

.credit-card-image {
    transition: transform 0.6s ease, box-shadow 0.6s ease, filter 0.6s ease;
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.4),
        0 10px 25px rgba(0, 0, 0, 0.3),
        0 0 100px rgba(0, 170, 255, 0.1),
        inset 0 0 20px rgba(255, 255, 255, 0.05);
    filter: brightness(1.05) contrast(1.1);
    position: relative;
    overflow: hidden;
}

/* Shimmer effect for credit card */
.credit-card-image::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        105deg,
        transparent 40%,
        rgba(255, 255, 255, 0.2) 50%,
        transparent 60%
    );
    animation: cardShimmer 3s infinite;
}

@keyframes cardShimmer {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(30deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(30deg);
    }
}

/* Card Flip Effect */
.card-flip-container {
    perspective: 1000px;
    animation: cardFloat 6s ease-in-out infinite;
}

.card-flip-inner {
    position: relative;
    transition: transform 0.6s;
    transform-style: preserve-3d;
    width: 100%;
    height: 100%;
}

.card-flip-container:hover .card-flip-inner {
    transform: rotateY(180deg);
}

.card-flip-front, .card-flip-back {
    width: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.card-flip-front {
    position: relative;
    z-index: 2;
}

.card-flip-back {
    position: absolute;
    top: 0;
    left: 0;
    transform: rotateY(180deg);
    z-index: 1;
}

/* Ensure both card images have same styling */
.card-flip-front img, .card-flip-back img {
    display: block;
    width: 100%;
    height: auto;
}

/* Handwriting Annotations */
.card-annotations {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.annotation {
    opacity: 0;
    animation: drawIn 0.6s ease-out forwards;
}

.annotation:nth-child(1) { animation-delay: 0.3s; }
.annotation:nth-child(2) { animation-delay: 0.5s; }
.annotation:nth-child(3) { animation-delay: 0.7s; }
.annotation:nth-child(4) { animation-delay: 0.9s; }
.annotation:nth-child(5) { animation-delay: 1.1s; }

@keyframes drawIn {
    0% {
        opacity: 0;
        transform: scale(0.8) translateY(10px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Float animation for annotations */
.annotation svg {
    animation: floatGentle 4s ease-in-out infinite;
}

.annotation:nth-child(even) svg {
    animation-delay: -2s;
}

@keyframes floatGentle {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

/* Show/hide annotations based on card flip */
.front-annotations {
    opacity: 1;
    transition: opacity 0.3s ease;
}

.back-annotations {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card-flip-container:hover .front-annotations {
    opacity: 0;
}

.card-flip-container:hover .back-annotations {
    opacity: 1;
}

/* Ensure annotations appear after flip completes */
.card-flip-container:hover .back-annotations .annotation {
    animation: drawIn 0.6s ease-out forwards;
}

.card-flip-container:hover .back-annotations .annotation:nth-child(1) { animation-delay: 0.4s; }
.card-flip-container:hover .back-annotations .annotation:nth-child(2) { animation-delay: 0.6s; }
.card-flip-container:hover .back-annotations .annotation:nth-child(3) { animation-delay: 0.8s; }
.card-flip-container:hover .back-annotations .annotation:nth-child(4) { animation-delay: 1.0s; }

.credit-card-image:hover {
    transform: translateY(-12px) scale(1.03) rotateX(5deg);
    box-shadow:
        0 40px 80px rgba(0, 0, 0, 0.5),
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 120px rgba(0, 170, 255, 0.2),
        0 0 80px rgba(247, 182, 0, 0.1),
        inset 0 0 30px rgba(255, 255, 255, 0.1);
    filter: brightness(1.1) contrast(1.15);
}

@keyframes cardFloat {
    0%, 100% { transform: translateY(0) rotateZ(0deg); }
    25% { transform: translateY(-10px) rotateZ(0.5deg); }
    75% { transform: translateY(-10px) rotateZ(-0.5deg); }
}

.brand-gradient-text {
    background: linear-gradient(90deg, #00aaff, #f7b600, #00aaff);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmerText 3s linear infinite;
    position: relative;
}

/* Add glow effect to gradient text */
.brand-gradient-text::after {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
    background: linear-gradient(90deg, #00aaff, #f7b600);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: blur(20px);
    opacity: 0.5;
}

@keyframes shimmerText {
    0% {
        background-position: 0% center;
    }
    100% {
        background-position: 200% center;
    }
}

.section-divider {
    height: 3px;
    width: 120px;
    background: linear-gradient(90deg, #00aaff, #f7b600, #00aaff);
    background-size: 200% 100%;
    margin: 1.5rem auto;
    border-radius: 2px;
    box-shadow: 0 0 20px rgba(0, 170, 255, 0.3);
    position: relative;
    overflow: hidden;
    animation: dividerGlow 3s ease-in-out infinite;
}

@keyframes dividerGlow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(0, 170, 255, 0.3);
        background-position: 0% 50%;
    }
    50% {
        box-shadow: 0 0 30px rgba(247, 182, 0, 0.4);
        background-position: 100% 50%;
    }
}

/* Slide Transitions - Liquid Morph Effect */
.presentation-container {
    position: relative;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 4rem 1.5rem;
    opacity: 1;
    transform-origin: center center;
    transform: scale(1) translateZ(0);
    border-radius: 0;
    transition: all 0.3s ease;
}

.slide.hidden {
    opacity: 0;
    pointer-events: none;
    transform: scale(0.9);
}

/* Subtle Professional Slide Transitions */
.slide.slide-out-left {
    animation: subtleSlideOutLeft 0.6s ease-out forwards;
}

.slide.slide-out-right {
    animation: subtleSlideOutRight 0.6s ease-out forwards;
}

.slide.slide-in-left {
    animation: subtleSlideInLeft 0.6s ease-out forwards;
}

.slide.slide-in-right {
    animation: subtleSlideInRight 0.6s ease-out forwards;
}

/* Slide out to the left (going forward) */
@keyframes subtleSlideOutLeft {
    0% {
        transform: scale(1) translateX(0);
        opacity: 1;
        filter: blur(0px);
    }
    100% {
        transform: scale(0.95) translateX(-30px);
        opacity: 0;
        filter: blur(1px);
    }
}

/* Slide out to the right (going backward) */
@keyframes subtleSlideOutRight {
    0% {
        transform: scale(1) translateX(0);
        opacity: 1;
        filter: blur(0px);
    }
    100% {
        transform: scale(0.95) translateX(30px);
        opacity: 0;
        filter: blur(1px);
    }
}

/* Slide in from the left (going backward) */
@keyframes subtleSlideInLeft {
    0% {
        transform: scale(0.95) translateX(-30px);
        opacity: 0;
        filter: blur(1px);
    }
    100% {
        transform: scale(1) translateX(0);
        opacity: 1;
        filter: blur(0px);
    }
}

/* Slide in from the right (going forward) */
@keyframes subtleSlideInRight {
    0% {
        transform: scale(0.95) translateX(30px);
        opacity: 0;
        filter: blur(1px);
    }
    100% {
        transform: scale(1) translateX(0);
        opacity: 1;
        filter: blur(0px);
    }
}

/* Crossfade for dot navigation - simple fade */
.slide.fade-in {
    animation: simpleFadeIn 0.5s ease-out forwards;
}

.slide.fade-out {
    animation: bubbleFadeOut 0.5s cubic-bezier(0.55, 0.055, 0.675, 0.19) forwards;
}

@keyframes bubbleFadeIn {
    from {
        opacity: 0;
        transform: scale(0.7);
        border-radius: 50%;
        filter: blur(8px);
    }
    50% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }
    to {
        opacity: 1;
        transform: scale(1);
        border-radius: 0;
        filter: blur(0);
    }
}

@keyframes bubbleFadeOut {
    from {
        opacity: 1;
        transform: scale(1);
        border-radius: 0;
        filter: blur(0);
    }
    50% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }
    to {
        opacity: 0;
        transform: scale(1.3);
        border-radius: 50%;
        filter: blur(8px);
    }
}

/* Page shadow and texture effect */
.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(to right,
            transparent 0%,
            rgba(0, 0, 0, 0.03) 2%,
            transparent 5%,
            transparent 95%,
            rgba(0, 0, 0, 0.03) 98%,
            transparent 100%),
        radial-gradient(ellipse at top,
            transparent 0%,
            rgba(0, 0, 0, 0.02) 70%);
    pointer-events: none;
    z-index: 1;
}

/* Add paper-like texture during animation */
.slide.slide-out-left::after,
.slide.slide-out-right::after,
.slide.slide-in-left::after,
.slide.slide-in-right::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 2px,
            rgba(255, 255, 255, 0.03) 2px,
            rgba(255, 255, 255, 0.03) 4px
        );
    pointer-events: none;
    z-index: 2;
    opacity: 0.5;
}

/* Content animations */
.slide:not(.hidden) .slide-title {
    animation: fadeInUp 0.6s ease 0.1s both;
}

.slide:not(.hidden) .slide-subtitle {
    animation: fadeInUp 0.6s ease 0.2s both;
}

.slide:not(.hidden) .section-divider {
    animation: expandWidth 0.6s ease 0.3s both;
}

.slide:not(.hidden) .card-bg {
    animation: fadeInUp 0.6s ease 0.3s both;
}

/* Staggered List Animations */
.slide:not(.hidden) ul li {
    opacity: 0;
    animation: slideInFromLeft 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.slide:not(.hidden) ul li:nth-child(1) { animation-delay: 0.4s; }
.slide:not(.hidden) ul li:nth-child(2) { animation-delay: 0.5s; }
.slide:not(.hidden) ul li:nth-child(3) { animation-delay: 0.6s; }
.slide:not(.hidden) ul li:nth-child(4) { animation-delay: 0.7s; }
.slide:not(.hidden) ul li:nth-child(5) { animation-delay: 0.8s; }

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Add hover effect for list items */
ul li {
    transition: all var(--transition-fast);
    position: relative;
}

ul li:hover {
    transform: translateX(5px);
}

ul li::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 0;
    background: var(--gradient-visa);
    transition: height var(--transition-fast);
}

ul li:hover::before {
    height: 100%;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes expandWidth {
    from {
        width: 0;
        opacity: 0;
    }
    to {
        width: 120px;
        opacity: 1;
    }
}

.slide-title {
    @apply font-bold text-white text-center;
    font-size: 72px;
    line-height: 1.1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.02em;
}

.slide-subtitle {
    @apply text-3xl text-gray-400 mt-6 max-w-4xl text-center;
    line-height: 1.4;
}

/* Enhanced Desktop Navigation */
.navigation-bar {
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 32px;
    background: rgba(15, 20, 30, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 12px 24px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4),
                0 0 60px rgba(0, 170, 255, 0.05);
    z-index: 50;
}

/* Arrow Buttons - Enhanced for Desktop */
.nav-arrow-btn {
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    border-radius: 8px;
}

.nav-arrow-btn:hover:not(:disabled) {
    color: rgba(255, 255, 255, 1);
    background: rgba(255, 255, 255, 0.05);
    transform: scale(1.1);
}

.nav-arrow-btn:disabled {
    opacity: 0.2;
    cursor: not-allowed;
}

.nav-arrow-btn svg {
    width: 20px;
    height: 20px;
}

/* Progress Indicator - Enhanced for Desktop */
.progress-dots {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 4px;
}

.progress-dot {
    width: 30px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    padding: 0;
    border-radius: 2px;
}

.progress-dot:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: scaleY(1.5);
}

.progress-dot.active {
    background: linear-gradient(90deg, #00aaff, #00ddff);
    height: 6px;
    box-shadow: 0 0 10px rgba(0, 170, 255, 0.5);
}

/* Slide Counter - Enhanced for Desktop */
.slide-counter {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
    letter-spacing: 1px;
    font-family: 'Poppins', sans-serif;
}

#current-slide {
    color: #00aaff;
    font-weight: 600;
    font-size: 16px;
}

.counter-divider {
    margin: 0 4px;
    opacity: 0.5;
}

/* Remove keyboard hint - too cluttered */
.keyboard-hint {
    display: none;
}

/* Card Mockup Styling - Original Brand Colors */
.card-mockup-bg {
    background: linear-gradient(135deg, #6B21A8, #EA580C, #2563EB);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.app-main-card-bg {
    background: linear-gradient(135deg, #EA580C, #6B21A8);
}

/* Additional professional touches */
body {
    font-family: 'Poppins', sans-serif;
    background-color: #0a0e1a;
    color: #e0e0e0;
    overflow: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Hero tagline special styling */
.hero-tagline {
    animation: fadeInUp 1s ease 0.5s both;
}

.tagline-text {
    display: inline-block;
    transition: all 0.3s ease;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    position: relative;
}

.tagline-text::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-visa);
    transition: width 0.3s ease;
}

.tagline-text:hover {
    transform: translateY(-2px);
    text-shadow: 0 6px 20px rgba(0, 170, 255, 0.4);
}

.tagline-text:hover::after {
    width: 100%;
}

/* Pulse animation for important elements */
@keyframes subtlePulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
}

.pulse-subtle {
    animation: subtlePulse 3s ease-in-out infinite;
}

/* Improve readability */
.slide-subtitle {
    line-height: 1.5;
}

/* Better spacing for grids */
.grid {
    gap: 1.5rem;
}

/* Professional button styling */
button:focus {
    outline: none;
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Glass Pillar Cards - Updated styling to match app mockup */
.glass-pillar-card {
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 0 32px rgba(255, 255, 255, 0.02);
    transition: all 0.3s ease;
}

.glass-pillar-card:hover {
    transform: translateY(-8px) scale(1.02);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow:
        0 20px 48px rgba(0, 0, 0, 0.4),
        0 0 80px rgba(0, 170, 255, 0.15),
        inset 0 0 32px rgba(255, 255, 255, 0.03);
}

.glass-pillar-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transition: left 0.6s ease;
}

.glass-pillar-card:hover::before {
    left: 100%;
}

.pillar-icon-container {
    position: relative;
    animation: float 4s ease-in-out infinite;
    animation-delay: calc(var(--index, 0) * 0.2s);
}

.pillar-icon-container::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.glass-pillar-card:hover .pillar-icon-container::after {
    opacity: 1;
    animation: spin 3s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.pillar-badge {
    position: relative;
    display: inline-block;
    padding: 4px 12px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border-radius: 12px;
    transition: all 0.3s ease;
}

.glass-pillar-card:hover .pillar-badge {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
    transform: scale(1.05);
}

/* Stagger animation for pillar cards */
.glass-pillar-card:nth-child(1) { animation-delay: 0.1s; }
.glass-pillar-card:nth-child(2) { animation-delay: 0.2s; }
.glass-pillar-card:nth-child(3) { animation-delay: 0.3s; }
.glass-pillar-card:nth-child(4) { animation-delay: 0.4s; }

/* Glass pillar card with problem card - red glow */
.glass-pillar-card.problem-card {
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(239, 68, 68, 0.2),
        inset 0 0 32px rgba(255, 255, 255, 0.02);
}

.glass-pillar-card.problem-card:hover {
    box-shadow:
        0 20px 48px rgba(0, 0, 0, 0.4),
        0 0 80px rgba(239, 68, 68, 0.3),
        inset 0 0 32px rgba(255, 255, 255, 0.03);
}

.glass-pillar-card.problem-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(239, 68, 68, 0.15), rgba(255, 255, 255, 0.1), rgba(239, 68, 68, 0.15), transparent);
    transition: left 0.6s ease;
}

.glass-pillar-card.problem-card:hover::before {
    left: 100%;
}

/* Glass pillar card with opportunity card - green glow */
.glass-pillar-card.opportunity-card {
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(34, 197, 94, 0.2),
        inset 0 0 32px rgba(255, 255, 255, 0.02);
}

.glass-pillar-card.opportunity-card:hover {
    box-shadow:
        0 20px 48px rgba(0, 0, 0, 0.4),
        0 0 80px rgba(34, 197, 94, 0.3),
        inset 0 0 32px rgba(255, 255, 255, 0.03);
}

.glass-pillar-card.opportunity-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(34, 197, 94, 0.15), rgba(255, 255, 255, 0.1), rgba(34, 197, 94, 0.15), transparent);
    transition: left 0.6s ease;
}

.glass-pillar-card.opportunity-card:hover::before {
    left: 100%;
}