/**
 * NoorSentinel - Complete Stylesheet
 * Version 3.0 - All styles consolidated
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700;900&display=swap');

/* =============================================
   RESET & VARIABLES
============================================= */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --secondary: #8b5cf6;
    --success: #10b981;
    --success-dark: #059669;
    --danger: #ef4444;
    --warning: #f59e0b;
    --info: #3b82f6;
    --dark: #0f172a;
    --card: #1e293b;
    --gray: #94a3b8;
    --text: #e2e8f0;
    --bg: #0f172a;
}

/* =============================================
   BASE STYLES
============================================= */
html {
    scroll-behavior: smooth;
}

html, body {
    min-height: 100%;
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

body { 
    display: flex; 
    flex-direction: column; 
    min-height: 100vh; 
}

main { flex: 1; }

a { 
    color: var(--primary); 
    text-decoration: none; 
    transition: color 0.3s; 
}

a:hover { 
    color: var(--secondary); 
}

/* =============================================
   ACCESSIBILITY
============================================= */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary);
    color: white;
    padding: 8px 16px;
    z-index: 10000;
}

.skip-link:focus { 
    top: 0; 
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}

/* =============================================
   BACKGROUND EFFECTS
============================================= */
.wifi-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.06;
    pointer-events: none;
}

.signal-wave {
    position: absolute;
    width: 300%;
    height: 300%;
    top: -100%;
    left: -100%;
    background: repeating-radial-gradient(circle at 50% 50%, transparent 0px, var(--primary) 2px, transparent 4px, transparent 60px);
    animation: signalPulse 8s linear infinite;
}

.signal-wave:nth-child(2) { animation-delay: 2s; opacity: 0.6; }
.signal-wave:nth-child(3) { animation-delay: 4s; opacity: 0.4; }

@keyframes signalPulse {
    0% { transform: scale(0.5) rotate(0deg); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: scale(2) rotate(360deg); opacity: 0; }
}

/* Signal Bars */
.signal-bars {
    position: fixed;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 4px;
    z-index: 100;
}

.signal-bar {
    width: 6px;
    background: var(--primary);
    border-radius: 3px;
    animation: signal 1.5s ease-in-out infinite;
}

.signal-bar:nth-child(1) { height: 15px; }
.signal-bar:nth-child(2) { height: 25px; animation-delay: 0.2s; }
.signal-bar:nth-child(3) { height: 35px; animation-delay: 0.4s; }
.signal-bar:nth-child(4) { height: 45px; animation-delay: 0.6s; }

@keyframes signal {
    0%, 100% { opacity: 0.4; transform: scaleY(0.8); }
    50% { opacity: 1; transform: scaleY(1); }
}

/* =============================================
   LAYOUT
============================================= */
.container { 
    position: relative; 
    z-index: 1; 
    max-width: 1400px; 
    margin: 0 auto; 
    padding: 20px; 
}

/* =============================================
   TYPOGRAPHY
============================================= */
h1, h2, h3 { 
    font-weight: 700; 
    line-height: 1.3; 
    margin-bottom: 16px; 
}

h1 { 
    font-size: clamp(2em, 5vw, 4em); 
    font-weight: 900; 
}

h2 { font-size: 1.5rem; }
h3 { font-size: 1.15rem; }

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

.text-muted { color: var(--gray); }
.text-center { text-align: center; }

/* =============================================
   NAVIGATION
============================================= */
.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(99, 102, 241, 0.1);
    transition: all 0.3s ease;
}

.site-nav.scrolled {
    padding: 12px 0;
    background: rgba(15, 23, 42, 0.95);
}

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

.nav-logo {
    font-size: 1.25em;
    font-weight: 800;
    color: var(--text);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-logo-icon svg {
    width: 18px;
    height: 18px;
    fill: white;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
    margin: 0;
    padding: 0;
}

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

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

.nav-cta {
    padding: 10px 20px;
    background: var(--primary);
    color: white !important;
    border-radius: 8px;
    font-weight: 600;
}

.nav-cta:hover {
    background: var(--primary-dark);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text);
    font-size: 1.5em;
    cursor: pointer;
    padding: 8px;
}

/* =============================================
   HERO SECTION
============================================= */
.hero-section {
    padding: 80px 20px 30px;
    position: relative;
    z-index: 1;
}

.hero-inner {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 50px;
    font-size: 0.8em;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 28px;
    letter-spacing: 0.5px;
}

.hero-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-inner h1 {
    margin-bottom: 20px;
    line-height: 1.15;
}

.hero-subtitle {
    font-size: 1.1em;
    color: var(--gray);
    margin: 0 auto 40px;
    max-width: 600px;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.hero-cta .btn {
    padding: 16px 32px;
    font-size: 0.95em;
}

/* =============================================
   STAT BOXES - Full Width with Light Trail
============================================= */
.stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.stat-box {
    background: rgba(99, 102, 241, 0.08);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(99, 102, 241, 0.25);
    border-radius: 16px;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
}

.stat-box .stat-number {
    font-size: 2.4em;
    font-weight: 900;
    color: var(--primary);
    display: block;
    margin-bottom: 6px;
    transition: all 0.4s ease;
}

.stat-box .stat-label {
    font-size: 0.85em;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all 0.4s ease;
}

/* Active State - Light Effect */
.stat-box.active {
    border-color: var(--primary);
    background: rgba(99, 102, 241, 0.15);
    box-shadow: 
        0 0 25px rgba(99, 102, 241, 0.4),
        0 0 50px rgba(99, 102, 241, 0.2),
        inset 0 0 25px rgba(99, 102, 241, 0.1);
}

.stat-box.active .stat-number {
    color: #fff;
    text-shadow: 0 0 25px var(--primary);
}

.stat-box.active .stat-label {
    color: var(--text);
}

/* Light trail under active box */
.stat-box::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
    opacity: 0;
    transition: all 0.4s ease;
}

.stat-box.active::after {
    opacity: 1;
    box-shadow: 0 0 20px var(--primary);
}

/* =============================================
   SECTIONS
============================================= */
.section {
    background: transparent !important;
    padding: 40px 0;
    position: relative;
    z-index: 1;
}

.section-header {
    margin-bottom: 32px;
}

.section-label {
    display: inline-block;
    font-size: 0.75em;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.section-title {
    font-size: clamp(1.5em, 3vw, 2em);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 10px;
}

.section-desc {
    font-size: 0.95em;
    color: var(--gray);
    max-width: 500px;
}

/* =============================================
   CARDS
============================================= */
.card {
    background: var(--card);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.card-glass {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid rgba(99, 102, 241, 0.3);
    padding: 40px;
}

/* =============================================
   VALUES SECTION - Corner Effects
============================================= */
.values-section {
    padding-top: 20px;
}

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

.value-card {
    background: rgba(99, 102, 241, 0.08);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(99, 102, 241, 0.25);
    border-radius: 16px;
    padding: 20px 24px;
    transition: all 0.3s ease;
    position: relative;
}

/* Corner Decorations */
.value-card::before,
.value-card::after {
    content: '';
    position: absolute;
    width: 14px;
    height: 14px;
    border-color: var(--primary);
    border-style: solid;
    opacity: 0.4;
    transition: all 0.3s ease;
}

.value-card::before {
    top: -1px;
    left: -1px;
    border-width: 2px 0 0 2px;
    border-radius: 16px 0 0 0;
}

.value-card::after {
    bottom: -1px;
    right: -1px;
    border-width: 0 2px 2px 0;
    border-radius: 0 0 16px 0;
}

.value-card:hover {
    transform: translateY(-2px);
    border-color: rgba(99, 102, 241, 0.5);
    box-shadow: 0 6px 24px rgba(99, 102, 241, 0.12);
}

.value-card:hover::before,
.value-card:hover::after {
    opacity: 0.8;
    width: 20px;
    height: 20px;
}

.value-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.value-icon svg {
    width: 32px;
    height: 32px;
}

.value-title {
    font-size: 1em;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--text);
}

.value-desc {
    color: var(--gray);
    line-height: 1.4;
    font-size: 0.8em;
}

/* =============================================
   CUSTOMERS SECTION
============================================= */
.customers-section {
    padding: 30px 0;
}

.customers-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
}

.customer-card {
    background: rgba(99, 102, 241, 0.08);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(99, 102, 241, 0.25);
    border-radius: 12px;
    padding: 20px 12px;
    text-align: center;
    transition: all 0.3s ease;
}

.customer-card:hover {
    border-color: rgba(99, 102, 241, 0.5);
    transform: translateY(-2px);
}

.customer-icon {
    width: 36px;
    height: 36px;
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.customer-icon svg {
    width: 28px;
    height: 28px;
}

.customer-title {
    font-size: 0.85em;
    font-weight: 700;
    margin-bottom: 2px;
}

.customer-desc {
    font-size: 0.7em;
    color: var(--gray);
}

/* =============================================
   BUTTONS
============================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 40px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1em;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    border: none;
    font-family: inherit;
}

.btn:focus { 
    outline: 3px solid var(--primary); 
    outline-offset: 3px; 
}

.btn:disabled { 
    opacity: 0.6; 
    cursor: not-allowed; 
}

.btn-primary { 
    background: linear-gradient(135deg, var(--primary), var(--secondary)); 
    color: white; 
}

.btn-primary:hover:not(:disabled) { 
    transform: translateY(-3px); 
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3); 
}

.btn-secondary { 
    background: transparent; 
    color: var(--primary); 
    border: 2px solid var(--primary); 
}

.btn-success { 
    background: var(--success); 
    color: white; 
}

.btn-success:hover:not(:disabled) { 
    background: var(--success-dark); 
}

.btn-danger { 
    background: var(--danger); 
    color: white; 
}

.btn-sm { 
    padding: 10px 20px; 
    font-size: 0.9em; 
}

.btn-lg { 
    padding: 18px 50px; 
    font-size: 1.1em; 
}

/* =============================================
   FORMS
============================================= */
.form-group { margin-bottom: 24px; }

.form-label { 
    display: block; 
    margin-bottom: 8px; 
    font-weight: 600; 
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 12px;
    color: var(--text);
    font-family: inherit;
    font-size: 1em;
}

.form-input:focus { 
    outline: none; 
    border-color: var(--primary); 
}

.form-checkbox { 
    width: 20px; 
    height: 20px; 
    cursor: pointer; 
    accent-color: var(--secondary); 
}

/* =============================================
   UPLOAD AREA
============================================= */
.upload-section {
    padding: 40px 0;
}

.upload-section .section-header {
    text-align: center;
}

.upload-section .section-desc {
    margin: 0 auto;
}

.upload-card {
    max-width: 700px;
    margin: 0 auto;
    background: rgba(99, 102, 241, 0.08) !important;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(99, 102, 241, 0.25) !important;
    padding: 28px !important;
}

.upload-area {
    display: block;
    width: 100%;
    border: 3px dashed var(--primary);
    border-radius: 12px;
    padding: 60px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    background: transparent;
    color: var(--text);
}

.upload-area:hover { 
    border-color: var(--primary-dark); 
    background: rgba(99, 102, 241, 0.05); 
}

.upload-area:focus { 
    outline: 3px solid var(--primary); 
    outline-offset: 2px; 
}

.upload-area.dragover { 
    border-color: var(--success); 
    background: rgba(16, 185, 129, 0.05); 
}

.upload-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.upload-icon svg { 
    width: 40px; 
    height: 40px; 
    fill: white; 
}

.whitelist-group {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(99, 102, 241, 0.2);
}

.pricing-box {
    background: rgba(99, 102, 241, 0.1);
    border: 1px dashed rgba(99, 102, 241, 0.4);
    padding: 20px;
    margin-top: 20px;
    border-radius: 12px;
    text-align: center;
}

.pricing-box .price {
    font-size: 2.5em;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 8px;
}

.pricing-box .price-details {
    color: var(--gray);
    font-size: 0.95em;
    margin-bottom: 8px;
}

.pricing-box .price-line {
    display: block;
    margin: 4px 0;
}

.pricing-box .hidden-line {
    color: var(--primary);
    font-weight: 500;
}

.pricing-box .hidden-line:empty {
    display: none;
}

.pricing-box .price-note {
    color: var(--gray);
    font-size: 0.8em;
}

/* Hide pricing until files selected */
.pricing-hidden {
    display: none;
}

.pricing-visible {
    display: block;
}

/* =============================================
   FEATURES SECTION
============================================= */
.features { 
    display: grid; 
    grid-template-columns: repeat(2, 1fr); 
    gap: 16px; 
    margin: 0;
}

.feature-card {
    background: rgba(99, 102, 241, 0.08);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(99, 102, 241, 0.25);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: rgba(99, 102, 241, 0.5);
}

.feature-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
}

.feature-icon svg {
    width: 100%;
    height: 100%;
    fill: var(--primary);
}

.feature-title {
    font-size: 1.1em;
    font-weight: 700;
    margin-bottom: 8px;
}

.feature-desc {
    font-size: 0.85em;
    color: var(--gray);
    line-height: 1.5;
}

/* =============================================
   ROADMAP SECTION
============================================= */
.roadmap-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.roadmap-card {
    background: rgba(99, 102, 241, 0.08);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(139, 92, 246, 0.25);
    border-radius: 12px;
    padding: 24px;
    transition: all 0.3s ease;
}

.roadmap-card:hover {
    border-color: rgba(139, 92, 246, 0.5);
}

.roadmap-badge {
    display: inline-block;
    font-size: 0.65em;
    font-weight: 700;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 8px;
    background: rgba(139, 92, 246, 0.15);
    border-radius: 4px;
    margin-bottom: 12px;
}

.roadmap-title {
    font-size: 1em;
    font-weight: 700;
    margin-bottom: 8px;
}

.roadmap-desc {
    color: var(--gray);
    line-height: 1.4;
    font-size: 0.8em;
}

.roadmap-note {
    margin-top: 24px;
    padding: 14px 18px;
    background: rgba(99, 102, 241, 0.08);
    border: 1px dashed rgba(99, 102, 241, 0.4);
    border-radius: 8px;
    text-align: center;
    color: var(--gray);
    font-size: 0.85em;
}

.roadmap-note strong {
    color: var(--primary);
}

.roadmap-learn-more {
    display: inline-block;
    margin-top: 10px;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9em;
    transition: all 0.2s ease;
}

.roadmap-learn-more:hover {
    color: var(--secondary);
    text-decoration: underline;
}

/* =============================================
   PROGRESS & LOADING
============================================= */
.progress-container { margin: 20px 0; }

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

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 10px;
    width: 0%;
    transition: width 0.5s;
}

.progress-text { 
    margin-top: 10px; 
    font-size: 0.9em; 
    color: var(--gray); 
    text-align: center; 
}

/* Loading */
.loading { text-align: center; padding: 60px; }

.spinner {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    border: 4px solid rgba(99, 102, 241, 0.2);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* Modal Loading */
.modal-loading, .error-message {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.95);
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
}

.modal-loading.active, .error-message.active {
    display: flex;
}

.error-message {
    background: rgba(15, 23, 42, 0.98);
}

.error-message h2 {
    color: var(--danger);
    margin-bottom: 16px;
}

/* =============================================
   NOTICES
============================================= */
.notice {
    background: rgba(139, 92, 246, 0.1);
    border-left: 4px solid var(--secondary);
    padding: 14px;
    border-radius: 8px;
    margin: 14px 0;
}

.notice-info { background: rgba(59, 130, 246, 0.1); border-left-color: var(--info); }
.notice-warning { background: rgba(245, 158, 11, 0.1); border-left-color: var(--warning); }
.notice-danger { background: rgba(239, 68, 68, 0.1); border-left-color: var(--danger); }

/* Offline Banner */
.offline-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--danger);
    color: white;
    padding: 12px;
    text-align: center;
    font-weight: 600;
    z-index: 9999;
    transform: translateY(-100%);
    transition: transform 0.3s;
}

.offline-banner.visible { transform: translateY(0); }

/* Noscript Warning */
.noscript-warning {
    background: var(--danger);
    color: white;
    padding: 20px;
    text-align: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
}

/* =============================================
   FILE ITEMS
============================================= */
.file-list { margin-top: 16px; }

.file-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    background: rgba(99, 102, 241, 0.08);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 8px;
    margin-bottom: 8px;
}

.file-name { font-weight: 600; }
.status-valid { color: var(--success); font-weight: 600; }
.status-invalid { color: var(--danger); font-weight: 600; }

/* File Item Cards */
.file-item-card {
    background: var(--card);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 12px;
}

.file-item-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.file-item-header .file-name {
    flex: 1;
    font-weight: 500;
    color: var(--text);
    word-break: break-all;
}

.file-item-header .file-size {
    color: var(--primary);
    font-weight: 600;
    white-space: nowrap;
}

.file-remove {
    background: rgba(239, 68, 68, 0.2);
    border: none;
    color: var(--danger);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.file-remove:hover {
    background: var(--danger);
    color: white;
}

.file-item-details {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.file-units {
    color: var(--gray);
    font-size: 0.9em;
}

.file-hidden-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 6px 12px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 20px;
    font-size: 0.85em;
    color: var(--secondary);
    transition: all 0.2s ease;
}

.file-hidden-toggle:hover {
    background: rgba(139, 92, 246, 0.2);
}

.file-hidden-toggle input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--secondary);
}

.file-hidden-toggle input[type="checkbox"]:checked + span {
    color: var(--secondary);
    font-weight: 600;
}

/* =============================================
   RESULTS
============================================= */
.results-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    gap: 25px; 
    margin-bottom: 40px; 
}

.result-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid rgba(99, 102, 241, 0.3);
    padding: 30px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.result-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.result-card:hover { 
    transform: translateY(-5px); 
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.3); 
}

.download-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border: none;
    border-radius: 12px;
    color: white;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
    display: block;
    text-decoration: none;
}

.download-btn:hover { 
    transform: translateY(-2px); 
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4); 
}

/* =============================================
   STEPS
============================================= */
.steps { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); 
    gap: 20px; 
    margin: 40px 0; 
}

.step {
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(99, 102, 241, 0.2);
    text-align: center;
    transition: all 0.3s;
}

.step.active { 
    border-color: var(--primary); 
    background: rgba(99, 102, 241, 0.1); 
    transform: scale(1.05); 
}

.step.completed { 
    border-color: var(--success); 
    background: rgba(16, 185, 129, 0.1); 
}

.step-icon { 
    font-size: 2em; 
    margin-bottom: 10px; 
    display: block; 
}

.step-label { 
    font-size: 0.9em; 
    color: var(--gray); 
}

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

.step.completed .step-label { 
    color: var(--success); 
    font-weight: 600; 
}

/* =============================================
   RADAR
============================================= */
.radar-container { 
    width: 200px; 
    height: 200px; 
    margin: 0 auto 40px; 
    position: relative; 
}

.radar-circle {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid rgba(99, 102, 241, 0.3);
    border-radius: 50%;
    animation: radar-pulse 2s ease-out infinite;
}

.radar-circle:nth-child(2) { animation-delay: 0.5s; }
.radar-circle:nth-child(3) { animation-delay: 1s; }

@keyframes radar-pulse {
    0% { transform: scale(0.3); opacity: 1; }
    100% { transform: scale(1); opacity: 0; }
}

.radar-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.8);
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.2); }
}

/* =============================================
   INFO PANELS
============================================= */
.info-box, .info-panel {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 15px;
    padding: 20px;
    margin-top: 30px;
}

.info-box h3, .info-panel h3 { 
    color: var(--info); 
    margin-bottom: 10px; 
}

.info-box ul, .info-panel ul { 
    list-style: none; 
    padding: 0; 
}

.info-box li, .info-panel li { 
    padding: 8px 0; 
    color: var(--gray); 
    border-bottom: 1px solid rgba(255,255,255,0.1); 
}

.info-box li:last-child, .info-panel li:last-child { 
    border-bottom: none; 
}

.info-box li::before { 
    content: '✓ '; 
    color: var(--success); 
    font-weight: bold; 
    margin-right: 10px; 
}

.info-panel li strong { 
    color: #fff; 
    margin-right: 10px; 
}

/* =============================================
   TERMS PAGE
============================================= */
.terms-container {
    position: relative;
    z-index: 1;
    max-width: 980px;
    margin: 36px auto;
    padding: 28px;
    background: linear-gradient(180deg, rgba(30,41,59,0.6), rgba(15,23,42,0.6));
    border-radius: 16px;
    border: 1px solid rgba(99, 102, 241, 0.12);
}

.terms-header { 
    display: flex; 
    align-items: center; 
    gap: 16px; 
    margin-bottom: 18px; 
}

.logo {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: white;
    font-size: 20px;
}

.toc { 
    background: rgba(255,255,255,0.03); 
    padding: 14px; 
    border-radius: 8px; 
    margin-bottom: 24px; 
}

.toc ul { margin: 0; padding-left: 20px; }
.toc li { margin: 8px 0; }

.terms-section { 
    margin: 24px 0; 
    padding-top: 12px; 
    border-top: 1px dashed rgba(255,255,255,0.05); 
}

.back-home {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border-radius: 8px;
    font-weight: 600;
    margin-bottom: 20px;
}

.back-home:hover { transform: translateY(-2px); }

/* =============================================
   FOOTER
============================================= */
.site-footer {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 30px 20px;
    margin-top: auto;
    border-top: 1px solid rgba(99, 102, 241, 0.2);
    color: var(--gray);
    font-size: 0.9em;
}

.footer-links { margin-top: 10px; }
.footer-links a { margin: 0 15px; }

/* =============================================
   UTILITIES
============================================= */
.hidden { display: none !important; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }
.gap-md { gap: 16px; }
.gap-lg { gap: 24px; }
.mt-md { margin-top: 16px; }
.mt-lg { margin-top: 24px; }
.mb-lg { margin-bottom: 24px; }

/* =============================================
   RESPONSIVE
============================================= */
@media (max-width: 1024px) {
    .values-grid,
    .roadmap-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .customers-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .container { padding: 15px; }
    .card, .card-glass { padding: 25px; }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(15, 23, 42, 0.98);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        border-bottom: 1px solid rgba(99, 102, 241, 0.1);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-toggle {
        display: block;
    }
    
    .hero-section {
        padding: 100px 20px 40px;
    }
    
    .hero-inner h1 { font-size: 2em; }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-cta .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .stats-row,
    .values-grid,
    .roadmap-grid,
    .features,
    .results-grid {
        grid-template-columns: 1fr;
    }
    
    .customers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .steps { grid-template-columns: 1fr 1fr; }
    .btn { width: 100%; }
    .terms-header { flex-direction: column; text-align: center; }
    .terms-container { margin: 18px; padding: 20px; }
    .file-item-details { flex-direction: column; align-items: flex-start; }
}

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

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { 
        animation-duration: 0.01ms !important; 
        transition-duration: 0.01ms !important; 
    }
}
