/* ==========================================================================
   Base & Variables (Holographic Deep-Tech Theme)
   ========================================================================== */
:root {
    --bg-color: #080112;
    --surface-color: #120429;
    --surface-hover: #1c083d;
    --primary: #FF00A0;
    /* Neon Pink */
    --secondary: #00F0FF;
    /* Cyan */
    --tertiary: #7000FF;
    /* Neon Purple */
    --text-main: #FFFFFF;
    --text-muted: #A09DB0;
    --border-color: rgba(255, 255, 255, 0.1);
    --header-height: 90px;
    --font-main: 'Manrope', 'Inter', sans-serif;
    --transition-fast: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-slow: 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    --glow-primary: 0 0 20px rgba(255, 0, 160, 0.5);
    --glow-secondary: 0 0 20px rgba(0, 240, 255, 0.5);
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-main);
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
    line-height: 1.6;
    position: relative;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* ==========================================================================
   Fluid Mesh Background
   ========================================================================== */
.mesh-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    background: var(--bg-color);
}

.mesh-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(150px);
    opacity: 0.4;
    animation: meshDrift 20s infinite alternate cubic-bezier(0.4, 0, 0.2, 1);
}

.mesh-1 {
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: var(--tertiary);
    animation-delay: 0s;
}

.mesh-2 {
    bottom: -20%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background: var(--primary);
    animation-delay: -5s;
}

.mesh-3 {
    top: 30%;
    left: 40%;
    width: 40vw;
    height: 40vw;
    background: var(--secondary);
    animation-delay: -10s;
    opacity: 0.2;
}

@keyframes meshDrift {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(10%, 15%) scale(1.2);
    }
}

/* ==========================================================================
   Typography & Utilities
   ========================================================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.holographic-text {
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--tertiary), var(--primary));
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: holoGradient 6s linear infinite;
}

@keyframes holoGradient {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 100% 50%;
    }
}

.section-title {
    text-align: center;
    font-size: 3.8rem;
    margin-bottom: 1.2rem;
    position: relative;
    z-index: 2;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto 4rem;
    font-size: 1.2rem;
    position: relative;
    z-index: 2;
}

/* Gradient Border Button */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: var(--transition-fast);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: var(--bg-color);
    color: var(--text-main);
    border: 2px solid transparent;
    background-clip: padding-box;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: -1;
    margin: -2px;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: opacity 0.3s;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    opacity: 0;
    transition: var(--transition-fast);
}

.btn-primary:hover::after {
    opacity: 1;
}

.btn-primary:hover {
    box-shadow: var(--glow-primary);
    transform: translateY(-3px);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--border-color);
    color: var(--text-main);
}

.btn-outline:hover {
    border-color: var(--secondary);
    box-shadow: var(--glow-secondary);
    transform: translateY(-3px);
}

.container {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

section {
    padding: 8rem 0;
    position: relative;
}

/* ==========================================================================
   Header & Nav (STRICTLY CONSISTENT SITE-WIDE)
   ========================================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(8, 1, 18, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: var(--transition-fast);
}

.site-header.scrolled {
    height: 75px;
    background: rgba(8, 1, 18, 0.95);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo-container img {
    height: 55px;
}

.nav-menu {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-muted);
    transition: var(--transition-fast);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: var(--transition-fast);
}

.nav-link:hover {
    color: var(--text-main);
}

.nav-link:hover::after {
    width: 100%;
    box-shadow: var(--glow-secondary);
}

.header-cta {
    border: 1px solid var(--secondary);
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    color: var(--secondary);
    font-size: 0.9rem;
}

.header-cta::after {
    display: none;
}

.header-cta:hover {
    background: var(--secondary);
    color: var(--bg-color);
    box-shadow: var(--glow-secondary);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
}

.mobile-toggle span {
    width: 30px;
    height: 2px;
    background: var(--text-main);
    transition: var(--transition-fast);
}

/* ==========================================================================
   1. Hero Section (3D CSS Atom)
   ========================================================================== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--header-height);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s ease forwards 0.2s;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s ease forwards 0.4s;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s ease forwards 0.6s;
}

/* 3D Pure CSS Atom / Gyroscope */
.hero-visual {
    position: relative;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
    opacity: 0;
    animation: fadeIn 1s ease forwards 0.8s;
}

.atom {
    position: relative;
    width: 300px;
    height: 300px;
    transform-style: preserve-3d;
    animation: rotateAtom 20s linear infinite;
}

.atom-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 2px solid var(--secondary);
    border-radius: 50%;
    box-shadow: inset 0 0 20px rgba(0, 240, 255, 0.2), 0 0 20px rgba(0, 240, 255, 0.2);
    transform-style: preserve-3d;
}

.atom-ring:nth-child(1) {
    transform: rotateY(0deg) rotateX(60deg);
}

.atom-ring:nth-child(2) {
    transform: rotateY(60deg) rotateX(60deg);
    border-color: var(--primary);
    box-shadow: inset 0 0 20px rgba(255, 0, 160, 0.2), 0 0 20px rgba(255, 0, 160, 0.2);
}

.atom-ring:nth-child(3) {
    transform: rotateY(120deg) rotateX(60deg);
    border-color: var(--tertiary);
    box-shadow: inset 0 0 20px rgba(112, 0, 255, 0.2), 0 0 20px rgba(112, 0, 255, 0.2);
}

.atom-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    box-shadow: 0 0 40px var(--primary);
}

@keyframes rotateAtom {
    0% {
        transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg);
    }

    100% {
        transform: rotateX(360deg) rotateY(360deg) rotateZ(360deg);
    }
}

/* ==========================================================================
   2. Data Ticker Section
   ========================================================================== */
.ticker-section {
    padding: 2rem 0;
    background: var(--surface-color);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
    display: flex;
    white-space: nowrap;
}

.ticker-content {
    display: inline-flex;
    animation: scrollTicker 30s linear infinite;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.ticker-content span {
    margin: 0 3rem;
    display: flex;
    align-items: center;
}

.ticker-content span::before {
    content: '';
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--primary);
    margin-right: 15px;
    box-shadow: var(--glow-primary);
}

@keyframes scrollTicker {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ==========================================================================
   3. Vision & Stats Section
   ========================================================================== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.stat-box {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
    transition: var(--transition-fast);
    overflow: hidden;
}

.stat-box::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 100px;
    height: 100px;
    background: var(--primary);
    filter: blur(60px);
    opacity: 0;
    transition: var(--transition-fast);
}

.stat-box:hover::before {
    opacity: 0.5;
}

.stat-box:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
}

.stat-num {
    font-size: 4rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ==========================================================================
   4. Services (Holographic Cards)
   ========================================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    background: var(--surface-color);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    position: relative;
    z-index: 1;
    transition: var(--transition-slow);
    overflow: hidden;
}

/* Glowing Hover Border Effect */
.service-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(135deg, var(--primary), var(--secondary), var(--tertiary));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: var(--transition-fast);
    z-index: -1;
}

.service-card:hover {
    transform: translateY(-10px);
    background: var(--surface-hover);
}

.service-card:hover::after {
    opacity: 1;
}

.srv-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 2rem;
    color: var(--secondary);
}

.srv-icon svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 10px rgba(0, 240, 255, 0.5));
}

.service-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.srv-link {
    display: inline-flex;
    align-items: center;
    color: var(--text-main);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: var(--transition-fast);
}

.srv-link svg {
    width: 20px;
    height: 20px;
    margin-left: 8px;
    transition: transform 0.3s;
    fill: var(--primary);
}

.service-card:hover .srv-link {
    color: var(--primary);
}

.service-card:hover .srv-link svg {
    transform: translateX(8px);
}

/* ==========================================================================
   5. Interactive Campaign Reports
   ========================================================================== */
.reports-section {
    background: var(--surface-color);
    position: relative;
}

.report-container {
    display: flex;
    gap: 4rem;
    align-items: center;
}

.report-text {
    flex: 1;
}

.report-text ul li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    font-size: 1.1rem;
}

.report-text ul li svg {
    color: var(--secondary);
    margin-right: 15px;
    width: 24px;
    height: 24px;
}

.report-dash {
    flex: 1;
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.dash-header {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
    margin-bottom: 2rem;
}

.dash-header h3 {
    font-size: 1.2rem;
    color: var(--text-muted);
}

.dash-header .metric {
    font-size: 2rem;
    color: var(--secondary);
    font-weight: 800;
    text-shadow: var(--glow-secondary);
}

.chart-bars {
    display: flex;
    align-items: flex-end;
    height: 200px;
    gap: 10px;
}

.bar-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    height: 100%;
}

.bar-fill {
    width: 100%;
    background: linear-gradient(to top, var(--tertiary), var(--secondary));
    border-radius: 4px 4px 0 0;
    height: 0;
    transition: height 1.5s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
}

.bar-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: #fff;
    box-shadow: var(--glow-secondary);
    border-radius: 4px 4px 0 0;
}

.bar-label {
    margin-top: 10px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ==========================================================================
   6. Methodology (Animated Vertical Line)
   ========================================================================== */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
}

.process-line {
    position: absolute;
    top: 40px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--border-color);
    z-index: 0;
}

.process-line-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: width 2s ease;
    box-shadow: var(--glow-secondary);
}

.process-step {
    position: relative;
    z-index: 1;
    padding-top: 2rem;
}

.step-dot {
    width: 80px;
    height: 80px;
    background: var(--surface-color);
    border: 2px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 2rem;
    position: absolute;
    top: 0;
    left: 0;
    transform: translateY(-50%);
    transition: var(--transition-fast);
}

.process-step:hover .step-dot {
    border-color: var(--secondary);
    color: var(--secondary);
    box-shadow: var(--glow-secondary);
    transform: translateY(-50%) scale(1.1);
}

.process-step h3 {
    font-size: 1.5rem;
    margin-top: 40px;
    margin-bottom: 1rem;
}

.process-step p {
    color: var(--text-muted);
}

/* ==========================================================================
   7. Industries (Hover Cards)
   ========================================================================== */
.ind-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.ind-card {
    height: 350px;
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
    overflow: hidden;
    transition: var(--transition-slow);
    cursor: pointer;
}

.ind-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(8, 1, 18, 1), transparent);
    z-index: 1;
}

.ind-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: grayscale(100%);
    transition: var(--transition-slow);
    z-index: 0;
    opacity: 0.3;
}

/* Dummy BGs using gradients */
.ind-card:nth-child(1) .ind-card-bg {
    background-image: radial-gradient(var(--tertiary) 1px, transparent 1px);
    background-size: 20px 20px;
}

.ind-card:nth-child(2) .ind-card-bg {
    background-image: linear-gradient(45deg, var(--border-color) 25%, transparent 25%);
    background-size: 30px 30px;
}

.ind-card:nth-child(3) .ind-card-bg {
    background-image: repeating-linear-gradient(0deg, var(--primary), transparent 2px, transparent 10px);
}

.ind-card:nth-child(4) .ind-card-bg {
    background-image: radial-gradient(var(--secondary) 2px, transparent 2px);
    background-size: 40px 40px;
}

.ind-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: var(--glow-primary);
}

.ind-card:hover .ind-card-bg {
    filter: grayscale(0%);
    opacity: 0.6;
    transform: scale(1.1);
}

.ind-content {
    position: relative;
    z-index: 2;
    transform: translateY(20px);
    transition: var(--transition-fast);
}

.ind-card:hover .ind-content {
    transform: translateY(0);
}

.ind-content h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.ind-content p {
    color: var(--text-muted);
    opacity: 0;
    transition: var(--transition-fast);
}

.ind-card:hover .ind-content p {
    opacity: 1;
}

/* ==========================================================================
   8. Tech Stack / Integrations
   ========================================================================== */
.tech-section {
    background: var(--surface-color);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.tech-grid {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.tech-item {
    width: 100px;
    height: 100px;
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-muted);
    transition: var(--transition-fast);
}

.tech-item:hover {
    transform: translateY(-10px);
    border-color: var(--secondary);
    color: var(--secondary);
    box-shadow: var(--glow-secondary);
}

/* ==========================================================================
   9. Testimonials Section
   ========================================================================== */
.testi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.testi-card {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    padding: 3rem;
    border-radius: 20px;
    position: relative;
    transition: var(--transition-fast);
}

.testi-card:hover {
    border-color: var(--tertiary);
    box-shadow: 0 0 30px rgba(112, 0, 255, 0.3);
    transform: translateY(-5px);
}

.testi-quote {
    font-size: 4rem;
    color: var(--border-color);
    position: absolute;
    top: 10px;
    right: 20px;
    font-family: serif;
    line-height: 1;
}

.testi-text {
    font-size: 1.1rem;
    color: var(--text-main);
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.testi-client h4 {
    color: var(--secondary);
    font-size: 1.1rem;
}

.testi-client p {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
}

/* ==========================================================================
   10. CTA Section
   ========================================================================== */
.cta-section {
    text-align: center;
    padding: 10rem 0;
    position: relative;
    overflow: hidden;
}

.cta-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 0, 160, 0.3) 0%, transparent 60%);
    filter: blur(50px);
    z-index: 0;
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
}

/* ==========================================================================
   11. Footer (STRICTLY CONSISTENT SITE-WIDE)
   ========================================================================== */
.site-footer {
    background: var(--bg-color);
    border-top: 1px solid var(--border-color);
    padding: 6rem 0 2rem;
    position: relative;
    z-index: 10;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-logo {
    margin-bottom: 1.5rem;
}

.footer-logo img {
    height: 55px;
}

.footer-col p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.footer-col h4 {
    font-size: 1.2rem;
    color: var(--text-main);
    margin-bottom: 1.5rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links a {
    color: var(--text-muted);
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--secondary);
    transform: translateX(5px);
}

.newsletter-form {
    display: flex;
    margin-top: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 1rem;
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 8px 0 0 8px;
    color: var(--text-main);
    outline: none;
    transition: 0.3s;
}

.newsletter-form input:focus {
    border-color: var(--secondary);
}

.newsletter-form button {
    padding: 1rem 1.5rem;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 0 8px 8px 0;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.newsletter-form button:hover {
    background: var(--secondary);
    box-shadow: var(--glow-secondary);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-bottom-links a {
    margin-left: 20px;
    transition: 0.3s;
}

.footer-bottom-links a:hover {
    color: var(--primary);
}

/* ==========================================================================
   Internal Pages (Legal & Contact)
   ========================================================================== */
.page-header {
    padding: 14rem 0 6rem;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    background: linear-gradient(to bottom, transparent, var(--surface-color));
}

.page-header h1 {
    font-size: 4.5rem;
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.legal-content h2 {
    font-size: 2.2rem;
    color: var(--secondary);
    margin: 3rem 0 1.5rem;
}

.legal-content p {
    color: var(--text-muted);
    font-size: 1.15rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.legal-content ul {
    padding-left: 2rem;
    margin-bottom: 1.5rem;
}

.legal-content li {
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    list-style-type: square;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    padding: 4rem 0;
}

.contact-info-box {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    padding: 3rem;
    border-radius: 20px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2.5rem;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: rgba(0, 240, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    margin-right: 1.5rem;
    flex-shrink: 0;
    box-shadow: var(--glow-secondary);
}

.info-text h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.info-text p {
    color: var(--text-muted);
}

.contact-form {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    padding: 3rem;
    border-radius: 20px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
    text-transform: uppercase;
    font-size: 0.9rem;
}

.form-control {
    width: 100%;
    padding: 1.2rem;
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-main);
    font-family: var(--font-main);
    font-size: 1rem;
    transition: var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: inset 0 0 10px rgba(0, 240, 255, 0.2);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

/* ==========================================================================
   Animations & Media Queries
   ========================================================================== */
@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-visual {
        height: 400px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .report-container {
        flex-direction: column;
    }

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 4rem 2rem;
    }

    .process-line {
        display: none;
    }

    .ind-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testi-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background: var(--bg-color);
        flex-direction: column;
        justify-content: center;
        transition: var(--transition-fast);
    }

    .nav-menu.active {
        left: 0;
    }

    .mobile-toggle {
        display: flex;
    }

    .section-title {
        font-size: 3rem;
    }

    .hero-content h1 {
        font-size: 3.5rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .process-grid {
        grid-template-columns: 1fr;
    }

    .ind-grid {
        grid-template-columns: 1fr;
    }

    .testi-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .footer-bottom-links a {
        margin: 0 10px;
    }
}