@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&display=swap');

:root {
    --primary-green: #00E676;
    --primary-blue: #2979FF;
    --bg-dark: #0A0F1C;
    --text-light: #F0F4F8;
    --text-dim: #94A3B8;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    --gradient-glow: radial-gradient(circle at 50% 50%, rgba(41, 121, 255, 0.15), transparent 60%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
    overflow-x: hidden;
    line-height: 1.6;
}

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

/* Typography */
h1,
h2,
h3 {
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.highlight-green {
    color: var(--primary-green);
    text-shadow: 0 0 20px rgba(0, 230, 118, 0.3);
}

.highlight-blue {
    color: var(--primary-blue);
    text-shadow: 0 0 20px rgba(41, 121, 255, 0.3);
}

/* Glassmorphism Utilities */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: 16px;
}

.glass-nav {
    background: rgba(10, 15, 28, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
}

/* Layout & Components */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: padding 0.3s ease;
}

.navbar.scrolled {
    padding: 1rem 2rem;
}

.logo-img {
    height: 40px;
    /* Placeholder size */
    filter: drop-shadow(0 0 10px rgba(41, 121, 255, 0.5));
}

/* Navigation Links */
.nav-links {
    display: flex;
    align-items: center;
    /* Vertically center all items including the button */
    gap: 2rem;
    /* Use gap instead of margin-left for better control */
}

.nav-links a {
    font-weight: 500;
    opacity: 0.8;
}

.nav-links a:hover {
    opacity: 1;
    color: var(--primary-green);
    text-shadow: 0 0 10px rgba(0, 230, 118, 0.5);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Subtle Gradient instead of Image */
    background: radial-gradient(circle at 15% 50%, rgba(0, 230, 118, 0.08), transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(41, 121, 255, 0.08), transparent 25%);
    z-index: 0;
}

/* Video Parallax Styles */
.parallax-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.parallax-video {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover;
    /* Ensure it covers */
    transition: opacity 0.5s ease;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0.4);
    /* Darken for text readability */
    z-index: 1;
}

.hero .container {
    z-index: 2;
}

/* Hero Text Readability */
.hero h1 {
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8), 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

/* Darker blue for better visibility on hero background */
.hero .highlight-blue {
    color: #0056D2;
    /* Darker than standard #2979FF */
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--primary-green), var(--primary-blue));
    border-radius: 50px;
    font-weight: 600;
    color: white;
    box-shadow: 0 10px 30px rgba(0, 230, 118, 0.3);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.cta-button:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(41, 121, 255, 0.4);
}

.cta-button:hover::before {
    left: 100%;
}

/* Features Grid */
/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.feature-item {
    padding: 2.5rem;
    text-align: center;
    transition: transform 0.3s ease, background 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
}

/* Feature & Philosophy Icons (Font Awesome) */
.feature-icon {
    font-size: 4rem;
    color: var(--primary-green);
    margin-bottom: 1.5rem;
    display: inline-block;
    filter: drop-shadow(0 0 20px rgba(0, 230, 118, 0.3));
    transition: transform 0.3s ease;
}

/* Philosophy */
.philosophy-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 3rem;
    text-align: left;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.philosophy-item {
    display: flex;
    align-items: center;
    /* Darker glass for better readability over video */
    background: rgba(10, 15, 28, 0.7) !important;
    border: 1px solid rgba(255, 255, 255, 0.08);
    /* Center icon vertically */
    padding: 2.5rem;
    transition: transform 0.3s ease;
    gap: 1.5rem;
}

.philosophy-item .text-dim {
    color: #CBD5E1;
    /* Lighter than default dim (#94A3B8) */
}

.philosophy-item:hover {
    transform: translateX(10px);
    /* Slide right on hover */
}

.philosophy-icon {
    font-size: 3rem;
    color: var(--primary-blue);
    /* Remove margin-right as we use gap now */
    min-width: 80px;
    /* Fixed width for alignment */
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 0 15px rgba(41, 121, 255, 0.2));
}

.icon-primary {
    color: var(--primary-green);
}

/* Vision */
.vision-content {
    text-align: center;
    padding: 6rem 1rem;
    background: radial-gradient(circle at center, rgba(41, 121, 255, 0.1), transparent 70%);
}

.vision-logo {
    width: 120px;
    margin-bottom: 2rem;
    animation: float 6s ease-in-out infinite;
}

/* Utilities */
.mb-6 {
    margin-bottom: 1.5rem;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Section Spacing */
.section {
    padding: 6rem 0;
    position: relative;
    /* Ensure relative for parallax container positioning */
    overflow: hidden;
    /* Clean bounds */
}

/* Contact Section Background */
#contact {
    background: linear-gradient(rgba(10, 15, 28, 0.7), rgba(10, 15, 28, 0.7)), url('assets/video/get_in_touch.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    /* Optional: Simple CSS parallax-like effect */
}

.section-subtitle {
    max-width: 600px;
    margin: 0 auto 3rem;
    color: var(--text-dim);
}

/* Footer */
footer {
    border-top: 1px solid var(--glass-border);
}

/* Responsive */
/* Default hidden state for mobile elements */
.hamburger,
.mobile-menu {
    display: none;
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

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

    .nav-links {
        display: none;
    }

    /* Mobile menu simplified for now */
    .hamburger {
        display: block;
        cursor: pointer;
        font-size: 1.5rem;
        color: #fff;
        z-index: 1100;
    }

    .mobile-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: rgba(10, 10, 10, 0.95);
        backdrop-filter: blur(10px);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: 0.3s ease-in-out;
        z-index: 1000;
        border-left: 1px solid var(--glass-border);
    }

    .mobile-menu.active {
        right: 0;
    }

    .mobile-menu a {
        font-size: 1.5rem;
        font-weight: 600;
        color: #fff;
        text-decoration: none;
    }

    .mobile-menu a:hover {
        color: var(--primary-green);
    }
}



/* --- Secondary Pages Utilities --- */

/* Resources Badges */
.res-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.res-badge {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-size: .85rem;
    font-weight: 600;
    padding: .25rem .75rem;
    border-radius: 8px;
    background: rgba(41, 121, 255, 0.1);
    border: 1px solid rgba(41, 121, 255, 0.2);
    color: var(--primary-blue);
}

.res-badge.beta {
    background: rgba(255, 145, 0, 0.1);
    border: 1px solid rgba(255, 145, 0, 0.2);
    color: #ff9100;
}

/* Tools Grid (inherits features-grid mostly, but specific adjustments) */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

/* FAQ Accordion */
.faq-accordions {
    display: grid;
    gap: 1rem;
    margin-top: 2rem;
}

details.glass-accordion>summary {
    list-style: none;
    cursor: pointer;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 700;
    font-size: 1.2rem;
    transition: background 0.3s ease;
}

details.glass-accordion>summary:hover {
    background: rgba(255, 255, 255, 0.05);
}

details.glass-accordion>summary::-webkit-details-marker {
    display: none;
}

details.glass-accordion .faq-content {
    padding: 0 1.5rem 1.5rem 1.5rem;
    border-top: 1px solid var(--glass-border);
}

details.faq-q {
    margin: 1rem 0;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    padding: 1rem;
}

details.faq-q summary {
    cursor: pointer;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary-green);
}

.faq-answer {
    line-height: 1.6;
}

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