@import url('./studio-sections.css');

/* Dark Lime Studio visual direction */
:root {
  --bg: #080a08;
  --surface: rgba(16, 18, 15, 0.82);
  --surface-2: rgba(22, 26, 20, 0.92);
  --accent: #d8ff64;
  --accent-hover: #edff9f;
  --accent-dim: rgba(216, 255, 100, 0.1);
  --accent-border: rgba(216, 255, 100, 0.32);
  --text: #f4f6ef;
  --text-muted: #a4aa9c;
  --text-faint: #555c51;
  --border: rgba(255, 255, 255, 0.09);
  --shadow: 0 24px 90px rgba(0, 0, 0, 0.46);
  --radius: 22px;
}

body.studio-home {
  background:
    radial-gradient(circle at 8% 18%, rgba(104, 255, 134, 0.16), transparent 28rem),
    radial-gradient(circle at 92% 26%, rgba(216, 255, 100, 0.13), transparent 26rem),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(#080a08, #080a08);
  background-size: auto, auto, 160px 160px, auto;
}

body.studio-home::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 50% 0%, rgba(216, 255, 100, 0.08), transparent 32rem);
  opacity: 0.7;
  z-index: -1;
}

.studio-home header {
  background: rgba(8, 10, 8, 0.72);
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

.studio-home .btn-primary,
.studio-home .btn-header {
  color: #0b0d08;
  box-shadow: 0 0 36px rgba(216, 255, 100, 0.18);
}

.studio-home .btn-secondary {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(14px);
}

.studio-hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100svh - 64px);
  padding: clamp(4.5rem, 9vw, 8rem) 0 3rem;
  border-bottom: 1px solid var(--border);
}

.studio-noise {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.45;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(216, 255, 100, 0.12), transparent 16rem),
    radial-gradient(circle at 90% 70%, rgba(72, 255, 137, 0.1), transparent 20rem);
}

.studio-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(2rem, 7vw, 6rem);
  align-items: center;
}

.studio-kicker {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
  margin-bottom: 1.6rem;
}

.studio-kicker span,
.device-tags span {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.3rem 0.72rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.035);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.studio-hero-title {
  max-width: 11ch;
  margin-bottom: 1.5rem;
  font-family: var(--font-body);
  font-size: clamp(3.4rem, 9vw, 8.2rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.075em;
}

.studio-hero-lead {
  max-width: 620px;
  margin-bottom: 2rem;
  color: var(--text-muted);
  font-size: clamp(1.03rem, 1.6vw, 1.3rem);
  line-height: 1.65;
}

.studio-hero-actions {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.studio-hero-visual {
  position: relative;
  min-height: 520px;
}

.studio-device-card {
  position: absolute;
  inset: 6% 8% 10% 10%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  border: 1px solid var(--accent-border);
  border-radius: 38px;
  padding: clamp(1.4rem, 3vw, 2.4rem);
  background:
    radial-gradient(circle at 50% 18%, rgba(216, 255, 100, 0.24), transparent 18rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.025));
  box-shadow: var(--shadow), inset 0 0 60px rgba(216, 255, 100, 0.08);
  transform: rotate(4deg);
}

.device-title {
  color: var(--text);
  font-size: clamp(3.2rem, 7vw, 6.4rem);
  font-weight: 700;
  line-height: 0.86;
  letter-spacing: -0.08em;
}

.device-topline,
.device-tags,
.device-grid {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.device-topline span {
  width: 0.58rem;
  height: 0.58rem;
  border-radius: 50%;
  background: var(--accent);
}

.device-grid span {
  min-width: 70px;
  height: 42px;
  flex: 1 1 40%;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
}

.studio-orbit {
  position: absolute;
  border: 1px solid rgba(216, 255, 100, 0.18);
  border-radius: 999px;
}

.studio-orbit-one {
  inset: 0 2% 8% 0;
  transform: rotate(-18deg);
}

.studio-orbit-two {
  inset: 16% 20% 18% 4%;
  transform: rotate(24deg);
}

.studio-float-card {
  position: absolute;
  max-width: 180px;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1rem;
  background: rgba(13, 16, 12, 0.74);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.studio-float-card span,
.cap-num,
.process-tile span {
  color: var(--accent);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
}

.studio-float-card p {
  margin-top: 0.35rem;
  color: var(--text-muted);
  font-size: 0.82rem;
}

.card-a { top: 6%; left: 0; }
.card-b { right: 0; bottom: 10%; }

.studio-hero-index {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: clamp(2.5rem, 7vw, 5.5rem);
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 26px;
  background: var(--border);
}

.studio-index-item {
  min-height: 150px;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.035);
  transition: background var(--transition), transform var(--transition);
}

.studio-index-item:hover {
  background: var(--accent-dim);
  transform: translateY(-2px);
}

.studio-index-item span,
.studio-index-item em {
  display: block;
  color: var(--text-faint);
  font-size: 0.78rem;
  font-style: normal;
}

.studio-index-item strong {
  display: block;
  margin: 1.5rem 0 0.25rem;
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  color: var(--text);
}

.studio-section {
  padding: clamp(4.5rem, 9vw, 7.5rem) 0;
  border-bottom: 1px solid var(--border);
}

.studio-section-head {
  margin-bottom: clamp(2rem, 4vw, 3.3rem);
}

.studio-section-head.split {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
}
