/**
 * Pricing Page - Main Styles
 * Module Pricing - SEO Writer
 * 
 * Split from original pricing.css for maintainability
 */

:root {
    --pricing-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(255, 255, 255, 0.2);
}

/* ================================
   Hero Section
   ================================ */
.pricing-hero {
    position: relative;
    padding: 100px 0 60px;
    overflow: hidden;
}

.pricing-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
    z-index: -2;
}

.dark .pricing-hero-bg {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

.pricing-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 100%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
    z-index: -1;
}

.pricing-hero::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -20%;
    width: 60%;
    height: 100%;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.1) 0%, transparent 70%);
    z-index: -1;
}

/* ================================
   Comparison Table
   ================================ */
.comparison-section {
    margin-top: 80px;
    padding: 80px 0;
    background: #f8fafc;
}

.dark .comparison-section {
    background: #0f172a;
}

.comparison-table-container {
    overflow-x: auto;
    border-radius: 24px;
    background: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.dark .comparison-table-container {
    background: #1e293b;
}

.comparison-table {
    width: 100%;
    min-width: 800px;
    border-collapse: collapse;
}

.comparison-table th {
    padding: 24px;
    text-align: center;
    font-weight: 800;
    background: #f8fafc;
}

.dark .comparison-table th {
    background: #0f172a;
}

.comparison-table th.feature-header {
    text-align: left;
    width: 280px;
}

.comparison-table td {
    padding: 20px 24px;
    text-align: center;
    border-bottom: 1px solid #f1f5f9;
}

.dark .comparison-table td {
    border-color: #334155;
}

.comparison-table td.feature-name {
    text-align: left;
    font-weight: 600;
}

.check-icon {
    color: #10b981;
    font-size: 20px;
}

.cross-icon {
    color: #ef4444;
    opacity: 0.3;
}

/* ================================
   Trust Section
   ================================ */
.trust-section {
    padding: 60px 0;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.dark .trust-item {
    background: #1e293b;
}

.trust-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

/* ================================
   FAQ Section
   ================================ */
.pricing-faq {
    padding: 80px 0;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

@media (max-width: 768px) {
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

.faq-card {
    background: white;
    padding: 32px;
    border-radius: 24px;
    border: 1px solid #f1f5f9;
    transition: all 0.3s ease;
}

.dark .faq-card {
    background: #1e293b;
    border-color: #334155;
}

.faq-card:hover {
    border-color: #4f46e5;
    box-shadow: 0 10px 30px rgba(79, 70, 229, 0.1);
    transform: translateY(-4px);
}

/* ================================
   CTA Section
   ================================ */
.pricing-cta {
    padding: 100px 0;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    position: relative;
    overflow: hidden;
}

.pricing-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* ================================
   Money Back Guarantee
   ================================ */
.guarantee-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    padding: 16px 28px;
    border-radius: 50px;
    margin-top: 32px;
}

.guarantee-badge i {
    font-size: 24px;
    color: #d97706;
}

/* ================================
   No Discount Hint
   ================================ */
.no-discount-hint {
    max-width: 600px;
    margin: 0 auto 2rem;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(168, 85, 247, 0.05) 100%);
    border-radius: 1rem;
    border: 1px dashed rgba(99, 102, 241, 0.3);
    text-align: center;
}

.no-discount-hint p {
    color: #6b7280;
    font-size: 0.875rem;
    margin: 0;
}

.dark .no-discount-hint p {
    color: #9ca3af;
}

.no-discount-hint a {
    color: #4f46e5;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
}

.no-discount-hint a:hover {
    color: #7c3aed;
}

/* ================================
   Responsive
   ================================ */
@media (max-width: 768px) {
    .pricing-hero {
        padding: 60px 0 40px;
    }
}