/* ============================================
   FilesOnTheGo Homepage - "Midnight Coral & Glass"
   ============================================ */

:root {
    --hp-bg-primary: rgba(10, 12, 20, 0.95);
    --hp-bg-surface: rgba(15, 17, 28, 0.78);
    --hp-bg-glass: rgba(15, 17, 28, 0.65);
    --hp-accent-start: #f43f5e;
    --hp-accent-end: #fb7185;
    --hp-accent-gradient: linear-gradient(135deg, #f43f5e, #fb7185);
    --hp-highlight: rgba(251, 191, 36, 0.25);
    --hp-border: rgba(255, 255, 255, 0.12);
    --hp-border-light: rgba(255, 255, 255, 0.08);
    --hp-text-primary: #ffffff;
    --hp-text-secondary: rgba(255, 255, 255, 0.7);
    --hp-text-muted: rgba(255, 255, 255, 0.5);
    --hp-shadow: 0 28px 60px rgba(5, 8, 22, 0.45);
    --hp-glow: 0 0 80px rgba(244, 63, 94, 0.3);
}

/* ============================================
   Base & Reset
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body.homepage {
    background: var(--hp-bg-primary) !important;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    color: var(--hp-text-primary);
    line-height: 1.6;
    /* Override theme.css centering */
    display: block !important;
    align-items: initial !important;
    justify-content: initial !important;
    padding: 0 !important;
}

body.homepage::before {
    content: "";
    position: fixed;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(244, 63, 94, 0.08) 0%, transparent 60%) !important;
    pointer-events: none;
    z-index: 0;
    opacity: 1 !important;
}

body.homepage::after {
    display: none !important;
}

.homepage-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    width: 100%;
    position: relative;
    z-index: 1;
}

.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
}

/* ============================================
   Cursor Glow Effect
   ============================================ */
.cursor-glow {
    position: fixed;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(244, 63, 94, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease;
    mix-blend-mode: screen;
}

.cursor-glow.active {
    opacity: 1;
}

/* ============================================
   Aurora Background
   ============================================ */
.aurora-container {
    position: fixed;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.aurora-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: aurora-drift 20s ease-in-out infinite;
}

.aurora-1 {
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, #f43f5e, #fb7185);
    top: -200px;
    left: 10%;
    animation-delay: 0s;
}

.aurora-2 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, #fb7185, #f472b6);
    top: 40%;
    right: -100px;
    animation-delay: -7s;
}

.aurora-3 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #f43f5e, #e11d48);
    bottom: -100px;
    left: 30%;
    animation-delay: -14s;
}

@keyframes aurora-drift {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(50px, 30px) scale(1.1);
    }
    50% {
        transform: translate(-30px, 60px) scale(0.95);
    }
    75% {
        transform: translate(-50px, -20px) scale(1.05);
    }
}

/* ============================================
   Grain Overlay
   ============================================ */
.grain-overlay {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* ============================================
   Glass Navigation
   ============================================ */
.glass-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 12, 20, 0.7);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--hp-border-light);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--hp-text-primary);
    font-weight: 700;
    font-size: 1.25rem;
}

.logo-icon {
    font-size: 1.5rem;
}

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

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

.nav-links a:hover {
    color: var(--hp-text-primary);
}

.nav-actions {
    display: flex;
    gap: 16px;
    align-items: center;
}

/* ============================================
   Buttons
   ============================================ */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--hp-accent-gradient);
    color: #fff;
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(244, 63, 94, 0.4);
}

.btn-primary.btn-lg {
    padding: 16px 32px;
    font-size: 1.05rem;
}

.btn-primary.btn-xl {
    padding: 20px 40px;
    font-size: 1.15rem;
}

.pulse-shadow {
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 8px 24px rgba(244, 63, 94, 0.3);
    }
    50% {
        box-shadow: 0 12px 40px rgba(244, 63, 94, 0.5);
    }
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--hp-text-primary);
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    border: 1px solid var(--hp-border);
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.btn-ghost:hover {
    border-color: var(--hp-accent-start);
    background: rgba(244, 63, 94, 0.1);
}

.btn-ghost.btn-lg {
    padding: 16px 32px;
}

.btn-arrow {
    transition: transform 0.2s ease;
}

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

.play-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: var(--hp-accent-gradient);
    border-radius: 50%;
    font-size: 0.6rem;
}

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

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

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

.eyebrow {
    display: inline-block;
    color: var(--hp-accent-start);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
}

.hero-headline {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin: 0 0 24px;
    color: var(--hp-text-primary);
}

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

.hero-description {
    font-size: 1.2rem;
    line-height: 1.7;
    color: var(--hp-text-secondary);
    margin: 0 0 32px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    gap: 40px;
}

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

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--hp-text-primary);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--hp-text-muted);
}

/* ============================================
   Hero Visual / Demo Card
   ============================================ */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.floating-card {
    background: var(--hp-bg-glass);
    border: 1px solid var(--hp-border);
    border-radius: 24px;
    padding: 32px;
    backdrop-filter: blur(20px);
    box-shadow: var(--hp-shadow), var(--hp-glow);
}

.hero-demo-card {
    width: 100%;
    max-width: 500px;
    min-height: 320px;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

.demo-animation {
    display: flex;
    align-items: center;
    gap: 24px;
    position: relative;
}

.doc-icon {
    animation: doc-slide 4s ease-in-out infinite;
}

@keyframes doc-slide {
    0%, 100% {
        transform: translateX(0);
        opacity: 1;
    }
    40% {
        transform: translateX(20px);
        opacity: 0.5;
    }
    50% {
        transform: translateX(30px);
        opacity: 0;
    }
    60% {
        transform: translateX(0);
        opacity: 0;
    }
    70% {
        transform: translateX(0);
        opacity: 1;
    }
}

.data-stream {
    position: absolute;
    left: 80px;
    display: flex;
    gap: 8px;
}

.data-stream span {
    width: 8px;
    height: 8px;
    background: var(--hp-accent-gradient);
    border-radius: 50%;
    animation: stream-flow 4s ease-in-out infinite;
}

.data-stream span:nth-child(1) { animation-delay: 0.5s; }
.data-stream span:nth-child(2) { animation-delay: 0.6s; }
.data-stream span:nth-child(3) { animation-delay: 0.7s; }
.data-stream span:nth-child(4) { animation-delay: 0.8s; }
.data-stream span:nth-child(5) { animation-delay: 0.9s; }

@keyframes stream-flow {
    0%, 40%, 100% {
        transform: translateX(0) scale(0);
        opacity: 0;
    }
    45% {
        transform: translateX(20px) scale(1);
        opacity: 1;
    }
    55% {
        transform: translateX(80px) scale(1);
        opacity: 1;
    }
    60% {
        transform: translateX(120px) scale(0);
        opacity: 0;
    }
}

.mini-table {
    flex: 1;
    background: rgba(5, 8, 20, 0.5);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--hp-border-light);
}

.table-row {
    display: grid;
    grid-template-columns: 1fr 1.5fr 0.8fr;
    padding: 12px 16px;
    font-size: 0.85rem;
    border-bottom: 1px solid var(--hp-border-light);
}

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

.table-row.header {
    background: rgba(244, 63, 94, 0.1);
    color: var(--hp-text-secondary);
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.table-row.highlight-row {
    background: var(--hp-highlight);
    animation: row-glow 2s ease-in-out infinite;
}

@keyframes row-glow {
    0%, 100% {
        background: var(--hp-highlight);
    }
    50% {
        background: rgba(251, 191, 36, 0.35);
    }
}

.status-badge {
    display: inline-block;
    padding: 4px 8px;
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
}

/* Floating Elements */
.floating-element {
    position: absolute;
    font-size: 2rem;
    animation: float-random 8s ease-in-out infinite;
}

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

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

.float-3 {
    top: 50%;
    right: -50px;
    animation-delay: -4s;
}

@keyframes float-random {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(10px, -15px) rotate(5deg);
    }
    50% {
        transform: translate(-5px, 10px) rotate(-3deg);
    }
    75% {
        transform: translate(-15px, -5px) rotate(3deg);
    }
}

/* ============================================
   Demo Section
   ============================================ */
.demo-section {
    position: relative;
    z-index: 10;
    padding: 100px 40px;
    width: 100%;
}

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

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--hp-text-primary);
    margin: 0 0 16px;
}

.section-description {
    font-size: 1.1rem;
    color: var(--hp-text-secondary);
    margin: 0;
}

.demo-container {
    max-width: 800px;
    margin: 0 auto;
}

.file-drop-zone {
    border: 2px dashed var(--hp-border);
    border-radius: 24px;
    padding: 80px 40px;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
    background: var(--hp-bg-glass);
    backdrop-filter: blur(12px);
}

.file-drop-zone:hover,
.file-drop-zone.drag-over {
    border-color: var(--hp-accent-start);
    background: rgba(244, 63, 94, 0.05);
    box-shadow: 0 0 60px rgba(244, 63, 94, 0.2);
}

.drop-zone-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.drop-icon {
    animation: bounce-soft 2s ease-in-out infinite;
}

@keyframes bounce-soft {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.drop-text {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--hp-text-primary);
    margin: 0;
}

.drop-hint {
    font-size: 0.9rem;
    color: var(--hp-text-muted);
    margin: 0;
}

.demo-progress {
    margin-top: 32px;
    text-align: center;
}

.demo-progress[hidden] {
    display: none !important;
}

.demo-result[hidden] {
    display: none !important;
}

.demo-result {
    margin-top: 32px;
    animation: fadeSlideUp 0.5s ease;
}

.progress-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 16px;
}

.progress-fill {
    height: 100%;
    width: 0%;
    background: var(--hp-accent-gradient);
    border-radius: 4px;
    transition: width 0.18s ease;
}

.progress-text {
    color: var(--hp-text-secondary);
    font-size: 0.9rem;
}

@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.result-card {
    background: var(--hp-bg-glass);
    border: 1px solid var(--hp-border);
    border-radius: 20px;
    padding: 32px;
    backdrop-filter: blur(12px);
}

.result-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.result-icon {
    width: 40px;
    height: 40px;
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.result-header h3 {
    margin: 0;
    color: var(--hp-text-primary);
}

.preview-table {
    background: rgba(5, 8, 20, 0.5);
    border-radius: 12px;
    overflow: hidden;
}

.preview-row {
    display: grid;
    grid-template-columns: 80px 1fr;
    padding: 12px 16px;
    border-bottom: 1px solid var(--hp-border-light);
    font-size: 0.9rem;
    color: var(--hp-text-secondary);
}

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

.preview-row.header {
    background: rgba(244, 63, 94, 0.1);
    font-weight: 600;
    color: var(--hp-text-primary);
}

/* ============================================
   Bento Grid Features
   ============================================ */
.features-section {
    position: relative;
    z-index: 10;
    padding: 100px 40px;
    width: 100%;
}

.bento-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, auto);
    gap: 24px;
    width: 100%;
}

.bento-card {
    position: relative;
    background: var(--hp-bg-glass);
    border: 1px solid var(--hp-border);
    border-radius: 24px;
    padding: 32px;
    backdrop-filter: blur(12px);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bento-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--hp-shadow);
}

.bento-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--hp-text-primary);
    margin: 0 0 8px;
}

.bento-card p {
    font-size: 0.9rem;
    color: var(--hp-text-secondary);
    margin: 0 0 20px;
}

.card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(244, 63, 94, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.bento-card:hover .card-glow {
    opacity: 1;
}

/* Manager Card */
.bento-manager {
    grid-row: span 1;
}

.mode-switcher-mini {
    position: relative;
    display: flex;
    gap: 8px;
    background: rgba(5, 8, 20, 0.5);
    padding: 8px;
    border-radius: 12px;
}

.mode-btn {
    position: relative;
    z-index: 1;
    background: transparent;
    border: none;
    color: var(--hp-text-secondary);
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: color 0.2s ease;
}

.mode-btn.active {
    color: #fff;
}

.mode-indicator-mini {
    position: absolute;
    top: 8px;
    left: 8px;
    width: calc(33.33% - 8px);
    height: calc(100% - 16px);
    background: var(--hp-accent-gradient);
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.mode-switcher-mini[data-mode="search"] .mode-indicator-mini {
    transform: translateX(calc(100% + 8px));
}

.mode-switcher-mini[data-mode="print"] .mode-indicator-mini {
    transform: translateX(calc(200% + 16px));
}

/* Table Card */
.bento-table {
    grid-column: span 2;
}

.search-bar-mini {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(5, 8, 20, 0.5);
    padding: 12px 16px;
    border-radius: 10px;
    border: 1px solid var(--hp-border);
    margin-bottom: 16px;
}

.search-icon {
    font-size: 0.9rem;
}

.search-text {
    color: var(--hp-text-primary);
    font-size: 0.9rem;
}

.search-cursor {
    color: var(--hp-accent-start);
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.table-preview {
    background: rgba(5, 8, 20, 0.5);
    border-radius: 10px;
    overflow: hidden;
}

.table-row-mini {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid var(--hp-border-light);
    font-size: 0.85rem;
    color: var(--hp-text-secondary);
}

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

.table-row-mini.highlighted {
    background: var(--hp-highlight);
}

.table-row-mini mark {
    background: rgba(244, 63, 94, 0.3);
    color: var(--hp-text-primary);
    padding: 2px 4px;
    border-radius: 3px;
}

.type-tag {
    background: rgba(255, 255, 255, 0.1);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    text-transform: uppercase;
}

/* Print Card */
.bento-print {
    display: flex;
    flex-direction: column;
}

.print-demo {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-top: 16px;
}

.paper-preview {
    width: 100px;
    height: 140px;
    background: #fff;
    border-radius: 4px;
    padding: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transform: perspective(500px) rotateY(-5deg);
    transition: transform 0.3s ease;
}

.bento-print:hover .paper-preview {
    transform: perspective(500px) rotateY(0deg) translateX(-10px);
}

.paper-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.paper-title {
    width: 60%;
    height: 8px;
    background: rgba(244, 63, 94, 0.3);
    border-radius: 2px;
}

.paper-line {
    width: 100%;
    height: 4px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 2px;
}

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

.paper-line.medium {
    width: 70%;
}

.print-btn {
    position: relative;
    width: 60px;
    height: 60px;
    background: var(--hp-accent-gradient);
    border: none;
    border-radius: 16px;
    cursor: pointer;
    font-size: 1.5rem;
    transition: transform 0.2s ease;
    overflow: hidden;
}

.print-btn:hover {
    transform: scale(1.1);
}

.ripple-container {
    position: absolute;
    inset: 0;
    overflow: hidden;
    border-radius: inherit;
}

.ripple {
    position: absolute;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    transform: scale(0);
    animation: ripple-effect 0.6s ease-out;
    pointer-events: none;
}

@keyframes ripple-effect {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Stats Card */
.bento-stats {
    grid-column: span 2;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

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

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--hp-text-primary);
    background: var(--hp-accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-item .stat-label {
    font-size: 0.8rem;
    color: var(--hp-text-muted);
}

/* Fonts Card */
.bento-fonts {
    text-align: center;
}

.font-demo {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 16px;
}

.font-preview {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--hp-text-primary);
}

.font-preview.arabic {
    font-family: 'Amiri', serif;
}

/* Security Card */
.bento-security {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.security-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.security-badge {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* ============================================
   Activity Section
   ============================================ */
.activity-section {
    position: relative;
    z-index: 10;
    padding: 100px 40px;
    width: 100%;
}

.activity-demo {
    max-width: 600px;
    margin: 0 auto;
}

.activity-feed {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.activity-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: var(--hp-bg-glass);
    border: 1px solid var(--hp-border);
    border-radius: 16px;
    padding: 20px;
    backdrop-filter: blur(12px);
    animation: fadeSlideUp 0.5s ease;
}

.activity-item:nth-child(2) {
    animation-delay: 0.1s;
}

.activity-item:nth-child(3) {
    animation-delay: 0.2s;
}

.activity-icon {
    font-size: 1.5rem;
}

.activity-content p {
    margin: 0 0 4px;
    color: var(--hp-text-primary);
    font-size: 0.95rem;
}

.activity-time {
    font-size: 0.8rem;
    color: var(--hp-text-muted);
}

/* ============================================
   CTA Section
   ============================================ */
.cta-section {
    position: relative;
    z-index: 10;
    padding: 100px 40px;
    width: 100%;
}

.cta-card {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    background: var(--hp-bg-glass);
    border: 1px solid var(--hp-border);
    border-radius: 32px;
    padding: 80px 60px;
    text-align: center;
    backdrop-filter: blur(20px);
    overflow: hidden;
}

.cta-glow {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(244, 63, 94, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.cta-card h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--hp-text-primary);
    margin: 0 0 16px;
    position: relative;
}

.cta-card > p {
    font-size: 1.1rem;
    color: var(--hp-text-secondary);
    margin: 0 0 32px;
    position: relative;
}

.cta-buttons {
    position: relative;
    margin-bottom: 24px;
}

.cta-note {
    font-size: 0.85rem;
    color: var(--hp-text-muted);
    margin: 0;
    position: relative;
}

/* ============================================
   Footer
   ============================================ */
.glass-footer {
    position: relative;
    z-index: 10;
    background: rgba(5, 8, 20, 0.9);
    border-top: 1px solid var(--hp-border-light);
    padding: 60px 40px 30px;
    width: 100%;
    margin-top: auto;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand p {
    color: var(--hp-text-muted);
    margin: 16px 0 0;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-col h4 {
    color: var(--hp-text-primary);
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0 0 16px;
}

.footer-col a {
    display: block;
    color: var(--hp-text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: 12px;
    transition: color 0.2s ease;
}

.footer-col a:hover {
    color: var(--hp-text-primary);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 30px;
    border-top: 1px solid var(--hp-border-light);
    text-align: center;
}

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

/* ============================================
   Toast Notifications
   ============================================ */
.toast-container {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.toast {
    background: var(--hp-bg-glass);
    border: 1px solid rgba(34, 197, 94, 0.5);
    border-radius: 12px;
    padding: 16px 24px;
    backdrop-filter: blur(12px);
    color: var(--hp-text-primary);
    font-size: 0.9rem;
    animation: slideInRight 0.3s ease;
    box-shadow: 0 0 30px rgba(34, 197, 94, 0.2);
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1200px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .bento-table {
        grid-column: span 2;
    }
    
    .bento-stats {
        grid-column: span 2;
    }
}

@media (max-width: 900px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }
    
    .hero-text {
        max-width: 100%;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .nav-links {
        display: none;
    }
    
    .bento-grid {
        grid-template-columns: 1fr;
    }
    
    .bento-table,
    .bento-stats {
        grid-column: span 1;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .hero-section {
        padding: 100px 20px 60px;
    }
    
    .hero-headline {
        font-size: 2rem;
    }
    
    .demo-section,
    .features-section,
    .activity-section,
    .cta-section {
        padding: 60px 20px;
    }
    
    .file-drop-zone {
        padding: 60px 20px;
    }
    
    .cta-card {
        padding: 40px 24px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
}
