/*
================================================
TABLE OF CONTENTS
================================================
1.  GLOBAL & ROOT VARIABLES
2.  HELPER CLASSES & KEYFRAMES
3.  BASE TYPOGRAPHY & LAYOUT
4.  HEADER & NAVIGATION
5.  MOBILE MENU
6.  FOOTER
7.  BUTTONS & FORMS
8.  HERO SECTION
9.  SERVICES SECTION
10. PROCESS SECTION
11. DATA STREAM SECTION
12. INDUSTRIES SECTION
13. TESTIMONIALS SECTION
14. CTA SECTION
15. PAGE HEADERS (CONTACT/LEGAL)
16. LEGAL & CONTACT PAGE CONTENT
17. POPUP STYLES
18. RESPONSIVE DESIGN (MEDIA QUERIES)
================================================
*/

/* 1. GLOBAL & ROOT VARIABLES
------------------------------------------------*/
:root {
    --color-primary: #FF007F;
    /* Hot Pink */
    --color-secondary: #FFD700;
    /* Gold */
    --color-dark: #141E30;
    /* Navy */
    --color-light: #FFFFFF;
    --color-text: #E0E0E0;
    --color-text-muted: #a0a8b3;
    --color-border: rgba(255, 255, 255, 0.1);
    --color-bg-alt: #1a263d;
    --color-gradient: linear-gradient(90deg, var(--color-primary), var(--color-secondary));

    --font-primary: 'Orbitron', sans-serif;
    --font-secondary: 'Rajdhani', sans-serif;

    --header-height: 80px;
    --border-radius: 8px;
    --transition-speed: 0.3s;

    --shadow-glow: 0 0 15px rgba(255, 0, 127, 0.5), 0 0 30px rgba(255, 0, 127, 0.3);
    --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.3);
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--color-dark);
    color: var(--color-text);
    font-family: var(--font-secondary);
    font-size: 1.1rem;
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Custom Scrollbar */
body::-webkit-scrollbar {
    width: 10px;
}

body::-webkit-scrollbar-track {
    background: var(--color-dark);
}

body::-webkit-scrollbar-thumb {
    background-color: var(--color-primary);
    border-radius: 20px;
    border: 2px solid var(--color-dark);
}

/* 2. HELPER CLASSES & KEYFRAMES
------------------------------------------------*/
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.text-center {
    text-align: center;
}

.text-gradient {
    background: var(--color-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

section {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.section-header {
    margin-bottom: 4rem;
}

.section-subtitle {
    display: block;
    font-family: var(--font-primary);
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    font-size: 1rem;
    font-weight: 700;
}

.section-title {
    font-family: var(--font-primary);
    font-size: 2.8rem;
    margin-bottom: 1rem;
    color: var(--color-light);
    line-height: 1.2;
}

.section-description {
    max-width: 600px;
    margin: 0 auto;
    color: var(--color-text-muted);
    font-size: 1.1rem;
}

/* Load & Scroll Animations */
.animate-on-load,
.animate-on-scroll {
    opacity: 0;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-load.visible,
.animate-on-scroll.visible {
    opacity: 1;
}

[data-animation="fade-in-up"] {
    transform: translateY(40px);
}

[data-animation="fade-in-up"].visible {
    transform: translateY(0);
}

[data-animation="fade-in-left"] {
    transform: translateX(-40px);
}

[data-animation="fade-in-left"].visible {
    transform: translateX(0);
}

[data-animation="fade-in-right"] {
    transform: translateX(40px);
}

[data-animation="fade-in-right"].visible {
    transform: translateX(0);
}

[data-animation="zoom-in"] {
    transform: scale(0.8);
}

[data-animation="zoom-in"].visible {
    transform: scale(1);
}

@keyframes pulse {
    50% {
        transform: scale(1.05);
    }
}

@keyframes live-feed-scroll {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-50%);
    }
}

@keyframes sparkline {
    0% {
        transform: scaleX(0);
    }

    100% {
        transform: scaleX(1);
    }
}

/* 3. BASE TYPOGRAPHY & LAYOUT
------------------------------------------------*/
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-primary);
    color: var(--color-light);
    line-height: 1.3;
    font-weight: 700;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition-speed) ease;
}

a:hover {
    color: var(--color-secondary);
}

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
}

/* 4. HEADER & NAVIGATION
------------------------------------------------*/
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 5px 0;
    background: transparent;
    transition: background-color var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.header.scrolled {
    background: rgba(20, 30, 48, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo img {
    height: 70px;
    transition: transform var(--transition-speed) ease;
}

.logo:hover img {
    transform: scale(1.1);
}

.main-nav {
    display: flex;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-link {
    color: var(--color-light);
    font-family: var(--font-secondary);
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--color-gradient);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--transition-speed) ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

.header-actions {
    display: flex;
    align-items: center;
}

/* 5. MOBILE MENU
------------------------------------------------*/
.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
    padding: 10px;
}

.hamburger-box {
    width: 30px;
    height: 24px;
    position: relative;
}

.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after {
    width: 30px;
    height: 3px;
    background-color: var(--color-light);
    border-radius: 3px;
    position: absolute;
    transition: transform 0.25s ease-in-out, background-color 0.25s ease-in-out;
}

.hamburger-inner {
    top: 50%;
    transform: translateY(-50%);
}

.hamburger-inner::before,
.hamburger-inner::after {
    content: '';
    display: block;
}

.hamburger-inner::before {
    top: -10px;
}

.hamburger-inner::after {
    bottom: -10px;
}

.mobile-menu-toggle.active .hamburger-inner {
    background-color: transparent;
}

.mobile-menu-toggle.active .hamburger-inner::before {
    transform: translateY(10px) rotate(45deg);
}

.mobile-menu-toggle.active .hamburger-inner::after {
    transform: translateY(-10px) rotate(-45deg);
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--color-dark);
    z-index: 999;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-nav-list {
    text-align: center;
}

.mobile-nav-list li {
    margin: 2.5rem 0;
}

.mobile-nav-link {
    color: var(--color-light);
    font-size: 2rem;
    font-family: var(--font-primary);
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.mobile-menu.active .mobile-nav-link {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu.active .mobile-nav-list li:nth-child(1) .mobile-nav-link {
    transition-delay: 0.2s;
}

.mobile-menu.active .mobile-nav-list li:nth-child(2) .mobile-nav-link {
    transition-delay: 0.3s;
}

.mobile-menu.active .mobile-nav-list li:nth-child(3) .mobile-nav-link {
    transition-delay: 0.4s;
}

.mobile-menu.active .mobile-nav-list li:nth-child(4) .mobile-nav-link {
    transition-delay: 0.5s;
}

.mobile-menu.active .mobile-nav-list li:nth-child(5) .mobile-nav-link {
    transition-delay: 0.6s;
}

/* 6. FOOTER
------------------------------------------------*/
.footer {
    background-color: #0d1524;
    padding: 5rem 0 2rem;
    border-top: 1px solid var(--color-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-logo img {
    height: 80px;
    margin-bottom: 1rem;
}

.footer-tagline {
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
    max-width: 300px;
}

.footer-socials {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid var(--color-border);
    border-radius: 50%;
    color: var(--color-text-muted);
    transition: all var(--transition-speed) ease;
}

.social-link:hover {
    color: var(--color-light);
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    transform: translateY(-3px);
}

.footer-heading {
    font-family: var(--font-primary);
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    text-transform: capitalize;
    color: var(--color-light);
}

.footer-list li {
    margin-bottom: 0.8rem;
}

.footer-list a {
    color: var(--color-text-muted);
    font-weight: 500;
}

.footer-list a:hover {
    color: var(--color-light);
    padding-left: 5px;
}

.contact-list span {
    color: var(--color-text-muted);
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.contact-list i {
    color: var(--color-primary);
    width: 20px;
    text-align: center;
}

.footer-bottom {
    border-top: 1px solid var(--color-border);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--color-text-muted);
}

.footer-legal-links a {
    margin-left: 1.5rem;
    color: var(--color-text-muted);
}

.footer-legal-links a:hover {
    color: var(--color-light);
}

/* 7. BUTTONS & FORMS
------------------------------------------------*/
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-family: var(--font-primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.9rem 2rem;
    border-radius: var(--border-radius);
    border: 2px solid transparent;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all var(--transition-speed) ease;
    font-size: 0.9rem;
}

.btn span {
    z-index: 2;
}

.btn i {
    z-index: 2;
}

.btn-primary {
    background: var(--color-gradient);
    color: var(--color-light);
}

.btn-primary:hover {
    box-shadow: var(--shadow-glow);
    transform: translateY(-3px);
}

.btn-secondary {
    background: transparent;
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.btn-secondary:hover {
    background: var(--color-primary);
    color: var(--color-light);
    transform: translateY(-3px);
}

.btn-lg {
    padding: 1.1rem 2.5rem;
    font-size: 1rem;
}

.btn-block {
    width: 100%;
}

/* Form Styles */
.contact-form .form-group {
    position: relative;
    margin-bottom: 2rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    background-color: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    color: var(--color-light);
    font-family: var(--font-secondary);
    font-size: 1rem;
    transition: all var(--transition-speed) ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 10px rgba(255, 0, 127, 0.5);
}

.contact-form label {
    position: absolute;
    top: 1rem;
    left: 1rem;
    color: var(--color-text-muted);
    pointer-events: none;
    transition: all var(--transition-speed) ease;
    font-size: 1rem;
}

.contact-form input:focus+label,
.contact-form input:not(:placeholder-shown)+label,
.contact-form textarea:focus+label,
.contact-form textarea:not(:placeholder-shown)+label {
    top: -0.75rem;
    left: 0.75rem;
    font-size: 0.8rem;
    color: var(--color-primary);
    background-color: var(--color-dark);
    padding: 0 0.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

/* 8. HERO SECTION
------------------------------------------------*/
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--header-height);
    background: radial-gradient(circle at 50% 50%, #1a263d, var(--color-dark));
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 15% 80%, rgba(255, 0, 127, 0.1) 0%, transparent 30%),
        radial-gradient(circle at 85% 20%, rgba(255, 215, 0, 0.1) 0%, transparent 30%);
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 3rem;
}

.hero-subtitle {
    display: block;
    color: var(--color-secondary);
    font-family: var(--font-primary);
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--color-text-muted);
    max-width: 500px;
    margin-bottom: 2.5rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
}

.hero-3d-card-wrapper {
    perspective: 1500px;
}

.hero-3d-card {
    background: rgba(26, 38, 61, 0.5);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 2rem;
    transform-style: preserve-3d;
    transition: transform 0.1s ease-out;
    position: relative;
    box-shadow: var(--shadow-card);
    backdrop-filter: blur(10px);
}

.hero-3d-card-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 16px;
    background: radial-gradient(circle at var(--mouse-x) var(--mouse-y), rgba(255, 255, 255, 0.1), transparent 40%);
    opacity: 0;
    transition: opacity var(--transition-speed) ease;
}

.hero-3d-card-wrapper:hover .hero-3d-card-glow {
    opacity: 1;
}

.hero-3d-card-content {
    transform: translateZ(50px);
}

.card-top {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 1rem;
}

.card-icon {
    font-size: 1.5rem;
    color: var(--color-primary);
}

.card-top h3 {
    font-size: 1.2rem;
}

.card-stat {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.card-label {
    color: var(--color-text-muted);
}

.card-value {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    color: var(--color-secondary);
}

.card-sparkline {
    width: 80px;
    height: 30px;
    background-image: linear-gradient(to right, transparent, var(--color-primary) 50%, transparent);
    background-size: 200% 2px;
    background-repeat: no-repeat;
    background-position: left center;
    animation: sparkline 1.5s ease-in-out infinite;
    transform-origin: left;
}

.card-sparkline.reverse {
    background-image: linear-gradient(to right, transparent, var(--color-secondary) 50%, transparent);
    animation-direction: reverse;
}

/* 9. SERVICES SECTION
------------------------------------------------*/
.services-section {
    background-color: var(--color-bg-alt);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--color-dark);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all var(--transition-speed) ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(transparent, var(--color-primary), transparent 30%);
    animation: rotate 4s linear infinite;
    opacity: 0;
    transition: opacity var(--transition-speed) ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-color: var(--color-primary);
}

.service-card:hover::before {
    opacity: 1;
}

@keyframes rotate {
    100% {
        transform: rotate(360deg);
    }
}

.service-card-icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--color-gradient);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    color: var(--color-light);
    transition: transform var(--transition-speed) ease;
}

.service-card:hover .service-card-icon-wrapper {
    transform: scale(1.1);
}

.service-card-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-card-description {
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
}

.service-card-link {
    font-family: var(--font-primary);
    font-weight: 700;
    color: var(--color-secondary);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.service-card-link i {
    transition: transform var(--transition-speed) ease;
}

.service-card:hover .service-card-link i {
    transform: translateX(5px);
}

/* 10. PROCESS SECTION
------------------------------------------------*/
.process-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.process-timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background: var(--color-gradient);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
    z-index: 1;
}

.process-step {
    padding: 10px 40px;
    position: relative;
    width: 50%;
}

.process-step:nth-child(odd) {
    left: 0;
    text-align: right;
}

.process-step:nth-child(even) {
    left: 50%;
    text-align: left;
}

.process-step::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background-color: var(--color-dark);
    border: 4px solid var(--color-primary);
    top: 25px;
    border-radius: 50%;
    z-index: 2;
    transition: all var(--transition-speed) ease;
}

.process-step:nth-child(even)::after {
    left: -10px;
}

.process-step:hover::after {
    background-color: var(--color-primary);
    transform: scale(1.2);
}

.process-step-content {
    padding: 2rem;
    background-color: var(--color-bg-alt);
    border-radius: var(--border-radius);
    border: 1px solid var(--color-border);
}

.process-step-number {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--color-primary);
    opacity: 0.3;
}

.process-step-title {
    font-size: 1.6rem;
    margin-top: -1rem;
    margin-bottom: 0.5rem;
}

/* 11. DATA STREAM SECTION
------------------------------------------------*/
.data-stream-section {
    background: var(--color-bg-alt) url('data:image/svg+xml,%3Csvg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="none" fill-rule="evenodd"%3E%3Cg fill="%23ff007f" fill-opacity="0.05"%3E%3Cpath d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/%3E%3C/g%3E%3C/g%3E%3C/svg%3E');
}

.data-stream-wrapper {
    background: rgba(20, 30, 48, 0.7);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 1rem;
    box-shadow: var(--shadow-card);
    backdrop-filter: blur(5px);
}

.data-panel {
    display: grid;
    grid-template-columns: repeat(3, 1fr) 1.5fr;
    gap: 1rem;
}

.data-block {
    background: var(--color-dark);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--color-border);
}

.data-block-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--color-text-muted);
    margin-bottom: 1rem;
}

.data-block-header h4 {
    color: var(--color-text-muted);
    font-size: 1rem;
    font-weight: 600;
}

.data-block-value {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--color-light);
    margin-bottom: 1rem;
}

.data-block-chart {
    height: 50px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.data-block-chart .bar {
    position: absolute;
    bottom: 0;
    width: 10%;
    background: var(--color-gradient);
    border-radius: 2px 2px 0 0;
    opacity: 0.7;
    animation: chart-grow 2s ease-out forwards;
}

@keyframes chart-grow {
    from {
        height: 0;
    }
}

.live-feed {
    grid-column: 4 / 5;
    grid-row: 1 / 3;
}

.feed-list {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.feed-list li {
    padding: 0.5rem 0;
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.feed-list li span {
    color: var(--color-secondary);
    font-weight: 700;
    margin-right: 0.5rem;
}

.feed-list-inner {
    animation: live-feed-scroll 20s linear infinite;
}

/* 12. INDUSTRIES SECTION
------------------------------------------------*/
.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
}

.industry-item {
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    transition: all var(--transition-speed) ease;
}

.industry-item:hover {
    transform: scale(1.05);
    background: var(--color-dark);
    border-color: var(--color-primary);
    box-shadow: 0 0 20px rgba(255, 0, 127, 0.4);
}

.industry-item i {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: var(--color-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.industry-item h3 {
    font-size: 1.1rem;
    font-weight: 600;
}

/* 13. TESTIMONIALS SECTION
------------------------------------------------*/
.testimonials-section {
    background-color: var(--color-bg-alt);
}

.testimonial-slider-wrapper {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.testimonial-slider {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.testimonial-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.testimonial-slide.active {
    opacity: 1;
    transform: translateX(0);
}

.testimonial-slide.exit {
    transform: translateX(-30px);
}

.testimonial-quote {
    font-family: var(--font-primary);
    font-size: 1.4rem;
    line-height: 1.5;
    margin-bottom: 2rem;
    font-weight: 500;
}

.testimonial-quote::before {
    content: '“';
    font-size: 4rem;
    color: var(--color-primary);
    opacity: 0.3;
    position: absolute;
    top: -1rem;
    left: 50%;
    transform: translateX(-50%);
}

.author-name {
    font-size: 1.2rem;
    color: var(--color-secondary);
}

.author-title {
    color: var(--color-text-muted);
}

.slider-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
}

.slider-btn {
    background: transparent;
    border: 1px solid var(--color-border);
    color: var(--color-text-muted);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
}

.slider-btn:hover {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-light);
}

.slider-dots {
    display: flex;
    gap: 1rem;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--color-border);
    cursor: pointer;
    transition: all var(--transition-speed) ease;
}

.slider-dot.active {
    background: var(--color-primary);
    transform: scale(1.2);
}

/* 14. CTA SECTION
------------------------------------------------*/
.cta-section {
    background: var(--color-dark);
    padding: 5rem 0;
}

.cta-container {
    background: var(--color-gradient);
    border-radius: 16px;
    padding: 4rem;
    text-align: center;
}

.cta-title {
    font-size: 2.8rem;
    color: var(--color-dark);
    margin-bottom: 1rem;
}

.cta-title .text-gradient {
    /* Override for dark text */
    background: var(--color-light);
    -webkit-background-clip: text;
    background-clip: text;
}

.cta-description {
    max-width: 600px;
    margin: 0 auto 2rem;
    color: #111;
    font-size: 1.1rem;
}

.cta-section .btn-primary {
    background: var(--color-dark);
    color: var(--color-light);
}

.cta-section .btn-primary:hover {
    background: var(--color-light);
    color: var(--color-dark);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

/* 15. PAGE HEADERS (CONTACT/LEGAL)
------------------------------------------------*/
.page-header-section {
    padding: 10rem 0 6rem;
    text-align: center;
    background: radial-gradient(circle at 50% 100%, #1a263d, var(--color-dark));
    position: relative;
}

.header-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 5% 5%, rgba(255, 0, 127, 0.15) 0%, transparent 30%),
        radial-gradient(circle at 95% 95%, rgba(255, 215, 0, 0.15) 0%, transparent 30%);
    pointer-events: none;
}

.page-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.3rem;
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* 16. LEGAL & CONTACT PAGE CONTENT
------------------------------------------------*/
/* Contact Page */
.contact-section-standalone {
    padding: 6rem 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    background-color: var(--color-bg-alt);
    padding: 4rem;
    border-radius: 16px;
    border: 1px solid var(--color-border);
}

.contact-info .section-header {
    text-align: left;
    margin-bottom: 2rem;
}

.contact-info .section-description {
    margin: 0;
    max-width: none;
}

.contact-details {
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-icon {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    background: var(--color-dark);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    color: var(--color-primary);
    border: 1px solid var(--color-border);
}

.contact-text h3 {
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
}

.contact-text p {
    color: var(--color-text-muted);
    font-weight: 600;
}

.contact-text a {
    color: var(--color-text-muted);
}

.contact-text a:hover {
    color: var(--color-primary);
}

/* Legal Pages */
.legal-content {
    padding: 6rem 0;
}

.legal-article {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    padding: 3rem;
    border-radius: var(--border-radius);
}

.legal-article h2 {
    font-size: 1.8rem;
    color: var(--color-secondary);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--color-border);
}

.legal-article p,
.legal-article li {
    color: var(--color-text-muted);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.legal-article strong {
    color: var(--color-light);
    font-weight: 700;
}

/* 17. POPUP STYLES
------------------------------------------------*/
.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-speed) ease, visibility var(--transition-speed) ease;
}

.popup.active {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    background: var(--color-dark);
    border: 1px solid var(--color-primary);
    padding: 3rem;
    border-radius: 16px;
    text-align: center;
    position: relative;
    width: 90%;
    max-width: 500px;
    transform: scale(0.8);
    transition: transform var(--transition-speed) cubic-bezier(0.18, 0.89, 0.32, 1.28);
}

.popup.active .popup-content {
    transform: scale(1);
}

.popup-close-btn {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2rem;
    color: var(--color-text-muted);
    cursor: pointer;
    line-height: 1;
}

.popup-icon {
    font-size: 4rem;
    color: var(--color-secondary);
    margin-bottom: 1rem;
}

.popup-content h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.popup-content p {
    color: var(--color-text-muted);
    margin-bottom: 2rem;
}

/* 18. RESPONSIVE DESIGN (MEDIA QUERIES)
------------------------------------------------*/

/* Tablets and smaller desktops */
@media (max-width: 992px) {

    .main-nav,
    .header-actions {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        order: 2;
    }

    .hero-3d-card-wrapper {
        order: 1;
        margin-bottom: 3rem;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-description {
        margin: 0 auto 2.5rem;
    }

    .hero-cta {
        justify-content: center;
    }

    .process-timeline::after {
        left: 20px;
    }

    .process-step,
    .process-step:nth-child(even) {
        width: 100%;
        left: 0;
        padding-left: 70px;
        padding-right: 20px;
        text-align: left;
    }

    .process-step:nth-child(odd) {
        text-align: left;
    }

    .process-step::after,
    .process-step:nth-child(even)::after {
        left: 10px;
    }

    .data-panel {
        grid-template-columns: 1fr 1fr;
    }

    .live-feed {
        grid-column: 1 / 3;
        grid-row: auto;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        padding: 2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-about {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-socials {
        justify-content: center;
    }
}

/* Mobile devices */
@media (max-width: 768px) {

    .section-title,
    .cta-title {
        font-size: 2.2rem;
    }

    .page-title {
        font-size: 2.8rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
    }

    .footer-legal-links {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .footer-legal-links a {
        margin-left: 0;
    }

    .data-panel {
        grid-template-columns: 1fr;
    }

    .live-feed {
        grid-column: auto;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .testimonial-quote {
        font-size: 1.2rem;
    }

    .testimonial-slider {
        height: 300px;
    }
}