/**
 * Micropayments Page Styles
 * LightningFaucet.com
 */

/* Micropayments Landing Page */
.micro-page {
    min-height: 100vh;
    background:
        radial-gradient(ellipse 80% 50% at 50% 0%, rgba(34, 197, 94, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 20% 100%, rgba(247, 147, 26, 0.08) 0%, transparent 40%),
        linear-gradient(180deg, #0a0a0f 0%, #0d1117 50%, #0a0a0f 100%);
}

/* Hero Section */
.micro-hero {
    padding: 6rem 1.5rem 4rem;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.micro-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #22c55e;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.micro-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #fff;
}

.micro-title .highlight {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.micro-subtitle {
    font-size: 1.25rem;
    color: #8b949e;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto 2rem;
}

/* Amount Display */
.amount-display {
    display: inline-flex;
    align-items: baseline;
    gap: 0.25rem;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.2);
    padding: 1rem 2rem;
    border-radius: 12px;
    margin-bottom: 3rem;
}

.amount-display .currency {
    font-size: 1.5rem;
    color: #22c55e;
}

.amount-display .value {
    font-size: 3rem;
    font-weight: 800;
    font-family: var(--font-mono);
    color: #fff;
}

.amount-display .unit {
    font-size: 1rem;
    color: #666;
    margin-left: 0.5rem;
}

.amount-label {
    font-size: 0.9rem;
    color: #666;
    margin-top: 0.5rem;
}

/* Stats Row */
.micro-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.micro-stat {
    text-align: center;
}

.micro-stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: #22c55e;
}

.micro-stat-label {
    font-size: 0.85rem;
    color: #666;
    margin-top: 0.25rem;
}

/* Use Cases Grid */
.use-cases-section {
    padding: 4rem 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.75rem;
}

.section-subtitle {
    color: #666;
    font-size: 1.1rem;
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.use-case-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.use-case-card:hover {
    border-color: rgba(34, 197, 94, 0.3);
    transform: translateY(-4px);
}

.use-case-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(34, 197, 94, 0.1);
    border-radius: 12px;
}

.use-case-icon svg {
    width: 24px;
    height: 24px;
    fill: #22c55e;
}

.use-case-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.5rem;
}

.use-case-desc {
    color: #8b949e;
    line-height: 1.6;
    font-size: 0.95rem;
}

.use-case-example {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: #22c55e;
}

/* Why Lightning Section */
.why-section {
    padding: 4rem 1.5rem;
    background: rgba(34, 197, 94, 0.03);
    border-top: 1px solid rgba(34, 197, 94, 0.1);
    border-bottom: 1px solid rgba(34, 197, 94, 0.1);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.why-item {
    text-align: center;
}

.why-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
}

.why-icon svg {
    width: 24px;
    height: 24px;
    fill: #666;
}

.why-icon.highlight {
    background: rgba(34, 197, 94, 0.1);
}

.why-icon.highlight svg {
    fill: #22c55e;
}

.why-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.5rem;
}

.why-desc {
    font-size: 0.9rem;
    color: #666;
}

/* CTA Section */
.cta-section {
    padding: 5rem 1.5rem;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
}

.cta-subtitle {
    color: #8b949e;
    margin-bottom: 2rem;
}

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

.email-form input[type="email"] {
    flex: 1;
    padding: 1rem 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-size: 1rem;
}

.email-form input[type="email"]::placeholder {
    color: #555;
}

.email-form input[type="email"]:focus {
    outline: none;
    border-color: #22c55e;
}

.email-form button {
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
}

.email-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(34, 197, 94, 0.3);
}

.form-message {
    margin-top: 1rem;
    font-size: 0.9rem;
}

.form-message.success { color: #22c55e; }
.form-message.error { color: #ef4444; }

.privacy-note {
    margin-top: 1rem;
    font-size: 0.8rem;
    color: #555;
}

/* Responsive */
@media (max-width: 768px) {
    .micro-hero {
        padding: 4rem 1rem 3rem;
    }

    .micro-stats {
        gap: 2rem;
    }

    .why-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .email-form {
        flex-direction: column;
    }

    .email-form button {
        width: 100%;
    }
}
