@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --background: 220 20% 5%;
    --foreground: 0 0% 95%;
    --primary: 40 96% 50%;
    --primary-foreground: 220 20% 10%;
    --card: 220 20% 8%;
    --border: 220 15% 20%;
    --hero-overlay: linear-gradient(135deg, hsla(220, 25%, 5%, 0.92) 0%, hsla(220, 20%, 8%, 0.7) 50%, hsla(40, 30%, 10%, 0.85) 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    border-color: hsla(0, 0%, 100%, 0.1);
}

body {
    font-family: 'Inter', sans-serif;
    background-color: hsl(220, 20% , 5%);
    color: hsl(0, 0%, 95%);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

.font-display {
    font-family: 'Space Grotesk', sans-serif;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

.text-gradient {
    background: linear-gradient(135deg, hsl(40, 96%, 50%), hsl(35, 100%, 60%));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    font-weight: 700;
    padding: 1rem 2rem;
    transition: all 0.3s;
    cursor: pointer;
    text-decoration: none;
}

.btn-primary {
    background-color: hsl(40, 96%, 50%);
    color: hsl(220, 20%, 10%);
}

.btn-primary:hover {
    background-color: hsl(40, 96%, 60%);
}

.btn-outline {
    border: 1px solid hsla(0, 0%, 100%, 0.2);
    color: white;
}

.btn-outline:hover {
    background-color: hsla(0, 0%, 100%, 0.1);
}

/* Navbar */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    transition: all 0.5s;
    height: 5rem;
}

nav.scrolled {
    height: 3.5rem;
    background-color: hsla(220, 20%, 8%, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid hsla(0, 0%, 100%, 0.08);
}

.nav-link {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: hsla(0, 0%, 100%, 0.6);
    text-decoration: none;
    transition: color 0.3s;
}

.nav-link:hover, .nav-link.active {
    color: white;
}

.nav-link {
    position: relative;
}

.nav-link.active::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0.5rem;
    right: 0.5rem;
    height: 2px;
    background-color: hsl(40, 96%, 50%);
    border-radius: 9999px;
}

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

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.1);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: var(--hero-overlay);
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 48rem;
    margin: 0 auto;
    text-align: center;
    padding: 2rem;
    border-radius: 1.5rem;
    background-color: hsla(220, 20%, 12%, 0.5);
    backdrop-filter: blur(20px);
    border: 1px solid hsla(0, 0%, 100%, 0.08);
}

/* Badges */
.badges-section {
    padding: 5rem 0;
    background-color: hsl(220, 20%, 6%);
    border-top: 1px solid hsla(0, 0%, 100%, 0.05);
    border-bottom: 1px solid hsla(0, 0%, 100%, 0.05);
}

.badge-card {
    text-align: center;
    padding: 1.5rem;
    border-radius: 1rem;
    background-color: hsla(220, 20%, 12%, 0.5);
    border: 1px solid hsla(0, 0%, 100%, 0.06);
    transition: transform 0.3s;
}

.badge-card:hover {
    transform: translateY(-5px);
}

.badge-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    background-color: hsla(40, 96%, 50%, 0.1);
    color: hsl(40, 96%, 50%);
}

/* Footer */
footer {
    padding: 5rem 0;
    background-color: hsl(220, 20%, 3%);
    border-top: 1px solid hsla(0, 0%, 100%, 0.1);
}

.footer-link {
    color: hsla(0, 0%, 100%, 0.5);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-link:hover {
    color: white;
}
