/*
==================================================
  Quantum Tape Interface - Stylesheet
==================================================

TABLE OF CONTENTS
--------------------------------------------------
1.  VARIABLES & GLOBAL STYLES
2.  REUSABLE COMPONENTS (Buttons, Container, etc.)
3.  HEADER & NAVIGATION
4.  FOOTER
5.  HERO SECTION & TAPE RECORDER ANIMATION
6.  PAGE HEADER (For subpages)
7.  SERVICES SECTION (3D Flip Cards)
8.  ABOUT SECTION
9.  ROI CALCULATOR SECTION
10. TESTIMONIALS SECTION
11. REPORT SECTION (Dashboard Mockup)
12. CONTACT PAGE & FORM
13. LEGAL PAGES CONTENT
14. INTERACTIVE WIDGETS (Live Chat, Popup)
15. ANIMATIONS (Glitch, Keyframes)
16. SCROLL FOLLOWER & SCROLLBAR
17. RESPONSIVE DESIGN (Media Queries)

--------------------------------------------------
*/

/* 1. VARIABLES & GLOBAL STYLES
-------------------------------------------------- */
:root {
    --header-height: 5rem;

    /* Colors */
    --primary-color: #E63946;
    /* Retro Red */
    --secondary-color: #F5E1A4;
    /* Cream */
    --dark-color: #1D1D1D;
    /* Black */
    --light-color: #ffffff;
    --text-color: #E0E0E0;
    --text-color-dark: #333;
    --border-color: rgba(245, 225, 164, 0.2);

    /* Fonts */
    --heading-font: 'Orbitron', sans-serif;
    --body-font: 'Roboto Mono', monospace;

    /* Font Sizes */
    --big-font-size: 3.5rem;
    --h1-font-size: 2.5rem;
    --h2-font-size: 2rem;
    --h3-font-size: 1.5rem;
    --normal-font-size: 1rem;
    --small-font-size: 0.875rem;
    --smaller-font-size: 0.813rem;

    /* Font Weights */
    --font-bold: 700;
    --font-black: 900;

    /* Margins */
    --mb-0-5: 0.5rem;
    --mb-1: 1rem;
    --mb-1-5: 1.5rem;
    --mb-2: 2rem;
    --mb-2-5: 2.5rem;

    /* Z-index */
    --z-tooltip: 10;
    --z-fixed: 100;
    --z-modal: 1000;

    /* Transitions */
    --transition-fast: 0.2s ease-in-out;
    --transition-smooth: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@media (max-width: 992px) {
    :root {
        --big-font-size: 2.5rem;
        --h1-font-size: 2rem;
        --h2-font-size: 1.5rem;
        --h3-font-size: 1.25rem;
    }
}

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--dark-color);
    font-family: var(--body-font);
    font-size: var(--normal-font-size);
    color: var(--text-color);
    line-height: 1.7;
}

h1,
h2,
h3,
h4 {
    color: var(--secondary-color);
    font-family: var(--heading-font);
    font-weight: var(--font-bold);
    line-height: 1.3;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition-fast);
}

a:hover {
    color: var(--secondary-color);
}

img {
    max-width: 100%;
    height: auto;
}

.section-padding {
    padding: 6rem 0 4rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: var(--h2-font-size);
    margin-bottom: var(--mb-1);
    position: relative;
    display: inline-block;
}

.section-subtitle {
    font-size: var(--normal-font-size);
    color: var(--secondary-color);
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
}

/* 2. REUSABLE COMPONENTS
-------------------------------------------------- */
.container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.9rem 1.8rem;
    font-family: var(--heading-font);
    font-weight: var(--font-bold);
    border: 2px solid transparent;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn span {
    position: relative;
    z-index: 2;
}

.btn i {
    position: relative;
    z-index: 2;
    transition: var(--transition-smooth);
}


.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: var(--secondary-color);
    transition: width var(--transition-smooth);
    z-index: 1;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--light-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    color: var(--dark-color);
}

.btn-primary:hover::before {
    width: 100%;
}

.btn-primary:hover i {
    transform: translateX(3px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.btn-secondary:hover {
    color: var(--dark-color);
}

.btn-secondary:hover::before {
    width: 100%;
}

.btn-full {
    width: 100%;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: var(--small-font-size);
}


/* 3. HEADER & NAVIGATION
-------------------------------------------------- */
.header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: var(--z-fixed);
    background-color: transparent;
    transition: background-color var(--transition-smooth), box-shadow var(--transition-smooth);
}

.header.scrolled {
    background-color: rgba(29, 29, 29, 0.85);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--light-color);
    font-family: var(--heading-font);
    font-weight: var(--font-bold);
}

.logo img {
    height: 50px;
    transition: transform var(--transition-smooth);
    filter: brightness(0)invert(1);
}

.logo:hover img {
    transform: rotate(360deg);
}

.nav-list {
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    color: var(--text-color);
    font-family: var(--body-font);
    font-weight: 500;
    position: relative;
    padding-bottom: 0.5rem;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition-smooth);
}

.nav-link:hover,
.nav-link.active {
    color: var(--light-color);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-toggle,
.nav-close {
    font-size: 1.5rem;
    color: var(--light-color);
    cursor: pointer;
    display: none;
}

.nav-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 2rem;
}

/* 4. FOOTER
-------------------------------------------------- */
.footer {
    background-color: #111;
    padding: 5rem 0 2rem;
    border-top: 2px solid var(--border-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-col-title {
    font-size: var(--h3-font-size);
    margin-bottom: var(--mb-1-5);
    color: var(--light-color);
}

.footer-about-text {
    margin-bottom: var(--mb-1-5);
    opacity: 0.8;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
    color: var(--dark-color);
    background-color: var(--secondary-color);
    border-radius: 50%;
    transition: var(--transition-smooth);
}

.social-links a:hover {
    background-color: var(--primary-color);
    color: var(--light-color);
    transform: translateY(-3px) scale(1.1);
}

.footer-links ul li {
    margin-bottom: var(--mb-1);
}

.footer-links ul li a {
    color: var(--text-color);
    position: relative;
    transition: var(--transition-smooth);
}

.footer-links ul li a::before {
    content: '>>';
    position: absolute;
    left: -20px;
    opacity: 0;
    transition: var(--transition-smooth);
    color: var(--primary-color);
}

.footer-links ul li a:hover {
    color: var(--light-color);
    padding-left: 5px;
}

.footer-links ul li a:hover::before {
    opacity: 1;
    left: -25px;
}

.footer-contact ul li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: var(--mb-1);
}

.footer-contact i {
    color: var(--primary-color);
    margin-top: 5px;
}

.footer-contact a {
    color: var(--text-color);
}

.footer-contact a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

/* 5. HERO SECTION & TAPE RECORDER ANIMATION
-------------------------------------------------- */
.hero-section {
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background-image: radial-gradient(circle at center, rgba(29, 29, 29, 0.8) 0%, rgba(29, 29, 29, 1) 70%), url('https://www.transparenttextures.com/patterns/carbon-fibre.png');
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(29, 29, 29, 0) 0%, var(--dark-color) 100%);
    z-index: 1;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: var(--big-font-size);
    font-weight: var(--font-black);
    line-height: 1.1;
    margin-bottom: var(--mb-1-5);
}

.hero-title span {
    display: block;
}

.hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: var(--mb-2-5);
    max-width: 500px;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-animation {
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
}

.tape-recorder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 400px;
    height: 200px;
    position: relative;
    transform: rotateX(10deg) rotateY(-20deg) scale(1.1);
    transform-style: preserve-3d;
}

.reel {
    width: 150px;
    height: 150px;
    border: 5px solid #555;
    background-color: #333;
    border-radius: 50%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.7), 0 5px 15px rgba(0, 0, 0, 0.5);
}

.reel-hub {
    width: 40px;
    height: 40px;
    background-color: #777;
    border-radius: 50%;
    border: 3px solid #444;
}

.reel::before,
.reel::after {
    content: '';
    position: absolute;
    background-color: #444;
    z-index: -1;
}

.reel::before {
    width: 90%;
    height: 10px;
}

.reel::after {
    height: 90%;
    width: 10px;
}

.tape-path {
    width: 80px;
    height: 2px;
    background-color: var(--secondary-color);
    position: absolute;
    z-index: -1;
    box-shadow: 0 0 5px var(--secondary-color);
}

.recorder-body {
    position: absolute;
    bottom: -40px;
    width: 300px;
    height: 60px;
    background-color: #2a2a2a;
    border: 2px solid #444;
    border-radius: 5px;
    transform: translateZ(-20px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 1rem;
    gap: 1rem;
}

.vu-meter {
    width: 80px;
    height: 40px;
    background-color: var(--dark-color);
    border: 2px solid var(--secondary-color);
    border-radius: 3px;
    position: relative;
    overflow: hidden;
}

.vu-meter::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, #0f0, #ff0, var(--primary-color));
    opacity: 0.7;
}

.needle {
    width: 2px;
    height: 35px;
    background-color: var(--dark-color);
    position: absolute;
    bottom: 0;
    left: 10%;
    transform-origin: bottom center;
    animation: vu-sweep 2s infinite alternate ease-in-out;
}

.led-indicator {
    width: 10px;
    height: 10px;
    background-color: var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary-color);
    animation: led-pulse 1.5s infinite;
}

.recorder-label {
    font-size: var(--small-font-size);
    color: var(--secondary-color);
    letter-spacing: 2px;
}


/* 6. PAGE HEADER
-------------------------------------------------- */
.page-header-section {
    padding: 8rem 0 4rem;
    position: relative;
    text-align: center;
    background-image: radial-gradient(circle at top, rgba(29, 29, 29, 0.8) 0%, rgba(29, 29, 29, 1) 70%), url('https://www.transparenttextures.com/patterns/carbon-fibre.png');
}

.page-title {
    font-size: var(--h1-font-size);
    margin-bottom: var(--mb-1);
}

.breadcrumbs {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-color);
}

.breadcrumbs a {
    color: var(--secondary-color);
}

.breadcrumbs a:hover {
    color: var(--primary-color);
}

.breadcrumbs i {
    font-size: 0.7rem;
    color: var(--primary-color);
}

/* 7. SERVICES SECTION
-------------------------------------------------- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    position: relative;
    height: 350px;
    perspective: 1500px;
}

.service-card-face {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.service-card-front {
    background-color: #222;
}

.service-card:hover .service-card-front {
    transform: rotateY(180deg);
}

.service-card-back {
    background-color: #2a2a2a;
    transform: rotateY(-180deg);
}

.service-card:hover .service-card-back {
    transform: rotateY(0deg);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: var(--mb-1-5);
    transition: var(--transition-smooth);
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-title {
    font-size: var(--h3-font-size);
    margin-bottom: var(--mb-1);
    color: var(--light-color);
}

.service-desc {
    opacity: 0.8;
}

.service-card-back ul {
    margin-bottom: var(--mb-2);
    text-align: left;
    width: 100%;
    padding-left: 1rem;
}

.service-card-back ul li {
    margin-bottom: var(--mb-0-5);
    position: relative;
}

.service-card-back ul li::before {
    content: '\f00c';
    /* FontAwesome check icon */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--primary-color);
    position: absolute;
    left: -1.5rem;
}

/* 8. ABOUT SECTION
-------------------------------------------------- */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.about-image {
    display: block;
    transition: var(--transition-smooth);
}

.about-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.3), rgba(29, 29, 29, 0.7));
    transition: var(--transition-smooth);
}

.about-image-wrapper:hover .about-image {
    transform: scale(1.05);
}

.about-image-wrapper:hover .about-image-overlay {
    opacity: 0.5;
}

.about-content {
    text-align: left;
}

.about-content .section-title {
    text-align: left;
    display: block;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.stat-item {
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 5px;
    text-align: center;
    background-color: #222;
    transition: var(--transition-smooth);
}

.stat-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(230, 57, 70, 0.2);
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-family: var(--heading-font);
    font-weight: var(--font-bold);
    color: var(--primary-color);
}

.stat-label {
    font-size: var(--small-font-size);
}

/* 9. ROI CALCULATOR SECTION
-------------------------------------------------- */
.calculator-section {
    background-color: #111;
}

.calculator-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    align-items: center;
}

.calculator-content .section-title {
    text-align: left;
}

.calculator-wrapper {
    background-color: var(--dark-color);
    padding: 2.5rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.calculator-form .form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: var(--mb-1);
    font-weight: 500;
}

.form-group span {
    display: inline-block;
    margin-left: 1rem;
    font-weight: bold;
    color: var(--secondary-color);
}

input[type="range"] {
    -webkit-appearance: none;
    width: calc(100% - 70px);
    height: 8px;
    background: #333;
    border-radius: 5px;
    outline: none;
    opacity: 0.7;
    transition: opacity .2s;
}

input[type="range"]:hover {
    opacity: 1;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50%;
    cursor: pointer;
    border: 3px solid var(--dark-color);
    box-shadow: 0 0 5px rgba(230, 57, 70, 0.8);
}

input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50%;
    cursor: pointer;
    border: 3px solid var(--dark-color);
    box-shadow: 0 0 5px rgba(230, 57, 70, 0.8);
}


.results-wrapper {
    background: #111;
    padding: 2rem;
    border-radius: 5px;
    border-left: 3px solid var(--primary-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.results-wrapper h4 {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.result-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.result-label {
    opacity: 0.8;
}

.result-value {
    font-size: 1.5rem;
    font-family: var(--heading-font);
    color: var(--secondary-color);
}

.result-disclaimer {
    margin-top: auto;
    font-size: var(--small-font-size);
    opacity: 0.7;
}

.result-disclaimer i {
    color: var(--secondary-color);
}

/* 10. TESTIMONIALS SECTION
-------------------------------------------------- */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background-color: #222;
    padding: 2rem;
    border-radius: 8px;
    border-left: 5px solid var(--primary-color);
    position: relative;
    transition: var(--transition-smooth);
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.testimonial-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.testimonial-header .fa-quote-left {
    font-size: 2.5rem;
    color: var(--primary-color);
    opacity: 0.5;
}

.testimonial-rating .fa-star {
    color: var(--secondary-color);
}

.testimonial-text {
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    text-align: right;
}

.author-name {
    display: block;
    font-weight: bold;
    color: var(--light-color);
}

.author-title {
    font-size: var(--small-font-size);
    opacity: 0.7;
}

/* 11. REPORT SECTION
-------------------------------------------------- */
.report-section {
    background-color: #111;
}

.report-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.report-content .section-title {
    text-align: left;
}

.report-features {
    margin: 2rem 0;
}

.report-features li {
    margin-bottom: var(--mb-1);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.report-features i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.report-visual {
    perspective: 1500px;
}

.dashboard-mockup {
    background-color: #2a2a2a;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    transform: rotateY(15deg) rotateX(5deg);
    transition: var(--transition-smooth);
}

.report-visual:hover .dashboard-mockup {
    transform: rotateY(0) rotateX(0);
}

.dashboard-header {
    background-color: #333;
    padding: 0.75rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
}

.dashboard-header span {
    font-weight: bold;
}

.dots span {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-left: 5px;
}

.dot-1 {
    background-color: #ff5f56;
}

.dot-2 {
    background-color: #ffbd2e;
}

.dot-3 {
    background-color: #27c93f;
}

.dashboard-body {
    padding: 1.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.metric-card {
    background-color: var(--dark-color);
    padding: 1rem;
    border-radius: 5px;
}

.metric-label {
    display: block;
    font-size: var(--small-font-size);
    opacity: 0.7;
    margin-bottom: 0.5rem;
}

.metric-value {
    font-size: 1.5rem;
    font-family: var(--heading-font);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.metric-change {
    font-size: var(--small-font-size);
    font-family: var(--body-font);
    padding: 2px 5px;
    border-radius: 3px;
}

.metric-change.positive {
    color: #27c93f;
    background-color: rgba(39, 201, 63, 0.1);
}

.metric-change.negative {
    color: var(--primary-color);
    background-color: rgba(230, 57, 70, 0.1);
}

.sparkline {
    height: 40px;
}

.sparkline svg {
    stroke: var(--primary-color);
    stroke-width: 2;
    fill: none;
}


/* 12. CONTACT PAGE & FORM
-------------------------------------------------- */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    background-color: #222;
    padding: 3rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.contact-info-panel h3 {
    font-size: var(--h3-font-size);
    margin-bottom: var(--mb-1);
}

.contact-info-panel>p {
    margin-bottom: var(--mb-2);
}

.contact-details-list li {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    margin-bottom: var(--mb-2);
}

.contact-details-list i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 5px;
    width: 25px;
    text-align: center;
}

.contact-details-list h4 {
    font-size: 1.1rem;
    font-family: var(--body-font);
    margin-bottom: 0.25rem;
    color: var(--secondary-color);
}

.contact-details-list p,
.contact-details-list a {
    color: var(--text-color);
}

.contact-details-list a:hover {
    color: var(--primary-color);
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form label {
    display: block;
    margin-bottom: var(--mb-0-5);
    font-size: var(--small-font-size);
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 0.8rem 1rem;
    background-color: var(--dark-color);
    border: 2px solid var(--border-color);
    border-radius: 4px;
    color: var(--text-color);
    font-family: var(--body-font);
    transition: var(--transition-fast);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(230, 57, 70, 0.4);
}

.contact-form 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='%23F5E1A4' 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;
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

/* 13. LEGAL PAGES CONTENT
-------------------------------------------------- */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    background-color: #222;
    padding: 3rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.legal-content h2 {
    font-size: var(--h3-font-size);
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-color);
}

.legal-content p {
    margin-bottom: 1rem;
}

.legal-content strong {
    color: var(--secondary-color);
}


/* 14. INTERACTIVE WIDGETS
-------------------------------------------------- */
/* Success Popup */
.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: var(--z-modal);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

.popup.show {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    background-color: var(--dark-color);
    padding: 3rem;
    border-radius: 8px;
    border: 2px solid var(--border-color);
    text-align: center;
    max-width: 500px;
    position: relative;
    transform: scale(0.8);
    transition: var(--transition-smooth);
}

.popup.show .popup-content {
    transform: scale(1);
}

.popup-icon {
    font-size: 4rem;
    color: #27c93f;
    margin-bottom: 1rem;
}

.popup-content h3 {
    font-size: var(--h3-font-size);
    margin-bottom: 1rem;
}

.popup-content p {
    margin-bottom: 2rem;
}

/* Live Chat Widget */
.live-chat-widget {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: var(--z-fixed);
}

.chat-toggle {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: var(--light-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(230, 57, 70, 0.4);
    transition: var(--transition-smooth);
}

.chat-toggle:hover {
    transform: scale(1.1);
}

.chat-toggle .icon-open {
    display: none;
}

.chat-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    background-color: #222;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transform: translateY(20px) scale(0.9);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    transform-origin: bottom right;
}

.live-chat-widget.open .chat-toggle .icon-closed {
    display: none;
}

.live-chat-widget.open .chat-toggle .icon-open {
    display: block;
}

.live-chat-widget.open .chat-window {
    transform: translateY(0) scale(1);
    opacity: 1;
    visibility: visible;
}

.chat-header {
    background-color: var(--primary-color);
    padding: 1rem 1.5rem;
    color: var(--light-color);
}

.chat-header h5 {
    font-family: var(--heading-font);
    font-size: 1.1rem;
    margin: 0;
}

.chat-header p {
    font-size: var(--small-font-size);
    margin: 0;
    opacity: 0.9;
}

.chat-body {
    height: 300px;
    padding: 1.5rem;
    overflow-y: auto;
}

.message {
    margin-bottom: 1rem;
    max-width: 80%;
}

.message p {
    padding: 0.75rem 1rem;
    border-radius: 15px;
    line-height: 1.4;
}

.message.received {
    float: left;
    clear: both;
}

.message.received p {
    background-color: #333;
    border-bottom-left-radius: 3px;
}

.chat-footer {
    display: flex;
    padding: 1rem;
    border-top: 1px solid var(--border-color);
}

.chat-footer input {
    flex-grow: 1;
    border: none;
    background: transparent;
    color: var(--text-color);
    padding: 0.5rem;
}

.chat-footer input:focus {
    outline: none;
}

.chat-footer button {
    background: none;
    border: none;
    color: var(--primary-color);
    font-size: 1.2rem;
    cursor: pointer;
}


/* 15. ANIMATIONS
-------------------------------------------------- */
/* Glitch Effect */
.glitch {
    position: relative;
    color: var(--secondary-color);
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark-color);
    overflow: hidden;
}

.glitch::before {
    left: 2px;
    text-shadow: -1px 0 var(--primary-color);
    animation: glitch-anim-1 2s infinite linear alternate-reverse;
}

.glitch::after {
    left: -2px;
    text-shadow: -1px 0 var(--secondary-color), 1px 0 cyan;
    animation: glitch-anim-2 2s infinite linear alternate-reverse;
}

section:hover .glitch::before,
section:hover .glitch::after {
    animation-play-state: running;
}


@keyframes glitch-anim-1 {
    0% {
        clip-path: inset(10% 0 80% 0);
    }

    20% {
        clip-path: inset(50% 0 10% 0);
    }

    40% {
        clip-path: inset(20% 0 65% 0);
    }

    60% {
        clip-path: inset(90% 0 5% 0);
    }

    80% {
        clip-path: inset(40% 0 45% 0);
    }

    100% {
        clip-path: inset(70% 0 20% 0);
    }
}

@keyframes glitch-anim-2 {
    0% {
        clip-path: inset(75% 0 5% 0);
    }

    20% {
        clip-path: inset(10% 0 85% 0);
    }

    40% {
        clip-path: inset(60% 0 20% 0);
    }

    60% {
        clip-path: inset(30% 0 55% 0);
    }

    80% {
        clip-path: inset(5% 0 90% 0);
    }

    100% {
        clip-path: inset(45% 0 30% 0);
    }
}

@keyframes vu-sweep {
    from {
        transform: rotate(-30deg);
    }

    to {
        transform: rotate(30deg);
    }
}

@keyframes led-pulse {
    0% {
        opacity: 1;
        box-shadow: 0 0 10px var(--primary-color);
    }

    50% {
        opacity: 0.5;
        box-shadow: 0 0 5px var(--primary-color);
    }

    100% {
        opacity: 1;
        box-shadow: 0 0 10px var(--primary-color);
    }
}

/* 16. SCROLL FOLLOWER & SCROLLBAR
-------------------------------------------------- */
#scroll-tape {
    position: fixed;
    top: 0;
    left: 10px;
    height: 100vh;
    width: 10px;
    z-index: 50;
    pointer-events: none;
}

::-webkit-scrollbar {
    width: 12px;
    background-color: var(--dark-color);
}

::-webkit-scrollbar-thumb {
    background-color: var(--primary-color);
    border-radius: 10px;
    border: 3px solid var(--dark-color);
}

::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    background-color: #111;
}

/* 17. RESPONSIVE DESIGN
-------------------------------------------------- */
@media (max-width: 992px) {
    .container {
        padding: 0 1.5rem;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100%;
        background-color: #111;
        padding: 6rem 2rem 2rem;
        transition: var(--transition-smooth);
        z-index: var(--z-fixed);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
    }

    .nav-menu.show-menu {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 2rem;
    }

    .nav-toggle,
    .nav-close {
        display: block;
    }

    .header-actions .btn {
        display: none;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        order: 2;
    }

    .hero-animation {
        order: 1;
        margin-bottom: 2rem;
    }

    .tape-recorder {
        transform: none;
        width: 320px;
    }

    .reel {
        width: 120px;
        height: 120px;
    }

    .hero-subtitle {
        margin: var(--mb-2-5) auto;
    }

    .hero-cta {
        justify-content: center;
    }

    .about-container,
    .calculator-container,
    .report-container {
        grid-template-columns: 1fr;
    }

    .about-content .section-title,
    .calculator-content .section-title,
    .report-content .section-title {
        text-align: center;
    }

    .report-visual .dashboard-mockup {
        transform: none;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        padding: 2rem;
    }

    .calculator-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    body {
        font-size: var(--small-font-size);
    }

    .section-padding {
        padding: 4rem 0 2rem;
    }

    .contact-form .form-row {
        grid-template-columns: 1fr;
    }

    .nav-menu {
        width: 80%;
    }

    .dashboard-body {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    #scroll-tape {
        display: none;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-col {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-links ul li a::before,
    .footer-links ul li a:hover {
        padding-left: 0;
    }

    .footer-links ul li a:hover::before {
        display: none;
    }

    .footer-contact ul li {
        justify-content: center;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .popup-content {
        width: 90%;
        padding: 2rem 1rem;
    }

    .chat-window {
        width: calc(100vw - 4rem);
    }
}