/* Perseus Website - Design System */
/* Color Scheme: White Background, Black Text, Purple Accent */

:root {
    /* Colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fc;
    --bg-tertiary: #f0f2f7;
    --text-primary: #111111;
    --text-secondary: #444444;
    --text-muted: #666666;
    --text-light: #888888;

    /* Purple Accent Palette */
    --purple-primary: #7c3aed;
    --purple-dark: #5b21b6;
    --purple-light: #a78bfa;
    --purple-glow: rgba(124, 58, 237, 0.15);
    --purple-gradient: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);

    /* Borders & Shadows */
    --border-light: #e5e7eb;
    --border-medium: #d1d5db;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-purple: 0 10px 40px -10px rgba(124, 58, 237, 0.3);

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Spacing */
    --section-padding: 100px;
    --container-max: 1200px;

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* Reset & Base */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Container */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
}

p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.gradient-text {
    background: var(--purple-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Section Styling */
.section {
    padding: var(--section-padding) 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    margin-bottom: 16px;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    transition: var(--transition-normal);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: -0.03em;
}

.nav-logo img {
    height: 36px;
    width: auto;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition-fast);
    position: relative;
}

.nav-link:hover {
    color: var(--purple-primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--purple-primary);
    transition: var(--transition-normal);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--purple-gradient);
    color: white;
    padding: 10px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-purple);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px -10px rgba(124, 58, 237, 0.4);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    position: relative;
    transition: var(--transition-fast);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition-fast);
}

.hamburger::before {
    top: -7px;
}

.hamburger::after {
    bottom: -7px;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 20%, var(--purple-glow) 0%, transparent 50%),
        radial-gradient(ellipse at 30% 80%, rgba(168, 85, 247, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--purple-glow);
    color: var(--purple-primary);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid rgba(124, 58, 237, 0.2);
}

.hero-title {
    margin-bottom: 24px;
    color: var(--text-primary);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    max-width: 600px;
    line-height: 1.7;
}

.hero-micro {
    font-size: 0.95rem;
    font-style: italic;
    color: var(--text-muted);
    opacity: 0.75;
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-normal);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--purple-gradient);
    color: white;
    box-shadow: var(--shadow-purple);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px -10px rgba(124, 58, 237, 0.5);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border-medium);
}

.btn-outline:hover {
    border-color: var(--purple-primary);
    color: var(--purple-primary);
    background: var(--purple-glow);
}

/* ============================================
   STATS
   ============================================ */
.stats-row {
    display: flex;
    gap: 48px;
    margin-top: 60px;
    flex-wrap: wrap;
}

.stat {
    text-align: left;
}

.stat-value {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
}

.stat-value.purple {
    color: var(--purple-primary);
}

.stat-label {
    display: block;
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-top: 8px;
}

/* ============================================
   PROBLEMS SECTION
   ============================================ */
.problems {
    background: var(--bg-secondary);
}

.problems-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.problem-card {
    background: var(--bg-primary);
    padding: 32px;
    border-radius: 16px;
    border: 1px solid var(--border-light);
    transition: var(--transition-normal);
}

.problem-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.problem-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: var(--purple-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.problem-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--purple-primary);
}

.problem-title {
    margin-bottom: 12px;
    color: var(--text-primary);
}

.problem-text {
    color: var(--text-muted);
    font-size: 1rem;
}

/* ============================================
   HOW IT WORKS
   ============================================ */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.step-card {
    text-align: center;
    padding: 40px 32px;
    background: var(--bg-primary);
    border-radius: 20px;
    border: 1px solid var(--border-light);
    position: relative;
    transition: var(--transition-normal);
}

.step-card:hover {
    border-color: var(--purple-light);
    box-shadow: var(--shadow-lg);
}

.step-number {
    display: block;
    font-size: 4rem;
    font-weight: 800;
    color: var(--bg-tertiary);
    position: absolute;
    top: 16px;
    right: 24px;
    line-height: 1;
}

.step-icon {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    background: var(--purple-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    box-shadow: var(--shadow-purple);
}

.step-icon svg {
    width: 32px;
    height: 32px;
    stroke: white;
}

.step-title {
    margin-bottom: 12px;
}

.step-text {
    color: var(--text-muted);
    font-size: 1rem;
}

/* Expanded Step Cards */
.step-card-expanded {
    text-align: left;
    padding: 40px 36px;
    display: flex;
    flex-direction: column;
}

.step-card-expanded .step-title {
    text-align: left;
}

.step-card-expanded .step-text {
    text-align: left;
    margin-bottom: 20px;
}

.step-details {
    list-style: none;
    margin-bottom: 20px;
    text-align: left;
}

.step-details li {
    padding: 8px 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
    border-bottom: 1px solid var(--border-light);
    position: relative;
    padding-left: 20px;
}

.step-details li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--purple-primary);
}

.step-details li:last-child {
    border-bottom: none;
}

.step-outcome {
    background: var(--purple-glow);
    border-radius: 10px;
    padding: 14px 18px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    border-left: 3px solid var(--purple-primary);
}

.step-outcome strong {
    color: var(--purple-primary);
}

.step-result {
    font-size: 0.95rem;
    color: var(--purple-primary);
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
}

.step-result strong {
    color: var(--text-primary);
}

/* ============================================
   REVENUE KILLERS SECTION
   ============================================ */
.revenue-killers {
    background: var(--bg-primary);
}

.killers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.killer-card {
    background: var(--bg-secondary);
    border-radius: 16px;
    padding: 32px;
    border: 1px solid var(--border-light);
    transition: var(--transition-normal);
}

.killer-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: var(--purple-light);
}

.killer-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: var(--purple-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.killer-icon svg {
    stroke: var(--purple-primary);
}

.killer-card h3 {
    color: var(--text-primary);
    margin-bottom: 12px;
    font-size: 1.25rem;
}

.killer-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ============================================
   FLOATING GRAPHIC CARDS
   ============================================ */
.floating-graphic-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 48px 0;
    perspective: 1000px;
}

.floating-graphic-card {
    background: var(--bg-primary);
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-light);
    padding: 16px;
    animation: floatMockup 6s ease-in-out infinite;
    overflow: hidden;
    transition: var(--transition-normal);
}

.floating-graphic-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 30px 60px rgba(139, 92, 246, 0.15);
}

.floating-graphic-card img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
}

/* Single centered card */
.floating-graphic-container:not(.floating-graphic-duo) .floating-graphic-card {
    max-width: 500px;
}

/* Duo layout - overlapping cards */
.floating-graphic-duo {
    position: relative;
    height: 400px;
    max-width: 900px;
    margin: 48px auto;
}

.floating-card-left {
    position: absolute;
    left: 0;
    top: 20px;
    max-width: 420px;
    z-index: 2;
    animation-delay: 0s;
}

.floating-card-right {
    position: absolute;
    right: 0;
    top: 60px;
    max-width: 380px;
    z-index: 1;
    animation-delay: -3s;
}

/* Audit section floating card */
.floating-graphic-audit {
    max-width: 450px;
    animation-delay: -2s;
    overflow: hidden;
}

.floating-graphic-audit img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    /* Crop bottom 5% to hide watermark */
    clip-path: inset(0 0 5% 0);
}

.audit-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ============================================
   DIAGNOSTIC VISUALIZATION
   ============================================ */
.diagnostic-visualization {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin: 48px 0;
    perspective: 1000px;
}

.diag-card {
    background: var(--bg-primary);
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-light);
    padding: 20px;
    animation: floatMockup 6s ease-in-out infinite;
}

.diag-scanner {
    width: 320px;
    animation-delay: 0s;
}

.diag-summary {
    width: 280px;
    animation-delay: -2s;
}

.diag-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-light);
}

.diag-status {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #22c55e;
}

.diag-status.scanning {
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

.diag-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
}

.diag-scanner-visual {
    position: relative;
    overflow: hidden;
}

.scan-line {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--purple-primary), transparent);
    animation: scanMove 2s ease-in-out infinite;
}

@keyframes scanMove {
    0% {
        top: 0;
        opacity: 1;
    }

    100% {
        top: 100%;
        opacity: 0;
    }
}

.scan-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.scan-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 8px;
    background: var(--bg-secondary);
    font-size: 0.875rem;
}

.scan-item.detected {
    border-left: 3px solid #ef4444;
}

.scan-item.warning {
    border-left: 3px solid #eab308;
}

.scan-item.ok {
    border-left: 3px solid #22c55e;
}

.scan-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
}

.scan-item.detected .scan-icon {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

.scan-item.warning .scan-icon {
    background: rgba(234, 179, 8, 0.15);
    color: #eab308;
}

.scan-item.ok .scan-icon {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
}

.scan-item span:nth-child(2) {
    flex: 1;
    color: var(--text-secondary);
}

.scan-value {
    font-weight: 600;
}

.scan-value.red {
    color: #ef4444;
}

.scan-value.yellow {
    color: #eab308;
}

.scan-value.green {
    color: #22c55e;
}

/* Leak bars */
.leak-bars {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 16px;
}

.leak-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.leak-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    width: 80px;
}

.leak-bar-track {
    flex: 1;
    height: 6px;
    background: var(--bg-tertiary);
    border-radius: 3px;
    overflow: hidden;
}

.leak-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #ef4444, #f97316);
    border-radius: 3px;
}

.leak-amount {
    font-size: 0.75rem;
    font-weight: 600;
    color: #ef4444;
    width: 50px;
    text-align: right;
}

.leak-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid var(--border-light);
}

.leak-total span:first-child {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.leak-total-amount {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ef4444;
}

/* ============================================
   PROCESS FLOW VISUALIZATION
   ============================================ */
.process-flow-visualization {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin: 48px 0;
    perspective: 1000px;
}

.process-flow-card {
    background: var(--bg-primary);
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-light);
    padding: 24px;
    width: 340px;
    animation: floatMockup 6s ease-in-out infinite;
}

.process-flow-header {
    margin-bottom: 20px;
}

.flow-badge {
    display: inline-block;
    padding: 6px 12px;
    background: var(--purple-glow);
    color: var(--purple-primary);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.process-flow-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.flow-step {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px;
    border-radius: 10px;
    background: var(--bg-secondary);
    transition: var(--transition-normal);
}

.flow-step.completed {
    border-left: 3px solid #22c55e;
}

.flow-step.active {
    border-left: 3px solid var(--purple-primary);
    background: var(--purple-glow);
}

.flow-step.pending {
    border-left: 3px solid var(--border-light);
    opacity: 0.6;
}

.flow-step-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.flow-step.completed .flow-step-icon svg {
    stroke: #22c55e;
}

.flow-step.active .flow-step-icon svg {
    stroke: var(--purple-primary);
}

.flow-step.pending .flow-step-icon svg {
    stroke: var(--text-muted);
}

.flow-step-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.flow-step-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
}

.flow-step-desc {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.flow-step-status {
    font-size: 1rem;
    font-weight: 600;
}

.flow-step.completed .flow-step-status {
    color: #22c55e;
}

.flow-step.active .flow-step-status {
    color: var(--purple-primary);
}

.flow-step.pending .flow-step-status {
    color: var(--text-muted);
}

.flow-step-status.pulse {
    animation: pulse 1.5s ease-in-out infinite;
}

.flow-connector {
    width: 2px;
    height: 16px;
    background: var(--border-light);
    margin-left: 30px;
}

/* Results preview card */
.results-preview-card {
    background: var(--bg-primary);
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-light);
    padding: 24px;
    width: 260px;
    animation: floatMockup 6s ease-in-out infinite;
    animation-delay: -3s;
}

.results-header {
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-light);
}

.results-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
}

.results-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.result-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.result-check {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
}

/* ============================================
   INDUSTRIES / SHOWCASE
   ============================================ */
.industries {
    background: var(--bg-secondary);
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.industry-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 320px;
    transition: var(--transition-normal);
}

.industry-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.industry-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.industry-card:hover img {
    transform: scale(1.05);
}

.industry-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.2) 50%, transparent 100%);
}

.industry-content {
    position: absolute;
    bottom: 28px;
    left: 28px;
    z-index: 2;
}

.industry-content h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.industry-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

/* ============================================
   NOT THIS SECTION (DIFFERENTIATION)
   ============================================ */
.not-this {
    background: var(--text-primary);
    color: white;
}

.not-this .section-title {
    color: white;
}

.not-this .section-subtitle {
    color: rgba(255, 255, 255, 0.6);
}

.not-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.not-column h3 {
    color: var(--purple-light);
    margin-bottom: 20px;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.not-list {
    list-style: none;
}

.not-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.05rem;
}

.not-list .icon-x {
    color: #ef4444;
    font-weight: bold;
}

.not-list .icon-check {
    color: #22c55e;
    font-weight: bold;
}

/* ============================================
   AUDIT SECTION
   ============================================ */
.audit-section {
    position: relative;
    overflow: hidden;
}

.audit-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--purple-glow) 0%, transparent 70%);
    pointer-events: none;
}

.audit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.audit-content h2 {
    margin-bottom: 24px;
}

.audit-content p {
    margin-bottom: 30px;
}

.audit-list {
    list-style: none;
}

.audit-list li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
    font-size: 1.05rem;
    color: var(--text-secondary);
}

.audit-list .bullet {
    color: var(--purple-primary);
    font-size: 1.25rem;
    margin-top: 2px;
}

.audit-visual {
    background: var(--bg-secondary);
    border-radius: 24px;
    padding: 48px;
    border: 1px solid var(--border-light);
}

.audit-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border-light);
}

.audit-item:last-child {
    border-bottom: none;
}

.audit-num {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--purple-gradient);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.audit-item span {
    font-size: 1.05rem;
    color: var(--text-secondary);
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials {
    background: var(--bg-secondary);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    background: var(--bg-primary);
    padding: 32px;
    border-radius: 16px;
    border: 1px solid var(--border-light);
    transition: var(--transition-normal);
}

.testimonial-card:hover {
    box-shadow: var(--shadow-lg);
}

.stars {
    color: #fbbf24;
    font-size: 1.25rem;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
    font-style: italic;
    line-height: 1.7;
}

.testimonial-author strong {
    display: block;
    color: var(--text-primary);
    font-size: 1rem;
}

.testimonial-author span {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    background: var(--text-primary);
    padding: 100px 0;
}

.cta-card {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-card h2 {
    color: white;
    margin-bottom: 16px;
}

.cta-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.2rem;
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-section .btn-outline {
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
}

.cta-section .btn-outline:hover {
    border-color: var(--purple-light);
    color: var(--purple-light);
    background: rgba(124, 58, 237, 0.1);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--bg-secondary);
    padding: 80px 0 40px;
    border-top: 1px solid var(--border-light);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand .footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 16px;
}

.footer-brand .footer-logo img {
    height: 32px;
}

.footer-tagline {
    color: var(--text-muted);
    font-size: 1rem;
    max-width: 280px;
}

.footer-links h4 {
    color: var(--text-primary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--purple-primary);
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.footer-contact svg {
    width: 18px;
    height: 18px;
    stroke: var(--purple-primary);
    flex-shrink: 0;
}

.footer-contact a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-contact a:hover {
    color: var(--purple-primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid var(--border-light);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq-section {
    background: var(--bg-primary);
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--bg-secondary);
    border-radius: 16px;
    border: 1px solid var(--border-light);
    overflow: hidden;
    transition: var(--transition-normal);
}

.faq-item:hover {
    border-color: var(--purple-light);
    box-shadow: var(--shadow-md);
}

.faq-item[open] {
    border-color: var(--purple-primary);
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.1);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 28px;
    cursor: pointer;
    list-style: none;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    transition: var(--transition-fast);
    user-select: none;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question::marker {
    display: none;
    content: '';
}

.faq-question:hover {
    color: var(--purple-primary);
}

.faq-chevron {
    flex-shrink: 0;
    transition: transform 0.3s ease;
    stroke: var(--text-muted);
}

.faq-item[open] .faq-chevron {
    transform: rotate(180deg);
    stroke: var(--purple-primary);
}

.faq-answer {
    padding: 0 28px 24px;
    animation: faqFadeIn 0.3s ease;
}

.faq-answer p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
}

.faq-answer a {
    color: var(--purple-primary);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-fast);
}

.faq-answer a:hover {
    color: var(--purple-dark);
    text-decoration: underline;
}

@keyframes faqFadeIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   HERO FLOATING MOCKUPS
   ============================================ */
.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.hero-mockups {
    flex-shrink: 0;
    width: 520px;
    max-width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
    gap: 20px;
    align-items: stretch;
    box-sizing: border-box;
}

.mockup-card {
    position: relative;
    background: var(--bg-primary);
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-light);
    padding: 24px;
    animation: floatMockup 6s ease-in-out infinite;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mockup-card:hover {
    box-shadow: 0 25px 50px rgba(124, 58, 237, 0.15);
}

/* Grid placement for 2x2 staggered layout */
.mockup-card-1 {
    grid-column: 1;
    grid-row: 1 / 3;
    z-index: 2;
    animation-delay: 0s;
}

.mockup-card-2 {
    grid-column: 1;
    grid-row: 3;
    z-index: 3;
    animation-delay: -2s;
}

.mockup-card-3 {
    grid-column: 2;
    grid-row: 1;
    z-index: 1;
    animation-delay: -4s;
}

@keyframes floatMockup {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

/* Sequential Glow Pulse Sync */
.mockup-card-1 {
    animation: floatMockup 6s ease-in-out infinite, glowPulse 8s ease-in-out infinite 0s;
}

.mockup-card-2 {
    animation: floatMockup 7s ease-in-out infinite -1s, glowPulse 8s ease-in-out infinite 2s;
}

.mockup-card-3 {
    animation: floatMockup 8s ease-in-out infinite -2s, glowPulse 8s ease-in-out infinite 4s;
}

.mockup-card-4 {
    animation: floatMockup 9s ease-in-out infinite -3s, glowPulse 8s ease-in-out infinite 6s;
}

@keyframes glowPulse {

    0%,
    80%,
    100% {
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    }

    40% {
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1), 0 0 20px rgba(124, 58, 237, 0.2), inset 0 0 0 1px rgba(124, 58, 237, 0.15);
    }
}

/* Scorecard Mockup */
.scorecard-mockup {
    background: var(--bg-primary);
}

.scorecard-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 20px;
    padding-left: 12px;
    border-left: 3px solid var(--purple-primary);
}

.scorecard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* ============================================
   CONTINUOUS ANIMATION HERO CARDS
   ============================================ */
.mockup-card {
    background: var(--bg-primary);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-light);
    padding: 24px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.card-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--purple-glow);
    color: var(--purple-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-icon.revenue {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.card-icon.risk {
    background: rgba(234, 179, 8, 0.1);
    color: #eab308;
}

.card-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-left: 12px;
}

/* 1. Scorecard (Live Monitor) */
.mockup-card-1 {
    width: 100%;
    min-height: 320px;
    z-index: 2;
    animation: floatMockup 6s ease-in-out infinite;
}

.scorecard-header {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
}

.scorecard-ring-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.score-ring-wrapper {
    width: 180px;
    height: 180px;
    position: relative;
}

.score-ring-svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.ring-track {
    fill: none;
    stroke: var(--bg-tertiary);
    stroke-width: 8;
}

.ring-fill-red {
    fill: none;
    stroke: #ef4444;
    stroke-width: 8;
    stroke-linecap: round;
    stroke-dasharray: 283;
    stroke-dashoffset: 283;
    animation: continuousRingFill 4s ease-in-out infinite;
}

@keyframes continuousRingFill {
    0% {
        stroke-dashoffset: 283;
    }

    50% {
        stroke-dashoffset: 190;
    }

    60% {
        stroke-dashoffset: 190;
    }

    100% {
        stroke-dashoffset: 283;
    }
}

.score-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.score-number {
    font-size: 3rem;
    font-weight: 700;
    display: block;
    line-height: 1;
}

.score-number.critical {
    color: #ef4444;
    animation: pulseCritical 4s ease-in-out infinite;
}

@keyframes pulseCritical {

    0%,
    100% {
        opacity: 0.8;
    }

    50% {
        opacity: 1;
        text-shadow: 0 0 15px rgba(239, 68, 68, 0.4);
    }
}

.score-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* 2. Revenue Mockup (Active Detection) */
/* 2. Revenue Mockup (Active Detection) */
.mockup-card-2 {
    width: 100%;
    min-height: 180px;
    z-index: 3;
    animation: floatMockup 7s ease-in-out infinite;
    animation-delay: -1s;
}

.revenue-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.revenue-display {
    text-align: center;
    position: relative;
    z-index: 2;
}

.revenue-counter-wrapper {
    display: flex;
    justify-content: center;
    align-items: baseline;
    color: #ef4444;
}

.currency {
    font-size: 1.5rem;
    font-weight: 600;
    margin-right: 4px;
}

.counter-value {
    font-size: 2.5rem;
    font-weight: 800;
    font-feature-settings: "tnum";
    animation: textPulse 4s infinite;
}

@keyframes textPulse {
    0% {
        transform: scale(1);
        opacity: 1;
        filter: blur(0);
    }

    45% {
        transform: scale(1);
        opacity: 1;
        filter: blur(0);
    }

    50% {
        transform: scale(1.1);
        text-shadow: 0 0 20px rgba(239, 68, 68, 0.6);
        color: #ef4444;
    }

    55% {
        transform: scale(1);
        text-shadow: none;
    }

    90% {
        opacity: 1;
    }

    95% {
        opacity: 0.8;
        filter: blur(2px);
    }

    /* Quick "refresh" glitch */
    100% {
        opacity: 1;
        filter: blur(0);
    }
}



.revenue-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.revenue-chart-mini {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 8px;
    opacity: 0.2;
    padding-bottom: 10px;
}

.chart-bar-1,
.chart-bar-2,
.chart-bar-3 {
    width: 20px;
    background: #ef4444;
    border-radius: 4px 4px 0 0;
    animation: barBounce 2s ease-in-out infinite;
}

.chart-bar-1 {
    height: 20px;
    animation-delay: 0s;
}

.chart-bar-2 {
    height: 35px;
    animation-delay: 0.2s;
}

.chart-bar-3 {
    height: 25px;
    animation-delay: 0.4s;
}

@keyframes barBounce {

    0%,
    100% {
        transform: scaleY(1);
    }

    50% {
        transform: scaleY(1.5);
    }
}

/* Leak Detection Scan Line */
.revenue-mockup::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ef4444, transparent);
    animation: leakScan 3s ease-in-out infinite;
    z-index: 10;
}

@keyframes leakScan {
    0% {
        top: 0;
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        top: 100%;
        opacity: 0;
    }
}

/* Alert Pulse Ring on Revenue Card Icon */
.card-icon.revenue::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 2px solid #ef4444;
    animation: alertPulse 2s ease-out infinite;
}

.card-icon.revenue {
    position: relative;
}

@keyframes alertPulse {
    0% {
        width: 32px;
        height: 32px;
        opacity: 0.8;
    }

    100% {
        width: 52px;
        height: 52px;
        opacity: 0;
    }
}

/* Growth Risk Map Mockup */
.risk-mockup {
    background: var(--bg-primary);
}

.risk-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
    padding-left: 12px;
    border-left: 3px solid #22c55e;
}

.risk-bars {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.risk-bar {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* 3. Risk Mockup (Live Data) */
.mockup-card-3 {
    width: 100%;
    min-height: 180px;
    z-index: 1;
    animation: floatMockup 8s ease-in-out infinite;
    animation-delay: -2s;
}

.risk-header {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}

.risk-rows {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.risk-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.risk-lbl {
    width: 45px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
}

.risk-track {
    flex: 1;
    height: 8px;
    background: var(--bg-tertiary);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.risk-fill {
    height: 100%;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    /* Ensure visible foundation */
    width: 0%;
}

/* Specific bar animations with widths */
.green-fill {
    background: #22c55e;
    animation: liveBarGreen 3s ease-in-out infinite;
}

.yellow-fill {
    background: #eab308;
    animation: liveBarYellow 3s ease-in-out infinite;
    animation-delay: 0.5s;
}

.red-fill {
    background: #ef4444;
    animation: liveBarRed 3s ease-in-out infinite;
    animation-delay: 1s;
}

@keyframes liveBarGreen {
    0% {
        width: 10%;
        opacity: 0.5;
    }

    50% {
        width: 85%;
        opacity: 1;
        box-shadow: 0 0 10px rgba(34, 197, 94, 0.4);
    }

    100% {
        width: 10%;
        opacity: 0.5;
    }
}

@keyframes liveBarYellow {
    0% {
        width: 10%;
        opacity: 0.5;
    }

    50% {
        width: 60%;
        opacity: 1;
        box-shadow: 0 0 10px rgba(234, 179, 8, 0.4);
    }

    100% {
        width: 10%;
        opacity: 0.5;
    }
}

@keyframes liveBarRed {
    0% {
        width: 10%;
        opacity: 0.5;
    }

    50% {
        width: 90%;
        opacity: 1;
        box-shadow: 0 0 10px rgba(239, 68, 68, 0.4);
    }

    100% {
        width: 10%;
        opacity: 0.5;
    }
}

/* Shimmer overlay */
.risk-fill::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    transform: translateX(-100%);
    animation: shimmer 1.5s infinite linear;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}




/* 4. Partner Network Mockup */
.mockup-card-4 {
    grid-column: 2;
    grid-row: 2 / 4;
    width: 100%;
    min-height: 280px;
    z-index: 4;
    animation: floatMockup 9s ease-in-out infinite;
    animation-delay: -3s;
}

.partner-header {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-light);
}

.partner-rows {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 1;
}

.partner-row {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 36px;
}

.problem-lbl {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    width: 70px;
    white-space: nowrap;
    text-shadow: 0 0 10px rgba(239, 68, 68, 0.4);
    /* Red Glow */
}

.connection-line {
    flex: 1;
    height: 2px;
    background: var(--bg-tertiary);
    position: relative;
    /* overflow: hidden; Removed to show arrow */
    border-radius: 2px;
}

.line-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: #22c55e;
}

/* Arrow at end of line */
.line-fill::after {
    content: "";
    position: absolute;
    right: -4px;
    top: -3px;
    width: 0;
    height: 0;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-left: 6px solid #22c55e;
}

.solution-badge {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 12px;
    color: white;
    opacity: 0.3;
    /* Visible but dimmed by default */
    transform: scale(0.9);
    white-space: nowrap;
    min-width: 60px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    background: #8b5cf6;
    /* Unified Purple Color */
}

/* Badge Colors - Overridden by uniform style above, keeping classes for potential future use or specific overrides if needed, but forces uniform now */
.solution-badge.auto,
.solution-badge.marketing,
.solution-badge.solutions,
.solution-badge.recruiter {
    background: #8b5cf6;
}

/* Animation Logic */
.partner-row:nth-child(1) .line-fill {
    animation: lineConnect 8s infinite 0.5s;
}

.partner-row:nth-child(1) .solution-badge {
    animation: badgeReveal 8s infinite 1.0s;
}

.partner-row:nth-child(2) .line-fill {
    animation: lineConnect 8s infinite 2.0s;
}

.partner-row:nth-child(2) .solution-badge {
    animation: badgeReveal 8s infinite 2.5s;
}

.partner-row:nth-child(3) .line-fill {
    animation: lineConnect 8s infinite 3.5s;
}

.partner-row:nth-child(3) .solution-badge {
    animation: badgeReveal 8s infinite 4.0s;
}

.partner-row:nth-child(4) .line-fill {
    animation: lineConnect 8s infinite 5.0s;
}

.partner-row:nth-child(4) .solution-badge {
    animation: badgeReveal 8s infinite 5.5s;
}

@keyframes lineConnect {
    0% {
        width: 0;
    }

    10% {
        width: 100%;
    }

    85% {
        width: 100%;
        opacity: 1;
    }

    90% {
        width: 100%;
        opacity: 0;
    }

    100% {
        width: 0;
        opacity: 0;
    }
}

@keyframes badgeReveal {
    0% {
        opacity: 0.3;
        transform: scale(0.9);
    }

    5% {
        opacity: 1;
        transform: scale(1);
        box-shadow: 0 0 15px rgba(139, 92, 246, 0.6);
        /* Purple Glow on Active */
    }

    85% {
        opacity: 1;
        transform: scale(1);
        box-shadow: none;
    }

    90% {
        opacity: 0.3;
        transform: scale(0.9);
    }

    100% {
        opacity: 0.3;
        transform: scale(0.9);
    }
}


/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    :root {
        --section-padding: 80px;
    }

    .hero .container {
        flex-direction: column;
    }

    .hero-mockups {
        width: 100%;
        max-width: 480px;
        height: 420px;
        margin: 40px auto 0;
    }

    .problems-grid,
    .industries-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

    .audit-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Floating cards responsive */
    .floating-graphic-duo {
        height: auto;
        flex-direction: column;
        gap: 24px;
    }

    .floating-card-left,
    .floating-card-right {
        position: relative;
        top: 0;
        left: 0;
        right: 0;
        max-width: 400px;
        margin: 0 auto;
    }

    /* Diagnostic and process flow responsive */
    .diagnostic-visualization,
    .process-flow-visualization {
        flex-direction: column;
        align-items: center;
    }

    .diag-scanner,
    .diag-summary,
    .process-flow-card,
    .results-preview-card {
        width: 100%;
        max-width: 360px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--bg-primary);
        flex-direction: column;
        padding: 24px;
        gap: 0;
        border-bottom: 1px solid var(--border-light);
        box-shadow: var(--shadow-lg);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-link {
        padding: 12px 0;
        width: 100%;
        border-bottom: 1px solid var(--border-light);
    }

    .nav-link::after {
        display: none;
    }

    .nav-cta {
        margin-top: 16px;
        text-align: center;
        width: 100%;
    }

    .nav-toggle {
        display: block;
    }

    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    .stats-row {
        gap: 32px;
    }

    .problems-grid,
    .industries-grid,
    .testimonials-grid,
    .killers-grid,
    .not-grid {
        grid-template-columns: 1fr;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    /* Mobile Hero Mockups - Stacked & Fluid */
    .hero-mockups {
        width: 100%;
        max-width: 100%;
        height: auto;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        gap: 24px;
        margin-top: 40px;
    }

    .mockup-card {
        padding: 20px;
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
        transform: none !important;
        animation: none !important;
        /* Disable floating on mobile for stability */
        margin-bottom: 0;
        grid-column: auto;
        grid-row: auto;
    }

    .mockup-card-1,
    .mockup-card-2,
    .mockup-card-3,
    .mockup-card-4 {
        width: 100%;
        max-width: 100%;
        min-height: auto;
        grid-column: auto;
        grid-row: auto;
        z-index: 1;
    }

    .mockup-card-2 {
        top: 0;
        /* Reset specific top positioning from previous CSS */
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.95rem;
    }
}

/* ============================================
   AUDIT SCANNER VISUALIZATION
   ============================================ */
.audit-scanner-container {
    display: flex;
    justify-content: center;
    margin: 48px 0;
    perspective: 1000px;
}

.audit-card {
    background: var(--bg-primary);
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-light);
    padding: 24px;
    width: 380px;
    position: relative;
    overflow: hidden;
    animation: floatMockup 6s ease-in-out infinite;
    animation-delay: -2s;
}

.audit-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-light);
}

.audit-status-indicator {
    display: flex;
    align-items: center;
    gap: 10px;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 10px #22c55e;
}

.status-dot.pulsing {
    animation: pulse 1.5s infinite;
}

.status-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 0.5px;
}

.audit-id {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-family: monospace;
}

.audit-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.scan-module {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px;
    border-radius: 10px;
    background: var(--bg-secondary);
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.scan-module.active {
    background: var(--bg-primary);
    border-color: var(--purple-primary);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.1);
}

.module-ring-container {
    width: 40px;
    height: 40px;
    position: relative;
}

.module-ring {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.module-ring .ring-bg {
    fill: none;
    stroke: var(--bg-tertiary);
    stroke-width: 3;
}

.module-ring .ring-fill {
    fill: none;
    stroke-width: 3;
    stroke-linecap: round;
    animation: moduleRingFill 2s ease-out forwards;
}

@keyframes moduleRingFill {
    from {
        stroke-dasharray: 0, 100;
    }
}

.module-ring .ring-fill.red {
    stroke: #ef4444;
}

.module-ring .ring-fill.orange {
    stroke: #f97316;
}

.module-ring .ring-fill.yellow {
    stroke: #eab308;
}

.module-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.module-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
}

.module-status {
    font-size: 0.7rem;
    font-weight: 700;
    margin-top: 2px;
}

.module-status.red {
    color: #ef4444;
}

.module-status.orange {
    color: #f97316;
}

.module-status.yellow {
    color: #eab308;
}

.module-score {
    font-size: 0.9rem;
    font-weight: 700;
}

.module-score.red {
    color: #ef4444;
}

.module-score.orange {
    color: #f97316;
}

.module-score.yellow {
    color: #eab308;
}

.scan-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(to bottom,
            transparent 0%,
            rgba(139, 92, 246, 0.05) 50%,
            transparent 100%);
    pointer-events: none;
    animation: scannerSweep 3s linear infinite;
    z-index: 10;
}

.scan-overlay::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--purple-primary), transparent);
    box-shadow: 0 0 10px var(--purple-primary);
}

@keyframes scannerSweep {
    0% {
        transform: translateY(-100%);
    }

    100% {
        transform: translateY(100%);
    }
}

@media (max-width: 1024px) {
    .audit-card {
        width: 100%;
        max-width: 100%;
        /* Ensure it takes full width if needed */
    }
}

@media (max-width: 480px) {
    .audit-card {
        width: 100%;
        max-width: 100%;
        padding: 16px;
        /* Reduce padding for small screens */
    }

    .audit-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

/* Industry Learn More Link */
.industry-learn-more {
    display: inline-block;
    margin-top: 16px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--purple-primary);
    background: rgba(139, 92, 246, 0.1);
    padding: 6px 12px;
    border-radius: 20px;
    transition: var(--transition-fast);
}

.industry-card:hover .industry-learn-more {
    background: var(--purple-primary);
    color: white;
}