/* Font Import - Adding Outfit for headings and Inter for body */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@400;500;700;800&display=swap');

:root {
    /* --- Core Palette: Deep Space --- */
    --bg-dark: #030303;
    /* Pure void black */
    --bg-panel: #0a0a0a;
    /* Subtle contrast */
    --bg-surface: #111111;
    /* Elevated surface */

    /* --- Accents: Neon Orange --- */
    --primary: #FF4D00;
    /* High-energy orange */
    --primary-dim: #CC3D00;
    /* Pressed state */
    --primary-glow: rgba(255, 77, 0, 0.4);
    /* Glow effect base */

    /* --- Text Colors --- */
    --text-main: #FFFFFF;
    --text-muted: #A1A1AA;
    --text-dim: #71717A;

    /* --- Glassmorphism System v2 --- */
    --glass-bg: rgba(20, 20, 20, 0.4);
    --glass-border: rgba(255, 255, 255, 0.06);
    --glass-shine: rgba(255, 255, 255, 0.03);
    --glass-blur: 24px;
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);

    /* --- Gradients --- */
    --gradient-primary: linear-gradient(135deg, #FF4D00 0%, #FF8800 100%);
    --gradient-dark: linear-gradient(to bottom, #0a0a0a, #000000);
    --gradient-glow-radial: radial-gradient(circle at 50% 50%, var(--primary-glow) 0%, transparent 60%);

    /* --- Spacing & Layout --- */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-full: 999px;

    --container-width: 1440px;

    /* --- Typography --- */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-dark);
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    position: relative;
}

/* --- Typography: Massive Scale --- */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-main);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(3.5rem, 8vw, 7rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    text-transform: uppercase;
    /* Optional: adds to the "Massive" feel */
}

h2 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 700;
}

h3 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 600;
}

p.lead {
    font-size: clamp(1.125rem, 1.5vw, 1.375rem);
    color: var(--text-muted);
    font-weight: 300;
    max-width: 60ch;
    margin-top: 1.5rem;
}

/* --- Text Effects --- */
.text-gradient {
    background: linear-gradient(to right, #fff, #aaa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-primary-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

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

.text-white {
    color: white;
}

/* --- Layout Utilities --- */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 8rem 0;
    position: relative;
}

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

.w-full {
    width: 100%;
}

.h-full {
    height: 100%;
}

.object-cover {
    object-fit: cover;
}

.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.items-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

.gap-4 {
    gap: 1rem;
}

/* --- Components: Glass Panel --- */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    position: relative;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1),
        box-shadow 0.4s ease,
        border-color 0.4s ease;
}

/* Shine effect on hover */
.glass-panel::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.05),
            transparent);
    transform: skewX(-20deg);
    transition: none;
    pointer-events: none;
}

.glass-panel:hover::after {
    left: 200%;
    transition: left 0.8s ease-in-out;
}

.glass-panel:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    border-color: rgba(255, 77, 0, 0.3);
    /* Orange hint */
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    cursor: pointer;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.btn-primary {
    background: var(--primary);
    color: white;
    border: 1px solid var(--primary);
    box-shadow: 0 0 20px rgba(255, 77, 0, 0.2);
}

.btn-primary:hover {
    background: var(--primary-dim);
    box-shadow: 0 0 40px rgba(255, 77, 0, 0.5);
    transform: translateY(-2px);
}

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

.btn-outline:hover {
    border-color: var(--primary);
    background: rgba(255, 77, 0, 0.1);
    color: white;
}

/* --- Navbar (Floating) --- */
.navbar {
    position: fixed;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 4rem);
    max-width: var(--container-width);
    height: 80px;
    background: rgba(5, 5, 5, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-full);
    padding: 0 2.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
    transition: all 0.4s ease;
}

.navbar.scrolled {
    width: 100%;
    max-width: 100%;
    top: 0;
    border-radius: 0;
    border: none;
    border-bottom: 1px solid var(--glass-border);
    background: rgba(3, 3, 3, 0.9);
}

.logo {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    color: white;
    text-decoration: none;
    letter-spacing: -0.02em;
}

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

.nav-links {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.nav-link {
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color 0.3s;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

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

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

/* --- Mobile Menu --- */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
}

.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: var(--bg-dark);
    z-index: 999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    transform: translateY(-100%);
    transition: transform 0.5s cubic-bezier(0.7, 0, 0.3, 1);
}

.mobile-menu-overlay.active {
    transform: translateY(0);
}

/* --- Ambient Glows --- */
.ambient-glow {
    position: fixed;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    opacity: 0.12;
    filter: blur(120px);
    z-index: -1;
    pointer-events: none;
    animation: pulseGlow 10s infinite alternate;
}

.glow-top-right {
    top: -300px;
    right: -200px;
}

.glow-bottom-left {
    bottom: -300px;
    left: -200px;
}

@keyframes pulseGlow {
    0% {
        opacity: 0.1;
        transform: scale(1);
    }

    100% {
        opacity: 0.15;
        transform: scale(1.1);
    }
}

/* --- Forms --- */
.form-input {
    width: 100%;
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    color: white;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s ease;
    outline: none;
}

.form-input:focus {
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 0 0 1px var(--primary-glow);
}

.form-label {
    display: block;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* --- Reveal Animation --- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    filter: blur(10px);
    transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

.delay-100 {
    transition-delay: 100ms;
}

.delay-200 {
    transition-delay: 200ms;
}

.delay-300 {
    transition-delay: 300ms;
}

/* --- Responsive --- */
@media (max-width: 900px) {
    .navbar {
        top: 0;
        width: 100%;
        border-radius: 0;
    }

    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .grid {
        grid-template-columns: 1fr;
    }
}

/* --- Custom Scrollbar --- */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* --- Utility Classes for Specific Effects --- */
.hover-scale {
    transition: transform 0.3s ease;
}

.hover-scale:hover {
    transform: scale(1.05);
}

.border-b {
    border-bottom: 1px solid var(--glass-border);
}