/* ===========================================
   UNIVERSAL BITCOIN INCOME PAGE STYLES
   Lightning Faucet - UBI Landing Page
   =========================================== */

/* Page Layout */
.ubi-page {
    min-height: 100vh;
}

/* ===== HERO SECTION ===== */
.hero-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 6rem 2rem;
    position: relative;
}

.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 30% 20%, rgba(247, 147, 26, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(247, 147, 26, 0.15);
    border: 1px solid rgba(247, 147, 26, 0.3);
    border-radius: var(--radius-full);
    color: var(--color-btc-orange);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.gradient-text {
    background: linear-gradient(135deg, var(--color-btc-orange), var(--color-btc-gold));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 1.5rem 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-btc-orange);
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-subtle);
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-illustration {
    width: 100%;
    max-width: 400px;
    height: auto;
}

/* Hero SVG Animations */
.ubi-globe-ring {
    animation: orbit-rotate 30s linear infinite;
    transform-origin: center;
}

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

.ubi-pulse {
    animation: ubi-pulse 3s ease-in-out infinite;
    transform-origin: center;
}

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

.ubi-bolt {
    animation: bolt-flash 4s ease-in-out infinite;
}

.ubi-bolt-2 { animation-delay: 1s; }
.ubi-bolt-3 { animation-delay: 2s; }
.ubi-bolt-4 { animation-delay: 3s; }

@keyframes bolt-flash {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

.ubi-person {
    animation: person-pulse 5s ease-in-out infinite;
}

.ubi-person-2 { animation-delay: 1.25s; }
.ubi-person-3 { animation-delay: 2.5s; }
.ubi-person-4 { animation-delay: 3.75s; }

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

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

.content-section:nth-child(even) {
    background: var(--bg-secondary);
}

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

.section-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.section-header.centered {
    flex-direction: column;
    text-align: center;
}

.section-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(247, 147, 26, 0.15);
    border-radius: var(--radius-lg);
    color: var(--color-btc-orange);
}

.section-icon svg {
    width: 24px;
    height: 24px;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0.5rem auto 0;
}

/* Content Grid (for "Why This Matters" section) */
.content-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    align-items: start;
}

.content-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
}

.content-text p:last-child {
    margin-bottom: 0;
}

.lead-paragraph {
    font-size: 1.15rem !important;
    color: var(--text-primary) !important;
}

/* Info Card */
.info-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    border-left: 4px solid var(--color-btc-orange);
}

.info-card-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-btc-orange);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.info-icon {
    width: 20px;
    height: 20px;
}

.info-card-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0;
}

/* ===== HOW IT WORKS - STEPS ===== */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.step-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.step-card:hover {
    transform: translateY(-4px);
    border-color: var(--color-btc-orange);
    box-shadow: 0 12px 40px rgba(247, 147, 26, 0.15);
}

.step-number {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(247, 147, 26, 0.15);
    border-radius: 50%;
    color: var(--color-btc-orange);
    margin: 0 auto 1.25rem;
}

.step-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.step-card p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0;
}

/* ===== VISION SECTION ===== */
.vision-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
    margin-bottom: 2.5rem;
}

.vision-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
}

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

.vision-card.today {
    border-left: 4px solid #22c55e;
}

.vision-card.tomorrow {
    border-left: 4px solid #3b82f6;
}

.vision-card.future {
    border-left: 4px solid var(--color-btc-gold);
}

.vision-label {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.9rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 700;
    white-space: nowrap;
    letter-spacing: 0.02em;
    margin-bottom: 1rem;
}

.vision-card.today .vision-label {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.vision-card.tomorrow .vision-label {
    background: rgba(59, 130, 246, 0.15);
    color: #3b82f6;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.vision-card.future .vision-label {
    background: rgba(255, 215, 0, 0.15);
    color: #d4a800;
    border: 1px solid rgba(255, 215, 0, 0.4);
}

.vision-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.vision-card p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0;
}

.vision-card-icon {
    width: 32px;
    height: 32px;
    margin-bottom: 1rem;
}

.vision-card.today .vision-card-icon { color: #22c55e; }
.vision-card.tomorrow .vision-card-icon { color: #3b82f6; }
.vision-card.future .vision-card-icon { color: #d4a800; }

/* Vision blockquote */
.vision-quote {
    margin: 0;
    padding: 1.25rem 1.5rem;
    background: var(--bg-card);
    border-left: 3px solid var(--color-btc-orange);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-style: italic;
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
}

.vision-quote cite {
    display: block;
    margin-top: 0.5rem;
    font-style: normal;
    font-weight: 600;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ===== FUND THE MISSION (DONATION) ===== */
.donate-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.donate-narrative h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.donate-narrative p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
}

.impact-tier {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: rgba(247, 147, 26, 0.05);
    border: 1px solid rgba(247, 147, 26, 0.15);
    border-radius: var(--radius-lg);
    margin-bottom: 1rem;
}

.impact-tier:last-of-type {
    margin-bottom: 1.5rem;
}

.impact-tier-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(247, 147, 26, 0.15);
    border-radius: var(--radius-md);
    color: var(--color-btc-orange);
    flex-shrink: 0;
}

.impact-tier-icon svg {
    width: 20px;
    height: 20px;
}

.impact-tier-text strong {
    display: block;
    color: var(--text-primary);
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.impact-tier-text span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.donate-actions {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 2rem;
}

.donate-actions h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    text-align: center;
}

.donate-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    padding: 1rem 1.5rem;
    border-radius: var(--radius-lg);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    margin-bottom: 1rem;
    text-decoration: none;
}

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

.donate-btn.lightning {
    background: linear-gradient(135deg, var(--color-btc-orange), var(--color-btc-gold));
    color: #000;
    box-shadow: 0 4px 20px rgba(247, 147, 26, 0.3);
}

.donate-btn.lightning:hover {
    box-shadow: 0 6px 30px rgba(247, 147, 26, 0.5);
    transform: translateY(-2px);
}

.donate-btn.onchain {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 1px solid var(--border-subtle);
}

.donate-btn.onchain:hover {
    border-color: var(--color-btc-orange);
    color: var(--color-btc-orange);
}

.donate-btn.sponsor {
    background: transparent;
    color: var(--text-secondary);
    border: 1px dashed var(--border-subtle);
    margin-bottom: 0;
}

.donate-btn.sponsor:hover {
    border-color: var(--color-btc-orange);
    color: var(--color-btc-orange);
}

.qr-code-wrapper {
    display: none;
    margin: 1rem 0;
    text-align: center;
}

.qr-code-wrapper.active {
    display: block;
}

.qr-code-wrapper img,
.qr-code-wrapper canvas {
    max-width: 200px;
    height: auto;
    background: #fff;
    padding: 10px;
    border-radius: var(--radius-md);
}

.qr-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
    display: none;
}

.btc-address {
    display: block;
    word-break: break-all;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.75rem;
    color: var(--text-muted);
    background: var(--bg-secondary);
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-md);
    margin-top: 0.75rem;
    cursor: pointer;
    transition: color 0.2s;
    text-align: center;
}

.btc-address:hover {
    color: var(--color-btc-orange);
}

.donate-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1rem 0;
    color: var(--text-muted);
    font-size: 0.8rem;
}

.donate-divider::before,
.donate-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--border-subtle);
}

/* ===== FAQ SECTION ===== */
.faq-section {
    background: var(--bg-primary);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 1.5rem 2rem;
    transition: all 0.2s;
}

.faq-item:hover {
    border-color: rgba(247, 147, 26, 0.3);
}

.faq-item h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.faq-item p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin: 0;
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: linear-gradient(180deg, var(--bg-secondary) 0%, rgba(247, 147, 26, 0.1) 100%);
    padding: 6rem 2rem;
}

.cta-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.cta-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: var(--radius-full);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cta-button svg {
    width: 20px;
    height: 20px;
}

.cta-button.primary {
    background: linear-gradient(135deg, var(--color-btc-orange), var(--color-btc-gold));
    color: #000;
    box-shadow: 0 4px 20px rgba(247, 147, 26, 0.4);
}

.cta-button.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(247, 147, 26, 0.5);
}

.cta-button.secondary {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border-subtle);
}

.cta-button.secondary:hover {
    border-color: var(--color-btc-orange);
    color: var(--color-btc-orange);
}

/* ===== DISCLAIMER ===== */
.ubi-disclaimer {
    text-align: center;
    padding: 1.5rem 2rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    .hero-section {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
        padding: 4rem 2rem;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        order: -1;
    }

    .hero-illustration {
        max-width: 300px;
    }

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

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .stat-divider {
        display: none;
    }

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

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

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

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

    .cta-title {
        font-size: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .content-section {
        padding: 3rem 1rem;
    }

    .hero-section {
        padding: 3rem 1rem;
    }

    .hero-title {
        font-size: 2rem;
    }

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

    .step-card {
        padding: 1.5rem;
    }

    .vision-card {
        padding: 1.5rem;
    }

    .donate-actions {
        padding: 1.5rem;
    }

    .cta-section {
        padding: 4rem 1rem;
    }
}
