:root {
    /* Color Palette - HSL */
    --bg-dark: hsl(230, 20%, 8%);
    --bg-card: hsla(230, 20%, 15%, 0.7);
    --primary: hsl(210, 80%, 55%);
    --primary-alt: hsl(200, 80%, 45%);
    --accent: hsl(185, 90%, 50%);
    --text-main: hsl(0, 0%, 95%);
    --text-muted: hsl(220, 15%, 75%);

    /* Spacing & Borders */
    --container-width: 1200px;
    --border-radius: 16px;
    --border-glass: 1px solid hsla(0, 0%, 100%, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
.logo {
    font-family: 'Outfit', sans-serif;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header & Nav */
.header {
    padding: 1.5rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    background-color: hsla(230, 20%, 8%, 0.8);
    border-bottom: var(--border-glass);
    margin-top: 40px;
    /* Space for the larger banner */
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    text-decoration: none;
    color: var(--text-main);
}

.logo span {
    color: var(--primary);
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--primary);
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-alt));
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px hsla(210, 80%, 55%, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--text-main);
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    border: 1px solid hsla(0, 0%, 100%, 0.2);
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-secondary:hover {
    background: hsla(0, 0%, 100%, 0.05);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
}

.badge {
    background: hsla(210, 80%, 55%, 0.1);
    color: var(--primary);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid hsla(210, 80%, 55%, 0.2);
    display: inline-block;
    margin-bottom: 1.5rem;
}

.dev-banner {
    background: linear-gradient(90deg, #ffcc00, #ff9900);
    color: #000;
    text-align: center;
    padding: 0.75rem 0;
    font-size: 1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 2000;
    box-shadow: 0 4px 15px rgba(255, 204, 0, 0.3);
    animation: pulse-banner 2s infinite;
}

@keyframes pulse-banner {
    0% {
        opacity: 0.9;
    }

    50% {
        opacity: 1;
        transform: scale(1.005);
    }

    100% {
        opacity: 0.9;
    }
}

.hero-content {
    flex: 1;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-title span {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    color: var(--text-muted);
    font-size: 1.25rem;
    max-width: 600px;
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    padding: 2rem;
    border-radius: var(--border-radius);
    border: var(--border-glass);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    animation: float 6s ease-in-out infinite;
}

.hero-img {
    width: 100%;
    max-width: 500px;
    border-radius: var(--border-radius);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 80%, rgba(0, 0, 0, 0));
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 80%, rgba(0, 0, 0, 0));
    filter: drop-shadow(0 0 20px hsla(210, 80%, 55%, 0.2));
}

.hero-visual .glass-card {
    position: absolute;
    bottom: 20px;
    right: 20px;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* Sections General */
.section {
    padding: 8rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--bg-card);
    padding: 3rem 2rem;
    border-radius: var(--border-radius);
    border: var(--border-glass);
    transition: transform 0.3s, border-color 0.3s;
    text-align: left;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    display: inline-block;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Footer */
.footer {
    padding: 4rem 0 2rem;
    text-align: center;
    border-top: var(--border-glass);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-list {
        display: none;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        height: auto;
        padding-top: 120px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        margin: 0 auto 2.5rem;
    }

    .hero-actions {
        justify-content: center;
    }
}