/* ---
TABLE OF CONTENTS
1.  :root Variables & Base Styles
2.  Global Styles & Utility Classes
3.  Page Wrapper
4.  3D Background & Cursor
5.  Header & Navigation
6.  Mobile Navigation
7.  Buttons & Forms
8.  Main Content & Sections
9.  Hero Section
10. Services Section
11. About Section
12. Industries Section
13. Dashboard Section
14. Testimonials Section
15. Subpage Specific Styles (Legal, Contact)
16. Contact Page
17. Footer
18. Animations & Keyframes
19. Live Chat Widget
20. Responsive Design (Media Queries)
--- */

/* 1. :root Variables & Base Styles
-------------------------------------------------- */
:root {
    --color-primary: #00ffff;
    /* Cyan */
    --color-primary-dark: #00c4c4;
    --color-secondary: #ff00ff;
    /* Magenta for accents */
    --color-background: #030408;
    --color-surface-1: #0a0f1f;
    --color-surface-2: #141a32;
    --color-border: rgba(0, 255, 255, 0.2);
    --color-text-primary: #e0e0e0;
    --color-text-secondary: #a0a0b0;
    --color-white: #ffffff;

    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Roboto Mono', monospace;

    --header-height: 80px;
    --border-radius: 8px;
    --transition-speed: 0.3s;
    --container-width: 1200px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--color-background);
    color: var(--color-text-primary);
    font-family: var(--font-primary);
    line-height: 1.7;
    overflow-x: hidden;
}

/* 2. Global Styles & Utility Classes
-------------------------------------------------- */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    line-height: 1.3;
    color: var(--color-white);
    text-shadow: 0 0 5px rgba(0, 255, 255, 0.2);
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition-speed) ease;
}

a:hover {
    color: var(--color-primary-dark);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    color: transparent;
    -webkit-text-stroke: 1px var(--color-primary);
    background-image: linear-gradient(var(--color-primary), var(--color-primary));
    background-repeat: no-repeat;
    -webkit-background-clip: text;
    background-clip: text;
    background-position: -500px 0;
    animation: scan-text-reveal linear forwards;
    animation-timeline: view();
    animation-range-start: entry 0%;
    animation-range-end: exit 50%;
}

@keyframes scan-text-reveal {
    to {
        background-position: 500px 0;
    }
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* 3. Page Wrapper
-------------------------------------------------- */
.page-wrapper {
    position: relative;
    z-index: 1;
    width: 100%;
    overflow-x: hidden;
}

/* 4. 3D Background & Cursor
-------------------------------------------------- */
.grid-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-image:
        linear-gradient(to right, rgba(0, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(0, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -2;
    animation: moveGrid 60s linear infinite;
    transform: perspective(600px) rotateX(60deg);
}

.glow-cursor {
    position: fixed;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 255, 255, 0.08) 0%, rgba(0, 255, 255, 0) 60%);
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease-out;
}

/* 5. Header & Navigation
-------------------------------------------------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    transition: background-color var(--transition-speed) ease, backdrop-filter var(--transition-speed) ease;
    background-color: rgba(10, 15, 31, 0.5);
    backdrop-filter: blur(5px);
}

.header.scrolled {
    background-color: rgba(10, 15, 31, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    height: 80px;
    filter: brightness(0) invert(1);
    width: auto;
    transition: transform var(--transition-speed) ease;
}

.logo:hover {
    transform: scale(1.05);
}

.nav-list {
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    color: var(--color-text-primary);
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--color-primary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--transition-speed) ease-out;
}

.nav-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 22px;
    position: relative;
    z-index: 1001;
}

.bar {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--color-white);
    transition: all 0.3s ease;
}

.bar-top {
    top: 0;
}

.bar-middle {
    top: 50%;
    transform: translateY(-50%);
}

.bar-bottom {
    bottom: 0;
}

.mobile-nav-open .bar-top {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.mobile-nav-open .bar-middle {
    opacity: 0;
}

.mobile-nav-open .bar-bottom {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
}

/* 6. Mobile Navigation
-------------------------------------------------- */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 300px;
    height: 100vh;
    background-color: var(--color-surface-1);
    z-index: 1001;
    transition: right 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    padding: calc(var(--header-height) + 2rem) 2rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-left: 1px solid var(--color-border);
}

.mobile-nav.open {
    right: 0;
}

.mobile-nav nav ul li {
    margin-bottom: 2rem;
    text-align: center;
}

.mobile-nav nav ul li a {
    font-size: 1.2rem;
    color: var(--color-white);
    font-weight: 500;
}

/* 7. Buttons & Forms
-------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.8rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-family: var(--font-primary);
    cursor: pointer;
    border: 2px solid transparent;
    transition: all var(--transition-speed) ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-background);
    border-color: var(--color-primary);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--color-primary);
    box-shadow: 0 0 15px var(--color-primary);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-white);
    border: 1px solid var(--color-border);
}

.btn-secondary:hover {
    background-color: var(--color-surface-2);
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.btn i {
    transition: transform var(--transition-speed) ease;
}

.btn:hover i {
    transform: translateX(4px);
}

.header-cta.active {
    box-shadow: 0 0 15px var(--color-primary);
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--color-text-secondary);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.8rem 1rem;
    background-color: var(--color-surface-1);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    color: var(--color-text-primary);
    font-family: var(--font-primary);
    transition: border-color var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%2300ffff' 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;
}

/* 8. Main Content & Sections
-------------------------------------------------- */
main {
    padding-top: var(--header-height);
}

section {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

/* Scroll Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(50px) perspective(1000px) rotateX(-20deg);
    transition: opacity 0.8s cubic-bezier(0.165, 0.84, 0.44, 1), transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0) perspective(1000px) rotateX(0);
}

.animate-on-scroll:nth-child(2) {
    transition-delay: 0.1s;
}

.animate-on-scroll:nth-child(3) {
    transition-delay: 0.2s;
}

.animate-on-scroll:nth-child(4) {
    transition-delay: 0.3s;
}

.animate-on-scroll:nth-child(5) {
    transition-delay: 0.4s;
}

.animate-on-scroll:nth-child(6) {
    transition-delay: 0.5s;
}

/* 9. Hero Section
-------------------------------------------------- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--header-height);
    margin-top: calc(-1 * var(--header-height));
    position: relative;
}

.hero-content {
    width: 100%;
    position: relative;
    z-index: 2;
}

.hero-main-layout {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    align-items: center;
    gap: 2rem;
}

.hero-text-content {
    text-align: left;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-secondary);
    max-width: 450px;
    margin-bottom: 2.5rem;
    animation-delay: 0.5s;
}

.hero-cta-group {
    display: flex;
    gap: 1rem;
    animation-delay: 0.7s;
}

.animate-fade-in {
    opacity: 0;
    animation: fadeIn 1s ease forwards;
}

.hero-title-wrapper {
    text-align: left;
}

.hero-title {
    font-weight: 800;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: flex;
    flex-direction: column;
}

.title-line {
    font-size: clamp(4rem, 10vw, 8rem);
    color: var(--color-white);
    text-shadow:
        0 0 10px var(--color-primary),
        0 0 20px var(--color-primary),
        0 0 40px var(--color-primary),
        0 0 80px rgba(0, 255, 255, 0.7);
    animation: text-flicker 4s infinite alternate;
}

/* Hero Shapes */
.hero-shapes .shape {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, var(--color-primary) 0%, transparent 70%);
    opacity: 0.1;
    filter: blur(50px);
}

.shape-1 {
    width: 400px;
    height: 400px;
    top: 10%;
    left: 15%;
    animation: float 10s ease-in-out infinite alternate;
}

.shape-2 {
    width: 300px;
    height: 300px;
    bottom: 15%;
    right: 10%;
    animation: float 12s ease-in-out infinite alternate-reverse;
}

.shape-3 {
    width: 200px;
    height: 200px;
    top: 25%;
    right: 25%;
    background: radial-gradient(circle, var(--color-secondary) 0%, transparent 70%);
    animation: float 8s ease-in-out infinite;
}

/* 10. Services Section
-------------------------------------------------- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--color-surface-1);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    padding: 2.5rem 2rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    transform-style: preserve-3d;
}

.service-card:hover {
    transform: translateY(-10px) perspective(1000px) rotateX(5deg) rotateY(-5deg) scale(1.03);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(0, 255, 255, 0.3);
}

.card-border {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: var(--border-radius);
    background: conic-gradient(from 180deg at 50% 50%, var(--color-secondary) 0deg, var(--color-primary) 180deg, var(--color-secondary) 360deg);
    z-index: 0;
    animation: rotate-border 5s linear infinite;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover .card-border {
    opacity: 1;
}

.card-content {
    position: relative;
    z-index: 1;
    background: var(--color-surface-1);
    padding: 1rem;
    margin: 2px;
    border-radius: calc(var(--border-radius) - 2px);
    height: calc(100% - 4px);
    display: flex;
    flex-direction: column;
}

.service-icon {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-description {
    color: var(--color-text-secondary);
    flex-grow: 1;
}

.service-link {
    margin-top: 1.5rem;
    font-weight: 600;
    display: inline-block;
}

/* 11. About Section
-------------------------------------------------- */
.about-section {
    background-color: var(--color-surface-1);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text .section-title {
    text-align: left;
}

.about-stats {
    display: flex;
    gap: 2rem;
    margin: 2rem 0;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    font-family: var(--font-secondary);
    color: var(--color-primary);
}

.stat-label {
    display: block;
    color: var(--color-text-secondary);
}

.about-image-wrapper {
    position: relative;
    perspective: 1500px;
}

.about-image {
    width: 100%;
    padding-bottom: 100%;
    background-image: url('https://plus.unsplash.com/premium_photo-1661762849724-df5bbebb8755?w=500&auto=format&fit=crop&q=60&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxzZWFyY2h8N3x8VGVhbXN8ZW58MHx8MHx8fDA%3D');
    background-size: cover;
    background-position: center;
    border-radius: var(--border-radius);
    border: 2px solid var(--color-border);
    transform: rotateY(20deg) rotateX(10deg);
    box-shadow: -20px 20px 40px rgba(0, 0, 0, 0.5);
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.about-image-wrapper:hover .about-image {
    transform: rotateY(0) rotateX(0);
}

/* 12. Industries Section
-------------------------------------------------- */
.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.industry-item {
    background-color: var(--color-surface-1);
    padding: 2rem;
    text-align: center;
    border: 1px solid transparent;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
    position: relative;
    border-image: linear-gradient(to bottom right, var(--color-border), transparent) 1;
}

.industry-item:hover {
    transform: translateY(-5px);
    background-color: var(--color-surface-2);
    border-image: linear-gradient(to bottom right, var(--color-primary), var(--color-secondary)) 1;
}

.industry-item i {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.industry-item:hover i {
    color: var(--color-white);
}

.industry-item h3 {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

/* 13. Dashboard Section
-------------------------------------------------- */
.dashboard-section {
    background: linear-gradient(to bottom, var(--color-background) 0%, var(--color-surface-1) 100%);
}

.dashboard-wrapper {
    display: flex;
    gap: 2rem;
    background-color: var(--color-surface-1);
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--color-border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.dashboard-main {
    flex: 3;
}

.dashboard-sidebar {
    flex: 1;
    background-color: var(--color-surface-2);
    padding: 1.5rem;
    border-radius: var(--border-radius);
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 1rem;
}

.dashboard-metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.metric-card {
    background-color: var(--color-surface-2);
    padding: 1rem;
    border-radius: var(--border-radius);
    transition: transform 0.3s, background-color 0.3s;
}

.metric-card:hover {
    transform: translateY(-5px);
    background-color: #202848;
}

.metric-card.active {
    border: 1px solid var(--color-primary);
}

.metric-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-white);
}

.metric-change {
    font-weight: 600;
}

.metric-change.positive {
    color: #00ff80;
}

.metric-change.negative {
    color: #ff4d4d;
}

.dashboard-sidebar h4 {
    margin-bottom: 1.5rem;
}

.dashboard-sidebar ul li {
    margin-bottom: 1rem;
}

.channel-name {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background-color: var(--color-surface-1);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.25rem;
}

.progress {
    height: 100%;
    background: linear-gradient(90deg, var(--color-secondary), var(--color-primary));
    border-radius: 4px;
}

.channel-value {
    font-family: var(--font-secondary);
    font-size: 0.9rem;
    color: var(--color-text-secondary);
}

.dashboard-sidebar .btn {
    width: 100%;
    margin-top: 2rem;
}

/* 14. Testimonials Section
-------------------------------------------------- */
.testimonial-slider-wrapper {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial-slider {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.testimonial-card {
    min-width: 100%;
    flex: 0 0 100%;
    box-sizing: border-box;
    padding: 2rem;
    background-color: var(--color-surface-1);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    text-align: center;
}

.testimonial-quote {
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 2rem;
    position: relative;
    padding: 0 2rem;
}

.testimonial-quote::before,
.testimonial-quote::after {
    content: '"';
    font-size: 4rem;
    color: var(--color-primary);
    opacity: 0.2;
    position: absolute;
}

.testimonial-quote::before {
    top: -1rem;
    left: 0;
}

.testimonial-quote::after {
    bottom: -3rem;
    right: 0;
}

.testimonial-author {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.author-info h4 {
    color: var(--color-white);
}

.author-info span {
    color: var(--color-text-secondary);
}

.slider-controls {
    display: flex;
    justify-content: space-between;
    position: absolute;
    top: 50%;
    width: 110%;
    left: -5%;
    transform: translateY(-50%);
    pointer-events: none;
}

.slider-btn {
    background: var(--color-surface-2);
    border: 1px solid var(--color-border);
    color: var(--color-white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: all;
}

.slider-btn:hover {
    background-color: var(--color-primary);
    color: var(--color-background);
}

/* 15. Subpage Specific Styles (Legal, Contact)
-------------------------------------------------- */
body.subpage main {
    padding-top: 0;
    /* Subpages don't need the hero section's negative margin fix */
}

.page-header {
    text-align: center;
    padding: 8rem 0 4rem;
    background: radial-gradient(circle at 50% 0%, var(--color-surface-1) 0%, transparent 80%);
    margin-top: var(--header-height);
}

.page-header h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    position: relative;
}

.page-header h1::before {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    color: var(--color-primary);
    opacity: 0.1;
    filter: blur(10px);
    z-index: -1;
}

.breadcrumbs {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-text-secondary);
    margin-bottom: 2rem;
}

.breadcrumbs a {
    color: var(--color-text-secondary);
}

.breadcrumbs a:hover {
    color: var(--color-primary);
}

.breadcrumbs i {
    font-size: 0.8rem;
}

.page-header .section-description {
    max-width: 700px;
    margin: 0 auto;
    color: var(--color-text-secondary);
}

.page-content {
    padding: 2rem 0 6rem;
}

.content-wrapper {
    background: var(--color-surface-1);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    padding: 3rem;
    max-width: 900px;
    margin: 0 auto;
}

.content-wrapper h2 {
    font-size: 1.8rem;
    color: var(--color-primary);
    margin-top: 2rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 0.5rem;
}

.content-wrapper p,
.content-wrapper ul {
    margin-bottom: 1rem;
    color: var(--color-text-secondary);
}

.content-wrapper ul {
    list-style: disc;
    padding-left: 1.5rem;
}

.content-wrapper ul li {
    margin-bottom: 0.5rem;
}

/* 16. Contact Page
-------------------------------------------------- */
.contact-section {
    padding-top: 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    background: var(--color-surface-1);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    padding: 3rem;
}

.contact-info-panel h2 {
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-top: 2rem;
}

.method-icon {
    font-size: 1.5rem;
    color: var(--color-primary);
    width: 40px;
    text-align: center;
}

.method-details h3 {
    margin-bottom: 0.25rem;
}

.contact-form .form-row {
    display: flex;
    gap: 1.5rem;
}

.form-row .form-group {
    flex: 1;
}

.form-group.full-width {
    width: 100%;
}

.contact-form button {
    width: 100%;
    margin-top: 1rem;
}

/* Popup */
.popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 1002;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.popup:target {
    opacity: 1;
    pointer-events: auto;
}

.popup-content {
    background: var(--color-surface-2);
    padding: 3rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--color-primary);
    text-align: center;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.popup:target .popup-content {
    transform: scale(1);
}

.popup-close,
.popup-close-btn {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2rem;
    color: var(--color-text-secondary);
}

.popup-close-btn {
    position: static;
    display: inline-block;
    margin-top: 1.5rem;
}

.popup-content i {
    font-size: 4rem;
    color: #00ff80;
    margin-bottom: 1rem;
}

/* 17. Footer
-------------------------------------------------- */
.footer {
    background-color: var(--color-surface-1);
    padding: 6rem 0 2rem;
    position: relative;
    border-top: 1px solid var(--color-border);
}

.footer-shapes .footer-shape {
    position: absolute;
    background: var(--color-primary);
    opacity: 0.05;
    filter: blur(100px);
}

.footer-shape.shape-1 {
    width: 400px;
    height: 300px;
    left: 0;
    top: 0;
    border-radius: 100% 0 0 0;
}

.footer-shape.shape-2 {
    width: 300px;
    height: 300px;
    right: 0;
    bottom: 0;
    border-radius: 0 50% 50% 0;
    background: var(--color-secondary);
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-logo {
    height: 80px;
    filter: brightness(0) invert(1);
}

.footer-about-text {
    margin: 1.5rem 0;
    color: var(--color-text-secondary);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    background: var(--color-surface-2);
    border-radius: 50%;
    color: var(--color-text-primary);
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: var(--color-primary);
    color: var(--color-background);
    transform: translateY(-3px);
}

.footer-col-title {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--color-white);
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links ul a {
    color: var(--color-text-secondary);
}

.contact-info li {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.contact-info i {
    color: var(--color-primary);
    margin-top: 4px;
}

.contact-info a,
.contact-info span {
    color: var(--color-text-secondary);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
    color: var(--color-text-secondary);
}

/* 18. Animations & Keyframes
-------------------------------------------------- */
@keyframes moveGrid {
    from {
        background-position: 0 0;
    }

    to {
        background-position: 100px 100px;
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes float {
    0% {
        transform: translateY(0px) scale(1);
    }

    50% {
        transform: translateY(-20px) scale(1.05);
    }

    100% {
        transform: translateY(0px) scale(1);
    }
}

@keyframes text-flicker {

    0%,
    18%,
    22%,
    25%,
    53%,
    57%,
    100% {
        text-shadow:
            0 0 10px rgba(0, 255, 255, 0.9),
            0 0 20px rgba(0, 255, 255, 0.7),
            0 0 35px rgba(0, 255, 255, 0.5),
            0 0 50px rgba(0, 255, 255, 0.3);
    }

    20%,
    24%,
    55% {
        text-shadow: none;
    }
}

@keyframes rotate-border {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* 19. Live Chat Widget
-------------------------------------------------- */
.live-chat-widget {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, var(--color-primary), var(--color-secondary));
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 1.5rem;
    color: var(--color-white);
    cursor: pointer;
    z-index: 998;
    box-shadow: 0 5px 20px rgba(0, 255, 255, 0.3);
    transition: transform 0.3s;
}

.live-chat-widget:hover {
    transform: scale(1.1);
}

/* 20. Responsive Design
-------------------------------------------------- */
@media (max-width: 1024px) {
    .about-content {
        grid-template-columns: 1fr;
    }

    .about-image-wrapper {
        max-width: 500px;
        margin: 0 auto;
    }

    .about-text {
        text-align: center;
    }

    .about-stats {
        justify-content: center;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }

    .nav {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    section {
        padding: 4rem 0;
    }

    .hero {
        min-height: auto;
        padding: 6rem 0;
        text-align: center;
    }

    .hero-main-layout {
        grid-template-columns: 1fr;
    }

    .hero-text-content {
        order: 2;
    }

    .hero-title-wrapper {
        order: 1;
        text-align: center;
        margin-bottom: 2rem;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-cta-group {
        flex-direction: column;
        align-items: center;
    }

    .dashboard-wrapper {
        flex-direction: column;
    }

    .dashboard-metrics {
        grid-template-columns: 1fr 1fr;
    }

    .contact-form .form-row {
        flex-direction: column;
        gap: 0;
    }

    .slider-controls {
        width: 100%;
        left: 0;
    }

    .footer-top {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links,
    .contact-info li {
        justify-content: center;
    }

    .page-header {
        padding: 6rem 0 3rem;
        margin-top: 0;
    }

    .page-header h1 {
        font-size: 2.5rem;
    }

    .content-wrapper,
    .contact-wrapper {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .dashboard-metrics {
        grid-template-columns: 1fr;
    }

    .btn {
        width: 100%;
    }

    .hero-cta-group .btn {
        width: auto;
    }

    .hero-cta-group .btn-secondary {
        margin-top: 1rem;
    }
}