/* =========================================================
   VERVE WEBSITE — style.css
   ========================================================= */

/* ----- TOKENS ----- */
:root {
  --brand: #7c3aed;
  --brand-2: #a78bfa;
  --brand-glow: rgba(124, 58, 237, 0.35);
  --accent: #f59e0b;

  --bg: #ffffff;
  --bg-2: #f8f7ff;
  --bg-3: #ede9fe;
  --surface: #ffffff;
  --surface-2: #f3f0ff;
  --border: rgba(124, 58, 237, 0.15);

  --text: #0f0a1e;
  --text-2: #4b4568;
  --text-3: #7c7494;

  --nav-bg: rgba(255, 255, 255, 0.75);
  --nav-border: rgba(124, 58, 237, 0.1);

  --card-bg: #ffffff;
  --card-border: rgba(124, 58, 237, 0.1);
  --card-shadow: 0 4px 32px rgba(124, 58, 237, 0.08);

  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;

  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --brand: #a78bfa;
    --brand-2: #c4b5fd;
    --brand-glow: rgba(167, 139, 250, 0.3);

    --bg: #0a0612;
    --bg-2: #100c1e;
    --bg-3: #1a1330;
    --surface: #130f22;
    --surface-2: #1e1835;
    --border: rgba(167, 139, 250, 0.15);

    --text: #f0eeff;
    --text-2: #b0a8cc;
    --text-3: #6d6489;

    --nav-bg: rgba(10, 6, 18, 0.8);
    --nav-border: rgba(167, 139, 250, 0.12);

    --card-bg: #130f22;
    --card-border: rgba(167, 139, 250, 0.12);
    --card-shadow: 0 4px 32px rgba(0, 0, 0, 0.4);
  }
}

[data-theme='dark'] {
  --brand: #a78bfa;
  --brand-2: #c4b5fd;
  --brand-glow: rgba(167, 139, 250, 0.3);

  --bg: #0a0612;
  --bg-2: #100c1e;
  --bg-3: #1a1330;
  --surface: #130f22;
  --surface-2: #1e1835;
  --border: rgba(167, 139, 250, 0.15);

  --text: #f0eeff;
  --text-2: #b0a8cc;
  --text-3: #6d6489;

  --nav-bg: rgba(10, 6, 18, 0.8);
  --nav-border: rgba(167, 139, 250, 0.12);

  --card-bg: #130f22;
  --card-border: rgba(167, 139, 250, 0.12);
  --card-shadow: 0 4px 32px rgba(0, 0, 0, 0.4);
}

/* ----- RESET ----- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}

img, svg { display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ----- UTILITY ----- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  border-radius: 999px;
  cursor: pointer;
  border: none;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  white-space: nowrap;
  text-decoration: none;
}

.btn--sm  { font-size: 13px; padding: 8px 18px; }
.btn--lg  { font-size: 16px; padding: 14px 28px; }

.btn--primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 0 0 0 var(--brand-glow);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px var(--brand-glow);
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}
.btn--ghost:hover {
  background: var(--surface-2);
  transform: translateY(-2px);
}

.section-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 12px;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.15;
}

.section-sub {
  font-size: 1.1rem;
  color: var(--text-2);
  max-width: 520px;
  margin-bottom: 56px;
}

/* ----- SCROLL REVEAL ----- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal--up { transform: translateY(60px); }
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* stagger children */
.features__grid .reveal:nth-child(1) { transition-delay: 0.05s; }
.features__grid .reveal:nth-child(2) { transition-delay: 0.12s; }
.features__grid .reveal:nth-child(3) { transition-delay: 0.19s; }
.features__grid .reveal:nth-child(4) { transition-delay: 0.26s; }
.features__grid .reveal:nth-child(5) { transition-delay: 0.33s; }
.features__grid .reveal:nth-child(6) { transition-delay: 0.40s; }

/* ----- NAV ----- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 0 40px;
  height: 64px;
  background: var(--nav-bg);
  border-bottom: 1px solid var(--nav-border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: background var(--transition);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  color: var(--text);
  margin-right: auto;
}

.nav__logo-icon {
  width: 32px;
  height: 32px;
}

.logo-bg { fill: var(--brand); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav__links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  padding: 6px 12px;
  border-radius: 8px;
  transition: color var(--transition), background var(--transition);
}

.nav__links a:hover,
.nav__links a.nav__github {
  color: var(--text);
  background: var(--surface-2);
}

.nav__github {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
}

/* Theme toggle button */
.nav__theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1.5px solid var(--border);
  background: var(--surface-2);
  color: var(--text-2);
  cursor: pointer;
  flex-shrink: 0;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
}
.nav__theme-toggle:hover {
  background: var(--bg-3);
  color: var(--brand);
  border-color: var(--brand);
  transform: rotate(15deg);
}
.nav__theme-toggle svg { pointer-events: none; }
.nav__theme-toggle .icon-sun  { display: none; }
.nav__theme-toggle .icon-moon { display: block; }
[data-theme='dark'] .nav__theme-toggle .icon-sun  { display: block; }
[data-theme='dark'] .nav__theme-toggle .icon-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .nav__theme-toggle .icon-sun  { display: block; }
  :root:not([data-theme='light']) .nav__theme-toggle .icon-moon { display: none; }
}

@media (max-width: 768px) {
  .nav { padding: 0 20px; gap: 12px; }
  .nav__links { display: none; }
}

/* ----- HERO ----- */
.hero {
  min-height: 100vh;
  padding-top: 64px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--bg);
}

.hero__content {
  padding: 80px 40px 80px 80px;
  position: relative;
  z-index: 2;
  max-width: 640px;
}

/* ----- HERO BACKDROP ----- */
.hero__backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__backdrop-img {
  width: 100%;
  height: 120%;
  margin-top: -10%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  will-change: transform;
}

.hero__backdrop-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, var(--bg) 0%, transparent 16%, transparent 68%, var(--bg) 100%),
    linear-gradient(to right, var(--bg) 16%, transparent 62%);
}

[data-theme='dark'] .hero__backdrop-img {
  filter: brightness(0.45) saturate(0.7);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .hero__backdrop-img {
    filter: brightness(0.45) saturate(0.7);
  }
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 0%, transparent 70%);
  opacity: 0.5;
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: floatOrb 8s ease-in-out infinite;
}
.hero__orb--1 {
  width: 500px; height: 500px;
  top: -100px; left: -100px;
  background: radial-gradient(circle, rgba(124,58,237,0.25), transparent 60%);
  animation-delay: 0s;
}
.hero__orb--2 {
  width: 400px; height: 400px;
  bottom: -80px; right: 20%;
  background: radial-gradient(circle, rgba(245,158,11,0.15), transparent 60%);
  animation-delay: -3s;
}
.hero__orb--3 {
  width: 300px; height: 300px;
  top: 30%; right: 0;
  background: radial-gradient(circle, rgba(167,139,250,0.2), transparent 60%);
  animation-delay: -5s;
}

@keyframes floatOrb {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(20px, -30px) scale(1.05); }
  66% { transform: translate(-15px, 20px) scale(0.95); }
}

.hero__eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 16px;
}

.hero__title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
}

.hero__title-line { display: block; }
.hero__title-line--accent {
  background: linear-gradient(135deg, var(--brand), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__sub {
  font-size: 1.15rem;
  color: var(--text-2);
  max-width: 460px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero__cta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.hero__meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.hero__badge {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-3);
  background: var(--surface-2);
  border: 1px solid var(--border);
  padding: 4px 12px;
  border-radius: 999px;
}

/* App window mock */
.hero__app-window {
  background: var(--surface);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 80px rgba(0,0,0,0.12), 0 0 0 1px var(--card-border);
  overflow: hidden;
  animation: windowFloat 6s ease-in-out infinite;
}

@keyframes windowFloat {
  0%, 100% { transform: translateY(0) rotate(-0.5deg); }
  50% { transform: translateY(-12px) rotate(0.5deg); }
}

.hero__app-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: var(--bg-3);
  border-bottom: 1px solid var(--border);
}

.hero__app-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--text-3);
  opacity: 0.4;
}
.hero__app-dot:nth-child(1) { background: #ff5f57; opacity: 1; }
.hero__app-dot:nth-child(2) { background: #febc2e; opacity: 1; }
.hero__app-dot:nth-child(3) { background: #28c840; opacity: 1; }

.hero__app-title {
  font-size: 11px;
  color: var(--text-3);
  margin-left: 8px;
  font-family: monospace;
}

.hero__app-body {
  display: grid;
  grid-template-columns: 40px 1fr 120px;
  min-height: 280px;
}

.hero__app-toolbar {
  background: var(--bg-2);
  border-right: 1px solid var(--border);
  padding: 12px 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}

.hero__app-tool {
  width: 22px; height: 22px;
  border-radius: 5px;
  background: var(--text-3);
  opacity: 0.2;
}
.hero__app-tool--active {
  background: var(--brand);
  opacity: 1;
}

.hero__app-canvas {
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.hero__app-artwork {
  width: 100%;
  height: 200px;
  position: relative;
  background: white;
  border-radius: 4px;
  overflow: hidden;
}

.hero__app-stroke {
  position: absolute;
  border-radius: 100px;
}
.hero__app-stroke--1 {
  width: 70%; height: 8px;
  top: 35%; left: 10%;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  transform: rotate(-3deg);
  animation: strokeDraw 3s ease-in-out infinite alternate;
}
.hero__app-stroke--2 {
  width: 50%; height: 6px;
  top: 55%; left: 20%;
  background: linear-gradient(90deg, #f59e0b, #ef4444);
  transform: rotate(2deg);
  animation: strokeDraw 3s ease-in-out 0.5s infinite alternate;
}
.hero__app-stroke--3 {
  width: 40%; height: 5px;
  top: 70%; left: 15%;
  background: linear-gradient(90deg, #10b981, #3b82f6);
  transform: rotate(-1deg);
  animation: strokeDraw 3s ease-in-out 1s infinite alternate;
}

@keyframes strokeDraw {
  0% { width: 20%; opacity: 0.7; }
  100% { width: 70%; opacity: 1; }
}

.hero__app-panels {
  border-left: 1px solid var(--border);
  background: var(--bg-2);
  display: flex;
  flex-direction: column;
}

.hero__app-colorpicker {
  padding: 8px;
  border-bottom: 1px solid var(--border);
}

.hero__app-colorgrad {
  width: 100%;
  height: 60px;
  border-radius: 4px;
  background: linear-gradient(to right, #ffffff, #ff0000),
              linear-gradient(to bottom, transparent, #000000);
  background-blend-mode: multiply;
  margin-bottom: 6px;
}

.hero__app-colorhue {
  width: 100%;
  height: 10px;
  border-radius: 4px;
  background: linear-gradient(to right, #ff0000, #ffff00, #00ff00, #00ffff, #0000ff, #ff00ff, #ff0000);
}

.hero__app-layers {
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero__app-layer {
  font-size: 10px;
  padding: 5px 8px;
  border-radius: 4px;
  color: var(--text-2);
  background: transparent;
  cursor: default;
}
.hero__app-layer--active {
  background: var(--brand);
  color: white;
}

/* scroll hint */
.hero__scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-3);
  z-index: 2;
  animation: fadeInUp 1s ease 1s both;
}

.hero__scroll-arrow {
  width: 2px;
  height: 40px;
  background: linear-gradient(to bottom, var(--brand), transparent);
  border-radius: 2px;
  animation: scrollPulse 1.5s ease-in-out infinite;
}

@keyframes scrollPulse {
  0% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(0.3); opacity: 0; transform-origin: top; }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translate(-50%, 20px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

@media (max-width: 900px) {
  .hero__content {
    padding: 80px 24px 80px 24px;
    max-width: 100%;
  }
  .hero__backdrop-overlay {
    background:
      linear-gradient(to bottom, var(--bg) 0%, transparent 15%, transparent 60%, var(--bg) 100%),
      linear-gradient(to right, var(--bg) 0%, transparent 55%);
  }
}

/* ----- MARQUEE ----- */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-2);
  padding: 14px 0;
}

.marquee__track {
  display: flex;
  align-items: center;
  gap: 32px;
  white-space: nowrap;
  animation: marqueeScroll 30s linear infinite;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
  letter-spacing: 0.05em;
}

.marquee__dot {
  color: var(--brand);
  font-size: 10px;
}

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ----- FEATURES ----- */
.features {
  padding: 120px 0;
  background: var(--bg);
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 900px) {
  .features__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .features__grid { grid-template-columns: 1fr; }
}

.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--card-shadow);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--brand);
  box-shadow: 0 12px 48px var(--brand-glow);
}

.feature-card__icon {
  width: 48px; height: 48px;
  background: var(--bg-3);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--brand);
}
.feature-card__icon svg { width: 22px; height: 22px; }

.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}

.feature-card p {
  font-size: 0.92rem;
  color: var(--text-2);
  line-height: 1.65;
}

/* ----- WORKFLOW / BENTO ----- */
.workflow {
  padding: 120px 0;
  background: var(--bg-2);
}

.bento {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: auto auto;
  gap: 20px;
}

.bento__card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--card-shadow);
  overflow: hidden;
  position: relative;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform var(--transition), box-shadow var(--transition);
}

.bento__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 64px var(--brand-glow);
}

.bento__card--wide { grid-column: span 2; flex-direction: row; gap: 40px; }
.bento__card--tall { min-height: 340px; }

.bento__content h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
}
.bento__content p {
  font-size: 0.92rem;
  color: var(--text-2);
  line-height: 1.6;
  max-width: 280px;
}

/* workspace visual */
.bento__visual--workspace {
  display: flex;
  gap: 8px;
  align-items: stretch;
  flex: 1;
  min-height: 120px;
}

.bento__mock-panel--left,
.bento__mock-panel--right {
  width: 48px;
  background: var(--bg-3);
  border-radius: 8px;
  flex-shrink: 0;
}

.bento__mock-canvas {
  flex: 1;
  background: var(--bg);
  border-radius: 8px;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.bento__mock-canvas::after {
  content: '';
  position: absolute;
  inset: 20%;
  background: linear-gradient(135deg, var(--brand-glow), transparent);
  border-radius: 50%;
  filter: blur(20px);
}

/* theme visual */
.bento__visual--theme {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.bento__theme-light, .bento__theme-dark {
  flex: 1;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.bento__theme-light { background: #f8f7ff; }
.bento__theme-dark  { background: #0a0612; }

.bento__theme-bar {
  height: 28px;
  border-bottom: 1px solid var(--border);
}
.bento__theme-light .bento__theme-bar { background: #ede9fe; }
.bento__theme-dark  .bento__theme-bar { background: #1a1330; }

.bento__theme-canvas {
  height: 60px;
  margin: 8px;
  border-radius: 6px;
}
.bento__theme-light .bento__theme-canvas { background: #ffffff; }
.bento__theme-dark  .bento__theme-canvas { background: #130f22; }

/* formats visual */
.bento__visual--formats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.bento__format-tag {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  background: var(--bg-3);
  color: var(--brand);
  border: 1px solid var(--border);
  padding: 5px 12px;
  border-radius: 999px;
}

/* capture visual */
.bento__visual--capture {
  position: absolute;
  bottom: -20px; right: -20px;
  width: 140px; height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bento__capture-ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid var(--brand);
  opacity: 0.3;
  animation: pulse 2.5s ease-in-out infinite;
}
.bento__capture-ring--1 { width: 60px; height: 60px; animation-delay: 0s; }
.bento__capture-ring--2 { width: 90px; height: 90px; animation-delay: 0.4s; }
.bento__capture-ring--3 { width: 120px; height: 120px; animation-delay: 0.8s; }

@keyframes pulse {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.08); }
}

.bento__capture-icon {
  width: 32px; height: 32px;
  color: var(--brand);
  position: relative;
  z-index: 2;
}

@media (max-width: 768px) {
  .bento { grid-template-columns: 1fr; }
  .bento__card--wide { flex-direction: column; grid-column: span 1; }
}

/* ----- STUDIO ----- */
.studio {
  padding: 140px 0;
  background: var(--bg);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.studio__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.studio__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
}
.studio__orb--1 {
  width: 600px; height: 600px;
  top: -100px; left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(124,58,237,0.2), transparent 60%);
  animation: floatOrb 10s ease-in-out infinite;
}
.studio__orb--2 {
  width: 400px; height: 400px;
  bottom: -100px; right: 10%;
  background: radial-gradient(circle, rgba(245,158,11,0.1), transparent 60%);
  animation: floatOrb 12s ease-in-out 3s infinite;
}

.studio__inner {
  position: relative;
  z-index: 2;
  max-width: 780px;
  margin: 0 auto;
}

.studio__badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  color: white;
  padding: 5px 16px;
  border-radius: 999px;
  margin-bottom: 24px;
}

.studio__title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 24px;
  color: var(--text);
}

.studio__title--accent {
  background: linear-gradient(135deg, var(--brand), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.studio__sub {
  font-size: 1.05rem;
  color: var(--text-2);
  line-height: 1.75;
  margin-bottom: 56px;
}

.studio__tools {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.studio__tool {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px 16px;
  border-radius: var(--radius);
  border: 1.5px solid var(--card-border);
  background: var(--card-bg);
  width: 120px;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.studio__tool:hover {
  transform: translateY(-4px);
}

.studio__tool--active {
  border-color: var(--brand);
  box-shadow: 0 0 20px var(--brand-glow);
}

.studio__tool-icon {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-3);
  border-radius: 12px;
  color: var(--brand);
}
.studio__tool-icon svg { width: 20px; height: 20px; }

.studio__tool-icon--locked {
  background: var(--surface-2);
  color: var(--text-3);
  opacity: 0.5;
}

.studio__tool span {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}

.studio__tool small {
  font-size: 11px;
  color: var(--text-3);
}

/* ----- OPEN SOURCE ----- */
.opensource {
  padding: 120px 0;
  background: var(--bg-2);
}

.opensource__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.opensource__text .section-label { margin-bottom: 16px; }

.opensource__text h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--text);
}

.opensource__text p {
  font-size: 1rem;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 32px;
}

.opensource__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.stat-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--card-shadow);
  transition: transform var(--transition);
}
.stat-card:hover { transform: translateY(-4px); }

.stat-card__num {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--brand);
  margin-bottom: 6px;
}

.stat-card__label {
  font-size: 12px;
  color: var(--text-3);
  font-weight: 500;
}

@media (max-width: 768px) {
  .opensource__inner { grid-template-columns: 1fr; gap: 40px; }
  .opensource__stats { grid-template-columns: repeat(3, 1fr); }
}

/* ----- DOWNLOAD ----- */
.download {
  padding: 140px 0;
  background: var(--bg);
  text-align: center;
}

.download__inner {
  position: relative;
  max-width: 680px;
  margin: 0 auto;
}

.download__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.download__orb {
  position: absolute;
  width: 400px; height: 400px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, var(--brand-glow), transparent 60%);
  filter: blur(60px);
  border-radius: 50%;
  animation: floatOrb 8s ease-in-out infinite;
}

.download h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--text);
  position: relative;
}

.download p {
  font-size: 1.1rem;
  color: var(--text-2);
  margin-bottom: 40px;
  position: relative;
}

.download__buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  position: relative;
  margin-bottom: 32px;
}

.download__platforms {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  font-size: 13px;
  color: var(--text-3);
  font-weight: 500;
  position: relative;
}

.download__platforms span {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ----- FOOTER ----- */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.footer__brand .nav__logo {
  margin-bottom: 16px;
}

.footer__brand p {
  font-size: 0.9rem;
  color: var(--text-2);
  line-height: 1.7;
  max-width: 240px;
}

.footer__domain {
  margin-top: 8px;
  font-size: 12px;
  color: var(--brand);
  font-weight: 600;
  letter-spacing: 0.05em;
}

.footer__links {
  display: flex;
  gap: 64px;
  flex-wrap: wrap;
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__col h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 4px;
}

.footer__col a {
  font-size: 14px;
  color: var(--text-2);
  transition: color var(--transition);
}
.footer__col a:hover { color: var(--brand); }

.footer__bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-3);
  flex-wrap: wrap;
  gap: 12px;
}

.footer__github {
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color var(--transition);
}
.footer__github:hover { color: var(--brand); }

/* ----- PARALLAX DATA ATTRS ----- */
[data-parallax] {
  will-change: transform;
}
