/* ==========================================================================
   79's Labs - Core Design System & Global Styles
   ========================================================================== */

:root {
  --brand-blue: #278FD6;
  --brand-green: #8CC52F;
  --accent: #55d6c7;
  --accent-2: #8cc52f;
  --ink: #07111f;
  --nav-height: 72px;

  --bg: #ffffff;
  --surface: #f6f8fb;
  --surface-2: #eef2f7;
  --surface-elevated: #ffffff;
  --text: #16191f;
  --text-2: #4b5563;
  --text-3: #79818f;
  --border: #e3e8ef;
  --border-subtle: rgba(0, 0, 0, 0.06);
  --shadow: 0 18px 40px rgba(20, 30, 50, 0.07);
  --shadow-lg: 0 24px 60px rgba(20, 30, 50, 0.12);
  --shadow-hover: 0 26px 64px rgba(20, 30, 50, 0.13);
  --card-glow: radial-gradient(circle at 50% 0%, rgba(39, 143, 214, 0.08), transparent 70%);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0c1017;
    --surface: #141922;
    --surface-2: #1c222e;
    --surface-elevated: #181f2b;
    --text: #f3f5f9;
    --text-2: #b8c1cf;
    --text-3: #8792a2;
    --border: #232b38;
    --border-subtle: rgba(255, 255, 255, 0.06);
    --shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
    --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.45);
    --shadow-hover: 0 26px 64px rgba(0, 0, 0, 0.55);
    --card-glow: radial-gradient(circle at 50% 0%, rgba(85, 214, 199, 0.12), transparent 70%);
  }
}

/* --------------------------------------------------------------------------
   Reset & Base Elements
   -------------------------------------------------------------------------- */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 8% 5%, rgba(39, 143, 214, 0.06), transparent 28rem),
    radial-gradient(circle at 92% 15%, rgba(140, 197, 47, 0.05), transparent 26rem),
    var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo",
    "Pretendard", "Noto Sans KR", "Malgun Gothic", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.wrap {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

:focus-visible {
  outline: 3px solid rgba(39, 143, 214, 0.5);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 10px 18px;
  border-radius: 10px;
  background: var(--text);
  color: var(--bg);
  text-decoration: none;
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   Global Site Navigation
   -------------------------------------------------------------------------- */
.site-nav {
  position: sticky;
  z-index: 100;
  top: 0;
  height: var(--nav-height);
  border-bottom: 1px solid color-mix(in srgb, var(--border) 76%, transparent);
  background: color-mix(in srgb, var(--bg) 84%, transparent);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
}

.nav-inner {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1.05rem;
  font-weight: 850;
  letter-spacing: -0.025em;
  color: var(--text);
}

.nav-symbol {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-green));
  color: #fff;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  box-shadow: 0 8px 24px rgba(39, 143, 214, 0.25);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  padding: 8px 14px;
  border-radius: 10px;
  color: var(--text-2);
  font-size: 0.92rem;
  font-weight: 650;
  transition: background 0.18s ease, color 0.18s ease;
}

.nav-links a:hover,
.nav-links a.active {
  background: var(--surface);
  color: var(--text);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-store {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  color: var(--text);
  font-size: 0.86rem;
  font-weight: 750;
  transition: background 0.2s ease, transform 0.2s ease;
}

.nav-store:hover {
  background: var(--surface-2);
  transform: translateY(-1px);
}

.nav-store svg {
  width: 16px;
  height: 16px;
  color: var(--brand-blue);
}

/* --------------------------------------------------------------------------
   Breadcrumbs & Detail Page Navigation
   -------------------------------------------------------------------------- */
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  color: var(--text-3);
  font-size: 0.85rem;
}

.breadcrumbs li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.breadcrumbs li + li::before {
  content: "/";
  color: var(--border);
}

.breadcrumbs a {
  color: var(--text-2);
  transition: color 0.2s;
}

.breadcrumbs a:hover {
  color: var(--brand-blue);
}

.breadcrumbs [aria-current="page"] {
  color: var(--text);
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: calc(100svh - var(--nav-height));
  padding: clamp(58px, 8vw, 108px) 0 clamp(66px, 9vw, 116px);
  text-align: left;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -18% -15% auto;
  height: 118%;
  background:
    radial-gradient(50% 55% at 78% 42%, rgba(85, 214, 199, 0.18), transparent 72%),
    radial-gradient(45% 50% at 12% 8%, rgba(39, 143, 214, 0.16), transparent 72%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  align-items: center;
  gap: clamp(40px, 7vw, 90px);
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  color: var(--brand-blue);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow::before,
.section-kicker::before {
  content: "";
  width: 22px;
  height: 2.5px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand-blue), var(--brand-green));
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.6rem, 5.8vw, 5.2rem);
  font-weight: 880;
  letter-spacing: -0.06em;
  line-height: 1.08;
}

.gradient-text {
  background: linear-gradient(115deg, var(--brand-blue) 4%, var(--accent) 50%, var(--brand-green));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero .lead {
  max-width: 600px;
  margin: 24px 0 0;
  color: var(--text-2);
  font-size: clamp(1.04rem, 1.8vw, 1.22rem);
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 22px;
  border: 1px solid var(--border);
  border-radius: 14px;
  font-size: 0.94rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  border-color: transparent;
  background: linear-gradient(120deg, var(--brand-blue), #35b9bc 62%, var(--brand-green));
  color: #fff;
  box-shadow: 0 14px 34px rgba(39, 143, 214, 0.24);
}

.button.secondary {
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  color: var(--text);
}

.button.secondary:hover {
  background: var(--surface-2);
}

.button svg {
  width: 17px;
  height: 17px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 18px;
  margin: 28px 0 0;
  padding: 0;
  color: var(--text-3);
  font-size: 0.85rem;
  list-style: none;
}

.hero-points li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-points li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(85, 214, 199, 0.12);
}

/* Hero Visual Art (Logo with Headphones animation) */
.hero-visual {
  position: relative;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: clamp(28px, 5vw, 48px);
  background:
    radial-gradient(circle at 50% 40%, rgba(85, 214, 199, 0.2), transparent 38%),
    linear-gradient(145deg, #0c1b2c, #07111f 68%);
  box-shadow: 0 34px 90px rgba(7, 17, 31, 0.24);
  color: #fff;
  overflow: hidden;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image: radial-gradient(rgba(255, 255, 255, 0.72) 0.65px, transparent 0.65px);
  background-size: 19px 19px;
  mask-image: linear-gradient(to bottom, #000, transparent 82%);
}

.headphone-stage {
  position: relative;
  display: grid;
  width: min(100%, 500px);
  aspect-ratio: 1;
  margin: 0 auto;
  place-items: center;
}

.headphone-orbit {
  position: absolute;
  width: 78%;
  aspect-ratio: 1;
  border: 1px solid rgba(85, 214, 199, 0.18);
  border-radius: 50%;
  animation: orbit-pulse 3.2s ease-in-out infinite;
}

.headphone-orbit::before,
.headphone-orbit::after {
  content: "";
  position: absolute;
  inset: 12%;
  border: 1px solid rgba(140, 197, 47, 0.12);
  border-radius: inherit;
}

.headphone-orbit::after {
  inset: 27%;
  border-color: rgba(255, 255, 255, 0.08);
}

.headphones {
  position: absolute;
  z-index: 2;
  width: 82%;
  overflow: visible;
  filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.28));
  animation: headset-float 4.6s ease-in-out infinite;
}

.headphone-band,
.headphone-cup {
  fill: none;
  stroke: url(#headphoneGradient);
  stroke-linecap: round;
  stroke-linejoin: round;
}

.headphone-band {
  stroke-width: 15;
}

.headphone-cup {
  stroke-width: 13;
}

.headphone-detail {
  fill: rgba(85, 214, 199, 0.16);
  stroke: rgba(255, 255, 255, 0.2);
  stroke-width: 1;
}

.hero-visual .brand {
  position: relative;
  z-index: 3;
  margin: 16% 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logo-mark {
  position: relative;
  display: grid;
  width: clamp(150px, 20vw, 190px);
  aspect-ratio: 1;
  place-items: center;
  animation: logo-breathe 2.6s 1.1s ease-in-out infinite;
}

.logo-mark::before,
.logo-mark::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 68%;
  aspect-ratio: 1;
  border: 1.5px solid rgba(85, 214, 199, 0.48);
  border-radius: 50%;
  opacity: 0;
  animation: logo-ripple 2.6s 0.55s ease-out infinite;
}

.logo-mark::after {
  animation-delay: 1.85s;
}

.logo-core {
  position: relative;
  display: block;
  width: 72%;
  overflow: hidden;
  border-radius: 28%;
  box-shadow: 0 18px 60px rgba(85, 214, 199, 0.22);
  animation: logo-intro 1.1s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.logo-shine {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
  pointer-events: none;
}

.logo-shine::before {
  content: "";
  position: absolute;
  inset: -30%;
  width: 35%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.65), transparent);
  transform: translateX(-300%) rotate(-20deg);
  animation: logo-shine 1.1s 0.45s ease-in-out both;
}

.sound-bars {
  position: absolute;
  z-index: 4;
  right: 9%;
  bottom: 19%;
  display: flex;
  height: 34px;
  align-items: center;
  gap: 5px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(7, 17, 31, 0.66);
  backdrop-filter: blur(10px);
}

.sound-bars i {
  display: block;
  width: 3px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
  animation: sound-bar 0.9s ease-in-out infinite alternate;
}

.sound-bars i:nth-child(2) { animation-delay: -0.3s; }
.sound-bars i:nth-child(3) { animation-delay: -0.6s; }
.sound-bars i:nth-child(4) { animation-delay: -0.15s; }

.visual-caption {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: -34px 24px 24px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.065);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8rem;
  backdrop-filter: blur(14px);
}

.visual-caption strong {
  color: #fff;
  font-size: 0.88rem;
}

@keyframes headset-float {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-10px) rotate(1deg); }
}

@keyframes orbit-pulse {
  0%, 100% { opacity: 0.55; transform: scale(0.98); }
  50% { opacity: 1; transform: scale(1.035); }
}

@keyframes sound-bar {
  from { height: 7px; }
  to { height: 22px; }
}

@keyframes logo-intro {
  from { opacity: 0; transform: scale(0.72); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes logo-breathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.02); }
}

@keyframes logo-ripple {
  0% { opacity: 0.34; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.7); }
}

@keyframes logo-shine {
  0% { transform: translateX(-300%) rotate(-20deg); }
  100% { transform: translateX(500%) rotate(-20deg); }
}

/* --------------------------------------------------------------------------
   Metrics Strip
   -------------------------------------------------------------------------- */
.metrics-strip {
  position: relative;
  z-index: 5;
  margin-top: -42px;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--border);
  border-radius: 22px;
  background: color-mix(in srgb, var(--bg) 91%, transparent);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  overflow: hidden;
}

.metric {
  padding: 22px 28px;
}

.metric + .metric {
  border-left: 1px solid var(--border);
}

.metric strong {
  display: block;
  font-size: 1.3rem;
  font-weight: 850;
  letter-spacing: -0.03em;
  color: var(--text);
}

.metric span {
  color: var(--text-3);
  font-size: 0.85rem;
}

/* --------------------------------------------------------------------------
   Section Layout & Headers
   -------------------------------------------------------------------------- */
section {
  padding: clamp(72px, 9vw, 118px) 0;
}

section[id] {
  scroll-margin-top: calc(var(--nav-height) + 20px);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 42px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 850;
  letter-spacing: -0.04em;
  line-height: 1.15;
}

.section-head .sub {
  max-width: 520px;
  margin: 0;
  color: var(--text-3);
  font-size: 0.98rem;
  text-align: right;
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   Products Grid & App Cards (Company Homepage)
   -------------------------------------------------------------------------- */
.apps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.app-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px;
  border-radius: 26px;
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    linear-gradient(145deg, rgba(39, 143, 214, 0.25), rgba(140, 197, 47, 0.15), transparent) border-box;
  border: 1px solid transparent;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
}

.app-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.app-card-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.app-icon {
  width: 64px;
  height: 64px;
  flex: 0 0 64px;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.app-card-title h3 {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.app-card-title .role {
  margin: 3px 0 0;
  color: var(--text-3);
  font-size: 0.84rem;
  font-weight: 600;
}

.app-card-summary {
  margin: 0 0 20px;
  color: var(--text-2);
  font-size: 0.95rem;
  line-height: 1.7;
  flex-grow: 1;
}

.app-features {
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
  color: var(--text-2);
  font-size: 0.88rem;
}

.app-features li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 6px;
}

.app-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--brand-blue);
  font-weight: 900;
}

.app-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0 0 24px;
}

.app-meta span {
  padding: 5px 11px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--text-3);
  font-size: 0.76rem;
  font-weight: 650;
}

.app-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.02em;
}

.badge.live {
  background: rgba(140, 197, 47, 0.18);
  color: #4a7a0b;
}

.badge.live::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #6eb01c;
}

@media (prefers-color-scheme: dark) {
  .badge.live {
    color: #a8d95c;
  }
}

.btn-detail {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface-elevated);
  color: var(--text);
  font-size: 0.86rem;
  font-weight: 750;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.btn-detail:hover {
  border-color: var(--brand-blue);
  color: var(--brand-blue);
  transform: translateX(2px);
}

.btn-store {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 15px;
  border-radius: 12px;
  background: linear-gradient(120deg, var(--brand-blue), var(--brand-green));
  color: #fff;
  font-size: 0.86rem;
  font-weight: 750;
  transition: filter 0.2s, transform 0.2s;
}

.btn-store:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.btn-store svg {
  width: 14px;
  height: 14px;
}

/* --------------------------------------------------------------------------
   Principles Section
   -------------------------------------------------------------------------- */
.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.principle {
  position: relative;
  min-height: 240px;
  padding: 32px 28px;
  border: 1px solid var(--border);
  border-radius: 26px;
  background: color-mix(in srgb, var(--surface) 70%, transparent);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.principle::after {
  content: attr(data-number);
  position: absolute;
  right: -6px;
  bottom: -34px;
  color: color-mix(in srgb, var(--text) 5%, transparent);
  font-size: 7.5rem;
  font-weight: 900;
  line-height: 1;
  pointer-events: none;
}

.principle-icon {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(39, 143, 214, 0.16), rgba(140, 197, 47, 0.13));
  color: var(--brand-blue);
}

.principle-icon svg {
  width: 24px;
  height: 24px;
}

.principle h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.principle p {
  margin: 0;
  color: var(--text-2);
  font-size: 0.94rem;
  line-height: 1.75;
}

/* --------------------------------------------------------------------------
   Roadmap Section (Company Future Direction)
   -------------------------------------------------------------------------- */
.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.roadmap-card {
  position: relative;
  padding: 30px 26px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.roadmap-card .tag {
  display: inline-block;
  margin-bottom: 14px;
  padding: 4px 10px;
  border-radius: 8px;
  background: rgba(39, 143, 214, 0.12);
  color: var(--brand-blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.roadmap-card h3 {
  margin: 0 0 10px;
  font-size: 1.18rem;
  font-weight: 800;
}

.roadmap-card p {
  margin: 0;
  color: var(--text-2);
  font-size: 0.92rem;
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   Founder / Maker Section
   -------------------------------------------------------------------------- */
.maker-shell {
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid var(--border);
  border-radius: 32px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.maker {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: clamp(34px, 6vw, 72px);
  align-items: start;
}

.maker-card {
  position: sticky;
  top: calc(var(--nav-height) + 28px);
}

.maker .photo {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 6px solid var(--bg);
  box-shadow: 0 16px 42px rgba(20, 30, 50, 0.14);
  object-fit: cover;
}

.maker-label {
  margin: 20px 0 0;
  font-size: 1.25rem;
  font-weight: 850;
  letter-spacing: -0.02em;
}

.maker-caption {
  margin: 3px 0 0;
  color: var(--text-3);
  font-size: 0.86rem;
}

.maker-intro {
  margin: 0;
  color: var(--text-2);
  font-size: 1.08rem;
  line-height: 1.85;
}

.maker-blocks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
  margin-top: 34px;
}

.maker-block {
  padding-top: 22px;
  border-top: 1px solid var(--border);
}

.maker-block h3 {
  margin: 0 0 10px;
  font-size: 1.05rem;
  font-weight: 800;
}

.maker-block ul {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--text-2);
  font-size: 0.92rem;
}

.maker-block li + li {
  margin-top: 6px;
}

.stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.stack span {
  padding: 5px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface-2);
  font-size: 0.82rem;
  color: var(--text-2);
  font-weight: 600;
}

.linkedin {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 26px;
  font-size: 0.94rem;
  font-weight: 750;
  color: var(--brand-blue);
  border-bottom: 2px solid rgba(39, 143, 214, 0.3);
}

.linkedin:hover {
  border-color: var(--brand-blue);
}

/* --------------------------------------------------------------------------
   Contact Section
   -------------------------------------------------------------------------- */
.contact-card {
  position: relative;
  padding: clamp(48px, 8vw, 84px) 32px;
  border-radius: 34px;
  background:
    radial-gradient(circle at 15% 10%, rgba(85, 214, 199, 0.2), transparent 35%),
    linear-gradient(135deg, #091727, #102b34);
  color: #fff;
  text-align: center;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.contact-card::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -120px;
  width: 330px;
  height: 330px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  box-shadow: 0 0 0 48px rgba(255, 255, 255, 0.025), 0 0 0 96px rgba(255, 255, 255, 0.018);
}

.contact-card h2 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 850;
  letter-spacing: -0.04em;
}

.contact-card .sub {
  max-width: 580px;
  margin: 0 auto 28px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.05rem;
}

.mail {
  position: relative;
  z-index: 2;
  display: inline-block;
  font-size: clamp(1.2rem, 3.2vw, 1.8rem);
  font-weight: 800;
  color: #fff;
  border-bottom: 2.5px solid var(--brand-green);
  transition: transform 0.2s ease;
}

.mail:hover {
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   App Detail Page Styles (Subpages)
   -------------------------------------------------------------------------- */
.detail-hero {
  padding: clamp(48px, 7vw, 92px) 0 clamp(44px, 6vw, 72px);
}

.detail-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  align-items: center;
  gap: clamp(36px, 6vw, 76px);
}

.app-brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.app-brand-badge img {
  width: 76px;
  height: 76px;
  border-radius: 20px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.app-brand-badge h1 {
  margin: 0;
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  font-weight: 880;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.app-brand-badge .app-category {
  margin: 4px 0 0;
  color: var(--brand-blue);
  font-size: 0.95rem;
  font-weight: 750;
}

.detail-lead {
  margin: 0 0 28px;
  color: var(--text-2);
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  line-height: 1.8;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}

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

.detail-feature-card {
  padding: 30px 26px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.detail-feature-card .icon {
  display: grid;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(39, 143, 214, 0.18), rgba(140, 197, 47, 0.14));
  color: var(--brand-blue);
}

.detail-feature-card h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
  font-weight: 800;
}

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

/* App Showcase Mockup Container */
.showcase-stage {
  position: relative;
  display: grid;
  place-items: center;
  padding: 36px 20px;
  border: 1px solid var(--border);
  border-radius: 34px;
  background:
    radial-gradient(circle at 50% 30%, rgba(85, 214, 199, 0.15), transparent 60%),
    var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.phone-mockup {
  width: min(290px, 85%);
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 38px;
  background: #08111b;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.3);
}

.phone-mockup img {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  border-radius: 28px;
  object-fit: cover;
}

/* FAQ & Spec Table */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.faq-item {
  padding: 24px 26px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--surface);
}

.faq-item h4 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text);
}

.faq-item p {
  margin: 0;
  color: var(--text-2);
  font-size: 0.92rem;
  line-height: 1.7;
}

.spec-table-shell {
  margin-top: 32px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--surface);
  overflow: hidden;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.spec-table th,
.spec-table td {
  padding: 16px 22px;
  border-bottom: 1px solid var(--border);
  text-align: left;
}

.spec-table th {
  width: 28%;
  color: var(--text-3);
  font-weight: 700;
  background: color-mix(in srgb, var(--surface-2) 50%, transparent);
}

.spec-table td {
  color: var(--text);
}

.spec-table tr:last-child th,
.spec-table tr:last-child td {
  border-bottom: 0;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
footer {
  margin-top: 80px;
  padding: 42px 0 54px;
  border-top: 1px solid var(--border);
  color: var(--text-3);
  font-size: 0.88rem;
  text-align: center;
}

footer .footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 24px;
  margin-bottom: 16px;
}

footer .footer-nav a {
  color: var(--text-2);
  font-weight: 650;
  transition: color 0.2s;
}

footer .footer-nav a:hover {
  color: var(--brand-blue);
}

/* --------------------------------------------------------------------------
   Code Block, AI Prompt Box & Tutorial Styles
   -------------------------------------------------------------------------- */
.guide-section {
  margin-top: 50px;
}

/* Guide Accordion */
.guide-accordion {
  border: 1px solid var(--border);
  border-radius: 28px;
  background:
    radial-gradient(circle at 85% 15%, rgba(85, 214, 199, 0.08), transparent 50%),
    var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.guide-accordion:hover {
  border-color: rgba(39, 143, 214, 0.4);
}

.guide-accordion[open] {
  border-color: rgba(39, 143, 214, 0.45);
  box-shadow: var(--shadow-hover);
}

.guide-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 28px;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.guide-summary::-webkit-details-marker {
  display: none;
}

.guide-summary .summary-left h3 {
  margin: 0 0 4px;
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}

.guide-summary .summary-left .sub-text {
  margin: 0;
  color: var(--text-3);
  font-size: 0.9rem;
  line-height: 1.45;
}

.summary-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--brand-blue);
  font-size: 0.88rem;
  font-weight: 750;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.guide-accordion[open] .summary-toggle-btn {
  background: rgba(39, 143, 214, 0.15);
}

.toggle-arrow {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.guide-accordion[open] .toggle-arrow {
  transform: rotate(180deg);
}

.accordion-content {
  padding: 10px 34px 44px;
  border-top: 1px solid var(--border-subtle);
  animation: fadeInDown 0.3s ease;
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 640px) {
  .guide-summary {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 20px;
  }
  .summary-toggle-btn {
    align-self: flex-start;
    margin-top: 14px;
  }
  .accordion-content {
    padding: 10px 20px 32px;
  }
}

.prompt-box {
  position: relative;
  margin: 28px 0;
  padding: 28px;
  border-radius: 24px;
  border: 1px solid rgba(39, 143, 214, 0.35);
  background:
    radial-gradient(circle at 90% 10%, rgba(85, 214, 199, 0.12), transparent 45%),
    var(--surface-elevated);
  box-shadow: var(--shadow);
}

.prompt-box-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.prompt-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(39, 143, 214, 0.18);
  color: var(--brand-blue);
  font-size: 0.82rem;
  font-weight: 750;
  letter-spacing: 0.02em;
}

.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  color: var(--text);
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.copy-btn:hover {
  background: var(--brand-blue);
  color: #fff;
  border-color: var(--brand-blue);
  transform: translateY(-1px);
}

.copy-btn svg {
  width: 15px;
  height: 15px;
}

.prompt-text {
  margin: 0;
  padding: 18px 20px;
  border-radius: 16px;
  background: color-mix(in srgb, var(--surface-2) 75%, transparent);
  border: 1px solid var(--border-subtle);
  color: var(--text);
  font-size: 0.92rem;
  line-height: 1.75;
  white-space: pre-wrap;
  word-break: break-word;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.code-shell {
  position: relative;
  margin: 24px 0;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: #0d1520;
  color: #e2e8f0;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.code-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  background: #091018;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.82rem;
  color: #94a3b8;
  font-weight: 600;
}

.code-header .lang-tag {
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--brand-teal);
}

.code-shell pre {
  margin: 0;
  padding: 22px 24px;
  overflow-x: auto;
  font-size: 0.88rem;
  line-height: 1.65;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.code-shell code {
  color: #e2e8f0;
  font-family: inherit;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 32px 0;
}

.step-card {
  position: relative;
  padding: 26px 22px;
  border-radius: 22px;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin-bottom: 16px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-teal));
  color: #fff;
  font-size: 0.88rem;
  font-weight: 850;
}

.step-card h4 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 800;
}

.step-card p {
  margin: 0;
  color: var(--text-2);
  font-size: 0.88rem;
  line-height: 1.65;
}

.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  padding: 12px 24px;
  border-radius: 999px;
  background: #0f172a;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 650;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.15);
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

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

@media (max-width: 640px) {
  .steps-grid {
    grid-template-columns: 1fr;
  }
}

footer .copyright {
  margin: 0;
  color: var(--text-3);
  font-size: 0.82rem;
}

/* --------------------------------------------------------------------------
   Responsive Breakpoints
   -------------------------------------------------------------------------- */
@media (max-width: 960px) {
  .hero-grid,
  .detail-hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    text-align: center;
  }

  .eyebrow {
    justify-content: center;
  }

  .hero h1,
  .hero .lead {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions,
  .hero-points {
    justify-content: center;
  }

  .hero-visual {
    width: min(540px, 100%);
    margin: 0 auto;
  }

  .section-head {
    display: block;
  }

  .section-head .sub {
    margin-top: 12px;
    text-align: left;
  }

  .apps-grid,
  .principles,
  .roadmap-grid,
  .detail-features-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .maker {
    grid-template-columns: 1fr;
  }

  .maker-card {
    position: static;
    display: flex;
    align-items: center;
    gap: 22px;
  }

  .maker .photo {
    width: 120px;
    height: 120px;
  }
}

@media (max-width: 640px) {
  :root {
    --nav-height: 62px;
  }

  .wrap {
    width: min(100% - 28px, 1180px);
  }

  .nav-links {
    display: none;
  }

  .nav-store span {
    display: none;
  }

  .nav-store {
    width: 38px;
    height: 38px;
    justify-content: center;
    padding: 0;
  }

  .metrics-grid {
    grid-template-columns: 1fr;
  }

  .metric + .metric {
    border-top: 1px solid var(--border);
    border-left: 0;
  }

  .maker-shell {
    padding: 24px 20px;
  }

  .maker-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .maker-blocks {
    grid-template-columns: 1fr;
  }

  .spec-table th,
  .spec-table td {
    display: block;
    width: 100%;
    padding: 10px 16px;
  }

  .spec-table th {
    border-bottom: 0;
    padding-bottom: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .headphones,
  .headphone-orbit,
  .sound-bars i,
  .app-card,
  .button,
  .logo-mark,
  .logo-core,
  .logo-shine::before {
    animation: none !important;
    transition: none !important;
  }
}
