/**
 * AI Agents Page Styles
 * LightningFaucet.com
 */

/* AI Agents - Enterprise Landing Page */
.ai-page {
    min-height: 100vh;
    background: #08090c;
}

/* Hero Section */
.ai-hero {
    padding: 5rem 1.5rem 4rem;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.ai-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.ai-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(139, 92, 246, 0.08);
    border: 1px solid rgba(139, 92, 246, 0.2);
    color: #a78bfa;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.ai-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    color: #fff;
    letter-spacing: -0.02em;
}

.ai-title .highlight {
    background: linear-gradient(135deg, #c4b5fd 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.ai-subtitle {
    font-size: 1.15rem;
    color: #6b7280;
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto 3rem;
}

/* Flow Diagram */
.flow-diagram {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 16px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.flow-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.flow-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(139, 92, 246, 0.05) 100%);
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.flow-icon svg {
    width: 28px;
    height: 28px;
    stroke: #a78bfa;
    fill: none;
    stroke-width: 1.5;
}

.flow-icon.btc {
    background: linear-gradient(135deg, rgba(247, 147, 26, 0.1) 0%, rgba(247, 147, 26, 0.05) 100%);
    border-color: rgba(247, 147, 26, 0.2);
}

.flow-icon.btc svg {
    stroke: #f7931a;
}

.flow-label {
    font-size: 0.75rem;
    color: #6b7280;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.flow-connector {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: #374151;
}

.flow-connector .line {
    width: 40px;
    height: 1px;
    background: linear-gradient(90deg, rgba(139, 92, 246, 0.3), rgba(247, 147, 26, 0.3));
}

.flow-connector .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #22c55e;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

/* Stats Bar */
.stats-bar {
    display: flex;
    justify-content: center;
    gap: 4rem;
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

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

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    font-variant-numeric: tabular-nums;
}

.stat-label {
    font-size: 0.75rem;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 0.25rem;
}

/* Capabilities Grid */
.capabilities-section {
    padding: 4rem 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

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

.section-eyebrow {
    font-size: 0.75rem;
    color: #8b5cf6;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

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

.section-subtitle {
    color: #6b7280;
    font-size: 1rem;
}

.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 16px;
    overflow: hidden;
}

.capability-card {
    background: #0d0e12;
    padding: 2rem;
    transition: all 0.3s ease;
}

.capability-card:hover {
    background: #101114;
}

.capability-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(139, 92, 246, 0.08);
    margin-bottom: 1.25rem;
}

.capability-icon svg {
    width: 24px;
    height: 24px;
    stroke: #a78bfa;
    fill: none;
    stroke-width: 1.5;
}

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

.capability-desc {
    color: #6b7280;
    line-height: 1.6;
    font-size: 0.9rem;
}

/* Why Section */
.why-section {
    padding: 5rem 1.5rem;
    background: linear-gradient(180deg, transparent 0%, rgba(139, 92, 246, 0.02) 50%, transparent 100%);
}

.why-content {
    max-width: 800px;
    margin: 0 auto;
}

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

.why-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.why-number {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(139, 92, 246, 0.1);
    color: #a78bfa;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 600;
    flex-shrink: 0;
}

.why-text h4 {
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.why-text p {
    color: #6b7280;
    font-size: 0.9rem;
    line-height: 1.5;
}

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

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

.cta-subtitle {
    color: #6b7280;
    margin-bottom: 2rem;
    font-size: 1rem;
}

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

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

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

.ai-email-form input[type="email"]:focus {
    outline: none;
    border-color: rgba(139, 92, 246, 0.5);
}

.ai-email-form button {
    padding: 0.875rem 1.5rem;
    background: #8b5cf6;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
}

.ai-email-form button:hover {
    background: #7c3aed;
}

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

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

.ai-privacy-note {
    margin-top: 1rem;
    font-size: 0.75rem;
    color: #4b5563;
}

/* Responsive */
@media (max-width: 900px) {
    .capabilities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    .flow-diagram {
        gap: 0.75rem;
        padding: 1.5rem;
    }

    .flow-icon {
        width: 52px;
        height: 52px;
    }

    .flow-connector .line {
        width: 24px;
    }

    .stats-bar {
        gap: 2rem;
    }

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

    .why-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

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

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