:root {
    --bg: #020617;
    --card-bg: rgba(15, 23, 42, 0.6);
    --primary: #f97316;
    /* Sunset Orange */
    --primary-glow: rgba(249, 115, 22, 0.2);
    --secondary: #94a3b8;
    /* Silver/Steel */
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --border: rgba(255, 255, 255, 0.05);
    --border-active: rgba(249, 115, 22, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: var(--bg);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
.brand {
    font-family: 'Outfit', sans-serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.glow-bg {
    position: fixed;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    background:
        radial-gradient(circle at 80% 20%, rgba(249, 115, 22, 0.08), transparent 40%),
        radial-gradient(circle at 20% 80%, rgba(148, 163, 184, 0.08), transparent 40%);
    z-index: -1;
}

/* HEADER */
header {
    height: 100px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border);
    background: rgba(2, 6, 23, 0.8);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
}

.container-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.main-logo {
    height: 80px;
    width: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary);
    box-shadow: 0 0 15px var(--primary-glow);
    transition: transform 0.3s ease;
}

.main-logo:hover {
    transform: scale(1.05);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.brand {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.sub-brand {
    font-size: 0.75rem;
    color: var(--primary);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 2px;
}

nav {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover {
    color: white;
}

.btn-contact {
    padding: 10px 24px;
    background: var(--primary);
    color: white !important;
    border-radius: 12px;
    font-weight: 700;
}

/* HERO */
.hero {
    padding: 8rem 0 6rem;
    text-align: center;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 2rem;
    letter-spacing: -2px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary), #fbbf24);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 4rem;
}

.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-size: 2rem;
    font-weight: 800;
    font-family: 'Outfit';
    color: white;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

/* PROJECTS */
.projects {
    padding: 6rem 0;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 4rem;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.project-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 32px;
    padding: 2.5rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.project-card:hover {
    transform: translateY(-10px);
    border-color: var(--border-active);
    background: rgba(249, 115, 22, 0.03);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.project-logo {
    height: 50px;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.1));
}

.badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.625rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.badge-live {
    background: rgba(249, 115, 22, 0.1);
    color: var(--primary);
    border: 1px solid var(--primary);
}

.badge-dev {
    background: rgba(148, 163, 184, 0.1);
    color: var(--secondary);
    border: 1px solid var(--secondary);
}

.project-card h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.project-card p {
    color: var(--text-muted);
    font-size: 0.9375rem;
    margin-bottom: 2rem;
}

.feature-list {
    list-style: none;
    margin-bottom: 2.5rem;
    flex: 1;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8125rem;
    margin-bottom: 12px;
    color: var(--text-main);
}

.icon-sc {
    color: var(--primary);
    width: 16px;
}

.project-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.875rem;
    transition: gap 0.3s;
}

.project-link:hover {
    gap: 12px;
    color: var(--primary);
}

/* FOOTER */
footer {
    padding: 4rem 0;
    border-top: 1px solid var(--border);
    margin-top: 4rem;
}

.container-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.footer-logo {
    height: 50px;
}

.footer-brand p {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.footer-slogan {
    font-family: 'Outfit';
    font-weight: 300;
    font-style: italic;
    color: var(--text-muted);
    letter-spacing: 1px;
}

/* ANIMATIONS */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

@media (max-width: 968px) {
    .project-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    header {
        height: 80px;
    }

    .main-logo {
        height: 60px;
        width: 60px;
    }

    .logo-text .brand {
        font-size: 1.25rem;
    }

    .logo-text .sub-brand {
        font-size: 0.65rem;
    }

    nav {
        gap: 1.5rem;
    }

    .hero {
        padding: 4rem 0 3rem;
    }

    .hero h1 {
        font-size: 2.25rem;
        letter-spacing: -1px;
    }

    .hero p {
        font-size: 1rem;
        margin-bottom: 2.5rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .stat-divider {
        width: 30px;
        height: 1px;
    }

    .stat-num {
        font-size: 1.75rem;
    }

    .stat-label {
        font-size: 0.7rem;
    }

    .container {
        padding: 0 1.5rem;
    }
}

@media (max-width: 480px) {
    nav a:not(.btn-contact) {
        display: none;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .project-card {
        padding: 1.5rem;
    }
}
