/* ── Page-specific styles — AiAn index ── */

/* Hero */
.hero-gradient { background: linear-gradient(135deg, #f0f9ff 0%, #e6f0fa 100%); padding: 3rem 0; }
@media (min-width: 640px) { .hero-gradient { padding: 4rem 0; } }

.animate-fade-in { animation: fadeIn 0.8s ease-out forwards; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.hero-badge { display: inline-flex; align-items: center; background: #ffffff; padding: 0.5rem 1rem; border-radius: 9999px; font-size: 0.875rem; font-weight: 600; color: #2A6DF4; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1); margin-bottom: 1.5rem; border: 1px solid #dbeafe; }
.hero-title { font-size: 2.5rem; font-weight: 800; line-height: 1.2; margin-bottom: 1rem; color: #111827; }
@media (min-width: 640px) { .hero-title { font-size: 3rem; } }
@media (min-width: 1024px) { .hero-title { font-size: 3.5rem; } }

.hero-subtitle { font-size: 1.125rem; color: #4b5563; max-width: 52rem; margin: 0 auto 2rem; line-height: 1.6; }
@media (min-width: 640px) { .hero-subtitle { font-size: 1.25rem; } }

.hero-buttons { display: flex; flex-direction: column; gap: 1rem; justify-content: center; margin-bottom: 2.5rem; }
@media (min-width: 640px) { .hero-buttons { flex-direction: row; } }

.hero-features { display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: center; margin-top: 1.5rem; }
.hero-feature { display: flex; align-items: center; font-size: 0.95rem; color: #374151; font-weight: 500; }

/* Buttons */
.btn-primary { display: inline-flex; align-items: center; justify-content: center; background: #2A6DF4; color: white; font-weight: 700; padding: 0.75rem 2rem; border-radius: 9999px; font-size: 1rem; transition: all 0.2s; text-decoration: none; box-shadow: 0 10px 15px -3px rgba(42,109,244,0.3); border: 2px solid transparent; }
.btn-primary:hover { background: #1e5fd9; transform: scale(1.05); }

.btn-secondary { display: inline-flex; align-items: center; justify-content: center; background: white; color: #2A6DF4; font-weight: 700; padding: 0.75rem 2rem; border-radius: 9999px; font-size: 1rem; transition: all 0.2s; text-decoration: none; border: 2px solid #2A6DF4; }
.btn-secondary:hover { background: #f0f7ff; transform: scale(1.05); }

/* Section headers */
.section-header { text-align: center; max-width: 48rem; margin: 0 auto 3rem; }
.section-subtitle { font-size: 1rem; font-weight: 600; color: #2A6DF4; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.5rem; }
.section-title { font-size: 2rem; font-weight: 800; color: #111827; margin-bottom: 1rem; }
@media (min-width: 640px) { .section-title { font-size: 2.5rem; } }
.section-subhead { font-size: 1.125rem; color: #6b7280; }

/* Trial card */
.trial-card { background: white; border-radius: 2rem; padding: 2.5rem 2rem; box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25); border: 1px solid #e5e7eb; }
.trial-steps { display: grid; grid-template-columns: 1fr; gap: 2rem; margin-bottom: 2.5rem; }
@media (min-width: 768px) { .trial-steps { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }
.trial-step { text-align: center; }
.step-icon-wa { width: 5rem; height: 5rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.5rem; box-shadow: 0 10px 15px -3px rgba(42,109,244,0.3); font-size: 1.75rem; color: white; font-weight: 700; }
.step-title { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.5rem; color: #111827; }
.step-desc { color: #4b5563; font-size: 0.95rem; line-height: 1.6; }
.trial-cta { text-align: center; border-top: 1px solid #e5e7eb; padding-top: 2rem; }

/* Feature grid */
.feature-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; margin-top: 2rem; }
@media (min-width: 640px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .feature-grid { grid-template-columns: repeat(3, 1fr); } }
.feature-card { background: #ffffff; border: 1px solid #e5e7eb; border-radius: 1.5rem; padding: 2rem; transition: all 0.3s; box-shadow: 0 1px 2px 0 rgba(0,0,0,0.05); }
.feature-card:hover { transform: translateY(-5px); box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1); }
.feature-icon { width: 3.5rem; height: 3.5rem; background: #e6f0fa; border-radius: 1rem; display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem; font-size: 1.5rem; }
.feature-title { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.75rem; color: #111827; }
.feature-desc { color: #4b5563; font-size: 0.95rem; line-height: 1.6; }

/* Backgrounds */
.gradient-bg { background: linear-gradient(135deg, #f6f9fc 0%, #edf2f7 100%); }

/* CTA section */
.cta-section { background: linear-gradient(135deg, #111827 0%, #374151 100%); color: white; padding: 4rem 0; }
.cta-title { font-size: 2rem; font-weight: 800; margin-bottom: 1rem; }
@media (min-width: 640px) { .cta-title { font-size: 2.5rem; } }
.cta-subtitle { font-size: 1.125rem; color: #d1d5db; margin-bottom: 2.5rem; }

/* FAQ Accordion */
.faq-grid { display: flex; flex-direction: column; gap: 1rem; max-width: 48rem; margin: 0 auto; }
.faq-item { background: #ffffff; border-radius: 1rem; border: 1px solid #e5e7eb; overflow: hidden; transition: box-shadow 0.2s; }
.faq-item:hover { box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05); }
.faq-question { width: 100%; text-align: left; background: none; border: none; padding: 1.25rem 1.5rem; font-size: 1rem; font-weight: 700; color: #111827; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; line-height: 1.4; }
.faq-question:hover { background: #f9fafb; }
.faq-icon { flex-shrink: 0; transition: transform 0.2s; color: #6b7280; }
.faq-icon.open { transform: rotate(180deg); }
.faq-answer { display: none; padding: 0 1.5rem 1.25rem; font-size: 0.95rem; color: #4b5563; line-height: 1.7; }
.faq-answer.show { display: block; }

/* Pricing grid — 3 tiers */
.pricing-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 768px) { .pricing-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .pricing-grid { grid-template-columns: repeat(3, 1fr); } }

.pricing-card { border-radius: 1.5rem; padding: 2rem; text-align: center; position: relative; display: flex; flex-direction: column; }
.pricing-badge { display: inline-block; color: white; padding: 4px 12px; border-radius: 20px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; margin-bottom: 1rem; align-self: center; }
.pricing-price { font-size: 2rem; font-weight: 800; margin: 0.5rem 0 0.25rem; }
.pricing-price .unit { font-size: 1rem; font-weight: 500; color: #6b7280; }
.pricing-price .divider { font-size: 1.2rem; color: #d1d5db; margin: 0 6px; }
.pricing-chat-count { font-size: 0.875rem; font-weight: 600; color: #059669; margin-bottom: 0.25rem; }
.pricing-tagline { font-size: 0.85rem; color: #6b7280; margin-bottom: 1.25rem; }
.pricing-list { list-style: none; padding: 0; margin: 0 0 1.5rem; text-align: left; color: #374151; font-size: 0.95rem; line-height: 2.1; flex: 1; }
.pricing-list .overuse { color: #6b7280; font-size: 0.82rem; margin-top: 0.5rem; font-style: italic; }
.pricing-divider { border: 0; border-top: 1px dashed #e5e7eb; margin: 1.25rem 0; }

/* Enterprise card special styling */
.pricing-card--enterprise { background: linear-gradient(145deg, #111827 0%, #1e293b 100%); color: white; border: 2px solid #374151; }
.pricing-card--enterprise .pricing-price { color: white; }
.pricing-card--enterprise .pricing-tagline { color: #9ca3af; }
.pricing-card--enterprise .pricing-list { color: #e5e7eb; }
.pricing-card--enterprise .pricing-divider { border-top-color: #374151; }
.pricing-card--enterprise .btn-enterprise { display: inline-flex; align-items: center; justify-content: center; background: transparent; color: white; font-weight: 700; padding: 0.85rem; border-radius: 9999px; font-size: 1rem; transition: all 0.2s; text-decoration: none; border: 2px solid rgba(255,255,255,0.4); width: 100%; }
.pricing-card--enterprise .btn-enterprise:hover { background: rgba(255,255,255,0.08); transform: scale(1.03); border-color: white; }

/* Country pricing note */
.pricing-country-note { text-align: center; color: #6b7280; font-size: 0.875rem; margin-top: 2rem; }
.pricing-country-note a { color: #2A6DF4; text-decoration: none; font-weight: 600; }
.pricing-country-note a:hover { text-decoration: underline; }

/* Utility */
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.bg-white { background-color: #ffffff; }
.bg-gray-50 { background-color: #F9FAFB; }
.border-y { border-top: 1px solid #e5e7eb; border-bottom: 1px solid #e5e7eb; }
.text-center { text-align: center; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-8 { margin-bottom: 2rem; }
.rounded-xl { border-radius: 0.75rem; }
.shadow-sm { box-shadow: 0 1px 2px 0 rgba(0,0,0,0.05); }
.w-full { width: 100%; }
.block { display: block; }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.text-sm { font-size: 0.875rem; }
.text-gray-500 { color: #6b7280; }
.text-gray-600 { color: #4b5563; }
.max-w-5xl { max-width: 64rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-md { max-width: 28rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.gap-6 { gap: 1.5rem; }
.grid { display: grid; }
.flex { display: flex; }
