
.footer-intro {
    min-height: 100vh;
    background: var(--bg-primary);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.intro-reveal {
    position: relative;
    z-index: 2;
    width: 100%;
    opacity: 0;
    transform: translateY(50px);
    animation: revealIntro 1.5s ease 0.5s forwards;
}

.footer-intro .container {
    position: relative;
    z-index: 2;
}

.intro-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.intro-text {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Typing Animation */
.typing-text {
    margin-bottom: 1rem;
}

.greeting {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    color: var(--text-secondary);
    display: block;
    margin-bottom: 0.5rem;
    animation: fadeInUp 1s ease 0.2s both;
}

.name {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent) 50%, var(--accent-hover) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    position: relative;
    animation: typeWriter 2s steps(11) 0.5s both;
}

.name::after {
    content: '|';
    position: absolute;
    right: -0.1em;
    color: var(--accent);
    animation: blink 1s infinite 2.5s;
}

/* Experience Text */
.experience-text {
    animation: fadeInUp 1s ease 1.5s both;
}

.experience-highlight {
    font-size: clamp(1.25rem, 3vw, 2rem);
    font-weight: 600;
    color: var(--accent);
    text-shadow: 0 0 20px rgba(0, 123, 255, 0.2);
}

/* Specialization Text */
.specialization-text {
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    color: var(--text-secondary);
    line-height: 1.6;
    animation: fadeInUp 1s ease 2s both;
}

.tech-highlight {
    color: var(--accent);
    font-weight: 600;
    position: relative;
    transition: all 0.3s ease;
}

.tech-highlight:hover {
    color: var(--accent-hover);
    text-shadow: 0 0 10px rgba(0, 123, 255, 0.3);
}

/* Impact Statistics */
.impact-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 3rem 0;
    animation: fadeInUp 1s ease 2.5s both;
}

.impact-item {
    text-align: center;
    position: relative;
}

.impact-number {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--accent);
    display: block;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 20px rgba(0, 123, 255, 0.2);
}

.impact-label {
    color: var(--text-secondary);
    font-size: clamp(0.875rem, 2vw, 1rem);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Call to Action */
.call-to-action {
    animation: fadeInUp 1s ease 3s both;
}

.call-to-action p {
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Background Elements */
.footer-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
}

.float-element {
    position: absolute;
    color: rgba(0, 123, 255, 0.1);
    font-weight: 600;
    font-size: clamp(1rem, 2vw, 1.5rem);
    animation: float 20s infinite linear;
    opacity: 0;
}

.float-element:nth-child(1) {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
    font-family: 'SF Mono', Monaco, monospace;
    font-size: 2rem;
}

.float-element:nth-child(2) {
    top: 20%;
    right: 15%;
    animation-delay: 2s;
}

.float-element:nth-child(3) {
    bottom: 30%;
    left: 20%;
    animation-delay: 4s;
}

.float-element:nth-child(4) {
    top: 60%;
    right: 10%;
    animation-delay: 6s;
}

.float-element:nth-child(5) {
    bottom: 20%;
    right: 30%;
    animation-delay: 8s;
}

.float-element:nth-child(6) {
    top: 40%;
    left: 5%;
    animation-delay: 10s;
}

/* Animations */
@keyframes typeWriter {
    0% {
        width: 0;
    }
    100% {
        width: 100%;
    }
}

@keyframes blink {
    0%, 50% {
        opacity: 1;
    }
    51%, 100% {
        opacity: 0;
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes revealIntro {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) rotate(360deg);
        opacity: 0;
    }
}

/* Pulsing glow effect */
@keyframes pulse {
    0%, 100% {
        text-shadow: 0 0 20px rgba(0, 123, 255, 0.2);
    }
    50% {
        text-shadow: 0 0 40px rgba(0, 123, 255, 0.4);
    }
}

.name {
    animation: typeWriter 2s steps(11) 0.5s both, pulse 3s ease-in-out 3s infinite;
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer-intro {
        min-height: 80vh;
        padding: 2rem 0;
    }
    
    .intro-text {
        gap: 1.5rem;
    }
    
    .impact-stats {
        gap: 2rem;
        margin: 2rem 0;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 280px;
    }
}

@media (max-width: 480px) {
    .footer-intro {
        min-height: 70vh;
    }
    
    .impact-stats {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }
    
    .greeting {
        margin-bottom: 0.25rem;
    }
    
    .specialization-text {
        line-height: 1.4;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .name::after {
        animation: none;
    }
    
    .float-element {
        animation: none;
        opacity: 0.05;
    }
    
    .name {
        animation: fadeInUp 1s ease 0.5s both;
    }
    
    * {
        animation-duration: 0.1s !important;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .name {
        -webkit-text-fill-color: var(--text-primary);
        background: none;
    }
    
    .tech-highlight {
        color: var(--text-primary);
        background: var(--accent);
        padding: 0.1em 0.2em;
        border-radius: 0.2em;
    }
}