/**
 * AI Engine Webhook Bridge Pro - Frontend Styles
 * @version 9.9.1
 * @author Manus AI
 */

.aewb-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

.aewb-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.aewb-card-title {
    font-size: 28px;
    font-weight: 700;
    color: #1f2937;
    text-align: center;
    margin-bottom: 10px;
}

.aewb-card-subtitle {
    font-size: 16px;
    color: #6b7280;
    text-align: center;
    margin-bottom: 30px;
}

.aewb-form-group {
    margin-bottom: 20px;
}

.aewb-form-group label {
    display: block;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
}

.aewb-form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.aewb-form-group input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.aewb-btn {
    display: inline-block;
    width: 100%;
    padding: 14px 30px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.2s;
}

.aewb-btn-primary {
    background-color: #2563eb;
    color: #ffffff;
}

.aewb-btn-primary:hover {
    background-color: #1d4ed8;
}

.aewb-form-footer {
    text-align: center;
    margin-top: 20px;
    color: #6b7280;
}

.aewb-form-footer a {
    color: #2563eb;
    font-weight: 500;
    text-decoration: none;
}

.aewb-form-footer a:hover {
    text-decoration: underline;
}

.aewb-alert {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 15px;
}

.aewb-alert-success {
    background-color: #d1fae5;
    color: #065f46;
}

.aewb-alert-error {
    background-color: #fee2e2;
    color: #991b1b;
}

/* Pricing Page */
.aewb-page-header {
    text-align: center;
    margin-bottom: 50px;
}

.aewb-page-title {
    font-size: 36px;
    font-weight: 800;
    color: #1f2937;
}

.aewb-page-subtitle {
    font-size: 18px;
    color: #6b7280;
    margin-top: 10px;
}

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

.aewb-pricing-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 30px;
    border: 2px solid #e5e7eb;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.aewb-pricing-card:hover {
    border-color: #2563eb;
    transform: translateY(-5px);
}

.aewb-pricing-card.featured {
    border-color: #2563eb;
    position: relative;
}

.aewb-pricing-card.featured::before {
    content: '推荐';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #2563eb;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.aewb-pricing-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 5px;
}

.aewb-pricing-variant {
    color: #6b7280;
    margin-bottom: 20px;
}

.aewb-pricing-price {
    font-size: 42px;
    font-weight: 800;
    color: #2563eb;
    margin-bottom: 20px;
}

.aewb-pricing-price span {
    font-size: 16px;
    font-weight: 500;
    color: #6b7280;
}

.aewb-pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    flex-grow: 1;
}

.aewb-pricing-features li {
    padding: 10px 0;
    border-bottom: 1px solid #f3f4f6;
    color: #374151;
}

.aewb-pricing-features li::before {
    content: '✓';
    color: #10b981;
    margin-right: 12px;
    font-weight: 600;
}
