/* Primary Variables */
:root {
    --deep-blue: #020c1b;
    --navy: #0a192f;
    --light-navy: #112240;
    --lightest-navy: #233554;
    --slate: #8892b0;
    --light-slate: #a8b2d1;
    --lightest-slate: #ccd6f6;
    --white: #e6f1ff;
    --turquoise: #64ffda;
    --turquoise-tint: rgba(100, 255, 218, 0.1);
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    --transition: all 0.25s cubic-bezier(0.645, 0.045, 0.355, 1);
    --container-width: 1200px;
}

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

body {
    background-color: var(--navy);
    color: var(--slate);
    font-family: var(--font-body);
    font-size: 18px;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, .logo {
    font-family: var(--font-heading);
    color: var(--lightest-slate);
    font-weight: 700;
}

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

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 40px;
}

section {
    padding: 100px 0;
}

.section-header {
    margin-bottom: 50px;
    text-align: center;
}

.section-title {
    font-size: clamp(28px, 5vw, 40px);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--turquoise);
    margin: 10px auto 0;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 18px 30px;
    border-radius: 4px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-solid {
    background-color: var(--turquoise);
    color: var(--navy);
    border: 1px solid var(--turquoise);
}

.btn-solid:hover {
    background-color: transparent;
    color: var(--turquoise);
}

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

.btn-outline:hover {
    background-color: var(--turquoise-tint);
}

.btn-soon {
    background-color: transparent;
    color: var(--slate);
    border: 1px solid var(--lightest-navy);
    cursor: not-allowed;
    opacity: 0.6;
}

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    width: 100%;
    height: 100px;
    display: flex;
    align-items: center;
    background-color: rgba(10, 25, 47, 0.85);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition);
}

header.scrolled {
    height: 70px;
    box-shadow: 0 10px 30px -10px rgba(2, 12, 27, 0.7);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-size: 24px;
    color: var(--white);
}

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

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    color: var(--lightest-slate);
}

.nav-links a:hover {
    color: var(--turquoise);
}

.mobile-menu-btn {
    display: none;
    font-size: 24px;
    color: var(--turquoise);
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 700px;
    position: relative;
    display: flex;
    align-items: center;
    background-image: url('assets/hero-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent, var(--navy) 90%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero h1 {
    font-size: clamp(40px, 8vw, 70px);
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--white);
}

.hero p {
    font-size: clamp(18px, 3vw, 22px);
    max-width: 600px;
    margin-bottom: 40px;
}

.hero-btns {
    display: flex;
    gap: 20px;
}

/* Philosophy */
.manifesto {
    font-size: 22px;
    font-style: italic;
    color: var(--lightest-slate);
    max-width: 900px;
    margin: 0 auto 60px;
    position: relative;
    padding: 0 40px;
}

.manifesto::before, .manifesto::after {
    font-family: serif;
    font-size: 80px;
    color: var(--turquoise);
    opacity: 0.3;
    position: absolute;
}

.manifesto::before {
    content: '“';
    top: -20px;
    left: 0;
}

.manifesto::after {
    content: '”';
    bottom: -60px;
    right: 0;
}

.pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.pillar {
    text-align: center;
    padding: 40px 20px;
    background-color: var(--light-navy);
    border-radius: 8px;
    transition: var(--transition);
    border-top: 2px solid transparent;
}

.pillar:hover {
    transform: translateY(-10px);
    border-top: 2px solid var(--turquoise);
}

.pillar-icon {
    font-size: 40px;
    color: var(--turquoise);
    margin-bottom: 20px;
}

.pillar h3 {
    margin-bottom: 15px;
    color: var(--white);
}

/* Products */
.product-grid {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.product-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    padding: 40px;
}

.product-card:nth-child(even) {
    direction: rtl;
}

.product-card:nth-child(even) .product-info {
    direction: ltr;
}

.product-image {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    display: block;
    transition: var(--transition);
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-info {
    position: relative;
}

.tech-tag {
    display: inline-block;
    padding: 5px 12px;
    background-color: var(--turquoise-tint);
    color: var(--turquoise);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 12px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.tech-tag.top {
    font-size: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.product-info h3 {
    font-size: 30px;
    margin-bottom: 15px;
    color: var(--white);
}

.product-info .description {
    font-size: 20px;
    margin-bottom: 25px;
    color: var(--lightest-slate);
}

.features {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.features li {
    font-size: 16px;
}

.features li strong {
    color: var(--turquoise);
}

/* Lab Section */
.lab.dark {
    background-color: var(--deep-blue);
    position: relative;
}

.lab-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.lab-item {
    background-color: var(--light-navy);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
}

.lab-item i {
    font-size: 30px;
    color: var(--turquoise);
    margin-bottom: 20px;
}

.lab-item h4 {
    margin-bottom: 15px;
    color: var(--white);
}

/* Testimonials */
.testimonial-card {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--light-navy);
    padding: 60px;
    border-radius: 12px;
    text-align: center;
    position: relative;
}

.testimonial-card i {
    font-size: 40px;
    color: var(--turquoise);
    margin-bottom: 30px;
    display: block;
}

.testimonial-card p {
    font-size: 24px;
    color: var(--white);
    margin-bottom: 30px;
    line-height: 1.4;
}

.testimonial-card cite {
    font-style: normal;
    color: var(--slate);
    font-family: var(--font-heading);
    font-weight: 700;
}

/* Footer */
footer {
    background-color: var(--deep-blue);
    padding: 100px 0 30px;
    color: var(--slate);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 80px;
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 30px;
    font-size: 18px;
}

.footer-col ul li {
    margin-bottom: 15px;
}

.footer-col ul li a:hover {
    color: var(--turquoise);
}

.social-links {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.social-links a {
    font-size: 20px;
    color: var(--lightest-slate);
}

.social-links a:hover {
    color: var(--turquoise);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid var(--lightest-navy);
    padding-top: 30px;
    text-align: center;
    font-size: 14px;
}

.footer-bottom a {
    color: var(--lightest-slate);
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

/* Responsive */
@media (max-width: 1024px) {
    .product-card {
        grid-template-columns: 1fr;
        direction: ltr !important;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero h1 {
        font-size: 45px;
    }
    
    .hero-btns {
        flex-direction: column;
    }
    
    .pillars, .lab-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .container {
        padding: 0 20px;
    }
    
    section {
        padding: 70px 0;
    }
}
