/* Common Public Pages Styles - Pricing, Contact, Login, Register */

/* Common Page Hero Styles */
.page-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: "";
    position: absolute;
    width: 320px;
    height: 320px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
    top: -100px;
    right: -80px;
    filter: blur(40px);
}

.page-hero::after {
    content: "";
    position: absolute;
    width: 280px;
    height: 280px;
    background: rgba(255,255,255,0.06);
    border-radius: 50%;
    bottom: -110px;
    left: -70px;
    filter: blur(40px);
}

.page-hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.page-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.page-hero p {
    font-size: 1.25rem;
    opacity: 0.95;
    line-height: 1.6;
}

.page-hero-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.16);
    border: 1px solid rgba(255,255,255,0.35);
    color: white;
    padding: 8px 14px;
    border-radius: 999px;
    font-weight: 700;
    margin-bottom: 12px;
    font-size: 0.9rem;
}

.page-hero-subtitle {
    font-size: 1rem;
    opacity: 0.9;
    margin-top: 1rem;
}

/* Common Container */
.page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-container-elevated {
    max-width: 1200px;
    margin: -60px auto 0;
    padding: 0 20px 80px;
    position: relative;
    z-index: 10;
}

/* Common Card Styles */
.page-card {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 12px 32px rgba(0,0,0,0.08);
    border: 1px solid #eef2ff;
}

.page-card h2 {
    margin: 0 0 1rem;
    font-size: 1.8rem;
    color: #0f172a;
    font-weight: 800;
}

.page-card-subtitle {
    color: #6b7280;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

/* Common Grid Layouts */
.page-grid-2col {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 2rem;
}

.page-grid-3col {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

@media (max-width: 968px) {
    .page-grid-2col {
        grid-template-columns: 1fr;
    }
}

/* Common Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    color: #111827;
    font-weight: 600;
    font-size: 0.95rem;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.2s ease;
    background: #fff;
    font-family: inherit;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.12);
    outline: none;
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

.form-help {
    color: #6b7280;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.form-error {
    color: #dc2626;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.input-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
}

/* Common Button Styles */
.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 14px 24px;
    border: none;
    border-radius: 12px;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 12px 28px rgba(102, 126, 234, 0.28);
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(102, 126, 234, 0.32);
}

.btn-secondary {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #475569;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-secondary:hover {
    background: #e2e8f0;
    color: #111827;
    border-color: #cbd5e1;
}

/* Common Alert Styles */
.alert {
    padding: 12px 16px;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    font-weight: 600;
    border-left: 4px solid;
}

.alert-success {
    background: #ecfdf3;
    color: #166534;
    border-color: #10b981;
}

.alert-error,
.alert-danger {
    background: #fef2f2;
    color: #991b1b;
    border-color: #ef4444;
}

.alert-info {
    background: #eff6ff;
    color: #1e40af;
    border-color: #3b82f6;
}

/* Common Icon Item Styles */
.icon-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.icon-box {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    color: white;
}

.icon-content h3 {
    margin: 0 0 0.5rem 0;
    color: #1f2937;
    font-size: 1.2rem;
    font-weight: 700;
}

.icon-content p {
    margin: 0;
    color: #6b7280;
    line-height: 1.6;
}

/* Common Section Styles */
.section-label {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.4px;
    color: #4338ca;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.section-divider {
    height: 1px;
    background: #e5e7eb;
    margin: 2rem 0;
}

/* Common Feature List */
.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    color: #374151;
}

.feature-list li::before {
    content: "✓";
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: #eef2ff;
    color: #4338ca;
    border-radius: 50%;
    font-weight: 700;
    flex-shrink: 0;
}

/* Info Box */
.info-box {
    background: #f9fafb;
    padding: 1.5rem;
    border-radius: 12px;
    margin-top: 1.5rem;
}

.info-box h4 {
    margin: 0 0 1rem 0;
    color: #1f2937;
    font-size: 1rem;
    font-weight: 700;
}

.info-box p {
    margin: 0.5rem 0;
    color: #6b7280;
    font-size: 0.95rem;
}

/* Badge/Pill */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #eef2ff;
    color: #4338ca;
    padding: 6px 12px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 768px) {
    .page-hero h1 {
        font-size: 2rem;
    }
    
    .page-hero p {
        font-size: 1.05rem;
    }
    
    .page-card {
        padding: 1.5rem;
    }
}
