/* ==========================================================================
   GeekFriends
   IoT Flow Meter Professional Detail
   GF-WEB-3D
   ========================================================================== */

.flow-page {
  --flow-purple: #4800B9;
  --flow-purple-dark: #300079;
  --flow-purple-soft: #F4F0FF;
  --flow-ink: #15151A;
  --flow-text: #4E4E59;
  --flow-muted: #7A7A87;
  --flow-line: #E9E9EF;
  --flow-green: #4B8D6B;
  --flow-max: 1240px;

  color: var(--flow-ink);
  background: #fff;
}

.flow-page *,
.flow-page *::before,
.flow-page *::after {
  box-sizing: border-box;
}

.flow-shell {
  width: min(
    calc(100% - 64px),
    var(--flow-max)
  );
  margin-inline: auto;
}

.flow-section {
  padding: 136px 0;
}

.flow-eyebrow {
  margin: 0 0 24px;
  color: var(--flow-purple);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: .16em;
}

.flow-section-heading {
  max-width: 720px;
}

.flow-section-heading--wide {
  max-width: 900px;
}

.flow-section-heading--center {
  margin-inline: auto;
  text-align: center;
}

.flow-section-heading h2 {
  margin: 0;
  font-size: clamp(
    42px,
    5vw,
    68px
  );
  font-weight: 760;
  line-height: 1.08;
  letter-spacing: -.045em;
}

.flow-section-heading > p:last-child {
  max-width: 700px;
  margin: 28px 0 0;
  color: var(--flow-text);
  font-size: 18px;
  line-height: 1.82;
}

.flow-section-heading--center > p:last-child {
  margin-inline: auto;
}


/* Buttons */

.flow-btn {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 750;
  line-height: 1;
  text-decoration: none;

  transition:
    transform .22s ease,
    background .22s ease,
    border-color .22s ease,
    color .22s ease;
}

.flow-btn:hover {
  transform: translateY(-2px);
}

.flow-btn--primary {
  color: #fff;
  background: var(--flow-purple);
}

.flow-btn--primary:hover {
  color: #fff;
  background: var(--flow-purple-dark);
}

.flow-btn--ghost {
  color: var(--flow-ink);
  border-color: #DADAE2;
  background: rgba(255,255,255,.76);
}

.flow-btn--ghost:hover {
  color: var(--flow-purple);
  border-color: var(--flow-purple);
}

.flow-btn--white {
  color: var(--flow-purple);
  background: #fff;
}


/* Hero */

.flow-hero {
  position: relative;
  overflow: hidden;
  padding: 110px 0 120px;

  background:
    radial-gradient(
      circle at 92% 9%,
      rgba(72,0,185,.10),
      transparent 32%
    ),
    linear-gradient(
      180deg,
      #FFFFFF 0%,
      #FAF9FD 100%
    );
}

.flow-hero::after {
  position: absolute;
  right: -220px;
  bottom: -320px;
  width: 700px;
  height: 700px;
  border: 1px solid rgba(72,0,185,.10);
  border-radius: 50%;
  content: "";
}

.flow-hero__grid {
  position: relative;
  z-index: 2;

  display: grid;

  grid-template-columns:
    minmax(0, .96fr)
    minmax(460px, 1.04fr);

  gap: 80px;
  align-items: center;
}

.flow-hero__content h1 {
  max-width: 690px;
  margin: 0;

  font-size: clamp(
    54px,
    6.5vw,
    86px
  );

  font-weight: 780;
  line-height: .98;
  letter-spacing: -.055em;
}

.flow-hero__content h1 span {
  display: block;
  margin-top: 20px;
  color: var(--flow-purple);
  font-size: .62em;
  line-height: 1.08;
}

.flow-hero__lead {
  max-width: 650px;
  margin: 34px 0 0;
  color: var(--flow-text);
  font-size: 19px;
  line-height: 1.82;
}

.flow-hero__lead strong {
  color: var(--flow-ink);
}

.flow-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 38px;
}

.flow-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 38px;
}

.flow-hero__meta span {
  padding: 9px 13px;
  border: 1px solid #E3E0EA;
  border-radius: 999px;
  color: #62616B;
  background: rgba(255,255,255,.75);
  font-size: 12px;
  font-weight: 700;
}

.flow-meter-stage {
  position: relative;
  overflow: hidden;
  min-height: 560px;
  padding: 30px;

  border:
    1px solid rgba(72,0,185,.13);

  border-radius: 34px;

  background:
    linear-gradient(
      145deg,
      rgba(255,255,255,.98),
      rgba(246,242,255,.92)
    );

  box-shadow:
    0 32px 80px rgba(40,19,72,.10),
    inset 0 1px 0 rgba(255,255,255,.8);
}

.flow-meter-stage::before {
  position: absolute;
  inset: 0;

  background-image:
    linear-gradient(
      rgba(72,0,185,.045) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(72,0,185,.045) 1px,
      transparent 1px
    );

  background-size: 38px 38px;
  content: "";

  mask-image:
    linear-gradient(
      to bottom,
      black,
      transparent 76%
    );
}

.flow-meter-stage__top {
  position: relative;
  z-index: 2;

  display: flex;
  align-items: center;
  justify-content: space-between;

  color: #7D748E;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
}

.flow-live-dot {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--flow-green);
  letter-spacing: .02em;
}

.flow-live-dot::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;

  box-shadow:
    0 0 0 5px rgba(75,141,107,.10);

  content: "";
}

.flow-pipe-visual {
  position: relative;
  height: 240px;
  margin-top: 30px;
}

.flow-pipe-visual__line {
  position: absolute;
  top: 112px;
  left: -30px;
  right: -30px;

  height: 18px;

  border:
    1px solid rgba(72,0,185,.24);

  border-radius: 999px;

  background:
    linear-gradient(
      90deg,
      rgba(72,0,185,.12),
      rgba(72,0,185,.42),
      rgba(72,0,185,.12)
    );
}

.flow-pipe-visual__meter {
  position: absolute;
  top: 33px;
  left: 50%;
  z-index: 2;

  width: 170px;
  height: 170px;
  padding: 15px;

  border-radius: 50%;
  background: #fff;

  box-shadow:
    0 22px 55px rgba(72,0,185,.18),
    0 0 0 1px rgba(72,0,185,.12);

  transform: translateX(-50%);
}

.flow-pipe-visual__meter-ring {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;

  border:
    15px solid var(--flow-purple);

  border-radius: 50%;

  background:
    radial-gradient(
      circle at 50% 45%,
      #fff 0 48%,
      #F5F1FE 49% 100%
    );

  color: var(--flow-purple);
}

.flow-pipe-visual__meter-ring span {
  font-size: 16px;
  font-weight: 850;
  letter-spacing: .12em;
}

.flow-pipe-visual__pulse {
  position: absolute;
  top: 112px;

  width: 18px;
  height: 18px;

  border-radius: 50%;
  background: var(--flow-purple);

  box-shadow:
    0 0 0 8px rgba(72,0,185,.10);
}

.flow-pipe-visual__pulse.pulse-1 {
  left: 5%;
}

.flow-pipe-visual__pulse.pulse-2 {
  left: 18%;
  opacity: .65;
}

.flow-pipe-visual__pulse.pulse-3 {
  right: 11%;
  opacity: .8;
}

.flow-meter-stage__readout {
  position: relative;
  z-index: 2;

  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.flow-meter-stage__readout > div {
  padding: 20px;

  border:
    1px solid #E6E0F1;

  border-radius: 18px;
  background: rgba(255,255,255,.80);
}

.flow-meter-stage__readout span,
.flow-mini-chart__label span {
  display: block;
  color: #8B8397;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .10em;
}

.flow-meter-stage__readout strong {
  display: block;
  margin-top: 7px;
  font-size: 15px;
}

.flow-mini-chart {
  position: relative;
  z-index: 2;

  margin-top: 12px;
  padding: 18px 20px;

  border-radius: 18px;
  background: #18141E;
}

.flow-mini-chart__label {
  display: flex;
  justify-content: space-between;
}

.flow-mini-chart__label span {
  color: rgba(255,255,255,.50);
}

.flow-mini-chart__bars {
  display: grid;

  height: 78px;

  grid-template-columns:
    repeat(12, 1fr);

  gap: 8px;
  align-items: end;
  margin-top: 18px;
}

.flow-mini-chart__bars i {
  display: block;
  min-height: 8px;

  border-radius:
    5px 5px 2px 2px;

  background:
    rgba(255,255,255,.16);
}

.flow-mini-chart__bars i.active {
  background: #8D56E7;
}


/* Problem */

.flow-problem {
  background: #fff;
}

.flow-problem-visual {
  display: grid;
  max-width: 1000px;

  grid-template-columns:
    minmax(0,1fr)
    100px
    minmax(0,1fr);

  gap: 20px;
  align-items: center;
  margin-top: 72px;
}

.flow-problem-card {
  min-height: 260px;
  padding: 34px;

  border:
    1px solid var(--flow-line);

  border-radius: 28px;
  background: #FAFAFC;
}

.flow-problem-card--accent {
  border-color:
    rgba(72,0,185,.17);

  background:
    var(--flow-purple-soft);
}

.flow-problem-card__label {
  color: var(--flow-muted);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .14em;
}

.flow-problem-card strong {
  display: block;
  margin-top: 54px;
  font-size: 64px;
  font-weight: 780;
  line-height: 1;
  letter-spacing: -.05em;
}

.flow-problem-card--accent strong {
  color: var(--flow-purple);
}

.flow-problem-card p {
  margin: 16px 0 0;
  color: var(--flow-text);
  font-size: 15px;
  line-height: 1.6;
}

.flow-problem-operator {
  color: var(--flow-purple);
  font-size: 54px;
  text-align: center;
}

.flow-factor-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.flow-factor-row span {
  padding: 12px 18px;

  border:
    1px solid var(--flow-line);

  border-radius: 999px;

  color: #62626B;
  background: #fff;
  font-size: 13px;
  font-weight: 700;
}


/* Pulse pipeline */

.flow-pulse-section {
  background: #17151B;
  color: #fff;
}

.flow-pulse-section .flow-eyebrow {
  color: #A97BF1;
}

.flow-pulse-section
.flow-section-heading > p:last-child {
  color: rgba(255,255,255,.62);
}

.flow-data-pipeline {
  display: grid;

  grid-template-columns:
    1fr 42px
    1fr 42px
    1fr 42px
    1fr;

  gap: 14px;
  align-items: center;
  margin-top: 76px;
}

.flow-pipeline-step {
  min-height: 260px;
  padding: 26px;

  border:
    1px solid rgba(255,255,255,.10);

  border-radius: 24px;
  background: rgba(255,255,255,.035);
}

.flow-pipeline-step--accent {
  border-color:
    rgba(169,123,241,.50);

  background:
    rgba(72,0,185,.28);
}

.flow-pipeline-step__icon {
  display: grid;

  width: 82px;
  height: 82px;

  place-items: center;

  border:
    1px solid rgba(255,255,255,.12);

  border-radius: 22px;

  background:
    rgba(255,255,255,.05);
}

.flow-pipeline-step__icon span {
  color: rgba(255,255,255,.34);
  font-size: 10px;
  font-weight: 800;
}

.flow-pipeline-step__icon b {
  color: #fff;
  font-size: 13px;
  letter-spacing: .08em;
}

.flow-pipeline-step h3 {
  margin: 38px 0 0;
  font-size: 20px;
}

.flow-pipeline-step p {
  margin: 9px 0 0;
  color: rgba(255,255,255,.52);
  font-size: 14px;
  line-height: 1.6;
}

.flow-pipeline-arrow {
  color: rgba(255,255,255,.32);
  font-size: 25px;
  text-align: center;
}

.flow-tech-note {
  max-width: 840px;
  margin: 38px 0 0;
  color: rgba(255,255,255,.48);
  font-size: 13px;
  line-height: 1.8;
}


/* Record */

.flow-record-section {
  background: #F8F8FA;
}

.flow-record-grid {
  display: grid;

  grid-template-columns:
    repeat(3, 1fr);

  gap: 16px;
  margin-top: 68px;
}

.flow-record-card {
  min-height: 220px;
  padding: 28px;

  border:
    1px solid #E7E7EC;

  border-radius: 24px;
  background: #fff;
}

.flow-record-card > span {
  color: var(--flow-purple);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .12em;
}

.flow-record-card h3 {
  margin: 48px 0 0;
  font-size: 23px;
  letter-spacing: -.025em;
}

.flow-record-card p {
  margin: 10px 0 0;
  color: var(--flow-muted);
  font-size: 14px;
  line-height: 1.7;
}

.flow-unit-note {
  display: flex;
  max-width: 700px;
  align-items: center;
  gap: 26px;

  margin: 28px auto 0;
  padding: 24px 30px;

  border:
    1px solid #E5E0EF;

  border-radius: 22px;

  background:
    var(--flow-purple-soft);
}

.flow-unit-note > div {
  display: flex;
  flex-direction: column;
}

.flow-unit-note span {
  color: #7D728F;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .13em;
}

.flow-unit-note strong {
  margin-top: 5px;
  color: var(--flow-purple);
  font-size: 28px;
}

.flow-unit-note__arrow {
  color: #9388A3;
  font-size: 18px;
}

.flow-unit-note p {
  margin: 0 0 0 auto;
  color: #625A6F;
  font-size: 13px;
}


/* Timeline */

.flow-timeline-section {
  background: #fff;
}

.flow-timeline-panel {
  margin-top: 66px;
  padding: 34px;

  border:
    1px solid #E9E5EF;

  border-radius: 30px;

  background: #FAFAFC;

  box-shadow:
    0 24px 70px rgba(40,30,53,.07);
}

.flow-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.flow-panel-head > div span {
  display: block;
  color: #918A9A;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .12em;
}

.flow-panel-head > div strong {
  display: block;
  margin-top: 7px;
  font-size: 20px;
}

.flow-panel-status {
  padding: 8px 11px;
  border-radius: 999px;

  color: var(--flow-purple);
  background: var(--flow-purple-soft);

  font-size: 10px;
  font-weight: 850;
  letter-spacing: .08em;
}

.flow-timeline-axis {
  display: flex;
  justify-content: space-between;

  margin: 42px 0 10px;

  color: #94919A;
  font-size: 10px;
}

.flow-timeline-track {
  position: relative;
  height: 160px;
  overflow: hidden;

  border-radius: 16px;
  background: #fff;
}

.flow-timeline-grid {
  position: absolute;
  inset: 0;

  background-image:
    linear-gradient(
      90deg,
      transparent calc(25% - 1px),
      #ECEBF0 25%,
      transparent calc(25% + 1px)
    );

  background-size:
    25% 100%;
}

.flow-event {
  position: absolute;
  top: 26px;

  display: flex;
  height: 108px;

  flex-direction: column;
  justify-content: flex-end;

  padding: 16px;

  border-radius: 12px;

  color: #fff;

  background:
    linear-gradient(
      150deg,
      #4800B9,
      #7E3BE0
    );

  box-shadow:
    0 10px 28px rgba(72,0,185,.20);
}

.flow-event span {
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .10em;
  opacity: .7;
}

.flow-event strong {
  margin-top: 5px;
  font-size: 13px;
}

.flow-event--morning {
  left: 25%;
  width: 17%;
}

.flow-event--evening {
  left: 68%;
  width: 11%;
}

.flow-timeline-bottom {
  display: grid;

  grid-template-columns:
    repeat(3, 1fr);

  gap: 12px;
  margin-top: 14px;
}

.flow-timeline-bottom > div {
  padding: 18px;
  border-radius: 14px;
  background: #fff;
}

.flow-timeline-bottom span {
  display: block;
  color: #99929F;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .10em;
}

.flow-timeline-bottom strong {
  display: block;
  margin-top: 6px;
  font-size: 13px;
}


/* Soil response */

.flow-response-section {
  overflow: hidden;

  background:
    linear-gradient(
      180deg,
      #FBFAFE 0%,
      #F4F0FC 100%
    );
}

.flow-response-chain {
  display: grid;

  grid-template-columns:
    1fr 42px
    1fr 42px
    1fr 42px
    1fr;

  gap: 14px;
  align-items: center;
  margin-top: 76px;
}

.flow-response-chain article {
  min-height: 310px;
  padding: 24px;

  border:
    1px solid rgba(72,0,185,.10);

  border-radius: 24px;

  background:
    rgba(255,255,255,.83);
}

.flow-response-chain__no {
  color: var(--flow-purple);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .12em;
}

.flow-response-chain__graphic {
  position: relative;

  display: flex;
  height: 115px;

  align-items: flex-end;
  justify-content: center;

  gap: 12px;
  margin-top: 28px;

  overflow: hidden;

  border-radius: 18px;
  background: #F2EFF7;
}

.graphic-soil-before,
.graphic-soil-after {
  padding-bottom: 20px;
}

.graphic-soil-before::before,
.graphic-soil-after::before {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;

  height: 45px;
  background: #CDBA9A;
  content: "";
}

.graphic-soil-before i,
.graphic-soil-after i {
  position: relative;
  z-index: 1;

  display: block;
  width: 9px;

  border-radius:
    8px 8px 0 0;

  background:
    var(--flow-green);
}

.graphic-soil-before i:nth-child(1) {
  height: 35px;
}

.graphic-soil-before i:nth-child(2) {
  height: 54px;
}

.graphic-soil-before i:nth-child(3) {
  height: 42px;
}

.graphic-soil-after::before {
  background: #A78D6C;
}

.graphic-soil-after i:nth-child(1) {
  height: 50px;
}

.graphic-soil-after i:nth-child(2) {
  height: 69px;
}

.graphic-soil-after i:nth-child(3) {
  height: 58px;
}

.graphic-water {
  align-items: center;
  gap: 9px;
}

.graphic-water i {
  display: block;
  width: 17px;
  height: 26px;

  border-radius:
    50% 50% 58% 42% /
    60% 58% 42% 40%;

  background: #7650CC;

  transform:
    rotate(45deg);
}

.graphic-water i:nth-child(2) {
  opacity: .65;

  transform:
    translateY(18px)
    rotate(45deg);
}

.graphic-water i:nth-child(3) {
  opacity: .35;

  transform:
    translateY(-12px)
    rotate(45deg);
}

.graphic-meter {
  align-items: center;
}

.graphic-meter::before {
  width: 76px;
  height: 76px;

  border:
    10px solid var(--flow-purple);

  border-radius: 50%;
  background: #fff;
  content: "";
}

.graphic-meter strong {
  position: absolute;

  color: var(--flow-purple);

  font-size: 10px;
  letter-spacing: .08em;
}

.flow-response-chain h3 {
  margin: 24px 0 0;
  font-size: 18px;
  line-height: 1.3;
}

.flow-response-chain p {
  margin: 8px 0 0;
  color: var(--flow-muted);
  font-size: 13px;
  line-height: 1.6;
}

.flow-response-chain__arrow {
  color: #9584B7;
  font-size: 22px;
  text-align: center;
}

.flow-response-message {
  margin-top: 54px;
  padding: 46px 48px;

  border-radius: 28px;

  color: #fff;
  background: var(--flow-purple);
}

.flow-response-message span {
  display: block;

  color:
    rgba(255,255,255,.56);

  font-size: 10px;
  font-weight: 850;
  letter-spacing: .13em;
}

.flow-response-message strong {
  display: block;
  margin-top: 16px;

  font-size:
    clamp(
      26px,
      3vw,
      42px
    );

  font-weight: 680;
  line-height: 1.32;
  letter-spacing: -.035em;
}


/* Monitoring */

.flow-monitor-section {
  background: #fff;
}

.flow-monitor-grid {
  display: grid;

  grid-template-columns:
    .72fr 1.28fr;

  gap: 80px;
  align-items: center;
}

.flow-check-list {
  display: grid;
  gap: 12px;

  margin: 34px 0 0;
  padding: 0;

  list-style: none;
}

.flow-check-list li {
  position: relative;

  padding-left: 26px;

  color: #45444D;
  font-size: 14px;
  font-weight: 650;
}

.flow-check-list li::before {
  position: absolute;
  top: .5em;
  left: 0;

  width: 9px;
  height: 9px;

  border-radius: 50%;

  background:
    var(--flow-purple);

  box-shadow:
    0 0 0 5px var(--flow-purple-soft);

  content: "";
}

.flow-monitor-card {
  overflow: hidden;
  padding: 28px;

  border:
    1px solid #E5E3EA;

  border-radius: 28px;
  background: #FBFBFC;

  box-shadow:
    0 26px 74px rgba(28,22,37,.08);
}

.flow-monitor-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.flow-monitor-card__head span {
  display: block;
  color: #98919F;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .12em;
}

.flow-monitor-card__head strong {
  display: block;
  margin-top: 7px;
  font-size: 17px;
}

.flow-monitor-card__period {
  padding: 8px 12px;

  border-radius: 999px;

  color:
    var(--flow-purple) !important;

  background:
    var(--flow-purple-soft);
}

.flow-monitor-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 26px;
}

.flow-monitor-legend span {
  display: inline-flex;
  align-items: center;
  gap: 7px;

  color: #706C76;
  font-size: 10px;
  font-weight: 700;
}

.flow-monitor-legend i {
  width: 14px;
  height: 4px;
  border-radius: 10px;
}

.legend-irrigation {
  background:
    rgba(72,0,185,.35);
}

.legend-moisture {
  background: #4800B9;
}

.legend-ec {
  background: #4B8D6B;
}

.legend-temp {
  background: #8B8B94;
}

.flow-monitor-chart {
  margin-top: 14px;
  overflow-x: auto;
}

.flow-monitor-chart svg {
  display: block;

  min-width: 620px;
  width: 100%;
  height: auto;
}

.chart-grid line {
  stroke: #ECEAF0;
  stroke-width: 1;
}

.chart-irrigation {
  fill:
    rgba(72,0,185,.12);
}

.chart-line {
  fill: none;
  stroke-width: 4;
  stroke-linecap: round;
}

.chart-line--moisture {
  stroke: #4800B9;
}

.chart-line--ec {
  stroke: #4B8D6B;
}

.chart-line--temp {
  stroke: #8B8B94;
  stroke-width: 3;
}

.chart-labels text {
  fill: #99949F;
  font-size: 10px;
}

.flow-monitor-insight {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;

  margin-top: 10px;
  padding: 16px 18px;

  border-radius: 14px;

  background:
    var(--flow-purple-soft);
}

.flow-monitor-insight span {
  color: #897B9E;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .11em;
}

.flow-monitor-insight strong {
  color: var(--flow-purple);
  font-size: 12px;
}


/* System */

.flow-system-section {
  background: #17151B;
  color: #fff;
}

.flow-system-section .flow-eyebrow {
  color: #A97BF1;
}

.flow-system-section
.flow-section-heading > p:last-child {
  color:
    rgba(255,255,255,.58);
}

.flow-system-diagram {
  display: grid;

  grid-template-columns:
    minmax(0,1fr) 40px
    minmax(0,1fr) 40px
    minmax(0,1fr) 40px
    minmax(0,1fr) 40px
    minmax(0,1fr);

  gap: 10px;
  align-items: center;
  margin-top: 78px;
}

.flow-system-diagram article {
  min-height: 246px;
  padding: 22px;

  border:
    1px solid rgba(255,255,255,.10);

  border-radius: 22px;

  background:
    rgba(255,255,255,.035);
}

.flow-system-diagram article.is-primary {
  border-color:
    rgba(169,123,241,.58);

  background:
    linear-gradient(
      155deg,
      rgba(72,0,185,.55),
      rgba(72,0,185,.20)
    );
}

.flow-system-icon {
  display: grid;

  width: 70px;
  height: 70px;

  place-items: center;

  border:
    1px solid rgba(255,255,255,.13);

  border-radius: 18px;

  background:
    rgba(255,255,255,.055);
}

.flow-system-icon span {
  color: #fff;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .08em;
}

.flow-system-diagram h3 {
  margin: 48px 0 0;
  font-size: 17px;
}

.flow-system-diagram p {
  margin: 8px 0 0;

  color:
    rgba(255,255,255,.45);

  font-size: 12px;
  line-height: 1.5;
}

.flow-system-line {
  position: relative;
  height: 1px;

  background:
    rgba(255,255,255,.18);
}

.flow-system-line::after {
  position: absolute;
  top: 50%;
  right: -1px;

  width: 6px;
  height: 6px;

  border-top:
    1px solid rgba(255,255,255,.55);

  border-right:
    1px solid rgba(255,255,255,.55);

  content: "";

  transform:
    translateY(-50%)
    rotate(45deg);
}

.flow-system-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;

  margin-top: 32px;
  padding: 22px 26px;

  border:
    1px solid rgba(255,255,255,.09);

  border-radius: 18px;

  background:
    rgba(255,255,255,.035);
}

.flow-system-footer span {
  color:
    rgba(255,255,255,.72);

  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
}

.flow-system-footer i {
  color:
    rgba(255,255,255,.27);

  font-style: normal;
}

.flow-system-footer strong {
  margin-left: auto;

  color: #B691EF;

  font-size: 11px;
  letter-spacing: .08em;
}


/* Summary */

.flow-summary-section {
  background: #F8F8FA;
}

.flow-summary-layout {
  display: grid;

  grid-template-columns:
    .8fr 1.2fr;

  gap: 80px;
  margin-top: 58px;
}

.flow-summary-lead {
  padding: 36px;
  border-radius: 28px;

  color: #fff;

  background:
    linear-gradient(
      150deg,
      #4800B9,
      #2F006F
    );
}

.flow-summary-lead > span {
  color:
    rgba(255,255,255,.56);

  font-size: 10px;
  font-weight: 850;
  letter-spacing: .13em;
}

.flow-summary-lead h3 {
  margin: 72px 0 0;

  font-size:
    clamp(
      30px,
      3.2vw,
      44px
    );

  line-height: 1.18;
  letter-spacing: -.04em;
}

.flow-summary-lead p {
  margin: 24px 0 0;

  color:
    rgba(255,255,255,.67);

  font-size: 15px;
  line-height: 1.8;
}

.flow-spec-list {
  margin: 0;
  border-top: 1px solid #DCDCE2;
}

.flow-spec-list > div {
  display: grid;

  grid-template-columns:
    150px 1fr;

  gap: 30px;
  padding: 23px 4px;

  border-bottom:
    1px solid #DCDCE2;
}

.flow-spec-list dt {
  color: #85818B;
  font-size: 13px;
  font-weight: 700;
}

.flow-spec-list dd {
  margin: 0;
  color: #2C2B31;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.6;
}


/* CTA */

.flow-cta {
  padding: 110px 0;
  color: #fff;
  background: var(--flow-purple);
}

.flow-cta .flow-eyebrow {
  color:
    rgba(255,255,255,.58);
}

.flow-cta__inner {
  display: grid;

  grid-template-columns:
    1.05fr .95fr;

  gap: 100px;
  align-items: end;
}

.flow-cta h2 {
  margin: 0;

  font-size:
    clamp(
      44px,
      5.5vw,
      72px
    );

  line-height: 1.06;
  letter-spacing: -.05em;
}

.flow-cta__content p {
  max-width: 500px;
  margin: 0 0 30px;

  color:
    rgba(255,255,255,.72);

  font-size: 17px;
  line-height: 1.8;
}


/* Tablet */

@media (max-width: 1120px) {

  .flow-hero__grid {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }

  .flow-data-pipeline,
  .flow-response-chain {
    grid-template-columns:
      1fr 28px
      1fr 28px
      1fr 28px
      1fr;

    gap: 8px;
  }

  .flow-system-diagram {
    grid-template-columns:
      repeat(5, 1fr);
  }

  .flow-system-line {
    display: none;
  }
}


@media (max-width: 900px) {

  .flow-shell {
    width: min(
      calc(100% - 40px),
      var(--flow-max)
    );
  }

  .flow-section {
    padding: 104px 0;
  }

  .flow-hero {
    padding: 78px 0 94px;
  }

  .flow-hero__grid,
  .flow-monitor-grid,
  .flow-summary-layout,
  .flow-cta__inner {
    grid-template-columns: 1fr;
  }

  .flow-hero__grid,
  .flow-monitor-grid,
  .flow-summary-layout,
  .flow-cta__inner {
    gap: 48px;
  }

  .flow-hero__visual {
    max-width: 680px;
  }

  .flow-data-pipeline,
  .flow-response-chain {
    grid-template-columns:
      1fr 30px 1fr;
  }

  .flow-data-pipeline
  > :nth-child(4),
  .flow-response-chain
  > :nth-child(4) {
    display: none;
  }

  .flow-data-pipeline
  > :nth-child(n+5),
  .flow-response-chain
  > :nth-child(n+5) {
    margin-top: 16px;
  }

  .flow-record-grid {
    grid-template-columns:
      repeat(2, 1fr);
  }

  .flow-system-diagram {
    grid-template-columns:
      repeat(2, 1fr);
  }

  .flow-system-diagram article:last-of-type {
    grid-column: 1 / -1;
  }

  .flow-system-footer strong {
    width: 100%;
    margin-left: 0;
  }
}


/* Mobile */

@media (max-width: 680px) {

  .flow-shell {
    width: min(
      calc(100% - 32px),
      var(--flow-max)
    );
  }

  .flow-section {
    padding: 82px 0;
  }

  .flow-section-heading h2 {
    font-size:
      clamp(
        36px,
        11vw,
        52px
      );
  }

  .flow-section-heading > p:last-child {
    margin-top: 22px;
    font-size: 16px;
    line-height: 1.72;
  }

  .flow-eyebrow {
    margin-bottom: 18px;
    font-size: 11px;
  }

  .flow-hero {
    padding: 60px 0 76px;
  }

  .flow-hero__content h1 {
    font-size:
      clamp(
        47px,
        14vw,
        64px
      );
  }

  .flow-hero__content h1 span {
    margin-top: 15px;
    font-size: .58em;
  }

  .flow-hero__lead {
    margin-top: 26px;
    font-size: 16px;
    line-height: 1.75;
  }

  .flow-hero__actions {
    align-items: stretch;
  }

  .flow-btn {
    flex: 1 1 auto;
  }

  .flow-meter-stage {
    min-height: auto;
    padding: 22px;
    border-radius: 25px;
  }

  .flow-pipe-visual {
    height: 205px;
  }

  .flow-pipe-visual__line,
  .flow-pipe-visual__pulse {
    top: 96px;
  }

  .flow-pipe-visual__meter {
    top: 28px;
    width: 145px;
    height: 145px;
  }

  .flow-meter-stage__readout {
    grid-template-columns: 1fr;
  }

  .flow-problem-visual {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 46px;
  }

  .flow-problem-operator {
    transform: rotate(90deg);
  }

  .flow-problem-card {
    min-height: 205px;
  }

  .flow-problem-card strong {
    margin-top: 36px;
    font-size: 52px;
  }

  .flow-data-pipeline,
  .flow-response-chain {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 48px;
  }

  .flow-data-pipeline > *,
  .flow-response-chain > * {
    display: block !important;
    margin-top: 0 !important;
  }

  .flow-data-pipeline
  > .flow-pipeline-arrow,
  .flow-response-chain
  > .flow-response-chain__arrow {
    text-align: center;
    transform: rotate(90deg);
  }

  .flow-pipeline-step {
    min-height: 210px;
  }

  .flow-record-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 48px;
  }

  .flow-record-card {
    min-height: 185px;
  }

  .flow-record-card h3 {
    margin-top: 34px;
  }

  .flow-unit-note {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 18px;
  }

  .flow-unit-note p {
    width: 100%;
    margin-left: 0;
  }

  .flow-timeline-panel {
    padding: 22px;
    border-radius: 22px;
  }

  .flow-event--morning {
    left: 23%;
    width: 25%;
  }

  .flow-event--evening {
    left: 66%;
    width: 18%;
  }

  .flow-timeline-bottom {
    grid-template-columns: 1fr;
  }

  .flow-response-message {
    padding: 34px 28px;
  }

  .flow-monitor-card {
    padding: 20px;
    border-radius: 22px;
  }

  .flow-monitor-insight {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .flow-system-diagram {
    grid-template-columns: 1fr;
    margin-top: 50px;
  }

  .flow-system-diagram article:last-of-type {
    grid-column: auto;
  }

  .flow-system-diagram article {
    min-height: 210px;
  }

  .flow-summary-lead {
    padding: 30px;
  }

  .flow-summary-lead h3 {
    margin-top: 50px;
  }

  .flow-spec-list > div {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .flow-cta {
    padding: 84px 0;
  }
}


@media (prefers-reduced-motion: reduce) {

  .flow-btn {
    transition: none;
  }
}

/* GF-WEB-3D-1 POLISH START */

/* Korean headline stability */

.flow-page .flow-hero__content h1,
.flow-page .flow-section-heading h2,
.flow-page .flow-summary-lead h3,
.flow-page .flow-response-message strong,
.flow-page .flow-cta h2,
.flow-page .flow-record-card h3,
.flow-page .flow-system-diagram h3 {
  word-break: keep-all;
  overflow-wrap: normal;
}


/* Explicit title lines */

.flow-title-line {
  display: block;
  white-space: nowrap;
}


/* WEB MONITORING desktop balance */

.flow-monitor-grid {
  grid-template-columns:
    minmax(470px, .90fr)
    minmax(0, 1.10fr);

  gap: 64px;
}

.flow-monitor-section .flow-section-heading {
  max-width: none;
}

.flow-monitor-section .flow-section-heading h2 {
  max-width: 570px;

  font-size:
    clamp(
      42px,
      4.25vw,
      58px
    );

  line-height: 1.10;
  letter-spacing: -.045em;
}

.flow-monitor-section
.flow-section-heading > p:last-child {
  max-width: 520px;
}


/* IRRIGATION RECORD hierarchy
   01–03 = event flow
   04–06 = accumulated data */

.flow-record-card {
  position: relative;
  overflow: hidden;
}

.flow-record-card:nth-child(-n+3) {
  border-color: #E1DCEA;

  box-shadow:
    0 12px 34px rgba(31,22,48,.035);
}

.flow-record-card:nth-child(-n+3)::before {
  position: absolute;
  top: 0;
  left: 28px;

  width: 46px;
  height: 3px;

  border-radius:
    0 0 999px 999px;

  background:
    var(--flow-purple);

  content: "";
}

.flow-record-card:nth-child(n+4) {
  min-height: 176px;

  border-color:
    rgba(72,0,185,.11);

  background:
    linear-gradient(
      180deg,
      #FFFFFF 0%,
      #F8F5FF 100%
    );
}

.flow-record-card:nth-child(n+4) h3 {
  margin-top: 30px;
}

.flow-record-card:nth-child(n+4) > span {
  opacity: .72;
}


/* Small desktop */

@media
  (min-width: 901px)
  and
  (max-width: 1180px) {

  .flow-monitor-grid {
    grid-template-columns:
      minmax(400px, .95fr)
      minmax(0, 1.05fr);

    gap: 44px;
  }

  .flow-monitor-section
  .flow-section-heading h2 {
    max-width: 480px;

    font-size:
      clamp(
        40px,
        4.4vw,
        50px
      );
  }

  .flow-monitor-section
  .flow-section-heading > p:last-child {
    max-width: 460px;
  }
}


/* Tablet technical-flow layout */

@media
  (min-width: 681px)
  and
  (max-width: 1120px) {

  .flow-data-pipeline,
  .flow-response-chain {
    grid-template-columns:
      repeat(
        2,
        minmax(0, 1fr)
      );

    gap: 16px;
  }

  .flow-data-pipeline
  > .flow-pipeline-arrow,
  .flow-response-chain
  > .flow-response-chain__arrow {
    display: none !important;
  }

  .flow-data-pipeline > *,
  .flow-response-chain > * {
    margin-top: 0 !important;
  }

  .flow-pipeline-step,
  .flow-response-chain article {
    min-height: 250px;
  }
}


/* Tablet monitoring */

@media (max-width: 900px) {

  .flow-monitor-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .flow-monitor-section
  .flow-section-heading {
    max-width: 700px;
  }

  .flow-monitor-section
  .flow-section-heading h2 {
    max-width: 700px;

    font-size:
      clamp(
        40px,
        7vw,
        56px
      );
  }

  .flow-monitor-section
  .flow-section-heading > p:last-child {
    max-width: 650px;
  }

  .flow-title-line {
    white-space: normal;
  }
}


/* Mobile */

@media (max-width: 680px) {

  .flow-page .flow-hero__content h1,
  .flow-page .flow-section-heading h2,
  .flow-page .flow-summary-lead h3,
  .flow-page .flow-response-message strong,
  .flow-page .flow-cta h2 {
    word-break: keep-all;
    overflow-wrap: normal;
  }

  .flow-monitor-section
  .flow-section-heading h2 {
    font-size:
      clamp(
        36px,
        10.5vw,
        48px
      );

    line-height: 1.12;
  }

  .flow-title-line {
    display: block;
    white-space: normal;
  }

  .flow-record-card:nth-child(n+4) {
    min-height: 160px;
  }

  .flow-data-pipeline,
  .flow-response-chain {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .flow-data-pipeline
  > .flow-pipeline-arrow,
  .flow-response-chain
  > .flow-response-chain__arrow {
    display: block !important;
    text-align: center;
    transform: rotate(90deg);
  }
}

/* GF-WEB-3D-1 POLISH END */

