/* ============================================================
   iSeries Technology — HOME (flagship)
   "Sleek Modern Tech" — Stripe / Linear / Vercel language.
   Loaded AFTER styles.css. Real photography · refined motion.
   ============================================================ */
:root { --maxw: 1180px; }
.v2 .container { max-width: var(--maxw); }

/* Subtle reveal — content is VISIBLE by default; only hidden once JS opts in
   (body.has-anim), so a script/CDN failure never hides content. */
.v2.has-anim [data-reveal],
.v2.has-anim [data-reveal-group] > * {
  opacity: 0; transform: translateY(22px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay: var(--rd, 0s); will-change: opacity, transform;
}
.v2.has-anim [data-reveal].is-in,
.v2.has-anim [data-reveal-group].is-in > * { opacity: 1; transform: none; }

/* Section rhythm */
.v2 .sec { padding: clamp(2.8rem, 5.5vw, 5rem) 0; position: relative; }
.eyebrow2 { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--font-head); font-weight: 600; font-size: .8rem; letter-spacing: .02em; color: var(--green-600); }
.eyebrow2::before { content: ''; width: 16px; height: 16px; border-radius: 5px; background: var(--grad-brand); box-shadow: 0 2px 8px -1px rgba(94,159,51,.5); }
.v2 .h-sec { font-size: clamp(2rem, 4vw, 3.1rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.06; color: var(--slate-900); margin: 1rem 0; }
.v2 .h-sec .hl { color: var(--green-600); }
.v2 .sub { font-size: 1.12rem; color: var(--slate-500); max-width: 600px; line-height: 1.6; }
.center { text-align: center; } .center .sub, .center .eyebrow2 { margin-left: auto; margin-right: auto; }
.center .eyebrow2 { justify-content: center; }

/* ============================================================
   HERO
   ============================================================ */
.hero2 { position: relative; padding: clamp(3rem, 6vw, 5.5rem) 0 clamp(2.5rem,5vw,4rem); overflow: hidden; }
.hero2__mesh { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.hero2__mesh::before, .hero2__mesh::after { content: ''; position: absolute; border-radius: 50%; filter: blur(90px); }
.hero2__mesh::before { width: 760px; height: 560px; background: radial-gradient(ellipse, rgba(132,194,71,.22), transparent 70%); top: -220px; left: 50%; transform: translateX(-30%); }
.hero2__mesh::after { width: 520px; height: 420px; background: radial-gradient(ellipse, rgba(159,205,102,.16), transparent 70%); top: -120px; right: -120px; }
.hero2__grid { position: absolute; inset: 0; z-index: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask: radial-gradient(ellipse 70% 55% at 50% 0%, #000 30%, transparent 75%); mask: radial-gradient(ellipse 70% 55% at 50% 0%, #000 30%, transparent 75%); opacity: .5; }
.hero2 .container { position: relative; z-index: 1; }
.hero2__head { max-width: 880px; }
.hero2__pill { display: inline-flex; align-items: center; gap: .55rem; padding: .4rem .9rem .4rem .45rem; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.8); backdrop-filter: blur(8px); font-size: .82rem; font-weight: 500; color: var(--slate-600); box-shadow: var(--shadow-sm); }
.hero2__pill b { background: var(--green-500); color: #11210a; font-weight: 700; font-size: .72rem; padding: .15rem .55rem; border-radius: 999px; font-family: var(--font-head); }
.hero2 h1 { font-family: var(--font-head); font-weight: 800; font-size: clamp(2.6rem, 6.2vw, 4.7rem); line-height: 1.04; letter-spacing: -.04em; color: var(--slate-900); margin: 1.5rem 0 0; }
.hero2 h1 .hl { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero2__lead { font-size: 1.25rem; line-height: 1.6; color: var(--slate-500); max-width: 600px; margin: 1.5rem 0 0; }
.hero2__cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; align-items: center; }
.hero2__meta { display: flex; flex-wrap: wrap; gap: 1.6rem; margin-top: 1.6rem; font-size: .9rem; color: var(--slate-400); }
.hero2__meta span { display: inline-flex; align-items: center; gap: .45rem; }
.hero2__meta b { color: var(--slate-700); font-weight: 600; }

/* Browser mockup */
.mock { position: relative; margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.mock::before { content: ''; position: absolute; inset: -6% 8% 12%; background: radial-gradient(ellipse at 50% 0%, rgba(112,184,64,.35), transparent 70%); filter: blur(60px); z-index: 0; }
.browser { position: relative; z-index: 1; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-lg); }
.browser__bar { height: 42px; display: flex; align-items: center; gap: .8rem; padding: 0 1.1rem; border-bottom: 1px solid var(--line); background: linear-gradient(#fff,#fbfcf8); }
.browser__dots { display: flex; gap: .42rem; }
.browser__dots i { width: 11px; height: 11px; border-radius: 50%; background: #e2e7da; }
.browser__url { font-size: .76rem; color: var(--slate-400); background: var(--bg-2); border: 1px solid var(--line); border-radius: 7px; padding: .28rem .9rem; flex: 1; max-width: 320px; text-align: center; }
.browser__view { aspect-ratio: 16/8.4; overflow: hidden; }
.browser__view img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- Split hero (copy + tilted 3D stage with floating cards) ---------- */
.hero2--split { padding: clamp(2.5rem,5vw,4.5rem) 0 clamp(3rem,6vw,5rem); }
.hsplit { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.06fr); gap: clamp(2rem,4vw,3rem); align-items: center; }
.hsplit__copy, .hsplit__stage { min-width: 0; }
.hsplit__mock, .hsplit__scene, .browser { max-width: 100%; }
.hero2--split .hero2__head { max-width: none; }
.hero2--split h1 { font-size: clamp(2.3rem, 4.1vw, 3.6rem); margin-top: 1.3rem; }
.hero2--split .hero2__lead { font-size: 1.15rem; margin-top: 1.2rem; }

.hsplit__stage { perspective: 1300px; }
.hsplit__scene {
  position: relative; transform-style: preserve-3d;
  transform: rotateY(var(--ry, -13deg)) rotateX(var(--rx, 6deg));
  transition: transform .35s var(--ease);
}
.hsplit__mock { transform: translateZ(0); }
.hsplit__mock .browser__view { aspect-ratio: 16/10.5; }

/* Designed operations dashboard inside the browser frame */
.dash { height: 100%; background: linear-gradient(180deg,#fff,#FAFCF6); display: flex; flex-direction: column; padding: 14px 16px; gap: 11px; color: var(--slate-700); }
.dash__top { display: flex; align-items: center; justify-content: space-between; }
.dash__brand { display: flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 700; font-size: 13px; color: var(--slate-900); }
.dash__logo { width: 18px; height: 18px; border-radius: 5px; background: var(--grad-brand); }
.dash__live { display: inline-flex; align-items: center; gap: 5px; font-weight: 600; font-size: 10px; color: var(--green-600); background: var(--green-50); border: 1px solid var(--green-100); padding: 2px 7px; border-radius: 999px; }
.dash__live i { width: 6px; height: 6px; border-radius: 50%; background: var(--green-500); }
.dash__tabs { display: flex; gap: 4px; }
.dash__tabs span { font-size: 11px; font-weight: 600; color: var(--slate-400); padding: 4px 9px; border-radius: 7px; }
.dash__tabs .on { background: var(--ink-900); color: #fff; }
.dash__kpis { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.kpi { border: 1px solid var(--line); border-radius: 11px; padding: 9px 11px; background: #fff; }
.kpi span { font-size: 10px; color: var(--slate-400); }
.kpi b { display: block; font-family: var(--font-head); font-weight: 800; font-size: 19px; letter-spacing: -.03em; color: var(--slate-900); margin-top: 1px; line-height: 1.1; }
.kpi em { font-style: normal; font-size: 10px; font-weight: 600; }
.kpi em.up { color: var(--green-600); } .kpi em.down { color: #C0623A; }
.dash__main { display: grid; grid-template-columns: 1.55fr 1fr; gap: 10px; flex: 1; min-height: 0; }
.dash__chart, .dash__side { border: 1px solid var(--line); border-radius: 12px; background: #fff; padding: 11px 12px; display: flex; flex-direction: column; min-height: 0; }
.dash__chart-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.dash__chart-head b { font-family: var(--font-head); font-weight: 700; font-size: 12px; color: var(--slate-900); }
.dash__chart-head span { font-size: 10px; color: var(--slate-400); }
.dash__chart svg { width: 100%; flex: 1; min-height: 0; }
.dash__side-head { font-family: var(--font-head); font-weight: 700; font-size: 12px; color: var(--slate-900); margin-bottom: 9px; }
.dash__svc { display: flex; flex-direction: column; gap: 8px; }
.dash__svc li { display: flex; align-items: center; justify-content: space-between; font-size: 11px; color: var(--slate-700); }
.dash__svc i { font-style: normal; font-size: 9.5px; font-weight: 600; color: var(--green-600); background: var(--green-50); border: 1px solid var(--green-100); padding: 2px 7px 2px 6px; border-radius: 999px; display: inline-flex; align-items: center; gap: 4px; }
.dash__svc i::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--green-500); }
@media (max-width: 560px) { .dash__tabs { display: none; } .dash__main { grid-template-columns: 1fr; } .dash__side { display: none; } }

/* Floating glass cards */
.float-card {
  position: absolute; display: flex; align-items: center; gap: .7rem;
  padding: .75rem .95rem; border-radius: 14px;
  background: rgba(255,255,255,.82); backdrop-filter: blur(14px);
  border: 1px solid var(--line); box-shadow: var(--shadow-lg);
}
.float-card .fc-txt b { display: block; font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; letter-spacing: -.02em; color: var(--slate-900); line-height: 1.1; }
.float-card .fc-txt small { font-size: .76rem; color: var(--slate-400); }
.fc-ic { width: 36px; height: 36px; border-radius: 10px; background: var(--grad-brand-soft); border: 1px solid var(--green-100); display: grid; place-items: center; }
.fc-ic img { width: 20px; height: 20px; }
.fc-dot { width: 11px; height: 11px; border-radius: 50%; background: var(--green-500); box-shadow: 0 0 0 0 rgba(112,184,64,.5); animation: pulse 2s infinite; flex: 0 0 auto; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(112,184,64,.5);} 70%{ box-shadow: 0 0 0 11px rgba(112,184,64,0);} 100%{ box-shadow:0 0 0 0 rgba(112,184,64,0);} }
@keyframes bob { 0%,100% { translate: 0 0; } 50% { translate: 0 -8px; } }
.fc-1 { top: 15%; left: -7%; transform: translateZ(70px); }
.fc-2 { bottom: 7%; left: 2%; transform: translateZ(110px); }
.fc-3 { top: 30%; right: -6%; transform: translateZ(90px); }

@media (max-width: 900px) {
  .hsplit { grid-template-columns: minmax(0,1fr); }
  .hsplit__stage { perspective: none; margin-top: 1rem; }
  .hsplit__scene { transform: none !important; }
  .float-card { transform: none !important; animation: none; }
  .fc-1 { top: 6%; left: auto; right: 4%; }
  .fc-2 { bottom: 6%; left: 3%; }
  .fc-3 { top: 40%; right: 3%; }
}
@media (max-width: 560px) {
  .fc-1, .fc-3 { display: none; }
  .fc-2 { left: 50%; transform: translateX(-50%) !important; bottom: -14px; }
}
@media (prefers-reduced-motion: reduce) { .float-card { animation: none; } .hsplit__scene { transition: none; } }

/* Contact layout */
.contact-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem,4vw,3rem); align-items: start; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: clamp(1.6rem,3vw,2.4rem); box-shadow: var(--shadow); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* Logo cloud */
.logos { padding: 2.6rem 0 .5rem; }
.logos__label { text-align: center; font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--slate-400); margin-bottom: 1.8rem; font-family: var(--font-head); }
.logos__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(1.6rem, 4vw, 3.4rem); }
.logos__row img { height: 34px; width: auto; max-width: 130px; object-fit: contain; filter: grayscale(100%); opacity: .55; transition: var(--t); }
.logos__row img:hover { filter: grayscale(0); opacity: 1; }

/* ============================================================
   FEATURE ROWS (alternating photo + text)
   ============================================================ */
.feature { display: grid; grid-template-columns: 1.02fr 1.18fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.feature + .feature { margin-top: clamp(2.5rem, 5vw, 4rem); }
.feature--rev .feature__copy { order: 2; }
.feature__copy h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; color: var(--slate-900); margin: .9rem 0; }
.feature__copy .sub { font-size: 1.05rem; }
.feature__list { margin-top: 1.4rem; display: grid; gap: .7rem; }
.feature__list li { position: relative; padding-left: 1.8rem; color: var(--slate-700); font-size: .98rem; }
.feature__list li::before { content: ''; position: absolute; left: 0; top: .35em; width: 1.1rem; height: 1.1rem; border-radius: 50%; background: var(--green-50); border: 1px solid var(--green-200); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2 2 4.5-4.6' stroke='%235E9F33' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center; }
.feature__cta { margin-top: 1.8rem; }
.frame { position: relative; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-lg); aspect-ratio: 4/3; background: var(--ink-900); }
.frame img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.feature:hover .frame img { transform: scale(1.04); }
.frame__tag { position: absolute; left: 1rem; bottom: 1rem; z-index: 2; display: inline-flex; align-items: center; gap: .5rem; padding: .45rem .9rem; border-radius: 10px; background: rgba(15,20,9,.6); backdrop-filter: blur(8px); color: #fff; font-family: var(--font-head); font-weight: 600; font-size: .82rem; border: 1px solid rgba(255,255,255,.12); }
.frame__tag::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--green-400); box-shadow: 0 0 10px var(--green-400); }

/* ============================================================
   CAPABILITY GRID (Linear-style cards)
   ============================================================ */
.caps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
/* centered flow for odd counts (e.g. 7) so the last row centers instead of orphaning */
.caps.caps--flex { display: flex; flex-wrap: wrap; justify-content: center; }
.caps.caps--flex > .cap { flex: 1 1 260px; max-width: 305px; }
.cap { position: relative; border: 1px solid var(--line); border-radius: 18px; padding: 1.7rem; background: #fff; overflow: hidden; transition: var(--t); }
.cap::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--grad-brand); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.cap:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--green-100); }
.cap:hover::before { transform: scaleX(1); }
.cap__ic { width: 50px; height: 50px; border-radius: 13px; background: var(--grad-brand-soft); border: 1px solid var(--green-100); display: grid; place-items: center; margin-bottom: 1.1rem; }
.cap__ic img { width: 26px; height: 26px; }
.cap h3 { font-size: 1.18rem; font-weight: 700; letter-spacing: -.02em; margin-bottom: .4rem; }
.cap p { font-size: .94rem; color: var(--slate-500); }

/* Stats band — icon + consistent number cards with dividers */
.stats2 { display: grid; grid-template-columns: repeat(4,1fr); border: 1px solid var(--line); border-radius: 22px; background: linear-gradient(180deg,#fff,#FAFCF6); overflow: hidden; box-shadow: var(--shadow-sm); }
.stat2 { padding: clamp(1.6rem,3vw,2.3rem) clamp(1.2rem,2vw,1.8rem); display: flex; flex-direction: column; align-items: flex-start; transition: background .25s var(--ease); }
.stat2 + .stat2 { border-left: 1px solid var(--line); }
.stat2:hover { background: var(--green-50); }
.stat2__ic { width: 44px; height: 44px; border-radius: 12px; background: var(--grad-brand-soft); border: 1px solid var(--green-100); display: grid; place-items: center; margin-bottom: 1rem; }
.stat2__ic img { width: 23px; height: 23px; }
.stat2 b { font-family: var(--font-head); font-weight: 800; font-size: clamp(2.1rem,3.2vw,2.9rem); letter-spacing: -.04em; color: var(--slate-900); line-height: 1; }
.stat2 b .ac { color: var(--green-600); }
.stat2 span { font-size: .94rem; color: var(--slate-500); margin-top: .6rem; }
@media (max-width: 760px) { .stats2 { grid-template-columns: 1fr 1fr; } .stat2:nth-child(2n) { border-left: 1px solid var(--line); } .stat2:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 440px) { .stats2 { grid-template-columns: 1fr; } .stat2 + .stat2 { border-left: 0; border-top: 1px solid var(--line); } }

/* ============================================================
   DARK HIGHLIGHT
   ============================================================ */
.highlight { position: relative; border-radius: 28px; overflow: hidden; background: var(--grad-dark); color: #fff; }
.highlight__grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: stretch; }
.highlight__copy { padding: clamp(2.4rem, 5vw, 4rem); }
.highlight__copy .eyebrow2 { color: var(--green-400); }
.highlight__copy h2 { color: #fff; font-size: clamp(1.8rem,3.2vw,2.7rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; margin: 1rem 0; }
.highlight__copy p { color: rgba(255,255,255,.72); font-size: 1.05rem; }
.highlight__media { position: relative; min-height: 320px; }
.highlight__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.highlight__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ink-900), transparent 30%); }
.mini-stats { display: flex; gap: 2rem; margin-top: 1.8rem; flex-wrap: wrap; }
.mini-stats .ms b { font-family: var(--font-head); font-weight: 800; font-size: 1.8rem; color: var(--green-400); display: block; }
.mini-stats .ms span { font-size: .85rem; color: rgba(255,255,255,.6); }

/* ============================================================
   CTA card
   ============================================================ */
.cta2 { position: relative; border-radius: 28px; overflow: hidden; background: var(--grad-dark); color: #fff; text-align: center; padding: clamp(3rem, 6vw, 5rem) 1.5rem; }
.cta2::before { content: ''; position: absolute; width: 620px; height: 620px; left: 50%; top: -60%; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle, rgba(132,194,71,.3), transparent 60%); filter: blur(70px); }
.cta2 > * { position: relative; z-index: 1; }
.cta2 h2 { color: #fff; font-size: clamp(2rem, 4.5vw, 3.4rem); font-weight: 800; letter-spacing: -.035em; }
.cta2 p { color: rgba(255,255,255,.74); max-width: 540px; margin: 1rem auto 2rem; font-size: 1.1rem; }
.cta2__row { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 900px) {
  .feature, .highlight__grid { grid-template-columns: 1fr; }
  .feature--rev .feature__copy { order: 0; }
  .feature__media { order: -1; }
  .caps { grid-template-columns: 1fr 1fr; }
  .statline { grid-template-columns: 1fr 1fr; gap: 1.8rem 1rem; }
  .highlight__media { min-height: 260px; }
}
@media (max-width: 560px) {
  .caps, .statline { grid-template-columns: 1fr; }
  .hero2__cta { flex-direction: column; align-items: stretch; }
  .hero2__cta .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .frame img { transition: none; } }

/* ===== Full-width image hero (green network, CP-2026) ===== */
.hero2--bg { padding: clamp(4rem,9vw,7.5rem) 0 clamp(3.5rem,7vw,6rem); }
.hero2--bg .hero2__bg { position: absolute; inset: 0; z-index: 0; }
.hero2--bg .hero2__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero2--bg .hero2__overlay { position: absolute; inset: 0; z-index: 0; background: linear-gradient(100deg, rgba(7,18,9,.93) 0%, rgba(9,24,11,.8) 42%, rgba(11,28,13,.5) 100%); }
.hero2--bg .hero2__mesh, .hero2--bg .hero2__grid { display: none; }
.hero2--bg .container { position: relative; z-index: 1; }
.hero2--bg .hero2__head { max-width: 760px; }
.hero2--bg h1 { color: #fff; }
.hero2--bg .hero2__lead { color: rgba(255,255,255,.84); }
.hero2--bg .hero2__pill { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.28); color: #eaf5e2; }
.hero2--bg .hero2__pill b { background: var(--green-500); color: #11210a; }
.hero2--bg .hero2__meta { color: rgba(255,255,255,.72); }
.hero2--bg .hero2__meta b { color: #fff; }
