/* ===================================================================
   TABLE OF CONTENTS
   -------------------------------------------------------------------
   01. Root Variables & Global Styles
   02. Utility Classes
   03. Layout & Container
   04. Header & Navigation
   05. Footer
   06. Buttons & Forms
   07. Hero Section
   08. Trusted By Section (Logo Cloud)
   09. Services Section
   10. Industries Section (Tabs)
   11. ROI Calculator Section
   12. Reports Section
   13. Testimonials Section (Slider)
   14. CTA Section
   15. Page-Specific Styles (Contact, Legal)
   16. Interactive Elements (Back to Top, Chat, Popup)
   17. Animations & Keyframes
   18. Media Queries (Responsiveness)
=================================================================== */

/* 01. Root Variables & Global Styles
   ------------------------------------------------------------------- */
:root {
    /* Colors */
    --primary-color: #007BFF;
    --primary-hover: #0056b3;
    --secondary-color: #00A6F9;
    --dark-bg: #0d1117;
    --light-bg: #f8f9fa;
    --card-bg: #ffffff;
    --footer-bg: #0d1117;
    --text-dark: #1e2022;
    --text-light: #f1f1f1;
    --text-muted: #6c757d;
    --border-color: #dee2e6;
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);

    /* Gradients */
    --primary-gradient: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    --dark-gradient: linear-gradient(135deg, #161b22 0%, #0d1117 100%);

    /* Typography */
    --font-primary: 'Inter', sans-serif;
    --font-secondary: 'Plus Jakarta Sans', sans-serif;
    --font-size-base: 1rem;
    --line-height-base: 1.6;

    /* Spacing & Sizing */
    --container-width: 1200px;
    --header-height: 80px;
    --section-padding: 80px;

    /* Transitions & Borders */
    --transition-fast: 0.2s ease-in-out;
    --transition-smooth: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --border-radius: 8px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    background-color: var(--light-bg);
    color: var(--text-dark);
    line-height: var(--line-height-base);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* 02. Utility Classes
   ------------------------------------------------------------------- */
.container {
    max-width: var(--container-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

.section-padding {
    padding-top: var(--section-padding);
    padding-bottom: var(--section-padding);
}

.text-center {
    text-align: center;
}

.text-gradient {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

/* Section Header Styling */
.section-header {
    margin-bottom: 4rem;
}

.subtitle {
    display: inline-block;
    font-family: var(--font-secondary);
    font-weight: 700;
    color: var(--primary-color);
    background-color: rgba(0, 123, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    margin-bottom: 1rem;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.section-title {
    font-family: var(--font-secondary);
    font-size: clamp(2rem, 5vw, 2.75rem);
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-description {
    max-width: 650px;
    margin: 0 auto;
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* 03. Layout & Container
   ------------------------------------------------------------------- */
.site-main {
    padding-top: var(--header-height);
}

/* 04. Header & Navigation
   ------------------------------------------------------------------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: transparent;
    z-index: 1000;
    transition: background-color var(--transition-fast), box-shadow var(--transition-fast);
    border-bottom: 1px solid transparent;
}

.site-header.scrolled {
    background-color: rgba(13, 17, 23, 0.85);
    /* Dark background from theme */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.brand-logo .logo-img {
    height: 40px;
    transition: transform var(--transition-fast);
}

.brand-logo:hover .logo-img {
    transform: scale(1.05);
}

.main-nav {
    display: block;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-link {
    font-family: var(--font-secondary);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    color: var(--text-light);
    position: relative;
    padding: 0.5rem 0;
    transition: color var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--transition-smooth);
}

.nav-link:hover,
.nav-link.active {
    color: #fff;
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Header actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.mobile-toggle .bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-light);
    margin: 5px 0;
    border-radius: 3px;
    transition: all 0.3s ease-in-out;
}

/* 05. Footer
   ------------------------------------------------------------------- */
.site-footer {
    background-color: var(--footer-bg);
    color: var(--text-light);
    padding: 4rem 0 2rem;
}

.footer-container {
    display: flex;
    flex-direction: column;
}

.footer-main {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2.5rem;
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-column h3 {
    font-family: var(--font-secondary);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #fff;
}

.footer-column ul {
    list-style: none;
}

.footer-column.footer-about p {
    color: #aeb4bb;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.footer-logo .logo-img {
    height: 45px;
    margin-bottom: 1rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    border-radius: 50%;
    text-decoration: none;
    transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.footer-social a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links a,
.footer-contact a {
    color: #aeb4bb;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-links a:hover,
.footer-contact a:hover {
    color: #fff;
}

.footer-contact ul li {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    margin-bottom: 1rem;
    color: #aeb4bb;
}

.footer-contact i {
    color: var(--primary-color);
    margin-top: 5px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.9rem;
    color: #aeb4bb;
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal a {
    color: #aeb4bb;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-legal a:hover {
    color: #fff;
    text-decoration: underline;
}

/* 06. Buttons & Forms
   ------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-secondary);
    font-weight: 700;
    text-decoration: none;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-smooth);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background: var(--primary-gradient);
    color: #fff;
    border-color: var(--primary-color);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 123, 255, 0.3);
}

.btn-outline {
    background-color: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.hero-section .btn-outline {
    color: var(--text-dark);
    border-color: var(--text-dark);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.hero-section .btn-outline:hover {
    background-color: var(--text-dark);
    color: #fff;
}


.btn-light {
    background-color: #fff;
    color: var(--primary-color);
}

.btn-light:hover {
    background-color: #f1f1f1;
    transform: scale(1.05);
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.btn-block {
    width: 100%;
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    background-color: var(--light-bg);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.2);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}


/* 07. Hero Section
   ------------------------------------------------------------------- */
.hero-section {
    position: relative;
    padding: 6rem 0;
    background-color: #fff;
    overflow: hidden;
}

.hero-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-bg-shapes .shape {
    position: absolute;
    border-radius: 50%;
    background: var(--primary-gradient);
    filter: blur(100px);
}

.shape-1 {
    width: 400px;
    height: 400px;
    top: -100px;
    left: -100px;
    opacity: 0.15;
}

.shape-2 {
    width: 300px;
    height: 300px;
    bottom: -50px;
    right: -50px;
    opacity: 0.1;
}

.shape-3 {
    width: 200px;
    height: 200px;
    top: 50%;
    right: 20%;
    opacity: 0.08;
}

.hero-container {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 3rem;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    background-color: rgba(0, 123, 255, 0.1);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-family: var(--font-secondary);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-family: var(--font-secondary);
    font-weight: 700;
    font-size: 1.8rem;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background-color: var(--border-color);
}

.hero-visual {
    perspective: 1500px;
}

.dashboard-mockup {
    background: var(--dark-gradient);
    border-radius: 16px;
    padding: 1rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: rotateY(-15deg) rotateX(10deg);
    transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.mockup-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    color: var(--text-light);
    font-weight: 500;
}

.mockup-header .dots {
    display: flex;
    gap: 4px;
}

.mockup-header .dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.mockup-header .dots span:nth-child(1) {
    background-color: #ff5f56;
}

.mockup-header .dots span:nth-child(2) {
    background-color: #ffbd2e;
}

.mockup-header .dots span:nth-child(3) {
    background-color: #27c93f;
}

.mockup-body {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.mockup-card {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 1rem;
    border-radius: var(--border-radius);
    color: var(--text-light);
}

.mockup-card h4 {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    color: #aeb4bb;
}

.mockup-card p {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-secondary);
}

.chart-bars {
    display: flex;
    align-items: flex-end;
    height: 50px;
    gap: 0.5rem;
}

.bar {
    width: 100%;
    background: var(--primary-gradient);
    border-radius: 3px;
}

.h-20 {
    height: 20%;
}

.h-40 {
    height: 40%;
}

.h-70 {
    height: 70%;
}

.h-100 {
    height: 100%;
}

.circle-chart {
    position: relative;
    width: 60px;
    height: 60px;
    margin: 0 auto;
}

.circle-chart svg {
    transform: rotate(-90deg);
}

.circle-bg,
.circle {
    fill: none;
    stroke-width: 4;
}

.circle-bg {
    stroke: rgba(255, 255, 255, 0.2);
}

.circle {
    stroke: var(--secondary-color);
    stroke-linecap: round;
}

.circle-chart span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 0.8rem;
    font-weight: 600;
}

.floating-slow {
    animation: float 6s ease-in-out infinite;
}

.floating-fast {
    animation: float 4s ease-in-out infinite;
}


/* 08. Trusted By Section (Logo Cloud)
   ------------------------------------------------------------------- */
.trusted-by-section {
    padding: 2rem 0;
    background-color: var(--light-bg);
}

.section-eyebrow {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 2rem;
}

.logo-cloud {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.logo-cloud img {
    height: 28px;
    opacity: 0.6;
    filter: grayscale(100%);
    transition: opacity var(--transition-fast), filter var(--transition-fast);
}

.logo-cloud img:hover {
    opacity: 1;
    filter: grayscale(0%);
}


/* 09. Services Section
   ------------------------------------------------------------------- */
.services-section {
    background-color: #fff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--card-bg);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

.card-icon {
    display: inline-flex;
    width: 70px;
    height: 70px;
    justify-content: center;
    align-items: center;
    background: var(--primary-gradient);
    color: #fff;
    font-size: 1.8rem;
    border-radius: 50%;
    margin-bottom: 1.5rem;
}

.card-title {
    font-family: var(--font-secondary);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.card-description {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.card-link {
    font-family: var(--font-secondary);
    font-weight: 700;
    text-decoration: none;
    color: var(--primary-color);
    transition: color var(--transition-fast);
}

.card-link i {
    transition: transform var(--transition-fast);
    display: inline-block;
}

.card-link:hover i {
    transform: translateX(5px);
}

/* 10. Industries Section (Tabs)
   ------------------------------------------------------------------- */
.industries-section {
    background-color: var(--light-bg);
}

.industries-tabs-wrapper {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    padding: 1rem;
}

.industry-tabs {
    display: flex;
    justify-content: center;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.tab-link {
    padding: 1rem 2rem;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-secondary);
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-muted);
    position: relative;
    transition: color var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tab-link::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transition: transform var(--transition-smooth);
}

.tab-link:hover {
    color: var(--primary-color);
}

.tab-link.active {
    color: var(--text-dark);
}

.tab-link.active::after {
    transform: scaleX(1);
}

.tab-content {
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    padding: 1rem 2rem;
    animation: fadeIn 0.5s ease-in-out;
}

.tab-content.active {
    display: grid;
}

.content-text h3 {
    font-family: var(--font-secondary);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.content-text p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.content-text ul {
    list-style: none;
}

.content-text ul li {
    margin-bottom: 0.5rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.content-text ul li i {
    color: var(--secondary-color);
}

.content-image img {
    max-width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}


/* 11. ROI Calculator Section
   ------------------------------------------------------------------- */
.roi-calculator-section {
    background: var(--dark-gradient);
    color: var(--text-light);
}

.roi-calculator-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.roi-form-container {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.roi-form-container .form-group label {
    color: #aeb4bb;
}

.roi-form-container .form-group input {
    background-color: rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.roi-form-container .form-group input:focus {
    background-color: rgba(0, 0, 0, 0.3);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.3);
}

.roi-results {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.roi-results h4 {
    color: #aeb4bb;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.roi-figure {
    font-family: var(--font-secondary);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--secondary-color);
}

/* 12. Reports Section
   ------------------------------------------------------------------- */
.reports-section {
    background-color: #fff;
}

.reports-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.report-viewer {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.report-header {
    display: flex;
    background-color: var(--light-bg);
}

.report-tab {
    flex: 1;
    padding: 1rem 1.5rem;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    font-family: var(--font-secondary);
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-muted);
    transition: color var(--transition-fast), border-color var(--transition-fast);
}

.report-tab:hover {
    color: var(--primary-color);
}

.report-tab.active {
    color: var(--text-dark);
    border-bottom-color: var(--primary-color);
}

.report-body {
    padding: 1rem;
}

.report-content {
    display: none;
    animation: fadeIn 0.5s;
}

.report-content.active {
    display: block;
}

.report-content img {
    max-width: 100%;
    border-radius: var(--border-radius);
}

/* 13. Testimonials Section (Slider)
   ------------------------------------------------------------------- */
.testimonials-section {
    background-color: var(--light-bg);
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '\f10d';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 50px;
    left: 50px;
    font-size: 10rem;
    color: rgba(0, 123, 255, 0.05);
    z-index: 0;
}

.testimonial-slider-wrapper {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-slider {
    display: flex;
    overflow: hidden;
}

.testimonial-card {
    flex: 0 0 100%;
    background-color: #fff;
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    transition: opacity 0.5s, transform 0.5s;
    opacity: 0;
    transform: scale(0.95);
    position: absolute;
    width: 100%;
    left: 0;
    top: 0;
}

.testimonial-card.active {
    opacity: 1;
    transform: scale(1);
    position: relative;
}

.testimonial-quote {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.author-name {
    display: block;
    font-family: var(--font-secondary);
    font-weight: 700;
}

.author-title {
    color: var(--text-muted);
}

.slider-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 110%;
    left: -5%;
    display: flex;
    justify-content: space-between;
}

.slider-btn {
    width: 50px;
    height: 50px;
    background-color: #fff;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    font-size: 1.2rem;
    color: var(--text-dark);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.slider-btn:hover {
    background: var(--primary-gradient);
    color: #fff;
    border-color: var(--primary-color);
    transform: scale(1.1);
}

/* 14. CTA Section
   ------------------------------------------------------------------- */
.cta-section {
    padding: 5rem 0;
    background: var(--dark-gradient);
    color: var(--text-light);
}

.cta-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.cta-title {
    font-family: var(--font-secondary);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.cta-description {
    max-width: 600px;
    color: #aeb4bb;
    font-size: 1.1rem;
}

.cta-action {
    flex-shrink: 0;
}

/* 15. Page-Specific Styles (Contact, Legal)
   ------------------------------------------------------------------- */
.page-header-section {
    padding: 5rem 0;
    background-color: #fff;
}

.page-title {
    font-family: var(--font-secondary);
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1rem;
}

.page-description {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
}

/* Contact Page */
.contact-page-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    background-color: var(--card-bg);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

.contact-info-block h3,
.contact-form-block h3 {
    font-family: var(--font-secondary);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.contact-info-block p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.contact-info-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.info-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 123, 255, 0.1);
    color: var(--primary-color);
    font-size: 1.5rem;
    border-radius: 50%;
}

.info-text h4 {
    font-family: var(--font-secondary);
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
}

.info-text p,
.info-text a {
    color: var(--text-muted);
    text-decoration: none;
}

.info-text a:hover {
    color: var(--primary-color);
}

/* Legal Pages */
.legal-content-section {
    background-color: #fff;
}

.legal-content-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--card-bg);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

.legal-content-wrapper h2 {
    font-family: var(--font-secondary);
    font-size: 1.8rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.legal-content-wrapper p,
.legal-content-wrapper li {
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.legal-content-wrapper a {
    color: var(--primary-color);
    text-decoration: none;
}

.legal-content-wrapper a:hover {
    text-decoration: underline;
}

.legal-content-wrapper ul {
    list-style-position: inside;
    padding-left: 1rem;
}

/* 16. Interactive Elements (Back to Top, Chat, Popup)
   ------------------------------------------------------------------- */
/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--primary-gradient);
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    text-decoration: none;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-smooth);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: scale(1.1);
}

/* Live Chat */
.live-chat-widget {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    z-index: 998;
}

.chat-bubble {
    width: 60px;
    height: 60px;
    background: var(--primary-gradient);
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    transition: transform var(--transition-fast);
}

.chat-bubble:hover {
    transform: scale(1.1);
}

.chat-window {
    position: absolute;
    bottom: 80px;
    left: 0;
    width: 320px;
    background-color: #fff;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-smooth);
}

.live-chat-widget.open .chat-window {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.chat-header {
    background: var(--dark-gradient);
    color: #fff;
    padding: 1rem;
}

.chat-header h4 {
    font-family: var(--font-secondary);
}

.chat-header span {
    font-size: 0.9rem;
    opacity: 0.8;
}

.chat-body {
    padding: 1rem;
    height: 200px;
    overflow-y: auto;
}

.chat-footer {
    display: flex;
    border-top: 1px solid var(--border-color);
}

.chat-footer input {
    flex-grow: 1;
    border: none;
    padding: 1rem;
    outline: none;
}

.chat-footer button {
    background: none;
    border: none;
    padding: 0 1rem;
    font-size: 1.2rem;
    color: var(--primary-color);
    cursor: pointer;
}

/* Contact Form Popup */
.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-fast), visibility var(--transition-fast);
}

.popup.show {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    background-color: #fff;
    padding: 3rem;
    border-radius: var(--border-radius);
    text-align: center;
    position: relative;
    max-width: 450px;
    transform: scale(0.9);
    transition: transform var(--transition-smooth);
}

.popup.show .popup-content {
    transform: scale(1);
}

.popup-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    color: var(--text-muted);
    cursor: pointer;
}

.popup-icon {
    font-size: 4rem;
    color: #27c93f;
    margin-bottom: 1rem;
}

.popup-content h3 {
    font-family: var(--font-secondary);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.popup-content p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

/* 17. Animations & Keyframes
   ------------------------------------------------------------------- */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Reveal on scroll animations */
.reveal-up,
.reveal-left,
.reveal-right {
    opacity: 0;
    transition: opacity 0.8s var(--transition-smooth), transform 0.8s var(--transition-smooth);
    transition-delay: var(--reveal-delay, 0s);
}

.reveal-up {
    transform: translateY(50px);
}

.reveal-left {
    transform: translateX(-50px);
}

.reveal-right {
    transform: translateX(50px);
}

.revealed {
    opacity: 1;
    transform: translate(0, 0);
}

/* 18. Media Queries (Responsiveness)
   ------------------------------------------------------------------- */
/* Tablets and larger mobile devices */
@media (max-width: 992px) {
    :root {
        --section-padding: 60px;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background-color: var(--dark-bg);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.5s var(--transition-smooth);
    }

    .main-nav.active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        text-align: center;
    }

    .mobile-toggle {
        display: block;
    }

    .mobile-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .mobile-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .mobile-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        order: 2;
    }

    .hero-visual {
        order: 1;
        margin-bottom: 2rem;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons,
    .hero-stats {
        justify-content: center;
    }

    .roi-calculator-wrapper {
        grid-template-columns: 1fr;
    }

    .contact-page-wrapper {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .tab-content {
        grid-template-columns: 1fr;
    }

    .content-image {
        display: none;
    }

    /* Hide image on smaller tab views */
}

/* Small mobile devices */
@media (max-width: 576px) {
    :root {
        --header-height: 70px;
        --section-padding: 50px;
    }

    .header-actions .btn {
        display: none;
    }

    .footer-main {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-legal {
        justify-content: center;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-description {
        font-size: 1.1rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .stat-divider {
        display: none;
    }

    .industry-tabs {
        justify-content: flex-start;
        overflow-x: auto;
        white-space: nowrap;
    }

    .tab-link {
        padding: 1rem;
        font-size: 1rem;
    }

    .slider-controls {
        display: none;
    }

    /* Hide arrows on mobile, rely on swipe */
    .testimonial-card {
        padding: 2rem;
    }

    .cta-container {
        text-align: center;
        justify-content: center;
    }

    .cta-action {
        margin-top: 1.5rem;
    }

    .live-chat-widget {
        display: none;
    }

    /* Hide chat on small screens for better UX */
    .back-to-top {
        width: 45px;
        height: 45px;
        bottom: 1rem;
        right: 1rem;
    }
}