:root {
    /* Colors */
    --bg-dark: #0b0b0b;
    --bg-card: #111111;
    --bg-overlay: rgba(11, 11, 11, 0.85);

    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --text-dark: #0f172a; /* For light buttons */

    --primary-red: #d62828;
    --sky-blue: #4ea8de;

    /* Effects */
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --shadow-glow: 0 0 20px rgba(214, 40, 40, 0.15);

    /* Typography */
    --font-main: 'Outfit', sans-serif;

    /* Transitions */
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul { list-style: none; }
img { max-width: 100%; display: block; }

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

h1 { font-size: 4.5rem; }
h2 { font-size: 3rem; }
h3 { font-size: 2rem; }

@media (max-width: 768px) {
    h1 { font-size: 3rem; }
    h2 { font-size: 2.25rem; }
}

.text-gradient {
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-red { color: var(--primary-red); }
.text-blue { color: var(--sky-blue); }

/* Layout */
.container {
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 8rem 0;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background-color: var(--primary-red);
    color: var(--text-main);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: #b91c1c;
    transition: var(--transition);
    z-index: -1;
}

.btn-primary:hover::before {
    width: 100%;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-main);
}

.btn-outline:hover {
    border-color: var(--primary-red);
    color: var(--primary-red);
}

.btn-cta {
    background-color: var(--sky-blue);
    color: var(--text-dark);
    font-weight: 800;
}

.btn-cta:hover {
    background-color: #fff;
    box-shadow: 0 0 30px rgba(78, 168, 222, 0.3);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 1000;
    transition: var(--transition);
    background: linear-gradient(to bottom, rgba(0,0,0,0.8), transparent);
}

.navbar.scrolled {
    background: rgba(11, 11, 11, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    border-bottom: 1px solid var(--glass-border);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: var(--text-main);
}

.logo span { color: var(--primary-red); }

.nav-menu {
    display: flex;
    gap: 5rem;
    align-items: center;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-red);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--text-main);
}

.nav-link:hover::after {
    width: 100%;
}

/* Mobile Nav */
.hamburger { display: none; cursor: pointer; }
.bar {
    display: block;
    width: 30px;
    height: 2px;
    background-color: var(--text-main);
    margin: 6px 0;
    transition: var(--transition);
}

@media (max-width: 968px) {
    .hamburger { display: block; z-index: 1002; }
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: var(--bg-dark);
        flex-direction: column;
        justify-content: center;
        transition: var(--transition);
        z-index: 1001;
    }
    .nav-menu.active { right: 0; }
}

/* Footer */
.footer {
    background-color: #050505;
    padding: 6rem 0 2rem;
    border-top: 1px solid var(--glass-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr; }
}

.footer h3 {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--text-main);
}

.footer-links li { margin-bottom: 1rem; }
.footer-links a { color: var(--text-muted); }
.footer-links a:hover { color: var(--primary-red); padding-left: 5px; }

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Forms */
.form-group { margin-bottom: 2rem; }
.form-label {
    display: block;
    margin-bottom: 0.8rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-control {
    width: 100%;
    background: transparent;
    border: 1px solid var(--glass-border);
    padding: 1rem;
    color: var(--text-main);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-red);
    background: var(--glass);
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s forwards;
}

@keyframes fadeUp {
    to { opacity: 1; transform: translateY(0); }
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
