/* =========================
   HERO
========================== */

.hero {
  min-height: calc(100vh - 68px);

  display: flex;
  align-items: center;

  overflow: hidden;

  border-bottom: 1px solid var(--color-border);
}

/* =========================
   HERO BACKGROUND
========================== */

.hero::before {
  content: "";

  position: absolute;
  inset: 0;

  background:
    radial-gradient(
      circle at 76% 32%,
      rgba(242, 165, 22, 0.07),
      transparent 28%
    ),
    radial-gradient(
      circle at 22% 55%,
      rgba(26, 101, 176, 0.08),
      transparent 36%
    );

  pointer-events: none;
}

/* =========================
   LAYOUT
========================== */

.hero-container {
  position: relative;
  z-index: 1;

  display: grid;
  grid-template-columns: 1.05fr 0.95fr;

  align-items: center;

  gap: 40px;

  padding-top: 35px;
  padding-bottom: 75px;
}

/* =========================
   HERO CONTENT
========================== */

.hero-content {
  max-width: 620px;
}

.hero .eyebrow {
  margin-bottom: 34px;
}

/* =========================
   TITLE
========================== */

.hero-title {
  display: flex;
  flex-direction: column;

  font-size: clamp(58px, 5.4vw, 82px);

  font-weight: 800;

  letter-spacing: -0.06em;

  line-height: 0.95;

  color: var(--color-text);
}

.hero-title span {
  display: block;
}

/* =========================
   DESCRIPTION
========================== */

.hero-description {
  max-width: 560px;

  margin-top: 28px;

  font-size: 16px;
  line-height: 1.7;

  color: var(--color-text-muted);
}

/* =========================
   SMALL NOTE
========================== */

.hero-note {
  margin-top: 18px;

  font-family: var(--font-mono);

  font-size: 10px;

  letter-spacing: 0.22em;

  text-transform: uppercase;

  color: #6f8ca9;
}

/* =========================
   ACTIONS
========================== */

.hero-actions {
  display: flex;
  align-items: center;

  gap: 24px;

  margin-top: 34px;
}

.hero-primary-btn {
  min-height: 52px;

  padding-inline: 26px;
}

.hero-secondary-link {
  display: inline-flex;
  align-items: center;

  gap: 8px;

  color: #7291b1;

  font-size: 14px;
  font-weight: 500;

  transition:
    color var(--transition-fast),
    transform var(--transition-fast);
}

.hero-secondary-link:hover {
  color: var(--color-text);

  transform: translateX(3px);
}

/* =========================
   HERO VISUAL
========================== */

.hero-visual {
  position: relative;

  width: 100%;
  height: 560px;

  transform: translateX(-55px);
}

/* =========================
   COMMON CARD STYLE
========================== */

.hero-card {
  position: absolute;

  border: 1px solid rgba(255, 255, 255, 0.11);

  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.28);

  overflow: hidden;
}

/* =========================
   SKETCH CARD
========================== */

.hero-card-sketch {
  width: 275px;
  height: 210px;

  right: 70px;
  top: 25px;

  padding: 24px;

  border-radius: 16px;

  background: #d9d6ce;
}

.sketch-browser {
  width: 100%;
  height: 100%;

  color: #6a685f;
}

.sketch-browser-top {
  height: 48px;

  display: flex;
  align-items: center;

  gap: 10px;

  padding-inline: 14px;

  border: 2px solid #79766d;
}

.sketch-browser-top span {
  width: 44px;
  height: 2px;

  background: #858176;
}

.sketch-browser-top .sketch-pill {
  width: 38px;
  height: 17px;

  margin-left: auto;

  border: 2px solid #79766d;
  border-radius: 999px;

  background: transparent;
}

.sketch-browser-main {
  height: 100px;

  display: grid;
  grid-template-columns: 1fr 70px;

  gap: 14px;

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

  border: 2px solid #79766d;
}

.sketch-copy {
  display: flex;
  flex-direction: column;

  gap: 10px;
}

.sketch-copy span {
  display: block;

  height: 2px;

  background: #858176;
}

.sketch-copy span:nth-child(1) {
  width: 92%;
}

.sketch-copy span:nth-child(2) {
  width: 64%;
}

.sketch-copy span:nth-child(3) {
  width: 78%;
}

.sketch-image-box {
  position: relative;

  border: 2px solid #8a867a;
}

.sketch-image-box span {
  position: absolute;

  width: 70px;
  height: 1px;

  left: -2px;
  top: 48%;

  background: #8a867a;
}

.sketch-image-box span:first-child {
  transform: rotate(36deg);
}

.sketch-image-box span:last-child {
  transform: rotate(-36deg);
}

/* =========================
   CODE CARD
========================== */

.hero-card-code {
  width: 285px;
  height: 220px;

  right: 25px;
  top: 175px;

  border-radius: 14px;

  background: #071222;
}

.code-tab {
  width: 92px;
  height: 23px;

  display: flex;
  align-items: center;

  margin: 0 0 0 18px;

  padding-inline: 12px;

  border: 1px solid rgba(242, 165, 22, 0.23);
  border-radius: 5px;

  font-family: var(--font-mono);

  font-size: 8px;

  color: var(--color-accent);

  background: rgba(242, 165, 22, 0.06);
}

.code-body {
  display: flex;
  flex-direction: column;

  gap: 5px;

  padding: 28px 22px;
}

.code-line {
  display: flex;
  align-items: center;

  min-height: 14px;

  font-family: var(--font-mono);

  font-size: 8px;

  color: #8da1b8;
}

.code-number {
  width: 24px;

  margin-right: 12px;

  color: #31465e;

  text-align: right;
}

.code-indent {
  margin-left: 12px;
}

.code-text {
  color: #d2dbea;
}

.code-orange {
  color: #e7a420;
}

.code-blue {
  color: #729dc5;
}

.code-green {
  color: #9bbd8a;
}

/* =========================
   LAUNCH CARD
========================== */

.hero-card-launch {
  width: 300px;
  height: 225px;

  right: -5px;
  top: 335px;

  padding: 18px 22px;

  border-color: rgba(242, 165, 22, 0.3);
  border-radius: 16px;

  background:
    radial-gradient(
      circle at 90% 10%,
      rgba(242, 165, 22, 0.22),
      transparent 40%
    ),
    #0b1725;
}

.launch-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.launch-logo {
  position: relative;

  width: 18px;
  height: 18px;
}

.launch-logo::before,
.launch-logo::after {
  content: "";

  position: absolute;

  width: 2px;
  height: 15px;

  top: 1px;

  background: var(--color-accent);
}

.launch-logo::before {
  left: 5px;

  transform: rotate(30deg);
}

.launch-logo::after {
  right: 5px;

  transform: rotate(-30deg);
}

.launch-nav {
  display: flex;

  gap: 8px;
}

.launch-nav span {
  width: 22px;
  height: 5px;

  border-radius: 999px;

  background: #64778b;
}

.launch-nav .launch-nav-accent {
  width: 34px;

  background: var(--color-accent);
}

.launch-content {
  position: relative;

  min-height: 125px;

  padding-top: 30px;
}

.launch-lines {
  display: flex;
  flex-direction: column;

  gap: 8px;
}

.launch-lines span {
  display: block;

  height: 6px;

  border-radius: 999px;

  background: #6f8296;
}

.launch-lines span:nth-child(1) {
  width: 170px;

  height: 10px;

  background: #d6e0ec;
}

.launch-lines span:nth-child(2) {
  width: 135px;

  background: #c6d2df;
}

.launch-lines span:nth-child(3) {
  width: 125px;
}

.launch-lines span:nth-child(4) {
  width: 100px;
}

.launch-button {
  width: 68px;
  height: 22px;

  margin-top: 14px;

  border-radius: 999px;

  background: var(--color-accent);
}

.launch-small-card {
  position: absolute;

  right: 0;
  bottom: 4px;

  width: 84px;
  height: 64px;

  display: flex;
  flex-direction: column;

  gap: 7px;

  padding: 13px;

  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;

  background: #102139;
}

.launch-small-card span {
  display: block;

  height: 4px;

  border-radius: 999px;

  background: #5d7188;
}

.launch-small-card span:nth-child(1) {
  width: 40px;

  background: var(--color-accent);
}

.launch-small-card span:nth-child(2) {
  width: 36px;
}

.launch-small-card span:nth-child(3) {
  width: 24px;
}

.launch-bottom {
  display: grid;
  grid-template-columns: repeat(3, 1fr);

  gap: 12px;

  margin-top: 9px;
}

.launch-bottom span {
  height: 42px;

  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 7px;

  background: rgba(255, 255, 255, 0.035);
}

.launch-bottom span:last-child {
  border-color: rgba(242, 165, 22, 0.32);
}

/* =========================
   STEP LABELS
========================== */

.hero-step {
  position: absolute;

  display: flex;
  align-items: center;

  gap: 9px;

  padding: 12px 8px;

  writing-mode: vertical-rl;

  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;

  font-family: var(--font-mono);

  font-size: 8px;

  letter-spacing: 0.14em;

  color: #7489a1;

  background: rgba(5, 14, 25, 0.86);
}

.hero-step span {
  color: var(--color-accent);
}

.hero-step-one {
  top: 42px;
  right: 360px;
}

.hero-step-two {
  top: 190px;
  right: 315px;
}

.hero-step-three {
  top: 350px;
  right: 275px;
}

/* =========================
   EXPLORE
========================== */

.hero-explore {
  position: absolute;

  left: 50%;
  bottom: 10px;

  transform: translateX(-50%);

  display: flex;
  flex-direction: column;
  align-items: center;

  gap: 5px;

  font-family: var(--font-mono);

  font-size: 10px;

  letter-spacing: 0.25em;

  color: #7291b1;

  transition: color var(--transition-fast);
}

.hero-explore:hover {
  color: var(--color-accent);
}

.hero-explore-arrow {
  font-size: 28px;

  line-height: 1;

  letter-spacing: 0;
}

/* =========================
   HERO CARDS HOVER
========================== */

.hero-card {
  transition:
    transform 500ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 400ms ease,
    box-shadow 500ms ease;

  will-change: transform;
}

/* κάθε card μεγαλώνει λίγο στο hover */
.hero-card:hover {
  transform: translateY(-8px);

  border-color: rgba(242, 165, 22, 0.8);

  box-shadow:
    0 26px 75px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(242, 165, 22, 0.08);
}

/* =========================
   STEP LABEL TRANSITION
========================== */

.hero-step {
  transition:
    color 280ms ease,
    border-color 280ms ease,
    background-color 280ms ease;
}

/* SKETCH */
.hero-card-sketch:hover ~ .hero-step-one {
  color: #ffffff;

  border-color: rgba(242, 165, 22, 0.35);

  background-color: rgba(7, 18, 34, 0.96);
}

/* BUILD */
.hero-card-code:hover ~ .hero-step-two {
  color: #ffffff;

  border-color: rgba(242, 165, 22, 0.35);

  background-color: rgba(7, 18, 34, 0.96);
}

/* LAUNCH */
.hero-card-launch:hover ~ .hero-step-three {
  color: #ffffff;

  border-color: rgba(242, 165, 22, 0.35);

  background-color: rgba(7, 18, 34, 0.96);
}

.hero-step span {
  transition: color 280ms ease;
}

.hero-card-sketch:hover ~ .hero-step-one span,
.hero-card-code:hover ~ .hero-step-two span,
.hero-card-launch:hover ~ .hero-step-three span {
  color: #ffc24a;
}
