/**
 * Public Pages Card CSS
 * Clean card components without heavy effects
 * NO: glow, shine, continuous animations
 */

/* ============================================
   Base Card Styles
   ============================================ */
.public-card {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.public-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

/* ============================================
   Pricing Card
   ============================================ */
.pricing-card {
    position: relative;
    background: white;
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.pricing-card.popular {
    border: 2px solid var(--public-primary, #6366f1);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.15);
}

.pricing-card.popular:hover {
    box-shadow: 0 20px 50px rgba(99, 102, 241, 0.2);
}

/* Popular Badge */
.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 1rem;
    background: var(--public-gradient, linear-gradient(135deg, #667eea 0%, #764ba2 100%));
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 9999px;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

/* Card Header */
.card-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.plan-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
    border-radius: 1rem;
    margin-bottom: 1rem;
    color: var(--public-primary, #6366f1);
    font-size: 1.5rem;
}

.pricing-card.popular .plan-icon {
    background: var(--public-gradient);
    color: white;
}

.plan-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

.plan-description {
    font-size: 0.875rem;
    color: #64748b;
}

/* Price */
.price-wrapper {
    text-align: center;
    padding: 1.5rem 0;
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
    margin-bottom: 1.5rem;
}

.price-container {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
}

.currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: #64748b;
}

.price {
    font-size: 3rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1;
}

.period {
    font-size: 1rem;
    color: #64748b;
}

.original-price {
    font-size: 1rem;
    color: #94a3b8;
    text-decoration: line-through;
    margin-top: 0.5rem;
}

.savings-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 9999px;
    margin-top: 0.5rem;
}

/* Features List */
.features-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: #374151;
}

.feature-item.disabled {
    color: #9ca3af;
}

.feature-icon {
    font-size: 1rem;
    flex-shrink: 0;
}

.feature-icon.included {
    color: #10b981;
}

.feature-item.disabled .feature-icon {
    color: #d1d5db;
}

.feature-item.highlight {
    font-weight: 600;
    color: var(--public-primary, #6366f1);
}

.new-badge {
    padding: 0.125rem 0.5rem;
    background: rgba(99, 102, 241, 0.1);
    color: var(--public-primary, #6366f1);
    font-size: 0.625rem;
    font-weight: 700;
    border-radius: 9999px;
    text-transform: uppercase;
}

/* Card Footer */
.card-footer {
    text-align: center;
}

.trial-text {
    font-size: 0.75rem;
    color: #64748b;
    margin-top: 0.75rem;
}

/* ============================================
   Feature Card
   ============================================ */
.feature-card {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.feature-icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
    border-radius: 12px;
    margin-bottom: 1rem;
    color: var(--public-primary, #6366f1);
    font-size: 1.25rem;
}

.feature-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

.feature-description {
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.6;
}

/* ============================================
   Contact Method Card
   ============================================ */
.contact-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
    border-radius: 1rem;
    margin-bottom: 1rem;
    color: var(--public-primary, #6366f1);
    font-size: 1.5rem;
}

.contact-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

.contact-info {
    font-size: 0.875rem;
    color: #64748b;
}

.contact-info a {
    color: var(--public-primary, #6366f1);
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* ============================================
   FAQ Card
   ============================================ */
.faq-card {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.04);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.faq-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.06);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1rem;
    font-weight: 600;
    color: #0f172a;
}

.faq-answer {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #f1f5f9;
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.7;
}

/* ============================================
   Stat Card
   ============================================ */
.stat-card {
    text-align: center;
    padding: 1.5rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--public-primary, #6366f1);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    color: #64748b;
}

/* ============================================
   Testimonial Card
   ============================================ */
.testimonial-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.testimonial-content {
    font-size: 1rem;
    color: #374151;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--public-primary, #6366f1);
    font-weight: 700;
}

.author-name {
    font-weight: 600;
    color: #0f172a;
}

.author-title {
    font-size: 0.875rem;
    color: #64748b;
}

/* ============================================
   Card Grid Layouts
   ============================================ */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

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

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

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

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .pricing-card {
        padding: 1.5rem;
    }

    .price {
        font-size: 2.5rem;
    }
}
