* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: #000;
    color: #fff;
    overflow-x: hidden;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 2rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    gap: 3rem;
    list-style: none;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s;
    letter-spacing: 0.5px;
}

.nav-links a:hover {
    color: #888;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background: #fff;
    margin: 4px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    /* height: 100vh;
    display: flex; */
    align-items: center;
    justify-content: center;
    /* position: relative; */
    overflow: hidden;
}

.hero-bg {
    position: fixed;
    z-index: -2;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #000 0%, #1a1a1a 100%);
}

#globe-container {
    position: fixed;
    z-index: -1;
    width: 100%;
    height: 100%;
    pointer-events: none;
    top: 0;
    left: 0;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: left;
    /* Left align */
    padding: 0 5%;
    max-width: 800px;
    width: 100%;
}

.hero h1 {
    font-size: 5rem;
    /* Larger font */
    font-weight: 700;
    /* Bolder */
    text-transform: uppercase;
    line-height: 1.1;
    margin-bottom: 2rem;
    letter-spacing: -1px;
    animation: fadeInUp 1s ease;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.2s both;
}

.cta-btn {
    display: inline-block;
    padding: 1rem 3rem;
    border: 2px solid #fff;
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s;
    letter-spacing: 1px;
    animation: fadeInUp 1s ease 0.4s both;
}

.cta-btn:hover {
    background: #fff;
    color: #000;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Sections */
section {
    padding: 8rem 5%;
    position: relative;
}

.section-dark {
    background: transparent;
    backdrop-filter: blur(0px);
}

#philosophy {
    background: transparent;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 3rem;
    letter-spacing: 1px;
}

/* Intelligence Section Layout */
.intelligence-section {
    padding: 3rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.serif-title {
    font-family: 'Times New Roman', Times, serif;
    font-size: 3.5rem;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 4rem;
    text-align: center;
}

.intel-grid {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 8rem;
}

.intel-desc {
    max-width: 400px;
    text-align: left;
    font-size: 0.9rem;
    line-height: 1.6;
    opacity: 0.8;
}

.spread-text-container {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    padding: 0 5%;
    position: relative;
}

.spread-text-container::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 10%;
    bottom: 10%;
    width: 1px;
    background: rgba(255, 255, 255, 0.3);
    transform: translateX(-50%);
}

.serif-subtitle {
    font-family: 'Times New Roman', Times, serif;
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1.2;
}

.left-text {
    text-align: left;
    align-self: flex-start;
}

.right-text {
    text-align: right;
    align-self: flex-end;
    opacity: 0.7;
}

/* Response for intel section */
@media (max-width: 768px) {
    .serif-title {
        font-size: 2.5rem;
    }

    .serif-subtitle {
        font-size: 1.8rem;
    }

    .intel-grid {
        justify-content: flex-start;
    }
}

.section-subtitle {
    font-size: 1.8rem;
    font-weight: 300;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 4rem;
}

@media (min-width: 969px) {
    .features-grid .feature-card:nth-child(4) {
        grid-column: 2;
    }
}

.feature-card {
    padding: 3rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.feature-icon {
    width: 30px;
    height: 30px;
    margin-right: 1rem;
    flex-shrink: 0;
    opacity: 0.8;
    transition: all 0.4s ease;
    filter: invert(1) brightness(1);
}

.feature-card:hover .feature-icon {
    opacity: 1;
    transform: scale(1.05);
}

.feature-card .card-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin: 0;
    font-weight: 400;
}

.feature-card p {
    font-size: 1.2rem;
    line-height: 1.8;
    opacity: 0.8;
}

/* About Section */
.about-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 4rem 3rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.about-content:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    transform: translateY(-5px);
}

.about-content p {
    font-size: 1.3rem;
    line-height: 2;
    opacity: 0.9;
    margin-bottom: 2rem;
}

/* Philosophy Boxes */
.philosophy-boxes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 4rem auto 0;
    padding: 0 3rem;
}

.philosophy-box {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 3rem 2.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    text-align: left;
}

.philosophy-box:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    transform: translateY(-5px);
}

.philosophy-box-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
}

.philosophy-box p {
    font-size: 1.2rem;
    line-height: 1.8;
    opacity: 0.9;
}

@media (max-width: 968px) {
    .philosophy-boxes {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin-top: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.contact-card {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.contact-card p {
    font-size: 0.95rem;
    line-height: 1.8;
    opacity: 0.8;
    margin-bottom: 0.5rem;
}

.contact-card a {
    color: #fff;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.contact-card a:hover {
    opacity: 1;
}

/* Footer */
footer {
    padding: 3rem 5%;
    text-align: center;
    background: rgba(0, 0, 0, 0.9);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

footer p {
    opacity: 0.6;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 968px) {
    .nav-links {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero p {
        font-size: 1.2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    section {
        padding: 5rem 5%;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .cube {
        width: 200px;
        height: 200px;
    }

    .cube-face {
        width: 200px;
        height: 200px;
    }
}

/* Scroll Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animation for feature cards */
.features-grid .feature-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.features-grid .feature-card.animated {
    opacity: 1;
    transform: translateY(0);
}

.features-grid .feature-card:nth-child(1) {
    transition-delay: 0.1s;
}

.features-grid .feature-card:nth-child(2) {
    transition-delay: 0.2s;
}

.features-grid .feature-card:nth-child(3) {
    transition-delay: 0.3s;
}

.features-grid .feature-card:nth-child(4) {
    transition-delay: 0.4s;
}

/* Contact cards animation */
.contact-grid .contact-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.contact-grid .contact-card.animated {
    opacity: 1;
    transform: translateY(0);
}

.contact-grid .contact-card:nth-child(1) {
    transition-delay: 0.1s;
}

.contact-grid .contact-card:nth-child(2) {
    transition-delay: 0.2s;
}

.contact-grid .contact-card:nth-child(3) {
    transition-delay: 0.3s;
}

.contact-grid .contact-card:nth-child(4) {
    transition-delay: 0.4s;
}