/* ==========================================================================
   Softbox3D — Studio Landing Page
   Tokens: cream #fff9f0 · alt #fdeecb · ink #241a3d · outline #0e1512
   pink #ff6e96 · purple #8b5cf6 · teal #125e54/#3fb5a6 · yellow #ffcd4d
   Breakpoint: 760px
   ========================================================================== */

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Nunito', sans-serif;
  background: #fff9f0;
  color: #241a3d;
  overflow-x: hidden;
}

h1, h2, h3, p { margin: 0; }

a { color: #ff6e96; }
a:hover { color: #e94f7c; }

.h-lg {
  font-family: 'Baloo 2', sans-serif;
  font-weight: 800;
  font-size: 44px;
  line-height: 1.1;
  color: #241a3d;
}

.kicker {
  font-family: 'Baloo 2', sans-serif;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.kicker-pink { color: #ff6e96; }
.kicker-teal { color: #3fb5a6; }

/* Wordmark */
.wordmark {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  color: #241a3d;
}
.wordmark-lg { font-size: 25px; letter-spacing: -0.6px; }
.wordmark-sm { font-size: 16px; letter-spacing: -0.4px; }
.wordmark-grad {
  background: linear-gradient(120deg, #ff6e96, #8b5cf6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ==========================================================================
   Nav
   ========================================================================== */

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 64px;
  background: rgba(255, 249, 240, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 2px solid rgba(36, 26, 61, 0.08);
}

.navlinks {
  display: flex;
  align-items: center;
  gap: 40px;
}

.btn-hello {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  font-family: 'Baloo 2', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: #fff;
  background: #241a3d;
  padding: 12px 26px;
  border-radius: 100px;
  transition: transform 0.15s, background 0.15s;
}
.btn-hello:hover {
  transform: translateY(-2px);
  background: #3a2a5c;
  color: #fff;
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  padding: 120px 64px 150px 64px;
  background: linear-gradient(150deg, #3d2170 0%, #8b3fb0 48%, #e0629a 100%);
  overflow: hidden;
}

.hero-bg { position: absolute; inset: 0; }

.hero-bg-image {
  background-image: url(../assets/hero-village.webp);
  background-size: cover;
  background-position: center right;
  opacity: 0.7;
}

.hero-bg-overlay {
  background: linear-gradient(100deg, #3d2170 6%, rgba(76, 42, 134, 0.9) 30%, rgba(139, 63, 176, 0.6) 58%, rgba(224, 98, 154, 0.5) 100%);
}

.hero-bg-dots {
  background-image: radial-gradient(rgba(255, 255, 255, 0.10) 1.5px, transparent 1.5px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse 80% 70% at 30% 40%, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 30% 40%, #000 40%, transparent 100%);
}

.hero-glow {
  position: absolute;
  top: 120px;
  left: -80px;
  width: 640px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 138, 180, 0.35), transparent 68%);
  filter: blur(20px);
}

.hero-content {
  max-width: 780px;
  position: relative;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 9px 20px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.2px;
  color: #fff;
  margin-bottom: 30px;
}

.hero-h {
  font-family: 'Baloo 2', sans-serif;
  font-weight: 800;
  font-size: 74px;
  line-height: 1.04;
  color: #fff;
  text-shadow: 0 4px 0 rgba(0, 0, 0, 0.12);
}

.hero-h-grad {
  background: linear-gradient(100deg, #ffe08a, #ff9fc0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
}

.hero-sub {
  margin-top: 28px;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  max-width: 560px;
}

.hero-cta-row {
  margin-top: 44px;
  display: flex;
  gap: 16px;
  align-items: center;
}

.btn-cta {
  text-decoration: none;
  font-family: 'Baloo 2', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: #241a3d;
  background: #ffcd4d;
  padding: 16px 34px;
  border-radius: 100px;
  box-shadow: 0 6px 0 #c9931f;
  transition: transform 0.15s, box-shadow 0.15s;
}
.btn-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 9px 0 #c9931f;
  color: #241a3d;
}

/* ==========================================================================
   Service strip
   ========================================================================== */

.strip {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 26px 64px;
  background: #241a3d;
  flex-wrap: wrap;
  justify-content: center;
}

.strip-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Baloo 2', sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
}

/* ==========================================================================
   Live showcase (Bike Lab)
   ========================================================================== */

.showcase {
  padding: 0 64px;
  max-width: 1360px;
  margin: 80px auto 0 auto;
}

.showcase-frame {
  border-radius: 36px;
  overflow: hidden;
  background: #0e2a26;
  border: 2px solid rgba(36, 26, 61, 0.08);
  box-shadow: 0 20px 50px rgba(36, 26, 61, 0.18);
  position: relative;
  height: 640px;
}

.showcase-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.btn-view-online {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  font-family: 'Baloo 2', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  background: #241a3d;
  padding: 10px 20px;
  border-radius: 100px;
  transition: transform 0.15s, background 0.15s;
}
.btn-view-online:hover {
  transform: translateY(-2px);
  background: #3a2a5c;
  color: #fff;
}

.showcase-meta {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.showcase-title {
  font-family: 'Baloo 2', sans-serif;
  font-weight: 700;
  font-size: 24px;
  margin-bottom: 6px;
}

.showcase-desc {
  font-size: 15px;
  font-weight: 600;
  color: rgba(36, 26, 61, 0.6);
  max-width: 520px;
}

.showcase-tags {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.tag {
  font-size: 12px;
  font-weight: 700;
  color: #241a3d;
  background: #fdeecb;
  padding: 6px 12px;
  border-radius: 100px;
}

/* ==========================================================================
   Pipeline
   ========================================================================== */

.pipeline {
  padding: 80px 64px 60px 64px;
  max-width: 1360px;
  margin: 0 auto;
}

.pipeline-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 56px;
  gap: 24px;
  flex-wrap: wrap;
}

.pipeline-intro {
  font-size: 16px;
  font-weight: 600;
  color: rgba(36, 26, 61, 0.65);
  max-width: 420px;
}

.pipeline-panels {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.panel {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  border-radius: 28px;
  overflow: hidden;
  border: 3px solid #0e1512;
  box-shadow: 0 8px 24px rgba(36, 26, 61, 0.06);
}

.panel-image {
  min-height: 380px;
  background: #1a1424;
}

.panel-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-repeat: no-repeat;
}

.panel-concept .panel-bg {
  background-image: url(../assets/concept-bg.webp);
  background-position: center 45%;
}

.panel-asset .panel-bg {
  background-image: url(../assets/asset-bike.webp);
  background-position: center 45%;
}

.panel-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20, 12, 34, 0.92) 0%, rgba(20, 12, 34, 0.6) 42%, rgba(20, 12, 34, 0) 72%);
}

.panel-text-right .panel-scrim {
  background: linear-gradient(270deg, rgba(20, 12, 34, 0.92) 0%, rgba(20, 12, 34, 0.6) 42%, rgba(20, 12, 34, 0) 72%);
}

.panel-text {
  position: relative;
  z-index: 1;
  flex: 1;
  padding: 48px 52px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
}

.panel-text-right .panel-text {
  align-items: flex-end;
  text-align: right;
}

.panel-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.panel-text-right .panel-row { flex-direction: row-reverse; }

.panel-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  font-family: 'Baloo 2', sans-serif;
  font-weight: 800;
  font-size: 15px;
  color: #fff;
}

.panel-kicker {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.panel-image .panel-kicker { color: #ff9fc0; }

.panel-title {
  font-family: 'Baloo 2', sans-serif;
  font-weight: 800;
  font-size: 32px;
  line-height: 1.1;
  margin-bottom: 14px;
}

.panel-image .panel-title { color: #fff; }

.panel-desc {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.6;
  max-width: 460px;
}

.panel-image .panel-desc { color: rgba(255, 255, 255, 0.82); }

/* --- Panel 03: scene switcher ------------------------------------------- */

.panel-scene {
  min-height: 300px;
  background: linear-gradient(120deg, #2ea89a 0%, #5cc9b0 45%, #ffd98a 100%); /* Lagoon (default) */
  transition: background 0.35s ease;
}

.panel-scene .panel-kicker { color: #125e54; }
.panel-scene .panel-title { color: #241a3d; }
.panel-scene .panel-desc { color: rgba(36, 26, 61, 0.62); }

/* dark scene (Midnight) flips the text for readability */
.panel-scene.scene-dark .panel-kicker { color: #ff9fc0; }
.panel-scene.scene-dark .panel-title { color: #fff; }
.panel-scene.scene-dark .panel-desc { color: rgba(255, 255, 255, 0.82); }
.panel-scene.scene-dark .scene-label { color: rgba(255, 255, 255, 0.75); }

.scene-wrap {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-self: center;
  width: 360px;
  flex: 0 0 360px;
  padding: 0 52px 0 0;
}

.scene-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(36, 26, 61, 0.55);
}

.scene-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.scene-btn {
  position: relative;
  height: 64px;
  border-radius: 16px;
  border: 3px solid rgba(14, 21, 18, 0.85);
  box-shadow: 0 4px 10px rgba(14, 21, 18, 0.15);
  cursor: pointer;
  display: flex;
  align-items: flex-end;
  padding: 8px 12px;
  font-family: 'Baloo 2', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
  transition: border 0.2s, box-shadow 0.2s, transform 0.15s;
  user-select: none;
}
.scene-btn:hover { transform: translateY(-2px); }

.scene-btn.is-active {
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px rgba(14, 21, 18, 0.9), 0 6px 14px rgba(14, 21, 18, 0.25);
}

.scene-btn-lagoon   { background: linear-gradient(120deg, #2ea89a 0%, #5cc9b0 45%, #ffd98a 100%); }
.scene-btn-sunset   { background: linear-gradient(135deg, #b39afc 0%, #ff9fb8 55%, #ffd9a8 100%); }
.scene-btn-studio   { background: linear-gradient(135deg, #f4f6fa 0%, #c9d2de 100%); }
.scene-btn-midnight { background: linear-gradient(135deg, #1c1038 0%, #3d2170 60%, #241a3d 100%); }

/* ==========================================================================
   Process
   ========================================================================== */

.process {
  padding: 48px 64px 110px 64px;
  max-width: 1360px;
  margin: 0 auto;
}

.process .kicker { text-align: center; }

.process-h {
  text-align: center;
  margin-bottom: 64px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.step-card {
  position: relative;
  padding: 32px 24px;
  background: #fff;
  border-radius: 24px;
  border: 2px solid rgba(36, 26, 61, 0.08);
}

.step-num {
  font-family: 'Baloo 2', sans-serif;
  font-weight: 800;
  font-size: 15px;
  color: rgba(36, 26, 61, 0.3);
  margin-bottom: 16px;
}

.step-icon {
  font-size: 32px;
  margin-bottom: 14px;
}

.step-title {
  font-family: 'Baloo 2', sans-serif;
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 8px;
}

.step-desc {
  font-size: 14px;
  font-weight: 600;
  color: rgba(36, 26, 61, 0.6);
  line-height: 1.5;
}

/* ==========================================================================
   CTA
   ========================================================================== */

.cta {
  position: relative;
  margin: 0 64px 64px 64px;
  border-radius: 40px;
  overflow: hidden;
  background: linear-gradient(150deg, #241a3d, #4c2a86);
  padding: 100px 64px;
  text-align: center;
}

@keyframes floatA {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(0, -22px) rotate(6deg); }
}
@keyframes floatB {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(0, 18px) rotate(-8deg); }
}

.cta-blob { position: absolute; }

.cta-blob-a {
  top: 40px;
  left: 80px;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffe08a, #ffb347);
  animation: floatA 6.5s ease-in-out infinite;
}

.cta-blob-b {
  bottom: 50px;
  right: 100px;
  width: 100px;
  height: 100px;
  border-radius: 40% 60% 55% 45% / 45% 40% 60% 55%;
  background: radial-gradient(circle at 35% 30%, #8be6db, #3fb5a6);
  animation: floatB 7.5s ease-in-out infinite;
}

.cta-inner {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
}

.cta-h {
  font-family: 'Baloo 2', sans-serif;
  font-weight: 800;
  font-size: 42px;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 20px;
}

.cta-sub {
  font-size: 17px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 36px;
}

.btn-mail {
  text-decoration: none;
  display: inline-flex;
  font-family: 'Baloo 2', sans-serif;
  font-weight: 700;
  font-size: 17px;
  color: #241a3d;
  background: #ffcd4d;
  padding: 18px 40px;
  border-radius: 100px;
  box-shadow: 0 6px 0 rgba(0, 0, 0, 0.18);
  transition: transform 0.15s;
}
.btn-mail:hover {
  transform: translateY(-3px);
  color: #241a3d;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  padding: 36px 64px 48px 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copy {
  font-size: 13px;
  font-weight: 600;
  color: rgba(36, 26, 61, 0.5);
}

/* ==========================================================================
   Mobile (≤760px)
   ========================================================================== */

@media (max-width: 760px) {
  .nav { padding: 15px 20px; }
  .navlinks { gap: 12px; }

  .hero { padding: 76px 22px 84px 22px; }
  .hero-h { font-size: 40px; }
  .hero-sub { font-size: 17px; }

  .strip {
    padding: 16px 20px;
    gap: 22px;
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .strip::-webkit-scrollbar { display: none; }
  .strip-item { flex: 0 0 auto; }

  .showcase { padding: 0 20px; margin-top: 54px; }
  .showcase-frame { height: 440px; border-radius: 22px; }

  .pipeline { padding: 64px 22px 40px 22px; }
  .pipeline-head { margin-bottom: 36px; }
  .h-lg { font-size: 30px; }

  .panel {
    flex-direction: column;
    border-radius: 22px;
  }
  .panel-image { min-height: 340px; }
  .panel-scene { min-height: auto; }

  .panel-concept .panel-bg {
    background-image: url(../assets/concept-mobile.webp);
    background-position: center 25%;
  }
  .panel-asset .panel-bg {
    background-image: url(../assets/asset-bike-mobile.webp);
    background-position: center 40%;
  }

  .panel-image .panel-scrim,
  .panel-text-right .panel-scrim {
    background: linear-gradient(0deg, rgba(20, 12, 34, 0.95) 34%, rgba(20, 12, 34, 0.45) 70%, rgba(20, 12, 34, 0.05) 100%);
  }

  .panel-text {
    padding: 30px 26px;
    align-items: flex-start;
    text-align: left;
  }
  .panel-image .panel-text { justify-content: flex-end; }
  .panel-text-right .panel-row { flex-direction: row; }

  .panel-title { font-size: 26px; }
  .panel-desc { font-size: 15px; max-width: none; }

  .scene-wrap {
    width: 100%;
    flex: 0 0 auto;
    padding: 0 26px 30px 26px;
  }

  .process { padding: 36px 22px 80px 22px; }
  .grid-4 { grid-template-columns: 1fr 1fr; }

  .cta {
    margin: 0 18px 40px 18px;
    padding: 64px 26px;
    border-radius: 30px;
  }
  .cta-h { font-size: 30px; }

  .footer {
    padding: 28px 22px 36px 22px;
    text-align: center;
    justify-content: center;
  }
}
