/*
================================================
NEURAL TEMPLE THEME - STYLE.CSS
================================================
TABLE OF CONTENTS
------------------------------------------------
1.  VARIABLES & GLOBAL RESETS
2.  TYPOGRAPHY & BASE STYLES
3.  REUSABLE COMPONENTS (Buttons, Containers)
4.  LOADER / PRELOADER
5.  HEADER & NAVIGATION
6.  MOBILE MENU
7.  HERO SECTION
8.  SERVICES SECTION
9.  PROCESS SECTION
10. DATA CORE SECTION (3D CUBE)
11. INDUSTRIES SECTION
12. TESTIMONIALS SECTION
13. CTA SECTION
14. FOOTER
15. PAGE-SPECIFIC STYLES (Contact, Legal)
16. ANIMATIONS & KEYFRAMES
17. RESPONSIVE DESIGN (Media Queries)
================================================
*/

/* 1. VARIABLES & GLOBAL RESETS */
:root {
    --color-primary: #00f2ea;
    --color-secondary: #ff00c1;
    --color-accent: #9d00ff;
    --color-bg-dark: #0a0518;
    --color-bg-medium: #120c29;
    --color-bg-light: #1e153e;
    --color-text-primary: #e0e0e0;
    --color-text-secondary: #a09cb0;
    --color-border: rgba(0, 242, 234, 0.2);
    --font-primary: 'Orbitron', sans-serif;
    --font-secondary: 'Rajdhani', sans-serif;
    --header-height: 80px;
    --border-radius: 8px;
    --shadow-glow: 0 0 15px rgba(0, 242, 234, 0.4), 0 0 30px rgba(0, 242, 234, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--color-bg-dark);
    color: var(--color-text-primary);
    font-family: var(--font-secondary);
    font-weight: 400;
    line-height: 1.7;
    overflow-x: hidden;
}

/* 2. TYPOGRAPHY & BASE STYLES */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
    margin-bottom: 0.5em;
    text-transform: uppercase;
    letter-spacing: 1px;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    color: var(--color-text-secondary);
    margin-bottom: 1em;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

a:hover {
    color: #fff;
    text-shadow: 0 0 10px var(--color-primary);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

/* 3. REUSABLE COMPONENTS */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-family: var(--font-primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--border-radius);
    border: 2px solid transparent;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 1;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-bg-dark);
    border-color: var(--color-primary);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--color-secondary), var(--color-accent));
    z-index: -1;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.btn-primary:hover {
    color: #fff;
}

.btn-primary:hover::before {
    transform: scaleX(1);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn-secondary:hover {
    background-color: var(--color-primary);
    color: var(--color-bg-dark);
    box-shadow: var(--shadow-glow);
}

.btn span {
    margin-right: 10px;
}

.btn i {
    transition: transform 0.3s ease;
}

.btn:hover i {
    transform: translateX(4px);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.8rem;
}

.btn-block {
    width: 100%;
    text-align: center;
}

.text-gradient {
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

.section-header {
    margin-bottom: 60px;
}

.section-header.text-center {
    text-align: center;
}

.section-subtitle {
    display: block;
    font-family: var(--font-primary);
    color: var(--color-primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

/* 4. LOADER / PRELOADER */
.loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-bg-dark);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader-text {
    font-family: var(--font-primary);
    font-size: 1.2rem;
    color: var(--color-primary);
    margin-bottom: 20px;
    letter-spacing: 3px;
    animation: pulse 2s infinite ease-in-out;
}

.loader-line {
    width: 200px;
    height: 3px;
    background-color: rgba(0, 242, 234, 0.2);
    position: relative;
    overflow: hidden;
}

.loader-line::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--color-primary);
    animation: loading-line 2s infinite linear;
}

body.loaded .loader-wrapper {
    opacity: 0;
    visibility: hidden;
}

/* 5. HEADER & NAVIGATION */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    background-color: transparent;
}

.header.scrolled {
    background-color: rgba(10, 5, 24, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.header-inner {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 60px;
    filter: brightness(0) invert(1);
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: scale(1.05);
}

.main-nav {
    display: none;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 35px;
}

.nav-link {
    font-family: var(--font-secondary);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--color-text-primary);
    text-transform: uppercase;
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--color-primary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

.header-actions {
    display: none;
}

/* 6. MOBILE MENU */
.mobile-menu-toggle {
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
    padding: 10px;
    display: block;
}

.hamburger-box {
    width: 30px;
    height: 24px;
    display: inline-block;
    position: relative;
}

.hamburger-inner {
    display: block;
    top: 50%;
    margin-top: -1.5px;
}

.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after {
    width: 30px;
    height: 3px;
    background-color: #fff;
    border-radius: 4px;
    position: absolute;
    transition-property: transform;
    transition-duration: 0.15s;
    transition-timing-function: ease;
}

.hamburger-inner::before,
.hamburger-inner::after {
    content: '';
    display: block;
}

.hamburger-inner::before {
    top: -10px;
}

.hamburger-inner::after {
    bottom: -10px;
}

.mobile-menu-toggle.is-active .hamburger-inner {
    transform: rotate(45deg);
    background-color: var(--color-primary);
}

.mobile-menu-toggle.is-active .hamburger-inner::before {
    top: 0;
    opacity: 0;
}

.mobile-menu-toggle.is-active .hamburger-inner::after {
    bottom: 0;
    transform: rotate(-90deg);
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--color-bg-medium);
    z-index: 999;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translateY(-100%);
    transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}

.mobile-menu.is-open {
    transform: translateY(0);
}

.mobile-nav-list {
    text-align: center;
}

.mobile-nav-list li {
    margin: 25px 0;
}

.mobile-nav-link {
    font-family: var(--font-primary);
    font-size: 2rem;
    color: #fff;
    text-transform: uppercase;
}

/* 7. HERO SECTION */
.hero-section {
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: radial-gradient(ellipse at bottom, var(--color-bg-medium) 0%, var(--color-bg-dark) 70%);
}

#particle-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.1;
    text-shadow: 0 0 20px rgba(0, 242, 234, 0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--color-text-primary);
    max-width: 700px;
    margin: 0 auto 40px;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.scroll-down-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.mouse {
    width: 25px;
    height: 45px;
    border: 2px solid var(--color-primary);
    border-radius: 20px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--color-primary);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel 2s infinite;
}

/* 8. SERVICES SECTION */
.services-section {
    background-color: var(--color-bg-dark);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--color-bg-medium);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    padding: 40px 30px;
    text-align: center;
    position: relative;
    perspective: 1000px;
    min-height: 320px;
}

.service-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    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;
}

.service-card-back {
    background-color: var(--color-bg-light);
    transform: rotateY(180deg);
    border-radius: var(--border-radius);
    padding: 20px;
}

.service-icon {
    font-size: 3rem;
    color: var(--color-primary);
    margin-bottom: 20px;
    text-shadow: var(--shadow-glow);
}

.service-card h3 {
    color: #fff;
    margin-bottom: 15px;
}

.service-card-back ul {
    text-align: left;
    margin-bottom: 20px;
    width: 100%;
}

.service-card-back li {
    margin-bottom: 8px;
    color: var(--color-text-secondary);
}

/* 9. PROCESS SECTION */
.process-section {
    background: var(--color-bg-medium);
    padding-bottom: 150px;
}

.process-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.process-timeline::after {
    content: '';
    position: absolute;
    width: 3px;
    background: linear-gradient(to bottom, var(--color-primary), var(--color-accent));
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1.5px;
    box-shadow: var(--shadow-glow);
}

.process-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
}

.process-item:nth-child(odd) {
    left: 0;
}

.process-item:nth-child(even) {
    left: 50%;
}

.process-content {
    padding: 30px;
    background: var(--color-bg-light);
    position: relative;
    border-radius: var(--border-radius);
    border: 1px solid var(--color-border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.process-item:nth-child(odd) .process-content {
    text-align: right;
}

.process-step {
    position: absolute;
    top: 20px;
    width: 60px;
    height: 60px;
    line-height: 60px;
    background: var(--color-bg-dark);
    border: 2px solid var(--color-primary);
    border-radius: 50%;
    text-align: center;
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    z-index: 2;
    transition: all 0.3s ease;
}

.process-item:hover .process-step {
    background: var(--color-primary);
    color: var(--color-bg-dark);
    transform: scale(1.1);
}

.process-item:nth-child(odd) .process-step {
    right: -30px;
}

.process-item:nth-child(even) .process-step {
    left: -30px;
}

.process-icon {
    font-size: 2rem;
    color: var(--color-secondary);
    margin-bottom: 10px;
}

/* 10. DATA CORE SECTION (3D CUBE) */
.data-core-section {
    background: var(--color-bg-dark);
}

.data-core-wrapper {
    display: flex;
    align-items: center;
    gap: 50px;
}

.data-core-content {
    flex: 1;
}

.data-core-content .section-header {
    margin-bottom: 30px;
}

.data-features {
    list-style: none;
    padding: 0;
}

.data-features li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.data-features i {
    color: var(--color-primary);
    margin-right: 15px;
    font-size: 1.2rem;
}

.data-core-visual {
    flex-basis: 40%;
    perspective: 1000px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
}

.core-cube {
    width: 200px;
    height: 200px;
    position: relative;
    transform-style: preserve-3d;
    animation: rotate-cube 20s infinite linear;
}

.face {
    position: absolute;
    width: 200px;
    height: 200px;
    border: 2px solid var(--color-primary);
    background: rgba(0, 242, 234, 0.1);
    box-shadow: inset 0 0 20px rgba(0, 242, 234, 0.3);
}

.front {
    transform: rotateY(0deg) translateZ(100px);
}

.back {
    transform: rotateY(180deg) translateZ(100px);
}

.right {
    transform: rotateY(90deg) translateZ(100px);
}

.left {
    transform: rotateY(-90deg) translateZ(100px);
}

.top {
    transform: rotateX(90deg) translateZ(100px);
}

.bottom {
    transform: rotateX(-90deg) translateZ(100px);
}

/* 11. INDUSTRIES SECTION */
.industries-section {
    background-color: var(--color-bg-medium);
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.industry-item {
    background-color: var(--color-bg-light);
    border: 1px solid var(--color-border);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.industry-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 40px rgba(157, 0, 255, 0.3);
    border-color: var(--color-accent);
}

.industry-item i {
    font-size: 3rem;
    color: var(--color-accent);
    margin-bottom: 20px;
    display: block;
}

/* 12. TESTIMONIALS SECTION */
.testimonials-section {
    background-color: var(--color-bg-dark);
}

.testimonial-slider-wrapper {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-slider {
    display: flex;
    overflow: hidden;
}

.testimonial-slide {
    min-width: 100%;
    padding: 40px;
    background: var(--color-bg-medium);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    text-align: center;
    transition: opacity 0.5s ease;
}

.testimonial-text {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--color-text-primary);
    margin-bottom: 30px;
}

.testimonial-text::before {
    content: '\f10d';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 2rem;
    color: var(--color-primary);
    display: block;
    margin-bottom: 15px;
}

.author-name {
    color: #fff;
    margin-bottom: 5px;
}

.author-title {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
}

.slider-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: 0 10px;
}

.slider-controls button {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--color-border);
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.slider-controls button:hover {
    background: var(--color-primary);
    color: var(--color-bg-dark);
}

.prev-btn {
    transform: translateX(-80px);
}

.next-btn {
    transform: translateX(80px);
}

/* 13. CTA SECTION */
.cta-section {
    background: linear-gradient(rgba(10, 5, 24, 0.8), rgba(10, 5, 24, 0.8)), url('https://i.imgur.com/8Q9Z1YF.jpg') no-repeat center center/cover;
    padding: 80px 0;
}

.cta-title {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.cta-text {
    font-size: 1.2rem;
    color: var(--color-text-primary);
    max-width: 600px;
    margin: 0 auto 30px;
}

/* 14. FOOTER */
.footer {
    background-color: var(--color-bg-medium);
    padding-top: 80px;
    border-top: 1px solid var(--color-border);
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo img {
    height: 60px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
}

.footer-col p {
    font-size: 0.9rem;
}

.footer-col h3 {
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: var(--color-primary);
}

.footer-socials {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--color-bg-light);
    color: var(--color-text-primary);
    border: 1px solid var(--color-border);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--color-primary);
    color: var(--color-bg-dark);
    transform: translateY(-3px);
}

.links-col ul li {
    margin-bottom: 12px;
}

.links-col a {
    color: var(--color-text-secondary);
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    color: var(--color-text-secondary);
}

.footer-contact i {
    color: var(--color-primary);
    margin-right: 15px;
    margin-top: 5px;
}

.footer-bottom {
    padding: 25px 0;
    border-top: 1px solid var(--color-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
}

.footer-legal-links a {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    margin-left: 20px;
}

/* 15. PAGE-SPECIFIC STYLES */
/* Page Header */
.page-header-section {
    padding: 180px 0 100px;
    text-align: center;
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-header-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at top, var(--color-bg-medium) 0%, var(--color-bg-dark) 80%);
    opacity: 0.7;
}

.page-title {
    font-size: 3.5rem;
    position: relative;
}

.page-subtitle {
    font-size: 1.2rem;
    color: var(--color-text-primary);
    max-width: 600px;
    margin: 15px auto 0;
}

/* Contact Page */
.contact-section-standalone {
    background-color: var(--color-bg-dark);
}

.contact-wrapper {
    display: flex;
    gap: 50px;
    background-color: var(--color-bg-medium);
    padding: 50px;
    border-radius: var(--border-radius);
    border: 1px solid var(--color-border);
}

.contact-info {
    flex-basis: 45%;
}

.contact-details {
    margin-top: 40px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.contact-icon {
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-right: 20px;
    width: 50px;
    height: 50px;
    background: var(--color-bg-light);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-text h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.contact-text a {
    color: var(--color-text-secondary);
}

.contact-form-wrapper {
    flex-basis: 55%;
}

.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-row .form-group {
    flex: 1;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    background-color: var(--color-bg-light);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    color: var(--color-text-primary);
    font-family: var(--font-secondary);
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: var(--shadow-glow);
}

.contact-form textarea {
    resize: vertical;
}

/* Success Popup */
.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 5, 24, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.popup.show {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    background: var(--color-bg-medium);
    padding: 40px;
    border-radius: var(--border-radius);
    text-align: center;
    position: relative;
    width: 90%;
    max-width: 500px;
    border: 1px solid var(--color-border);
    transform: scale(0.9);
    transition: transform 0.3s;
}

.popup.show .popup-content {
    transform: scale(1);
}

.popup-close-button {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.5rem;
    cursor: pointer;
}

.popup-icon {
    font-size: 4rem;
    color: var(--color-primary);
    margin-bottom: 20px;
}

/* Legal Pages */
.legal-header {
    min-height: 300px;
    padding: 160px 0 80px;
}

.legal-content {
    background-color: var(--color-bg-dark);
    padding-bottom: 80px;
}

.legal-content .container {
    max-width: 800px;
    background: var(--color-bg-medium);
    padding: 50px;
    border-radius: var(--border-radius);
    border: 1px solid var(--color-border);
}

.legal-section {
    margin-bottom: 40px;
}

.legal-section h2 {
    font-size: 1.8rem;
    color: var(--color-primary);
    margin-bottom: 15px;
}

/* 16. ANIMATIONS & KEYFRAMES */
@keyframes pulse {
    0% {
        opacity: 0.6;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.6;
    }
}

@keyframes loading-line {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

@keyframes scroll-wheel {
    0% {
        transform: translateY(0) translateX(-50%);
        opacity: 1;
    }

    100% {
        transform: translateY(15px) translateX(-50%);
        opacity: 0;
    }
}

@keyframes rotate-cube {
    from {
        transform: rotateX(0) rotateY(0);
    }

    to {
        transform: rotateX(360deg) rotateY(360deg);
    }
}

/* Scroll Animations */
[data-animation] {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

[data-animation="fade-right"] {
    transform: translateX(-50px);
}

[data-animation="fade-left"] {
    transform: translateX(50px);
}

[data-animation="zoom-in"] {
    transform: scale(0.8);
}

[data-animation].is-visible {
    opacity: 1;
    transform: translateY(0) translateX(0) scale(1);
}

/* 17. RESPONSIVE DESIGN */
@media (max-width: 1200px) {
    .prev-btn {
        transform: translateX(-50px);
    }

    .next-btn {
        transform: translateX(50px);
    }
}

@media (max-width: 992px) {

    .main-nav,
    .header-actions {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .hero-title {
        font-size: 3rem;
    }

    .process-timeline::after {
        left: 30px;
    }

    .process-item {
        width: 100%;
        padding-left: 80px;
        padding-right: 20px;
    }

    .process-item:nth-child(even) {
        left: 0;
    }

    .process-item:nth-child(odd) .process-content {
        text-align: left;
    }

    .process-step {
        left: 0 !important;
    }

    .data-core-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .data-core-content {
        order: 2;
    }

    .data-core-visual {
        order: 1;
    }

    .contact-wrapper {
        flex-direction: column;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-legal-links a {
        margin: 0 10px;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.8rem;
    }

    h2 {
        font-size: 2rem;
    }

    section {
        padding: 80px 0;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .slider-controls {
        display: none;
    }

    .contact-wrapper {
        padding: 30px;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .legal-content .container {
        padding: 30px;
    }
}

@media (min-width: 992px) {

    .main-nav,
    .header-actions {
        display: block;
    }

    .mobile-menu-toggle {
        display: none;
    }
}