/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Skip Link - WCAG Compliance */
.skip-link {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-teal);
    color: #000;
    padding: 12px 24px;
    text-decoration: none;
    font-weight: 600;
    z-index: 10000;
    border-radius: 0 0 8px 8px;
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 0;
    outline: 3px solid #fff;
    outline-offset: 3px;
}

/* Accent Colors */
:root {
    --accent-teal: #00d4aa;
    --accent-violet: #7c3aed;
    --accent-amber: #f59e0b;
    --accent-hue: 200;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    color: #fff;
    background: linear-gradient(135deg, #0a0a0f, #1a1a2e, #16213e);
    overflow: hidden;
}

/* Animated galaxy orbs */
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.5;
    animation: float 20s infinite ease-in-out, rotate 30s infinite linear;
    pointer-events: none;
    will-change: transform;
    backface-visibility: hidden;
}

.orb-1 {
    width: 450px;
    height: 450px;
    background: 
        radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.3) 0%, transparent 20%),
        radial-gradient(circle at 70% 60%, rgba(0, 212, 170, 0.8) 0%, transparent 40%),
        radial-gradient(circle at 40% 70%, rgba(124, 58, 237, 0.6) 0%, transparent 50%),
        radial-gradient(circle, rgba(0, 100, 150, 0.4) 0%, transparent 70%);
    top: 5%;
    left: 5%;
    animation-delay: 0s, 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: 
        radial-gradient(circle at 60% 40%, rgba(255, 255, 255, 0.25) 0%, transparent 15%),
        radial-gradient(circle at 30% 50%, rgba(124, 58, 237, 0.9) 0%, transparent 35%),
        radial-gradient(circle at 70% 30%, rgba(245, 158, 11, 0.5) 0%, transparent 45%),
        radial-gradient(circle, rgba(80, 20, 120, 0.5) 0%, transparent 65%);
    top: 45%;
    right: 5%;
    animation-delay: -7s, -5s;
}

.orb-3 {
    width: 350px;
    height: 350px;
    background: 
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.2) 0%, transparent 18%),
        radial-gradient(circle at 40% 60%, rgba(245, 158, 11, 0.7) 0%, transparent 38%),
        radial-gradient(circle at 60% 40%, rgba(0, 212, 170, 0.6) 0%, transparent 48%),
        radial-gradient(circle, rgba(150, 80, 50, 0.4) 0%, transparent 60%);
    bottom: 5%;
    left: 25%;
    animation-delay: -14s, -10s;
    opacity: 0.35;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(50px, -50px) scale(1.1);
    }
    50% {
        transform: translate(-30px, 30px) scale(0.9);
    }
    75% {
        transform: translate(40px, 40px) scale(1.05);
    }
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(50px, -50px) scale(1.1);
    }
    50% {
        transform: translate(-30px, 30px) scale(0.9);
    }
    75% {
        transform: translate(40px, 40px) scale(1.05);
    }
}

/* Cursor-following light */
.cursor-light {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease;
    opacity: 0;
}

.hero:hover .cursor-light {
    opacity: 1;
}

/* Soft artistic texture overlay */
.texture {
    position: absolute;
    inset: 0;
    background: url("https://images.unsplash.com/photo-1526401485004-2fda9f6d2f6b?auto=format&fit=crop&w=1200&q=80")
        center/cover no-repeat;
    opacity: 0.15;
    mix-blend-mode: screen;
    filter: hue-rotate(calc(var(--accent-hue) * 1deg)) blur(3px);
    transition: filter 0.3s ease, transform 0.15s ease-out;
}

/* Grain overlay */
.grain {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.4'/%3E%3C/svg%3E");
    opacity: 0.05;
    pointer-events: none;
    mix-blend-mode: overlay;
}

.content {
    position: relative;
    max-width: 700px;
    padding: 20px;
    z-index: 2;
}

h1 {
    font-size: 3.5rem;
    letter-spacing: 2px;
    font-weight: 700;
    text-shadow: 0 0 40px rgba(0, 212, 170, 0.3), 0 0 80px rgba(124, 58, 237, 0.2);
    animation: textGlow 4s ease-in-out infinite;
}

@keyframes textGlow {
    0%, 100% {
        text-shadow: 0 0 40px rgba(0, 212, 170, 0.3), 0 0 80px rgba(124, 58, 237, 0.2);
    }
    50% {
        text-shadow: 0 0 60px rgba(0, 212, 170, 0.5), 0 0 100px rgba(124, 58, 237, 0.3), 0 0 140px rgba(245, 158, 11, 0.2);
    }
}

.subtitle {
    margin-top: 15px;
    font-size: 1.3rem;
    opacity: 0.9;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent-teal);
}

.intro {
    margin-top: 25px;
    font-size: 1.15rem;
    line-height: 1.7;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.button {
    display: inline-block;
    margin-top: 35px;
    padding: 14px 32px;
    background: linear-gradient(135deg, var(--accent-teal), var(--accent-violet));
    color: #fff;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 212, 170, 0.3), 0 4px 20px rgba(124, 58, 237, 0.3);
}

.button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 212, 170, 0.5), 0 8px 30px rgba(124, 58, 237, 0.5);
}

.button:hover::before {
    left: 100%;
}

.button:focus-visible {
    outline: 3px solid var(--accent-teal);
    outline-offset: 3px;
}

/* Fade-in elements */
.fade {
    opacity: 0;
    transform: translateY(20px);
    transition: 0.9s ease;
}

.fade.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Floating particles */
.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--accent-teal);
    border-radius: 50%;
    pointer-events: none;
    opacity: 0;
    animation: rise 15s infinite ease-in;
}

@keyframes rise {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-100px) scale(1);
        opacity: 0;
    }
}

/* About Section */
.about {
    padding: 100px 20px;
    max-width: 100%;
    margin: auto;
    text-align: center;
    background: linear-gradient(180deg, #0a0a0f 0%, #1a1a2e 100%);
    color: #e0e0e0;
}

.about h2 {
    font-size: 2.5rem;
    margin-bottom: 25px;
    color: #fff;
    position: relative;
    display: inline-block;
}

.about h2::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-teal), var(--accent-violet));
    border-radius: 2px;
}

.about p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #d0d0d0;
    margin-bottom: 25px;
}


/* Footer */
footer {
    text-align: center;
    padding: 40px 30px;
    background: linear-gradient(180deg, #1a1a2e 0%, #0a0a0f 100%);
    color: #b0b0b0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

footer p {
    font-size: 0.95rem;
    letter-spacing: 1px;
}

/* Reduced Motion Support - WCAG Compliance */
@media (prefers-reduced-motion: reduce) {
    .orb {
        animation: none;
    }

    .particle {
        animation: none;
        opacity: 0.3;
    }

    h1 {
        animation: none;
        text-shadow: 0 0 40px rgba(0, 212, 170, 0.3);
    }

    .button {
        transition: none;
    }

    .button::before {
        display: none;
    }

    .fade {
        transition: none;
        opacity: 1;
        transform: none;
    }

    .texture {
        transition: none;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
        letter-spacing: 1px;
    }

    .subtitle {
        font-size: 1.1rem;
        letter-spacing: 2px;
    }

    .intro {
        font-size: 1.05rem;
    }

    .orb-1 {
        width: 250px;
        height: 250px;
    }

    .orb-2 {
        width: 200px;
        height: 200px;
    }

    .orb-3 {
        width: 180px;
        height: 180px;
    }

    .about {
        padding: 60px 20px;
    }

    .about h2 {
        font-size: 2rem;
    }

    .about p {
        font-size: 1.05rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }

    .subtitle {
        font-size: 1rem;
        letter-spacing: 1px;
    }

    .intro {
        font-size: 0.95rem;
    }

    .button {
        padding: 12px 24px;
        font-size: 0.95rem;
    }

    .orb-1,
    .orb-2,
    .orb-3 {
        width: 150px;
        height: 150px;
    }
}

/* ============================================
   ABOUT PAGE STYLES (Consolidated from about.css)
   ============================================ */

.about-hero {
    height: 60vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    color: #fff;
    background: linear-gradient(135deg, #0a0a0f, #1a1a2e, #16213e);
    overflow: hidden;
}

.about-hero .content {
    position: relative;
    max-width: 700px;
    padding: 20px;
    z-index: 2;
}

.about-hero h1 {
    font-size: 3.5rem;
    letter-spacing: 2px;
    font-weight: 700;
    text-shadow: 0 0 40px rgba(0, 212, 170, 0.3), 0 0 80px rgba(124, 58, 237, 0.2);
    animation: textGlow 4s ease-in-out infinite;
}

.about-hero .subtitle {
    margin-top: 15px;
    font-size: 1.3rem;
    opacity: 0.9;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent-teal);
}

.about-content {
    padding: 100px 20px;
    background: linear-gradient(180deg, #0a0a0f 0%, #1a1a2e 100%);
    color: #e0e0e0;
}

.about-content .container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #fff;
    position: relative;
    display: inline-block;
}

.about-content h2::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-teal), var(--accent-violet));
    border-radius: 2px;
}

.about-content p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #d0d0d0;
    margin-bottom: 25px;
}

.about-details {
    margin-top: 60px;
    padding: 40px 30px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-align: left;
}

.about-details h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #fff;
    text-align: center;
    position: relative;
}

.about-details h3::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-teal), var(--accent-violet));
    border-radius: 2px;
}

.about-details p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #c0c0c0;
    margin-bottom: 20px;
}

.about-details p:last-child {
    margin-bottom: 0;
}

.cta-section {
    margin-top: 80px;
    text-align: center;
    padding: 40px 20px;
}

.cta-section .button {
    display: inline-block;
    padding: 14px 32px;
    background: linear-gradient(135deg, var(--accent-teal), var(--accent-violet));
    color: #fff;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 212, 170, 0.3), 0 4px 20px rgba(124, 58, 237, 0.3);
}

.cta-section .button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.cta-section .button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 212, 170, 0.5), 0 8px 30px rgba(124, 58, 237, 0.5);
}

.cta-section .button:hover::before {
    left: 100%;
}

.cta-section .button:focus-visible {
    outline: 3px solid var(--accent-teal);
    outline-offset: 3px;
}

/* Social Icons */
.social-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: #b0b0b0;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icon:hover {
    background: rgba(0, 212, 170, 0.1);
    color: var(--accent-teal);
    border-color: var(--accent-teal);
    transform: translateY(-3px);
}

.social-icon:focus-visible {
    outline: 2px solid var(--accent-teal);
    outline-offset: 2px;
}

.social-icon svg {
    width: 20px;
    height: 20px;
}

/* About Page Mobile Responsive */
@media (max-width: 768px) {
    .about-hero {
        height: 50vh;
        min-height: 400px;
    }

    .about-hero h1 {
        font-size: 2.5rem;
    }

    .about-hero .subtitle {
        font-size: 1.1rem;
        letter-spacing: 2px;
    }

    .about-content {
        padding: 60px 20px;
    }

    .about-content h2 {
        font-size: 2rem;
    }

    .about-content p {
        font-size: 1.05rem;
    }

    .about-details {
        margin-top: 40px;
        padding: 30px 20px;
    }

    .about-details h3 {
        font-size: 1.5rem;
    }

    .about-details p {
        font-size: 1rem;
    }

    .social-icons {
        gap: 15px;
    }

    .social-icon {
        width: 40px;
        height: 40px;
    }

    .social-icon svg {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 480px) {
    .about-hero {
        height: 40vh;
        min-height: 350px;
    }

    .about-hero h1 {
        font-size: 2rem;
        letter-spacing: 1px;
    }

    .about-hero .subtitle {
        font-size: 1rem;
        letter-spacing: 1px;
    }

    .about-content h2 {
        font-size: 1.8rem;
    }

    .about-details {
        margin-top: 30px;
        padding: 25px 15px;
    }

    .about-details h3 {
        font-size: 1.3rem;
    }

    .cta-section {
        margin-top: 60px;
    }

    .cta-section .button {
        padding: 12px 24px;
        font-size: 0.95rem;
    }
}
