/*
================================================
HOLOASTRAL LAB THEME - styles.css
================================================
TABLE OF CONTENTS
------------------------------------------------
1.  :root & CSS Variables
2.  Global Styles & Resets
3.  Typography
4.  Utility Classes
5.  Header & Navigation
6.  Mobile Navigation
7.  Footer
8.  Page-Specific & Component Styles
    8.1. Hero Section
    8.2. Trusted By Section
    8.3. Services Section (3D Flip Cards)
    8.4. Process Section (Timeline)
    8.5. Interactive Report Section
    8.6. Testimonials Section
    8.7. CTA Section
    8.8. Legal & Contact Pages
9.  Animations & Keyframes
10. Cursor & Particles.js Background
11. Responsive Design (Media Queries)
------------------------------------------------
*/

/* 1. :root & CSS Variables */
:root {
    --color-bg-dark: #010413;
    --color-bg-medium: #0a0e27;
    --color-bg-light: #161b40;
    --color-primary: #00f2ea;
    --color-secondary: #c039ff;
    --color-accent: #f7b733;
    --color-text-light: #e0e6f2;
    --color-text-medium: #a0a8b9;
    --color-text-dark: #707890;
    --color-border: rgba(0, 242, 234, 0.2);
    --font-primary: 'Exo 2', sans-serif;
    --font-secondary: 'Roboto Mono', monospace;
    --header-height: 80px;
    --shadow-glow-primary: 0 0 15px rgba(0, 242, 234, 0.4), 0 0 30px rgba(0, 242, 234, 0.2);
    --shadow-glow-secondary: 0 0 15px rgba(192, 57, 255, 0.4);
    --border-radius: 8px;
    --transition-fast: 0.3s ease;
    --transition-medium: 0.5s ease;
}

/* 2. Global Styles & Resets */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--color-bg-dark);
    color: var(--color-text-light);
    font-family: var(--font-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: var(--color-primary);
    transition: var(--transition-fast);
}

a:hover {
    color: white;
    text-shadow: 0 0 8px var(--color-primary);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 3. Typography */
h1,
h2,
h3,
h4 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

h1 {
    font-size: 3.5rem;
    font-weight: 800;
}

h2 {
    font-size: 2.8rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: var(--color-text-medium);
}

.section-header {
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    font-family: var(--font-secondary);
    color: var(--color-primary);
    margin-bottom: 10px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.section-title {
    margin-bottom: 15px;
}

.section-subtitle {
    max-width: 700px;
    margin: 0 auto;
    color: var(--color-text-medium);
    font-size: 1.1rem;
}

/* 4. Utility Classes */
.text-center {
    text-align: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: var(--border-radius);
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: var(--transition-fast);
}

.btn span {
    position: relative;
    z-index: 2;
}

.btn i {
    position: relative;
    z-index: 2;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-bg-dark);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background-color: white;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
    z-index: 1;
}

.btn-primary:hover::before {
    width: 250%;
    height: 250%;
}

.btn-primary:hover {
    box-shadow: var(--shadow-glow-primary);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-text-light);
    border: 2px solid var(--color-border);
}

.btn-secondary:hover {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-bg-dark);
    box-shadow: var(--shadow-glow-primary);
}

.btn-lg {
    padding: 18px 36px;
    font-size: 1.1rem;
}

/* 5. Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(1, 4, 19, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--color-border);
    transition: all var(--transition-medium);
}

.header.scrolled {
    background-color: rgba(1, 4, 19, 0.95);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.header .container {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 60px;
    width: auto;
    filter: invert(1);
}

.nav-list {
    display: flex;
    gap: 40px;
}

.nav-link {
    color: var(--color-text-light);
    font-weight: 500;
    position: relative;
    padding: 10px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-secondary), var(--color-primary));
    transition: width var(--transition-fast);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: white;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 22px;
    position: relative;
    z-index: 1002;
}

.mobile-toggle .bar {
    display: block;
    width: 100%;
    height: 3px;
    background-color: white;
    border-radius: 3px;
    transition: all 0.35s;
    position: absolute;
}

.bar-top {
    top: 0;
}

.bar-middle {
    top: 50%;
    transform: translateY(-50%);
}

.bar-bottom {
    bottom: 0;
}

.mobile-nav.open .bar-top {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.mobile-nav.open .bar-middle {
    opacity: 0;
}

.mobile-nav.open .bar-bottom {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
}

/* 6. Mobile Navigation */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: rgba(1, 4, 19, 0.98);
    backdrop-filter: blur(15px);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: right 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}

.mobile-nav.open {
    right: 0;
}

.mobile-nav nav ul {
    text-align: center;
}

.mobile-nav nav li {
    margin: 20px 0;
}

.mobile-nav nav a {
    font-size: 2rem;
    font-weight: 700;
    color: white;
}

/* 7. Footer */
.footer {
    background-color: var(--color-bg-medium);
    padding-top: 80px;
    border-top: 2px solid var(--color-primary);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to bottom, rgba(0, 242, 234, 0.1), transparent);
    pointer-events: none;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-logo {
    height: 60px;
    width: auto;
    filter: invert(1);
    margin-bottom: 20px;
}

.footer-about-text {
    color: var(--color-text-medium);
    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(--color-border);
    border-radius: 50%;
    color: var(--color-text-medium);
}

.social-link:hover {
    background-color: var(--color-primary);
    color: var(--color-bg-dark);
    border-color: var(--color-primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow-primary);
}

.footer-col-title {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: white;
    position: relative;
}

.footer-col-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 40px;
    height: 2px;
    background: var(--color-primary);
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul a {
    color: var(--color-text-medium);
}

.footer-links ul a:hover {
    color: var(--color-primary);
    padding-left: 5px;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
    color: var(--color-text-medium);
}

.contact-info i {
    color: var(--color-primary);
    margin-top: 5px;
}

.contact-info a {
    color: var(--color-text-medium);
}

.contact-info a:hover {
    color: var(--color-primary);
}

.footer-bottom {
    text-align: center;
    padding: 30px 0;
    margin-top: 60px;
    border-top: 1px solid var(--color-border);
    color: var(--color-text-dark);
}

/* 8. Page-Specific & Component Styles */

/* 8.1. Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--header-height);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 50px;
}

.hero-title {
    background: linear-gradient(90deg, var(--color-primary), #fff, var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
    animation: text-glow 5s ease-in-out infinite alternate;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--color-text-light);
    margin-bottom: 40px;
}

.hero-cta {
    display: flex;
    gap: 20px;
}

.hero-visual {
    perspective: 1000px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.data-sphere {
    width: 350px;
    height: 350px;
    position: relative;
    transform-style: preserve-3d;
    animation: rotate-sphere 30s linear infinite;
}

.sphere-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 2px solid var(--color-border);
    border-radius: 50%;
    animation: rotate-ring 10s linear infinite;
}

.sphere-ring:nth-child(1) {
    transform: rotateY(75deg);
    animation-duration: 12s;
    animation-direction: reverse;
}

.sphere-ring:nth-child(2) {
    transform: rotateX(75deg);
    animation-duration: 15s;
}

.sphere-ring:nth-child(3) {
    transform: rotateY(15deg) rotateX(15deg);
    animation-duration: 9s;
    animation-direction: reverse;
}

.sphere-core {
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(0, 242, 234, 0.3) 0%, transparent 70%);
    position: absolute;
    top: 20%;
    left: 20%;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 5rem;
    color: var(--color-primary);
    box-shadow: inset 0 0 50px rgba(0, 242, 234, 0.5), var(--shadow-glow-primary);
    animation: pulse-core 4s ease-in-out infinite alternate;
}

/* 8.2. Trusted By Section */
.trusted-by {
    padding: 40px 0;
    background-color: var(--color-bg-medium);
}

.trusted-by p {
    text-align: center;
    font-family: var(--font-secondary);
    color: var(--color-text-dark);
    margin-bottom: 30px;
}

.logos-slider {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.logos-slider::before,
.logos-slider::after {
    content: '';
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
}

.logos-slider::before {
    left: 0;
    background: linear-gradient(to right, var(--color-bg-medium), transparent);
}

.logos-slider::after {
    right: 0;
    background: linear-gradient(to left, var(--color-bg-medium), transparent);
}

.logos-track {
    display: flex;
    width: calc(200px * 14);
    /* icon-width * number-of-icons */
    animation: scroll-logos 40s linear infinite;
}

.logos-track i {
    font-size: 2.5rem;
    color: var(--color-text-dark);
    margin: 0 75px;
    transition: var(--transition-fast);
}

.logos-track i:hover {
    color: var(--color-primary);
}

/* 8.3. Services Section (3D Flip Cards) */
.services-section {
    background-color: var(--color-bg-medium);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: transparent;
    height: 350px;
    perspective: 1500px;
}

.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;
    border-radius: var(--border-radius);
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    border: 1px solid var(--color-border);
    background: linear-gradient(145deg, var(--color-bg-light), var(--color-bg-medium));
}

.service-card-front {
    z-index: 2;
}

.service-card-back {
    transform: rotateY(180deg);
    background: linear-gradient(-145deg, var(--color-bg-light), var(--color-bg-dark));
}

.service-card h3 {
    margin-bottom: 15px;
    color: white;
}

.service-card p {
    color: var(--color-text-medium);
}

.service-icon {
    font-size: 3rem;
    color: var(--color-primary);
    margin-bottom: 20px;
    text-shadow: var(--shadow-glow-primary);
    transition: var(--transition-medium);
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.card-link {
    margin-top: auto;
    font-weight: 600;
}

.card-link i {
    transition: transform 0.3s;
    margin-left: 5px;
}

.card-link:hover i {
    transform: translateX(5px);
}

/* 8.4. Process Section (Timeline) */
.process-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--color-border);
    transform: translateX(-50%);
}

.process-step {
    position: relative;
    padding: 30px 40px;
    width: 50%;
    margin-bottom: 30px;
}

.process-step:nth-child(odd) {
    left: 0;
    text-align: right;
}

.process-step:nth-child(even) {
    left: 50%;
}

.process-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: var(--color-bg-light);
    border: 3px solid var(--color-primary);
    box-shadow: var(--shadow-glow-primary);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    color: var(--color-primary);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    transition: var(--transition-medium);
}

.process-step:hover .process-icon {
    transform: translateY(-50%) scale(1.1) rotate(10deg);
    box-shadow: 0 0 30px var(--color-primary);
}

.process-step:nth-child(odd) .process-icon {
    right: -40px;
}

.process-step:nth-child(even) .process-icon {
    left: -40px;
}

.step-number {
    font-family: var(--font-secondary);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 10px;
    display: block;
}

.process-content h3 {
    margin-bottom: 10px;
}

/* 8.5. Interactive Report Section */
.interactive-report-section {
    background-color: var(--color-bg-medium);
}

.report-preview {
    max-width: 900px;
    margin: 40px auto 0;
    perspective: 2000px;
}

.mockup-screen {
    background-color: #0c102c;
    border-radius: var(--border-radius);
    border: 1px solid var(--color-border);
    padding: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    transform: rotateX(10deg) rotateY(-5deg);
    transition: var(--transition-medium);
}

.report-preview:hover .mockup-screen {
    transform: rotateX(0) rotateY(0) scale(1.02);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.4);
}

.mockup-header {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.mockup-header span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--color-text-dark);
}

.mockup-header span:nth-child(1) {
    background-color: #ff5f56;
}

.mockup-header span:nth-child(2) {
    background-color: #ffbd2e;
}

.mockup-header span:nth-child(3) {
    background-color: #27c93f;
}

.mockup-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: auto auto;
    gap: 15px;
    height: 300px;
}

.chart-1 {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
    background-color: var(--color-bg-light);
    border-radius: 5px;
    animation: chart-load 2s ease-in-out infinite alternate;
}

.chart-2 {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
    background-color: var(--color-bg-light);
    border-radius: 5px;
    animation: chart-load 2s ease-in-out infinite alternate-reverse;
}

.chart-3 {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
    background-color: var(--color-bg-light);
    border-radius: 5px;
    animation: chart-load 2s ease-in-out infinite;
}

.kpi-set {
    grid-column: 1 / 3;
    display: flex;
    justify-content: space-around;
    padding: 15px;
    background-color: var(--color-bg-light);
    border-radius: 5px;
}

.kpi-set>div {
    text-align: center;
}

.kpi-set span {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-primary);
    display: block;
}

.kpi-set p {
    font-family: var(--font-secondary);
    font-size: 0.8rem;
    color: var(--color-text-dark);
    margin: 0;
    text-transform: uppercase;
}


/* 8.6. Testimonials Section */
.testimonial-slider-wrapper {
    max-width: 1100px;
    margin: 0 auto;
}

.testimonial-slider {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background-color: var(--color-bg-light);
    padding: 40px;
    border-radius: var(--border-radius);
    border: 1px solid var(--color-border);
    position: relative;
    transition: var(--transition-medium);
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-color: var(--color-primary);
}

.testimonial-quote-icon {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 2.5rem;
    color: var(--color-secondary);
    opacity: 0.1;
}

.testimonial-text {
    font-style: italic;
    color: var(--color-text-light);
    margin-bottom: 30px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid var(--color-border);
}

.author-name {
    color: white;
    font-size: 1.1rem;
    margin: 0;
}

.author-title {
    color: var(--color-primary);
    font-family: var(--font-secondary);
}

/* 8.7. CTA Section */
.cta-section {
    background: linear-gradient(45deg, var(--color-secondary), var(--color-primary));
}

.cta-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 60px;
    background-color: rgba(10, 14, 39, 0.5);
    border-radius: var(--border-radius);
    backdrop-filter: blur(5px);
}

.cta-text p {
    color: var(--color-text-light);
    max-width: 600px;
}

.cta-content .section-title {
    font-size: 2.2rem;
    color: white;
}

.cta-action .btn-primary {
    background-color: white;
    color: var(--color-bg-dark);
}

.cta-action .btn-primary:hover::before {
    background-color: var(--color-bg-dark);
}

.cta-action .btn-primary:hover {
    color: white;
}

/* 8.8. Legal & Contact Pages */
.subpage main {
    padding-top: var(--header-height);
}

.page-header {
    padding: 60px 0;
    background-color: var(--color-bg-medium);
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.breadcrumbs a,
.breadcrumbs span {
    color: var(--color-text-medium);
}

.breadcrumbs i {
    font-size: 0.8rem;
    margin: 0 10px;
}

.page-content {
    padding: 80px 0;
}

.legal-content .content-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: var(--color-bg-medium);
    padding: 40px;
    border-radius: var(--border-radius);
    border: 1px solid var(--color-border);
}

.legal-content h2 {
    font-size: 1.8rem;
    color: var(--color-primary);
    margin: 30px 0 15px;
}

.legal-content p,
.legal-content li {
    color: var(--color-text-medium);
}

.legal-content ul {
    list-style: disc;
    padding-left: 20px;
}

.contact-page-section .contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    background-color: var(--color-bg-medium);
    padding: 50px;
    border-radius: var(--border-radius);
    border: 1px solid var(--color-border);
}

.contact-info-block h3 {
    margin-bottom: 15px;
    color: var(--color-primary);
}

.contact-methods {
    margin-top: 30px;
}

.contact-methods li {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 25px;
}

.contact-methods i {
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-top: 5px;
}

.contact-methods h4 {
    color: white;
    margin-bottom: 5px;
}

.contact-methods span,
.contact-methods a {
    color: var(--color-text-medium);
}

.contact-form .form-row {
    display: flex;
    gap: 20px;
}

.contact-form .form-group {
    width: 100%;
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--color-text-light);
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 12px;
    background-color: var(--color-bg-light);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    color: white;
    font-family: var(--font-primary);
    transition: var(--transition-fast);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 10px rgba(0, 242, 234, 0.3);
}

.contact-form .full-width {
    width: 100%;
    margin-top: 10px;
}

/* 9. Animations & Keyframes */
.animate-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-in.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes text-glow {
    from {
        text-shadow: 0 0 5px #fff, 0 0 10px var(--color-primary), 0 0 15px var(--color-primary);
    }

    to {
        text-shadow: 0 0 10px #fff, 0 0 15px var(--color-secondary), 0 0 20px var(--color-secondary);
    }
}

@keyframes rotate-sphere {
    from {
        transform: rotateY(0) rotateX(0);
    }

    to {
        transform: rotateY(360deg) rotateX(360deg);
    }
}

@keyframes rotate-ring {
    from {
        transform: rotateY(0) rotateZ(0);
    }

    to {
        transform: rotateY(360deg) rotateZ(360deg);
    }
}

@keyframes pulse-core {
    from {
        transform: scale(1);
        box-shadow: inset 0 0 50px rgba(0, 242, 234, 0.5), 0 0 15px rgba(0, 242, 234, 0.4);
    }

    to {
        transform: scale(1.05);
        box-shadow: inset 0 0 60px rgba(0, 242, 234, 0.7), 0 0 30px rgba(0, 242, 234, 0.6);
    }
}

@keyframes scroll-logos {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@keyframes chart-load {
    0% {
        background-image: linear-gradient(45deg, var(--color-bg-light) 0%, var(--color-bg-light) 100%);
    }

    50% {
        background-image: linear-gradient(45deg, var(--color-bg-light) 0%, var(--color-primary) 50%, var(--color-bg-light) 100%);
    }

    100% {
        background-image: linear-gradient(45deg, var(--color-bg-light) 0%, var(--color-bg-light) 100%);
    }
}


/* 10. Cursor & Particles.js Background */
.glow-cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    background-color: var(--color-primary);
    border-radius: 50%;
    pointer-events: none;
    mix-blend-mode: screen;
    z-index: 9999;
    transition: transform 0.1s ease-out, width 0.3s ease, height 0.3s ease, opacity 0.3s ease;
    transform: translate(-50%, -50%);
    opacity: 0.5;
}

body:hover .glow-cursor {
    opacity: 1;
}

.glow-cursor.hovered {
    width: 40px;
    height: 40px;
    opacity: 0.2;
}

#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
}

/* 11. Responsive Design (Media Queries) */
@media (max-width: 1024px) {
    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2.5rem;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonial-slider {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .hero {
        text-align: center;
    }

    .hero-content {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        grid-row: 1;
        margin-bottom: 40px;
    }

    .hero-cta {
        justify-content: center;
    }

    .services-grid,
    .testimonial-slider {
        grid-template-columns: 1fr;
    }

    .service-card {
        height: auto;
        min-height: 350px;
    }

    .process-timeline::before {
        left: 40px;
    }

    .process-step,
    .process-step:nth-child(even) {
        width: 100%;
        left: 0;
        padding-left: 100px;
        text-align: left;
    }

    .process-step:nth-child(odd) .process-icon,
    .process-step:nth-child(even) .process-icon {
        left: 0;
    }

    .contact-page-section .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .contact-form .form-row {
        flex-direction: column;
        gap: 0;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    section {
        padding: 60px 0;
    }

    .hero {
        min-height: auto;
        padding-bottom: 60px;
    }

    .data-sphere {
        width: 280px;
        height: 280px;
    }

    .sphere-core {
        font-size: 4rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}