:root {
    --color-pink: #FF1B8D;
    --color-purple: #A855F7;
    --color-blue: #3B82F6;
    --color-cyan: #06B6D4;
    --color-teal: #14B8A6;
    --color-green: #10B981;
    --color-yellow: #F59E0B;
    --color-orange: #F97316;
    --color-red: #EF4444;
    --color-dark: #0F0F23;
    --color-darker: #0A0A15;
    --color-light: #F8FAFC;
    --color-gray: #64748B;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--color-darker);
    color: var(--color-light);
    overflow-x: hidden;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(15, 15, 35, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Outfit', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--color-pink), var(--color-purple), var(--color-blue), var(--color-cyan));
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 8s ease infinite;
    letter-spacing: -0.5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--color-light);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-pink), var(--color-cyan));
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--color-cyan);
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--color-light);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.paint-splatter {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.3;
    animation: float 20s ease-in-out infinite;
}

.paint-splatter-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--color-pink), var(--color-purple));
    top: -200px;
    left: -200px;
    animation-delay: 0s;
}

.paint-splatter-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--color-blue), var(--color-cyan));
    bottom: -150px;
    right: -150px;
    animation-delay: 3s;
}

.paint-splatter-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--color-orange), var(--color-yellow));
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 6s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(50px, -50px) scale(1.1);
    }
    66% {
        transform: translate(-30px, 30px) scale(0.9);
    }
}

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

.hero-content {
    text-align: center;
    z-index: 10;
    max-width: 900px;
    padding: 0 20px;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.gradient-text {
    background: linear-gradient(135deg, var(--color-pink), var(--color-purple), var(--color-blue), var(--color-cyan));
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 8s ease infinite;
}

.hero-subtitle {
    font-size: clamp(1rem, 3vw, 1.3rem);
    color: var(--color-gray);
    margin-bottom: 2.5rem;
    font-weight: 300;
}

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

.btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-pink), var(--color-purple));
    color: white;
    box-shadow: 0 10px 30px rgba(255, 27, 141, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 27, 141, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--color-light);
    border: 2px solid var(--color-cyan);
}

.btn-secondary:hover {
    background: var(--color-cyan);
    color: var(--color-darker);
    transform: translateY(-3px);
}

/* Linux Intro Section */
.linux-intro {
    padding: 120px 0;
    background: linear-gradient(180deg, var(--color-darker) 0%, var(--color-dark) 100%);
    position: relative;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    color: var(--color-gray);
    font-size: 1.2rem;
    margin-bottom: 4rem;
}

.intro-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.intro-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.intro-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent, rgba(168, 85, 247, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.intro-card:hover::before {
    transform: translateX(100%);
}

.intro-card:hover {
    transform: translateY(-10px);
    border-color: var(--color-purple);
    box-shadow: 0 20px 60px rgba(168, 85, 247, 0.2);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.intro-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-light);
}

.intro-card p {
    color: var(--color-gray);
    line-height: 1.8;
}

/* Apps Showcase */
.apps-showcase {
    padding: 120px 0;
    background: var(--color-dark);
}

.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.app-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.app-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--color-pink), var(--color-purple), var(--color-blue), var(--color-cyan));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.app-card:hover::after {
    transform: scaleX(1);
}

.app-card:hover {
    transform: translateY(-10px);
    border-color: var(--color-cyan);
    box-shadow: 0 25px 70px rgba(6, 182, 212, 0.2);
}

.app-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.app-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--color-light);
}

.app-description {
    color: var(--color-gray);
    margin-bottom: 1.5rem;
    flex-grow: 1;
    line-height: 1.8;
}

.app-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.tag {
    background: rgba(168, 85, 247, 0.2);
    color: var(--color-purple);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid var(--color-purple);
}

.app-links {
    display: flex;
    gap: 1rem;
}

.app-link {
    flex: 1;
    text-align: center;
    padding: 0.8rem 1.5rem;
    background: transparent;
    color: var(--color-cyan);
    border: 2px solid var(--color-cyan);
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.app-link:hover {
    background: var(--color-cyan);
    color: var(--color-darker);
    transform: scale(1.05);
}

/* Contact Section */
.contact {
    padding: 120px 0;
    background: linear-gradient(180deg, var(--color-dark) 0%, var(--color-darker) 100%);
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 3rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    text-decoration: none;
    color: var(--color-light);
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.contact-link:hover {
    transform: translateY(-5px);
    border-color: var(--color-pink);
    box-shadow: 0 15px 40px rgba(255, 27, 141, 0.3);
}

.contact-icon {
    font-size: 2rem;
}

/* Footer */
.footer {
    padding: 3rem 0;
    background: var(--color-darker);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer p {
    color: var(--color-gray);
    margin-bottom: 0.5rem;
}

.footer-tagline {
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(15, 15, 35, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
        gap: 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    .intro-grid,
    .apps-grid {
        grid-template-columns: 1fr;
    }

    .contact-links {
        flex-direction: column;
        align-items: center;
    }

    .contact-link {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.4rem;
    }

    .paint-splatter {
        display: none;
    }

    .section-title {
        font-size: 2rem;
    }

    .app-card,
    .intro-card {
        padding: 1.5rem;
    }
}

/* Smooth Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.intro-card,
.app-card {
    animation: fadeInUp 0.6s ease-out;
}

.intro-card:nth-child(1) { animation-delay: 0.1s; }
.intro-card:nth-child(2) { animation-delay: 0.2s; }
.intro-card:nth-child(3) { animation-delay: 0.3s; }
.intro-card:nth-child(4) { animation-delay: 0.4s; }
.intro-card:nth-child(5) { animation-delay: 0.5s; }
.intro-card:nth-child(6) { animation-delay: 0.6s; }

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