/* WTF - World Transformation Fund Styles */

:root {
    --primary: #10b981;
    --primary-dark: #059669;
    --secondary: #3b82f6;
    --background: #0f172a;
    --surface: #1e293b;
    --surface-light: #334155;
    --text: #f1f5f9;
    --text-muted: #94a3b8;
    --accent: #fbbf24;
    --danger: #ef4444;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background: var(--background);
    color: var(--text);
    line-height: 1.6;
}

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

.container.full-width {
    max-width: 100%;
    padding: 0 40px;
}

/* Header */
.header {
    background: linear-gradient(135deg, var(--surface) 0%, var(--background) 100%);
    padding: 10px 0;
    border-bottom: 1px solid var(--surface-light);
}

.logo h1 {
    font-size: 8rem;
    font-weight: 900;
    color: var(--primary);
    letter-spacing: -6px;
    line-height: 0.85;
    margin: 0;
}

.logo .tagline {
    display: block;
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.mission {
    margin-top: 15px;
    font-size: 1.2rem;
    color: var(--text-muted);
}

/* Stats Bar */
.stats-bar {
    display: flex;
    gap: 40px;
    padding: 20px 0;
    margin: 20px 0;
    border-bottom: 1px solid var(--surface-light);
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat span {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
}

.stat label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Filters */
.filters {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 20px 0;
}

.filter-btn {
    padding: 10px 20px;
    border: 1px solid var(--surface-light);
    background: var(--surface);
    color: var(--text);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.9rem;
}

.filter-btn:hover {
    background: var(--surface-light);
}

.filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--background);
}

/* Deals Grid */
.deals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
    padding: 20px 0;
}

.loading {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px;
    color: var(--text-muted);
}

/* Deal Card */
.deal-card {
    background: var(--surface);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid var(--surface-light);
    transition: transform 0.2s, box-shadow 0.2s;
}

.deal-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.deal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.eco-score {
    background: var(--primary);
    color: var(--background);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}

.eco-score.high {
    background: var(--primary);
}

.eco-score.medium {
    background: var(--accent);
    color: var(--background);
}

.eco-score.low {
    background: var(--surface-light);
    color: var(--text);
}

.deal-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.4;
}

.deal-title a {
    color: var(--text);
    text-decoration: none;
}

.deal-title a:hover {
    color: var(--primary);
}

.deal-price {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}

.coupon-code {
    background: var(--accent);
    color: var(--background);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.9rem;
    margin-bottom: 10px;
    display: inline-block;
}

.savings-info {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    margin-bottom: 10px;
}

.store-badge {
    background: var(--secondary);
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.deal-description {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.deal-keywords {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 15px;
}

.keyword-tag {
    background: var(--surface-light);
    color: var(--text-muted);
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
}

.deal-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    padding-top: 15px;
    border-top: 1px solid var(--surface-light);
}

.deal-link {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 600;
}

.deal-link:hover {
    text-decoration: underline;
}

/* About Section */
.about-section {
    background: var(--surface);
    padding: 60px 0;
    margin-top: 40px;
}

.about-section h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.about-card {
    text-align: center;
    padding: 30px;
}

.about-card .icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.about-card h3 {
    margin-bottom: 10px;
    color: var(--primary);
}

.about-card p {
    color: var(--text-muted);
}

/* Vision Section */
.vision-section {
    padding: 60px 0;
    text-align: center;
}

.vision-section h2 {
    margin-bottom: 30px;
    font-size: 2rem;
}

.vision-section p {
    max-width: 700px;
    margin: 0 auto 20px;
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Footer */
.footer {
    background: var(--surface);
    padding: 30px 0;
    text-align: center;
    color: var(--text-muted);
    border-top: 1px solid var(--surface-light);
}

/* Responsive */
@media (max-width: 768px) {
    .logo h1 {
        font-size: 2rem;
    }

    .deals-grid {
        grid-template-columns: 1fr;
    }

    .stats-bar {
        gap: 20px;
    }

    .stat span {
        font-size: 1.4rem;
    }
}

/* Empty State */
.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 20px;
}

.empty-state h3 {
    margin-bottom: 10px;
    color: var(--text);
}

.empty-state p {
    color: var(--text-muted);
}
