/*
--- TABLE OF CONTENTS ---
1.  VARIABLES & GLOBAL STYLES
2.  HELPER CLASSES & KEYFRAMES
3.  HEADER & NAVIGATION
4.  MOBILE NAVIGATION
5.  FOOTER
6.  BUTTONS & FORMS
7.  HERO SECTION
8.  SERVICES SECTION
9.  ABOUT SECTION (with 3D Sphere)
10. TESTIMONIALS SECTION
11. INTERACTIVE SECTION (Chat/Report)
12. SUBPAGES (Contact, Legal)
13. RESPONSIVE DESIGN
*/

/* 1. VARIABLES & GLOBAL STYLES */
:root {
    --bg-graphite: #1A1A1A;
    --bg-graphite-light: #2E2E2E;
    --text-beige: #F5F5DC;
    --text-beige-muted: rgba(245, 245, 220, 0.7);
    --accent-green: #5A7D60;
    --accent-green-light: #A3C5A5;
    --glow-color: rgba(90, 125, 96, 0.5);
    --border-color: rgba(163, 197, 165, 0.2);

    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Share Tech Mono', monospace;

    --header-height: 80px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-graphite);
    color: var(--text-beige);
    font-family: var(--font-primary);
    line-height: 1.7;
    overflow-x: hidden;
    cursor: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-secondary);
    color: var(--accent-green-light);
    line-height: 1.2;
    font-weight: 400;
}

a {
    color: var(--accent-green-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--text-beige);
}

p {
    color: var(--text-beige-muted);
    margin-bottom: 1rem;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.section-padding {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background-color: var(--accent-green);
    animation: pulse-line 2s infinite ease-in-out;
}

.section-subtitle {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.highlight {
    color: var(--accent-green-light);
}

/* Background Effects */
.site-scanline {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
    background-size: 100% 4px, 6px 100%;
    pointer-events: none;
    z-index: 1000;
    animation: scanline 20s linear infinite;
}

.site-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 200vw;
    height: 200vh;
    background: radial-gradient(circle, var(--glow-color) 0%, transparent 40%);
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: -1;
    opacity: 0.3;
}


/* Custom Cursor */
.custom-cursor {
    position: fixed;
    left: 0;
    top: 0;
    width: 24px;
    height: 24px;
    border: 2px solid var(--accent-green-light);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.2s ease-out, background-color 0.2s ease, opacity 0.2s ease;
    transform: translate(-50%, -50%);
}

body:hover .custom-cursor {
    opacity: 1;
}

.custom-cursor.hovered {
    transform: translate(-50%, -50%) scale(1.5);
    background-color: var(--glow-color);
}

.custom-cursor.clicked {
    transform: translate(-50%, -50%) scale(0.8);
}


/* 2. HELPER CLASSES & KEYFRAMES */
.animate-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-in.in-view {
    opacity: 1;
    transform: translateY(0);
}

@keyframes scanline {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 0 100vh;
    }
}

@keyframes pulse-line {

    0%,
    100% {
        width: 60px;
        opacity: 1;
    }

    50% {
        width: 80px;
        opacity: 0.5;
    }
}

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 0 15px 5px var(--glow-color);
    }

    50% {
        box-shadow: 0 0 25px 10px var(--glow-color);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

@keyframes typing {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}


/* 3. HEADER & NAVIGATION */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 0;
    z-index: 100;
    transition: background-color 0.3s ease;
    background-color: rgba(26, 26, 26, 0.8);
    backdrop-filter: blur(10px);
}

.header-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    height: 40px;
    filter: brightness(0) invert(1);
    opacity: 0.9;
    transition: opacity 0.3s;
}

.logo-link:hover .logo {
    opacity: 1;
}

.nav-list {
    display: flex;
    gap: 30px;
}

.nav-link {
    font-family: var(--font-secondary);
    font-size: 1rem;
    color: var(--text-beige-muted);
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-green-light);
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-beige);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Header Decorations */
.header-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.hud-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--border-color);
}

.hud-corner {
    position: absolute;
    width: 15px;
    height: 15px;
    border-style: solid;
    border-color: var(--accent-green);
}

.hud-corner.top-left {
    top: 15px;
    left: 15px;
    border-width: 2px 0 0 2px;
}

.hud-corner.top-right {
    top: 15px;
    right: 15px;
    border-width: 2px 2px 0 0;
}


/* 4. MOBILE NAVIGATION */
.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    width: 30px;
    height: 22px;
    position: relative;
    cursor: pointer;
    z-index: 101;
}

.bar {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--text-beige);
    transition: all 0.3s ease;
}

.bar-top {
    top: 0;
}

.bar-middle {
    top: 50%;
    transform: translateY(-50%);
}

.bar-bottom {
    bottom: 0;
}

.mobile-toggle[aria-expanded="true"] .bar-top {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.mobile-toggle[aria-expanded="true"] .bar-middle {
    opacity: 0;
}

.mobile-toggle[aria-expanded="true"] .bar-bottom {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
}

.mobile-nav {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background-color: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(15px);
    z-index: 99;
    padding-top: 50px;
}

.mobile-nav.open {
    display: block;
}

.mobile-nav ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.mobile-nav ul li a {
    font-size: 1.5rem;
    font-family: var(--font-secondary);
}


/* 5. FOOTER */
.footer {
    background-color: var(--bg-graphite-light);
    padding: 80px 0 0;
    position: relative;
    border-top: 1px solid var(--border-color);
}

.footer-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    opacity: 0.1;
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    padding-bottom: 40px;
}

.footer-logo {
    height: 50px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
    opacity: 0.8;
}

.footer-about-text {
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-beige-muted);
}

.social-link:hover {
    background-color: var(--accent-green);
    color: var(--text-beige);
    border-color: var(--accent-green);
}

.footer-col-title {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
}

.footer-col-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 30px;
    height: 2px;
    background-color: var(--accent-green);
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul a {
    color: var(--text-beige-muted);
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 15px;
}

.contact-info i {
    margin-top: 5px;
    color: var(--accent-green-light);
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid var(--border-color);
    color: var(--text-beige-muted);
    font-size: 0.9rem;
}


/* 6. BUTTONS & FORMS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 4px;
    font-family: var(--font-secondary);
    font-size: 1rem;
    text-transform: uppercase;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    cursor: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background-color: var(--accent-green);
    color: var(--text-beige);
    border-color: var(--accent-green);
}

.btn-primary:hover {
    background-color: var(--accent-green-light);
    border-color: var(--accent-green-light);
    color: var(--bg-graphite);
}

.btn-secondary {
    background-color: transparent;
    color: var(--accent-green-light);
    border-color: var(--accent-green-light);
}

.btn-secondary:hover {
    background-color: var(--accent-green-light);
    color: var(--bg-graphite);
}

.btn-tertiary {
    background-color: transparent;
    border: 1px solid var(--accent-green);
    color: var(--accent-green-light);
    padding: 8px 16px;
    font-size: 0.9rem;
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-family: var(--font-secondary);
    color: var(--accent-green-light);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    background-color: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    color: var(--text-beige);
    font-family: var(--font-primary);
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-green-light);
}

/* Custom Select */
.custom-select {
    position: relative;
}

.custom-select::after {
    content: '\f078';
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    pointer-events: none;
    color: var(--accent-green-light);
}

select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}


/* 7. HERO SECTION */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: var(--header-height);
}

.hero-content {
    text-align: center;
    z-index: 2;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
}

.hero-cta-group {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.hero-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: var(--glow-color);
    filter: blur(80px);
}

.shape-1 {
    width: 400px;
    height: 400px;
    top: 10%;
    left: 15%;
    animation: float 10s ease-in-out infinite;
}

.shape-2 {
    width: 300px;
    height: 300px;
    bottom: 10%;
    right: 15%;
    animation: float 12s ease-in-out infinite reverse;
}

.shape-3 {
    display: none;
}

/* for subpages */


.hero-infographics {
    position: absolute;
    bottom: 5%;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 100px;
    font-family: var(--font-secondary);
}

.infographic-item {
    text-align: center;
    opacity: 0;
    animation: fadeIn 1s 1s forwards;
}

.infographic-item span {
    font-size: 2.5rem;
    color: var(--accent-green-light);
}

.infographic-item p {
    color: var(--text-beige-muted);
    margin: 0;
}


/* 8. SERVICES SECTION */
.services-section {
    background-color: var(--bg-graphite-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: transparent;
    perspective: 1000px;
    min-height: 300px;
}

.service-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.service-card:hover .service-card-inner {
    transform: rotateY(180deg);
}

.service-card-front,
.service-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: linear-gradient(145deg, var(--bg-graphite), #333);
}

.service-card-back {
    transform: rotateY(180deg);
}

.service-icon {
    font-size: 3rem;
    color: var(--accent-green-light);
    margin-bottom: 20px;
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-card-back ul {
    text-align: left;
    margin-bottom: 20px;
    width: 100%;
    padding-left: 20px;
}

.service-card-back li {
    margin-bottom: 10px;
    position: relative;
}

.service-card-back li::before {
    content: '>';
    position: absolute;
    left: -20px;
    color: var(--accent-green);
    font-family: var(--font-secondary);
}


/* 9. ABOUT SECTION */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-content .section-title {
    text-align: left;
    display: block;
}

.about-content .section-title::after {
    left: 0;
    transform: none;
}

.about-stats {
    display: flex;
    gap: 40px;
    margin-top: 30px;
}

.stat-number {
    font-size: 2.5rem;
    font-family: var(--font-secondary);
    color: var(--accent-green-light);
}

.stat-label {
    display: block;
    color: var(--text-beige-muted);
}

.about-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-wrapper {
    position: relative;
    text-align: center;
}

.visual-tagline {
    font-family: var(--font-secondary);
    margin-top: 20px;
    letter-spacing: 2px;
}

/* 3D Sphere */
.sphere {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    position: relative;
    transform-style: preserve-3d;
    animation: rotate-sphere 20s linear infinite;
    border: 1px solid var(--border-color);
}

.sphere-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(163, 197, 165, 0.2), transparent 70%);
}

.node {
    position: absolute;
    width: 15px;
    height: 15px;
    background-color: var(--accent-green-light);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-green-light);
    animation: pulse-node 2s infinite ease-in-out;
}

.node1 {
    top: 5%;
    left: 45%;
    transform: rotateY(30deg) rotateX(20deg) translateZ(150px);
    animation-delay: 0.2s;
}

.node2 {
    top: 30%;
    left: 80%;
    transform: rotateY(120deg) rotateX(40deg) translateZ(150px);
    animation-delay: 0.5s;
}

.node3 {
    top: 70%;
    left: 90%;
    transform: rotateY(200deg) rotateX(10deg) translateZ(150px);
    animation-delay: 0.8s;
}

.node4 {
    top: 85%;
    left: 40%;
    transform: rotateY(280deg) rotateX(60deg) translateZ(150px);
    animation-delay: 1.1s;
}

.node5 {
    top: 40%;
    left: 10%;
    transform: rotateY(340deg) rotateX(80deg) translateZ(150px);
    animation-delay: 1.4s;
}

@keyframes rotate-sphere {
    from {
        transform: rotateY(0deg) rotateX(10deg);
    }

    to {
        transform: rotateY(360deg) rotateX(10deg);
    }
}

@keyframes pulse-node {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.3);
        opacity: 0.7;
    }
}


/* 10. TESTIMONIALS SECTION */
.testimonials-section {
    background-color: var(--bg-graphite-light);
}

.testimonial-slider-wrapper {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.testimonial-slider {
    position: relative;
    overflow: hidden;
    min-height: 300px;
}

.testimonial-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 40px;
    background-color: var(--bg-graphite);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transform: translateX(20px);
    transition: opacity 0.5s ease, transform 0.5s ease, visibility 0.5s;
}

.testimonial-slide.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.testimonial-slide i {
    font-size: 2rem;
    color: var(--accent-green);
    margin-bottom: 20px;
}

.testimonial-text {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.author-name {
    font-size: 1.2rem;
}

.author-title {
    margin: 0;
}

.slider-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.slider-btn {
    width: 50px;
    height: 50px;
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-beige);
    border-radius: 50%;
    cursor: none;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.slider-btn:hover {
    background-color: var(--accent-green);
    border-color: var(--accent-green);
}


/* 11. INTERACTIVE SECTION (Chat/Report) */
.interactive-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: stretch;
}

.chat-module,
.report-module {
    padding: 30px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: linear-gradient(145deg, var(--bg-graphite-light), var(--bg-graphite));
}

.module-title {
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.chat-box {
    height: 150px;
    background-color: var(--bg-graphite);
    border-radius: 4px;
    padding: 15px;
    margin-bottom: 20px;
    overflow-y: auto;
}

.message {
    margin-bottom: 10px;
}

.message p {
    display: inline-block;
    padding: 8px 12px;
    border-radius: 10px;
    max-width: 80%;
    margin: 0;
}

.message.received p {
    background-color: var(--bg-graphite-light);
    border-bottom-left-radius: 0;
}

.message.sent {
    text-align: right;
}

.message.sent p {
    background-color: var(--accent-green);
    color: var(--text-beige);
    border-bottom-right-radius: 0;
}

.typing span {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--text-beige-muted);
    margin: 0 2px;
    animation: blink 1.4s infinite both;
}

.typing span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing span:nth-child(3) {
    animation-delay: 0.4s;
}

.report-preview {
    padding: 20px;
    border: 1px dashed var(--border-color);
    margin-bottom: 20px;
    text-align: center;
}

.report-preview i {
    font-size: 3rem;
    margin-bottom: 15px;
}

.report-preview span {
    display: block;
    margin-top: 5px;
    font-family: var(--font-secondary);
}


/* 12. SUBPAGES (Contact, Legal) */
body.subpage main {
    padding-top: var(--header-height);
}

.page-header {
    padding: 80px 0;
    text-align: center;
    position: relative;
    border-bottom: 1px solid var(--border-color);
}

.page-header .shape-3 {
    display: block;
    width: 250px;
    height: 250px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: float 8s ease-in-out infinite alternate;
}

.page-title {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.breadcrumbs {
    color: var(--text-beige-muted);
}

.breadcrumbs a {
    color: var(--text-beige-muted);
}

.breadcrumbs a:hover {
    color: var(--accent-green-light);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
}

.contact-info-title {
    font-size: 2rem;
    margin-bottom: 20px;
}

.contact-method {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-bottom: 30px;
}

.method-icon {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid var(--border-color);
    color: var(--accent-green-light);
}

.method-details h3 {
    font-size: 1.2rem;
}

.method-details p,
.method-details a {
    margin: 0;
    color: var(--text-beige-muted);
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Legal Pages */
.legal-content .content-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-graphite-light);
    padding: 40px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
}

.legal-content h2 {
    font-size: 1.8rem;
    margin-top: 30px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.legal-content p,
.legal-content strong {
    color: var(--text-beige-muted);
}

.legal-content strong {
    color: var(--text-beige);
}

/* Popup */
.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1001;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s;
}

.popup:target {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    background: var(--bg-graphite-light);
    padding: 40px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    text-align: center;
    position: relative;
    width: 90%;
    max-width: 500px;
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.5rem;
    color: var(--text-beige-muted);
}

.popup-content i {
    font-size: 3rem;
    color: var(--accent-green);
    margin-bottom: 15px;
}

.popup-content h3 {
    font-size: 1.5rem;
}


/* 13. RESPONSIVE DESIGN */
@media (max-width: 992px) {

    .about-grid,
    .interactive-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-content .section-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .about-stats {
        justify-content: center;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }

    .section-padding {
        padding: 80px 0;
    }

    .nav {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-cta-group {
        flex-direction: column;
        align-items: center;
    }

    .hero-infographics {
        gap: 40px;
        position: static;
        margin-top: 50px;
    }

    .hero {
        padding-bottom: 50px;
    }

    .contact-form .form-row {
        grid-template-columns: 1fr;
    }

    .footer-top {
        text-align: center;
    }

    .footer-col {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-col-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 2rem;
    }

    .page-title {
        font-size: 2.5rem;
    }

    .infographic-item span {
        font-size: 2rem;
    }

    .about-stats {
        flex-direction: column;
        gap: 20px;
    }

    .sphere {
        width: 250px;
        height: 250px;
    }

    .node {
        transform: scale(0.8);
    }

    .testimonial-slide {
        padding: 30px;
    }
}