.hero {
  padding-block: 1.5rem 3rem;
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}

.hero__copy h1 {
  font-size: clamp(2.2rem, 3vw, 2.8rem);
  margin-bottom: 1rem;
}

.hero__highlight {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__copy p {
  max-width: 32rem;
  margin-bottom: 1.4rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.hero__scroll-btn {
  font-size: 0.9rem;
}

.hero__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.45rem;
  font-size: 0.9rem;
  color: var(--text-soft);
}

/* Phone preview */
.hero__preview {
  justify-self: end;
}

.phone {
  width: 270px;
  height: 520px;
  border-radius: 36px;
  padding: 10px;
  background: radial-gradient(circle at top, #111827, #020617);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(148, 163, 184, 0.25);
  position: relative;
}

.phone__notch {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 82px;
  height: 20px;
  border-radius: 999px;
  background: #020617;
}

.phone__screen {
  width: 100%;
  height: 100%;
  border-radius: 28px;
  padding: 30px 10px 10px;
  background: #020617;
  display: flex;
  flex-direction: column;
}

/* Mock IG */
.mock-ig-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding-inline: 0.5rem;
  margin-bottom: 0.6rem;
}

.mock-ig-avatar {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f97316, #facc15);
}

.mock-ig-username {
  font-size: 0.75rem;
  color: #e5e7eb;
}

/* Aspect-ratio aware IG mock image */
.mock-ig-image {
  border-radius: 16px;
  overflow: hidden;
  background: radial-gradient(circle at top, #111827, #020617);
  border: 1px solid rgba(31, 41, 55, 0.9);
  display: grid;
  place-items: center;
  position: relative;

  /* Default ratio: portrait 4:5 (1080 × 1350) */
  aspect-ratio: 1080 / 1350;
}

.mock-ig-label {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.4);
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-soft);
}

.mock-ig-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}

.mock-ig-placeholder {
  font-size: 0.78rem;
  text-align: center;
  color: var(--text-soft);
  padding: 1rem;
}

.mock-ig-footer {
  padding: 0.6rem 0.5rem 0;
  display: grid;
  gap: 0.2rem;
}

.mock-ig-line {
  height: 6px;
  border-radius: 999px;
  background: rgba(55, 65, 81, 0.9);
}

.mock-ig-line--short {
  width: 60%;
  background: rgba(55, 65, 81, 0.7);
}

.hero__note {
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: var(--text-soft);
}
.hero__controls {
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  border-radius: 16px;
  background: rgba(5, 3, 15, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero__format-label {
  font-size: 0.9rem;
  display: block;
  margin-bottom: 0.4rem;
  opacity: 0.85;
}

.hero__format-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  align-items: center;
}

.hero__select {
  min-width: 210px;
}

.hero__meta {
  font-size: 0.85rem;
  opacity: 0.8;
}

.hero__crop {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.hero__slider-row {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.hero__slider-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
}

.hero__crop-note {
  font-size: 0.85rem;
  opacity: 0.8;
}
/* Actions under the phone preview */
.hero__preview .tool__actions {
  margin-top: 0.75rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
}
