/* =========================================================
   ETNO MEDIA SERVICES — TECHNOLOGY PAGE
   ========================================================= */

:root {
  --tech-ink: #111827;
  --tech-text: #667085;
  --tech-line: #e8ebf1;
  --tech-bg: #fbfcfe;
  --tech-card: rgba(255, 255, 255, 0.95);

  --green: #109f88;
  --green-soft: #e9f8f4;

  --violet: #9f4be2;
  --violet-soft: #f5ebff;

  --blue: #3978e9;
  --blue-soft: #edf4ff;

  --shadow-card: 0 12px 34px rgba(18, 27, 45, 0.06);
}

* {
  box-sizing: border-box;
}

body {
  color: var(--tech-ink);
  background:
    radial-gradient(circle at 85% 12%, rgba(93, 115, 239, .055), transparent 25%),
    radial-gradient(circle at 15% 90%, rgba(25, 172, 145, .05), transparent 24%),
    var(--tech-bg);
}

.technology-page {
  overflow: hidden;
}

.technology-page .section {
  padding-top: 20px;
  padding-bottom: 20px;
}

.section-kicker {
  margin-bottom: 18px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .06em;
}

/* Hero */

.tech-hero {
  padding: 48px 0 18px;
}

.tech-hero__grid {
  display: grid;
  grid-template-columns: 1fr .95fr;
  gap: 50px;
  align-items: center;
}

.tech-hero__content h1 {
  margin: 0;
  font-size: clamp(42px, 5.3vw, 68px);
  line-height: 1.03;
  letter-spacing: -.048em;
}

.tech-hero__lead {
  max-width: 650px;
  margin: 20px 0 24px;
  color: var(--tech-text);
  font-size: 17px;
  line-height: 1.62;
}

.hero-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 28px;
  max-width: 650px;
}

.hero-point {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 13px;
  align-items: start;
}

.hero-point:last-child {
  grid-column: 1 / -1;
  max-width: 310px;
}

.mini-icon,
.column-icon,
.architecture-icon,
.principle-icon {
  display: grid;
  place-items: center;
  border-radius: 50%;
}

.mini-icon {
  width: 42px;
  height: 42px;
}

.mini-icon svg,
.column-icon svg,
.architecture-icon svg,
.principle-icon svg,
.floating-card svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-point h3 {
  margin: 1px 0 5px;
  font-size: 15px;
}

.hero-point p {
  margin: 0;
  color: var(--tech-text);
  font-size: 12px;
  line-height: 1.55;
}

.hero-point--green .mini-icon {
  color: var(--green);
  background: var(--green-soft);
}

.hero-point--violet .mini-icon {
  color: var(--violet);
  background: var(--violet-soft);
}

.hero-point--blue .mini-icon {
  color: var(--blue);
  background: var(--blue-soft);
}

.tech-hero__visual {
  position: relative;
  min-height: 390px;
}

.visual-orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(122, 139, 166, .15);
}

.visual-orbit--1 {
  width: 320px;
  height: 320px;
  right: 30px;
  top: 10px;
}

.visual-orbit--2 {
  width: 240px;
  height: 240px;
  right: 70px;
  top: 50px;
}

.hero-laptop {
  position: absolute;
  left: 50%;
  bottom: 36px;
  width: 360px;
  height: 225px;
  transform: translateX(-50%);
}

.hero-laptop__screen {
  position: absolute;
  inset: 0 25px 26px;
  padding: 28px 34px;
  border: 9px solid #1f2632;
  border-bottom-width: 14px;
  border-radius: 14px 14px 6px 6px;
  background: linear-gradient(180deg, #172235, #0f1726);
  box-shadow: 0 28px 45px rgba(20, 28, 42, .24);
}

.hero-laptop__base {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 23px;
  border-radius: 4px 4px 16px 16px;
  background: linear-gradient(#d7dce3, #8e96a1);
  box-shadow: 0 7px 12px rgba(20, 27, 44, .14);
}

.code-line {
  height: 7px;
  margin-bottom: 11px;
  border-radius: 6px;
  background: linear-gradient(90deg, #35bea8, #5f7dea);
}

.code-line--1 { width: 48%; }
.code-line--2 { width: 72%; margin-left: 18%; background: linear-gradient(90deg, #ed8a72, #6c8aec); }
.code-line--3 { width: 60%; margin-left: 10%; }
.code-line--4 { width: 83%; margin-left: 3%; background: linear-gradient(90deg, #8f62d9, #3ec1a2); }
.code-line--5 { width: 50%; margin-left: 20%; background: linear-gradient(90deg, #ef9b55, #7390ef); }
.code-line--6 { width: 74%; margin-left: 5%; }
.code-line--7 { width: 42%; margin-left: 30%; background: linear-gradient(90deg, #e2766e, #9d63dd); }

.floating-card {
  position: absolute;
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  border-radius: 16px;
  box-shadow: 0 18px 35px rgba(18, 27, 45, .12);
}

.floating-card--code {
  left: 5%;
  top: 37px;
  color: var(--green);
  background: var(--green-soft);
}

.floating-card--cloud {
  right: 6%;
  top: 83px;
  color: var(--blue);
  background: var(--blue-soft);
}

.floating-card--shield {
  right: 7%;
  bottom: 42px;
  color: var(--violet);
  background: var(--violet-soft);
}

/* Panels */

.tech-panel,
.architecture-panel {
  border: 1px solid var(--tech-line);
  border-radius: 17px;
  background: var(--tech-card);
  box-shadow: var(--shadow-card);
}

.tech-panel {
  padding: 26px 20px 22px;
}

.panel-heading {
  text-align: center;
}

.panel-heading h2,
.principles-heading h2 {
  margin: 0;
  font-size: 28px;
  letter-spacing: -.025em;
}

.panel-heading p {
  margin: 8px 0 0;
  color: var(--tech-text);
  font-size: 13px;
}

.tech-columns {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 26px;
}

.tech-column {
  padding: 0 16px;
}

.tech-column + .tech-column {
  border-left: 1px solid var(--tech-line);
}

.tech-column__head {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 11px;
  align-items: start;
  margin-bottom: 16px;
}

.column-icon {
  width: 46px;
  height: 46px;
}

.tech-column h3 {
  margin: 1px 0 4px;
  font-size: 15px;
}

.tech-column__head p {
  margin: 0;
  color: var(--tech-text);
  font-size: 10px;
  line-height: 1.45;
}

.tech-column--green .column-icon {
  color: var(--green);
  background: var(--green-soft);
}

.tech-column--violet .column-icon {
  color: var(--violet);
  background: var(--violet-soft);
}

.tech-column--blue .column-icon {
  color: var(--blue);
  background: var(--blue-soft);
}

.tech-list {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tech-list li {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 35px;
  padding: 6px 9px;
  border: 1px solid #edf0f5;
  border-radius: 7px;
  background: #fff;
  color: #2c3545;
  font-size: 11px;
  box-shadow: 0 3px 8px rgba(20, 27, 44, .025);
}

.tech-list li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 21px;
  min-width: 21px;
  height: 21px;
  border-radius: 5px;
  color: #4b5a72;
  background: #f3f6fa;
  font-size: 8px;
  font-weight: 800;
}

/* Architecture */

.architecture-panel {
  padding: 28px 25px 30px;
  background: linear-gradient(180deg, rgba(255,255,255,.95), rgba(249,250,255,.94));
}

.architecture-flow {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.architecture-step {
  position: relative;
  text-align: center;
}

.architecture-step:not(:last-child)::after {
  content: "→";
  position: absolute;
  top: 27px;
  right: -17px;
  color: #b4bbc7;
  font-size: 24px;
}

.architecture-icon {
  width: 62px;
  height: 62px;
  margin: 0 auto 12px;
  border: 1px solid rgba(110, 125, 155, .12);
}

.architecture-step h3 {
  margin: 0;
  font-size: 13px;
}

.architecture-step p {
  margin: 7px auto 0;
  max-width: 130px;
  color: var(--tech-text);
  font-size: 10px;
  line-height: 1.45;
}

.architecture-step--green .architecture-icon {
  color: var(--green);
  background: var(--green-soft);
}

.architecture-step--violet .architecture-icon {
  color: var(--violet);
  background: var(--violet-soft);
}

.architecture-step--blue .architecture-icon {
  color: var(--blue);
  background: var(--blue-soft);
}

/* Principles */

.principles-heading {
  text-align: center;
  margin-bottom: 20px;
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.principle-card {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  padding: 21px;
  border: 1px solid var(--tech-line);
  border-radius: 14px;
  background: var(--tech-card);
  box-shadow: var(--shadow-card);
}

.principle-icon {
  width: 48px;
  height: 48px;
}

.principle-card h3 {
  margin: 1px 0 7px;
  font-size: 15px;
}

.principle-card p {
  margin: 0;
  color: var(--tech-text);
  font-size: 12px;
  line-height: 1.55;
}

.principle-card--green .principle-icon {
  color: var(--green);
  background: var(--green-soft);
}

.principle-card--violet .principle-icon {
  color: var(--violet);
  background: var(--violet-soft);
}

.principle-card--blue .principle-icon {
  color: var(--blue);
  background: var(--blue-soft);
}

/* CTA */

.tech-cta {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 255px;
  overflow: hidden;
  border: 1px solid rgba(213,220,234,.9);
  border-radius: 17px;
  background:
    linear-gradient(120deg, rgba(228,253,248,.95) 0%, rgba(242,248,255,.95) 50%, rgba(242,235,255,.96) 100%);
  box-shadow: var(--shadow-card);
}

.tech-cta__content {
  position: relative;
  z-index: 2;
  align-self: center;
  padding: 38px 20px 38px 52px;
}

.tech-cta__content h2 {
  margin: 0;
  font-size: clamp(30px, 3.5vw, 45px);
  letter-spacing: -.035em;
}

.tech-cta__content p {
  max-width: 500px;
  margin: 16px 0 23px;
  color: var(--tech-text);
  font-size: 14px;
  line-height: 1.65;
}

.tech-cta__button {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 45px;
  padding: 0 20px;
  border-radius: 8px;
  background: linear-gradient(135deg, #1aa88e, #0f8f79);
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 10px 20px rgba(18,153,128,.2);
}

.tech-cta__visual {
  position: relative;
  min-height: 255px;
}

.code-card {
  position: absolute;
  left: 10%;
  bottom: 28px;
  width: 330px;
  height: 175px;
  padding: 17px 25px;
  border-radius: 10px;
  background: linear-gradient(180deg, #26344d, #172235);
  box-shadow: 0 22px 35px rgba(20,27,44,.2);
}

.code-card__dots {
  display: flex;
  gap: 6px;
}

.code-card__dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #e6ebf3;
}

.code-card__lines {
  margin-top: 25px;
}

.code-card__lines span {
  display: block;
  height: 7px;
  margin-bottom: 11px;
  border-radius: 8px;
  background: linear-gradient(90deg, #2cb9a3, #7186ef);
}

.code-card__lines span:nth-child(2) {
  width: 72%;
  margin-left: 12%;
  background: linear-gradient(90deg, #e68772, #6e83eb);
}

.code-card__lines span:nth-child(3) {
  width: 55%;
  margin-left: 22%;
}

.code-card__lines span:nth-child(4) {
  width: 80%;
  margin-left: 4%;
  background: linear-gradient(90deg, #9a69db, #44bca4);
}

.code-card__lines span:nth-child(5) {
  width: 46%;
  margin-left: 33%;
  background: linear-gradient(90deg, #ed9d5e, #798eea);
}

.deploy-card {
  position: absolute;
  right: 10%;
  bottom: 58px;
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 12px;
  align-items: center;
  min-width: 145px;
  padding: 16px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 15px 30px rgba(20,27,44,.13);
}

.deploy-check {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  color: var(--green);
  background: var(--green-soft);
  font-size: 28px;
  font-weight: 800;
}

.deploy-card strong {
  display: block;
  font-size: 12px;
  line-height: 1.55;
}

/* Responsive */

@media (max-width: 1120px) {
  .tech-columns {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px 0;
  }

  .tech-column:nth-child(4) {
    border-left: 0;
  }

  .architecture-flow {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 34px;
  }

  .architecture-step:nth-child(3)::after {
    display: none;
  }

  .code-card {
    left: 0;
  }

  .deploy-card {
    right: 3%;
  }
}

@media (max-width: 900px) {
  .tech-hero__grid {
    grid-template-columns: 1fr;
  }

  .tech-hero__content {
    text-align: center;
  }

  .tech-hero__lead,
  .hero-points {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-point {
    text-align: left;
  }

  .tech-hero__visual {
    min-height: 340px;
  }

  .tech-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tech-column:nth-child(3),
  .tech-column:nth-child(5) {
    border-left: 0;
  }

  .tech-column:nth-child(4) {
    border-left: 1px solid var(--tech-line);
  }

  .principles-grid {
    grid-template-columns: 1fr;
  }

  .tech-cta {
    grid-template-columns: 1fr;
  }

  .tech-cta__content {
    padding: 35px 30px 8px;
    text-align: center;
  }

  .tech-cta__content p {
    margin-left: auto;
    margin-right: auto;
  }

  .tech-cta__visual {
    min-height: 240px;
  }

  .code-card {
    left: 50%;
    transform: translateX(-56%);
  }

  .deploy-card {
    right: 13%;
  }
}

@media (max-width: 680px) {
  .technology-page .section {
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .tech-hero {
    padding-top: 34px;
  }

  .tech-hero__content h1 {
    font-size: 40px;
  }

  .tech-hero__lead {
    font-size: 15px;
  }

  .hero-points {
    grid-template-columns: 1fr;
  }

  .hero-point:last-child {
    grid-column: auto;
    max-width: none;
  }

  .tech-hero__visual {
    min-height: 280px;
  }

  .hero-laptop {
    width: 290px;
    height: 185px;
  }

  .floating-card {
    width: 54px;
    height: 54px;
  }

  .floating-card--code {
    left: 2%;
  }

  .floating-card--cloud {
    right: 3%;
  }

  .floating-card--shield {
    right: 4%;
    bottom: 20px;
  }

  .tech-columns {
    grid-template-columns: 1fr;
  }

  .tech-column,
  .tech-column:nth-child(n) {
    border-left: 0;
    padding: 0;
  }

  .tech-column + .tech-column {
    padding-top: 22px;
    border-top: 1px solid var(--tech-line);
  }

  .architecture-flow {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .architecture-step::after {
    display: none !important;
  }

  .architecture-step {
    display: grid;
    grid-template-columns: 62px 1fr;
    column-gap: 16px;
    text-align: left;
  }

  .architecture-icon {
    grid-row: 1 / span 2;
    margin: 0;
  }

  .architecture-step p {
    margin: 5px 0 0;
    max-width: none;
  }

  .tech-cta__content {
    padding: 30px 20px 5px;
  }

  .tech-cta__visual {
    min-height: 200px;
  }

  .code-card {
    left: 47%;
    width: 270px;
    height: 150px;
    transform: translateX(-60%);
  }

  .deploy-card {
    right: 3%;
    bottom: 40px;
    transform: scale(.82);
  }
}

@media (max-width: 420px) {
  .tech-hero__content h1 {
    font-size: 34px;
  }

  .panel-heading h2,
  .principles-heading h2 {
    font-size: 24px;
  }

  .tech-cta__visual {
    min-height: 185px;
  }

  .code-card {
    left: 45%;
    transform: translateX(-64%) scale(.88);
  }

  .deploy-card {
    right: -5%;
    transform: scale(.72);
  }
}
