/**
 * AI Generators SaaS - Public Styles
 */

/* Generator Base */
.aigs-generator {
    max-width: 700px;
    margin: 0 auto;
    padding: 30px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.aigs-generator-header {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
}

.aigs-generator-header h2 {
    margin: 0 0 10px;
    font-size: 28px;
    font-weight: 700;
    color: #1a1a2e;
}

.aigs-generator-header p {
    margin: 0;
    color: #666;
    font-size: 16px;
}

.aigs-credit-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
    margin-top: 15px;
}

/* Form Styles */
.aigs-form-group {
    margin-bottom: 20px;
}

.aigs-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.aigs-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.aigs-form-group input,
.aigs-form-group select {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e8e8e8;
    border-radius: 12px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: #fafafa;
}

.aigs-form-group input:focus,
.aigs-form-group select:focus {
    outline: none;
    border-color: #667eea;
    background: #fff;
}

/* Button Styles */
.aigs-generate-btn {
    width: 100%;
    padding: 16px 32px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.aigs-generate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.aigs-btn-cost {
    padding: 4px 10px;
    background: rgba(255,255,255,0.2);
    border-radius: 20px;
    font-size: 13px;
}

/* Notices */
.aigs-guest-notice,
.aigs-no-credits-notice {
    margin-top: 20px;
    padding: 15px;
    background: #fff8e1;
    border-left: 4px solid #ffc107;
    border-radius: 8px;
}

.aigs-guest-notice a,
.aigs-no-credits-notice a {
    color: #856404;
    font-weight: 600;
}

/* Results */
.aigs-results {
    margin-top: 30px;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 12px;
}

.aigs-results h3 {
    margin: 0 0 20px;
    font-size: 20px;
    color: #1a1a2e;
}

.aigs-result-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    background: #fff;
    border-radius: 10px;
    border: 2px solid #e8e8e8;
    margin-bottom: 10px;
}

.aigs-result-text {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a2e;
    font-family: monospace;
}

.aigs-copy-btn {
    padding: 8px 14px;
    background: #667eea;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    cursor: pointer;
}

/* Credit Display */
.aigs-credit-display {
    max-width: 900px;
    margin: 0 auto;
}

.aigs-credit-balance-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    padding: 40px;
    color: #fff;
    text-align: center;
    margin-bottom: 25px;
}

.aigs-balance-main {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.aigs-balance-icon {
    font-size: 48px;
}

.aigs-balance-amount {
    font-size: 56px;
    font-weight: 700;
}

.aigs-credit-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 25px;
}

.aigs-stat-box {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
}

.aigs-stat-value {
    display: block;
    font-size: 32px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 5px;
}

/* Packages */
.aigs-packages {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.aigs-package {
    background: #fff;
    border: 2px solid #e8e8e8;
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
}

.aigs-package h4 {
    margin: 0 0 15px;
    font-size: 18px;
    color: #1a1a2e;
}

.aigs-credit-amount {
    font-size: 36px;
    font-weight: 700;
    color: #667eea;
}

.aigs-buy-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
}

/* Promotion */
.aigs-promotion {
    margin-top: 40px;
    padding: 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    color: #fff;
}

.aigs-promo-content {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 30px;
    align-items: center;
}

.aigs-promo-text h3 {
    margin: 0 0 15px;
    font-size: 24px;
}

.aigs-promo-features {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.aigs-promo-features li {
    margin-bottom: 8px;
}

.aigs-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.aigs-btn-primary {
    background: #fff;
    color: #667eea;
}

.aigs-btn-secondary {
    background: rgba(255,255,255,0.2);
    color: #fff;
    border: 2px solid rgba(255,255,255,0.3);
}

/* Registration Page */
.aigs-register-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    padding: 40px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.aigs-register-card {
    width: 100%;
    max-width: 480px;
    background: #fff;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.aigs-register-brand {
    text-align: center;
    margin-bottom: 30px;
}

.aigs-logo {
    font-size: 48px;
}

.aigs-register-brand h1 {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 10px;
}

.aigs-social-buttons {
    display: flex;
    gap: 12px;
}

.aigs-social-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    border: 2px solid #e8e8e8;
    border-radius: 12px;
    background: #fff;
    color: #333;
    font-weight: 600;
    text-decoration: none;
}

.aigs-divider {
    display: flex;
    align-items: center;
    margin: 24px 0;
}

.aigs-divider::before,
.aigs-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e8e8e8;
}

.aigs-divider span {
    padding: 0 16px;
    font-size: 13px;
    color: #888;
}

.aigs-btn-full {
    width: 100%;
}

/* Alerts */
.aigs-alert {
    padding: 14px 16px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.aigs-alert-error {
    background: #fee;
    color: #c0392b;
}

.aigs-alert-success {
    background: #d4edda;
    color: #155724;
}

/* Benefits Section */
.aigs-benefits-section {
    display: none;
}

@media (min-width: 1024px) {
    .aigs-benefits-section {
        display: block;
        width: 380px;
    }
    
    .aigs-benefits-card {
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
        border-radius: 24px;
        padding: 40px;
        border: 1px solid rgba(255, 255, 255, 0.2);
        color: #fff;
    }
    
    .aigs-benefit-item {
        display: flex;
        align-items: center;
        gap: 16px;
        margin-bottom: 24px;
    }
    
    .aigs-benefit-icon {
        width: 48px;
        height: 48px;
        background: rgba(255, 255, 255, 0.2);
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 24px;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .aigs-form-row {
        grid-template-columns: 1fr;
    }
    
    .aigs-promo-content {
        grid-template-columns: 1fr;
    }
    
    .aigs-packages {
        grid-template-columns: 1fr;
    }
}
