/*
================================================
TABLE OF CONTENTS
------------------------------------------------
1.  :ROOT & FONT IMPORTS
2.  GENERAL STYLING & RESETS
3.  UTILITY & HELPER CLASSES
4.  BACKGROUND & OVERLAYS
5.  HEADER & NAVIGATION
6.  MOBILE NAVIGATION
7.  BUTTONS & FORMS
8.  HERO SECTION
9.  SERVICES SECTION
10. ABOUT / PROCESS SECTION
11. INTERACTIVE ANALYTICS SECTION
12. TESTIMONIALS SECTION
13. FOOTER
14. LEGAL & CONTACT PAGE STYLES
15. KEYFRAME ANIMATIONS
16. RESPONSIVENESS (MEDIA QUERIES)
================================================
*/

/* 1. :ROOT & FONT IMPORTS */
:root {
    --primary-color: #00f6ff;
    --secondary-color: #ff00c1;
    --accent-color: #a200ff;
    --bg-color: #02001a;
    --surface-color: #0a052e;
    --surface-transparent: rgba(10, 5, 46, 0.8);
    --text-color: #d0d0ff;
    --heading-color: #ffffff;
    --border-color: rgba(0, 246, 255, 0.2);
    --glow-color: rgba(0, 246, 255, 0.5);

    --font-primary: 'Orbitron', sans-serif;
    --font-secondary: 'Share Tech Mono', monospace;
    --header-height: 80px;

    --container-width: 1200px;
    --transition-speed: 0.3s;
}

/* 2. GENERAL STYLING & RESETS */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-secondary);
    line-height: 1.7;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-primary);
    color: var(--heading-color);
    text-transform: uppercase;
    line-height: 1.2;
    text-shadow: 0 0 5px var(--glow-color);
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    max-width: 65ch;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-speed) ease, text-shadow var(--transition-speed) ease;
}

a:hover {
    color: var(--heading-color);
    text-shadow: 0 0 8px var(--primary-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

section {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

/* 3. UTILITY & HELPER CLASSES */
.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header p {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-color);
    opacity: 0.9;
}

.active {
    color: var(--heading-color) !important;
    text-shadow: 0 0 10px var(--primary-color) !important;
}

/* Scroll Animation Logic */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* 4. BACKGROUND & OVERLAYS */
.stars-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-image:
        radial-gradient(1px 1px at 20px 30px, #eee, rgba(0, 0, 0, 0)),
        radial-gradient(1px 1px at 40px 70px, #fff, rgba(0, 0, 0, 0)),
        radial-gradient(1px 1px at 50px 160px, #ddd, rgba(0, 0, 0, 0)),
        radial-gradient(2px 2px at 90px 40px, #fff, rgba(0, 0, 0, 0)),
        radial-gradient(2px 2px at 130px 80px, #fff, rgba(0, 0, 0, 0)),
        radial-gradient(2px 2px at 160px 120px, #ddd, rgba(0, 0, 0, 0));
    background-size: 200px 200px;
    animation: zoom-stars 15s linear infinite;
    z-index: -2;
}

.grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(var(--border-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--border-color) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.2;
    z-index: -1;
}

/* 5. HEADER & NAVIGATION */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 0;
    background: transparent;
    z-index: 1000;
    transition: background-color var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
    border-bottom: 1px solid transparent;
}

.header.scrolled {
    background-color: var(--surface-transparent);
    backdrop-filter: blur(10px);
    border-bottom-color: var(--border-color);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo-link {
    display: inline-block;
}

.logo {
    height: 80px;
    filter: brightness(0) invert(1);
}

.nav-list {
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    font-family: var(--font-primary);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--transition-speed) ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.mobile-toggle {
    display: none;
}

/* 6. MOBILE NAVIGATION */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    width: 30px;
    height: 22px;
    position: relative;
    cursor: pointer;
    z-index: 1001;
}

.bar {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--heading-color);
    transition: transform 0.3s ease, top 0.3s ease, opacity 0.3s ease;
}

.bar-top {
    top: 0;
}

.bar-middle {
    top: 10px;
}

.bar-bottom {
    top: 20px;
}

.mobile-nav-open .bar-top {
    transform: rotate(45deg);
    top: 10px;
}

.mobile-nav-open .bar-middle {
    opacity: 0;
}

.mobile-nav-open .bar-bottom {
    transform: rotate(-45deg);
    top: 10px;
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: var(--surface-color);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 999;
    transition: right 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}

.mobile-nav-open .mobile-nav {
    right: 0;
}

.mobile-nav ul li {
    margin-bottom: 2rem;
}

.mobile-nav ul a {
    font-size: 2rem;
    font-family: var(--font-primary);
}


/* 7. BUTTONS & FORMS */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.8rem 1.8rem;
    font-family: var(--font-primary);
    text-transform: uppercase;
    border: 2px solid;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: color var(--transition-speed) ease, background-color var(--transition-speed) ease;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary-color);
    transform: translateX(-101%);
    transition: transform var(--transition-speed) cubic-bezier(0.77, 0, 0.175, 1);
    z-index: -1;
}

.btn:hover::before {
    transform: translateX(0);
}

.btn-primary {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-primary:hover {
    color: var(--bg-color);
}

.btn-secondary {
    border-color: var(--text-color);
    color: var(--text-color);
}

.btn-secondary::before {
    background-color: var(--text-color);
}

.btn-secondary:hover {
    color: var(--bg-color);
}

/* Form Styling */
.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-family: var(--font-primary);
    text-transform: uppercase;
    font-size: 0.9rem;
    color: var(--primary-color);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.8rem;
    background-color: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-color);
    font-family: var(--font-secondary);
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 10px var(--glow-color);
}

/* 8. HERO SECTION */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--header-height);
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 2rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin: 1.5rem 0 2.5rem;
}

.hero-cta-group {
    display: flex;
    gap: 1rem;
}

/* 3D Globe */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
}

.globe-container {
    width: 400px;
    height: 400px;
    position: relative;
}

.globe {
    width: 100%;
    height: 100%;
    position: absolute;
    transform-style: preserve-3d;
    animation: rotate-globe 30s linear infinite;
}

.globe-sphere,
.globe-outer-sphere {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
}

.globe-sphere {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="10" height="10"><rect width="10" height="10" fill="none"/><path d="M0 5 C4 2 6 8 10 5" stroke="%2300f6ff" stroke-width="0.3" fill="none"/></svg>');
    background-size: 20px 20px;
    opacity: 0.3;
}

.globe-outer-sphere {
    border: 1px solid var(--primary-color);
    box-shadow: inset 0 0 20px var(--glow-color);
    animation: pulse-globe 4s ease-in-out infinite;
}

.globe-lines {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 1px solid transparent;
    border-top-color: var(--primary-color);
    border-right-color: var(--primary-color);
    transform: rotate(45deg);
    animation: rotate-lines 5s linear infinite reverse;
}

/* 9. SERVICES SECTION */
.services-section {
    background-color: rgba(0, 0, 0, 0.2);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--surface-transparent);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(5px);
    padding: 2rem;
    position: relative;
    overflow: hidden;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%);
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 25px var(--glow-color);
}

.service-card-inner {
    text-align: center;
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-shadow: 0 0 15px var(--glow-color);
}

.service-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.service-link {
    display: inline-block;
    margin-top: 1.5rem;
    font-family: var(--font-primary);
    text-transform: uppercase;
}

/* 10. ABOUT / PROCESS SECTION */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: center;
}

.about-visual {
    position: relative;
    width: 100%;
    padding-top: 100%;
    /* 1:1 Aspect Ratio */
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-logo-visual {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50%;
    opacity: 0.8;
}

.radar-sweep {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    background: conic-gradient(from 0deg, transparent 0%, var(--primary-color) 25%, transparent 25%);
    opacity: 0.2;
    animation: spin 4s linear infinite;
}

.radar-sweep::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 50%;
    height: 1px;
    background: var(--primary-color);
    transform-origin: left;
}

.about-content .section-header {
    text-align: left;
    margin-bottom: 2rem;
}

.about-content .section-header p {
    margin-left: 0;
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.step-number {
    font-family: var(--font-primary);
    font-size: 2rem;
    color: var(--primary-color);
    line-height: 1;
    min-width: 50px;
}

.step-details h3 {
    margin-bottom: 0.5rem;
}

/* 11. INTERACTIVE ANALYTICS SECTION */
.analytics-section {
    background-color: rgba(0, 0, 0, 0.2);
}

.dashboard-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 2rem;
    background: var(--surface-transparent);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(5px);
}

.dashboard-panel {
    padding: 1.5rem;
}

.dashboard-panel h4 {
    margin-bottom: 2rem;
    color: var(--primary-color);
    text-align: center;
}

/* Left Panel: Progress Bars */
.metric-item {
    margin-bottom: 1.5rem;
}

.metric-item label {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.progress-bar-container {
    width: 100%;
    height: 10px;
    background-color: rgba(0, 246, 255, 0.1);
    border: 1px solid var(--border-color);
    margin-bottom: 0.5rem;
}

.progress-bar {
    width: 0;
    height: 100%;
    background-color: var(--primary-color);
    box-shadow: 0 0 10px var(--glow-color);
    transition: width 1.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.metric-value {
    font-family: var(--font-primary);
    color: var(--heading-color);
}

/* Center Panel: Dial */
.status-dial {
    position: relative;
    width: 180px;
    height: 180px;
    margin: 0 auto;
}

.dial-svg {
    transform: rotate(-90deg);
    width: 100%;
    height: 100%;
}

.dial-bg,
.dial-progress {
    fill: none;
    stroke-width: 8;
}

.dial-bg {
    stroke: rgba(0, 246, 255, 0.1);
}

.dial-progress {
    stroke: var(--primary-color);
    stroke-linecap: round;
    stroke-dasharray: 283;
    stroke-dashoffset: 283;
    transition: stroke-dashoffset 2s ease-out;
}

.dial-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.dial-percentage {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    display: block;
    color: var(--heading-color);
}

.dial-label {
    font-size: 0.7rem;
    letter-spacing: 1px;
}

/* Right Panel: Funnel */
.funnel-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.funnel-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    width: 30px;
    text-align: center;
}

.funnel-label {
    flex-grow: 1;
}

.funnel-value {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    color: var(--heading-color);
}


/* 12. TESTIMONIALS SECTION */
.testimonial-slider-wrapper {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 50px;
}

.testimonial-slider {
    position: relative;
    overflow: hidden;
    height: 250px;
    /* Adjust based on content */
}

.testimonial-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: var(--surface-transparent);
    border: 1px solid var(--border-color);
    padding: 2rem;
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    clip-path: polygon(0 20px, 20px 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%);
}

.testimonial-card.active {
    opacity: 1;
    transform: translateX(0);
    z-index: 10;
}

.testimonial-quote-icon {
    font-size: 2rem;
    color: var(--primary-color);
    opacity: 0.5;
}

.testimonial-text {
    font-style: italic;
    font-size: 1.1rem;
    margin: 1rem 0;
}

.testimonial-author {
    margin-top: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-info h4 {
    font-size: 1.1rem;
    margin: 0;
}

.author-info span {
    font-size: 0.9rem;
    opacity: 0.8;
}

.slider-controls {
    display: flex;
    justify-content: space-between;
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
}

.slider-btn {
    background: none;
    border: 1px solid var(--border-color);
    color: var(--primary-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
}

.slider-btn:hover {
    background: var(--primary-color);
    color: var(--bg-color);
    box-shadow: 0 0 15px var(--glow-color);
}

/* 13. FOOTER */
.footer {
    background-color: var(--surface-color);
    padding-top: 4rem;
    border-top: 2px solid var(--primary-color);
    clip-path: polygon(0 20px, 100% 0, 100% 100%, 0 100%);
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-logo {
    height: 80px;
    margin-bottom: 1rem;
    filter: brightness(0) invert(1);
}

.footer-about-text {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border: 1px solid var(--border-color);
    color: var(--text-color);
    transition: all var(--transition-speed) ease;
}

.social-link:hover {
    background-color: var(--primary-color);
    color: var(--bg-color);
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-col-title {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.footer-links ul li {
    margin-bottom: 0.75rem;
}

.footer-links ul a {
    color: var(--text-color);
    opacity: 0.8;
}

.footer-links ul a:hover {
    opacity: 1;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.contact-info i {
    color: var(--primary-color);
    margin-top: 5px;
}

.footer-bottom {
    text-align: center;
    padding: 1.5rem 0;
    border-top: 1px solid var(--border-color);
}

.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* 14. LEGAL & CONTACT PAGE STYLES */
.subpage main {
    padding-top: var(--header-height);
}

.page-header {
    padding: 4rem 0;
    text-align: center;
    background: linear-gradient(rgba(2, 0, 26, 0.8), rgba(2, 0, 26, 0.8)), url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><path fill="%230a052e" d="M0 0h100v100H0z"/><path fill="none" stroke="%2300f6ff" stroke-width="0.5" d="M25 0v100M50 0v100M75 0v100M0 25h100M0 50h100M0 75h100"/></svg>');
}

.breadcrumbs {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-secondary);
}

.breadcrumbs a {
    color: var(--primary-color);
}

.breadcrumbs span {
    color: var(--text-color);
}

.breadcrumbs i {
    font-size: 0.8rem;
}

.page-content {
    padding: 4rem 0;
}

.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: var(--surface-transparent);
    border: 1px solid var(--border-color);
    padding: 2rem 3rem;
}

.content-wrapper h2 {
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

/* Contact Page Specifics */
.contact-section {
    padding: 5rem 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    background: var(--surface-transparent);
    border: 1px solid var(--border-color);
}

.contact-info-panel {
    padding: 2rem;
    border-right: 1px solid var(--border-color);
}

.contact-info-panel h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-methods {
    margin-top: 2rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.method-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.method-details h3 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.method-details p {
    margin: 0;
}

.contact-form-wrapper {
    padding: 2rem;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 1.5rem;
}

.contact-form button {
    margin-top: 1rem;
}

/* Contact Popup */
.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(2, 0, 26, 0.8);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 2000;
}

.popup:target {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    background: var(--surface-color);
    padding: 3rem;
    text-align: center;
    border: 1px solid var(--primary-color);
    box-shadow: 0 0 30px var(--glow-color);
}

.popup-content i {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.popup-content h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.popup-content a.btn {
    margin-top: 2rem;
}

/* 15. KEYFRAME ANIMATIONS */
@keyframes zoom-stars {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.2);
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Glitch Effect */
.glitch {
    position: relative;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-color);
    overflow: hidden;
}

.glitch::before {
    left: 2px;
    text-shadow: -2px 0 var(--secondary-color);
    animation: glitch-anim-1 2s infinite linear alternate-reverse;
}

.glitch::after {
    left: -2px;
    text-shadow: -2px 0 var(--primary-color);
    animation: glitch-anim-2 2s infinite linear alternate-reverse;
}

@keyframes glitch-anim-1 {
    0% {
        clip: rect(42px, 9999px, 44px, 0);
    }

    5% {
        clip: rect(12px, 9999px, 60px, 0);
    }

    10% {
        clip: rect(40px, 9999px, 42px, 0);
    }

    /* ... add more steps for complexity */
    100% {
        clip: rect(90px, 9999px, 92px, 0);
    }
}

@keyframes glitch-anim-2 {
    0% {
        clip: rect(44px, 9999px, 46px, 0);
    }

    5% {
        clip: rect(50px, 9999px, 52px, 0);
    }

    /* ... add more steps */
    100% {
        clip: rect(20px, 9999px, 22px, 0);
    }
}

/* Globe Animation */
@keyframes rotate-globe {
    from {
        transform: rotateY(0deg) rotateX(10deg);
    }

    to {
        transform: rotateY(360deg) rotateX(10deg);
    }
}

@keyframes rotate-lines {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes pulse-globe {

    0%,
    100% {
        transform: scale(1);
        box-shadow: inset 0 0 20px var(--glow-color);
    }

    50% {
        transform: scale(1.02);
        box-shadow: inset 0 0 30px var(--primary-color);
    }
}

/* 16. RESPONSIVENESS (MEDIA QUERIES) */
@media (max-width: 992px) {
    h1 {
        font-size: 2.8rem;
    }

    h2 {
        font-size: 2rem;
    }

    .nav {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        order: 2;
    }

    .hero-visual {
        order: 1;
        margin-bottom: 3rem;
    }

    .hero-cta-group {
        justify-content: center;
    }

    .about-container {
        grid-template-columns: 1fr;
    }

    .about-visual {
        margin: 0 auto 3rem;
        max-width: 300px;
    }

    .about-content .section-header {
        text-align: center;
    }

    .about-content .section-header p {
        margin: 0 auto;
    }

    .dashboard-wrapper {
        grid-template-columns: 1fr;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }

    .footer-about {
        grid-column: 1 / -1;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .contact-info-panel {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }

    h1 {
        font-size: 2.2rem;
    }

    section {
        padding: 4rem 0;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-slider-wrapper {
        padding: 0;
    }

    .slider-controls {
        display: none;
        /* Mobile can swipe, simplified view */
    }

    .footer-top {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-links ul {
        padding-left: 0;
    }

    .contact-info li {
        justify-content: center;
    }

    .contact-form {
        grid-template-columns: 1fr;
    }

    .content-wrapper {
        padding: 1.5rem;
    }
}