/* ===========================================
   Pricing Page — Bento Grid / Apple-inspired
   =========================================== */

/* ===== Hero Section ===== */

.pricing-hero {
    padding: var(--space-3xl) 0 var(--space-2xl);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.pricing-hero::before {
    content: '';
    position: absolute;
    top: -120px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(121, 80, 242, 0.05) 0%, rgba(51, 154, 240, 0.03) 40%, transparent 70%);
    pointer-events: none;
}

.pricing-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-tertiary);
    margin-bottom: var(--space-lg);
}

.pricing-breadcrumb a {
    color: var(--text-tertiary);
    transition: color var(--transition-fast);
}

.pricing-breadcrumb a:hover {
    color: var(--text-primary);
}

.pricing-breadcrumb i {
    font-size: 9px;
}

.pricing-hero-title {
    font-family: var(--font-display);
    font-size: clamp(40px, 6vw, 64px);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.1;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
}

.pricing-hero-subtitle {
    font-size: clamp(16px, 2vw, 20px);
    line-height: 1.6;
    color: var(--text-secondary);
    max-width: 520px;
    margin: 0 auto var(--space-xl);
}

/* ===== Giant Price Display ===== */

.price-hero-display {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-xl);
    padding: var(--space-lg) 0;
}

.price-glow-ring {
    position: absolute;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    border: 2px solid rgba(121, 80, 242, 0.12);
    animation: ring-pulse 4s ease-in-out infinite;
    pointer-events: none;
}

.price-glow-ring--outer {
    width: 320px;
    height: 320px;
    border-color: rgba(51, 154, 240, 0.08);
    animation-delay: 1s;
    animation-duration: 5s;
}

@keyframes ring-pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.08);
        opacity: 1;
    }
}

.price-number {
    position: relative;
    z-index: 1;
    font-family: var(--font-display);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.05em;
    background: linear-gradient(135deg, var(--violet) 0%, var(--ocean) 50%, var(--teal) 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 6s ease infinite;
}

.price-currency {
    font-size: clamp(48px, 8vw, 72px);
    font-weight: 700;
}

.price-zero {
    font-size: clamp(96px, 16vw, 144px);
}

.price-tag {
    position: relative;
    z-index: 1;
    margin-top: var(--space-sm);
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    color: var(--text-secondary);
    background: var(--bg-card);
    padding: 8px 24px;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-sm);
}

.pricing-hero-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* ===== Features Bento Grid ===== */

.features-bento-section {
    padding: var(--space-2xl) 0 var(--space-3xl);
}

.features-bento-section .section-title {
    font-size: clamp(28px, 4vw, 40px);
    text-align: center;
    margin-bottom: var(--space-xl);
}

.features-bento-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
}

.feature-group-card {
    padding: var(--space-lg);
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.feature-group-card--wide {
    grid-column: 1 / -1;
}

.feature-group-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--text-white);
}

.card-coral .feature-group-icon { background: var(--coral); }
.card-violet .feature-group-icon { background: var(--violet); }
.card-amber .feature-group-icon { background: var(--amber); }
.card-ocean .feature-group-icon { background: var(--ocean); }
.card-mint .feature-group-icon { background: var(--mint); }

.feature-group-title {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.feature-check-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.feature-check-grid--wide {
    grid-template-columns: repeat(4, 1fr);
}

.feature-check-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.6);
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    transition: background var(--transition-fast), transform var(--transition-fast);
}

.feature-check-item:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-1px);
}

.check-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    font-size: 10px;
    flex-shrink: 0;
}

.card-coral .check-icon { background: var(--coral); color: #fff; }
.card-violet .check-icon { background: var(--violet); color: #fff; }
.card-amber .check-icon { background: var(--amber); color: #fff; }
.card-ocean .check-icon { background: var(--ocean); color: #fff; }
.card-mint .check-icon { background: var(--mint); color: #fff; }

/* ===== FAQ Chat Bubbles ===== */

.faq-chat-section {
    padding: var(--space-2xl) 0 var(--space-3xl);
}

.faq-chat-section .section-title {
    font-size: clamp(28px, 4vw, 40px);
    text-align: center;
    margin-bottom: var(--space-xl);
}

.faq-chat-list {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.chat-row {
    display: flex;
    align-items: flex-end;
    gap: 12px;
}

.chat-row--question {
    justify-content: flex-start;
    padding-right: 60px;
}

.chat-row--answer {
    justify-content: flex-end;
    padding-left: 60px;
    margin-bottom: var(--space-md);
}

.chat-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

.chat-avatar--q {
    background: var(--bg-dark);
    color: var(--text-on-dark);
}

.chat-avatar--a {
    background: var(--violet);
    color: #fff;
}

.chat-bubble {
    padding: 14px 20px;
    font-size: 15px;
    line-height: 1.6;
    font-weight: 500;
    max-width: 100%;
}

.chat-bubble--q {
    background: var(--bg-dark);
    color: var(--text-on-dark);
    border-radius: var(--radius-lg) var(--radius-lg) var(--radius-lg) 6px;
}

.chat-bubble--a {
    border-radius: var(--radius-lg) var(--radius-lg) 6px var(--radius-lg);
    color: var(--text-primary);
}

.chat-bubble--coral { background: var(--coral-soft); }
.chat-bubble--violet { background: var(--violet-soft); }
.chat-bubble--ocean { background: var(--ocean-soft); }
.chat-bubble--amber { background: var(--amber-soft); }
.chat-bubble--mint { background: var(--mint-soft); }
.chat-bubble--rose { background: var(--rose-soft); }

/* ===== Bottom CTA ===== */

.pricing-cta {
    padding: var(--space-xl) 0 var(--space-3xl);
}

.pricing-cta-inner {
    background: var(--bg-dark);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl) var(--space-lg);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.pricing-cta-inner::before {
    content: '';
    position: absolute;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    width: 500px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(121, 80, 242, 0.15) 0%, rgba(51, 154, 240, 0.08) 40%, transparent 70%);
    pointer-events: none;
}

.pricing-cta-title {
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.2;
    color: var(--text-on-dark);
    margin-bottom: var(--space-sm);
    position: relative;
}

.pricing-cta-subtitle {
    font-size: clamp(15px, 2vw, 18px);
    line-height: 1.6;
    color: var(--text-on-dark-secondary);
    margin-bottom: var(--space-lg);
    position: relative;
}

.btn-cta-white {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 36px;
    height: 56px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 16px;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    white-space: nowrap;
    line-height: 1;
    background: var(--text-white);
    color: var(--bg-dark);
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.15);
    transition: all var(--transition-fast);
    position: relative;
}

.btn-cta-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(255, 255, 255, 0.2);
}

.btn-cta-white i {
    font-size: 13px;
    transition: transform var(--transition-fast);
}

.btn-cta-white:hover i {
    transform: translateX(3px);
}

/* ===== Responsive ===== */

@media (max-width: 1024px) {
    .features-bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-check-grid--wide {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .pricing-hero {
        padding: var(--space-2xl) 0 var(--space-xl);
    }

    .features-bento-grid {
        grid-template-columns: 1fr;
    }

    .feature-group-card--wide {
        grid-column: 1;
    }

    .feature-check-grid,
    .feature-check-grid--wide {
        grid-template-columns: 1fr;
    }

    .chat-row--question {
        padding-right: 20px;
    }

    .chat-row--answer {
        padding-left: 20px;
    }

    .pricing-hero-actions {
        flex-direction: column;
        align-items: center;
        max-width: 320px;
        margin: 0 auto;
    }

    .price-glow-ring {
        width: 180px;
        height: 180px;
    }

    .price-glow-ring--outer {
        width: 240px;
        height: 240px;
    }

    .pricing-cta-inner {
        padding: var(--space-xl) var(--space-md);
        border-radius: var(--radius-lg);
    }
}

@media (max-width: 480px) {
    .chat-avatar {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }

    .chat-bubble {
        padding: 12px 16px;
        font-size: 14px;
    }

    .chat-row--question {
        padding-right: 12px;
    }

    .chat-row--answer {
        padding-left: 12px;
    }

    .feature-group-card {
        padding: var(--space-md);
    }
}
