:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary: #6b7280;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --critical: #dc2626;
    --background: #f8fafc;
    --surface: #ffffff;
    --text: #1f2937;
    --text-light: #6b7280;
    --border: #e5e7eb;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* BLUE LINE FIX */
html:focus {
    outline: none !important;
}

html:focus-visible {
    outline: none !important;
}

*:focus {
    outline: none !important;
}

body {
    font-family: 'Segoe UI', system-ui, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: var(--background);
}

/* Navigation */
.navbar {
    background: var(--surface);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-links a:hover {
    color: var(--primary);
}

.donate-btn {
    background: var(--primary);
    color: white !important;
    padding: 0.5rem 1.5rem;
    border-radius: 6px;
    transition: background 0.3s;
}

.donate-btn:hover {
    background: var(--primary-dark);
}

/* Hero Section */
.hero {
    padding: 120px 2rem 80px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.cta-section {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.cta-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
}

.cta-btn.primary {
    background: var(--primary);
    color: white;
}

.cta-btn.primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.cta-btn.secondary {
    background: transparent;
    color: var(--text);
    border: 2px solid var(--border);
}

.cta-btn.secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.privacy-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Scan Card */
.scan-card {
    background: var(--surface);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    color: var(--text);
    border: 1px solid var(--border) !important;
}

.card-header {
    text-align: center;
    margin-bottom: 2rem;
}

.card-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.secure-badge {
    color: var(--success);
    font-size: 0.9rem;
    font-weight: 500;
}

.input-group {
    margin-bottom: 1.5rem;
}

.input-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text);
}

.modern-input {
    border: 2px solid var(--border) !important;
    border-radius: 8px !important;
    padding: 12px 16px !important;
    font-size: 16px !important;
    background: white !important;
    transition: all 0.3s ease !important;
    width: 100% !important;
    margin-bottom: 1rem !important;
}

.modern-input:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1) !important;
}

.password-strength {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.strength-indicator.strong {
    color: var(--success);
    font-weight: 600;
}

.action-buttons {
    display: flex;
    gap: 1rem;
}

.action-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.scan-btn {
    background: var(--primary);
    color: white;
}

.scan-btn:hover {
    background: var(--primary-dark);
}

.reset-btn {
    background: var(--border);
    color: var(--text);
}

.reset-btn:hover {
    background: #d1d5db;
}

/* Statistics */
.statistics {
    padding: 80px 2rem;
    background: var(--surface);
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.stats-container h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.stat-card {
    padding: 2rem;
    background: var(--background);
    border-radius: 12px;
    border: 1px solid var(--border);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-light);
    font-weight: 500;
}

/* Dashboard */
.dashboard {
    padding: 80px 2rem;
    background: var(--background);
}

.dashboard-container {
    max-width: 1200px;
    margin: 0 auto;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

.dashboard-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
}

.export-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.export-btn:hover {
    background: var(--primary-dark);
}

.results-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.result-card {
    background: var(--surface);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.result-card .card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    text-align: left;
}

.risk-badge {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.risk-badge.high {
    background: #fee2e2;
    color: var(--critical);
}

.risk-badge.medium {
    background: #fef3c7;
    color: var(--warning);
}

.risk-assessment {
    grid-column: 1 / -1;
}

.risk-score-display {
    text-align: center;
    padding: 2rem;
    background: var(--background);
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.score {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
}

/* About Section */
.about {
    padding: 80px 2rem;
    background: var(--surface);
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
}

.about-header {
    text-align: center;
    margin-bottom: 4rem;
}

.about-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.about-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
}

.about-text h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text);
}

.about-text p {
    margin-bottom: 2rem;
    line-height: 1.7;
    color: var(--text-light);
}

.research-table {
    overflow-x: auto;
    margin-top: 2rem;
}

.research-table table {
    width: 100%;
    border-collapse: collapse;
    background: var(--surface);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.research-table th,
.research-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.research-table th {
    background: var(--primary);
    color: white;
    font-weight: 600;
}

.research-table tr:hover {
    background: var(--background);
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: var(--background);
    border-radius: 12px;
    border: 1px solid var(--border);
}

.stat-item .stat-number {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.stat-item .stat-label {
    color: var(--text-light);
    font-weight: 500;
}

/* Privacy Section */
.privacy {
    padding: 80px 2rem;
    background: var(--background);
}

.privacy-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.privacy-container h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.privacy-intro {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.privacy-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.privacy-card {
    padding: 2rem;
    background: var(--surface);
    border-radius: 12px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.privacy-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.privacy-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.privacy-card p {
    color: var(--text-light);
    line-height: 1.6;
}

.privacy-compliance h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.compliance-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.compliance-item {
    padding: 1.5rem;
    background: var(--surface);
    border-radius: 8px;
    border: 1px solid var(--border);
    text-align: left;
}

.compliance-item strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.compliance-item span {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Contact Section */
.contact {
    padding: 80px 2rem;
    background: var(--surface);
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
}

.contact-header {
    text-align: center;
    margin-bottom: 4rem;
}

.contact-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.contact-header p {
    font-size: 1.25rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--background);
    border-radius: 8px;
    border: 1px solid var(--border);
}

.contact-icon {
    font-size: 1.5rem;
    margin-top: 0.25rem;
}

.contact-details strong {
    display: block;
    margin-bottom: 0.25rem;
    color: var(--text);
}

.contact-details a {
    color: var(--primary);
    text-decoration: none;
    display: block;
    margin-bottom: 0.25rem;
}

.contact-details span {
    color: var(--text-light);
    font-size: 0.9rem;
}

.contact-form h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.submit-btn {
    width: 100%;
    padding: 1rem 2rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.submit-btn:hover {
    background: var(--primary-dark);
}

/* Testimonials */
.testimonials {
    padding: 80px 2rem;
    background: var(--background);
}
.user-testimonials {
    padding: 80px 2rem;
    background: var(--surface);
}

.user-testimonials .testimonials-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.testimonials-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.testimonials-container h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.testimonials-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 4rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.testimonial-card {
    padding: 2rem;
    background: var(--surface);
    border-radius: 12px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    text-align: left;
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.testimonial-content p {
    font-style: italic;
    color: var(--text-light);
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    font-size: 2rem;
}

.author-info strong {
    display: block;
    margin-bottom: 0.25rem;
    color: var(--text);
}

.author-info span {
    color: var(--text-light);
    font-size: 0.9rem;
}

.academic-endorsements h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.endorsement-logos {
    display: flex;
    justify-content: center;
    gap: 3rem;
}

.endorsement-item {
    text-align: center;
}

.logo-placeholder {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.endorsement-item span {
    color: var(--text-light);
    font-weight: 500;
}

/* Donate Section */
.donate {
    padding: 80px 2rem;
    background: var(--surface);
}

.donate-container {
    max-width: 1200px;
    margin: 0 auto;
}

.donate-header {
    text-align: center;
    margin-bottom: 4rem;
}

.donate-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.donate-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.donate-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.donate-reasons h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.reasons-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.reason-card {
    padding: 1.5rem;
    background: var(--background);
    border-radius: 8px;
    border: 1px solid var(--border);
}

.reason-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.reason-card h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.reason-card p {
    color: var(--text-light);
    line-height: 1.6;
}

.donation-options h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.donation-tiers {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.tier-card {
    padding: 2rem;
    background: var(--background);
    border-radius: 12px;
    border: 1px solid var(--border);
    text-align: center;
    position: relative;
}

.tier-card.popular {
    border-color: var(--primary);
    background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 100%);
}

.popular-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.tier-card h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.tier-amount {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.tier-benefits {
    list-style: none;
    margin-bottom: 2rem;
    text-align: left;
}

.tier-benefits li {
    padding: 0.5rem 0;
    color: var(--text-light);
    position: relative;
    padding-left: 1.5rem;
}

.tier-benefits li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: bold;
}

.tier-btn {
    width: 100%;
    padding: 1rem 2rem;
    background: var(--border);
    color: var(--text);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.tier-btn.primary {
    background: var(--primary);
    color: white;
}

.tier-btn:hover {
    background: var(--primary);
    color: white;
}

.crypto-donations h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.crypto-addresses {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.crypto-address {
    padding: 1rem;
    background: var(--background);
    border-radius: 8px;
    border: 1px solid var(--border);
}

.crypto-address strong {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.crypto-address code {
    background: var(--surface);
    padding: 0.5rem;
    border-radius: 4px;
    font-family: monospace;
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Enhanced Donation Styles */
.traditional-payments {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.traditional-payments h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text);
}

.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.payment-method {
    padding: 1rem;
    background: var(--surface);
    border-radius: 8px;
    border: 1px solid var(--border);
}

.payment-method strong {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text);
    font-weight: 600;
}

.payment-method a {
    color: var(--primary);
    text-decoration: none;
    display: block;
    margin-bottom: 0.25rem;
}

.payment-method a:hover {
    text-decoration: underline;
}

.payment-method code {
    background: var(--background);
    padding: 0.5rem;
    border-radius: 4px;
    font-family: monospace;
    font-size: 0.9rem;
    color: var(--text-light);
    display: block;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .results-grid {
        grid-template-columns: 1fr;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .privacy-features {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .donate-content {
        grid-template-columns: 1fr;
    }
    
    .donation-tiers {
        grid-template-columns: 1fr;
    }
    
    .compliance-grid {
        grid-template-columns: 1fr;
    }
    
    .endorsement-logos {
        flex-direction: column;
        gap: 2rem;
    }
    
    .payment-methods {
        gap: 0.75rem;
    }
    
    .payment-method {
        padding: 0.75rem;
    }
}
.user-feedback {
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid var(--border);
}

.feedback-card {
    text-align: center;
    padding: 2rem;
    background: var(--background);
    border-radius: 12px;
    border: 1px solid var(--border);
    max-width: 500px;
    margin: 0 auto;
}

.feedback-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text);
}

.feedback-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.feedback-btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: background 0.3s;
    margin-bottom: 1rem;
}

.feedback-btn:hover {
    background: var(--primary-dark);
}

.feedback-card small {
    color: var(--text-light);
    font-size: 0.8rem;
    display: block;
}