* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #263238 0%, #37474f 50%, #546e7a 100%);
    min-height: 100vh;
    margin: 0;
    color: white;
    animation: fadeIn 1s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.header {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 2rem 0;
    text-align: center;
    position: relative;
    z-index: 1;
    animation: slideDown 0.8s ease-out;
}

.logo {
    max-width: 300px;
    object-fit: contain;
    transition: transform 0.3s ease, filter 0.3s ease;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.2));
}

.container {
    max-width: 1200px;
    margin: 2rem auto 0;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px);
    border-radius: 30px 30px 0 0;
    box-shadow: 
        0 -20px 40px rgba(0, 0, 0, 0.2),
        0 -10px 20px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 2;
    animation: slideUp 0.8s ease-out 0.2s both;
}

.container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    border-radius: 30px 30px 0 0;
}

.content-header {
    text-align: center;
    margin-bottom: 4rem;
    padding-top: 1rem;
}

.subdomain-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #fff, #f0f0f0, #fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.8s ease-out 0.4s both;
}

.subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: slideUp 0.8s ease-out 0.5s both;
}

.description {
    font-size: 1.1rem;
    line-height: 1.6;
    opacity: 0.8;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: slideUp 0.8s ease-out 0.6s both;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.project-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
    animation: slideUp 0.8s ease-out calc(0.7s + var(--delay, 0s)) both;
}

.project-card:nth-child(1) { --delay: 0s; }
.project-card:nth-child(2) { --delay: 0.1s; }
.project-card:nth-child(3) { --delay: 0.2s; }

.project-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
}

.project-card.active {
    background: rgba(52, 152, 219, 0.15);
    border-color: rgba(52, 152, 219, 0.3);
}

.project-card.active:hover {
    background: rgba(52, 152, 219, 0.2);
    border-color: rgba(52, 152, 219, 0.4);
}

.project-card.placeholder {
    background: rgba(149, 165, 166, 0.08);
    border-color: rgba(149, 165, 166, 0.15);
    cursor: default;
}

.project-card.placeholder:hover {
    transform: translateY(-5px) scale(1.01);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    background: rgba(149, 165, 166, 0.1);
}

.project-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    transition: all 0.3s ease;
}

.project-card:hover .project-icon {
    transform: scale(1.1) rotate(5deg);
    background: rgba(255, 255, 255, 0.15);
}

.project-card.active .project-icon {
    background: rgba(52, 152, 219, 0.2);
}

.project-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-align: center;
}

.project-description {
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.8;
    text-align: center;
    margin-bottom: 1.5rem;
}

.project-status {
    text-align: center;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.status-live {
    background: rgba(46, 204, 113, 0.2);
    color: #2ecc71;
    border: 1px solid rgba(46, 204, 113, 0.3);
}

.project-card:hover .status-live {
    background: rgba(46, 204, 113, 0.3);
    border-color: rgba(46, 204, 113, 0.4);
}

.status-coming-soon {
    background: rgba(241, 196, 15, 0.2);
    color: #f1c40f;
    border: 1px solid rgba(241, 196, 15, 0.3);
}

.project-card:hover .status-coming-soon {
    background: rgba(241, 196, 15, 0.3);
    border-color: rgba(241, 196, 15, 0.4);
}

.footer {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    opacity: 0.7;
    animation: slideUp 0.8s ease-out 1s both;
}

@media (max-width: 768px) {
    .header {
        padding: 1.5rem 0;
    }

    .container {
        margin: 1rem auto 0;
        padding: 1rem;
        border-radius: 20px 20px 0 0;
    }

    .content-header {
        padding-top: 0.5rem;
    }

    .subdomain-title {
        font-size: 2.5rem;
    }

    .subtitle {
        font-size: 1.2rem;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .project-card {
        padding: 1.5rem;
    }
}
