/* ============================================
   XForensics - Minimal Premium Design
============================================ */

:root {
    --bg: #0a0a0c;
    --bg-card: #111114;
    --bg-elevated: #18181b;
    --accent: #00d47b;
    --accent-dim: rgba(0, 212, 123, 0.1);
    --alert: #ff4d4d;
    --alert-dim: rgba(255, 77, 77, 0.1);
    --text: #ffffff;
    --text-secondary: #8a8a8d;
    --text-muted: #505055;
    --border: rgba(255, 255, 255, 0.08);
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --danger: #ff3333;
    transition: --accent 0.8s ease, --accent-dim 0.8s ease;
    /* Smooth transition for variables */
}

/* Red Theme Override */
body.theme-red {
    --accent: #ff3333;
    --accent-dim: rgba(255, 50, 50, 0.1);
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 18px;
}

body {
    font-family: var(--font-main);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.5s ease;
}

/* Subtle Grid Background */
.grid-bg {
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(var(--border) 1px, transparent 1px),
        linear-gradient(90deg, var(--border) 1px, transparent 1px);
    background-size: 80px 80px;
    opacity: 0.4;
    z-index: -2;
}

/* Data Flow Canvas */
#dataFlow {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}

/* Animated Gradient Orbs */
.gradient-orb {
    position: fixed;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    /* Use variable for transition */
    background: radial-gradient(circle, var(--accent-dim) 0%, transparent 70%);
    top: -150px;
    right: -150px;
    z-index: -1;
    animation: orbPulse 8s ease-in-out infinite;
    pointer-events: none;
    transition: background 0.8s ease;
}

.gradient-orb-2 {
    top: auto;
    right: auto;
    bottom: -200px;
    left: -150px;
    /* Use variable for transition */
    background: radial-gradient(circle, var(--accent-dim) 0%, transparent 70%);
    animation-delay: -4s;
    transition: background 0.8s ease;
}

@keyframes orbPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.15);
        opacity: 0.6;
    }
}

/* ============================================
   Navigation
============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 20px 0;
    background: rgba(10, 10, 12, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text);
    font-weight: 600;
    font-size: 1.1rem;
    white-space: nowrap;
    /* Prevent wrapping */
}

.logo-text {
    display: inline-block;
    /* Ensure it's not hidden */
    color: var(--text);
    font-weight: 600;
}

.logo-icon {
    color: var(--accent);
    font-size: 1.3rem;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text);
}

.nav-cta {
    padding: 10px 24px;
    background: var(--accent);
    color: var(--bg);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 6px;
    transition: opacity 0.2s, transform 0.2s;
}

.nav-cta:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

/* ============================================
   Hero Section
============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 40px 80px;
    position: relative;
}

/* Subtle underlying radial gradient for depth */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Deep charcoal to transparent, slightly offset */
    background: radial-gradient(circle at 30% 40%, rgba(20, 25, 23, 0.6) 0%, rgba(5, 5, 5, 0) 60%);
    z-index: 0;
    pointer-events: none;
}

.hero-container {
    max-width: 1300px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* Hero Content */
.hero-content {
    max-width: 700px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(0, 212, 123, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 212, 123, 0.15);
    border-radius: 100px;
    font-size: 0.85rem;
    color: var(--accent);
    margin-bottom: 24px;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}

.title-accent {
    color: var(--accent);
}

.type-line1,
.type-line2 {
    white-space: nowrap;
}

/* Typing Cursor */
.type-cursor {
    color: var(--accent);
    font-weight: 400;
    animation: blink 0.8s infinite;
    transition: opacity 0.3s ease;
}

@keyframes blink {

    0%,
    50% {
        opacity: 1;
    }

    51%,
    100% {
        opacity: 0;
    }
}

/* Fade-in Letter Animation */
.fade-letter {
    opacity: 0;
    display: inline-block;
    animation: fadeInLetter 0.4s ease forwards;
    white-space: pre;
}

@keyframes fadeInLetter {
    0% {
        opacity: 0;
        transform: translateY(8px);
        filter: blur(4px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 40px;
}

/* Buttons */
.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #00d47b 0%, #00b368 100%);
    box-shadow: 0 4px 15px rgba(0, 212, 123, 0.2);
    color: var(--bg);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 8px;
    transition: all 0.2s;
    white-space: nowrap;
}

.btn-primary:hover {
    opacity: 0.95;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 212, 123, 0.35);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    padding: 14px 28px;
    background: transparent;
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    transition: all 0.2s;
}

.btn-secondary:hover {
    background: var(--bg-elevated);
    border-color: var(--text-muted);
}

/* Stats */
.hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    font-family: var(--font-mono);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

/* ============================================
   Hero Visual
============================================ */
.hero-visual {
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: center;
}

.visual-wrapper {
    position: relative;
    width: 100%;
    max-width: 420px;
}

.visual-card {
    width: 100%;
    /* Vertical gradient: lighter charcoal top -> darker bottom */
    background: linear-gradient(180deg, rgba(25, 25, 28, 0.6) 0%, rgba(10, 10, 12, 0.8) 100%);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    /* subtle neon green glow on the right edge + top bevel */
    box-shadow:
        0 4px 24px rgba(0, 0, 0, 0.3),
        2px 0 20px rgba(0, 212, 123, 0.03),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

/* .card-header, .card-dots, .card-title removed */

.card-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.scan-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background: rgba(10, 10, 12, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.2s ease;
}

.scan-item:hover {
    background: rgba(10, 10, 12, 0.8);
    border-color: rgba(255, 255, 255, 0.1);
}

.scan-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
}

.scan-icon.secure {
    background: var(--accent-dim);
    color: var(--accent);
}

.scan-icon.alert {
    background: var(--alert-dim);
    color: var(--alert);
}

.scan-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.scan-name {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
}

.scan-status {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.scan-status.alert-text {
    color: var(--alert);
}

/* Floating Icon Styles */
.float-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    margin-right: 12px;
}

.icon-lock {
    background: rgba(255, 188, 46, 0.15);
    color: #ffbc2e;
    border: 1px solid rgba(255, 188, 46, 0.2);
}

.icon-rf {
    background: rgba(110, 181, 255, 0.15);
    color: #6eb5ff;
    border: 1px solid rgba(110, 181, 255, 0.2);
}

/* ============================================
   Contact Form Styles
============================================ */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.form-label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    padding-left: 2px;
    margin-bottom: 0px;
}

.form-input {
    padding: 8px 12px;
    font-size: 0.85rem;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--text);
    font-family: var(--font-main);
    font-size: 0.9rem;
    transition: all 0.2s ease;
    outline: none;
}

.form-input::placeholder {
    color: var(--text-muted);
}

.form-input:focus {
    border-color: rgba(0, 212, 123, 0.4);
    background: rgba(10, 10, 12, 0.8);
    box-shadow: 0 0 0 3px rgba(0, 212, 123, 0.1);
}

.form-input:hover {
    border-color: rgba(255, 255, 255, 0.12);
}

.form-textarea {
    resize: vertical;
    min-height: 40px;
    max-height: 100px;
    line-height: 1.4;
}

.form-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    background: linear-gradient(135deg, #00d47b 0%, #00b368 100%);
    box-shadow: 0 4px 15px rgba(0, 212, 123, 0.2);
    color: var(--bg);
    border: none;
    border-radius: 10px;
    font-family: var(--font-main);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 2px;
}

.form-submit:hover {
    opacity: 0.95;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 212, 123, 0.35);
}

.form-submit:active {
    transform: translateY(0);
}

/* ============================================
   Clients Section - Infinite Scroll
============================================ */
.clients-section {
    padding: 60px 0;
    background: transparent;
    border-top: 1px solid var(--border);
    overflow: hidden;
    position: relative;
    display: none;
}

.clients-header {
    text-align: center;
    margin-bottom: 40px;
}

.clients-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.clients-marquee {
    position: relative;
    width: 100%;
    overflow: hidden;
}

/* Fade edges */
.clients-marquee::before,
.clients-marquee::after {
    content: '';
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.clients-marquee::before {
    left: 0;
    background: linear-gradient(to right, rgba(10, 10, 12, 1), transparent);
}

.clients-marquee::after {
    right: 0;
    background: linear-gradient(to left, rgba(10, 10, 12, 1), transparent);
}

.marquee-track {
    display: flex;
    align-items: center;
    gap: 80px;
    animation: marquee 30s linear infinite;
    width: max-content;
}

.client-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
}

.client-logo img {
    height: 45px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
    opacity: 0.85;
    transition: all 0.3s ease;
}

.client-logo:hover img {
    opacity: 1;
    transform: scale(1.05);
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ============================================
   Video Section
============================================ */
.video-section {
    padding: 100px 40px;
    background: transparent;
}

.video-container {
    max-width: 900px;
    margin: 0 auto;
}

.video-header {
    text-align: center;
    margin-bottom: 50px;
}

.video-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 600;
    color: var(--text);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.video-description {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 650px;
    margin: 0 auto;
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    /* 16:9 aspect ratio */
    border-radius: 16px;
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border);
    box-shadow:
        0 8px 40px rgba(0, 0, 0, 0.4),
        0 2px 8px rgba(0, 0, 0, 0.2);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Responsive */
@media (max-width: 768px) {
    .video-section {
        padding: 60px 20px;
    }

    .video-title {
        font-size: 1.6rem;
    }

    .video-description {
        font-size: 0.95rem;
    }

    .video-wrapper {
        border-radius: 12px;
    }
}

/* ============================================
   Services Section
============================================ */
.services-section {
    padding: 100px 40px;
    background: transparent;
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 600;
    color: var(--text);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-description {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    width: 100%;
}

.service-card {
    position: relative;
    width: calc((100% - 48px) / 3);
    display: flex;
    flex-direction: column;
    padding: 32px;
    background: rgba(10, 10, 12, 0.4);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    transition: transform 0.3s ease, border-color 0.3s ease;
    overflow: hidden;
    /* Default variable values */
    --mouse-x: -100px;
    --mouse-y: -100px;
}

/* Circuit Pattern Layer (Hidden by default) */
.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background-image:
        linear-gradient(rgba(0, 212, 123, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 123, 0.03) 1px, transparent 1px);
    background-size: 20px 20px;

    /* Reveal effect mask */
    mask-image: radial-gradient(250px circle at var(--mouse-x) var(--mouse-y), black 0%, transparent 100%);
    -webkit-mask-image: radial-gradient(250px circle at var(--mouse-x) var(--mouse-y), black 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 212, 123, 0.2);
}

.service-card:hover::before {
    opacity: 1;
}

/* Flashlight Glow Overlay */
.service-card::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background: radial-gradient(200px circle at var(--mouse-x) var(--mouse-y), rgba(0, 212, 123, 0.08), transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover::after {
    opacity: 1;
}

/* Ensure content sits above effects */
.service-card>* {
    position: relative;
    z-index: 1;
}

/* Hero Visual */


.service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    margin-bottom: 24px;
    color: var(--text-secondary);
    /* Dim by default */
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.service-card:hover .service-icon {
    background: rgba(0, 212, 123, 0.1);
    color: var(--accent);
    border-color: rgba(0, 212, 123, 0.3);
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(0, 212, 123, 0.2);
}

.service-name {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 12px;
}

.service-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Services Responsive */
@media (max-width: 1024px) {
    .service-card {
        width: calc((100% - 24px) / 2);
    }
}

@media (max-width: 768px) {
    .services-section {
        padding: 60px 20px;
    }

    .services-grid {
        gap: 16px;
    }

    .service-card {
        width: 100%;
        padding: 24px;
    }

    .section-title {
        font-size: 1.6rem;
    }
}

/* ============================================
   Signals Section (Red Flag Matrix) - Transparent Glass Pulse
   ============================================ */
.signals-section {
    padding: 100px 40px;
    position: relative;
    background: transparent;
    /* Fully transparent to show grid */
}

.signals-container {
    max-width: 1200px;
    margin: 0 auto;
}

.signals-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 60px;
}

.signal-card {
    position: relative;
    padding: 32px;
    /* Opaque background matching service cards */
    background: rgba(10, 10, 12, 0.4);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    /* Default variable values for X-Ray */
    --mouse-x: -100px;
    --mouse-y: -100px;
}

/* X-Ray Circuit Pattern (Red) */
.signal-card::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    /* Red circuit pattern */
    background-image:
        linear-gradient(rgba(255, 50, 50, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 50, 50, 0.05) 1px, transparent 1px);
    background-size: 20px 20px;

    /* Reveal effect mask */
    mask-image: radial-gradient(250px circle at var(--mouse-x) var(--mouse-y), black 0%, transparent 100%);
    -webkit-mask-image: radial-gradient(250px circle at var(--mouse-x) var(--mouse-y), black 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.signal-card:hover::before {
    opacity: 1;
}

/* X-Ray Flashlight Glow (Red) */
.signal-card::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background: radial-gradient(200px circle at var(--mouse-x) var(--mouse-y), rgba(255, 50, 50, 0.15), transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.signal-card:hover::after {
    opacity: 1;
}

.signal-card.full-width {
    grid-column: span 3;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 32px;
    background: rgba(255, 50, 50, 0.01);
}

/* Hover Effect needs to handle z-index for content */
.signal-card:hover {
    background: rgba(255, 0, 0, 0.02);
    border-color: #ff3333;
    box-shadow: 0 0 40px rgba(255, 0, 0, 0.1);
    transform: translateY(-2px);
}

/* Ensure content is above the X-Ray effects */
.signal-icon,
.signal-title,
.signal-desc,
.signal-alert {
    position: relative;
    z-index: 1;
}

.signal-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    margin-bottom: 24px;
    color: rgba(255, 50, 50, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.signal-card:hover .signal-icon {
    background: rgba(255, 50, 50, 0.1);
    color: #ff3333;
    border-color: rgba(255, 50, 50, 0.3);
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(255, 50, 50, 0.2);
    filter: none;
    /* Reset distinct filter from previous design */
}

.signal-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 12px;
    font-family: var(--font-main);
    /* Switch back to main font to match Services */
    letter-spacing: normal;
}

.signal-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* "THREAT DETECTED" Alert Reveal */
.signal-alert {
    position: absolute;
    top: 16px;
    right: 16px;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 700;
    color: #ff3333;
    background: rgba(255, 0, 0, 0.1);
    padding: 4px 8px;
    border-radius: 4px;
    border: 1px solid rgba(255, 0, 0, 0.3);
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.3s ease;
}

.signal-card:hover .signal-alert {
    opacity: 1;
    transform: translateX(0);
}

/* Responsive Signals */
@media (max-width: 1024px) {
    .signals-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .signal-card.full-width {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .signals-grid {
        grid-template-columns: 1fr;
    }

    .signal-card.full-width {
        grid-column: span 1;
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
}

/* ============================================
   Process Section (Forensic Workflow)
============================================ */
/* [First duplicate block removed] */

/* [Residue removed] */

/* ============================================
   Use Cases Terminal Section
============================================ */
.usecases-section {
    padding: 100px 40px;
    background: transparent;
}

.usecases-container {
    max-width: 1000px;
    margin: 0 auto;
}

.terminal-window {
    background: rgba(15, 15, 18, 0.95);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 4px 16px rgba(0, 0, 0, 0.3);
}

.terminal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: rgba(30, 30, 35, 0.9);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.terminal-dots {
    display: flex;
    gap: 8px;
}

.terminal-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.terminal-dots .dot.red {
    background: #ff5f56;
}

.terminal-dots .dot.yellow {
    background: #ffbd2e;
}

.terminal-dots .dot.green {
    background: #27ca40;
}

.terminal-title {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text-muted);
}

.terminal-menu {
    display: flex;
    gap: 20px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.terminal-body {
    padding: 24px;
    max-height: 600px;
    overflow-y: auto;
}

.terminal-block {
    margin-bottom: 24px;
}

.terminal-prompt {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.prompt-user {
    color: var(--accent);
    font-weight: 600;
}

.prompt-colon {
    color: var(--text-muted);
}

.prompt-path {
    color: #6eb5ff;
}

.prompt-dollar {
    color: var(--text-muted);
    margin: 0 8px;
}

.prompt-command {
    color: var(--text);
}

.terminal-output {
    padding: 16px 20px;
    margin-left: 16px;
    border-left: 2px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.02);
    border-radius: 0 8px 8px 0;
}

.output-header {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
    letter-spacing: 0.5px;
}

.output-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.output-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text-muted);
}

.output-list span::before {
    content: '';
}

.output-files {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text-muted);
}

.file-perm {
    color: #888;
    margin-right: 12px;
}

.output-success {
    margin-top: 12px;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--accent);
}

.output-ready {
    margin-top: 12px;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: #6eb5ff;
}

.final-prompt {
    margin-top: 16px;
    margin-bottom: 0;
}

.cursor-blink {
    color: var(--accent);
    animation: cursorBlink 1s infinite;
}

@keyframes cursorBlink {

    0%,
    50% {
        opacity: 1;
    }

    51%,
    100% {
        opacity: 0;
    }
}

/* Terminal scrollbar */
.terminal-body::-webkit-scrollbar {
    width: 8px;
}

.terminal-body::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
}

.terminal-body::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.terminal-body::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* Terminal Responsive */
@media (max-width: 768px) {
    .usecases-section {
        padding: 60px 20px;
    }
}

/* ============================================
   Secure Form Styles (Specific override for stacking)
============================================ */
.secure-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

.secure-form .form-row {
    display: flex;
    flex-direction: column;
    /* Stack children vertically */
    gap: 16px;
    width: 100%;
}

.secure-form .input-group {
    width: 100%;
}

.secure-form input,
.secure-form textarea {
    width: 100%;
    padding: 12px 16px;
    background: rgba(10, 10, 12, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text);
    font-family: inherit;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.secure-form input:focus,
.secure-form textarea:focus {
    border-color: var(--accent);
    outline: none;
    background: rgba(10, 10, 12, 0.8);
    box-shadow: 0 0 0 2px rgba(0, 212, 123, 0.1);
}

.secure-form ::placeholder {
    color: var(--text-muted);
}

.submit-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #00d47b 0%, #00b368 100%);
    color: #000;
    font-weight: 700;
    font-size: 0.95rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 16px;
    box-shadow: 0 4px 15px rgba(0, 212, 123, 0.2);
    white-space: normal;
    /* Allow text wrap on small screens */
    line-height: 1.2;
    height: auto;
    /* Allow expanding */
    min-height: 48px;
}

@media (max-width: 480px) {
    .submit-btn {
        padding: 12px 8px;
        font-size: 0.8rem;
        /* Smaller font */
        letter-spacing: 0;
        /* Remove spacing */
        word-wrap: break-word;
    }
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 212, 123, 0.3);
}



.terminal-menu {
    display: none;
}

.terminal-title {
    font-size: 0.75rem;
}

.terminal-body {
    padding: 16px;
    max-height: 500px;
}

.terminal-prompt {
    font-size: 0.8rem;
}

.output-header {
    font-size: 1rem;
}


/* ============================================
   Why Choose Us Section
============================================ */
.why-us-section {
    padding: 100px 40px;
    background: transparent;
}

.why-us-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.why-us-content .section-title {
    text-align: left;
}

.why-us-content .section-description {
    text-align: left;
    margin: 0 0 40px 0;
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.benefit-item {
    display: flex;
    gap: 20px;
}

.benefit-icon {
    font-size: 1.8rem;
    min-width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 212, 123, 0.1);
    border-radius: 12px;
    color: var(--accent);
}

.benefit-text h3 {
    font-size: 1.15rem;
    color: var(--text);
    margin-bottom: 8px;
    font-weight: 600;
}

.benefit-text p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Why Us Visual */
.why-us-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.certification-card {
    width: 340px;
    background: linear-gradient(135deg, #1a1a1e 0%, #111114 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 0;
    overflow: hidden;
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 1;
    transform: rotate(-3deg);
    transition: transform 0.3s ease;
}

.certification-card:hover {
    transform: rotate(0deg) scale(1.02);
}

.cert-header {
    background: rgba(255, 255, 255, 0.03);
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.cert-status {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 4px;
    letter-spacing: 1px;
}

.cert-status.verified {
    background: rgba(0, 212, 123, 0.2);
    color: var(--accent);
}

.cert-id {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
}

.cert-body {
    padding: 30px 24px;
    text-align: center;
}

.cert-logo {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -1px;
    margin-bottom: 10px;
    background: linear-gradient(to right, #fff, #aaa);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cert-title {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.cert-line {
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.1), transparent);
    margin-bottom: 20px;
}

.cert-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cert-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
}

.cert-row span:first-child {
    color: var(--text-muted);
}

.cert-row span:last-child {
    color: var(--text);
    font-weight: 500;
}

.cert-row .active {
    color: var(--accent) !important;
}

.cert-footer {
    padding: 12px;
    background: rgba(0, 212, 123, 0.05);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    text-align: center;
}

.cert-badge {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.stat-box {
    position: absolute;
    background: rgba(20, 20, 24, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 20px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.box-1 {
    top: 40px;
    right: -20px;
    animation: float 4s ease-in-out infinite;
}

.box-2 {
    bottom: 40px;
    left: -20px;
    animation: float 4s ease-in-out infinite 2s;
}

.stat-val {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text);
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Why Us Responsive */
@media (max-width: 900px) {
    .why-us-container {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .why-us-content .section-title,
    .why-us-content .section-description {
        text-align: center;
    }

    .why-us-content .section-description {
        margin: 0 auto 40px;
    }
}

@media (max-width: 768px) {
    .why-us-section {
        padding: 60px 20px;
    }

    .certification-card {
        width: 100%;
        max-width: 320px;
    }

    .box-1 {
        right: 0;
    }

    .box-2 {
        left: 0;
    }
}

/* ============================================
   Sample Evidence Analysis Section
============================================ */
.evidence-analysis-section {
    padding: 100px 40px;
    background: transparent;
}

.evidence-container {
    max-width: 1200px;
    margin: 0 auto;
}

.evidence-terminal-wrapper {
    background: rgba(10, 10, 12, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    margin-top: 40px;
}

.evidence-terminal-header {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    gap: 20px;
}

.terminal-command {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cmd-user {
    color: var(--accent);
}

.cmd-text {
    color: var(--text);
}

/* Evidence Marquee */
.evidence-marquee {
    position: relative;
    padding: 40px 0;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 50%, rgba(0, 212, 123, 0.03) 0%, transparent 70%),
        linear-gradient(rgba(10, 10, 12, 0.8), rgba(10, 10, 12, 0.8));
}

/* Fade edges */
.evidence-marquee::before,
.evidence-marquee::after {
    content: '';
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.evidence-marquee::before {
    left: 0;
    background: linear-gradient(to right, rgba(10, 10, 12, 1), transparent);
}

.evidence-marquee::after {
    right: 0;
    background: linear-gradient(to left, rgba(10, 10, 12, 1), transparent);
}

.evidence-track {
    display: flex;
    gap: 30px;
    width: max-content;
    animation: evidenceMarquee 35s linear infinite;
    padding-left: 30px;
    /* Offset start */
}

@keyframes evidenceMarquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.evidence-card {
    width: 400px;
    height: 520px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    background: #111;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
}

.evidence-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    z-index: 3;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

/* Card Visuals (CSS Art) */
.evidence-visual {
    height: 180px;
    width: 100%;
    position: relative;
    overflow: hidden;
    background: #0a0a0c;
    flex-shrink: 0;
}

/* Audio Visual */
.audio-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 212, 123, 0.1) 100%);
}

.waveform {
    display: flex;
    align-items: center;
    gap: 4px;
    height: 60px;
}

.waveform span {
    width: 4px;
    background: var(--accent);
    border-radius: 2px;
    animation: wave 1.2s ease-in-out infinite;
}

.waveform span:nth-child(odd) {
    animation-duration: 0.8s;
}

.waveform span:nth-child(2n) {
    animation-duration: 1.1s;
}

.waveform span:nth-child(3n) {
    animation-duration: 1.3s;
}

.waveform span:nth-child(4n) {
    animation-duration: 0.9s;
}

@keyframes wave {

    0%,
    100% {
        height: 10px;
        opacity: 0.5;
    }

    50% {
        height: 40px;
        opacity: 1;
    }
}

/* Email Visual */
.email-visual {
    background: #1a1a1e;
    padding: 20px;
}

.email-mockup {
    background: #25252a;
    border-radius: 8px;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.email-circle {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #333;
    margin-bottom: 10px;
}

.email-line {
    height: 6px;
    background: #333;
    border-radius: 3px;
    margin-bottom: 8px;
}

.line-1 {
    width: 60%;
    background: var(--accent);
    opacity: 0.5;
}

.line-2 {
    width: 90%;
}

.line-3 {
    width: 80%;
}

/* Photo Visual */
.photo-visual {
    background: url('https://images.unsplash.com/photo-1507003211169-0a1dd7228f2d?q=80&w=300&auto=format&fit=crop') center/cover;
    position: relative;
}

.photo-visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 212, 123, 0.2);
    mix-blend-mode: overlay;
}

.scan-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 255, 0, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 0, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
}

.scan-target {
    position: absolute;
    top: 30%;
    left: 40%;
    width: 60px;
    height: 60px;
    border: 2px solid var(--accent);
    box-shadow: 0 0 10px var(--accent);
}

/* Video Visual */
.video-visual {
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.video-frame {
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(45deg, #111 25%, #1a1a1a 25%, #1a1a1a 50%, #111 50%, #111 75%, #1a1a1a 75%, #1a1a1a 100%);
    background-size: 20px 20px;
    opacity: 0.3;
}

.play-icon {
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.8);
    z-index: 2;
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
}

/* Metadata Visual */
.metadata-visual {
    background: #0d1117;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.code-lines {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.code-line {
    height: 4px;
    background: #333;
    border-radius: 2px;
}

.code-line:nth-child(1) {
    width: 70%;
    background: #2f81f7;
}

.code-line:nth-child(2) {
    width: 90%;
    background: #d2a8ff;
}

.code-line:nth-child(3) {
    width: 60%;
    background: #7ee787;
}

.code-line.short {
    width: 40%;
}

/* Card Info */
.evidence-info {
    padding: 24px;
    background: rgba(17, 17, 20, 0.95);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.evidence-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.evidence-tag {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.evidence-tag:first-child {
    background: var(--accent);
    color: #000;
}

.evidence-tag.secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.evidence-title {
    font-size: 1.25rem;
    color: var(--text);
    margin-bottom: 8px;
    line-height: 1.3;
}

.evidence-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.evidence-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.detail-row {
    display: flex;
    gap: 12px;
}

.detail-icon {
    width: 24px;
    height: 24px;
    min-width: 24px;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    margin-top: 2px;
}

.detail-icon.warning {
    color: #ffbd2e;
    background: rgba(255, 189, 46, 0.1);
}

.detail-icon.success {
    color: var(--accent);
    background: rgba(0, 212, 123, 0.1);
}

.detail-content {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.detail-content strong {
    display: block;
    color: var(--text);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-content .highlight {
    color: var(--accent);
    font-weight: 500;
}

.waveform span {
    width: 4px;
    background: var(--accent);
    border-radius: 2px;
    animation: wave 1.2s ease-in-out infinite;
}

.waveform span:nth-child(odd) {
    animation-duration: 0.8s;
}

.waveform span:nth-child(2n) {
    animation-duration: 1.1s;
}

.waveform span:nth-child(3n) {
    animation-duration: 1.3s;
}

.waveform span:nth-child(4n) {
    animation-duration: 0.9s;
}

@keyframes wave {

    0%,
    100% {
        height: 10px;
        opacity: 0.5;
    }

    50% {
        height: 40px;
        opacity: 1;
    }
}

/* Email Visual */
.email-visual {
    background: #1a1a1e;
    padding: 20px;
}

.email-mockup {
    background: #25252a;
    border-radius: 8px;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.email-circle {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #333;
    margin-bottom: 10px;
}

.email-line {
    height: 6px;
    background: #333;
    border-radius: 3px;
    margin-bottom: 8px;
}

.line-1 {
    width: 60%;
    background: var(--accent);
    opacity: 0.5;
}

.line-2 {
    width: 90%;
}

.line-3 {
    width: 80%;
}

/* Photo Visual */
.photo-visual {
    background: url('https://images.unsplash.com/photo-1507003211169-0a1dd7228f2d?q=80&w=300&auto=format&fit=crop') center/cover;
    position: relative;
}

.photo-visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 212, 123, 0.2);
    mix-blend-mode: overlay;
}

.scan-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 255, 0, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 0, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
}

.scan-target {
    position: absolute;
    top: 30%;
    left: 40%;
    width: 60px;
    height: 60px;
    border: 2px solid var(--accent);
    box-shadow: 0 0 10px var(--accent);
}

/* Video Visual */
.video-visual {
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.video-frame {
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(45deg, #111 25%, #1a1a1a 25%, #1a1a1a 50%, #111 50%, #111 75%, #1a1a1a 75%, #1a1a1a 100%);
    background-size: 20px 20px;
    opacity: 0.3;
}

.play-icon {
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.8);
    z-index: 2;
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
}

/* Metadata Visual */
.metadata-visual {
    background: #0d1117;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.code-lines {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.code-line {
    height: 4px;
    background: #333;
    border-radius: 2px;
}

.code-line:nth-child(1) {
    width: 70%;
    background: #2f81f7;
}

.code-line:nth-child(2) {
    width: 90%;
    background: #d2a8ff;
}

.code-line:nth-child(3) {
    width: 60%;
    background: #7ee787;
}

.code-line.short {
    width: 40%;
}

/* Card Info */
.evidence-info {
    padding: 16px;
    background: rgba(17, 17, 20, 0.9);
}

.evidence-tag {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--accent);
    background: rgba(0, 212, 123, 0.1);
    width: max-content;
    padding: 4px 8px;
    border-radius: 4px;
    margin-bottom: 8px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.evidence-subtag {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Responsive */
@media (max-width: 768px) {
    .evidence-analysis-section {
        padding: 60px 20px;
    }

    .evidence-terminal-header {
        padding: 8px 12px;
    }

    .terminal-command {
        font-size: 0.7rem;
    }
}

.card-footer {
    display: flex;
    justify-content: space-between;
    padding: 14px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.02);
}



.scan-progress,
.scan-time {
    font-size: 0.8rem;
    font-family: var(--font-mono);
    color: var(--text-muted);
}

.scan-time {
    color: var(--accent);
}

/* Floating Elements */
.float-element {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(17, 17, 20, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    animation: float 4s ease-in-out infinite;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.float-icon {
    font-size: 1rem;
}

.float-1 {
    top: -20px;
    right: -20px;
    animation-delay: 0s;
}

.float-2 {
    bottom: -42px;
    left: -20px;
    animation-delay: -2s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

/* ============================================
   Testimonials Section
============================================ */
.testimonials-section {
    padding: 100px 0;
    background: transparent;
    overflow: hidden;
}

.testimonials-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.reviews-scroll-wrapper {
    margin-top: 60px;
    overflow-x: auto;
    padding-bottom: 40px;
    /* Hide scrollbar */
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.reviews-scroll-wrapper::-webkit-scrollbar {
    display: none;
}

.reviews-track {
    display: flex;
    gap: 24px;
    width: max-content;
    padding: 0 20px;
}

.review-card {
    width: 320px;
    height: 400px;
    background: linear-gradient(145deg, rgba(20, 20, 24, 0.6), rgba(10, 10, 12, 0.8));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.review-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 212, 123, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    background: linear-gradient(145deg, rgba(25, 25, 30, 0.8), rgba(15, 15, 18, 0.9));
}

.review-stars {
    color: var(--accent);
    letter-spacing: 2px;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.review-text {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    font-style: italic;
    flex-grow: 1;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    position: relative;
}

.avatar-1 {
    background: linear-gradient(135deg, #7F7FD5, #86A8E7, #91EAE4);
}

.avatar-2 {
    background: linear-gradient(135deg, #00b09b, #96c93d);
}

.avatar-3 {
    background: linear-gradient(135deg, #fc4a1a, #f7b733);
}

.avatar-4 {
    background: linear-gradient(135deg, #CAC531, #F3F9A7);
}

.avatar-5 {
    background: linear-gradient(135deg, #ff9966, #ff5e62);
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    color: var(--text);
    font-weight: 600;
    font-size: 0.95rem;
}

.author-role {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-top: 2px;
}


/* ============================================
   FAQ Section
============================================ */
/* ============================================
   FAQ Section
============================================ */
.faq-section {
    padding: 100px 0;
    position: relative;
    /* Subtle scanning grid background */
    background:
        linear-gradient(rgba(0, 212, 123, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 123, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    /* Mask to fade out grid edges */
    -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
    mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
}

.faq-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 2;
}

.faq-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.faq-item {
    background: rgba(17, 17, 20, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    /* Smooth ease-out */
    position: relative;
}

.faq-item:hover {
    border-color: rgba(0, 212, 123, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.faq-item.active {
    background: rgba(20, 20, 25, 0.9);
    border-color: rgba(0, 212, 123, 0.5);
    box-shadow: 0 0 0 1px rgba(0, 212, 123, 0.1), 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Active state left accent line */
.faq-item.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--accent);
    box-shadow: 0 0 10px var(--accent);
}

.faq-question {
    width: 100%;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    color: var(--text-secondary);
    /* Dim inactive */
    font-size: 1.05rem;
    font-weight: 500;
    cursor: pointer;
    text-align: left;
    transition: color 0.3s ease;
}

.faq-item.active .faq-question {
    color: var(--text);
    /* Highlight active */
}

.faq-icon {
    font-size: 1.25rem;
    color: var(--text-muted);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease;
}

.faq-item:hover .faq-icon {
    color: var(--accent);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    /* Rotate to minus equivalent or just flip */
    color: var(--accent);
}

/* Change + to - visually by rotation (optional, or specific icon swap) */
/* Here we just rotate 45deg for 'x' style closing, or 180 as requested */
/* Let's stick to 45deg for now as it's cleaner for + icons */
/* Change + to - visually by rotation (optional, or specific icon swap) */
/* Here we just rotate 45deg for 'x' style closing, or 180 as requested */
/* Let's stick to 45deg for now as it's cleaner for + icons */
.faq-item.active .faq-icon {
    transform: rotate(135deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.4s ease, opacity 0.4s ease;
    background: transparent;
    padding: 0 20px;
    /* Maintain horizontal padding */
    display: flex;
    gap: 12px;
    opacity: 0;
}

.faq-item.active .faq-answer {
    padding: 0 20px 20px 20px;
    /* Add bottom padding when active */
    opacity: 1;
}

/* Removed .faq-answer-content styles and applied to .faq-answer above */

.trust-icon {
    flex-shrink: 0;
    color: var(--accent);
    margin-top: 2px;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.2s;
    /* Pop in */
}

.faq-item.active .trust-icon {
    opacity: 1;
    transform: scale(1);
}

.trust-icon {
    flex-shrink: 0;
    color: var(--accent);
    margin-top: 2px;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.2s;
    /* Pop in */
}

.faq-item.active .trust-icon {
    opacity: 1;
    transform: scale(1);
}

.faq-answer p {
    color: var(--text-secondary);
    font-size: 1.0rem;
    line-height: 1.6;
    margin: 0;
}

/* ============================================
   Contact Section
============================================ */
.contact-section {
    padding: 100px 0;
    background: transparent;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: flex-start;
}

/* Form Card */
.contact-form-card {
    background: linear-gradient(135deg, rgba(20, 20, 24, 0.95), rgba(10, 10, 12, 0.98));
    border: 1px solid rgba(0, 212, 123, 0.2);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.contact-form-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), #2f81f7);
}

.form-title {
    font-size: 2rem;
    color: var(--text);
    margin-bottom: 10px;
}

.form-desc {
    color: var(--text-secondary);
    margin-bottom: 30px;
    line-height: 1.6;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.required {
    color: var(--accent);
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 12px 16px;
    color: var(--text);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-group textarea {
    height: 120px;
    resize: none;
}

.form-group input:focus,
.form-group textarea:focus {
    background: rgba(0, 212, 123, 0.05);
    border-color: var(--accent);
    outline: none;
}

.char-count {
    text-align: right;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 6px;
}

.form-footer {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 20px;
    text-align: center;
}

/* Info Cards */
.contact-info-wrapper {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-info-card,
.process-card {
    background: rgba(17, 17, 20, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 30px;
    backdrop-filter: blur(10px);
}

.info-title {
    font-size: 1.25rem;
    color: var(--text);
    margin-bottom: 24px;
    font-family: var(--font-mono);
}

.info-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.info-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.info-content strong {
    color: var(--text);
    font-size: 1rem;
}

.info-content span {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Process Steps */
.process-steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.step-item {
    display: flex;
    gap: 16px;
    align-items: center;
}

.step-num {
    font-family: var(--font-mono);
    color: var(--accent);
    font-weight: 700;
    font-size: 1.1rem;
    width: 24px;
}

.step-item span:last-child {
    color: var(--text-secondary);
    font-size: 0.95rem;
}



/* ============================================
   Footer Section
============================================ */
.site-footer {
    background: rgba(10, 10, 12, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 80px 0 30px;
    margin-top: 100px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    gap: 60px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.footer-brand {
    max-width: 350px;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.footer-desc {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}

.footer-links-group {
    display: flex;
    gap: 80px;
    flex-wrap: wrap;
}

.footer-column h4 {
    color: var(--text);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 24px;
    text-transform: uppercase;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Floating Call Button */


/* ============================================
   Responsive Design
============================================ */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .hero-content {
        max-width: 100%;
        text-align: center;
    }

    .badge {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }



    .float-element {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 100px 20px 60px;
    }

    .nav-container {
        padding: 0 20px;
    }

    .nav-links {
        display: none;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }

    .stat {
        text-align: center;
    }

    .stat-divider {
        width: 60px;
        height: 1px;
    }

    .visual-card {
        max-width: 100%;
    }

    /* Mobile Header Form - Fit in one screen */
    .visual-wrapper {
        max-width: 100%;
    }

    .visual-card {
        padding: 0;
    }

    .card-body {
        padding: 12px;
        gap: 8px;
    }

    .contact-form {
        gap: 8px;
    }

    .form-group {
        gap: 4px;
    }

    .form-label {
        font-size: 0.7rem;
        margin-bottom: 0;
    }

    .form-input {
        padding: 8px 10px;
        font-size: 0.8rem;
        border-radius: 8px;
    }

    .form-textarea {
        min-height: 30px;
        max-height: 60px;
        padding: 6px 10px;
    }

    .form-submit {
        padding: 8px 12px;
        font-size: 0.85rem;
        margin-top: 4px;
        border-radius: 8px;
    }

    /* Floating elements hidden on mobile */
    .float-element {
        display: none;
    }
}

@media (max-width: 480px) {


    .nav-cta {
        padding: 8px 16px;
        font-size: 0.85rem;
    }

    .card-body {
        padding: 16px;
    }

    .scan-item {
        padding: 12px;
    }
}

/* ============================================
   Mobile Only CTA
============================================ */
.mobile-only {
    display: none;
}

@media (max-width: 768px) {
    .mobile-only {
        display: block;
    }

    .mobile-cta-section {
        padding: 40px 20px;
        text-align: center;
        background: transparent;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .mobile-cta-section h3 {
        font-size: 1.5rem;
        margin-bottom: 12px;
        color: #fff;
    }

    .mobile-cta-section p {
        color: var(--text-secondary);
        margin-bottom: 24px;
        font-size: 0.95rem;
    }

    .mobile-cta-section .btn-primary {
        width: 100%;
        justify-content: center;
    }
}

/* ============================================
   Process Section (Forensic Workflow) - FINAL REBUILD
============================================ */
.process-section {
    padding: 100px 40px;
    position: relative;
    z-index: 10;
}

.process-container {
    max-width: 1200px;
    margin: 0 auto;
}

.process-steps {
    display: grid;
    /* Force 4 columns on desktop with high specificity */
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 0;
    margin-top: 80px;
    position: relative;
}

.process-step {
    position: relative;
    padding: 0 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Step Number (Background) */
/* Step Number (Inline) */
.step-num {
    color: #00d47b;
    margin-right: 8px;
    font-weight: 700;
}

/* Icon Wrapper & Connector */
.step-icon-wrapper {
    position: relative;
    width: 80px;
    height: 80px;
    background: #111114;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 32px;
    z-index: 2;
    transition: all 0.3s ease;
}

.step-icon {
    color: #8a8a8d;
    transition: all 0.3s ease;
}

.process-step:hover .step-icon-wrapper {
    border-color: #00d47b;
    box-shadow: 0 0 30px rgba(0, 212, 123, 0.1);
    transform: translateY(-5px);
}

.process-step:hover .step-icon {
    color: #00d47b;
}

/* Connecting Line */
.step-connector {
    position: absolute;
    top: 50%;
    left: 100%;
    width: calc(100% + 40px);
    height: 2px;
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-50%);
    z-index: -1;
    overflow: hidden;
}

.process-step:last-child .step-connector {
    display: none;
}

.step-connector::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #00d47b;
    transform: translateX(-100%);
    animation: flowLine 3s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.process-step:nth-child(1) .step-connector::after {
    animation-delay: 0s;
}

.process-step:nth-child(2) .step-connector::after {
    animation-delay: 0.5s;
}

.process-step:nth-child(3) .step-connector::after {
    animation-delay: 1s;
}

@keyframes flowLine {
    0% {
        transform: translateX(-100%);
    }

    50%,
    100% {
        transform: translateX(100%);
    }
}

.step-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 12px;
}

.step-desc {
    font-size: 0.9rem;
    color: #8a8a8d;
    line-height: 1.6;
    max-width: 260px;
}

/* Restore Stacking on Mobile ONLY */
@media (max-width: 768px) {
    .process-steps {
        /* Override the !important desktop rule for mobile */
        grid-template-columns: 1fr !important;
        gap: 60px;
    }

    .step-connector {
        width: 2px;
        height: 60px;
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
    }

    .step-connector::after {
        width: 100%;
        height: 100%;
        transform: translateY(-100%);
        animation-name: flowLineVertical;
    }

    @keyframes flowLineVertical {
        0% {
            transform: translateY(-100%);
        }

        50%,
        100% {
            transform: translateY(100%);
        }
    }

    .step-number {
        font-size: 6rem;
        top: -40px;
    }
}

/* ============================================
   Why Choose Us Section
============================================ */
.why-choose-us {
    padding: 80px 40px 120px 40px;
    position: relative;
    z-index: 10;
}

.features-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    margin-top: 60px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.feature-card {
    background: rgba(10, 10, 12, 0.4);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
    /* Flex sizing for 3 columns: (100% / 3) - gap adjustment */
    flex: 0 1 calc(33.333% - 24px);
    min-width: 300px;
    /* Default variables */
    --x: -100px;
    --y: -100px;
}

/* Circuit Pattern Layer (Match Service Card) */
.feature-card::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background-image:
        linear-gradient(rgba(0, 212, 123, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 123, 0.03) 1px, transparent 1px);
    background-size: 20px 20px;

    /* Reveal effect mask */
    mask-image: radial-gradient(250px circle at var(--x) var(--y), black 0%, transparent 100%);
    -webkit-mask-image: radial-gradient(250px circle at var(--x) var(--y), black 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.5s;
}

.feature-card:hover::before {
    opacity: 1;
}

/* Flashlight Glow Overlay */
.feature-card::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background: radial-gradient(200px circle at var(--x) var(--y), rgba(0, 212, 123, 0.15), transparent 100%);
    opacity: 0;
    transition: opacity 0.5s;
}

.feature-card:hover::after {
    opacity: 1;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 212, 123, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Ensure content sits above effects */
.feature-card>* {
    position: relative;
    z-index: 1;
}


.feature-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: #00d47b;
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: rgba(0, 212, 123, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: #00d47b;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background: #00d47b;
    color: #000;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 0.95rem;
    color: #8a8a8d;
    line-height: 1.6;
}

/* Highlight strong text in cards */
.feature-card strong {
    color: #fff;
    font-weight: 600;
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
        padding: 0;
    }
}


/* ============================================
   Testimonials Section
============================================ */
.testimonials-section {
    padding: 20px 0 120px 0;
    /* Removed side padding to allow full bleed marquee */
    position: relative;
    z-index: 10;
    overflow: hidden;
}

.testimonials-marquee {
    width: 100%;
    margin-top: 20px;
    /* Reduced to account for padding-top */
    padding: 40px 0;
    /* Add space for hover lift and shadow */
    position: relative;
    overflow: hidden;
    /* Fade mask on sides for premium feel */
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.testimonials-track {
    display: flex;
    gap: 32px;
    width: max-content;
    /* 6 cards + 6 cards duplicate = 12 cards. Animate 50% to loop. */
    animation: scrollInfinite 25s linear infinite;
    padding-left: 40px;
    /* Initial offset */
}

/* Pause animation on hover */
.testimonials-track:hover {
    animation-play-state: paused;
}

@keyframes scrollInfinite {
    0% {
        transform: translateX(0);
    }

    100% {
        /* Move left by 50% of the track width (the first 5 cards) */
        transform: translateX(-50%);
    }
}

.testimonial-card {
    background: rgba(15, 15, 18, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.4s ease;
    width: 400px;
    /* Fixed width is crucial for marquee */
    flex-shrink: 0;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    border-color: #00d47b;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.testimonial-image {
    height: 180px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(15, 15, 18, 1));
}

.quote-icon {
    position: absolute;
    bottom: -20px;
    right: 24px;
    font-size: 4rem;
    color: #00d47b;
    opacity: 0.2;
    z-index: 2;
    font-family: serif;
}

.testimonial-content {
    padding: 24px 32px 32px 32px;
    position: relative;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.testimonial-quote {
    font-size: 1rem;
    line-height: 1.7;
    color: #aaa;
    font-style: italic;
    margin-bottom: 24px;
    flex-grow: 1;
}

.testimonial-quote .highlight {
    color: #fff;
    font-style: normal;
    font-weight: 500;
}

.testimonial-author {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 16px;
}

.author-role {
    font-size: 1.1rem;
    color: #fff;
    font-weight: 600;
    margin-bottom: 4px;
}

.author-loc {
    font-size: 0.85rem;
    color: #00d47b;
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   Contact Section (Secure Form)
============================================ */
.contact-form-section {
    padding: 100px 40px;
    background: transparent;
    /* Changed from solid black */
    position: relative;
    z-index: 10;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
}

.contact-split-layout {
    display: grid;
    grid-template-columns: 1.2fr 1.8fr;
    /* Image narrower, Form wider */
    background: rgba(17, 17, 20, 0.6);
    /* Semi-transparent glass */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

/* Left Column: Image */
.contact-image-col {
    position: relative;
    background-size: cover;
    background-position: center;
    min-height: 100%;
}

.contact-image-col::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 212, 123, 0.1), rgba(0, 0, 0, 0.9));
}

.contact-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px;
    z-index: 2;
}

.secure-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: 50px;
    border: 1px solid rgba(0, 212, 123, 0.3);
    color: #00d47b;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.contact-quote h3 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 8px;
    line-height: 1.4;
}

.contact-quote p {
    color: #8a8a8d;
    font-family: var(--font-mono);
    font-size: 0.9rem;
}

/* Right Column: Form */
/* Right Column: Form */
.contact-form-col {
    padding: 60px;
    background: transparent;
    /* Removed solid background */
}

@media (max-width: 768px) {
    .contact-form-section {
        padding: 40px 0;
    }

    .contact-container {
        padding: 0;
    }

    .contact-split-layout {
        display: flex;
        flex-direction: column;
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }

    /* Form comes first on mobile */
    .contact-form-col {
        order: 1;
        padding: 40px 24px 48px;
        width: 100%;
    }

    /* Image comes second on mobile */
    .contact-image-col {
        order: 2;
        min-height: 280px;
        width: 100%;
        background-position: center;
    }

    .contact-overlay {
        padding: 24px;
    }

    .contact-quote h3 {
        font-size: 1.3rem;
        line-height: 1.35;
    }

    .contact-quote p {
        font-size: 0.8rem;
    }

    /* Form layout adjustments */
    .form-header {
        text-align: center;
        margin-bottom: 32px;
    }

    .form-title {
        font-size: 1.5rem;
        letter-spacing: -0.3px;
    }

    .form-subtitle {
        text-align: center;
        margin: 0 auto;
        font-size: 0.85rem;
    }

    /* Full-width stacked fields */
    .secure-form .form-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .secure-form {
        gap: 16px;
    }

    .input-group input,
    .input-group select,
    .input-group textarea {
        padding: 16px;
        font-size: 0.95rem;
        border-radius: 8px;
        background: #18181b;
        border: 1px solid rgba(255, 255, 255, 0.08);
    }

    .form-footer {
        flex-direction: column;
        align-items: stretch;
        margin-top: 8px;
    }

    .submit-btn {
        width: 100%;
        padding: 16px;
        font-size: 0.9rem;
        border-radius: 8px;
        text-align: center;
        letter-spacing: 1px;
    }
}

@media (max-width: 480px) {
    .contact-form-section {
        padding: 24px 0;
    }

    .contact-form-col {
        padding: 32px 20px 40px;
    }

    .form-title {
        font-size: 1.3rem;
    }

    .contact-image-col {
        min-height: 240px;
    }
}

/* ============================================
   Mobile Performance Optimizations
============================================ */
@media (max-width: 768px) {
    .contact-form-section {
        padding: 60px 16px;
    }

    /* Disable expensive backdrop-filter on mobile */
    .badge,
    .contact-split-layout,
    .site-footer,
    .feature-card,
    .signal-card,
    .service-card,
    .secure-badge,
    .review-card,
    .nav-container,
    .form-input {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }

    /* Fallback backgrounds for legibility */
    .contact-split-layout {
        background: #111114 !important;
    }

    .site-footer {
        background: #0a0a0c !important;
    }

    .feature-card,
    .signal-card,
    .service-card,
    .review-card {
        background: #111114 !important;
        /* Solid dark background */
        box-shadow: none !important;
        /* Remove expensive shadows */
    }

    .form-input {
        background: #18181b !important;
    }

    /* Simplify Hero Gradient */
    .hero::before {
        background: linear-gradient(to bottom, rgba(20, 25, 23, 0.8), transparent 80%);
    }

    /* Disable X-Ray Reveal on Mobile (Touch devices don't hover) */
    .feature-card::before,
    .feature-card::after,
    .service-card::before,
    .service-card::after,
    .signal-card::before,
    .signal-card::after {
        display: none !important;
        /* Removes the expensive masking layers */
    }
}

.form-header {
    text-align: center;
    margin-bottom: 40px;
}

.form-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.form-subtitle {
    color: #8a8a8d;
    font-size: 0.9rem;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.form-subtitle strong {
    color: #00d47b;
    display: block;
    margin-top: 8px;
}

.secure-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.input-group input,
.input-group select,
.input-group textarea {
    width: 100%;
    background: #18181b;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 14px 16px;
    border-radius: 8px;
    font-family: var(--font-main);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.input-group input:focus,
.input-group select:focus,
.input-group textarea:focus {
    outline: none;
    border-color: #00d47b;
    box-shadow: 0 0 0 2px rgba(0, 212, 123, 0.1);
    background: #222;
}

.input-group textarea {
    resize: vertical;
}

/* Placeholder styling */
::placeholder {
    color: #555;
    opacity: 1;
}

.form-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
    gap: 20px;
}

/* Fake Recaptcha */
.captcha-placeholder {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f9f9f9;
    /* Recaptcha is usually light */
    padding: 0 12px;
    height: 74px;
    border-radius: 4px;
    border: 1px solid #d3d3d3;
    min-width: 240px;
}

.checkbox-box {
    width: 24px;
    height: 24px;
    border: 2px solid #c1c1c1;
    border-radius: 2px;
    background: #fff;
    cursor: pointer;
}

.captcha-placeholder span {
    color: #000;
    font-family: Roboto, sans-serif;
    font-weight: 400;
    font-size: 14px;
    flex-grow: 1;
}

.captcha-logo {
    height: 32px;
    opacity: 0.8;
}

.submit-btn {
    background: #00d47b;
    color: #000;
    font-weight: 700;
    padding: 16px 32px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.submit-btn:hover {
    background: #00ff95;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 212, 123, 0.2);
}

@media (max-width: 900px) {
    .contact-split-layout {
        grid-template-columns: 1fr;
    }

    .contact-image-col {
        height: 250px;
        min-height: auto;
    }

    .contact-form-col {
        padding: 40px 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .form-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .captcha-placeholder {
        width: 100%;
    }
}

/* ============================================
   Footer Accessibility Fixes
============================================ */
.footer-desc {
    color: var(--text-secondary);
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--text);
}

@media (max-width: 768px) {
    .submit-btn {
        font-size: 0.75rem;
        /* Smaller font for mobile */
        padding: 12px 20px;
        /* Adjust padding */
        width: 100%;
        /* Ensure it takes full width if needed or let it fit */
    }

    .faq-container {
        padding: 0;
    }

    .faq-container .section-header {
        padding: 0 20px;
    }

    .faq-grid {
        gap: 0;
    }

    .faq-item {
        border-radius: 0;
        border-left: none;
        border-right: none;
        margin-bottom: -1px;
    }

    .faq-question {
        font-size: 0.95rem;
        padding: 16px 20px;
    }

    .faq-answer p {
        font-size: 0.9rem;
    }

    .faq-section {
        -webkit-mask-image: none !important;
        mask-image: none !important;
    }
}

/* ============================================
   Sticky Mobile Call Button
============================================ */
.sticky-mobile-cta {
    display: none;
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    z-index: 1000;
    width: auto;
    /* Minimize width */
    max-width: 90%;
    /* Green Glass Effect */
    background: rgba(10, 10, 12, 0.7);
    /* Dark semi-transparent base */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 212, 123, 0.4);
    /* Green border */
    color: #00d47b;
    /* Green text */
    padding: 12px 24px;
    /* Reduced padding */
    border-radius: 50px;
    text-decoration: none;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(0, 212, 123, 0.15),
        /* Green outer glow */
        inset 0 0 20px rgba(0, 212, 123, 0.05);
    /* Green inner glow */
    align-items: center;
    justify-content: center;
    gap: 10px;
    /* Reduced gap */
    font-weight: 600;
    font-size: 1rem;
    /* Slightly smaller font */
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.27);
    animation: slideUpCta 0.8s 0.5s forwards;
    white-space: nowrap;
}

/* Red Theme Override */
body.theme-red .sticky-mobile-cta {
    border-color: rgba(255, 50, 50, 0.4);
    /* Red border */
    color: #ff3333;
    /* Red text */
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(255, 50, 50, 0.15),
        /* Red outer glow */
        inset 0 0 20px rgba(255, 50, 50, 0.05);
    /* Red inner glow */
}

body.theme-red .sticky-mobile-cta svg {
    filter: drop-shadow(0 0 5px rgba(255, 50, 50, 0.4));
}

body.theme-red .sticky-mobile-cta:active {
    background: rgba(255, 50, 50, 0.15);
}

.sticky-mobile-cta:active {
    transform: translateX(-50%) scale(0.96);
    background: rgba(0, 212, 123, 0.15);
    /* Slightly lighter on press */
}

.sticky-mobile-cta svg {
    width: 20px;
    /* Smaller icon */
    height: 20px;
    filter: drop-shadow(0 0 5px rgba(0, 212, 123, 0.4));
    transition: filter 0.3s ease;
}

@keyframes slideUpCta {
    to {
        transform: translateX(-50%) translateY(0);
    }
}

@media (max-width: 768px) {
    .sticky-mobile-cta {
        display: flex;
    }
}