/* 
 * Homepage styles
 */

.home-hero { background: var(--navy); padding: 56px 32px 48px; }
.home-hero-in { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.hh-h1 { font-size: 44px; font-weight: 800; color: #fff; line-height: 1.15; margin-bottom: 16px; letter-spacing: -.025em; }
.hh-h1 em { color: var(--mint); font-style: normal; }
.hh-sub { font-size: 15px; color: rgba(255,255,255,.55); margin-bottom: 24px; line-height: 1.6; }

.hh-search { display: flex; background: #fff; border-radius: 10px; overflow: hidden; margin-bottom: 24px; box-shadow: 0 8px 24px rgba(7, 24, 39, .15); }
.hh-search-wrap { position: relative; flex: 1; }
.hh-search-wrap::before { content: '🔍'; position: absolute; left: 16px; top: 50%; transform: translateY(-50%); font-size: 14px; pointer-events: none; }
.hh-search input { width: 100%; border: none; outline: none; padding: 14px 16px 14px 44px; font-family: inherit; font-size: 14.5px; color: var(--text); }
.hh-search input::placeholder { color: #94A3B8; }
.hh-search button { background: var(--mint); color: var(--navy); padding: 0 24px; font-weight: 800; font-size: 14.5px; border: none; cursor: pointer; transition: .15s; }
.hh-search button:hover { background: var(--mint-d); }

.hh-trust { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.hh-trust-item { display: flex; align-items: center; gap: 10px; }
.hh-trust-icon { color: var(--mint); font-size: 16px; }
.hh-trust-strong { display: block; font-size: 13px; font-weight: 700; color: rgba(255,255,255,.85); }
.hh-trust-small { display: block; font-size: 11.5px; color: rgba(255,255,255,.4); }

/* Hero right panel */
.hh-right { display: grid; grid-template-columns: 1fr 140px; gap: 12px; }
.hh-right-main { display: flex; flex-direction: column; gap: 10px; }
.verified-strip { background: rgba(0,201,167,.12); border: 1px solid rgba(0,201,167,.2); border-radius: 10px; padding: 12px 14px; display: flex; align-items: center; justify-content: space-between; }
.vs-left { display: flex; align-items: center; gap: 10px; }
.vs-icon { width: 30px; height: 30px; background: var(--mint); border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: 14px; flex-shrink: 0; }
.vs-title { font-size: 13.5px; font-weight: 700; color: #fff; line-height: 1.2; }
.vs-sub { font-size: 11.5px; color: rgba(255,255,255,.45); }
.mini-chart { display: flex; align-items: flex-end; gap: 3px; height: 22px; }
.mc-bar { width: 4px; border-radius: 2px; background: rgba(0,201,167,.35); }
.mc-bar.hi { background: var(--mint); }

.feat-deal { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); border-radius: 10px; padding: 12px 14px; display: flex; align-items: center; gap: 12px; }
.fd-logo { width: 42px; height: 42px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 800; color: #fff; flex-shrink: 0; }
.fd-logo img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; }
.fd-info { flex: 1; min-width: 0; }
.fd-name { font-size: 13px; font-weight: 700; color: #fff; margin-bottom: 2px; }
.fd-sub { font-size: 11.5px; color: rgba(255,255,255,.45); }
.fd-right { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.fd-code { background: rgba(0,0,0,.25); border: 1px solid rgba(255,255,255,.12); border-radius: 5px; padding: 3px 8px; font-family: monospace; font-size: 12.5px; font-weight: 700; color: var(--mint); letter-spacing: .5px; }
.fd-btn { font-size: 11.5px; font-weight: 700; padding: 6px 12px; border-radius: 6px; border: none; cursor: pointer; }
.fb-reveal { background: var(--mint); color: var(--navy); }
.fb-view { background: rgba(255,255,255,.15); color: #fff; }
.fb-access { background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.15); }
.fd-meta { font-size: 10.5px; color: rgba(255,255,255,.35); display: flex; align-items: center; gap: 5px; }

.hh-right-col { display: flex; flex-direction: column; gap: 12px; }
.savings-card, .rating-card { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); border-radius: 10px; padding: 14px; }
.sav-label { font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: rgba(255,255,255,.4); margin-bottom: 4px; }
.sav-amount { font-size: 20px; font-weight: 800; color: var(--mint); margin-bottom: 10px; }
.sav-bars { display: flex; align-items: flex-end; gap: 4px; height: 32px; }
.sav-bar { flex: 1; border-radius: 2px; background: rgba(0,201,167,.25); }
.sav-bar.hi { background: var(--mint); }
.sav-days { display: flex; justify-content: space-between; margin-top: 6px; }
.sav-day { font-size: 9px; color: rgba(255,255,255,.25); }
.rat-label { font-size: 11px; color: rgba(255,255,255,.45); margin-bottom: 6px; }
.rat-stars { font-size: 14px; color: #F59E0B; margin-bottom: 4px; }
.rat-score { font-size: 24px; font-weight: 800; color: #fff; line-height: 1; }
.rat-reviews { font-size: 10.5px; color: rgba(255,255,255,.35); margin-top: 4px; }

/* Sections */
.home-body { max-width: 1240px; margin: 0 auto; padding: 40px 32px; }
.home-section { margin-bottom: 48px; }
.deals-grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }

.checked-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.checked-item { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 12px 14px; display: flex; align-items: center; gap: 12px; cursor: pointer; transition: .15s; }
.checked-item:hover { border-color: var(--mint); box-shadow: 0 4px 12px rgba(0,0,0,.04); }
.ci-logo { width: 38px; height: 38px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; color: #fff; flex-shrink: 0; background: var(--navy); }
.ci-logo img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; }
.ci-info { flex: 1; min-width: 0; }
.ci-name { font-size: 13.5px; font-weight: 700; color: var(--text); }
.ci-sub { font-size: 11.5px; color: var(--muted); }
.ci-right { display: flex; align-items: center; gap: 8px; }
.ci-pill { font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 10px; display: flex; align-items: center; gap: 4px; }
.cip-active { background: #DCFCE7; color: #15803D; }
.cip-expired { background: #FEE2E2; color: #B91C1C; }
.ci-arrow { color: var(--muted); font-size: 16px; }

.split-row { display: grid; grid-template-columns: 3fr 2fr; gap: 32px; }
.new-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.nc { background: #fff; border: 1px solid var(--border); border-radius: var(--r); padding: 16px; cursor: pointer; transition: .2s; position: relative; }
.nc:hover { border-color: var(--mint); transform: translateY(-2px); box-shadow: var(--sh); }
.nc-new { position: absolute; top: 10px; right: 10px; background: var(--mint); color: var(--navy); font-size: 10px; font-weight: 800; padding: 3px 8px; border-radius: 4px; }
.nc-logo { width: 46px; height: 46px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 800; color: #fff; margin-bottom: 10px; background: var(--navy); }
.nc-logo img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; }
.nc-name { font-size: 14px; font-weight: 800; color: var(--text); margin-bottom: 2px; }
.nc-cat { font-size: 11.5px; font-weight: 600; color: var(--mint-d); margin-bottom: 6px; }
.nc-desc { font-size: 12px; color: var(--muted); line-height: 1.45; margin-bottom: 10px; }
.nc-price { font-size: 15px; font-weight: 800; color: var(--text); margin-bottom: 10px; }
.nc-btn { width: 100%; background: var(--navy); color: #fff; border: none; padding: 10px; border-radius: 7px; font-size: 13px; font-weight: 700; cursor: pointer; transition: .15s; }
.nc-btn:hover { background: #1a3450; }
.nc-added { font-size: 11px; color: var(--muted); margin-top: 8px; display: flex; align-items: center; gap: 5px; }

.cat-section-inner { background: #fff; border: 1px solid var(--border); border-radius: var(--r); padding: 18px; }
.cat-2grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cat-item { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 8px; cursor: pointer; transition: .15s; border: 1px solid transparent; }
.cat-item:hover { background: var(--mint-bg); border-color: rgba(0,201,167,.2); }
.cat-item-icon { font-size: 18px; }
.cat-item-name { font-size: 13.5px; font-weight: 600; color: var(--text); flex: 1; }
.cat-item-count { font-size: 11.5px; color: var(--muted); font-weight: 500; }
.cat-view-all { grid-column: span 2; padding: 12px; background: var(--mint-bg); border-radius: 8px; text-align: center; font-size: 13.5px; font-weight: 700; color: var(--mint-d); cursor: pointer; border: 1px dashed rgba(0,201,167,.3); margin-top: 4px; }
.cat-view-all:hover { background: var(--mint); color: var(--navy); }

.how-bg { background: var(--navy); padding: 56px 32px; }
.how-in { max-width: 1240px; margin: 0 auto; }
.how-title { font-size: 26px; font-weight: 800; color: #fff; text-align: center; margin-bottom: 44px; }
.how-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; position: relative; align-items: start; }
.how-step { text-align: center; padding: 0 32px; }
.how-num { width: 64px; height: 64px; border-radius: 50%; background: rgba(0,201,167,.12); border: 2px solid var(--mint); display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; font-size: 24px; font-weight: 800; color: var(--mint); }
.how-step h3 { font-size: 17px; font-weight: 800; color: #fff; margin-bottom: 10px; }
.how-step p { font-size: 14px; color: rgba(255,255,255,.45); line-height: 1.6; }
