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

:root {
    /* Cinematic Brand Colors */
    --clr-dark: #041527;
    --clr-dark-glass: rgba(4, 21, 39, 0.75);
    --clr-white-glass: rgba(255, 255, 255, 0.1);
    --clr-accent: #00e5ff;
    --clr-accent-hover: #0de0d0;
    --clr-success: #22c55e;
    --clr-navy: #020a14;
    
    /* Text Colors */
    --clr-text-main: #f8fafc;
    --clr-text-muted: #94a3b8;
    
    /* Utility & Layout */
    --border-radius-lg: 24px;
    --border-radius-xl: 32px;
    
    --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-normal: 0.4s ease;
    
    --glass-blur: blur(20px);
}

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

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--clr-dark);
    color: var(--clr-text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

ul {
    list-style: none;
}

img, picture, svg {
    max-width: 100%;
    display: block;
}

/* Cinematic Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    line-height: 1.05;
    color: #ffffff;
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
}

h1 { font-size: clamp(4rem, 8vw, 7rem); }
h2 { font-size: clamp(3rem, 5vw, 4.5rem); }
h3 { font-size: 2rem; }
p { margin-bottom: 1.5rem; color: var(--clr-text-muted); font-size: 1.125rem; font-weight: 300; }

/* Layout Base */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 10;
}

/* Grid & Flex Utilities (Tailwind-like) */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.text-center { text-align: center; }

.grid { display: grid; }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.gap-4 { gap: 1rem; }
.gap-8 { gap: 2rem; }

@media (max-width: 1024px) {
    .grid-cols-4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .grid-cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
    .grid-cols-4, .grid-cols-3, .grid-cols-2 { grid-template-columns: 1fr; }
}

/* Full-Height Immersive Sections */
.cinematic-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Parallax Background */
.bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 140%; /* Extra height for parallax */
    object-fit: cover;
    z-index: 1;
}

/* Cinematic Overlay */
.overlay-gradient {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(to bottom, rgba(4,21,39,0.1) 0%, rgba(4,21,39,0.5) 60%, rgba(4,21,39,0.95) 100%);
}
.overlay-dark {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: rgba(4,21,39,0.45);
}

/* Flex & Grid Utilities */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-4 { gap: 1rem; }
.gap-8 { gap: 2rem; }
.grid { display: grid; }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }

@media (max-width: 1024px) {
    .grid-cols-2, .grid-cols-3 { grid-template-columns: 1fr; gap: 3rem; }
    .cinematic-section { padding: 8rem 0; min-height: auto; }
}

@media (max-width: 768px) {
    h1 { font-size: clamp(2.5rem, 8vw, 3.5rem); }
    h2 { font-size: clamp(2rem, 6vw, 2.75rem); }
    h3 { font-size: 1.5rem; }
    p { font-size: 1rem; }
    .cinematic-section { padding: 6rem 0 3rem; }
    .container { padding: 0 1.5rem; }
    .grid-cols-2, .grid-cols-3, .grid-cols-4 { gap: 2rem; }
}
