/* ===== hero.css — homepage hero slider (markup from js/hero-slider.js) ===== */
.hero { position: relative; background: linear-gradient(120deg, #eef4ff 0%, #fff7ed 100%); overflow: hidden; }
.hero-slider { position: relative; overflow: hidden; }
.hero-track { display: flex; transition: transform .7s cubic-bezier(.65, 0, .35, 1); will-change: transform; }
.hero-slide { flex: 0 0 100%; min-width: 0; padding: 54px 0 70px; position: relative; }
.hero-slide::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 85% 20%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 55%); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 36px; align-items: center; position: relative; }
.hero-eyebrow { display: inline-flex; gap: 8px; align-items: center; font-size: .82rem; font-weight: 700; color: var(--accent); background: #fff; border: 1px solid color-mix(in srgb, var(--accent) 35%, #fff); padding: 6px 14px; border-radius: 99px; box-shadow: var(--shadow); margin-bottom: 16px; }
.hero h1, .hero .h1-like { font-size: clamp(1.9rem, 3.6vw, 3rem); line-height: 1.15; margin: 0 0 14px; color: var(--navy); font-family: var(--font-head); font-weight: 800; }
.hero .lead { font-size: 1.05rem; color: #3b4f63; max-width: 560px; }
.hero-points { list-style: none; padding: 0; margin: 0 0 14px; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .9rem; font-weight: 600; color: var(--navy); } .hero-points i { color: var(--green); margin-right: 6px; }
.hero-trust { list-style: none; padding: 0; margin: 0 0 22px; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .84rem; color: var(--muted); } .hero-trust i { color: var(--accent); margin-right: 6px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-visual { display: grid; grid-template-columns: minmax(0, 1fr) 230px; gap: 16px; align-items: center; }
.art { position: relative; min-height: 320px; }
.art-ring { position: absolute; border-radius: 50%; border: 2px dashed color-mix(in srgb, var(--accent) 35%, transparent); } .art-ring.r1 { inset: 4% 4% 8% 4%; animation: spin 40s linear infinite; } .art-ring.r2 { inset: 16%; border-style: solid; opacity: .35; }
@keyframes spin { to { transform: rotate(360deg); } }
.art-panel { position: absolute; inset: 8% 6%; background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg); padding: 12px 16px; display: flex; flex-direction: column; }
.art-bar { display: flex; align-items: center; gap: 5px; border-bottom: 1px solid var(--line); padding-bottom: 8px; margin-bottom: 8px; } .art-bar i { width: 9px; height: 9px; border-radius: 50%; background: #ff6b6b; } .art-bar i:nth-child(2) { background: #ffd43b; } .art-bar i:nth-child(3) { background: #51cf66; } .art-bar span { margin-left: 8px; font: 700 .8rem var(--font-head); color: var(--navy); }
.art-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; font-size: .82rem; font-weight: 600; color: var(--navy); } .art-list li { animation: fade-up .6s both; animation-delay: var(--d); } .art-list i { color: var(--accent); margin-right: 8px; }
.art-chart { margin-top: auto; height: 72px; display: flex; align-items: flex-end; gap: 7px; position: relative; } .art-chart span { flex: 1; background: linear-gradient(180deg, var(--accent), color-mix(in srgb, var(--accent) 40%, #fff)); border-radius: 5px 5px 0 0; animation: grow-h .8s both; animation-delay: var(--d); transform-origin: bottom; }
.art-chart em { position: absolute; right: 0; top: -6px; color: var(--green); font-style: normal; font-size: 1.1rem; }
@keyframes grow-h { from { transform: scaleY(0); } }
.art-chip { position: absolute; background: #fff; border-radius: 12px; padding: 8px 12px; box-shadow: var(--shadow-lg); font-size: .76rem; font-weight: 700; color: var(--navy); display: flex; gap: 7px; align-items: center; } .art-chip i { color: var(--accent); font-size: 1rem; }
.art-chip.c1 { left: -2%; top: 6%; } .art-chip.c2 { right: -3%; top: 38%; } .art-chip.c3 { left: 4%; bottom: 2%; }
.trending { background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); overflow: hidden; }
.trending h3 { margin: 0; background: var(--navy); color: #fff; padding: 11px 16px; font-size: .95rem; } .trending h3 i { color: var(--orange); margin-right: 6px; }
.trending a { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-bottom: 1px solid var(--line); color: var(--navy); font-weight: 600; font-size: .84rem; } .trending a:last-child { border-bottom: 0; } .trending a:hover { background: var(--bg); }
.trending a > i:first-child { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 14%, #fff); color: var(--c); flex: none; } .trending .go { margin-left: auto; font-size: .7rem; color: var(--muted); }
.hero-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 5; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); color: var(--navy); } .hero-arrow:hover { background: var(--blue); color: #fff; } .hero-arrow.prev { left: 12px; } .hero-arrow.next { right: 12px; }
.hero-dots { position: absolute; left: 0; right: 0; bottom: 18px; display: flex; justify-content: center; gap: 9px; z-index: 5; } .hero-dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; background: #b8c6d8; padding: 0; transition: width .3s, background .3s; } .hero-dots button.on { width: 28px; border-radius: 6px; background: var(--orange); }
.hero-slide.static .hero-copy { max-width: 700px; }
@media (max-width: 1100px) { .hero-visual { grid-template-columns: 1fr; } .trending { display: none; } .hero-grid { grid-template-columns: 1fr; } .art { min-height: 300px; max-width: 520px; } }
@media (max-width: 640px) { .hero-slide { padding: 34px 0 64px; } .hero-arrow { display: none; } .art { min-height: 260px; } .art-chip.c2 { right: 0; } }
