:root {
    --primary-color: #008cff;
    --dark-bg: #0a0a0a;
    --dark-text: #ffffff;
    --dark-secondary: #cccccc;
    --dark-border: #2a2a2a;
    --dark-card-bg: #1a1a1a;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    background-color: var(--dark-bg);
    color: var(--dark-text);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

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

header {
    background-color: var(--dark-bg);
    border-bottom: 1px solid var(--dark-border);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem 0;
}

.logo a {
    color: var(--dark-text);
    text-decoration: none;
    font-size: 2rem;
    font-weight: 700;
    transition: color 0.3s;
}

.logo a:hover {
    color: var(--primary-color);
}

.hero-section {
    padding: 8rem 0 2rem;
    text-align: center;
}

.hero-section h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-section p {
    font-size: 1.2rem;
    color: var(--dark-secondary);
}

.projects-section h2 {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 1.5rem;
    gap: 1rem;
}

.projects-section h2::before,
.projects-section h2::after {
    content: "";
    flex: 1;
    height: 1px;
    background-color: var(--primary-color);
}

.projects-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.project-card {
    max-width: 350px;
    background: var(--dark-card-bg);
    border: 1px solid var(--dark-border);
    border-radius: 18px;
    box-shadow: 0 2px 12px 0 rgba(0,0,0,0.10);
    padding: 2.1rem 1.5rem 1.3rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    transition: box-shadow 0.22s cubic-bezier(.4,2,.6,1), transform 0.22s cubic-bezier(.4,2,.6,1), border-color 0.22s;
}

.project-card:hover {
    box-shadow: 0 8px 32px 0 rgba(0,140,255,0.13);
    border-color: var(--primary-color);
    transform: translateY(-6px) scale(1.012);
}

.project-card-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    margin-bottom: 1.1rem;
}

.project-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(41,121,255,0.12);
    border-radius: 50%;
    width: 2.2rem;
    height: 2.2rem;
}

.project-icon i {
    font-size: 1.2rem;
    color: var(--primary-color);
}

.project-card h3 {
    margin: 0;
    color: var(--dark-text);
}

.project-card p {
    margin-bottom: 2.1rem;
    margin-top: 0.2rem;
    font-size: 1.07rem;
    color: var(--dark-secondary);
    text-align: center;
}

.project-card-actions {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    align-items: center;
    margin-top: auto;
    margin-bottom: 0.5rem;
}

.project-link-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: #fff;
    border-radius: 8px;
    width: 38px;
    height: 38px;
    font-size: 1.2rem;
    transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.18s;
    box-shadow: 0 2px 8px 0 rgba(0,140,255,0.10);
    border: none;
    outline: none;
    cursor: pointer;
    text-decoration: none;
}

footer {
    background-color: var(--dark-bg);
    border-top: 1px solid var(--dark-border);
    margin-top: 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    padding: 4rem 0;
}

.footer-column h3 {
    margin-bottom: 1rem;
}

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

.footer-column a {
    color: var(--dark-secondary);
    text-decoration: none;
    transition: color 0.3s;
    display: inline-flex;
    align-items: center;
}

.footer-column a:hover {
    color: var(--primary-color);
}

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

.social-links a {
    font-size: 1.5rem;
}

.footer-bottom {
    border-top: 1px solid var(--dark-border);
    padding: 1.5rem 0;
    text-align: center;
}

.footer-bottom p {
    color: var(--dark-secondary);
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem 0;
    }

    nav ul {
        gap: 1rem;
    }

    .hero-section h2 {
        font-size: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--dark-card-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--dark-border);
    border-radius: 5px;
    transition: background 0.2s;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--dark-secondary);
}

* {
    scrollbar-width: thin;
    scrollbar-color: var(--dark-border) var(--dark-card-bg);
}

.footer-column i {
    margin-right: 10px;
    width: 16px;
    text-align: center;
}

.projects-section {
    padding: 2rem 0;
}

.projects-section .container:not(:first-child) {
    margin-top: 1rem;
}

.soon-tag {
    position: absolute;
    top: -8px;
    right: -8px;
    background: linear-gradient(135deg, var(--primary-color), #00a8ff);
    color: white;
    padding: 0.4rem 0.9rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    box-shadow: 0 3px 12px rgba(0, 140, 255, 0.4);
    animation: subtle-glow 3s ease-in-out infinite;
    border: none;
    backdrop-filter: blur(10px);
    z-index: 10;
}

@keyframes subtle-glow {
    0%, 100% {
        box-shadow: 0 3px 12px rgba(0, 140, 255, 0.4);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 5px 20px rgba(0, 140, 255, 0.6);
        transform: scale(1.02);
    }
}