:root {
    --bg-main: #232532;
    --bg-card: #2B2E3D;
    --bg-card-hover: #323647;
    --primary: #FFB800; /* Vibrant yellow */
    --text-primary: #FFFFFF;
    --text-muted: #8E92A4;
    --border-color: rgba(255, 255, 255, 0.05);

    --font-heading: 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography utilities */
.h1 { font-size: 4.5rem; font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; }
.h2 { font-size: 2.5rem; font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; }
.h3 { font-size: 1.5rem; font-weight: 600; line-height: 1.3; }
.text-lg { font-size: 1.125rem; }
.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; letter-spacing: 0.05em; text-transform: uppercase; }

.text-primary { color: var(--primary); }
.text-muted { color: var(--text-muted); }

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

.section {
    padding: 8rem 0;
}

header {
    position: sticky;
    top: 0;
    z-index: 10000;
    background-color: rgba(35, 37, 50, 0.85); /* Slightly transparent var(--bg-main) */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    /* Negative margin to span the full container padding for background effect */
    margin-left: -2rem;
    margin-right: -2rem;
    padding-left: 2rem;
    padding-right: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 { grid-template-columns: 1fr 1fr; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-4 { gap: 1rem; }
.gap-8 { gap: 2rem; }

.text-center { text-align: center; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-16 { margin-bottom: 4rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.pb-16 { padding-bottom: 4rem; }
.pt-4 { padding-top: 1rem; }

.border-b { border-bottom: 1px solid var(--border-color); }
.border-t { border-top: 1px solid var(--border-color); }

.max-w-sm { max-width: 24rem; }
.cursor-pointer { cursor: pointer; }

/* Custom Elements */
.line {
    width: 40px;
    height: 2px;
    background-color: var(--primary);
    display: inline-block;
    margin-right: 1rem;
    vertical-align: middle;
}

.link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: opacity 0.3s ease;
}
.link:hover { opacity: 0.8; }
.link .icon { margin-left: 0.5rem; }

.card {
    background-color: var(--bg-card);
    padding: 3rem 2rem;
    border-radius: 4px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}
.card.highlight {
    background-color: var(--primary);
    color: #1A1C26;
}
.card.highlight .text-muted { color: rgba(0,0,0,0.6); }

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }

/* Specific Components */
.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s;
}
.nav-link:hover, .nav-link.active {
    color: var(--text-primary);
}

.input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 1rem 0;
    font-family: var(--font-body);
    font-size: 1rem;
    margin-bottom: 2rem;
    transition: border-color 0.3s;
}
.input:focus {
    outline: none;
    border-color: var(--primary);
}
.input::placeholder {
    color: var(--text-muted);
}

/* Hero specific positioning for large screens */
.hero-img {
    grid-column: 2;
    grid-row: 1;
    margin-left: -20%;
}
.hero-text {
    grid-column: 1;
    grid-row: 1;
}
.hero-intro {
    grid-column: 3;
}
.hero-title {
    font-size: 6rem;
    white-space: nowrap;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
    .hero-title { font-size: 4rem; }
    .hero-img { margin-left: -10%; }
}

@media (max-width: 768px) {
    .h1 { font-size: 3rem; }
    .h2 { font-size: 2rem; }
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .section { padding: 4rem 0; }
    
    .hero-img {
        grid-column: 1;
        grid-row: 2;
        margin-left: 0;
        margin-top: -2rem;
        z-index: 1; /* allow image to sit under text gracefully on mobile */
    }
    .hero-text {
        grid-column: 1;
        grid-row: 1;
        text-align: center;
        z-index: 10;
    }
    .hero-intro {
        grid-column: 1;
        grid-row: 3;
        text-align: center;
        margin-top: 2rem;
    }
    .hero-title {
        font-size: 4rem;
        white-space: normal;
    }
    .hero-line { display: none; }
    .hero-socials { justify-content: center; }
    
    header { flex-direction: column; gap: 1.5rem; }
    header nav { width: 100%; justify-content: center; }
    
    .stats-numbers { justify-content: space-around; gap: 1rem; }
    .stats-numbers .h1 { font-size: 2.5rem !important; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 3rem; }
    .container { padding: 0 1rem; }
}
