:root {
    --bg-base: #020617;
    --bg-surface: #0F172A;
    --bg-surface-glass: rgba(15, 23, 42, 0.6);
    --border-glass: rgba(255, 255, 255, 0.08);

    --text-primary: #F8FAFC;
    --text-secondary: #94A3B8;
    --text-muted: #64748B;

    --accent-blue: #3B82F6;
    --accent-blue-glow: rgba(59, 130, 246, 0.4);
    --accent-light: #60A5FA;
    --accent-cyan: #06B6D4;

    --success: #10B981;
    --error: #EF4444;
    --warning: #F59E0B;

    --font-heading: 'Clash Display', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

body {
    background-color: var(--bg-base);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

/* Background Grids & Glows */
.grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: -1;
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(ellipse at top, black 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at top, black 30%, transparent 80%);
}

.glow-bg {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-blue-glow) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(90px);
    z-index: -2;
    opacity: 0.5;
}

.top-glow {
    top: -200px;
    left: -100px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.3) 0%, transparent 70%);
}

.center-glow {
    top: 60%;
    right: -200px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.2) 0%, transparent 70%);
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

p {
    color: var(--text-secondary);
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-gradient {
    background: linear-gradient(135deg, #FFFFFF, var(--accent-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.green {
    color: var(--success);
}

.mt-4 {
    margin-top: 1.5rem;
}

/* Layout */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.relative {
    position: relative;
}

/* Elements */
.glass-panel {
    background: var(--bg-surface-glass);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.5rem;
    border-radius: 100px;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--accent-blue);
    color: white;
    box-shadow: 0 0 20px var(--accent-blue-glow);
}

.btn-primary:hover {
    background: #1D4ED8;
    box-shadow: 0 0 30px var(--accent-blue-glow);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.08);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.05rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    padding: 1.5rem 0;
    background: linear-gradient(180deg, var(--bg-base) 0%, transparent 100%);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
    letter-spacing: -0.5px;
}

.logo-image {
    height: 36px;
    width: auto;
    object-fit: contain;
    /* In case the logo is dark text, this ensures it can be seen on dark bg, but can be removed if image is light text */
    filter: brightness(0) invert(1);
}

.footer-logo-image {
    height: 24px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1) opacity(0.7);
}

.nav-links {
    display: none;
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
        gap: 2.5rem;
        background: rgba(255, 255, 255, 0.03);
        padding: 0.6rem 2rem;
        border-radius: 100px;
        border: 1px solid rgba(255, 255, 255, 0.05);
        backdrop-filter: blur(10px);
    }

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

    .nav-links a:hover {
        color: white;
    }
}

/* Hero Section */
.hero {
    padding: 12rem 0 6rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr 1fr;
    }

    .hero-content {
        text-align: left;
    }
}

.system-toast {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1rem 0.5rem 0.5rem;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 100px;
    margin-bottom: 2rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.toast-icon {
    width: 24px;
    height: 24px;
    background: rgba(16, 185, 129, 0.15);
    color: var(--success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toast-message {
    font-family: monospace;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.toast-message .green {
    font-weight: 600;
    text-shadow: 0 0 8px rgba(16, 185, 129, 0.4);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-light);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-light);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        opacity: 1;
        transform: scale(1);
    }

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

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

.hero-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 4rem;
    }
}

.hero-subtitle {
    font-size: 1.15rem;
    margin-bottom: 3rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

@media (min-width: 1024px) {
    .hero-subtitle {
        margin-left: 0;
        margin-right: 0;
    }
}

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

/* Physical ID Card Mockup for Stealth Mode */
.mb-4 {
    margin-bottom: 2rem;
}

.id-card-reveal {
    position: relative;
    width: 100%;
    max-width: 450px;
    height: 260px;
    perspective: 1000px;
}

.id-card-physical {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(240, 245, 255, 0.9));
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.5);
    position: relative;
    overflow: hidden;
    color: #1e293b;
    font-family: 'Inter', sans-serif;
    transform-style: preserve-3d;
    transform: rotateX(10deg) rotateY(-5deg);
    transition: transform 0.5s ease;
}

.id-card-reveal:hover .id-card-physical {
    transform: rotateX(0) rotateY(0);
}

.id-card-physical::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(45deg,
            transparent,
            transparent 10px,
            rgba(59, 130, 246, 0.03) 10px,
            rgba(59, 130, 246, 0.03) 20px);
    pointer-events: none;
}

.id-header {
    display: flex;
    justify-content: space-between;
    border-bottom: 2px solid rgba(59, 130, 246, 0.2);
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 1px;
    color: #334155;
}

.id-body {
    display: flex;
    gap: 1.5rem;
}

.id-photo-placeholder {
    width: 80px;
    height: 100px;
    background: #cbd5e1;
    border-radius: 6px;
    border: 2px solid #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    background-image: linear-gradient(to bottom, #cbd5e1 60%, #94a3b8 100%);
}

.id-photo-placeholder::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 15%;
    right: 15%;
    height: 40%;
    background: #64748b;
    border-radius: 50% 50% 0 0;
}

.id-photo-placeholder::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 35px;
    background: #64748b;
    border-radius: 50%;
}

.id-data {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.id-field {
    margin-bottom: 0.75rem;
}

.id-label {
    display: block;
    font-size: 0.6rem;
    color: #64748b;
    margin-bottom: 2px;
}

.id-value {
    font-family: monospace;
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    position: relative;
}

.status-value {
    color: var(--success);
}

.status-value::before {
    content: "SCANNING...";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(240, 245, 255, 0.9));
    /* match card bg */
    color: var(--warning);
    animation: text-reveal 4s infinite step-end;
}

.coming-soon-value {
    color: var(--success);
    font-size: 1.25rem;
    background: rgba(16, 185, 129, 0.1);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.coming-soon-value::before {
    content: "████████████";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(240, 245, 255, 0.9));
    color: #64748b;
    padding: 0.2rem 0.5rem;
    animation: text-reveal 4s infinite step-end;
}

@keyframes text-reveal {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }

    90% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.id-signature-line {
    margin-top: auto;
    height: 1px;
    background: #94a3b8;
    width: 80%;
}

.id-qr-overlay {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    width: 50px;
    height: 50px;
    background: #fff;
    border: 1px solid #e2e8f0;
    padding: 4px;
    border-radius: 4px;
}

.qr-mini {
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(45deg, #000 25%, transparent 25%, transparent 75%, #000 75%, #000),
        linear-gradient(45deg, #000 25%, transparent 25%, transparent 75%, #000 75%, #000);
    background-size: 4px 4px;
    background-position: 0 0, 2px 2px;
}

.scan-laser {
    position: absolute;
    top: 0;
    left: -10%;
    right: -10%;
    height: 2px;
    background: var(--success);
    box-shadow: 0 0 10px var(--success), 0 0 20px var(--success);
    animation: laser-scan 4s infinite;
}

@keyframes laser-scan {

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

    40%,
    50% {
        top: 100%;
        opacity: 1;
    }

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

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

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

/* Hero Visuals - Biometric Scan Integration */
.hero-visuals {
    position: relative;
    height: 500px;
}

.stats-card {
    position: absolute;
    padding: 1.5rem;
    width: max-content;
    z-index: 10;
    border-radius: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.stat-1 {
    top: 10%;
    right: 0;
}

.stat-2 {
    bottom: 10%;
    left: 0;
}

.stat-value {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    line-height: 1;
}

.stat-value .text-sm {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 400;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

/* The human scan mockup box */
.main-dashboard-mockup {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 400px;
    background: #0B0F19;
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8);
    overflow: hidden;
}

@media (max-width: 768px) {
    .main-dashboard-mockup {
        width: 90%;
    }
}

.mockup-header {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid var(--border-glass);
    display: flex;
    align-items: center;
}

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

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

.dot.red {
    background: #FF5F56;
}

.dot.yellow {
    background: #FFBD2E;
}

.dot.green {
    background: #27C93F;
}

.mockup-url {
    margin-left: auto;
    margin-right: auto;
    font-family: monospace;
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Biometric Human Scan internal UI */
.scan-content {
    padding: 1.5rem;
    position: relative;
}

.human-scan-container {
    position: relative;
    width: 100%;
    aspect-ratio: 4/5;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent 30%), url('https://images.unsplash.com/photo-1544005313-94ddf0286df2?auto=format&fit=crop&q=80&w=400') center/cover;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.scan-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(59, 130, 246, 0.4) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.4) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.3;
    border-radius: 50%;
    /* create an abstract oval focus for the face */
    transform: scale(0.6);
    filter: blur(1px);
}

.scan-line-vertical {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-light);
    box-shadow: 0 0 10px var(--accent-light), 0 0 20px var(--accent-blue);
    animation: scanner 3s ease-in-out infinite alternate;
}

@keyframes scanner {
    0% {
        top: 10%;
    }

    100% {
        top: 90%;
    }
}

.scan-stats {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    border-radius: 8px;
    padding: 1rem;
    font-family: monospace;
    font-size: 0.85rem;
}

.scan-stats .stat {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.scan-stats .stat:last-child {
    margin-bottom: 0;
}

.scan-stats .label {
    color: var(--text-secondary);
}

.scan-stats .value {
    color: white;
}

.scan-stats .value.green {
    color: var(--success);
}

/* Sections */
.features-section,
.tech-section {
    padding: 8rem 0;
}

.tech-section {
    border-top: 1px solid var(--border-glass);
    background: radial-gradient(circle at 100% 50%, rgba(37, 99, 235, 0.05) 0%, transparent 50%);
}

.section-grid {
    display: grid;
    gap: 4rem;
    align-items: center;
}

.section-grid.reverse {
    direction: rtl;
}

.section-grid.reverse>* {
    direction: ltr;
}

@media (min-width: 1024px) {
    .section-grid {
        grid-template-columns: 1fr 1fr;
    }
}

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

.section-desc {
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.feature-item {
    display: flex;
    gap: 1.5rem;
}

.feature-icon-wrapper {
    position: relative;
    padding-top: 0.5rem;
}

.icon-line {
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, var(--accent-cyan), transparent);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.feature-detail h4 {
    font-size: 1.25rem;
    font-weight: 500;
    color: white;
    margin-bottom: 0.5rem;
}

.feature-detail p {
    font-size: 0.95rem;
}

/* Diagram: Workflow Decision */
.app-preview {
    padding: 2.5rem;
}

.preview-header,
.visual-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.visual-header h3 {
    font-size: 1.2rem;
    font-weight: 500;
    margin: 0;
}

.status {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--success);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.status::before {
    content: '';
    width: 6px;
    height: 6px;
    background: currentColor;
    border-radius: 50%;
    box-shadow: 0 0 8px currentColor;
}

.status.error {
    color: var(--warning);
}

.workflow-diagram {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    font-family: var(--font-body);
    font-size: 0.85rem;
}

.node {
    padding: 0.8rem 1.75rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: white;
    text-align: center;
    font-weight: 500;
}

.arrow,
.arrow-left,
.arrow-right {
    color: var(--text-muted);
}

.process {
    background: rgba(37, 99, 235, 0.1);
    border-color: rgba(37, 99, 235, 0.3);
    color: var(--accent-light);
    box-shadow: 0 0 15px rgba(37, 99, 235, 0.2);
}

.split-arrows {
    display: flex;
    gap: 3rem;
}

.decisions {
    display: flex;
    gap: 1rem;
}

.result-green {
    border-color: rgba(16, 185, 129, 0.3);
    color: var(--success);
    background: rgba(16, 185, 129, 0.05);
}

.result-red {
    border-color: rgba(239, 68, 68, 0.3);
    color: var(--error);
    background: rgba(239, 68, 68, 0.05);
}

/* Workload Animation / ID Pile visually relieving pain */
.workload-visual {
    padding: 2.5rem;
    position: relative;
}

.workload-animation {
    position: relative;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    margin: 2rem 0;
    border-bottom: 1px dashed var(--border-glass);
}

.kyc-box {
    width: 140px;
    height: 80px;
    background: rgba(37, 99, 235, 0.1);
    border: 1px solid rgba(37, 99, 235, 0.3);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 10;
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.1);
    backdrop-filter: blur(10px);
}

.box-front {
    color: var(--accent-light);
    font-weight: 600;
    font-size: 0.9rem;
    z-index: 11;
    position: absolute;
}

.box-back {
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent, rgba(37, 99, 235, 0.1));
    border-radius: 8px;
    z-index: 5;
}

/* Falling IDs representing the heavy manual pile */
.falling-id {
    width: 60px;
    height: 40px;
    background: var(--bg-surface);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    padding: 4px;
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 6;
    animation: dropIntoBox 4s infinite linear;
    opacity: 0;
}

.id-inner {
    display: flex;
    gap: 4px;
    height: 100%;
    align-items: center;
}

.id-pic {
    width: 12px;
    height: 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
}

.id-lines {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.idl {
    height: 2px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 2px;
}

.w-full {
    width: 100%;
}

.w-half {
    width: 60%;
}

.id-1 {
    animation-delay: 0s;
    left: 45%;
}

.id-2 {
    animation-delay: 1s;
    left: 55%;
}

.id-3 {
    animation-delay: 2s;
    left: 48%;
}

.id-4 {
    animation-delay: 3s;
    left: 52%;
}

@keyframes dropIntoBox {
    0% {
        top: -60px;
        opacity: 0;
        transform: translateX(-50%) rotate(-10deg) scale(1.2);
    }

    10% {
        opacity: 1;
    }

    50% {
        top: 120px;
        opacity: 1;
        transform: translateX(-50%) rotate(5deg) scale(1);
        filter: brightness(1);
    }

    70% {
        top: 200px;
        opacity: 0;
        transform: translateX(-50%) rotate(0deg) scale(0.8);
        filter: brightness(2) drop-shadow(0 0 10px var(--accent-blue));
    }

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

.processing-stats {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    padding: 1rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.stat-row .text-gradient {
    font-weight: 700;
    font-size: 1rem;
}

/* Banner / CTA */
.banner-section {
    padding: 4rem 0 8rem;
}

.cta-banner {
    padding: 4rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(180deg, rgba(37, 99, 235, 0.05) 0%, transparent 100%);
}

.cta-banner h2 {
    font-size: 2.2rem;
}

.cta-banner p {
    max-width: 600px;
    margin: 0 auto;
}

/* Footer */
.minimal-footer {
    border-top: 1px solid var(--border-glass);
    padding: 2rem 0;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-family: var(--font-heading);
    font-weight: 500;
}

.footer-meta {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.divider {
    opacity: 0.3;
}

/* Animations */
.float-animation {
    animation: float-icon 6s ease-in-out infinite;
}

.float-animation-delayed {
    animation: float-icon 6s ease-in-out infinite;
    animation-delay: 3s;
}

@keyframes float-icon {
    0% {
        transform: translateY(0px);
    }

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

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

/* Base Fade States for JS */
/* --------------------------------------
   MOBILE OPTIMIZATION (Media Queries)
--------------------------------------- */
@media (max-width: 768px) {

    /* Base Typography */
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }

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

    .section-desc {
        font-size: 1rem;
    }

    /* Layout Overrides */
    .hero {
        padding: 8rem 0 4rem;
        text-align: center;
        overflow: visible;
    }

    .hero-container,
    .section-grid {
        grid-template-columns: 1fr !important;
        gap: 3rem;
    }

    .section-grid.reverse>* {
        direction: ltr;
    }

    /* reset rtl */
    .text-left {
        text-align: center;
    }

    /* Visual Components Shrinking */
    .hero-visuals {
        height: 600px;
        transform: scale(0.85);
        transform-origin: top center;
        margin-bottom: -4rem;
    }

    /* App Preview Diagram */
    .app-preview {
        padding: 1.5rem;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .workflow-diagram {
        transform: scale(0.9);
        transform-origin: center;
        gap: 1rem;
    }

    .split-arrows {
        gap: 1.5rem;
    }

    .decisions {
        gap: 0.5rem;
    }

    .node {
        padding: 0.6rem 1.2rem;
        font-size: 0.8rem;
    }

    /* ID Workload Animation scaling */
    .workload-visual {
        padding: 1.5rem;
        overflow: hidden;
    }

    .workload-animation {
        height: 250px;
        transform: scale(0.8);
        transform-origin: bottom center;
    }

    /* Stealth Mode ID scaling */
    .id-card-reveal {
        height: 360px;
        transform: scale(0.85);
        transform-origin: top center;
        margin-bottom: -2rem;
    }

    .id-card-physical {
        padding: 1rem;
    }

    .id-body {
        gap: 1rem;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .id-signature-line {
        width: 100%;
        margin-top: 1rem;
    }

    .id-qr-overlay {
        bottom: auto;
        top: 1rem;
        right: 1rem;
    }

    /* Footer cleanup */
    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
    }

    .footer-logo {
        margin-bottom: 0.5rem;
    }

    .footer-meta {
        flex-direction: column;
        gap: 0.5rem;
    }

    .footer-meta .divider,
    .footer-meta span:last-child {
        display: none;
    }
}