/* KayoLife — "Home – KayoLife Style" page template.
   Ported 1:1 from Home.dc.html. Loads alongside assets/css/main.css
   (shared site header/footer) — only page-specific sections live here. */

.home { width: 100%; overflow-x: hidden; }
.home * { box-sizing: border-box; }

@keyframes home-floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes home-fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }

/* ===== Hero ===== */
.home-hero { position: relative; background: radial-gradient(1200px 500px at 15% -10%, #EEF2FF 0%, transparent 55%), radial-gradient(1000px 480px at 95% 0%, #F3E8FF 0%, transparent 55%), #fff; overflow: hidden; }
.home-hero__inner { max-width: 1200px; margin: 0 auto; padding: 80px 24px 96px; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.home-hero__copy { animation: home-fadeUp .7s ease both; }
.home-hero__badge { display: inline-flex; align-items: center; gap: 8px; background: #EEF2FF; color: #2563EB; font-weight: 600; font-size: 13px; padding: 7px 14px; border-radius: 999px; border: 1px solid #DBE4FF; }
.home-hero__badge-dot { width: 7px; height: 7px; border-radius: 50%; background: #10B981; }
.home-hero h1 { font-size: 56px; line-height: 1.05; font-weight: 800; margin: 22px 0 18px; color: #111827; }
.home-hero h1 .home-highlight { background: linear-gradient(120deg, #2563EB, #7C3AED); -webkit-background-clip: text; background-clip: text; color: transparent; }
.home-hero__sub { font-size: 19px; line-height: 1.6; color: #4B5563; max-width: 520px; }
.home-hero__ctas { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.home-btn-primary { background: linear-gradient(135deg, #2563EB, #7C3AED); color: #fff; font-weight: 600; font-size: 16px; padding: 15px 28px; border-radius: 14px; box-shadow: 0 12px 28px -8px rgba(124, 58, 237, .55); transition: transform .2s, box-shadow .2s; display: inline-block; }
.home-btn-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 16px 34px -8px rgba(124, 58, 237, .65); }
.home-btn-secondary { background: #fff; color: #111827; font-weight: 600; font-size: 16px; padding: 15px 28px; border-radius: 14px; border: 1px solid #E5E9F0; transition: border-color .2s, transform .2s; display: inline-block; }
.home-btn-secondary:hover { color: #111827; border-color: #2563EB; transform: translateY(-2px); }
.home-hero__trust { display: flex; align-items: center; gap: 20px; margin-top: 36px; flex-wrap: wrap; }
.home-hero__stars { display: flex; align-items: center; gap: 2px; color: #F59E0B; font-size: 17px; }
.home-hero__trust-text { color: #6B7280; font-size: 14px; }
.home-hero__trust-text strong { color: #111827; }

.home-hero__card-wrap { position: relative; }
.home-hero__glow { position: absolute; inset: -30px; background: linear-gradient(135deg, rgba(37, 99, 235, .14), rgba(124, 58, 237, .14)); filter: blur(40px); border-radius: 40px; }
.home-hero-card { position: relative; background: #fff; border: 1px solid #EEF2F7; border-radius: 24px; box-shadow: 0 30px 60px -20px rgba(17, 24, 39, .22); padding: 22px; animation: home-floaty 6s ease-in-out infinite; }
.home-hero-card__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.home-hero-card__title { font-family: 'Poppins'; font-weight: 600; font-size: 15px; }
.home-hero-card__live { font-size: 12px; color: #047857; font-weight: 600; background: #ECFDF5; padding: 4px 10px; border-radius: 999px; }
.home-hero-card__row { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 16px; background: #F8FAFC; margin-bottom: 10px; }
.home-hero-card__rank { width: 30px; height: 30px; border-radius: 9px; background: linear-gradient(135deg, #2563EB, #7C3AED); color: #fff; display: flex; align-items: center; justify-content: center; font-family: 'Poppins'; font-weight: 700; font-size: 14px; flex-shrink: 0; }
.home-hero-card__name { font-weight: 600; font-size: 14px; }
.home-hero-card__stars { color: #F59E0B; font-size: 12px; }
.home-hero-card__score { font-weight: 700; font-size: 15px; color: #2563EB; }

/* ===== Trust badges bar ===== */
.home-trustbar { border-top: 1px solid #F1F5F9; border-bottom: 1px solid #F1F5F9; background: #F8FAFC; }
.home-trustbar__inner { max-width: 1200px; margin: 0 auto; padding: 28px 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.home-trustbar__label { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #6B7280; }
.home-trustbar__logos { display: flex; gap: 40px; align-items: center; flex-wrap: wrap; }
.home-trustbar__logos span { font-family: 'Poppins'; font-weight: 700; font-size: 19px; color: #CBD5E1; letter-spacing: -.02em; }

/* ===== Section heads ===== */
.home-section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.home-eyebrow { font-weight: 600; font-size: 14px; color: #7C3AED; letter-spacing: .04em; }
.home-section-head h2 { font-size: 40px; font-weight: 800; margin: 12px 0 14px; }
.home-section-head p { font-size: 17px; color: #6B7280; line-height: 1.6; }

/* ===== Categories ===== */
.home-categories { max-width: 1200px; margin: 0 auto; padding: 88px 24px 40px; }
.home-cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.home-cat-card { display: block; background: #fff; border: 1px solid #EEF2F7; border-radius: 20px; padding: 28px; box-shadow: 0 2px 4px rgba(17, 24, 39, .03); transition: transform .25s, box-shadow .25s, border-color .25s; }
.home-cat-card:hover { color: inherit; transform: translateY(-6px); box-shadow: 0 24px 44px -18px rgba(17, 24, 39, .18); border-color: #DBE4FF; }
.home-cat-card__icon { width: 52px; height: 52px; border-radius: 15px; display: flex; align-items: center; justify-content: center; font-size: 24px; }
.home-cat-card h3 { font-size: 20px; font-weight: 600; margin: 18px 0 8px; }
.home-cat-card p { font-size: 15px; color: #6B7280; line-height: 1.55; }
.home-cat-card__foot { display: flex; align-items: center; justify-content: space-between; margin-top: 20px; }
.home-cat-card__count { font-size: 13px; color: #6B7280; }
.home-cat-card__explore { font-weight: 600; color: #2563EB; font-size: 14px; }

/* ===== Editor's picks ===== */
.home-products { max-width: 1200px; margin: 0 auto; padding: 56px 24px; }
.home-section-toprow { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 36px; gap: 20px; flex-wrap: wrap; }
.home-section-toprow h2 { font-size: 40px; font-weight: 800; margin-top: 12px; }
.home-viewall { font-weight: 600; font-size: 15px; }
.home-prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.home-prod-card { background: #fff; border: 1px solid #EEF2F7; border-radius: 20px; overflow: hidden; box-shadow: 0 2px 4px rgba(17, 24, 39, .03); transition: transform .25s, box-shadow .25s; }
.home-prod-card:hover { transform: translateY(-6px); box-shadow: 0 24px 44px -18px rgba(17, 24, 39, .18); }
.home-prod-card__banner { position: relative; height: 150px; display: flex; align-items: center; justify-content: center; }
.home-prod-card__logo { font-family: 'Poppins'; font-weight: 800; font-size: 26px; }
.home-prod-card__badge { position: absolute; top: 14px; left: 14px; font-weight: 600; font-size: 12px; padding: 5px 11px; border-radius: 999px; }
.home-prod-card__body { padding: 22px; }
.home-prod-card__title-row { display: flex; align-items: center; justify-content: space-between; }
.home-prod-card__title-row h3 { font-size: 19px; font-weight: 600; }
.home-prod-card__score { font-weight: 700; font-size: 15px; color: #fff; background: linear-gradient(135deg, #2563EB, #7C3AED); padding: 3px 10px; border-radius: 9px; }
.home-prod-card__rating { color: #F59E0B; font-size: 14px; margin: 8px 0 12px; }
.home-prod-card__rating span { color: #6B7280; }
.home-prod-card__summary { font-size: 14px; color: #6B7280; line-height: 1.55; min-height: 44px; }
.home-prod-card__foot { display: flex; align-items: center; justify-content: space-between; margin-top: 18px; padding-top: 16px; border-top: 1px solid #F1F5F9; }
.home-prod-card__price { font-size: 14px; color: #111827; }
.home-prod-card__price span { color: #6B7280; font-weight: 400; }
.home-prod-card__cta { background: #EEF2FF; color: #2563EB; font-weight: 600; font-size: 14px; padding: 9px 16px; border-radius: 11px; transition: background .2s, color .2s; }
.home-prod-card__cta:hover { background: #2563EB; color: #fff; }

/* ===== Comparison table ===== */
.home-compare { max-width: 1200px; margin: 0 auto; padding: 56px 24px; }
.home-compare__wrap { overflow-x: auto; border: 1px solid #EEF2F7; border-radius: 20px; box-shadow: 0 18px 40px -22px rgba(17, 24, 39, .16); }
.home-compare__table { width: 100%; border-collapse: collapse; min-width: 720px; background: #fff; }
.home-compare__table thead tr { background: #F8FAFC; }
.home-compare__table th { padding: 18px; font-family: 'Poppins'; font-size: 14px; color: #374151; font-weight: 600; }
.home-compare__table th:first-child { text-align: left; padding: 18px 22px; }
.home-compare__table td { padding: 18px; border-top: 1px solid #F1F5F9; text-align: center; font-size: 14px; }
.home-compare__table td:first-child { text-align: left; padding: 18px 22px; }
.home-compare__row-id { display: flex; align-items: center; gap: 12px; }
.home-compare__abbr { width: 34px; height: 34px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-family: 'Poppins'; font-weight: 700; font-size: 13px; flex-shrink: 0; }
.home-compare__name { font-weight: 600; font-size: 15px; }
.home-compare__tag { font-size: 12px; color: #6B7280; }
.home-compare__score { font-weight: 700; color: #2563EB; }
.home-compare__deal { background: #047857; color: #fff; font-weight: 600; font-size: 13px; padding: 8px 15px; border-radius: 10px; white-space: nowrap; transition: opacity .2s; }
.home-compare__deal:hover { color: #fff; opacity: .88; }

/* ===== Buying guides ===== */
.home-guides { background: #F8FAFC; border-top: 1px solid #F1F5F9; }
.home-guides__inner { max-width: 1200px; margin: 0 auto; padding: 80px 24px; }
.home-guides-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.home-guide-card { display: block; background: #fff; border: 1px solid #EEF2F7; border-radius: 20px; overflow: hidden; box-shadow: 0 2px 4px rgba(17, 24, 39, .03); transition: transform .25s, box-shadow .25s; }
.home-guide-card:hover { color: inherit; transform: translateY(-6px); box-shadow: 0 24px 44px -18px rgba(17, 24, 39, .18); }
.home-guide-card__banner { height: 130px; display: flex; align-items: flex-end; padding: 16px; }
.home-guide-card__time { background: rgba(255, 255, 255, .85); backdrop-filter: blur(4px); font-size: 12px; font-weight: 600; color: #374151; padding: 5px 12px; border-radius: 999px; }
.home-guide-card__body { padding: 22px; }
.home-guide-card h3 { font-size: 18px; font-weight: 600; line-height: 1.35; margin-bottom: 8px; }
.home-guide-card p { font-size: 14px; color: #6B7280; line-height: 1.55; }

/* ===== FAQ ===== */
.home-faq { max-width: 820px; margin: 0 auto; padding: 80px 24px; }
.home-faq__head { text-align: center; margin-bottom: 44px; }
.home-faq__head h2 { font-size: 40px; font-weight: 800; margin-top: 12px; }
.home-faq__list { display: flex; flex-direction: column; gap: 12px; }
.home-faq__item { background: #fff; border: 1px solid #EEF2F7; border-radius: 16px; overflow: hidden; }
.home-faq__q { width: 100%; text-align: left; padding: 20px 24px; background: transparent; border: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-family: 'Poppins'; font-weight: 600; font-size: 17px; color: #111827; }
.home-faq__q-plus { font-size: 24px; color: #7C3AED; transition: transform .25s; line-height: 1; }
.home-faq__item.is-open .home-faq__q-plus { transform: rotate(45deg); }
.home-faq__a-wrap { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.home-faq__item.is-open .home-faq__a-wrap { max-height: 320px; }
.home-faq__a { padding: 0 24px 22px; font-size: 15px; color: #6B7280; line-height: 1.65; }

/* ===== Newsletter ===== */
.home-newsletter { max-width: 1200px; margin: 0 auto; padding: 20px 24px 90px; }
.home-newsletter__box { position: relative; overflow: hidden; border-radius: 28px; background: linear-gradient(135deg, #2563EB, #7C3AED); padding: 64px 48px; text-align: center; }
.home-newsletter__blob-1 { position: absolute; top: -60px; right: -40px; width: 260px; height: 260px; border-radius: 50%; background: rgba(255, 255, 255, .09); }
.home-newsletter__blob-2 { position: absolute; bottom: -80px; left: -30px; width: 220px; height: 220px; border-radius: 50%; background: rgba(255, 255, 255, .07); }
.home-newsletter__content { position: relative; }
.home-newsletter__content h2 { font-size: 36px; font-weight: 800; color: #fff; margin-bottom: 12px; }
.home-newsletter__content p { font-size: 17px; color: rgba(255, 255, 255, .85); max-width: 520px; margin: 0 auto 30px; }
.home-newsletter__form { display: flex; gap: 12px; max-width: 480px; margin: 0 auto; flex-wrap: wrap; justify-content: center; }
.home-newsletter__input { flex: 1; min-width: 220px; border: none; outline: none; border-radius: 14px; padding: 15px 18px; font-family: 'Inter'; font-size: 15px; }
.home-newsletter__submit { background: #111827; color: #fff; font-weight: 600; font-size: 15px; padding: 15px 26px; border-radius: 14px; border: none; cursor: pointer; white-space: nowrap; transition: transform .2s; }
.home-newsletter__submit:hover { transform: translateY(-2px); }

/* ===== Responsive ===== */
@media (max-width: 900px) {
	.home-hero__inner { grid-template-columns: 1fr !important; }
	.home-cat-grid, .home-prod-grid, .home-guides-grid { grid-template-columns: 1fr 1fr !important; }
	.home-hero h1 { font-size: 38px !important; }
}
@media (max-width: 560px) {
	.home-cat-grid, .home-prod-grid, .home-guides-grid { grid-template-columns: 1fr !important; }
	.home-hero h1 { font-size: 32px !important; }
	.home-section-head h2, .home-section-toprow h2, .home-faq__head h2 { font-size: 28px !important; }
}
