:root {
    --white: #ffffff;
    --black: #000000;
    --gray: #88888b;
    --dark-gray: #121212;
    --accent: #007aff;
    --font-main: 'Inter', sans-serif;
    --transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--black);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

body.menu-open {
    overflow: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 35px 0;
    transition: var(--transition);
}

header.scrolled {
    background: rgba(0, 0, 0, 0.85);
    padding: 15px 0;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 1.4rem;
    font-weight: 900;
    letter-spacing: 5px;
    z-index: 1001;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-links li a {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    position: relative;
    text-transform: uppercase;
    opacity: 0.7;
}

.nav-links li a:hover {
    opacity: 1;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
}

.nav-links li a:hover::after {
    width: 100%;
}

/* Burger Menu Icon */
.burger {
    display: none;
    cursor: pointer;
    z-index: 1001;
    width: 30px;
    height: 22px;
    flex-direction: column;
    justify-content: space-between;
}

.burger span {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--white);
    transition: var(--transition);
}

/* Full Mobile Menu Overlay */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: var(--black);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 1000;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu ul {
    list-style: none;
    text-align: center;
}

.mobile-menu ul li {
    margin: 30px 0;
    opacity: 0;
    transform: translateY(20px);
}

.mobile-menu.active ul li {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu ul li a {
    font-size: 2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 4px;
}

/* Burger Animation */
.burger.toggle span:nth-child(1) { transform: rotate(45deg) translate(7px, 7px); }
.burger.toggle span:nth-child(2) { opacity: 0; }
.burger.toggle span:nth-child(3) { transform: rotate(-45deg) translate(7px, -7px); }

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 50px;
    width: 100%;
}

/* Cinematic Parallax Sections */
.full-section {
    position: relative;
    height: 100vh;
    min-height: 700px;
    width: 100%;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}

.hero-sub {
    position: relative;
    height: 60vh;
    min-height: 400px;
    width: 100%;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    padding-top: 80px;
}

.parallax {
    background-attachment: fixed;
}

@media (max-width: 1024px) {
    .parallax {
        background-attachment: scroll;
    }
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.8) 100%);
}

.content {
    position: relative;
    z-index: 10;
    max-width: 850px;
    opacity: 0;
    transform: translateY(60px);
    transition: all 1.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.content.visible {
    opacity: 1;
    transform: translateY(0);
}

.content h4 {
    font-size: 1.1rem;
    font-weight: 400;
    margin-bottom: 20px;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--gray);
}

.content h1 {
    font-size: clamp(3rem, 10vw, 6rem);
    font-weight: 900;
    margin-bottom: 30px;
    letter-spacing: -3px;
    line-height: 0.85;
    text-transform: uppercase;
}

.content p {
    font-size: 1.2rem;
    margin-bottom: 50px;
    max-width: 600px;
    opacity: 0.9;
    line-height: 1.7;
    font-weight: 300;
}

/* Signature Buttons */
.btn {
    display: inline-block;
    padding: 22px 60px;
    border: 2px solid var(--white);
    color: var(--white);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 3px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    text-transform: uppercase;
    cursor: pointer;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--white);
    z-index: -1;
    transition: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.btn:hover {
    color: var(--black);
}

.btn:hover::before {
    left: 0;
}

/* Stats Bar - Filling the gaps */
.stats-bar {
    background: #050505;
    padding: 100px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    text-align: center;
}

.stat-item {
    opacity: 0;
    transform: translateY(30px);
    transition: 1s ease;
}

.stat-item h2 {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 15px;
    background: linear-gradient(to bottom, #fff, #444);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-item p {
    font-size: 0.85rem;
    letter-spacing: 3px;
    color: var(--gray);
    text-transform: uppercase;
}

/* Sub-page Specific Layouts */
.specs-section {
    padding: 150px 0;
    background: var(--black);
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 100px;
}

.spec-item {
    border-left: 2px solid rgba(255,255,255,0.1);
    padding-left: 40px;
}

.spec-item .label {
    font-size: 0.75rem;
    color: var(--gray);
    letter-spacing: 3px;
    margin-bottom: 20px;
    display: block;
    text-transform: uppercase;
}

.spec-item .value {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 25px;
    display: block;
    line-height: 1.2;
}

.spec-item p {
    font-size: 1.05rem;
    color: #a1a1a6;
    line-height: 1.9;
}

/* Detailed Philosophy Section */
.detail-section {
    padding: 200px 0;
    background: radial-gradient(circle at center, #111 0%, #000 100%);
    text-align: center;
}

.detail-content {
    max-width: 1000px;
    margin: 0 auto;
}

.detail-content h2 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: 50px;
    letter-spacing: -2px;
    line-height: 1;
    text-transform: uppercase;
}

.detail-content p {
    font-size: 1.3rem;
    color: #cecece;
    line-height: 2;
    margin-bottom: 80px;
    font-weight: 300;
}

/* Professional Footer */
.footer-section {
    padding: 120px 0 60px;
    background: var(--black);
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 80px;
    margin-bottom: 100px;
}

.footer-col h3 {
    font-size: 0.85rem;
    letter-spacing: 4px;
    margin-bottom: 30px;
    color: var(--gray);
    text-transform: uppercase;
}

.footer-col p, .footer-col a {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 15px;
    display: block;
    opacity: 0.8;
}

.footer-col a:hover {
    opacity: 1;
    color: var(--accent);
}

.footer-bottom {
    text-align: center;
    padding-top: 50px;
    border-top: 1px solid rgba(255,255,255,0.05);
    font-size: 0.75rem;
    color: var(--gray);
    letter-spacing: 2px;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.arrow {
    width: 25px;
    height: 25px;
    border-right: 2px solid var(--white);
    border-bottom: 2px solid var(--white);
    transform: rotate(45deg);
    animation: bounce 2.5s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0) rotate(45deg);}
    40% {transform: translateY(-15px) rotate(45deg);}
    60% {transform: translateY(-7px) rotate(45deg);}
}

/* Fade In Animations */
.fade-in {
    opacity: 0;
    animation: fadeIn 1.5s forwards;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

/* Mobile & Tablet Adjustments */
@media (max-width: 992px) {
    .nav-links { display: none; }
    .burger { display: flex; }
    header { padding: 20px 0; }
    .content h1 { font-size: 4rem; }
    .footer-content { text-align: center; }
}

@media (max-width: 768px) {
    .container { padding: 0 30px; }
    .specs-grid { gap: 60px; }
    .stat-item h2 { font-size: 3rem; }
    .content h1 { font-size: 3rem; }
    .full-section { height: auto; padding: 150px 0; }
    .hero-sub { height: auto; padding: 120px 0 60px; }
}
