.projects-section {
  position: relative;
  overflow: hidden;
  background: #0a0c10;
  color: #fff;
}

.projects-section::after {
  position: absolute;
  right: 50%;
  bottom: 0;
  width: 100vw;
  height: 1px;
  background: #252a30;
  content: "";
  transform: translateX(50%);
  pointer-events: none;
}

.projects-section__inner {
  width: min(1200px, calc(100% - 48px));
  margin-inline: auto;
  padding-block: 74px 88px;
}

.projects-section__intro {
  display: grid;
  grid-template-columns: minmax(170px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(32px, 6vw, 90px);
  margin-bottom: 42px;
}

.projects-section__label {
  margin: 5px 0 0;
  color: #9aa3b5;
  font: 500 12px/1.4 "SFMono-Regular", Consolas, monospace;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.projects-section__label span {
  padding-inline: 5px;
  color: #22e07a;
}

.projects-section__heading h2 {
  max-width: 760px;
  margin: 0;
  color: #fff;
  font-size: clamp(32px, 4.2vw, 58px);
  font-weight: 550;
  letter-spacing: -0.055em;
  line-height: 1.06;
}

.projects-section__heading p {
  margin: 16px 0 0;
  color: #9aa3b5;
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.65;
}

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

.concept-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #252a30;
  background: #0d1013;
}

.concept-card--wide {
  grid-column: 1 / -1;
}

.concept-browser {
  overflow: hidden;
  padding: clamp(12px, 2vw, 24px);
  background:
    radial-gradient(ellipse at 75% 40%, rgb(182 243 106 / 8%), transparent 48%),
    #111519;
}

.concept-browser__bar {
  display: grid;
  min-height: 34px;
  grid-template-columns: 1fr minmax(0, 2fr) 1fr;
  align-items: center;
  padding-inline: 10px;
  border: 1px solid #34393d;
  border-bottom: 0;
  border-radius: 7px 7px 0 0;
  background: #1b2022;
  color: #8a928e;
  font: 9px/1 "SFMono-Regular", Consolas, monospace;
}

.concept-browser__lights {
  display: flex;
  gap: 4px;
}

.concept-browser__lights i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #5b625e;
}

.concept-browser__lights i:first-child {
  background: #ef806e;
}

.concept-browser__lights i:nth-child(2) {
  background: #e6bd65;
}

.concept-browser__lights i:nth-child(3) {
  background: #89c879;
}

.concept-browser__address {
  overflow: hidden;
  justify-self: center;
  max-width: 100%;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.concept-browser__open {
  justify-self: end;
  color: #22e07a;
  font-size: 13px;
}

.concept-website {
  min-height: clamp(310px, 39vw, 470px);
  overflow: hidden;
  border: 1px solid #34393d;
  border-radius: 0 0 7px 7px;
  background: #d7ddcb;
  color: #151915;
}

.concept-website__header {
  display: flex;
  min-height: 50px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-inline: clamp(14px, 3vw, 34px);
  border-bottom: 1px solid rgb(21 25 21 / 16%);
}

.concept-website__logo {
  font-size: clamp(10px, 1.2vw, 14px);
  font-weight: 800;
  letter-spacing: 0.08em;
}

.concept-website__header nav {
  display: flex;
  gap: clamp(10px, 2.4vw, 32px);
  color: #555d51;
  font-size: clamp(7px, 0.85vw, 10px);
  letter-spacing: 0.08em;
}

.concept-website__arrow {
  color: #4a613b;
}

.concept-website__hero {
  position: relative;
  display: flex;
  min-height: clamp(260px, 33vw, 390px);
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: clamp(22px, 5vw, 62px);
  background:
    radial-gradient(ellipse at 72% 54%, rgb(182 243 106 / 70%), transparent 35%),
    linear-gradient(130deg, #e5e9dd, #cad2bd);
}

.concept-website__eyebrow {
  z-index: 1;
  margin: 0;
  color: #5b6357;
  font: 9px/1.4 "SFMono-Regular", Consolas, monospace;
  letter-spacing: 0.14em;
}

.concept-website__hero h3 {
  z-index: 1;
  max-width: 600px;
  margin: 26px 0 auto;
  font-size: clamp(42px, 8.2vw, 104px);
  font-weight: 550;
  letter-spacing: -0.075em;
  line-height: 0.9;
}

.concept-website__bottom {
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.concept-website__bottom p {
  margin: 0;
  color: #525a4e;
  font-size: clamp(12px, 1.5vw, 18px);
  line-height: 1.45;
}

.concept-website__bottom span {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.concept-website__orb {
  position: absolute;
  top: 16%;
  right: 12%;
  width: clamp(140px, 25vw, 280px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 68% 76%, rgb(81 107 62 / 28%), transparent 48%),
    radial-gradient(circle at 34% 30%, #f8faef 0, #e1e9d4 17%, #b8cba2 43%, #899f70 68%, #d2dec2 84%, #94a77b 100%);
  box-shadow:
    0 18px 48px rgb(69 91 54 / 18%),
    inset -18px -20px 34px rgb(57 74 43 / 28%),
    inset 10px 11px 22px rgb(255 255 255 / 65%);
  transform: rotate(-18deg);
}

.concept-website__orb-core {
  position: absolute;
  inset: 18%;
  border: 1px solid rgb(255 255 255 / 54%);
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 32% 28%, rgb(255 255 255 / 86%), transparent 18%),
    radial-gradient(ellipse at 68% 72%, rgb(83 111 57 / 42%), transparent 36%),
    linear-gradient(140deg, rgb(255 255 255 / 14%), rgb(111 143 78 / 28%));
  box-shadow: inset -12px -10px 22px rgb(59 77 46 / 20%);
}

.concept-website__orb-ring {
  position: absolute;
  inset: 8%;
  border: 1px solid rgb(89 118 64 / 55%);
  border-radius: 50%;
  transform: rotateX(68deg) rotate(-24deg);
}

.concept-website__orb-ring--two {
  inset: -2% 12%;
  border-color: rgb(255 255 255 / 56%);
  transform: rotateY(62deg) rotate(34deg);
}

.concept-website__orb-highlight {
  position: absolute;
  top: 17%;
  left: 23%;
  width: 14%;
  height: 7%;
  border-radius: 50%;
  background: rgb(255 255 255 / 68%);
  transform: rotate(-42deg);
}

.concept-card__caption {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 24px 24px;
}

.concept-card__number {
  color: #22e07a;
  font: 500 10px/1.4 "SFMono-Regular", Consolas, monospace;
  letter-spacing: 0.12em;
}

.concept-card__caption h3 {
  margin: 7px 0 0;
  color: #fff;
  font-size: clamp(20px, 2.1vw, 26px);
  font-weight: 550;
  letter-spacing: -0.04em;
}

.concept-card__caption > p {
  max-width: 290px;
  margin: 0;
  color: #9aa3b5;
  font-size: 13px;
  line-height: 1.6;
}

.workspace-preview {
  display: grid;
  min-height: 315px;
  grid-template-columns: 104px minmax(0, 1fr);
  overflow: hidden;
  background: #e9ece5;
  color: #20261f;
}

.workspace-preview__sidebar {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 15px 9px;
  border-right: 1px solid #d6dcd2;
  background: #f4f6f1;
}

.workspace-preview__brand {
  display: grid;
  width: 24px;
  height: 24px;
  margin-bottom: 14px;
  place-items: center;
  border-radius: 6px;
  background: #1e2821;
  color: #b6f36a;
  font-size: 11px;
  font-weight: 800;
}

.workspace-preview__nav {
  overflow: hidden;
  padding: 7px 6px;
  border-radius: 4px;
  color: #778075;
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.workspace-preview__nav--active {
  background: #e2e8dd;
  color: #29372a;
}

.workspace-preview__avatar {
  display: grid;
  width: 24px;
  height: 24px;
  margin-top: auto;
  place-items: center;
  border-radius: 50%;
  background: #c9d5bd;
  color: #33442e;
  font-size: 8px;
}

.workspace-preview__main {
  position: relative;
  min-width: 0;
  padding: 25px clamp(14px, 3vw, 30px);
  background:
    radial-gradient(ellipse at 100% 0, rgb(182 243 106 / 26%), transparent 44%),
    #e9ece5;
}

.workspace-preview__eyebrow {
  margin: 0 0 9px;
  color: #778075;
  font-size: 8px;
  letter-spacing: 0.13em;
}

.workspace-preview__tag {
  color: #526845;
  font: 8px/1.4 "SFMono-Regular", Consolas, monospace;
  letter-spacing: 0.12em;
}

.workspace-preview__title {
  margin: 13px 0 0;
  color: #293128;
  font-size: clamp(17px, 2.2vw, 26px);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 1.02;
}

.workspace-preview__panel {
  display: flex;
  max-width: 370px;
  flex-direction: column;
  margin-top: 21px;
  padding: clamp(14px, 2.5vw, 24px);
  border: 1px solid #d4dacf;
  border-radius: 7px;
  background: rgb(255 255 255 / 72%);
  box-shadow: 0 12px 35px rgb(48 62 43 / 7%);
}

.workspace-preview__panel > span {
  color: #879084;
  font-size: 7px;
  letter-spacing: 0.12em;
}

.workspace-preview__panel strong {
  margin-top: 7px;
  color: #283126;
  font-size: clamp(12px, 1.3vw, 15px);
  font-weight: 600;
}

.workspace-preview__divider {
  height: 1px;
  margin-block: 15px;
  background: #e1e5de;
}

.workspace-preview__panel small {
  align-self: flex-end;
  margin-top: 9px;
  color: #768071;
  font-size: 8px;
}

.workspace-preview__panel small b {
  color: #4b7a39;
}

.workspace-preview__bars {
  display: flex;
  gap: 6px;
  margin-top: 19px;
}

.workspace-preview__bars i {
  width: 24%;
  height: 4px;
  border-radius: 5px;
  background: #d7ddd2;
}

.workspace-preview__bars i:first-child {
  background: #8ebc66;
}

.phone-stage {
  display: grid;
  min-height: 360px;
  place-items: center;
  overflow: hidden;
  padding: 16px;
  background:
    radial-gradient(ellipse at 50% 70%, rgb(182 243 106 / 15%), transparent 50%),
    #15191b;
}

.phone-device {
  position: relative;
  width: min(100%, 166px);
  aspect-ratio: 0.53;
  padding: 5px;
  border: 1px solid #303431;
  border-radius: 34px;
  background: linear-gradient(135deg, #343735 0%, #090a0a 14%, #171a18 50%, #050606 84%, #292c29 100%);
  box-shadow:
    0 20px 48px rgb(0 0 0 / 48%),
    0 0 0 1px rgb(255 255 255 / 5%),
    inset 0 0 0 1px rgb(255 255 255 / 8%);
}

.phone-device__button {
  position: absolute;
  z-index: 2;
  width: 3px;
  border-radius: 3px 0 0 3px;
  background: linear-gradient(90deg, #565b56, #a6aaa3);
}

.phone-device__button--action {
  top: 62px;
  left: -4px;
  height: 23px;
}

.phone-device__button--volume {
  top: 96px;
  left: -4px;
  height: 32px;
}

.phone-device__button--volume-second {
  top: 137px;
  height: 32px;
}

.phone-device__button--power {
  top: 104px;
  right: -4px;
  height: 48px;
  border-radius: 0 3px 3px 0;
  background: linear-gradient(90deg, #a6aaa3, #565b56);
}

.phone-preview {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  padding: 18px 12px 13px;
  border: 1px solid #090b09;
  border-radius: 29px;
  background:
    radial-gradient(ellipse at 75% 50%, rgb(182 243 106 / 28%), transparent 38%),
    #dce2d3;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 28%);
  color: #182017;
}

.phone-preview__island {
  position: absolute;
  z-index: 2;
  top: 7px;
  left: 50%;
  width: 42px;
  height: 17px;
  border: 1px solid #161817;
  border-radius: 12px;
  background: #070808;
  transform: translateX(-50%);
}

.phone-preview__status,
.phone-preview__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.phone-preview__status {
  position: absolute;
  z-index: 3;
  top: 18px;
  right: 5px;
  left: 8px;
  display: grid;
  height: 12px;
  grid-template-columns: auto 1fr;
  align-items: center;
  padding: 0;
  font-size: 8px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.phone-preview__time {
  position: relative;
  top: 4px;
  flex: 0 0 auto;
  white-space: nowrap;
}

.phone-preview__indicators {
  position: relative;
  top: 3px;
  display: inline-flex;
  flex: 0 0 auto;
  justify-self: end;
  height: 11px;
  align-items: center;
  justify-content: flex-end;
  gap: 2px;
  color: #182017;
}

.phone-preview__signal,
.phone-preview__wifi,
.phone-preview__battery {
  display: block;
  height: 9px;
  overflow: visible;
}

.phone-preview__signal {
  width: 10px;
  fill: currentColor;
}

.phone-preview__wifi {
  width: 10px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.35;
}

.phone-preview__wifi circle {
  fill: currentColor;
  stroke: none;
}

.phone-preview__battery {
  width: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1;
}

.phone-preview__battery .phone-preview__battery-outline {
  fill: none;
}

.phone-preview__battery .phone-preview__battery-level {
  fill: currentColor;
  stroke: none;
}

.phone-preview__battery .phone-preview__battery-cap {
  stroke-width: 1.5;
}

.phone-preview__header {
  min-height: 32px;
  margin-top: 15px;
  border-bottom: 1px solid rgb(24 32 23 / 14%);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.phone-preview__header span:nth-child(2) {
  color: #739c4d;
  font-size: 13px;
}

.phone-preview__eyebrow {
  margin: 21px 0 9px;
  color: #727c68;
  font-size: 6px;
  letter-spacing: 0.16em;
}

.phone-preview h3 {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 29px;
  font-weight: 600;
  letter-spacing: -0.07em;
  line-height: 0.94;
}

.phone-preview h3 span {
  color: #68834e;
}

.phone-preview__footer {
  position: absolute;
  right: 13px;
  bottom: 15px;
  left: 13px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
  padding-top: 9px;
  border-top: 1px solid rgb(24 32 23 / 14%);
  font-size: 6px;
  font-weight: 750;
  letter-spacing: 0.08em;
}

.phone-preview__footer span:last-child {
  max-width: 90px;
  color: #59664f;
  line-height: 1.5;
}

.phone-preview__footer b {
  color: #314d2c;
}

.phone-preview__spark {
  position: absolute;
  top: 42%;
  right: 18px;
  color: #71964f;
  font-size: 27px;
}

.phone-preview__plus {
  position: absolute;
  right: 20px;
  bottom: 62px;
  color: #71964f;
  font-size: 20px;
}

@media (min-width: 1101px) and (hover: hover) and (pointer: fine) {
  .concept-card {
    transition: border-color 220ms ease, box-shadow 220ms ease;
  }

  .concept-card:hover {
    border-color: #3a4936;
    box-shadow: 0 0 32px rgb(182 243 106 / 6%);
  }
}

@media (max-width: 760px) {
  .projects-section__inner {
    width: calc(100% - 40px);
    padding-block: 54px 64px;
  }

  .projects-section__intro {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    margin-bottom: 30px;
  }

  .projects-section__heading h2 {
    font-size: clamp(32px, 8vw, 46px);
  }

  .concept-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .concept-card--wide {
    grid-column: auto;
  }

  .concept-website__header nav {
    gap: 10px;
    font-size: 7px;
  }

  .concept-card__caption {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 18px;
  }
}

@media (max-width: 420px) {
  .concept-browser {
    padding: 9px;
  }

  .concept-browser__bar {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 8px;
    padding-inline: 8px;
    font-size: 7px;
  }

  .concept-website__header {
    min-height: 42px;
    gap: 6px;
    padding-inline: 10px;
  }

  .concept-website__header nav {
    gap: 7px;
    font-size: 6px;
  }

  .concept-website__logo {
    font-size: 9px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .concept-card {
    transition: none;
  }
}
