/*
--- BIO-LUMINESCENT GROWTH THEME ---
Version: 4.0

TABLE OF CONTENTS
1.  :root & Global Styles
2.  Utility & Animation Classes
3.  Header & Navigation
4.  Mobile Navigation
5.  Hero Section & 3D Data Vine
6.  Services Section (Pods)
7.  Process Section (Pathway)
8.  Sample Report Section & Modal
9.  Testimonials Section
10. CTA Section
11. Footer & Wave Divider
12. Page-Specific Styles (Contact, Legal)
13. Forms
14. Media Queries (Responsiveness)
*/

/* 1. :root & Global Styles */
:root {
    --bg-deep-space: #0A0303;
    /* Deep Crimson Black */
    --bg-dark-void: #140C12;
    /* Rich Dark Maroon */
    --bg-nebula: #23182A;
    /* Soft Galaxy Violet */
    --primary-glow: #FFB84C;
    /* Solar Amber */
    --secondary-glow: #FF6F91;
    /* Radiant Rose Magenta */
    --accent-glow: #845EC2;
    /* Vivid Violet */
    --text-primary: #FFF8F3;
    /* Warm White */
    --text-secondary: #E7CFCB;
    /* Soft Beige Tint */
    --text-muted: #9E8281;
    /* Muted Rose Gray */
    --border-color: rgba(255, 111, 145, 0.2);
    --font-family: 'Exo 2', sans-serif;
    --header-height: 80px;
    --border-radius: 12px;
    --transition: 0.3s ease-in-out;
}


*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-deep-space);
    color: var(--text-secondary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

section {
    padding: 100px 0;
}

h1,
h2,
h3,
h4 {
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-primary);
}

h1 {
    font-size: 3.8rem;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
}

h3 {
    font-size: 1.4rem;
}

h4 {
    font-size: 1.1rem;
}

p {
    max-width: 65ch;
}

a {
    color: var(--primary-glow);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--secondary-glow);
}

/* 2. Utility & Animation Classes */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
}

.btn-primary {
    background-color: var(--primary-glow);
    color: var(--bg-deep-space);
    box-shadow: 0 0 15px rgba(0, 245, 195, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 25px rgba(0, 245, 195, 0.5);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-primary);
    border-color: var(--border-color);
}

.btn-secondary:hover {
    background-color: var(--bg-nebula);
    border-color: var(--primary-glow);
}

.btn-large {
    padding: 16px 36px;
    font-size: 1.05rem;
}

.section-header {
    margin-bottom: 60px;
}

.section-header .section-subtitle {
    max-width: 600px;
    margin: 1rem auto 0;
}

.highlight {
    color: var(--primary-glow);
}

[data-animation] {
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-animation="fade-in-up"] {
    transform: translateY(30px);
}

[data-animation="zoom-in"] {
    transform: scale(0.9);
}

[data-animation="slide-in-left"] {
    transform: translateX(-30px);
}

[data-animation="slide-in-right"] {
    transform: translateX(30px);
}

.animate-on-load,
.animate-on-scroll.visible {
    opacity: 1;
    transform: none;
    transition-delay: var(--delay, 0s);
}

/* 3. Header & Navigation */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    height: var(--header-height);
    background: rgba(2, 4, 10, 0.7);
    backdrop-filter: blur(10px);
    transition: background-color var(--transition);
}

.site-header.scrolled {
    background: rgba(2, 4, 10, 0.9);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo img {
    height: 50px;
    filter: invert(1);
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 40px;
}

.main-nav a {
    color: var(--text-secondary);
    font-weight: 500;
    position: relative;
    padding-bottom: 5px;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-glow);
    transition: width var(--transition);
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* 4. Mobile Navigation */
.hamburger-menu {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1010;
}

.hamburger-menu span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    margin: 6px 0;
    transition: all 0.4s ease;
}

.mobile-nav-container.active .hamburger-menu span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-nav-container.active .hamburger-menu span:nth-child(2) {
    opacity: 0;
}

.mobile-nav-container.active .hamburger-menu span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.mobile-nav-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    visibility: hidden;
    z-index: 999;
}

.mobile-nav-container.active {
    visibility: visible;
}

.mobile-nav {
    position: absolute;
    top: var(--header-height);
    right: 0;
    width: 100%;
    background: var(--bg-deep-space);
    padding: 40px;
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity var(--transition), transform var(--transition);
}

.mobile-nav-container.active .mobile-nav {
    opacity: 1;
    transform: translateY(0);
}

.mobile-nav ul {
    list-style: none;
    text-align: center;
}

.mobile-nav li {
    margin-bottom: 20px;
}

.mobile-nav a {
    font-size: 1.5rem;
    color: var(--text-primary);
}

/* 5. Hero Section & 3D Data Vine */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--header-height);
    overflow: hidden;
    position: relative;
}

.hero-background-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0, 245, 195, 0.05), transparent 60%);
    transform: translate(-50%, -50%);
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
}

.hero-title {
    font-size: 4.2rem;
    font-weight: 700;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    max-width: 500px;
    margin: 1.5rem 0 2.5rem;
}

.hero-cta {
    display: flex;
    gap: 20px;
}

.hero-3d-visual {
    perspective: 1500px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 500px;
}

.data-vine {
    position: relative;
    width: 10px;
    height: 400px;
    transform-style: preserve-3d;
    animation: rotate-vine 30s linear infinite;
}

.vine-branch {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(var(--secondary-glow), var(--primary-glow));
    border-radius: 5px;
    transform-origin: bottom center;
    transform: rotateY(calc(var(--i) * 60deg)) rotateZ(20deg) scaleY(0.8);
}

.vine-branch::before,
.vine-branch::after {
    content: '';
    position: absolute;
    width: 80%;
    height: 80%;
    background: inherit;
    border-radius: inherit;
    transform-origin: bottom center;
}

.vine-branch::before {
    top: 20%;
    left: 50%;
    transform: rotateZ(35deg) scale(0.8);
}

.vine-branch::after {
    top: 40%;
    left: -50%;
    transform: rotateZ(-35deg) scale(0.6);
}

.data-node {
    position: absolute;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 0 10px white, 0 0 20px var(--primary-glow);
    animation: pulse 2s infinite ease-in-out;
}

.data-node:nth-child(1) {
    top: 20%;
    left: 100px;
    transform: rotateY(30deg) translateZ(50px);
}

.data-node:nth-child(2) {
    top: 40%;
    left: -80px;
    transform: rotateY(150deg) translateZ(30px);
}

.data-node:nth-child(3) {
    top: 60%;
    left: 60px;
    transform: rotateY(240deg) translateZ(80px);
}

.data-node:nth-child(4) {
    top: 80%;
    left: -120px;
    transform: rotateY(310deg) translateZ(20px);
}

@keyframes rotate-vine {
    to {
        transform: rotateY(360deg);
    }
}

@keyframes pulse {
    50% {
        transform: scale(1.2);
        box-shadow: 0 0 15px white, 0 0 30px var(--primary-glow);
    }
}

/* 6. Services Section (Pods) */
.services-section {
    background: var(--bg-dark-void);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-pod {
    background: var(--bg-nebula);
    padding: 40px 30px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    position: relative;
    overflow: hidden;
    text-align: center;
    transition: transform var(--transition), box-shadow var(--transition);
}

.service-pod:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.pod-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(transparent, var(--primary-glow), transparent 30%);
    animation: rotate-glow 4s linear infinite;
    opacity: 0;
    transition: opacity var(--transition);
}

.service-pod:hover .pod-glow {
    opacity: 1;
}

.service-pod::after {
    content: '';
    position: absolute;
    inset: 1px;
    background: var(--bg-nebula);
    border-radius: var(--border-radius);
}

.pod-icon,
.service-pod h3,
.service-pod p {
    position: relative;
    z-index: 1;
}

.pod-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: var(--bg-dark-void);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary-glow);
}

.pod-icon svg {
    width: 28px;
    height: 28px;
}

@keyframes rotate-glow {
    to {
        transform: rotate(360deg);
    }
}

/* 7. Process Section (Pathway) */
.process-pathway {
    position: relative;
    max-width: 900px;
    margin: 60px auto 0;
}

.pathway-line {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: var(--border-color);
}

.process-node-container {
    position: relative;
    width: 50%;
    padding: 0 40px;
    margin-bottom: 40px;
}

.process-node-container.left {
    left: 0;
}

.process-node-container.right {
    left: 50%;
}

.process-node {
    background: var(--bg-dark-void);
    padding: 30px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    position: relative;
}

.process-node-container::after {
    content: '';
    position: absolute;
    top: 30px;
    width: 16px;
    height: 16px;
    background: var(--bg-deep-space);
    border: 3px solid var(--primary-glow);
    border-radius: 50%;
    z-index: 1;
}

.process-node-container.left::after {
    right: -8px;
}

.process-node-container.right::after {
    left: -8px;
}

.node-number {
    position: absolute;
    top: 20px;
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-muted);
    opacity: 0.2;
    z-index: -1;
}

.process-node-container.left .node-number {
    right: 20px;
}

.process-node-container.right .node-number {
    left: 20px;
}

/* 8. Sample Report Section & Modal */
.report-section {
    background: var(--bg-dark-void);
}

.report-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 50px;
}

.report-visual img {
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

.report-text h2 {
    text-align: left;
}

.report-text p {
    margin-bottom: 2rem;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(2, 4, 10, 0.8);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--bg-dark-void);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 40px;
    width: 90%;
    max-width: 600px;
    position: relative;
    transform: scale(0.95);
    transition: transform var(--transition);
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 2rem;
    cursor: pointer;
}

.modal-header {
    margin-bottom: 2rem;
}

.kpi-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

.kpi-item {
    background: var(--bg-nebula);
    padding: 1rem;
    border-radius: 8px;
}

.kpi-item span {
    color: var(--primary-glow);
    font-weight: 700;
    font-size: 1.5rem;
    display: block;
}

/* 9. Testimonials Section */
.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.testimonial-card {
    background: var(--bg-dark-void);
    padding: 30px;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-glow);
}

blockquote {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 1.5rem;
}

cite {
    font-style: normal;
}

.author-name {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
}

.author-title {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* 10. CTA Section */
.cta-container {
    text-align: center;
    padding: 60px 40px;
    background: var(--bg-dark-void);
    border-radius: var(--border-radius);
}

.cta-container p {
    max-width: 600px;
    margin: 1rem auto 2rem;
}

/* 11. Footer & Wave Divider */
.wave-divider {
    line-height: 0;
    position: relative;
    top: 1px;
    z-index: 5;
}

.site-footer {
    background: var(--bg-dark-void);
    padding: 100px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h4 {
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 10px;
}

.footer-col a,
address {
    color: var(--text-secondary);
    font-style: normal;
    line-height: 1.8;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
    text-align: center;
    color: var(--text-muted);
}

.footer-logo img {
    height: 55px;
    margin-bottom: 1rem;
}

/* 12. Page-Specific Styles (Contact, Legal) */
.page-header {
    padding: calc(var(--header-height) + 80px) 0 80px;
    text-align: center;
}

.page-header p {
    max-width: 600px;
    margin: 1rem auto 0;
}

.contact-page-section,
.legal-content-section {
    padding-bottom: 100px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 50px;
}

.info-block {
    margin-bottom: 2rem;
}

.info-block h4 {
    color: var(--primary-glow);
}

.legal-container {
    max-width: 800px;
}

.legal-container h2 {
    text-align: left;
}

/* 13. Forms */
.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-nebula);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: var(--font-family);
    transition: all var(--transition);
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary-glow);
    box-shadow: 0 0 10px rgba(0, 245, 195, 0.3);
}

/* 14. Media Queries */
@media (max-width: 992px) {
    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2.2rem;
    }

    .main-nav,
    .header-actions .btn {
        display: none;
    }

    .hamburger-menu {
        display: block;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        order: 2;
    }

    .hero-3d-visual {
        order: 1;
        height: 350px;
        margin-bottom: 40px;
    }

    .hero-cta {
        justify-content: center;
    }

    .process-pathway {
        max-width: 100%;
    }

    .process-pathway .pathway-line {
        left: 20px;
    }

    .process-node-container {
        width: 100%;
        padding-left: 60px;
    }

    .process-node-container.right {
        left: 0;
    }

    .process-node-container::after {
        left: 12px;
    }

    .report-container,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .report-visual {
        order: 2;
    }

    .report-text {
        order: 1;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    #footer-about {
        grid-column: 1 / -1;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }

    body {
        font-size: 15px;
    }

    h1 {
        font-size: 2.5rem;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .testimonials-grid {
        gap: 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}