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

:root {
    --primary-color: #10b981;
    --primary-dark: #059669;
    --secondary-color: #6366f1;
    --accent-yellow: #fef3c7;
    --accent-yellow-border: #f59e0b;
    --accent-green: #d1fae5;
    --accent-green-border: #10b981;
    --accent-red: #fee2e2;
    --accent-red-border: #ef4444;
    --accent-blue: #dbeafe;
    --accent-blue-border: #3b82f6;
    --accent-pink: #fce7f3;
    --accent-pink-border: #ec4899;
    --text-primary: #1f2937;
    --text-secondary: #4b5563;
    --text-muted: #6b7280;
    --bg-primary: #f8fafc;
    --bg-white: #ffffff;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
}

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

/* Header */
.header {
    text-align: center;
    padding: 40px 20px;
    background-color: var(--bg-white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    margin-bottom: 24px;
}

.logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 16px;
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
}

.title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.banner {
    background-color: var(--primary-color);
    color: white;
    padding: 16px 32px;
    border-radius: var(--radius-lg);
    display: inline-block;
}

.banner p {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.banner span {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Sections */
.section {
    background-color: var(--bg-white);
    border-radius: var(--radius-xl);
    padding: 32px 24px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-md);
}

.section-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title .icon {
    font-size: 1.5rem;
}

.section-title i {
    font-size: 1.25rem;
    color: var(--primary-color);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.feature-card {
    background-color: var(--bg-primary);
    padding: 20px;
    border-radius: var(--radius-md);
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.feature-icon {
    font-size: 2rem;
    margin-bottom: 12px;
}

.feature-card h3 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* Commitments */
.commitment-box {
    background-color: var(--accent-yellow);
    border: 2px solid var(--accent-yellow-border);
    border-radius: var(--radius-lg);
    padding: 20px;
}

.commitment-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.commitment-list li {
    display: grid;
    grid-template-columns: 24px 1fr;
    gap: 12px;
    align-items: start;
    font-size: 0.9rem;
    line-height: 1.5;
}

.commitment-list .check-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    color: var(--primary-color);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.commitment-list .check-icon i {
    filter: drop-shadow(0 1px 1px rgba(0,0,0,0.1));
}

.commitment-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.commitment-content strong {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.9rem;
}

.commitment-content span {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.4;
}

/* Legacy check style for other sections */
.commitment-list .check {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}

/* Comparison */
.comparison-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.comparison-card {
    padding: 20px;
    border-radius: var(--radius-lg);
}

.comparison-card.others {
    background-color: var(--accent-red);
    border: 2px solid var(--accent-red-border);
}

.comparison-card.me {
    background-color: var(--accent-green);
    border: 2px solid var(--accent-green-border);
}

.comparison-header {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 14px;
}

.comparison-header.negative {
    color: #dc2626;
}

.comparison-header.positive {
    color: #059669;
}

.comparison-card ul {
    list-style: none;
}

.comparison-card li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.comparison-card li:last-child {
    margin-bottom: 0;
}

.x-mark {
    color: #dc2626;
    font-weight: 700;
    flex-shrink: 0;
}

.check-mark {
    color: #059669;
    font-weight: 700;
    flex-shrink: 0;
}

/* Donate Section */
.donate {
    background-color: var(--accent-pink);
    border: 2px solid var(--accent-pink-border);
}

.donate-box {
    text-align: center;
}

.donate-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.donate-subtitle {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.donate-subtitle a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
}

.donate-subtitle a:hover {
    text-decoration: underline;
}

.qr-container {
    background-color: var(--bg-white);
    padding: 24px;
    border-radius: var(--radius-lg);
    display: inline-block;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
}

.qr-code {
    width: 180px;
    height: 180px;
    display: block;
    margin: 0 auto 12px;
    border-radius: var(--radius-sm);
}

.qr-note {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.donate-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.2s ease;
    box-shadow: var(--shadow-md);
}

.donate-button:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

/* Spending */
.spending-box {
    background-color: var(--bg-primary);
    border-radius: var(--radius-lg);
    padding: 24px;
}

.spending-list {
    list-style: none;
    margin-bottom: 20px;
}

.spending-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 0.9rem;
}

.spending-list li:last-child {
    margin-bottom: 0;
}

.spending-list .check.green {
    color: var(--primary-color);
    font-weight: 700;
    flex-shrink: 0;
}

.spending-note {
    text-align: center;
    font-size: 0.85rem;
    color: var(--secondary-color);
    font-weight: 500;
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
}

/* Video Section */
.video-subtitle {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.video-container {
    background-color: #1f2937;
    border-radius: var(--radius-lg);
    aspect-ratio: 16 / 9;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.video-placeholder {
    text-align: center;
    color: white;
}

.play-icon {
    display: inline-block;
    width: 60px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    line-height: 60px;
    font-size: 1.5rem;
    margin-bottom: 12px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.play-icon:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

.video-placeholder p {
    font-size: 0.85rem;
    opacity: 0.7;
}

/* Message Section */
.message-box {
    background-color: var(--accent-blue);
    border: 2px solid var(--accent-blue-border);
    border-radius: var(--radius-lg);
    padding: 24px;
}

.message-box p {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 16px;
}

.message-box p:last-child {
    margin-bottom: 0;
}

.message-box .highlight {
    color: var(--primary-color);
}

.message-box .note {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.message-box .disclaimer {
    font-size: 0.8rem;
    color: #b45309;
    background-color: var(--accent-yellow);
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    margin-top: 20px;
}

/* Footer */
.footer {
    text-align: center;
    padding: 32px 20px;
    color: var(--text-muted);
}

.footer p {
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.footer .copyright {
    font-size: 0.8rem;
}

/* Responsive Design */
@media (max-width: 640px) {
    .container {
        padding: 12px;
    }

    .header {
        padding: 28px 16px;
        border-radius: var(--radius-lg);
    }

    .title {
        font-size: 2rem;
    }

    .banner {
        padding: 12px 24px;
    }

    .banner p {
        font-size: 1.1rem;
    }

    .section {
        padding: 24px 16px;
        border-radius: var(--radius-lg);
    }

    .section-title {
        font-size: 1.15rem;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .feature-card {
        padding: 16px 12px;
    }

    .feature-icon {
        font-size: 1.75rem;
    }

    .feature-card h3 {
        font-size: 0.85rem;
    }

    .feature-card p {
        font-size: 0.75rem;
    }

    .commitment-box,
    .comparison-card,
    .spending-box,
    .message-box {
        padding: 16px;
    }

    .commitment-list li,
    .comparison-card li,
    .spending-list li {
        font-size: 0.85rem;
    }

    .qr-code {
        width: 150px;
        height: 150px;
    }

    .donate-button {
        padding: 12px 28px;
        font-size: 0.95rem;
    }
}

@media (min-width: 641px) and (max-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 769px) {
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .comparison-container {
        flex-direction: row;
    }

    .comparison-card {
        flex: 1;
    }
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section {
    animation: fadeInUp 0.5s ease-out;
}

/* Hover Effects */
@media (hover: hover) {
    .commitment-list li:hover,
    .spending-list li:hover {
        background-color: rgba(255, 255, 255, 0.5);
        border-radius: var(--radius-sm);
        padding: 4px 8px;
        margin: -4px -8px;
        margin-bottom: 10px;
    }
}

/* Print Styles */
@media print {
    .donate-button,
    .video-container {
        display: none;
    }

    .section {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #e5e7eb;
    }
}
