/* I-STEM — Homepage */

.section { padding-block: 76px; }
.section.tight { padding-block: 54px; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 34px; }
.sec-head h2 { font-size: clamp(26px, 3vw, 36px); }
.sec-head p { color: var(--ink-2); margin-top: 10px; max-width: 540px; font-size: 16.5px; }
.sec-link { display: inline-flex; align-items: center; gap: 7px; color: var(--brand); font-weight: 600; font-size: 15px; white-space: nowrap; }
.sec-link:hover { gap: 11px; }
@media (max-width: 640px){ .sec-head { flex-direction: column; align-items: flex-start; gap: 12px; } }

/* ---- Hero ---- */
.hero { position: relative; overflow: visible; background:
   radial-gradient(120% 120% at 85% -10%, rgba(34,86,224,.5) 0%, rgba(34,86,224,0) 45%),
   radial-gradient(90% 90% at 8% 110%, rgba(10,166,194,.32) 0%, rgba(10,166,194,0) 50%),
   linear-gradient(160deg, var(--navy-800) 0%, var(--navy-900) 70%); color: #fff; }
.hero::before { content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.10) 1px, transparent 1.4px);
  background-size: 26px 26px; mask-image: linear-gradient(180deg, rgba(0,0,0,.9), transparent 75%); opacity: .5; }
.hero .wrap { position: relative; padding-top: 74px; padding-bottom: 78px; display: grid; grid-template-columns: minmax(0, 1.08fr) 392px; gap: 56px; align-items: center; }
@media (max-width: 1040px){ .hero .wrap { grid-template-columns: 1fr; } .hero-visual { display: none !important; } }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #aec4ff; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); padding: 8px 15px; border-radius: 999px; }
.hero h1 { color: #fff; font-size: clamp(34px, 5.4vw, 62px); line-height: 1.03; letter-spacing: -.025em; max-width: 16ch; margin-top: 24px; }
.hero h1 .accent { color: #ff7a47; }
.hero .lede { color: #c4d2ec; font-size: clamp(17px, 1.8vw, 20px); line-height: 1.55; max-width: 56ch; margin-top: 22px; }

/* hero search */
.hsearch { margin-top: 36px; background: #fff; border-radius: 16px; padding: 9px; display: flex; gap: 8px; box-shadow: var(--shadow-navy); max-width: 760px; }
.hsearch .hs-field { flex: 1; display: flex; align-items: center; gap: 11px; padding: 10px 16px; border-radius: 11px; min-width: 0; }
.hsearch .hs-field:hover { background: var(--bg); }
.hsearch .hs-field .ic { color: var(--ink-3); flex-shrink: 0; }
.hsearch .hs-field input { border: 0; outline: 0; font-family: var(--ff-body); font-size: 16px; width: 100%; color: var(--ink); background: transparent; }
.hsearch .hs-field input::placeholder { color: var(--ink-3); }
.hsearch .hs-div { width: 1px; background: var(--line); margin: 8px 0; }
.hsearch .hs-loc { flex: 0 0 200px; }
.hsearch .hs-loc-ac { flex: 0 0 200px; }
@media (max-width: 680px){ .hsearch { flex-direction: column; } .hsearch .hs-div { display: none; } .hsearch .hs-loc { flex: 1; border-top: 1px solid var(--line); } .hsearch .hs-loc-ac { flex: 1 1 auto; border-top: 1px solid var(--line); } }
.hs-ai { display: flex; align-items: center; gap: 9px; margin-top: 16px; color: #aec4ff; font-size: 14.5px; }
.hs-ai b { color: #fff; font-weight: 600; }
.hs-suggest { display: inline-flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.hs-suggest button { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); color: #d6e2f7; font-size: 13.5px; font-weight: 500; padding: 7px 13px; border-radius: 999px; transition: background .15s; }
.hs-suggest button:hover { background: rgba(255,255,255,.18); color: #fff; }

.hero-stats { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 16px; border-top: 1px solid rgba(255,255,255,.14); padding-top: 30px; }
.hstat .n { font-family: var(--ff-display); font-weight: 700; font-size: clamp(26px, 3.4vw, 38px); color: #fff; letter-spacing: -.02em; }
.hstat .l { color: #9fb3d9; font-size: 14px; margin-top: 4px; }
@media (max-width: 620px){ .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 22px 14px; } }

/* hero right-side floating visual */
.hero-visual { position: relative; justify-self: center; width: 340px; max-width: 100%; }
.hv-card { background: var(--card); border-radius: 20px; box-shadow: var(--shadow-navy); overflow: hidden; cursor: pointer; transition: transform .25s ease, box-shadow .25s ease; }
.hv-card:hover { transform: translateY(-4px); box-shadow: 0 28px 70px rgba(8,12,40,.42); }
.hv-img { height: 188px; background-size: cover; background-position: center; position: relative; }
.hv-status { position: absolute; top: 13px; left: 13px; box-shadow: 0 2px 8px rgba(0,0,0,.15); }
.hv-body { padding: 16px 18px 18px; }
.hv-inst { display: flex; align-items: center; gap: 7px; font-size: 13px; color: var(--ink-3); font-weight: 500; }
.hv-name { font-family: var(--ff-display); font-weight: 600; font-size: 20px; color: var(--ink); margin-top: 5px; }
.hv-slots { display: flex; gap: 8px; margin: 14px 0 16px; }
.hv-slot { font-family: var(--ff-display); font-weight: 600; font-size: 13.5px; color: var(--brand); background: var(--brand-50); border-radius: 8px; padding: 7px 11px; }
.hv-slot.off { color: var(--ink-3); background: var(--bg-2); text-decoration: line-through; }
.hv-chip { position: absolute; display: inline-flex; align-items: center; gap: 7px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 9px 13px; font-size: 13px; font-weight: 600; color: var(--ink); box-shadow: var(--shadow-lg); white-space: nowrap; }
.hv-chip-a { top: 158px; right: -34px; }
.hv-chip-b { top: -18px; left: -38px; }
.hv-spark { width: 22px; height: 22px; border-radius: 6px; background: linear-gradient(135deg, var(--brand), var(--navy-700)); color: #fff; display: grid; place-items: center; }
@media (prefers-reduced-motion: no-preference){
  .hero-visual { animation: hvfloat 6s ease-in-out infinite; }
  .hv-chip-a { animation: hvfloat 5s ease-in-out infinite .4s; }
  .hv-chip-b { animation: hvfloat 7s ease-in-out infinite .2s; }
}
@keyframes hvfloat { 0%,100%{ transform: translateY(0); } 50%{ transform: translateY(-7px); } }

/* ---- Technique grid ---- */
.tech-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 900px){ .tech-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px){ .tech-grid { grid-template-columns: 1fr; } }
.tech-card { display: flex; align-items: center; gap: 14px; padding: 18px 18px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); cursor: pointer; transition: transform .14s, box-shadow .18s, border-color .18s; min-width: 0; }
.tech-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--brand-400); }
.tech-ic { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand); flex-shrink: 0; }
.tech-card .tn { font-family: var(--ff-display); font-weight: 600; font-size: 16px; }
.tech-card > div { min-width: 0; }
.tech-card .tc { font-size: 13px; color: var(--ink-3); margin-top: 2px; }

/* ---- Equipment grid ---- */
.eq-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 1080px){ .eq-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 820px){ .eq-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px){ .eq-grid { grid-template-columns: 1fr; } }

/* ---- How it works ---- */
.bgband { background: var(--bg-2); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
@media (max-width: 900px){ .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px){ .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding: 26px 22px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); }
.step .sn { width: 42px; height: 42px; border-radius: 11px; background: var(--ink); color: #fff; font-family: var(--ff-display); font-weight: 700; font-size: 18px; display: grid; place-items: center; margin-bottom: 16px; }
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { color: var(--ink-2); font-size: 14.5px; line-height: 1.55; }
.step .sic { position: absolute; top: 24px; right: 22px; color: var(--brand-400); }

/* ---- AI band ---- */
.aiband { position: relative; overflow: hidden; border-radius: var(--r-xl); background: linear-gradient(135deg, var(--navy-700), var(--navy-900)); color: #fff; padding: 46px 48px; display: flex; align-items: center; gap: 40px; }
.aiband::after { content:""; position:absolute; right:-60px; top:-60px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(77,124,255,.4), transparent 70%); }
.aiband .ai-ic { width: 64px; height: 64px; border-radius: 16px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); display: grid; place-items: center; color: #aec4ff; flex-shrink: 0; }
.aiband h3 { color: #fff; font-size: clamp(22px, 2.6vw, 30px); }
.aiband p { color: #c4d2ec; margin-top: 10px; max-width: 60ch; font-size: 16px; line-height: 1.55; }
.aiband .ai-cta { margin-left: auto; flex-shrink: 0; }
@media (max-width: 760px){ .aiband { flex-direction: column; align-items: flex-start; padding: 32px 26px; gap: 22px; } .aiband .ai-cta { margin-left: 0; } }

/* ---- Audience split ---- */
.aud-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px){ .aud-grid { grid-template-columns: 1fr; } }
.aud-card { padding: 30px 28px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--card); }
.aud-card .aud-ic { width: 52px; height: 52px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 18px; }
.aud-card h3 { font-size: 21px; margin-bottom: 10px; }
.aud-card p { color: var(--ink-2); line-height: 1.6; font-size: 15px; }
.aud-card ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.aud-card li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--ink-2); }
.aud-card li .ic { color: var(--green); flex-shrink: 0; margin-top: 2px; }

/* ---- Footprint ---- */
.footprint { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
@media (max-width: 860px){ .footprint { grid-template-columns: 1fr; gap: 30px; } }
.fp-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 28px; }
.fp-stat { padding: 20px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); }
.fp-stat .n { font-family: var(--ff-display); font-weight: 700; font-size: 30px; color: var(--brand); }
.fp-stat .l { color: var(--ink-2); font-size: 14px; margin-top: 3px; }
.fp-map { aspect-ratio: 4/5; border-radius: var(--r-lg); }
