/* ============================================================
   RTO COMPLIANCE SCANNER PRO - STYLES
   Modern, Professional Design System
   ============================================================ */

/* ==================== CSS VARIABLES ==================== */
:root {
    --primary: #10b981;
    --primary-dark: #059669;
    --primary-light: #d1fae5;
    --danger: #ef4444;
    --danger-light: #fee2e2;
    --warning: #f59e0b;
    --warning-light: #fef3c7;
    --info: #3b82f6;
    --info-light: #dbeafe;
    --dark: #111827;
    --dark-secondary: #1f2937;
    --gray-900: #111827;
    --gray-800: #1f2937;
    --gray-700: #374151;
    --gray-600: #4b5563;
    --gray-500: #6b7280;
    --gray-400: #9ca3af;
    --gray-300: #d1d5db;
    --gray-200: #e5e7eb;
    --gray-100: #f3f4f6;
    --gray-50: #f9fafb;
    --white: #ffffff;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
    --radius-sm: 0.25rem;
    --radius: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
}

/* ==================== RESET & BASE ==================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background: var(--gray-900);
    color: var(--white);
    line-height: 1.6;
    min-height: 100vh;
}

.bg-pattern {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(16, 185, 129, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(59, 130, 246, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ==================== HEADER ==================== */
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    background: rgba(17, 24, 39, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-800);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

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

.logo-icon svg { width: 24px; height: 24px; color: var(--white); }

.header-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-link {
    color: var(--gray-300);
    font-size: 0.9rem;
    transition: color 0.2s;
}

.nav-link:hover { color: var(--white); text-decoration: none; }

.nav-cta {
    background: var(--primary);
    color: var(--white) !important;
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    font-weight: 500;
}

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

.header-badge {
    background: var(--gray-800);
    color: var(--primary);
    padding: 0.375rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid var(--gray-700);
}

/* ==================== HERO ==================== */
.hero {
    text-align: center;
    padding: 5rem 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(16, 185, 129, 0.1);
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.hero-badge svg { width: 16px; height: 16px; }

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--white), var(--gray-300));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero h1 span {
    color: var(--primary);
    -webkit-text-fill-color: var(--primary);
}

.hero > p {
    font-size: 1.25rem;
    color: var(--gray-400);
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ==================== SCANNER FORM ==================== */
.scanner-form {
    max-width: 650px;
    margin: 0 auto 2rem;
}

.input-group {
    display: flex;
    gap: 0.5rem;
    background: var(--gray-800);
    padding: 0.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-700);
}

.input-group input {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--white);
    font-size: 1rem;
    padding: 0.75rem 1rem;
    outline: none;
}

.input-group input::placeholder { color: var(--gray-500); }

.scan-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.scan-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(16, 185, 129, 0.3);
}

.scan-btn svg { width: 20px; height: 20px; }

/* ==================== TRUST BADGES ==================== */
.trust-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-400);
    font-size: 0.9rem;
}

.trust-badge svg { width: 18px; height: 18px; color: var(--primary); }

/* ==================== SECTIONS ==================== */
.section {
    padding: 5rem 2rem;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    color: var(--gray-400);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

/* ==================== FEATURES ==================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    background: var(--gray-800);
    border: 1px solid var(--gray-700);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

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

.feature-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(16, 185, 129, 0.1));
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.feature-icon svg { width: 24px; height: 24px; color: var(--primary); }

.feature-card h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: var(--gray-400);
    font-size: 0.9rem;
}

/* ==================== HOW IT WORKS ==================== */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.step-card {
    text-align: center;
    padding: 2rem 1rem;
}

.step-num {
    width: 50px;
    height: 50px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.step-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.step-card p {
    color: var(--gray-400);
    font-size: 0.9rem;
}

/* ==================== ABOUT ==================== */
.about-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.about-text p {
    color: var(--gray-300);
    margin-bottom: 1rem;
}

.about-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

/* ==================== BUTTONS ==================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
    text-decoration: none;
}

.btn svg { width: 18px; height: 18px; }

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

.btn-primary:hover {
    background: var(--primary-dark);
    text-decoration: none;
}

.btn-secondary {
    background: var(--gray-700);
    color: var(--white);
}

.btn-secondary:hover {
    background: var(--gray-600);
    text-decoration: none;
}

/* ==================== FAQ ==================== */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--gray-800);
    border: 1px solid var(--gray-700);
    border-radius: var(--radius);
    margin-bottom: 0.75rem;
    overflow: hidden;
    cursor: pointer;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    font-weight: 500;
}

.faq-icon { transition: transform 0.2s; }

.faq-item.open .faq-icon { transform: rotate(180deg); }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 1.5rem;
    color: var(--gray-400);
    font-size: 0.95rem;
    transition: all 0.3s;
}

.faq-answer.open {
    max-height: 500px;
    padding: 0 1.5rem 1.5rem;
}

/* ==================== DONATION ==================== */
.donation-card {
    background: linear-gradient(135deg, var(--gray-800), var(--gray-900));
    border: 1px solid var(--gray-700);
    border-radius: var(--radius-xl);
    padding: 3rem;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.donation-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ec4899, #f43f5e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.donation-icon svg { width: 30px; height: 30px; color: var(--white); }

.donation-card h2 { margin-bottom: 0.5rem; }

.donation-card > p { color: var(--gray-400); margin-bottom: 1.5rem; }

.donation-amounts {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.donation-btn {
    background: var(--gray-700);
    color: var(--white);
    border: 1px solid var(--gray-600);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s;
}

.donation-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.donation-note {
    font-size: 0.85rem;
    color: var(--gray-500);
}

/* ==================== FOOTER ==================== */
.footer {
    background: var(--gray-900);
    border-top: 1px solid var(--gray-800);
    padding: 3rem 2rem 1.5rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand p {
    color: var(--gray-500);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.footer-links {
    display: flex;
    gap: 4rem;
}

.footer-col h4 {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    color: var(--gray-300);
}

.footer-col a {
    display: block;
    color: var(--gray-500);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

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

.footer-bottom {
    border-top: 1px solid var(--gray-800);
    padding-top: 1.5rem;
    text-align: center;
}

.footer-bottom p {
    color: var(--gray-500);
    font-size: 0.85rem;
}

/* ==================== SCANNING PAGE ==================== */
.scanning-section {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.scanning-card {
    background: var(--gray-800);
    border: 1px solid var(--gray-700);
    border-radius: var(--radius-xl);
    padding: 3rem;
    text-align: center;
    max-width: 500px;
    width: 100%;
}

.scanning-icon svg {
    width: 60px;
    height: 60px;
    color: var(--primary);
}

.spinning { animation: spin 1s linear infinite; }

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

.scanning-url {
    color: var(--gray-400);
    font-size: 0.9rem;
    margin-bottom: 2rem;
    word-break: break-all;
}

.progress-bar {
    height: 8px;
    background: var(--gray-700);
    border-radius: 9999px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
    border-radius: 9999px;
    transition: width 0.3s;
}

.progress-text {
    color: var(--gray-400);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.scanning-steps {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    text-align: left;
}

.scan-step {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--gray-500);
    font-size: 0.9rem;
}

.scan-step svg { width: 18px; height: 18px; }

.scan-step.active { color: var(--primary); }

/* ==================== RESULTS PAGE ==================== */
.results-section {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem;
}

.results-header {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    align-items: center;
}

.score-card {
    width: 140px;
    height: 140px;
    border-radius: var(--radius-xl);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.score-card.excellent { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); }
.score-card.good { background: linear-gradient(135deg, var(--info), #2563eb); }
.score-card.warning { background: linear-gradient(135deg, var(--warning), #d97706); }
.score-card.danger { background: linear-gradient(135deg, var(--danger), #dc2626); }

.score-value {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
}

.score-label {
    font-size: 0.8rem;
    opacity: 0.9;
}

.results-summary h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.results-url {
    color: var(--gray-400);
    font-size: 0.9rem;
    word-break: break-all;
}

.results-date {
    color: var(--gray-500);
    font-size: 0.85rem;
}

.results-pages {
    color: var(--primary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.results-stats {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.stat {
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.85rem;
    font-weight: 500;
}

.stat.critical { background: var(--danger-light); color: var(--danger); }
.stat.high { background: var(--warning-light); color: var(--warning); }
.stat.medium { background: var(--info-light); color: var(--info); }
.stat.passed { background: var(--primary-light); color: var(--primary-dark); }

/* ==================== RTO CARD ==================== */
.rto-card {
    background: var(--gray-800);
    border: 1px solid var(--gray-700);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.rto-card.tga-verified {
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05), transparent);
}

.rto-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.rto-card h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    margin: 0;
}

.rto-card h3 svg { width: 20px; height: 20px; color: var(--primary); }

.tga-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    background: var(--primary);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.tga-badge svg { width: 14px; height: 14px; }

.tga-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-size: 0.9rem;
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    background: rgba(16, 185, 129, 0.1);
    border-radius: var(--radius);
    transition: background 0.2s;
}

.tga-link:hover {
    background: rgba(16, 185, 129, 0.2);
    text-decoration: none;
}

.tga-link svg { width: 16px; height: 16px; }

.rto-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.75rem;
}

.rto-item {
    font-size: 0.9rem;
    color: var(--gray-300);
}

.rto-item strong { color: var(--gray-400); }

.status-good { color: var(--primary); }
.status-bad { color: var(--danger); }
.status-unknown { color: var(--warning); }

.tga-badge-warning {
    background: var(--warning) !important;
    color: var(--dark) !important;
}

.tga-badge-danger {
    background: var(--danger) !important;
    color: white !important;
}

.rto-message {
    background: rgba(255, 193, 7, 0.1);
    padding: 0.5rem;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

/* ==================== TABS ==================== */
.results-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--gray-700);
    padding-bottom: 0.5rem;
}

.tab-btn {
    background: none;
    border: none;
    color: var(--gray-400);
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    cursor: pointer;
    border-radius: var(--radius);
    transition: all 0.2s;
}

.tab-btn:hover { color: var(--white); background: var(--gray-800); }

.tab-btn.active {
    color: var(--primary);
    background: rgba(16, 185, 129, 0.1);
}

.tab-content.hidden { display: none; }

/* ==================== ISSUE CARDS ==================== */
.issue-card {
    background: var(--gray-800);
    border: 1px solid var(--gray-700);
    border-radius: var(--radius);
    padding: 1.25rem;
    margin-bottom: 1rem;
    border-left: 4px solid transparent;
}

.issue-card.critical { border-left-color: var(--danger); }
.issue-card.high { border-left-color: var(--warning); }
.issue-card.medium { border-left-color: var(--info); }
.issue-card.low { border-left-color: var(--gray-500); }

.issue-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}

.severity-badge {
    padding: 0.2rem 0.5rem;
    border-radius: var(--radius-sm);
    font-size: 0.7rem;
    font-weight: 600;
}

.severity-badge.critical { background: var(--danger); color: var(--white); }
.severity-badge.high { background: var(--warning); color: var(--dark); }
.severity-badge.medium { background: var(--info); color: var(--white); }
.severity-badge.low { background: var(--gray-500); color: var(--white); }

.issue-title {
    font-weight: 600;
    flex: 1;
}

.issue-page {
    color: var(--gray-500);
    font-size: 0.8rem;
}

.issue-desc {
    color: var(--gray-400);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.issue-found {
    background: var(--gray-900);
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-sm);
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--warning);
    margin-bottom: 0.75rem;
}

.issue-pages {
    font-size: 0.8rem;
    color: var(--gray-400);
    margin-bottom: 0.5rem;
    font-style: italic;
}

.issue-footer {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.issue-rule {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--gray-500);
    font-size: 0.8rem;
}

.issue-rule svg { width: 14px; height: 14px; }

.issue-fix {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    padding: 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    color: var(--primary-light);
}

.issue-fix strong { color: var(--primary); }

/* ==================== PASSED CARDS ==================== */
.passed-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--gray-800);
    border: 1px solid var(--gray-700);
    border-radius: var(--radius);
    padding: 1rem;
    margin-bottom: 0.5rem;
}

.passed-card svg {
    width: 20px;
    height: 20px;
    color: var(--primary);
    flex-shrink: 0;
}

.passed-card span { flex: 1; font-size: 0.9rem; }

.passed-page {
    color: var(--gray-500);
    font-size: 0.8rem;
}

/* ==================== COURSE CARDS ==================== */
.course-card {
    display: flex;
    gap: 1rem;
    background: var(--gray-800);
    border: 1px solid var(--gray-700);
    border-radius: var(--radius);
    padding: 1rem;
    margin-bottom: 0.75rem;
}

.course-card.superseded { border-color: var(--danger); }
.course-card.current { border-color: var(--primary); }

.course-code {
    font-family: var(--font-mono);
    font-weight: 600;
    color: var(--primary);
    min-width: 100px;
}

.course-title { font-size: 0.95rem; margin-bottom: 0.25rem; }

.course-status { font-size: 0.85rem; margin-bottom: 0.25rem; }

.status-unknown { color: var(--gray-500); }

.replaced-by {
    color: var(--info);
    font-size: 0.85rem;
    margin-left: 0.5rem;
}

.course-pages {
    color: var(--gray-500);
    font-size: 0.8rem;
}

/* ==================== PAGE CARDS ==================== */
.page-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--gray-800);
    border: 1px solid var(--gray-700);
    border-radius: var(--radius);
    padding: 1rem;
    margin-bottom: 0.5rem;
}

.page-name {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.page-name svg { width: 18px; height: 18px; color: var(--gray-500); }

.page-stats {
    display: flex;
    gap: 1rem;
    font-size: 0.85rem;
}

.page-issues { color: var(--warning); }
.page-passed { color: var(--primary); }

/* ==================== EMPTY STATE ==================== */
.empty-state {
    text-align: center;
    padding: 3rem;
    color: var(--gray-500);
}

.empty-state svg {
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.empty-state.success svg { color: var(--primary); opacity: 1; }

/* ==================== RESULTS ACTIONS ==================== */
.results-actions {
    margin-top: 3rem;
}

.email-capture {
    background: var(--gray-800);
    border: 1px solid var(--gray-700);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

.email-capture h3 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.email-capture h3 svg { width: 24px; height: 24px; color: var(--primary); }

.email-capture > p {
    color: var(--gray-400);
    margin-bottom: 1.5rem;
}

.email-form {
    display: flex;
    gap: 0.75rem;
    max-width: 450px;
    margin: 0 auto;
}

.email-form input {
    flex: 1;
    background: var(--gray-900);
    border: 1px solid var(--gray-600);
    border-radius: var(--radius);
    padding: 0.75rem 1rem;
    color: var(--white);
    font-size: 1rem;
}

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

.action-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
    .header { padding: 1rem; }
    .header-nav { display: none; }
    
    .hero { padding: 3rem 1rem; }
    .hero h1 { font-size: 2.25rem; }
    .hero > p { font-size: 1rem; }
    
    .input-group { flex-direction: column; }
    .scan-btn { justify-content: center; }
    
    .steps-grid { grid-template-columns: repeat(2, 1fr); }
    
    .results-header { flex-direction: column; text-align: center; }
    
    .footer-content { flex-direction: column; }
    .footer-links { flex-wrap: wrap; gap: 2rem; }
    
    .email-form { flex-direction: column; }
    .action-buttons { flex-direction: column; }
}

.tab-description {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border);
}

.empty-state small {
    display: block;
    margin-top: 0.5rem;
    color: var(--text-muted);
    font-size: 0.85rem;
}
