/* ========================================
   TISA Marketing Website - Premium Light Theme
   Enterprise-Grade Design System
   ======================================== */

/* ----------------------------------------
   CSS Custom Properties (Design Tokens)
   ---------------------------------------- */
:root {
    /* Background Colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --bg-accent: #eef2ff;

    /* Brand Colors */
    --brand-primary: #0f172a;
    --brand-gradient-start: #6366f1;
    --brand-gradient-end: #8b5cf6;
    --brand-gradient: linear-gradient(135deg, var(--brand-gradient-start), var(--brand-gradient-end));

    /* Semantic Colors */
    --color-success: #10b981;
    --color-warning: #f59e0b;
    --color-danger: #ef4444;

    /* Text Colors */
    --text-primary: #0f172a;
    --text-secondary: #64748b;
    --text-tertiary: #94a3b8;
    --text-inverse: #ffffff;

    /* Border Colors */
    --border-light: #e2e8f0;
    --border-medium: #cbd5e1;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.15);
    --shadow-card: 0 1px 3px rgba(0, 0, 0, 0.04), 0 4px 12px rgba(0, 0, 0, 0.06);
    --shadow-card-hover: 0 4px 12px rgba(0, 0, 0, 0.08), 0 12px 40px rgba(0, 0, 0, 0.12);

    /* Typography */
    --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Source Sans 3', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Font Sizes */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;
    --text-6xl: 3.75rem;
    --text-7xl: 4.5rem;

    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;
    --space-32: 8rem;

    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms ease;
    --transition-spring: 400ms cubic-bezier(0.34, 1.56, 0.64, 1);

    /* Container */
    --container-max: 1280px;
    --container-padding: var(--space-6);
}

/* ----------------------------------------
   Reset & Base Styles
   ---------------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Premium Selection */
::selection {
    background: rgba(99, 102, 241, 0.2);
    color: var(--brand-primary);
}

/* Premium Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--border-medium);
    border-radius: 5px;
    border: 3px solid var(--bg-primary);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-tertiary);
}

body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

h1 {
    font-size: var(--text-5xl);
}

h2 {
    font-size: var(--text-4xl);
}

h3 {
    font-size: var(--text-2xl);
}

h4 {
    font-size: var(--text-xl);
}

p {
    margin-bottom: var(--space-4);
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul,
ol {
    list-style: none;
}

button,
input,
textarea,
select {
    font-family: inherit;
    font-size: inherit;
    border: none;
    outline: none;
    background: none;
}

button {
    cursor: pointer;
}

/* ----------------------------------------
   Utility Classes
   ---------------------------------------- */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.gradient-text {
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

/* ----------------------------------------
   Button Styles
   ---------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-6);
    font-family: var(--font-display);
    font-size: var(--text-sm);
    font-weight: 600;
    line-height: 1.5;
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    white-space: nowrap;
}

.btn-primary {
    background: var(--brand-gradient);
    color: var(--text-inverse);
    box-shadow: var(--shadow-md), 0 4px 14px rgba(99, 102, 241, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg), 0 6px 20px rgba(99, 102, 241, 0.35);
}

.btn-secondary {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    /* Cleaner look for secondary */
}

.btn-secondary:hover {
    background: var(--bg-accent);
    /* Subtle branded tint */
    border-color: var(--brand-gradient-start);
    color: var(--brand-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.btn-white {
    background: var(--bg-primary);
    color: var(--brand-gradient-start);
    box-shadow: var(--shadow-lg);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.btn-outline-white {
    background: transparent;
    color: var(--text-inverse);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-lg {
    padding: var(--space-4) var(--space-8);
    font-size: var(--text-base);
}

.btn-full {
    width: 100%;
}

.btn-icon {
    width: 1.25em;
    height: 1.25em;
    transition: transform var(--transition-fast);
}

.btn:hover .btn-icon {
    transform: translateX(4px);
}

/* ----------------------------------------
   Navigation
   ---------------------------------------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--space-4) 0;
    transition: all var(--transition-base);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.85);
    /* More translucent */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
    padding: var(--space-3) 0;
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.logo-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.logo-icon svg {
    width: 100%;
    height: 100%;
}

.logo-text {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text-primary);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-8);
}

.nav-link {
    font-family: var(--font-display);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--brand-gradient);
    border-radius: var(--radius-full);
    transition: width var(--transition-base);
}

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

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 28px;
    padding: 4px 0;
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-primary);
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ----------------------------------------
   Hero Section
   ---------------------------------------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: var(--space-32) 0 var(--space-24);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% 0%, rgba(99, 102, 241, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 80% 20%, rgba(139, 92, 246, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse 50% 40% at 20% 80%, rgba(99, 102, 241, 0.05) 0%, transparent 50%);
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(99, 102, 241, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 0%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 0%, transparent 70%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: center;
}

.hero-text {
    max-width: 600px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    background: var(--bg-accent);
    border-radius: var(--radius-full);
    font-family: var(--font-display);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--brand-gradient-start);
    margin-bottom: var(--space-6);
    animation: fadeInUp 0.6s ease forwards;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--brand-gradient);
    border-radius: var(--radius-full);
    animation: pulse 2s ease infinite;
}

.hero-title {
    font-size: clamp(3rem, 5vw, 4.5rem);
    /* Slightly tighter range */
    line-height: 1.1;
    /* Tighter leading for display text */
    letter-spacing: -0.03em;
    margin-bottom: var(--space-6);
    animation: fadeInUp 0.6s ease 0.1s forwards;
    opacity: 0;
}

.hero-subtitle {
    font-size: var(--text-lg);
    color: var(--text-secondary);
    margin-bottom: var(--space-8);
    line-height: 1.7;
    animation: fadeInUp 0.6s ease 0.2s forwards;
    opacity: 0;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
    margin-bottom: var(--space-10);
    animation: fadeInUp 0.6s ease 0.3s forwards;
    opacity: 0;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-4);
    animation: fadeInUp 0.6s ease 0.4s forwards;
    opacity: 0;
}

.trust-label {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-tertiary);
    margin-bottom: var(--space-3);
}

.trust-label svg {
    color: var(--text-tertiary);
    opacity: 0.7;
}

.trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
}

.trust-badge {
    padding: 6px 14px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-full);
    font-family: var(--font-display);
    font-size: 10px;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 0.02em;
    transition: all var(--transition-base);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.trust-badge::before {
    content: '';
    width: 3px;
    height: 3px;
    background: var(--text-tertiary);
    border-radius: 50%;
    opacity: 0.5;
}

.trust-badge:hover {
    background: var(--bg-primary);
    border-color: var(--brand-gradient-start);
    color: var(--brand-gradient-start);
    transform: translateY(-1px);
}

/* Hero Visual - Scanner Animation */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeIn 1s ease 0.5s forwards;
    opacity: 0;
    perspective: 1000px;
}

.scanner-wrapper {
    position: relative;
    width: 420px;
    height: 480px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.scanner-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    background: var(--brand-gradient);
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.25;
    z-index: -1;
    animation: pulse 4s ease-in-out infinite;
}

/* Main Glass Card */
.scanner-card {
    width: 320px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: var(--radius-xl);
    box-shadow:
        0 20px 40px -4px rgba(0, 0, 0, 0.1),
        0 8px 16px -4px rgba(0, 0, 0, 0.05),
        inset 0 0 0 1px rgba(255, 255, 255, 0.5);
    overflow: hidden;
    transform: rotateY(-5deg) rotateX(2deg);
    transition: transform 0.3s ease;
    animation: cardFloat 6s ease-in-out infinite;
}

.scanner-card:hover {
    transform: rotateY(0) rotateX(0);
}

.card-header {
    padding: var(--space-4);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: var(--space-3);
    background: rgba(255, 255, 255, 0.5);
}

.header-dots {
    display: flex;
    gap: 6px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.dot.red {
    background: #ef4444;
}

.dot.yellow {
    background: #f59e0b;
}

.dot.green {
    background: #10b981;
}

.header-title {
    font-size: var(--text-xs);
    font-weight: 600;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1;
}

.header-badge {
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--brand-gradient-start);
    padding: 2px 6px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 4px;
    animation: flash 2s infinite;
}

.card-body {
    padding: var(--space-6);
    position: relative;
    min-height: 280px;
}

/* Document Lines */
.doc-lines {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.line {
    height: 8px;
    background: var(--bg-secondary);
    border-radius: 4px;
}

.line.w-80 {
    width: 80%;
}

.line.w-90 {
    width: 90%;
}

.line.w-60 {
    width: 60%;
}

.line.w-85 {
    width: 85%;
}

.line.w-75 {
    width: 75%;
}

.line.w-50 {
    width: 50%;
}

.line.gap-highlight {
    width: 40%;
    background: rgba(239, 68, 68, 0.15);
    animation: highlightPulse 3s infinite 2s;
}

/* Scanning Beam */
.scan-beam {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--brand-gradient);
    box-shadow: 0 0 15px var(--brand-gradient-start);
    opacity: 0.8;
    animation: scanMove 3s ease-in-out infinite;
}

.scan-beam::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to top, rgba(99, 102, 241, 0.1), transparent);
    transform: translateY(-100%);
}

/* Floating Badges */
.scan-badge {
    position: absolute;
    padding: var(--space-3);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: var(--space-3);
    z-index: 10;
    border: 1px solid rgba(255, 255, 255, 0.8);
    opacity: 0;
    animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.badge-warning {
    bottom: 60px;
    left: 0;
    border-left: 4px solid var(--color-warning);
    animation-delay: 1.5s;
}

.badge-success {
    top: 40px;
    right: -20px;
    border-left: 4px solid var(--color-success);
    animation-delay: 2.2s;
}

.badge-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.badge-warning .badge-icon {
    background: rgba(245, 158, 11, 0.1);
    color: var(--color-warning);
}

.badge-success .badge-icon {
    background: rgba(16, 185, 129, 0.1);
    color: var(--color-success);
}

.badge-info {
    border-left: 4px solid #6366f1;
    z-index: 12;
}

.badge-info .badge-icon {
    background: rgba(99, 102, 241, 0.1);
    color: #6366f1;
}

.badge-icon svg {
    width: 18px;
    height: 18px;
}

.badge-content {
    display: flex;
    flex-direction: column;
}

.badge-label {
    font-size: 10px;
    text-transform: uppercase;
    color: var(--text-tertiary);
    font-weight: 700;
}

.badge-value {
    font-size: var(--text-sm);
    font-weight: 700;
    color: var(--text-primary);
}

/* Animations included in styles.css: scanMove, cardFloat, popIn, highlightPulse */
@keyframes scanMove {

    0%,
    100% {
        top: 10%;
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    50% {
        top: 85%;
    }
}

@keyframes cardFloat {

    0%,
    100% {
        transform: translateY(0) rotateY(-5deg) rotateX(2deg);
    }

    50% {
        transform: translateY(-15px) rotateY(-5deg) rotateX(2deg);
    }
}

@keyframes popIn {
    0% {
        opacity: 0;
        transform: scale(0.8) translateY(20px);
    }

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

@keyframes highlightPulse {

    0%,
    100% {
        background: rgba(239, 68, 68, 0.05);
    }

    50% {
        background: rgba(239, 68, 68, 0.2);
    }
}

@keyframes flash {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

/* Hero Scroll Indicator */
.hero-scroll {
    position: absolute;
    bottom: var(--space-8);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-3);
    animation: fadeIn 1s ease 1s forwards;
    opacity: 0;
}

.hero-scroll span {
    font-size: var(--text-xs);
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.scroll-indicator {
    width: 24px;
    height: 40px;
    border: 2px solid var(--border-light);
    border-radius: var(--radius-full);
    position: relative;
}

.scroll-indicator::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--brand-gradient);
    border-radius: var(--radius-full);
    animation: scrollBounce 2s ease infinite;
}

/* ----------------------------------------
   Sections
   ---------------------------------------- */
.section {
    padding: var(--space-24) 0;
    position: relative;
}

.section-alt {
    background: var(--bg-secondary);
}

.section-gradient {
    background: var(--brand-gradient);
    position: relative;
    overflow: hidden;
    /* For particles */
}

/* Subtle pattern overlay for depth */
/* Subtle pattern overlay for depth - Softer & Larger */
.section-gradient::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 15% 25%, rgba(255, 255, 255, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 85% 75%, rgba(255, 255, 255, 0.08) 0%, transparent 40%);
    pointer-events: none;
}

/* White particles for dark gradient sections */
.section-gradient .particle {
    background: rgba(255, 255, 255, 0.4);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

.section-cta {
    background: var(--brand-gradient);
    text-align: center;
    padding: var(--space-20) 0;
    position: relative;
    overflow: hidden;
}

.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto var(--space-16);
}

.section-label {
    display: inline-block;
    padding: var(--space-1) var(--space-4);
    background: var(--bg-accent);
    border-radius: var(--radius-full);
    font-family: var(--font-display);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--brand-gradient-start);
    margin-bottom: var(--space-4);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.section-label.light {
    background: rgba(255, 255, 255, 0.15);
    color: var(--text-inverse);
}

.section-title {
    margin-bottom: var(--space-4);
}

.section-title.light {
    color: var(--text-inverse);
}

.section-subtitle {
    font-size: var(--text-lg);
    color: var(--text-secondary);
    margin-bottom: 0;
}

.section-subtitle.light {
    color: rgba(255, 255, 255, 0.8);
}

/* ----------------------------------------
   Problem Section
   ---------------------------------------- */
#problem {
    position: relative;
    overflow: hidden;
}

#problem::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle at center, rgba(239, 68, 68, 0.03) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
    position: relative;
    z-index: 1;
}

.problem-card {
    background: var(--bg-primary);
    padding: var(--space-8);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-card);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0;
    transform: translateY(20px);
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
}

.problem-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #ef4444, #f87171);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.problem-card.animated {
    opacity: 1;
    transform: translateY(0);
}

.problem-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(239, 68, 68, 0.1), 0 8px 10px -6px rgba(239, 68, 68, 0.05);
    /* Red-tinted premium shadow */
    border-color: rgba(239, 68, 68, 0.15);
}

.problem-card:hover::before {
    transform: scaleX(1);
}

.problem-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #fef2f2, #fee2e2);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-6);
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.problem-card:hover .problem-icon {
    transform: scale(1.1) rotate(-3deg);
    background: linear-gradient(135deg, #fee2e2, #fca5a5);
    box-shadow: 0 10px 15px -3px rgba(239, 68, 68, 0.2);
}

.problem-icon svg {
    width: 32px;
    height: 32px;
    color: var(--color-danger);
    transition: transform 0.4s ease;
}

.problem-card:hover .problem-icon svg {
    transform: scale(1.1);
    color: #b91c1c;
}

.problem-card h3 {
    font-size: var(--text-lg);
    margin-bottom: var(--space-3);
    font-weight: 700;
}

.problem-card p {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    margin-bottom: 0;
    line-height: 1.6;
}

/* Glitch Effect for "Broken" */
.glitch-text {
    position: relative;
    display: inline-block;
    font-weight: 800;
    /* Bolder for impact */
}

.glitch-text::before,
.glitch-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.8;
}

.glitch-text::before {
    color: #0ff;
    z-index: -1;
    clip-path: polygon(0 0, 100% 0, 100% 35%, 0 35%);
    transform: translate(-0.025em, -0.0125em);
    opacity: 0;
    animation: glitch-anim-1 2.5s infinite linear alternate-reverse;
}

.glitch-text::after {
    color: #f0f;
    z-index: -2;
    clip-path: polygon(0 65%, 100% 65%, 100% 100%, 0 100%);
    transform: translate(0.025em, 0.0125em);
    opacity: 0;
    animation: glitch-anim-2 2.5s infinite linear alternate-reverse;
}

@keyframes glitch-anim-1 {
    0% {
        opacity: 0;
        transform: translate(0);
        clip-path: polygon(0 2%, 100% 2%, 100% 5%, 0 5%);
    }

    2% {
        opacity: 1;
        transform: translate(-0.05em, -0.025em);
        clip-path: polygon(0 60%, 100% 60%, 100% 65%, 0 65%);
    }

    4% {
        opacity: 0;
        transform: translate(0);
        clip-path: polygon(0 60%, 100% 60%, 100% 65%, 0 65%);
    }

    100% {
        opacity: 0;
        transform: translate(0);
    }
}

@keyframes glitch-anim-2 {
    0% {
        opacity: 0;
        transform: translate(0);
        clip-path: polygon(0 20%, 100% 20%, 100% 25%, 0 25%);
    }

    2% {
        opacity: 1;
        transform: translate(0.05em, 0.025em);
        clip-path: polygon(0 35%, 100% 35%, 100% 40%, 0 40%);
    }

    4% {
        opacity: 0;
        transform: translate(0);
        clip-path: polygon(0 35%, 100% 35%, 100% 40%, 0 40%);
    }

    100% {
        opacity: 0;
        transform: translate(0);
    }
}

/* ----------------------------------------
   Features Section
   ---------------------------------------- */
#features {
    position: relative;
    overflow: hidden;
}

#features::before {
    content: '';
    position: absolute;
    top: 20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.05) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
}

.features-showcase {
    display: flex;
    flex-direction: column;
    gap: var(--space-12);
}

.feature-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
    align-items: center;
    background: rgba(248, 250, 252, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-2xl);
    padding: var(--space-12);
    box-shadow: var(--shadow-card);
    opacity: 0;
    transform: translateY(20px);
}

.feature-main.animated {
    opacity: 1;
    transform: translateY(0);
}

.feature-content {
    padding-right: var(--space-8);
}

.feature-number {
    font-family: var(--font-display);
    font-size: var(--text-5xl);
    font-weight: 800;
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.5;
    /* Increased visibility */
    margin-bottom: var(--space-4);
    filter: drop-shadow(0 0 15px rgba(99, 102, 241, 0.2));
}

.feature-content h3 {
    font-size: var(--text-3xl);
    margin-bottom: var(--space-4);
}

.feature-content p {
    color: var(--text-secondary);
    margin-bottom: var(--space-6);
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-size: var(--text-sm);
    color: var(--text-secondary);
}

.feature-list svg {
    width: 20px;
    height: 20px;
    color: var(--color-success);
    flex-shrink: 0;
}

/* Feature Visual - Analysis Preview */
.feature-visual {
    display: flex;
    justify-content: center;
}

.analysis-preview {
    width: 100%;
    max-width: 400px;
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    position: relative;
}

.analysis-preview::after {
    content: '';
    position: absolute;
    top: -50%;
    left: 0;
    width: 100%;
    height: 30%;
    /* Sharper scan line */
    background: linear-gradient(to bottom, transparent, rgba(99, 102, 241, 0.5));
    /* More visible */
    animation: scan 4s ease-in-out infinite;
    pointer-events: none;
    z-index: 10;
}

@keyframes scan {
    0% {
        top: -30%;
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        top: 100%;
        opacity: 0;
    }
}

.preview-header {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-4);
    background: var(--bg-tertiary);
    border-bottom: 1px solid var(--border-light);
}

.preview-dot {
    width: 12px;
    height: 12px;
    border-radius: var(--radius-full);
}

.preview-dot.red {
    background: #ef4444;
}

.preview-dot.yellow {
    background: #f59e0b;
}

.preview-dot.green {
    background: #10b981;
}

.preview-title {
    margin-left: var(--space-3);
    font-family: var(--font-display);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--text-secondary);
}

.preview-content {
    padding: var(--space-6);
}

.preview-metric {
    margin-bottom: var(--space-6);
}

.metric-label {
    display: block;
    font-size: var(--text-sm);
    color: var(--text-secondary);
    margin-bottom: var(--space-2);
}

.metric-bar {
    height: 8px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-full);
    margin-bottom: var(--space-2);
    overflow: hidden;
}

.metric-fill {
    height: 100%;
    background: var(--brand-gradient);
    border-radius: var(--radius-full);
    transition: width 1s ease;
}

.metric-value {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--text-primary);
}

.preview-gaps {
    display: flex;
    gap: var(--space-3);
}

.gap-item {
    flex: 1;
    padding: var(--space-3);
    border-radius: var(--radius-md);
    text-align: center;
}

.gap-item.critical {
    background: linear-gradient(135deg, #fef2f2, #fee2e2);
    position: relative;
    /* Pulsing border effect */
    box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.7);
    animation: pulseCritical 2s infinite;
}

@keyframes pulseCritical {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.4);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(220, 38, 38, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(220, 38, 38, 0);
    }
}

.gap-item.high {
    background: linear-gradient(135deg, #fffbeb, #fef3c7);
}

.gap-item.medium {
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
}

.gap-severity {
    display: block;
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: var(--space-1);
}

.gap-item.critical .gap-severity {
    color: #dc2626;
}

.gap-item.high .gap-severity {
    color: #d97706;
}

.gap-item.medium .gap-severity {
    color: #2563eb;
}

.gap-count {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 700;
}

.gap-item.critical .gap-count {
    color: #dc2626;
}

.gap-item.high .gap-count {
    color: #d97706;
}

.gap-item.medium .gap-count {
    color: #2563eb;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
}

.feature-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: var(--space-8);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    /* Softer initial shadow */
    transition: all var(--transition-base);
    opacity: 0;
    transform: translateY(20px);
}

.feature-card.animated {
    opacity: 1;
    transform: translateY(0);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(99, 102, 241, 0.4);
    box-shadow: 0 20px 40px -5px rgba(99, 102, 241, 0.15), 0 8px 16px -6px rgba(99, 102, 241, 0.1);
}

.feature-card:hover .feature-icon {
    background: var(--brand-gradient);
    transform: scale(1.05) rotate(-3deg);
    box-shadow: 0 10px 20px -5px rgba(99, 102, 241, 0.3);
}

.feature-card:hover .feature-icon svg {
    color: var(--text-inverse);
    transform: scale(1.1);
    transition: all var(--transition-base);
}

.feature-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-accent);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-5);
    transition: all var(--transition-base);
}

.feature-icon svg {
    width: 28px;
    height: 28px;
    color: var(--brand-gradient-start);
}

.feature-card h4 {
    font-size: var(--text-lg);
    margin-bottom: var(--space-3);
}

.feature-card p {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* ----------------------------------------
   Comparison Section
   ---------------------------------------- */
/* ----------------------------------------
   Comparison Section
   ---------------------------------------- */
.comparison-table {
    background: transparent;
    /* Changed from bg-primary to transparent for floating effect */
    border-radius: var(--radius-2xl);
    overflow: hidden;
    /* Keep rounded corners */
    position: relative;
    /* Simulate a table container if needed, but we rely on rows */
}

.comparison-table::before {
    /* Optional: background for the whole table if desired, or stick to row backgrounds */
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: -1;
    border-radius: var(--radius-2xl);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.comparison-table.animated {
    opacity: 1;
    transform: translateY(0);
}

.comparison-header,
.comparison-row {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1.5fr;
    align-items: center;
    /* Center vertically */
}

.comparison-header {
    background: transparent;
    padding-bottom: var(--space-4);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    margin-bottom: var(--space-2);
}

.comparison-cell {
    padding: var(--space-4) var(--space-6);
    display: flex;
    align-items: center;
    position: relative;
}

.header-cell {
    font-family: var(--font-display);
    font-size: var(--text-sm);
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.header-cell.highlight {
    color: var(--brand-gradient-start);
    font-size: var(--text-base);
    background: linear-gradient(to bottom, #fff, #f8fafc);
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    box-shadow: 0 -4px 6px -1px rgba(0, 0, 0, 0.02), 0 -2px 4px -1px rgba(0, 0, 0, 0.02);
    /* Slight top shadow for lift */
    border: 1px solid var(--border-light);
    border-bottom: none;
    position: relative;
    padding-top: var(--space-5);
    padding-bottom: var(--space-5);
    z-index: 10;
}

/* TISA Logo in Header */
.tisa-logo-small {
    width: 24px;
    height: 24px;
    margin-right: var(--space-2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.tisa-logo-small svg {
    width: 100%;
    height: 100%;
}

.comparison-row {
    border-top: 1px solid transparent;
    /* Remove default border */
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    transition: all var(--transition-base);
    border-radius: var(--radius-lg);
}

.comparison-row:last-child {
    border-bottom: none;
}

.comparison-row:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(1.005);
    /* Subtle scale */
}

/* Stagger animations for rows */
.comparison-row {
    opacity: 0;
    transform: translateX(-10px);
}

.comparison-row.animated {
    opacity: 1;
    transform: translateX(0);
}

/* Delay classes would be dynamic in JS, or we can hardcode nth-child if we want pure CSS entrance */
.comparison-row.animated:nth-child(2) {
    transition-delay: 0.1s;
}

.comparison-row.animated:nth-child(3) {
    transition-delay: 0.15s;
}

.comparison-row.animated:nth-child(4) {
    transition-delay: 0.2s;
}

.comparison-row.animated:nth-child(5) {
    transition-delay: 0.25s;
}

.comparison-row.animated:nth-child(6) {
    transition-delay: 0.3s;
}

.comparison-row.animated:nth-child(7) {
    transition-delay: 0.35s;
}


.label-cell {
    font-weight: 600;
    color: var(--text-primary);
    font-size: var(--text-base);
}

/* Highlight Column - The "Card" Effect */
.comparison-cell.highlight {
    background: #fff;
    border-left: 1px solid var(--border-light);
    border-right: 1px solid var(--border-light);
    /* For the middle rows */
    z-index: 5;
    /* Box shadow only on the right side to simulate depth? Or just standard lift */
    box-shadow: var(--shadow-sm);
}

/* Fix borders for first and last highlighted cells to complete the card */
.comparison-row:first-of-type .comparison-cell.highlight {
    border-top: none;
    /* Ensure seamless connection with header */
}

.comparison-row:last-of-type .comparison-cell.highlight {
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
    border-bottom: 1px solid var(--border-light);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.025);
    /* Bottom shadow */
}


.status-item {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    font-weight: 500;
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
}

.status-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* Status: Good (TISA) */
.status-item.good {
    color: var(--color-success);
    background: rgba(16, 185, 129, 0.1);
}

.status-item.good span {
    color: var(--text-primary);
    /* Keep text neutral/darker for readability? Or match icon? */
    color: #065f46;
    /* Darker green */
}

/* Status: Bad (Generic) */
.status-item.bad {
    color: var(--text-tertiary);
    background: var(--bg-secondary);
}

.status-item.bad .status-icon {
    color: var(--color-danger);
    /* Red X */
    opacity: 0.6;
}

.status-item.bad span {
    text-decoration: line-through;
    /* Optional: adds to the "bad" effect */
    color: var(--text-secondary);
}

/* Status: Warning */
.status-item.warning {
    color: var(--color-warning);
    background: #fffbeb;
}

.status-item.warning span {
    color: #92400e;
}

/* Interactive Hover for Highlight Cells */
.comparison-row:hover .comparison-cell.highlight {
    background: var(--bg-accent);
    transform: scale(1.02);
    /* Pop out slightly */
    box-shadow: var(--shadow-md);
    border-color: rgba(99, 102, 241, 0.2);
    z-index: 20;
    /* Bring to front */
}

/* ----------------------------------------
   Use Cases Section
   ---------------------------------------- */
#use-cases {
    position: relative;
    overflow: hidden;
}

#use-cases::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 0% 50%, rgba(99, 102, 241, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
    position: relative;
}

.use-case-card {
    background: var(--bg-secondary);
    padding: var(--space-8);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-light);
    transition: all var(--transition-base);
    opacity: 0;
    transform: translateY(20px);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* Gradient Border Reveal */
.use-case-card::before {
    content: '';
    position: absolute;
    inset: 0;
    padding: 1px;
    /* Border width */
    border-radius: var(--radius-xl);
    background: var(--brand-gradient);
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity var(--transition-base);
    pointer-events: none;
}

.use-case-card.animated {
    opacity: 1;
    transform: translateY(0);
}

.use-case-card:hover {
    background: var(--bg-primary);
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-8px);
    border-color: transparent;
    /* Hide original border */
}

.use-case-card:hover::before {
    opacity: 1;
}

.use-case-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-gradient);
    border-radius: var(--radius-xl);
    margin-bottom: var(--space-5);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

.use-case-card:hover .use-case-icon {
    transform: scale(1.1) rotate(3deg);
    box-shadow: 0 10px 25px -5px rgba(99, 102, 241, 0.5);
}

.use-case-icon svg {
    width: 32px;
    height: 32px;
    color: var(--text-inverse);
}

.use-case-card h3 {
    font-size: var(--text-xl);
    margin-bottom: var(--space-3);
    font-weight: 700;
}

.use-case-card p {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    margin-bottom: var(--space-6);
    /* More space before list */
    line-height: 1.6;
}

.use-case-benefits {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    padding-top: var(--space-4);
    border-top: 1px solid var(--border-light);
    /* Separator */
}

.use-case-benefits li {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    padding-left: 24px;
    /* Space for icon */
    position: relative;
    font-weight: 500;
}

/* Checkmark bullet */
.use-case-benefits li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    /* Align with text */
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%236366f1'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    transition: transform var(--transition-fast);
}

.use-case-card:hover .use-case-benefits li::before {
    transform: scale(1.2);
}

/* ----------------------------------------
   Metrics Section
   ---------------------------------------- */
.metrics-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--space-16);
    align-items: center;
}

.metrics-text {
    opacity: 0;
    transform: translateY(20px);
}

.metrics-text.animated {
    opacity: 1;
    transform: translateY(0);
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
}

/* Metric Card - Glass Effect */
.metric-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
    padding: var(--space-8);
    border-radius: var(--radius-xl);
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    position: relative;
    overflow: hidden;
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.metric-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.2);
}

.metric-icon-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140px;
    height: 140px;
    opacity: 0.1;
    z-index: 0;
    pointer-events: none;
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.metric-icon-bg svg {
    width: 100%;
    height: 100%;
    color: var(--text-inverse);
}

.metric-card:hover .metric-icon-bg {
    transform: translate(-50%, -50%) scale(1.2) rotate(-10deg);
    opacity: 0.15;
}

.metric-content-wrapper {
    position: relative;
    z-index: 1;
}

.metric-card.animated {
    opacity: 1;
    transform: translateY(0);
}

.metric-number {
    font-family: var(--font-display);
    font-size: var(--text-6xl);
    font-weight: 800;
    color: var(--text-inverse);
    line-height: 1;
    display: inline;
}

.metric-suffix {
    font-family: var(--font-display);
    font-size: var(--text-3xl);
    font-weight: 700;
    color: var(--text-inverse);
    opacity: 0.8;
}

.metric-card .metric-label {
    display: block;
    margin-top: var(--space-3);
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.8);
}

/* ----------------------------------------
   Metric Cards - Staggered Entrance Animation
   ---------------------------------------- */
.metric-card.animated:nth-child(1) {
    transition-delay: 0s;
}

.metric-card.animated:nth-child(2) {
    transition-delay: 0.1s;
}

.metric-card.animated:nth-child(3) {
    transition-delay: 0.2s;
}

.metric-card.animated:nth-child(4) {
    transition-delay: 0.3s;
}

/* ----------------------------------------
   Animated Progress Rings
   ---------------------------------------- */
.progress-ring-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 160px;
    height: 160px;
    opacity: 0.15;
    z-index: 0;
    pointer-events: none;
}

.progress-ring {
    transform: rotate(-90deg);
    width: 100%;
    height: 100%;
}

.progress-ring-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.2);
    stroke-width: 6;
}

.progress-ring-fill {
    fill: none;
    stroke: rgba(255, 255, 255, 0.8);
    stroke-width: 6;
    stroke-linecap: round;
    stroke-dasharray: 377;
    /* 2 * PI * 60 (radius) */
    stroke-dashoffset: 377;
    transition: stroke-dashoffset 2s cubic-bezier(0.4, 0, 0.2, 1);
}

.metric-card.animated .progress-ring-fill {
    stroke-dashoffset: var(--progress-offset, 377);
}

.metric-card:hover .progress-ring-container {
    opacity: 0.25;
    transform: translate(-50%, -50%) scale(1.1);
    transition: all 0.4s ease;
}

/* ----------------------------------------
   Enhanced Floating Particles
   ---------------------------------------- */
@keyframes float-particle {

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

    25% {
        transform: translate(20px, -30px) scale(1.1);
        opacity: 0.6;
    }

    50% {
        transform: translate(-10px, -50px) scale(0.9);
        opacity: 0.3;
    }

    75% {
        transform: translate(-25px, -20px) scale(1.05);
        opacity: 0.5;
    }
}

@keyframes float-particle-2 {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 0.3;
    }

    33% {
        transform: translate(-30px, 20px) rotate(120deg);
        opacity: 0.5;
    }

    66% {
        transform: translate(15px, -25px) rotate(240deg);
        opacity: 0.4;
    }
}

@keyframes float-particle-3 {

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

    50% {
        transform: translate(40px, 30px) scale(1.2);
        opacity: 0.7;
    }
}

#metrics .data-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

#metrics .particle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

#metrics .particle:nth-child(1) {
    width: 8px;
    height: 8px;
    top: 20%;
    left: 15%;
    animation: float-particle 8s ease-in-out infinite;
}

#metrics .particle:nth-child(2) {
    width: 12px;
    height: 12px;
    top: 60%;
    left: 80%;
    animation: float-particle-2 12s ease-in-out infinite;
    animation-delay: -2s;
}

#metrics .particle:nth-child(3) {
    width: 6px;
    height: 6px;
    top: 80%;
    left: 30%;
    animation: float-particle-3 10s ease-in-out infinite;
    animation-delay: -4s;
}

/* ----------------------------------------
   Gradient Border Glow on Hover
   ---------------------------------------- */
.metric-card::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: calc(var(--radius-xl) + 2px);
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.4) 0%,
            rgba(139, 92, 246, 0.6) 50%,
            rgba(99, 102, 241, 0.4) 100%);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.4s ease;
    filter: blur(8px);
}

.metric-card:hover::after {
    opacity: 1;
    animation: border-glow-pulse 2s ease-in-out infinite;
}

@keyframes border-glow-pulse {

    0%,
    100% {
        filter: blur(8px);
        opacity: 0.8;
    }

    50% {
        filter: blur(12px);
        opacity: 1;
    }
}

/* ----------------------------------------
   Trust Section
/* ----------------------------------------
   Trust Section
   ---------------------------------------- */
#trust {
    position: relative;
    background: linear-gradient(to bottom, var(--bg-primary), rgba(16, 185, 129, 0.03));
}

#trust::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(16, 185, 129, 0.2) 1.5px, transparent 1.5px);
    background-size: 32px 32px;
    opacity: 0.25;
    mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
    pointer-events: none;
    z-index: 0;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
    position: relative;
    z-index: 1;
}

.trust-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: var(--space-8);
    border-radius: var(--radius-xl);
    text-align: center;
    border: 1px solid var(--border-light);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0;
    transform: translateY(20px);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.trust-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #10b981, #34d399);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.4s ease;
}

.trust-card.animated {
    opacity: 1;
    transform: translateY(0);
}

.trust-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px -5px rgba(16, 185, 129, 0.15), 0 8px 16px -6px rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.4);
    background: #fff;
}

.trust-card:hover::before {
    transform: scaleX(1);
}

.trust-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ecfdf5, #d1fae5);
    border-radius: var(--radius-xl);
    margin: 0 auto var(--space-5);
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.trust-card:hover .trust-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
    box-shadow: 0 10px 15px -3px rgba(16, 185, 129, 0.2);
}

.trust-icon svg {
    width: 32px;
    height: 32px;
    color: var(--color-success);
    transition: all 0.4s ease;
}

.trust-card:hover .trust-icon svg {
    color: #059669;
    transform: scale(1.1);
}

.trust-card h3 {
    font-size: var(--text-lg);
    font-weight: 700;
    margin-bottom: var(--space-3);
    color: var(--text-primary);
}

.trust-card p {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    margin-bottom: 0;
    line-height: 1.6;
}

/* ----------------------------------------
   Pricing Section
   ---------------------------------------- */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8);
    align-items: stretch;
}

/* Pricing Toggle */
.pricing-toggle-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: var(--space-8);
    opacity: 0;
    transform: translateY(20px);
}

.pricing-toggle-wrapper.animated {
    opacity: 1;
    transform: translateY(0);
}

.pricing-toggle {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    background: var(--bg-secondary);
    padding: var(--space-2) var(--space-6);
    border-radius: var(--radius-full);
    border: 1px solid var(--border-light);
}

.toggle-label {
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: color var(--transition-fast);
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.toggle-label.active {
    color: var(--text-primary);
    font-weight: 600;
}

.save-badge {
    font-size: 0.75rem;
    font-weight: 700;
    color: #10b981;
    background: rgba(16, 185, 129, 0.1);
    padding: 2px 8px;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 26px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--text-tertiary);
    transition: .4s;
    border-radius: 34px;
    opacity: 0.3;
}

.slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

input:checked+.slider {
    background: var(--brand-gradient);
    opacity: 1;
}

input:focus+.slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked+.slider:before {
    transform: translateX(22px);
}

.pricing-card {
    background: var(--bg-primary);
    padding: var(--space-8);
    border-radius: var(--radius-2xl);
    border: 1px solid transparent;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-base);
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    display: flex;
    flex-direction: column;
    /* overflow: hidden; Removed to allow badge to protrude */
}

.pricing-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: var(--radius-2xl);
    padding: 1px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.pricing-card.animated {
    opacity: 1;
    transform: translateY(0);
}

.pricing-card:hover {
    box-shadow: var(--shadow-2xl);
    transform: translateY(-8px);
}

.pricing-card.featured {
    padding: 0;
    border: none;
    background: transparent;
    box-shadow: none;
    border-radius: var(--radius-2xl);
}

.pricing-card-inner {
    padding: var(--space-8);
    border-radius: var(--radius-2xl);
    background: linear-gradient(to bottom, #fff, #f8faff);
    border: 1px solid rgba(99, 102, 241, 0.2);
    box-shadow: 0 20px 40px -5px rgba(99, 102, 241, 0.15), 0 10px 20px -5px rgba(99, 102, 241, 0.1);
    position: relative;
    overflow: hidden;
    height: 100%;
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
}

.pricing-card.featured:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: none;
    /* Shadow is on inner */
}

.pricing-card.featured:hover .pricing-card-inner {
    box-shadow: 0 25px 50px -12px rgba(99, 102, 241, 0.25);
    border-color: rgba(99, 102, 241, 0.4);
}

.pricing-card-inner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 6px;
    background: var(--brand-gradient);
    z-index: 1;
}

.pricing-badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: var(--space-2) var(--space-4);
    background: var(--brand-gradient);
    color: var(--text-inverse);
    font-family: var(--font-display);
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--radius-full);
    z-index: 10;
    box-shadow: 0 4px 6px rgba(99, 102, 241, 0.3);
}

.pricing-header {
    text-align: center;
    padding-bottom: var(--space-6);
    border-bottom: 1px solid var(--border-light);
    margin-bottom: var(--space-6);
    position: relative;
    z-index: 2;
}

.pricing-header h3 {
    font-size: var(--text-xl);
    margin-bottom: var(--space-4);
}

.pricing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: var(--space-1);
    margin-bottom: var(--space-3);
}

.price-currency {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: 600;
    color: var(--text-secondary);
}

.price-amount {
    font-family: var(--font-display);
    font-size: var(--text-5xl);
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
}

.price-period {
    font-size: var(--text-sm);
    color: var(--text-tertiary);
}

.pricing-desc {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    margin-bottom: 0;
}

.pricing-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    margin-bottom: var(--space-8);
    flex: 1;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-size: var(--text-sm);
    color: var(--text-secondary);
}

.pricing-features svg {
    width: 20px;
    height: 20px;
    color: var(--color-success);
    flex-shrink: 0;
}

/* ----------------------------------------
   CTA Section
   ---------------------------------------- */
.cta-bg-visuals {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.cta-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(circle at center, black 40%, transparent 100%);
    -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 100%);
}

.cta-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
}

.cta-glow-1 {
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.1);
    top: -200px;
    left: -100px;
    animation: pulse 4s ease-in-out infinite alternate;
}

.cta-glow-2 {
    width: 500px;
    height: 500px;
    background: rgba(139, 92, 246, 0.4);
    bottom: -250px;
    right: -100px;
    animation: pulse 5s ease-in-out infinite alternate-reverse;
}

.cta-content {
    max-width: 720px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: translateY(20px);
}

.cta-content.animated {
    opacity: 1;
    transform: translateY(0);
}

.cta-content h2 {
    font-size: var(--text-4xl);
    color: var(--text-inverse);
    margin-bottom: var(--space-4);
}

.cta-content p {
    font-size: var(--text-lg);
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: var(--space-8);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: var(--space-4);
}

/* ----------------------------------------
   Contact Section
   ---------------------------------------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: start;
    position: relative;
    z-index: 1;
}

/* Ambient Background for Depth */
#contact {
    position: relative;
    overflow: hidden;
}

#contact::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -5%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    animation: pulse 8s ease-in-out infinite alternate;
}

#contact::after {
    content: '';
    position: absolute;
    bottom: -10%;
    left: 20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.05) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    animation: pulse 8s ease-in-out infinite alternate-reverse;
}

.contact-info {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-info.animated {
    opacity: 1;
    transform: translateY(0);
}

.contact-info h2 {
    margin-bottom: var(--space-4);
}

.contact-info>p {
    color: var(--text-secondary);
    margin-bottom: var(--space-8);
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}

.contact-method {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    transition: transform 0.3s ease;
}

.contact-method:hover {
    transform: translateX(8px);
}

.contact-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-accent);
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
}

.contact-method:hover .contact-icon {
    background: var(--brand-gradient);
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.contact-method:hover .contact-icon svg {
    color: white;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    color: var(--brand-gradient-start);
}

.contact-detail {
    display: flex;
    flex-direction: column;
}

.contact-label {
    font-size: var(--text-sm);
    color: var(--text-tertiary);
    margin-bottom: var(--space-1);
}

.contact-detail a {
    font-weight: 500;
    color: var(--text-primary);
}

.contact-detail a:hover {
    color: var(--brand-gradient-start);
}

/* Contact Form */
.contact-form-wrapper {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: var(--space-10);
    border-radius: var(--radius-2xl);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow:
        0 20px 25px -5px rgba(0, 0, 0, 0.05),
        0 10px 10px -5px rgba(0, 0, 0, 0.02),
        inset 0 0 0 1px rgba(255, 255, 255, 0.5);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s;
    position: relative;
    overflow: hidden;
}

.contact-form-wrapper.animated {
    opacity: 1;
    transform: translateY(0);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4);
}

.form-group {
    margin-bottom: var(--space-5);
}

.form-group label {
    display: block;
    font-family: var(--font-display);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: var(--space-2);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    /* Fixed undefined var */
    min-height: 50px;
    /* Premium hit area */
    background: rgba(241, 245, 249, 0.5);
    /* Modern "filled" style */
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 12px;
    /* Consistent modern radius */
    font-size: 1rem;
    /* Ensure typically readable size */
    color: var(--text-primary);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.form-group input:hover,
.form-group textarea:hover {
    background: #fff;
    border-color: var(--brand-primary);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
}

.form-group input:focus,
.form-group textarea:focus {
    background: #fff;
    border-color: var(--brand-primary);
    box-shadow:
        0 0 0 4px rgba(99, 102, 241, 0.15),
        0 4px 12px rgba(0, 0, 0, 0.05);
    outline: none;
    transform: translateY(-2px);
}

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

/* ----------------------------------------
   Footer
   ---------------------------------------- */
.footer {
    background: var(--brand-primary);
    color: var(--text-inverse);
    padding: var(--space-16) 0 var(--space-8);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--space-12);
    margin-bottom: var(--space-16);
}

.footer-brand .nav-logo {
    margin-bottom: var(--space-4);
    display: inline-flex;
    align-items: center;
}

/* .footer-brand .logo-icon {
    filter: brightness(0) invert(1) drop-shadow(0 0 8px rgba(99, 102, 241, 0.6));
    opacity: 0.9;
} */

.footer-brand .logo-text {
    color: var(--text-inverse);
}

.contact-form-wrapper .btn-primary {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.contact-form-wrapper .btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.2),
            transparent);
    transition: 0.5s;
}

.contact-form-wrapper .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(79, 70, 229, 0.4);
}

.contact-form-wrapper .btn-primary:hover::after {
    left: 100%;
}

.contact-form-wrapper .btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 5px 10px -5px rgba(79, 70, 229, 0.4);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}

.footer-social {
    display: flex;
    gap: var(--space-4);
    margin-top: var(--space-2);
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.6);
    transition: all var(--transition-base);
}

.social-link:hover {
    background: var(--brand-accent);
    color: white;
    border-color: transparent;
    transform: translateY(-3px);
}

.footer-tagline {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.6);
    max-width: 320px;
    line-height: 1.6;
    margin-bottom: 0;
}

.footer-links {
    display: contents;
    /* Let the children participate directly in the footer-grid */
}

.footer-column h4 {
    font-size: var(--text-sm);
    font-weight: 700;
    color: var(--text-inverse);
    margin-bottom: var(--space-4);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.footer-column a {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.6);
    transition: color var(--transition-fast);
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-8);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0;
}

.footer-legal {
    display: flex;
    gap: var(--space-6);
}

.footer-legal a {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.5);
}

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

/* ----------------------------------------
   Animations
   ---------------------------------------- */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {

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

    50% {
        opacity: 0.7;
        transform: scale(1.1);
    }
}

@keyframes glowPulse {

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

    50% {
        opacity: 0.5;
        transform: scale(1.1);
    }
}

@keyframes ringRotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes shieldFloat {

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

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

@keyframes particleFloat {

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

    50% {
        opacity: 0.8;
        transform: translateY(-20px) scale(1.2);
    }
}

@keyframes scrollBounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }

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

/* ----------------------------------------
   Responsive Design
   ---------------------------------------- */
@media (max-width: 1280px) {
    :root {
        --text-6xl: 3.25rem;
        --text-5xl: 2.75rem;
    }
}

@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text {
        max-width: 600px;
        margin: 0 auto;
    }

    .hero-cta,
    .hero-trust {
        justify-content: center;
    }

    .hero-visual {
        display: none;
    }

    .problem-grid,
    .features-grid,
    .use-cases-grid,
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-main {
        grid-template-columns: 1fr;
    }

    .feature-content {
        padding-right: 0;
        text-align: center;
    }

    .feature-list {
        align-items: flex-start;
    }

    .feature-list li {
        text-align: left;
    }

    /* Feature Visual - Scale down on tablet */
    .feature-visual {
        margin-top: var(--space-8);
    }

    .analysis-preview {
        max-width: 340px;
    }

    .comparison-header,
    .comparison-row {
        grid-template-columns: 1.5fr 1fr 1fr;
    }

    .metrics-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --text-6xl: 2.5rem;
        --text-5xl: 2rem;
        --text-4xl: 1.75rem;
        --container-padding: var(--space-4);
    }

    .section {
        padding: var(--space-16) 0;
    }

    .section-header {
        margin-bottom: var(--space-10);
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--bg-primary);
        flex-direction: column;
        justify-content: center;
        gap: var(--space-6);
        padding: var(--space-8);
        box-shadow: var(--shadow-2xl);
        transition: right var(--transition-base);
        z-index: 999;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-link {
        font-size: var(--text-lg);
    }

    .nav-actions .btn {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero {
        padding-top: var(--space-24);
    }

    .hero-cta {
        flex-direction: column;
    }

    .hero-cta .btn {
        width: 100%;
    }

    .problem-grid,
    .features-grid,
    .use-cases-grid,
    .trust-grid,
    .metrics-grid {
        grid-template-columns: 1fr;
    }

    /* ----------------------------------------
       Features Showcase - Mobile Optimization
       ---------------------------------------- */
    .feature-main {
        padding: var(--space-6);
        gap: var(--space-6);
    }

    .feature-content {
        text-align: left;
        padding-right: 0;
    }

    .feature-number {
        font-size: var(--text-3xl);
        margin-bottom: var(--space-2);
    }

    .feature-content h3 {
        font-size: var(--text-xl);
        margin-bottom: var(--space-3);
    }

    .feature-content p {
        font-size: var(--text-sm);
        margin-bottom: var(--space-4);
    }

    .feature-list {
        align-items: flex-start;
    }

    .feature-list li {
        font-size: var(--text-sm);
        text-align: left;
    }

    /* Feature Visual - Scale down and simplify for mobile */
    .feature-visual {
        margin-top: var(--space-4);
        order: -1;
        /* Move visual above content on mobile for visual hierarchy */
    }

    .analysis-preview {
        max-width: 100%;
        border-radius: var(--radius-lg);
    }

    .preview-header {
        padding: var(--space-3);
    }

    .preview-dot {
        width: 8px;
        height: 8px;
    }

    .preview-title {
        font-size: var(--text-xs);
        margin-left: var(--space-2);
    }

    .preview-content {
        padding: var(--space-4);
    }

    .preview-metric {
        margin-bottom: var(--space-4);
    }

    .metric-value {
        font-size: var(--text-xl);
    }

    .preview-gaps {
        gap: var(--space-2);
    }

    .gap-item {
        padding: var(--space-2) var(--space-3);
    }

    .gap-severity {
        font-size: var(--text-xs);
    }

    .gap-count {
        font-size: var(--text-base);
    }

    /* Feature Cards Grid - Mobile */
    .features-grid {
        gap: var(--space-4);
    }

    .feature-card {
        padding: var(--space-5);
    }

    .feature-card h4 {
        font-size: var(--text-base);
    }

    .feature-card p {
        font-size: var(--text-sm);
    }

    .feature-icon {
        width: 40px;
        height: 40px;
        margin-bottom: var(--space-3);
    }

    .feature-icon svg {
        width: 20px;
        height: 20px;
    }

    .comparison-header,
    .comparison-row {
        grid-template-columns: 1fr;
    }

    .comparison-header {
        display: none;
    }

    /* Redesigned Stacked Card Layout (Premium) */
    /* Redesigned Stacked Card Layout (Premium) */
    .comparison-row {
        display: flex;
        flex-direction: column;
        gap: 0;
        padding: 0;
        margin-bottom: var(--space-6);
        background: #fff;
        border: 1px solid var(--border-light);
        border-radius: var(--radius-xl);
        box-shadow: 0 4px 12px -2px rgba(0, 0, 0, 0.08);
        /* Tightened, crisp shadow */
        overflow: hidden;
        transition: transform 0.3s ease;
    }

    .comparison-row:active {
        transform: scale(0.99);
    }

    /* 1. Card Header (Feature Name) */
    .label-cell {
        grid-column: 1 / -1;
        width: 100%;
        text-align: left;
        padding: 20px 24px 16px !important;
        /* Standardized spacing (Vertical Rhythm) */
        background: #fff;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
        /* Darker, crisper separator */
        font-family: var(--font-display);
        font-weight: 700;
        /* Increased weight for anchoring */
        color: var(--text-secondary);
        font-size: 0.85rem;
        text-transform: uppercase;
        letter-spacing: 0.12em;
        margin: 0;
    }

    /* 2. Generic Option (Middle - Risk/Warning) */
    .comparison-row .comparison-cell:nth-child(2) {
        width: 100%;
        background: #fff;
        padding: 16px 24px !important;
        /* Matching vertical rhythm */
        border-left: none !important;
        border-bottom: 1px solid var(--border-light);
        border-top: none;
        border-right: none !important;
        display: flex;
        flex-direction: column;
        /* Changed to column for label */
        align-items: flex-start;
        gap: 6px;
        text-align: left;
        min-height: auto;
    }

    /* Add Label: Generic AI */
    .comparison-row .comparison-cell:nth-child(2)::before {
        content: "Generic AI Tools";
        font-family: var(--font-display);
        font-size: 0.65rem;
        font-weight: 700;
        letter-spacing: 0.05em;
        text-transform: uppercase;
        color: #94a3b8;
        /* Slate 400 - subtle label */
        display: block;
        line-height: 1;
    }

    /* Generic Content Styling */
    .comparison-cell .status-item.bad,
    .comparison-cell .status-item.warning {
        background: transparent;
        padding: 0;
        gap: var(--space-3);
        flex-direction: row;
        width: 100%;
        justify-content: flex-start;
        opacity: 1;
        /* Reset opacity for better contrast */
    }

    .comparison-cell:nth-child(2) .status-item span {
        font-size: 0.95rem;
        font-weight: 500;
        color: #475569;
        /* Darker Slate-600 for readability */
    }

    .comparison-cell .status-item.bad span {
        text-decoration: none;
        color: #475569;
        /* Darker Slate-600 */
        font-weight: 500;
    }

    /* Icons size fix */
    .comparison-cell .status-item .status-icon {
        width: 20px;
        height: 20px;
        flex-shrink: 0;
        opacity: 0.9;
    }

    /* 3. TISA Option (Bottom - Highlighted Premium) */
    .comparison-cell.highlight {
        width: 100%;
        /* Clean, solid tint for visual separation */
        background: rgba(99, 102, 241, 0.06) !important;
        padding: 18px 24px 20px !important;
        /* Consistent padding */
        display: flex;
        flex-direction: column;
        /* Changed to column for label */
        align-items: flex-start;
        gap: 6px;
        text-align: left;
        min-height: auto;
        margin: 0 !important;
        border-radius: 0 !important;
        position: relative;
        border-left: none !important;
        box-shadow: none;
        /* Removed diffuse lift for grounded feel */
    }

    /* Add Label: TISA */
    .comparison-cell.highlight::before {
        content: "TISA Platform";
        font-family: var(--font-display);
        font-size: 0.65rem;
        font-weight: 700;
        letter-spacing: 0.05em;
        text-transform: uppercase;
        color: #6366f1;
        /* Brand color */
        display: block;
        line-height: 1;
    }

    /* TISA Content Styling */
    .comparison-cell.highlight .status-item.good {
        background: transparent;
        padding: 0;
        gap: var(--space-3);
        flex-direction: row;
        width: 100%;
        justify-content: flex-start;
    }

    .comparison-cell.highlight .status-item span {
        font-size: 1.05rem;
        font-weight: 700;
        color: var(--brand-primary);
        /* Stronger brand color */
    }

    .comparison-cell.highlight .status-icon {
        width: 24px;
        height: 24px;
        color: #6366f1;
        filter: drop-shadow(0 2px 4px rgba(99, 102, 241, 0.2));
    }

    /* Remove old hover transforms on mobile */
    .comparison-row:hover {
        transform: none;
    }

    .comparison-row:hover .comparison-cell.highlight {
        transform: none;
    }

    .cta-buttons {
        flex-direction: column;
    }

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

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--space-4);
        text-align: center;
    }

    /* ----------------------------------------
       MEDIUM PRIORITY - Hero Section Mobile
       ---------------------------------------- */
    .hero-trust {
        flex-direction: column;
        align-items: center;
        gap: var(--space-3);
    }

    .trust-label {
        text-align: center;
        width: 100%;
        margin-bottom: var(--space-2);
    }

    .trust-badges {
        flex-wrap: wrap;
        justify-content: center;
        gap: var(--space-2);
    }

    .trust-badge {
        font-size: 0.7rem;
        padding: var(--space-1) var(--space-3);
    }

    .hero-subtitle {
        font-size: var(--text-base);
        line-height: 1.6;
    }

    /* ----------------------------------------
       MEDIUM PRIORITY - Problem Cards Mobile
       ---------------------------------------- */
    .problem-grid {
        gap: var(--space-4);
    }

    .problem-card {
        padding: var(--space-5);
        text-align: left;
    }

    .problem-card h3 {
        font-size: var(--text-lg);
        margin-bottom: var(--space-2);
    }

    .problem-card p {
        font-size: var(--text-sm);
        margin-bottom: 0;
    }

    .problem-icon {
        width: 48px;
        height: 48px;
        margin-bottom: var(--space-3);
    }

    .problem-icon svg {
        width: 24px;
        height: 24px;
    }

    /* ----------------------------------------
       MEDIUM PRIORITY - Use Cases Cards Mobile
       ---------------------------------------- */
    .use-cases-grid {
        gap: var(--space-4);
    }

    .use-case-card {
        padding: var(--space-5);
    }

    .use-case-card h3 {
        font-size: var(--text-lg);
        margin-bottom: var(--space-2);
    }

    .use-case-card p {
        font-size: var(--text-sm);
        margin-bottom: var(--space-4);
    }

    .use-case-icon {
        width: 48px;
        height: 48px;
        margin-bottom: var(--space-3);
    }

    .use-case-icon svg {
        width: 24px;
        height: 24px;
    }

    .use-case-benefits {
        gap: var(--space-2);
    }

    .use-case-benefits li {
        font-size: var(--text-sm);
        padding-left: 28px;
        /* Maintain space for checkmark icon */
        padding-top: var(--space-2);
        padding-bottom: var(--space-2);
        line-height: 1.4;
    }

    .use-case-benefits li::before {
        top: 50%;
        transform: translateY(-50%);
        /* Vertically center the checkmark */
        width: 18px;
        height: 18px;
    }

    /* ----------------------------------------
       MEDIUM PRIORITY - Metrics Section Mobile
       ---------------------------------------- */
    .metrics-grid {
        gap: var(--space-5);
    }

    .metric-card {
        padding: var(--space-6);
        min-height: auto;
    }

    .progress-ring-container {
        width: 100px;
        height: 100px;
    }

    .progress-ring {
        width: 100px;
        height: 100px;
    }

    .metric-number {
        font-size: var(--text-3xl);
    }

    .metric-suffix {
        font-size: var(--text-xl);
    }

    .metric-label {
        font-size: var(--text-sm);
        margin-top: var(--space-2);
    }

    .metric-icon-bg {
        width: 40px;
        height: 40px;
    }

    .metric-icon-bg svg {
        width: 20px;
        height: 20px;
    }

    /* ----------------------------------------
       MEDIUM PRIORITY - Pricing Section Mobile
       ---------------------------------------- */
    .pricing-toggle-wrapper {
        margin-bottom: var(--space-6);
    }

    .pricing-toggle {
        gap: var(--space-3);
        flex-wrap: wrap;
        justify-content: center;
    }

    .toggle-label {
        font-size: var(--text-sm);
    }

    .toggle-switch {
        width: 56px;
        height: 32px;
        /* Larger touch target */
    }

    .toggle-switch .slider::before {
        width: 26px;
        height: 26px;
    }

    .save-badge {
        font-size: 0.65rem;
        padding: 2px 6px;
    }

    .pricing-grid {
        gap: var(--space-6);
    }

    .pricing-card {
        padding: var(--space-6);
    }

    .pricing-card.featured {
        margin: 0;
        transform: none;
    }

    .pricing-card.featured .pricing-card-inner {
        padding: var(--space-6);
    }

    .pricing-header h3 {
        font-size: var(--text-xl);
    }

    .price-amount {
        font-size: var(--text-3xl);
    }

    .pricing-desc {
        font-size: var(--text-sm);
    }

    .pricing-features li {
        font-size: var(--text-sm);
        padding: var(--space-2) 0;
    }

    .pricing-features svg {
        width: 18px;
        height: 18px;
        flex-shrink: 0;
    }

    .pricing-badge {
        font-size: 0.7rem;
        padding: var(--space-2) var(--space-4);
    }

    /* ----------------------------------------
       MEDIUM PRIORITY - Contact Form Mobile
       ---------------------------------------- */
    .contact-form-wrapper {
        padding: var(--space-6);
    }

    .contact-info h2 {
        font-size: var(--text-2xl);
    }

    .contact-info>p {
        font-size: var(--text-sm);
    }

    .contact-method {
        padding: var(--space-2) 0;
    }

    .contact-icon {
        width: 44px;
        height: 44px;
        min-width: 44px;
        /* Prevent shrinking */
    }

    .contact-icon svg {
        width: 22px;
        height: 22px;
    }

    .contact-detail a {
        font-size: var(--text-sm);
    }

    .form-group label {
        font-size: var(--text-sm);
        margin-bottom: var(--space-2);
    }

    .form-group input,
    .form-group textarea {
        min-height: 52px;
        /* Larger touch target */
        padding: var(--space-4);
        font-size: var(--text-base);
    }

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

    .contact-form .btn {
        min-height: 52px;
        /* Larger touch target */
        font-size: var(--text-base);
    }
}

@media (max-width: 480px) {
    .trust-badges {
        justify-content: center;
    }

    /* ----------------------------------------
       Features Showcase - Small Mobile (480px)
       ---------------------------------------- */
    .feature-main {
        padding: var(--space-4);
    }

    .feature-number {
        font-size: var(--text-2xl);
    }

    .feature-content h3 {
        font-size: var(--text-lg);
    }

    /* Hide feature visual on very small screens for cleaner experience */
    .feature-visual {
        display: none;
    }

    .feature-card {
        padding: var(--space-4);
    }

    .feature-icon {
        width: 36px;
        height: 36px;
    }

    .feature-icon svg {
        width: 18px;
        height: 18px;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }

    .footer-legal {
        flex-direction: column;
        align-items: center;
        gap: var(--space-3);
    }

    /* Typography adjustments for smaller screens */
    .hero-title {
        font-size: 2.25rem;
        /* Better balance for small phones */
    }

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

    /* ----------------------------------------
       MEDIUM PRIORITY - Hero Small Mobile
       ---------------------------------------- */
    .hero-subtitle {
        font-size: var(--text-sm);
    }

    .hero-cta .btn {
        padding: var(--space-4) var(--space-6);
        font-size: var(--text-sm);
    }

    .trust-badge {
        font-size: 0.65rem;
        padding: var(--space-1) var(--space-2);
    }

    /* ----------------------------------------
       MEDIUM PRIORITY - Problem Cards Small Mobile
       ---------------------------------------- */
    .problem-card {
        padding: var(--space-4);
    }

    .problem-card h3 {
        font-size: var(--text-base);
    }

    .problem-icon {
        width: 40px;
        height: 40px;
    }

    .problem-icon svg {
        width: 20px;
        height: 20px;
    }

    /* ----------------------------------------
       MEDIUM PRIORITY - Use Cases Small Mobile
       ---------------------------------------- */
    .use-case-card {
        padding: var(--space-4);
    }

    .use-case-card h3 {
        font-size: var(--text-base);
    }

    .use-case-icon {
        width: 40px;
        height: 40px;
    }

    /* ----------------------------------------
       MEDIUM PRIORITY - Metrics Small Mobile
       ---------------------------------------- */
    .metric-card {
        padding: var(--space-5);
    }

    .progress-ring-container {
        width: 80px;
        height: 80px;
    }

    .progress-ring {
        width: 80px;
        height: 80px;
    }

    .metric-number {
        font-size: var(--text-2xl);
    }

    .metric-suffix {
        font-size: var(--text-lg);
    }

    .metric-label {
        font-size: var(--text-xs);
    }

    /* ----------------------------------------
       MEDIUM PRIORITY - Pricing Small Mobile
       ---------------------------------------- */
    .pricing-card {
        padding: var(--space-5);
    }

    .pricing-card.featured .pricing-card-inner {
        padding: var(--space-5);
    }

    .pricing-header h3 {
        font-size: var(--text-lg);
    }

    .price-amount {
        font-size: var(--text-2xl);
    }

    .pricing-features li {
        font-size: var(--text-xs);
    }

    /* ----------------------------------------
       MEDIUM PRIORITY - Contact Small Mobile
       ---------------------------------------- */
    .contact-form-wrapper {
        padding: var(--space-5);
    }

    .contact-info h2 {
        font-size: var(--text-xl);
    }

    .contact-icon {
        width: 40px;
        height: 40px;
        min-width: 40px;
    }

    .form-group input,
    .form-group textarea {
        min-height: 48px;
        padding: var(--space-3);
    }

    .contact-form .btn {
        min-height: 48px;
    }

}

@media (max-width: 380px) {
    .hero-title {
        font-size: 2rem;
    }


}

/* ========================================
   Accessibility & Print Styles
   ======================================== */
/* ... (Rest of file) */
:focus-visible {
    outline: 2px solid var(--brand-gradient-start);
    outline-offset: 2px;
    border-radius: var(--radius-sm);
}

/* Reduced Motion Preference - Comprehensive Performance Mode */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    /* Disable all backdrop-filter effects (GPU intensive) */
    .navbar.scrolled,
    .scanner-card,
    .scan-badge,
    .feature-main,
    .feature-card {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }

    /* Use solid backgrounds instead of transparency */
    .navbar.scrolled {
        background: var(--bg-primary) !important;
    }

    .scanner-card {
        background: var(--bg-primary) !important;
    }

    .scan-badge {
        background: var(--bg-primary) !important;
    }

    .feature-main {
        background: var(--bg-secondary) !important;
    }

    .feature-card {
        background: var(--bg-primary) !important;
    }

    /* Hide expensive graphical effects */
    .hero-bg,
    .hero-gradient,
    .hero-grid,
    .shield-container,
    .data-particles,
    .particle,
    .scanner-glow,
    .scan-beam,
    .cta-bg-visuals,
    .cta-glow,
    .cta-grid {
        display: none !important;
    }

    /* Disable glitch effect pseudo-elements */
    .glitch-text::before,
    .glitch-text::after {
        display: none !important;
    }

    /* Disable 3D transforms */
    .scanner-card {
        transform: none !important;
    }

    /* Disable progress ring animations */
    .progress-ring-fill {
        animation: none !important;
        stroke-dashoffset: 0 !important;
    }

    /* Show elements immediately without animation */
    .problem-card,
    .feature-card,
    .use-case-card,
    .trust-card,
    .pricing-card,
    .comparison-row,
    .metric-card,
    .hero-title,
    .hero-subtitle,
    .hero-cta,
    .hero-trust,
    .hero-visual,
    .hero-scroll,
    .hero-badge {
        opacity: 1 !important;
        transform: none !important;
    }

    /* Disable hover transforms */
    .problem-card:hover,
    .feature-card:hover,
    .use-case-card:hover,
    .trust-card:hover,
    .pricing-card:hover,
    .btn:hover,
    .trust-badge:hover {
        transform: none !important;
    }
}

/* Print Styles */
@media print {

    .navbar,
    .hero-scroll,
    .mobile-menu-btn,
    .cta-bg-visuals,
    .footer-bottom,
    .particle,
    .shield-container {
        display: none !important;
    }

    .section {
        padding: 2rem 0;
        page-break-inside: avoid;
    }

    body {
        color: #000;
        background: #fff;
    }

    a[href^="http"]::after {
        content: " (" attr(href) ")";
        font-size: 0.8em;
    }
}

/* ========================================
   Mobile Performance Optimizations
   Reduces resource usage on touch devices
   ======================================== */
@media (max-width: 768px) {

    /* Reduce backdrop-filter blur intensity (GPU heavy) */
    .navbar.scrolled {
        backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px);
    }

    .scanner-card,
    .feature-main,
    .feature-card {
        backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px);
    }

    /* Hide decorative elements on mobile */
    .scanner-glow,
    .hero-grid,
    .cta-grid,
    .data-particles,
    .particle {
        display: none !important;
    }

    /* Disable 3D card transforms on mobile (saves GPU) */
    .scanner-card {
        transform: none !important;
        animation: none !important;
    }

    /* Disable continuous animations */
    .scan-beam {
        animation: none !important;
        display: none;
    }

    .badge-dot {
        animation: none;
    }

    /* Simplify glitch effect on mobile */
    .glitch-text::before,
    .glitch-text::after {
        display: none;
    }

    /* Reduce shadow complexity */
    .problem-card,
    .feature-card,
    .use-case-card,
    .trust-card,
    .pricing-card {
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    }

    /* Disable hover transforms on touch devices */
    .problem-card:hover,
    .feature-card:hover,
    .use-case-card:hover,
    .trust-card:hover,
    .pricing-card:hover {
        transform: none;
    }
}

/* ========================================
   Ultra-Low-End Device Mode
   For devices with very limited resources
   Triggered on small screens with low color depth
   ======================================== */
@media (max-width: 480px) {

    /* Remove all backdrop-filter effects */
    .navbar.scrolled,
    .scanner-card,
    .scan-badge,
    .feature-main,
    .feature-card {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    /* Use solid backgrounds */
    .navbar.scrolled {
        background: #ffffff;
    }

    .scanner-card,
    .scan-badge,
    .feature-card {
        background: #ffffff;
    }

    .feature-main {
        background: #f8fafc;
    }

    /* Hide all decorative animations */
    .scan-beam,
    .scanner-glow,
    .hero-gradient,
    .hero-grid,
    .data-particles,
    .particle,
    .cta-bg-visuals {
        display: none !important;
    }

    /* Disable all pulsing/continuous animations */
    .badge-dot,
    .gap-item.critical,
    .scroll-indicator::before,
    .header-badge {
        animation: none !important;
    }

    /* Simplify all shadows to minimal */
    .problem-card,
    .feature-card,
    .use-case-card,
    .trust-card,
    .pricing-card,
    .scanner-card,
    .analysis-preview {
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
    }

    /* Show animated elements immediately */
    [data-animate] {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* ========================================
   JavaScript-Detected Low Performance Mode
   Applied when JS detects low-end device
   ======================================== */
body.low-performance-mode {

    /* Disable all backdrop-filter effects */
    .navbar.scrolled,
    .scanner-card,
    .scan-badge,
    .feature-main,
    .feature-card {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }

    /* Use solid backgrounds */
    .navbar.scrolled {
        background: var(--bg-primary) !important;
    }

    .scanner-card,
    .scan-badge,
    .feature-card {
        background: var(--bg-primary) !important;
    }

    .feature-main {
        background: var(--bg-secondary) !important;
    }

    /* Hide expensive decorative elements */
    .scanner-glow,
    .scan-beam,
    .hero-gradient,
    .hero-grid,
    .data-particles,
    .particle,
    .cta-bg-visuals,
    .cta-glow,
    .cta-grid {
        display: none !important;
    }

    /* Disable continuous animations */
    .badge-dot,
    .gap-item.critical,
    .scroll-indicator::before,
    .header-badge,
    .scanner-card {
        animation: none !important;
    }

    /* Disable glitch effect */
    .glitch-text::before,
    .glitch-text::after {
        display: none !important;
    }

    /* Simplify all shadows */
    .problem-card,
    .feature-card,
    .use-case-card,
    .trust-card,
    .pricing-card,
    .scanner-card {
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1) !important;
    }

    /* Show animated elements immediately */
    [data-animate] {
        opacity: 1 !important;
        transform: none !important;
    }

    /* Disable hover transforms */
    .problem-card:hover,
    .feature-card:hover,
    .use-case-card:hover,
    .trust-card:hover,
    .pricing-card:hover,
    .btn:hover,
    .trust-badge:hover {
        transform: none !important;
    }
}