/*
================================================
  Tech Noir Console Theme
  Author: [Your Name]
  Version: 1.0
================================================

TABLE OF CONTENTS
------------------
1.  Global Styles & Variables
2.  Utility & Helper Classes
3.  Typography
4.  Buttons & Forms
5.  Cursor Styles
6.  Scanlines & Glitch Effect
7.  Header & Navigation
8.  Footer
9.  Hero Section
10. Page Header (for subpages)
11. Section Base Styles
12. Services Section
13. Process Section
14. Industries Section
15. Interactive Report Section
16. Testimonials Section
17. CTA Section
18. Contact Page
19. Legal Pages
20. Animations & Keyframes
21. Responsiveness (Media Queries)

================================================
*/

/* 1. GLOBAL STYLES & VARIABLES */
/* ============================================= */
:root {
    --dark-plum: #10061e;
    --dark-plum-rgb: 16, 6, 30;
    --electric-teal: #00f6ff;
    --electric-teal-rgb: 0, 246, 255;
    --hot-pink: #ff00c1;
    --chrome-silver: #d0d0d0;
    --light-silver: #f0f0f0;
    --bg-color: #0d0417;
    --bg-secondary: #1a0b2e;
    --text-color: #c0c5e4;
    --heading-color: #ffffff;
    --border-color: rgba(0, 246, 255, 0.2);

    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Orbitron', sans-serif;

    --header-height: 80px;
    --container-width: 1200px;
    --section-padding: 100px 0;
    --card-padding: 30px;
    --transition-speed: 0.3s;
}

*,
*::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-primary);
    line-height: 1.7;
    overflow-x: hidden;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: var(--electric-teal);
    transition: color var(--transition-speed) ease;
}

a:hover {
    color: var(--hot-pink);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* 2. UTILITY & HELPER CLASSES */
/* ============================================= */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: var(--section-padding);
}

.text-center {
    text-align: center;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

/* 3. TYPOGRAPHY */
/* ============================================= */
.section-title {
    font-family: var(--font-secondary);
    font-size: 2.5rem;
    color: var(--heading-color);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 60%;
    height: 3px;
    background: linear-gradient(90deg, var(--electric-teal), var(--hot-pink));
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
}

.section-subtitle {
    max-width: 600px;
    margin: 0 auto;
    color: var(--chrome-silver);
}

h1,
h2,
h3,
h4 {
    color: var(--heading-color);
    line-height: 1.3;
}

/* 4. BUTTONS & FORMS */
/* ============================================= */
.btn {
    display: inline-block;
    padding: 14px 35px;
    font-family: var(--font-secondary);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 5px;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-speed) ease;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(var(--electric-teal-rgb), 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
    z-index: -1;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background-color: var(--electric-teal);
    color: var(--dark-plum);
    border-color: var(--electric-teal);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--electric-teal);
    box-shadow: 0 0 15px var(--electric-teal);
}

.btn-secondary {
    background-color: transparent;
    color: var(--light-silver);
    border-color: var(--chrome-silver);
}

.btn-secondary:hover {
    border-color: var(--electric-teal);
    color: var(--electric-teal);
    box-shadow: 0 0 15px var(--electric-teal);
}

.form-group {
    position: relative;
    margin-bottom: 2rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    background-color: rgba(var(--dark-plum-rgb), 0.5);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    color: var(--light-silver);
    font-size: 1rem;
    font-family: var(--font-primary);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--electric-teal);
    box-shadow: 0 0 10px rgba(var(--electric-teal-rgb), 0.5);
}

.form-group label {
    position: absolute;
    top: 13px;
    left: 15px;
    color: var(--chrome-silver);
    pointer-events: none;
    transition: all 0.3s ease;
}

.form-group input:focus+label,
.form-group input:not(:placeholder-shown)+label,
.form-group textarea:focus+label,
.form-group textarea:not(:placeholder-shown)+label {
    top: -10px;
    left: 10px;
    font-size: 0.8rem;
    color: var(--electric-teal);
    padding: 0 5px;
    background-color: var(--bg-secondary);
}

.select-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%2300f6ff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
}

.select-group select:required:invalid {
    color: var(--chrome-silver);
}

.select-group option[value=""][disabled] {
    display: none;
}

.select-group option {
    color: var(--light-silver);
    background: var(--bg-secondary);
}

#form-status {
    margin-top: 1.5rem;
    text-align: center;
    font-weight: 500;
}

.form-status.success {
    color: var(--electric-teal);
}

.form-status.error {
    color: var(--hot-pink);
}

/* 5. CURSOR STYLES */
/* ============================================= */
.cursor-dot,
.cursor-outline {
    pointer-events: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
    z-index: 10001;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--electric-teal);
}

.cursor-outline {
    width: 40px;
    height: 40px;
    background-color: rgba(var(--electric-teal-rgb), 0.3);
    transition: all 0.1s ease-out;
}

body:hover .cursor-dot,
body:hover .cursor-outline {
    opacity: 1;
}

.cursor-outline.hovered {
    transform: translate(-50%, -50%) scale(1.5);
    background-color: rgba(var(--hot-pink-rgb), 0.3);
}

/* 6. SCANLINES & GLITCH EFFECT */
/* ============================================= */
.scanlines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.3) 0, rgba(0, 0, 0, 0.3) 1px, transparent 1px, transparent 3px);
    pointer-events: none;
    z-index: 9999;
    opacity: 0.5;
}

.glitch {
    position: relative;
    color: var(--electric-teal);
    text-shadow: 0 0 5px var(--electric-teal);
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-color);
    overflow: hidden;
    clip: rect(0, 900px, 0, 0);
}

.glitch::before {
    left: 2px;
    text-shadow: -2px 0 var(--hot-pink);
    animation: glitch-anim-1 2s infinite linear alternate-reverse;
}

.glitch::after {
    left: -2px;
    text-shadow: -2px 0 var(--electric-teal), 2px 2px var(--hot-pink);
    animation: glitch-anim-2 2s infinite linear alternate-reverse;
}


/* 7. HEADER & NAVIGATION */
/* ============================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 10px 0;
    background-color: rgba(var(--dark-plum-rgb), 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all var(--transition-speed) ease;
}

.header.scrolled {
    background-color: rgba(var(--dark-plum-rgb), 0.95);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    height: 80px;
    filter: invert(1) drop-shadow(0 0 5px var(--electric-teal));
    transition: transform var(--transition-speed) ease;
}

.logo:hover .logo-img {
    transform: rotate(360deg);
}

.logo-text {
    font-family: var(--font-secondary);
    font-size: 1.5rem;
    color: var(--heading-color);
    font-weight: 700;
}

.nav-menu {
    display: flex;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 35px;
}

.nav-link {
    color: var(--chrome-silver);
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--electric-teal);
    transition: width var(--transition-speed) ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--heading-color);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-toggle,
.nav-close {
    display: none;
}


/* 8. FOOTER */
/* ============================================= */
.footer {
    background-color: var(--dark-plum);
    padding: 80px 0 30px;
    border-top: 1px solid var(--border-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col-title {
    font-family: var(--font-secondary);
    font-size: 1.2rem;
    color: var(--heading-color);
    margin-bottom: 20px;
}

.footer-about-text {
    margin: 20px 0;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--chrome-silver);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    font-size: 1rem;
}

.social-links a:hover {
    color: var(--dark-plum);
    background-color: var(--electric-teal);
    border-color: var(--electric-teal);
    transform: translateY(-3px);
    box-shadow: 0 0 10px var(--electric-teal);
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: var(--text-color);
}

.footer-links ul li a:hover,
.active-legal-link {
    color: var(--electric-teal);
    padding-left: 5px;
}

.footer-contact ul li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
}

.footer-contact i {
    color: var(--electric-teal);
    margin-top: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    font-size: 0.9rem;
}

/* 9. HERO SECTION */
/* ============================================= */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--header-height);
    position: relative;
    overflow: hidden;
}

.hero-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--electric-teal-rgb), 0.1), transparent 70%);
    filter: blur(50px);
}

.hero-shape.shape-1 {
    width: 500px;
    height: 500px;
    top: -10%;
    left: -15%;
}

.hero-shape.shape-2 {
    width: 400px;
    height: 400px;
    bottom: 0;
    right: -10%;
    background: radial-gradient(circle, rgba(255, 0, 193, 0.1), transparent 70%);
}

.hero-shape.shape-3 {
    width: 300px;
    height: 300px;
    top: 50%;
    left: 40%;
    transform: translateY(-50%);
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 3rem;
}

.hero-title {
    font-family: var(--font-secondary);
    font-size: clamp(3rem, 7vw, 5.5rem);
    line-height: 1.1;
    text-transform: uppercase;
    margin-bottom: 25px;
}

.hero-title .line {
    display: block;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--chrome-silver);
    max-width: 500px;
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
}

.hero-3d-cube-container {
    width: 250px;
    height: 250px;
}

.hero-3d-cube {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    animation: rotate-cube 20s infinite linear;
}

.hero-3d-cube .face {
    position: absolute;
    width: 250px;
    height: 250px;
    background: rgba(var(--dark-plum-rgb), 0.5);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 5rem;
    color: var(--electric-teal);
    text-shadow: 0 0 10px var(--electric-teal);
}

.face.front {
    transform: rotateY(0deg) translateZ(125px);
}

.face.back {
    transform: rotateY(180deg) translateZ(125px);
}

.face.right {
    transform: rotateY(90deg) translateZ(125px);
}

.face.left {
    transform: rotateY(-90deg) translateZ(125px);
}

.face.top {
    transform: rotateX(90deg) translateZ(125px);
}

.face.bottom {
    transform: rotateX(-90deg) translateZ(125px);
}


/* 10. PAGE HEADER (for subpages) */
/* ============================================= */
.page-header-section {
    padding: 180px 0 100px;
    text-align: center;
    position: relative;
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-color) 100%);
}

.page-title {
    font-family: var(--font-secondary);
    font-size: 3rem;
    text-transform: uppercase;
}

.breadcrumbs {
    margin-top: 15px;
    color: var(--chrome-silver);
}

.breadcrumbs a {
    color: var(--chrome-silver);
}

.breadcrumbs a:hover {
    color: var(--electric-teal);
}

.breadcrumbs i {
    font-size: 0.8rem;
    margin: 0 10px;
}


/* 11. SECTION BASE STYLES */
/* ============================================= */
.services-section,
.process-section,
.industries-section,
.report-section,
.testimonials-section,
.cta-section,
.contact-page-section,
.main-content {
    background-color: var(--bg-color);
    position: relative;
    overflow: hidden;
}

/* 12. SERVICES SECTION */
/* ============================================= */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--bg-secondary);
    padding: var(--card-padding);
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border: 1px solid var(--border-color);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(var(--electric-teal-rgb), 0.2), transparent);
    transition: left 0.6s ease;
}

.service-card:hover {
    transform: translateY(-10px) rotateX(5deg) rotateY(-5deg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 15px rgba(var(--electric-teal-rgb), 0.5);
}

.service-card:hover::before {
    left: 100%;
}

.card-border {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
    pointer-events: none;
}

.service-card:hover .card-border {
    animation: border-glow 1.5s infinite alternate;
}

.service-icon {
    font-size: 2.5rem;
    color: var(--electric-teal);
    margin-bottom: 20px;
    display: inline-block;
}

.service-title {
    font-family: var(--font-secondary);
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.service-description {
    margin-bottom: 20px;
}

.service-link {
    font-weight: 600;
}

.service-link i {
    transition: transform 0.3s ease;
    margin-left: 5px;
}

.service-link:hover i {
    transform: translateX(5px);
}

/* 13. PROCESS SECTION */
/* ============================================= */
.process-section {
    background-color: var(--bg-secondary);
}

.process-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.process-line {
    position: absolute;
    top: 30px;
    left: 50%;
    width: 4px;
    height: 100%;
    background: var(--border-color);
    transform: translateX(-50%);
    z-index: 1;
}

.process-step {
    position: relative;
    display: flex;
    margin-bottom: 80px;
    z-index: 2;
    width: 50%;
}

.process-step:nth-child(even) {
    margin-left: auto;
    flex-direction: row-reverse;
    text-align: right;
}

.process-step:nth-child(odd) {
    text-align: left;
}

.step-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--bg-secondary);
    border: 3px solid var(--electric-teal);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    color: var(--electric-teal);
    flex-shrink: 0;
    box-shadow: 0 0 15px rgba(var(--electric-teal-rgb), 0.7);
}

.step-content {
    flex-grow: 1;
}

.process-step:nth-child(odd) .step-content {
    padding-left: 30px;
}

.process-step:nth-child(even) .step-content {
    padding-right: 30px;
}

.step-number {
    font-family: var(--font-secondary);
    font-size: 1.2rem;
    color: var(--electric-teal);
    display: block;
    margin-bottom: 5px;
}

.step-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

/* 14. INDUSTRIES SECTION */
/* ============================================= */
.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 25px;
}

.industry-item {
    background: rgba(var(--dark-plum-rgb), 0.5);
    border: 1px solid var(--border-color);
    padding: 25px;
    text-align: center;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.industry-item:hover {
    transform: translateY(-5px);
    background: var(--bg-secondary);
    border-color: var(--electric-teal);
    box-shadow: 0 0 10px rgba(var(--electric-teal-rgb), 0.5);
}

.industry-item i {
    font-size: 2.5rem;
    color: var(--electric-teal);
    margin-bottom: 15px;
    display: block;
}

.industry-item span {
    font-weight: 600;
    color: var(--heading-color);
}


/* 15. INTERACTIVE REPORT SECTION */
/* ============================================= */
.report-section {
    background-color: var(--bg-secondary);
}

.report-dashboard {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    background-color: rgba(var(--dark-plum-rgb), 0.6);
    padding: 40px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
}

.dashboard-panel {
    background: rgba(var(--dark-plum-rgb), 0.3);
    padding: 30px;
    border-radius: 8px;
}

.panel-title {
    font-family: var(--font-secondary);
    font-size: 1.3rem;
    margin-bottom: 25px;
}

.main-kpis {
    display: flex;
    justify-content: space-around;
    text-align: center;
    margin-bottom: 40px;
}

.kpi-value {
    font-family: var(--font-secondary);
    font-size: 3rem;
    color: var(--electric-teal);
    display: block;
}

.kpi-label {
    font-size: 0.9rem;
    color: var(--chrome-silver);
}

.chart-placeholder {
    margin-top: 30px;
}

.chart-placeholder p {
    text-align: center;
    margin-bottom: 20px;
    font-weight: 500;
}

.bar-chart {
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    height: 150px;
    border-left: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 0 10px;
}

.bar {
    width: 20%;
    background: linear-gradient(0deg, var(--electric-teal), var(--hot-pink));
    position: relative;
    animation: grow-bar 1.5s ease-out;
}

.bar span {
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.8rem;
}

.channel-list li {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px dashed var(--border-color);
}

.channel-value {
    font-weight: 700;
    color: var(--electric-teal);
}

.panel-title-second {
    margin-top: 40px;
}

@property --p {
    syntax: '<number>';
    inherits: true;
    initial-value: 0;
}

.device-chart {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 10px;
    text-align: center;
}

.device-segment {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 0.8rem;
    animation: grow-pie 1.5s;
    transition: --p 1.5s;
}

.device-segment.desktop {
    background: radial-gradient(closest-side, var(--bg-secondary) 79%, transparent 80% 100%), conic-gradient(var(--electric-teal) calc(var(--p) * 1%), var(--border-color) 0);
}

.device-segment.mobile {
    background: radial-gradient(closest-side, var(--bg-secondary) 79%, transparent 80% 100%), conic-gradient(var(--hot-pink) calc(var(--p) * 1%), var(--border-color) 0);
}

.device-segment.tablet {
    background: radial-gradient(closest-side, var(--bg-secondary) 79%, transparent 80% 100%), conic-gradient(var(--chrome-silver) calc(var(--p) * 1%), var(--border-color) 0);
}


/* 16. TESTIMONIALS SECTION */
/* ============================================= */
.testimonial-slider-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-slider {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.testimonial-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 30px;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(30px);
    transition: all 0.5s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.testimonial-slide.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 25px;
    text-align: center;
}

.testimonial-author {
    text-align: center;
}

.author-name {
    display: block;
    font-weight: 700;
    color: var(--heading-color);
}

.author-title {
    font-size: 0.9rem;
    color: var(--electric-teal);
}

.slider-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 110%;
    left: -5%;
    display: flex;
    justify-content: space-between;
}

.slider-btn {
    background: rgba(var(--dark-plum-rgb), 0.7);
    border: 1px solid var(--border-color);
    color: var(--electric-teal);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: none;
    transition: all 0.3s ease;
}

.slider-btn:hover {
    background: var(--electric-teal);
    color: var(--dark-plum);
}

/* 17. CTA SECTION */
/* ============================================= */
.cta-section {
    text-align: center;
    background: linear-gradient(0deg, var(--bg-secondary), var(--bg-color));
}

.cta-title {
    font-family: var(--font-secondary);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-text {
    max-width: 600px;
    margin: 0 auto 30px;
}

/* 18. CONTACT PAGE */
/* ============================================= */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    align-items: center;
}

.contact-title {
    font-family: var(--font-secondary);
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.contact-subtitle {
    margin-bottom: 40px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.info-icon {
    font-size: 1.5rem;
    color: var(--electric-teal);
    margin-top: 5px;
}

.info-text h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.contact-form-wrapper {
    background-color: var(--bg-secondary);
    padding: 40px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

/* 19. LEGAL PAGES */
/* ============================================= */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h2 {
    font-family: var(--font-secondary);
    font-size: 1.8rem;
    margin: 40px 0 15px;
    color: var(--electric-teal);
}

.legal-content p,
.legal-content li {
    margin-bottom: 15px;
}

.legal-content strong {
    color: var(--heading-color);
}

/* 20. ANIMATIONS & KEYFRAMES */
/* ============================================= */
@keyframes glitch-anim-1 {
    0% {
        clip: rect(21px, 9999px, 92px, 0);
    }

    25% {
        clip: rect(5px, 9999px, 98px, 0);
    }

    50% {
        clip: rect(41px, 9999px, 3px, 0);
    }

    75% {
        clip: rect(13px, 9999px, 5px, 0);
    }

    100% {
        clip: rect(81px, 9999px, 73px, 0);
    }
}

@keyframes glitch-anim-2 {
    0% {
        clip: rect(15px, 9999px, 99px, 0);
    }

    25% {
        clip: rect(31px, 9999px, 1px, 0);
    }

    50% {
        clip: rect(81px, 9999px, 43px, 0);
    }

    75% {
        clip: rect(51px, 9999px, 93px, 0);
    }

    100% {
        clip: rect(2px, 9999px, 63px, 0);
    }
}

@keyframes rotate-cube {
    from {
        transform: rotateX(0) rotateY(0);
    }

    to {
        transform: rotateX(360deg) rotateY(360deg);
    }
}

@keyframes border-glow {
    from {
        box-shadow: 0 0 5px rgba(var(--electric-teal-rgb), 0.3), inset 0 0 5px rgba(var(--electric-teal-rgb), 0.2);
    }

    to {
        box-shadow: 0 0 20px rgba(var(--electric-teal-rgb), 0.8), inset 0 0 10px rgba(var(--electric-teal-rgb), 0.5);
    }
}

@keyframes grow-bar {
    from {
        height: 0;
    }

    to {
        /* height is set inline */
    }
}

@keyframes grow-pie {
    from {
        --p: 0;
    }

    to {
        /* --p is set inline */
    }
}


/* 21. RESPONSIVENESS (Media Queries) */
/* ============================================= */

/* Tablets and larger */
@media (max-width: 992px) {
    .header-container {
        padding: 0 20px;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background-color: var(--bg-secondary);
        flex-direction: column;
        padding: 100px 30px;
        transition: right 0.4s ease;
        border-left: 1px solid var(--border-color);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }

    .nav-toggle {
        display: block;
        font-size: 1.5rem;
        color: var(--heading-color);
        cursor: none;
    }

    .nav-close {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
        font-size: 2.5rem;
        color: var(--heading-color);
        background: none;
        border: none;
        cursor: none;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        order: 2;
    }

    .hero-visual {
        order: 1;
        margin-bottom: 40px;
    }

    .hero-subtitle {
        margin: 25px auto 40px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .process-step,
    .process-step:nth-child(even) {
        width: 100%;
        padding-left: 80px;
        text-align: left;
        flex-direction: row;
        margin-left: 0;
    }

    .process-line {
        left: 30px;
    }

    .process-step:nth-child(even) .step-content {
        padding-right: 0;
        padding-left: 30px;
    }

    .report-dashboard {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-info {
        text-align: center;
    }

    .info-item {
        justify-content: center;
        text-align: left;
    }
}

/* Mobile phones */
@media (max-width: 768px) {
    :root {
        --section-padding: 80px 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .page-title {
        font-size: 2.5rem;
    }

    .hero-3d-cube-container {
        width: 200px;
        height: 200px;
    }

    .hero-3d-cube .face {
        width: 200px;
        height: 200px;
        font-size: 4rem;
    }

    .face.front {
        transform: rotateY(0deg) translateZ(100px);
    }

    .face.back {
        transform: rotateY(180deg) translateZ(100px);
    }

    .face.right {
        transform: rotateY(90deg) translateZ(100px);
    }

    .face.left {
        transform: rotateY(-90deg) translateZ(100px);
    }

    .face.top {
        transform: rotateX(90deg) translateZ(100px);
    }

    .face.bottom {
        transform: rotateX(-90deg) translateZ(100px);
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-col {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-contact ul li {
        justify-content: center;
        text-align: left;
    }

    .main-kpis {
        flex-direction: column;
        gap: 30px;
    }

    .slider-controls {
        display: none;
    }

    /* On mobile, users can swipe */
}

@media (max-width: 576px) {
    body {
        cursor: auto;
    }

    .cursor-dot,
    .cursor-outline {
        display: none;
    }

    .header .btn {
        display: none;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .process-line {
        display: none;
    }

    .process-step,
    .process-step:nth-child(even) {
        padding-left: 0;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .process-step .step-content {
        padding: 20px 0 0 0;
    }

    .report-dashboard {
        padding: 20px;
    }

    .dashboard-panel {
        padding: 20px;
    }
}