/*
================================================
TABLE OF CONTENTS
================================================
1.  :root VARIABLES
2.  GENERAL & RESET STYLES
3.  CUSTOM CURSOR
4.  BACKGROUND & THEME
5.  HEADER & NAVIGATION
    - Desktop Header
    - Mobile Navigation
    - Sticky Header
6.  FOOTER
7.  REUSABLE COMPONENTS
    - Buttons
    - Forms
    - Cards
    - Section Styling
    - Popups / Modals
8.  PAGE-SPECIFIC STYLES
    - Home: Hero Section
    - Home: Services Section
    - Home: About/Process Section
    - Home: ROI Calculator Section
    - Home: Testimonials Section
    - Home: CTA Section
    - Subpage: Page Header
    - Subpage: Contact Section
    - Subpage: Legal Pages
9.  ANIMATIONS & KEYFRAMES
10. RESPONSIVE DESIGN (Media Queries)
    - Laptops & Large Tablets (~1200px)
    - Tablets (~992px)
    - Small Tablets & Large Phones (~768px)
    - Mobile Phones (~576px)
================================================
*/

/* 1. :root VARIABLES */
:root {
    --bg-primary: #020412;
    --bg-secondary: #0A0C23;
    --bg-tertiary: #10122B;
    --primary-color: #00A9FF;
    --secondary-color: #0CF3E1;
    --accent-color: #A855F7;
    --text-primary: #E0E1FF;
    --text-secondary: #9a9dd1;
    --border-color: rgba(0, 169, 255, 0.2);
    --shadow-color: rgba(0, 169, 255, 0.1);
    --font-family: 'Poppins', sans-serif;
    --header-height: 80px;
    --border-radius: 12px;
    --transition-speed: 0.3s;
}

/* 2. GENERAL & RESET STYLES */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    cursor: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    line-height: 1.3;
    color: #fff;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    color: var(--text-secondary);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-speed) ease;
    cursor: none;
}

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* 3. CUSTOM CURSOR */
.custom-cursor {
    position: fixed;
    left: 0;
    top: 0;
    width: 32px;
    height: 32px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    transition: all 0.1s ease-out;
    z-index: 9999;
    backdrop-filter: hue-rotate(180deg);
}

.custom-cursor::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: transform 0.2s ease;
}

body:hover .custom-cursor {
    opacity: 1;
}

.custom-cursor.hovered {
    transform: translate(-50%, -50%) scale(1.5);
    background-color: rgba(0, 169, 255, 0.1);
}

.custom-cursor.clicked {
    transform: translate(-50%, -50%) scale(0.8);
    background-color: rgba(0, 169, 255, 0.2);
}

.custom-cursor.hidden {
    display: none;
}

/* 4. BACKGROUND & THEME */
.site-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.background-fibers {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at top left, rgba(0, 169, 255, 0.1), transparent 50%),
        radial-gradient(ellipse at bottom right, rgba(168, 85, 247, 0.1), transparent 50%);
    opacity: 0.5;
    animation: background-pulse 15s infinite alternate;
}

/* 5. HEADER & NAVIGATION */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    transition: all var(--transition-speed) ease;
    border-bottom: 1px solid transparent;
}

.header.sticky {
    background-color: rgba(10, 12, 35, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 0.75rem 0;
    border-bottom-color: var(--border-color);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 45px;
    transition: transform var(--transition-speed) ease;
}

.logo:hover {
    transform: scale(1.05);
}

.nav-list {
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    color: var(--text-primary);
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width var(--transition-speed) ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
    width: 30px;
    height: 22px;
    position: relative;
}

.bar {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #fff;
    border-radius: 3px;
    transition: all 0.35s ease-in-out;
    position: absolute;
}

.bar-top {
    top: 0;
}

.bar-middle {
    top: 50%;
    transform: translateY(-50%);
}

.bar-bottom {
    bottom: 0;
}

.mobile-nav.is-open .bar-top {
    transform: rotate(45deg);
    top: 9px;
}

.mobile-nav.is-open .bar-middle {
    opacity: 0;
}

.mobile-nav.is-open .bar-bottom {
    transform: rotate(-45deg);
    top: 9px;
}

/* Mobile Navigation Panel */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: rgba(2, 4, 18, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
}

.mobile-nav.is-open {
    right: 0;
}

.mobile-nav nav ul {
    text-align: center;
}

.mobile-nav nav li {
    margin: 2.5rem 0;
}

.mobile-nav nav a {
    color: #fff;
    font-size: 1.8rem;
    font-weight: 600;
}

.mobile-nav .btn-primary {
    margin-top: 2rem;
    padding: 1rem 2rem;
    font-size: 1.2rem;
}

/* 6. FOOTER */
.footer {
    background-color: var(--bg-secondary);
    padding-top: 5rem;
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--border-color);
}

.footer-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.footer-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
}

.footer-shape.shape-1 {
    width: 400px;
    height: 400px;
    background-color: rgba(0, 169, 255, 0.15);
    left: -100px;
    top: -100px;
    animation: footer-blob-1 20s infinite alternate;
}

.footer-shape.shape-2 {
    width: 300px;
    height: 300px;
    background-color: rgba(168, 85, 247, 0.1);
    right: -50px;
    bottom: -50px;
    animation: footer-blob-2 18s infinite alternate;
}

.footer .container {
    position: relative;
    z-index: 1;
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--border-color);
}

.footer-logo {
    height: 50px;
    margin-bottom: 1.5rem;
}

.footer-about-text {
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    transition: all var(--transition-speed) ease;
}

.social-link:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--bg-primary);
    transform: translateY(-3px);
}

.footer-col-title {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-col-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.footer-links ul li {
    margin-bottom: 0.75rem;
}

.footer-links ul a {
    color: var(--text-secondary);
}

.footer-links ul a:hover {
    color: var(--text-primary);
    padding-left: 5px;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.contact-info li i {
    color: var(--primary-color);
    margin-top: 5px;
}

.contact-info a {
    color: var(--text-secondary);
}

.contact-info a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    padding: 1.5rem 0;
    text-align: center;
    color: var(--text-secondary);
}

/* 7. REUSABLE COMPONENTS */
/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    border: 2px solid transparent;
    cursor: none;
    transition: all var(--transition-speed) ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn span {
    position: relative;
    z-index: 2;
}

.btn i {
    position: relative;
    z-index: 2;
}

.btn-primary {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    color: var(--bg-primary);
}

.btn-primary:hover {
    box-shadow: 0 0 25px rgba(0, 169, 255, 0.5);
    transform: translateY(-3px);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    z-index: -1;
    opacity: 0;
    transition: opacity var(--transition-speed) ease;
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-primary);
    border-color: var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--bg-primary);
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.8rem 1rem;
    background-color: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    color: var(--text-primary);
    font-family: var(--font-family);
    transition: all var(--transition-speed) ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 15px var(--shadow-color);
}

select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%2300A9FF' class='bi bi-chevron-down' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
}

/* Section Styling */
.section-padding {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    display: inline-block;
    padding: 0.3rem 1rem;
    background-color: rgba(0, 169, 255, 0.1);
    color: var(--primary-color);
    border-radius: 50px;
    font-weight: 600;
    margin-bottom: 1rem;
    border: 1px solid var(--border-color);
}

.section-title {
    margin-bottom: 1rem;
}

.section-description {
    max-width: 700px;
    margin: 0 auto;
}

/* Popups / Modals */
.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(2, 4, 18, 0.8);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    backdrop-filter: blur(5px);
}

.popup:target,
.popup.is-visible {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    background-color: var(--bg-secondary);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    text-align: center;
    position: relative;
    max-width: 500px;
    width: 90%;
    border: 1px solid var(--border-color);
    transform: scale(0.9);
    transition: transform 0.3s;
}

.popup:target .popup-content,
.popup.is-visible .popup-content {
    transform: scale(1);
}

.popup-content.large {
    max-width: 800px;
}

.popup-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2rem;
    color: var(--text-secondary);
}

.popup-content i.fa-check-circle,
.popup-content i.fa-chart-bar {
    font-size: 4rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.popup-content h3 {
    margin-bottom: 1rem;
}

.popup-close-btn {
    margin-top: 1.5rem;
}

.report-image {
    margin-top: 1.5rem;
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

/* 8. PAGE-SPECIFIC STYLES */

/* Home: Hero Section */
.hero-section {
    padding: calc(var(--header-height) + 5rem) 0 6rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0, 169, 255, 0.15) 0%, rgba(0, 169, 255, 0) 60%);
    transform: translate(-50%, -50%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-section .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 3rem;
    position: relative;
}

.hero-content {
    z-index: 2;
}

.hero-content h1 {
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: linear-gradient(90deg, #fff, var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    max-width: 550px;
}

.hero-cta-group {
    display: flex;
    gap: 1.5rem;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
}

.network-sphere {
    width: 300px;
    height: 300px;
    position: relative;
    transform-style: preserve-3d;
    animation: rotate-sphere 30s infinite linear;
}

.sphere-point {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--secondary-color);
}

.sphere-point:nth-child(1) {
    transform: rotateY(0deg) translateZ(150px);
}

.sphere-point:nth-child(2) {
    transform: rotateY(72deg) translateZ(150px);
}

.sphere-point:nth-child(3) {
    transform: rotateY(144deg) translateZ(150px);
}

.sphere-point:nth-child(4) {
    transform: rotateY(216deg) translateZ(150px);
}

.sphere-point:nth-child(5) {
    transform: rotateY(288deg) translateZ(150px);
}

/* Add more points for a denser sphere */

.hero-ring {
    position: absolute;
    border-radius: 50%;
    border: 2px solid var(--border-color);
}

.hero-ring.ring-1 {
    width: 400px;
    height: 400px;
    animation: pulse-ring 4s infinite ease-in-out;
}

.hero-ring.ring-2 {
    width: 500px;
    height: 500px;
    animation: pulse-ring 4s 1s infinite ease-in-out;
}

.hero-ring.ring-3 {
    width: 600px;
    height: 600px;
    animation: pulse-ring 4s 2s infinite ease-in-out;
}

/* Home: Services Section */
.services-section {
    background-color: var(--bg-secondary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--bg-tertiary);
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    transition: all var(--transition-speed) ease;
}

.service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(transparent, rgba(0, 169, 255, 0.3), transparent 30%);
    animation: rotate-gradient 4s linear infinite;
    opacity: 0;
    transition: opacity var(--transition-speed) ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px var(--shadow-color);
    border-color: var(--primary-color);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card::after {
    content: '';
    position: absolute;
    inset: 2px;
    background-color: var(--bg-tertiary);
    border-radius: calc(var(--border-radius) - 2px);
    z-index: 1;
}

.service-icon,
.service-title,
.service-description,
.service-link {
    position: relative;
    z-index: 2;
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    display: inline-block;
}

.service-title {
    margin-bottom: 1rem;
}

.service-description {
    margin-bottom: 1.5rem;
}

.service-link {
    font-weight: 600;
    color: var(--text-primary);
}

.service-link i {
    transition: transform var(--transition-speed) ease;
    margin-left: 0.25rem;
}

.service-card:hover .service-link i {
    transform: translateX(5px);
}

/* Home: About/Process Section */
.about-section {
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
    align-items: center;
}

.process-list {
    margin-top: 2rem;
    position: relative;
}

.process-item {
    display: flex;
    gap: 1.5rem;
    padding: 1rem 0;
    position: relative;
    padding-left: 50px;
    /* Space for the line */
}

.process-item:not(:last-child)::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 50px;
    bottom: -10px;
    width: 2px;
    background: var(--border-color);
}

.process-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    position: absolute;
    left: 0;
    top: 20px;
}

.process-text h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.about-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.process-visual-container {
    position: relative;
    width: 400px;
    height: 400px;
}

.process-node {
    width: 60px;
    height: 60px;
    background-color: var(--bg-tertiary);
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    color: var(--primary-color);
    position: absolute;
    box-shadow: 0 0 20px var(--shadow-color);
    transition: all var(--transition-speed) ease;
}

.process-node:hover {
    background-color: var(--primary-color);
    color: var(--bg-primary);
}

.process-node.node-1 {
    top: 20px;
    left: 20px;
}

.process-node.node-2 {
    top: 170px;
    right: 20px;
}

.process-node.node-3 {
    bottom: 20px;
    right: 80px;
}

.process-node.node-4 {
    bottom: 80px;
    left: 20px;
}

.process-path {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.process-path path {
    stroke: var(--primary-color);
    stroke-width: 1;
    stroke-dasharray: 5 5;
    animation: dash-flow 20s linear infinite;
}

/* Home: ROI Calculator Section */
.roi-section {
    background-color: var(--bg-secondary);
}

.roi-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    background-color: var(--bg-tertiary);
    padding: 4rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

.roi-calculator form {
    margin-bottom: 2rem;
}

.roi-result {
    background-color: var(--bg-secondary);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    text-align: center;
    border: 1px solid var(--border-color);
    display: none;
}

.roi-result p {
    color: var(--text-secondary);
    margin: 0;
}

.roi-result h3 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin: 0.5rem 0 1rem;
}

/* Home: Testimonials Section */
.testimonial-slider-wrapper {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-slider {
    display: flex;
    overflow: hidden;
}

.testimonial-card {
    flex: 0 0 100%;
    padding: 2.5rem;
    background-color: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    text-align: center;
}

.testimonial-quote-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    opacity: 0.5;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.testimonial-author {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.author-name {
    font-size: 1.1rem;
    color: #fff;
}

.author-title {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.slider-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 110%;
    left: -5%;
    display: flex;
    justify-content: space-between;
}

.slider-btn {
    background: rgba(10, 12, 35, 0.5);
    border: 1px solid var(--border-color);
    color: #fff;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
}

.slider-btn:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Home: CTA Section */
.cta-section {
    padding: 6rem 0;
    text-align: center;
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-content .section-title {
    font-size: 2.8rem;
}

.cta-content p {
    margin-bottom: 2.5rem;
}

/* Subpage: Page Header */
.page-header {
    padding: calc(var(--header-height) + 4rem) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    background-color: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
}

.page-header-glow {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at top, rgba(0, 169, 255, 0.15), transparent 70%);
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.breadcrumbs {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
}

.breadcrumbs a {
    color: var(--text-primary);
    font-weight: 500;
}

.breadcrumbs i {
    font-size: 0.8rem;
    color: var(--primary-color);
}

.page-header .section-description {
    margin-top: 1.5rem;
}

/* Subpage: Contact Section */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    background: var(--bg-tertiary);
    padding: 3rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

.contact-info-panel h2 {
    margin-bottom: 1rem;
}

.contact-info-panel p {
    margin-bottom: 2rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.method-icon {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    background: rgba(0, 169, 255, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.method-details h3 {
    font-size: 1.2rem;
}

.method-details p {
    margin: 0;
}

.method-details a {
    color: var(--text-secondary);
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.contact-form .form-group.full-width {
    grid-column: 1 / -1;
}

/* Subpage: Legal Pages */
.legal-page .page-content {
    padding: 4rem 0;
}

.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.content-wrapper h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-color);
    color: var(--primary-color);
}

.content-wrapper p,
.content-wrapper li {
    margin-bottom: 1.5rem;
}

.content-wrapper ul {
    list-style: disc;
    padding-left: 1.5rem;
}

/* 9. ANIMATIONS & KEYFRAMES */
@keyframes background-pulse {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.2);
    }
}

@keyframes footer-blob-1 {
    0% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(50px, 30px) scale(1.1);
    }

    100% {
        transform: translate(0, 0) scale(1);
    }
}

@keyframes footer-blob-2 {
    0% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(-40px, -20px) scale(1.1);
    }

    100% {
        transform: translate(0, 0) scale(1);
    }
}

@keyframes rotate-sphere {
    from {
        transform: rotateY(0deg) rotateX(10deg);
    }

    to {
        transform: rotateY(360deg) rotateX(10deg);
    }
}

@keyframes pulse-ring {
    0% {
        transform: scale(0.95);
        opacity: 0.5;
    }

    70% {
        transform: scale(1.1);
        opacity: 0;
    }

    100% {
        transform: scale(1.1);
        opacity: 0;
    }
}

@keyframes rotate-gradient {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes dash-flow {
    to {
        stroke-dashoffset: -100;
    }
}

/* Scroll Animations */
.animate-in {
    opacity: 0;
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-in.fade-in-up {
    transform: translateY(50px);
}

.animate-in.fade-in-left {
    transform: translateX(-50px);
}

.animate-in.fade-in-right {
    transform: translateX(50px);
}

.animate-in.zoom-in {
    transform: scale(0.9);
}

.animate-in.is-visible {
    opacity: 1;
    transform: translate(0, 0) scale(1);
}

/* 10. RESPONSIVE DESIGN */
@media (max-width: 1200px) {
    .hero-content h1 {
        font-size: 3.8rem;
    }

    .slider-controls {
        width: 100%;
        left: 0;
    }

    .slider-btn {
        background-color: rgba(10, 12, 35, 0.7);
    }
}

@media (max-width: 992px) {
    html {
        font-size: 15px;
    }

    .section-padding {
        padding: 4rem 0;
    }

    .header .nav {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .hero-section .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-visual {
        grid-row: 1;
        margin-bottom: 2rem;
        min-height: 350px;
    }

    .hero-content {
        grid-row: 2;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-cta-group {
        justify-content: center;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-visual {
        margin-top: 3rem;
    }

    .roi-wrapper {
        grid-template-columns: 1fr;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .contact-info-panel {
        text-align: center;
    }

    .contact-methods {
        align-items: center;
    }

    .contact-method {
        flex-direction: column;
        text-align: center;
    }

    .footer-top {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        text-align: center;
    }

    .footer-col {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-col-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .social-links {
        justify-content: center;
    }

    .contact-info li {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.8rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .roi-wrapper {
        padding: 2rem;
    }

    .contact-form .form-row {
        grid-template-columns: 1fr;
    }

    .footer-top {
        text-align: left;
    }

    .footer-col {
        align-items: flex-start;
    }

    .footer-col-title::after {
        left: 0;
        transform: none;
    }

    .social-links {
        justify-content: flex-start;
    }

    .contact-info li {
        justify-content: flex-start;
    }

    .custom-cursor {
        display: none;
    }

    body,
    a {
        cursor: auto;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 1rem;
    }

    .btn {
        padding: 0.7rem 1.4rem;
        font-size: 0.9rem;
    }

    .hero-cta-group {
        flex-direction: column;
        align-items: center;
    }

    .hero-visual {
        min-height: 300px;
    }

    .network-sphere {
        width: 250px;
        height: 250px;
    }

    .sphere-point:nth-child(1) {
        transform: rotateY(0deg) translateZ(125px);
    }

    .sphere-point:nth-child(2) {
        transform: rotateY(72deg) translateZ(125px);
    }

    .sphere-point:nth-child(3) {
        transform: rotateY(144deg) translateZ(125px);
    }

    .sphere-point:nth-child(4) {
        transform: rotateY(216deg) translateZ(125px);
    }

    .sphere-point:nth-child(5) {
        transform: rotateY(288deg) translateZ(125px);
    }

    .hero-ring.ring-1 {
        width: 300px;
        height: 300px;
    }

    .hero-ring.ring-2 {
        width: 380px;
        height: 380px;
    }

    .hero-ring.ring-3 {
        width: 460px;
        height: 460px;
    }

    .slider-btn {
        display: none;
    }

    /* Hide controls on mobile, rely on swipe */
    .contact-wrapper {
        padding: 1.5rem;
    }
}