:root {
  --bg-black: #000000;
  --bg-elevated: rgba(24, 24, 28, 0.68);
  --bg-glass: rgba(28, 28, 34, 0.58);
  --bg-glass-strong: rgba(38, 38, 46, 0.78);
  --border-glass: rgba(255, 255, 255, 0.1);
  --border-specular: rgba(255, 255, 255, 0.22);
  --ios-blue: #0a84ff;
  --ios-indigo: #5e5ce6;
  --ios-green: #30d158;
  --ios-orange: #ff9f0a;
  --ios-pink: #ff375f;
  --ios-cyan: #64d2ff;
  --text-primary: #f5f5f7;
  --text-secondary: #a1a1a6;
  --text-tertiary: #6e6e73;
  --font-sans: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Inter', 'Noto Sans JP', sans-serif;
  --font-mono: 'SF Mono', 'JetBrains Mono', monospace;
  --radius-card: 28px;
  --radius-inner: 18px;
  --radius-pill: 999px;
  --spring-ios: cubic-bezier(0.32, 0.72, 0, 1);
  --spring-bounce: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-black);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.6;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

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

code {
  font-family: var(--font-mono);
  font-size: 0.85em;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 2px 7px;
  border-radius: 6px;
  color: #e5e5ea;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 22px;
}

/* Lightweight GPU Ambient Orbs */
.ios-ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.24;
  will-change: transform;
  animation: orbFloat 18s ease-in-out infinite alternate;
}

.orb-1 {
  width: 520px;
  height: 520px;
  top: -160px;
  left: 10%;
  background: radial-gradient(circle, var(--ios-indigo), transparent 70%);
}

.orb-2 {
  width: 460px;
  height: 460px;
  top: 35%;
  right: -120px;
  background: radial-gradient(circle, var(--ios-blue), transparent 70%);
  animation-delay: -6s;
}

.orb-3 {
  width: 480px;
  height: 480px;
  bottom: -140px;
  left: 20%;
  background: radial-gradient(circle, var(--ios-pink), transparent 70%);
  animation-delay: -12s;
}

@keyframes orbFloat {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(30px, -25px, 0) scale(1.08); }
}

/* =========================================
   iPhone Dynamic Island Header
   ========================================= */
.dynamic-island-wrap {
  position: fixed;
  top: 16px;
  left: 0;
  right: 0;
  z-index: 200;
  display: flex;
  justify-content: center;
  padding: 0 16px;
  pointer-events: none;
}

.dynamic-island {
  pointer-events: auto;
  background: rgba(14, 14, 18, 0.82);
  backdrop-filter: blur(28px) saturate(190%);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.65),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 8px 12px;
  transition:
    transform 0.5s var(--spring-ios),
    padding 0.45s var(--spring-ios),
    border-radius 0.45s var(--spring-ios),
    box-shadow 0.45s var(--spring-ios);
  max-width: 100%;
}

.dynamic-island:hover {
  transform: scale(1.015);
  border-color: rgba(255, 255, 255, 0.25);
}

.dynamic-island.toast-active {
  transform: scale(1.04);
  border-color: rgba(48, 209, 88, 0.55);
  box-shadow:
    0 20px 48px rgba(0, 0, 0, 0.75),
    0 0 24px rgba(48, 209, 88, 0.25),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.25);
}

.island-main {
  display: flex;
  align-items: center;
  gap: 18px;
}

.island-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-right: 6px;
}

.brand-logo-wrap {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, #2c2c34, #141418);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.brand-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-fallback-text {
  display: none;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
}

.brand-logo-wrap.img-fallback .brand-logo { display: none; }
.brand-logo-wrap.img-fallback .brand-fallback-text { display: block; }

.island-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.island-title {
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: -0.01em;
}

.island-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--text-secondary);
}

.pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ios-green);
  box-shadow: 0 0 8px var(--ios-green);
}

.island-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.island-link {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 6px 12px;
  border-radius: 999px;
  transition: color 0.25s ease, background 0.25s ease, transform 0.2s var(--spring-ios);
}

.island-link:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.08);
}

.island-link:active {
  transform: scale(0.94);
}

.island-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--ios-blue);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 7px 15px;
  border-radius: 999px;
  transition: transform 0.25s var(--spring-ios), background 0.2s ease;
}

.island-cta .icon {
  width: 15px;
  height: 15px;
}

.island-cta:hover {
  background: #2090ff;
  transform: scale(1.04);
}

.island-cta:active {
  transform: scale(0.94);
}

/* Dynamic Island Toast Activity Bar */
.island-activity {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: #86efac;
  transition: max-height 0.4s var(--spring-ios), opacity 0.3s ease, padding 0.4s var(--spring-ios);
}

.dynamic-island.toast-active .island-activity {
  max-height: 36px;
  opacity: 1;
  padding-top: 6px;
}

.activity-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ios-green);
}

/* =========================================
   iOS Buttons & Tactile Pills
   ========================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-weight: 600;
  font-size: 0.94rem;
  padding: 13px 24px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    transform 0.3s var(--spring-ios),
    background 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
  user-select: none;
}

.btn-sm {
  padding: 9px 18px;
  font-size: 0.84rem;
}

.btn .icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn:active {
  transform: scale(0.95) !important;
}

.btn-ios-primary {
  background: linear-gradient(180deg, #1e90ff 0%, #0071e3 100%);
  color: #ffffff;
  box-shadow:
    0 8px 24px rgba(10, 132, 255, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.btn-ios-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow:
    0 12px 30px rgba(10, 132, 255, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.btn-ios-glass {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.btn-ios-glass:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-2px);
}

/* =========================================
   Hero Stage (iOS 18 Glass Frame)
   ========================================= */
.hero {
  padding: 108px 0 48px;
}

.hero-stage {
  position: relative;
  border-radius: 36px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: linear-gradient(145deg, rgba(28, 28, 36, 0.9), rgba(10, 10, 14, 0.95));
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.75),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.25);
  padding: clamp(36px, 6vw, 76px);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(circle at 80% 25%, rgba(94, 92, 230, 0.35), transparent 60%);
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.38;
  transform: scale(1.02);
  transition: transform 0.8s var(--spring-ios);
}

.hero-stage:hover .hero-bg-img {
  transform: scale(1.05);
}

.hero-media.img-fallback .hero-bg-img {
  display: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(8, 8, 12, 0.88) 0%, rgba(8, 8, 12, 0.62) 55%, rgba(8, 8, 12, 0.92) 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.ios-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--text-secondary);
}

.pill-accent {
  background: rgba(10, 132, 255, 0.16);
  border-color: rgba(10, 132, 255, 0.4);
  color: #82cfff;
}

.hero-title {
  display: flex;
  flex-direction: column;
  margin-bottom: 22px;
}

.hero-title-eyebrow {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ios-cyan);
  letter-spacing: 0.02em;
  margin-bottom: 4px;
}

.hero-title-main {
  font-size: clamp(2.8rem, 6.5vw, 4.8rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.02;
  background: linear-gradient(180deg, #ffffff 0%, #b0b0b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-title-sub {
  font-size: clamp(1.2rem, 2.5vw, 1.7rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-secondary);
  margin-top: 6px;
}

.hero-description {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 700px;
  margin-bottom: 32px;
}

.hero-description strong {
  color: var(--text-primary);
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* =========================================
   Spotlight Specular Cards & Sections
   ========================================= */
.section {
  padding: 68px 0;
}

.section-header {
  margin-bottom: 38px;
  max-width: 720px;
}

.section-eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--ios-blue);
  margin-bottom: 6px;
}

.section-title {
  font-size: clamp(1.85rem, 3.5vw, 2.55rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 10px;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 0.98rem;
}

/* Spotlight Glass Card Base */
.spotlight-card {
  position: relative;
  background: var(--bg-glass);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-card);
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.15);
  overflow: hidden;
  transition:
    transform 0.45s var(--spring-ios),
    border-color 0.3s ease,
    box-shadow 0.45s var(--spring-ios);
}

.spotlight-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    480px circle at var(--mouse-x, -500px) var(--mouse-y, -500px),
    rgba(255, 255, 255, 0.09),
    transparent 45%
  );
  pointer-events: none;
  z-index: 2;
}

.spotlight-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-specular);
  box-shadow:
    0 24px 52px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.26);
}

/* =========================================
   Apple Bento Grid
   ========================================= */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.bento-span-2 {
  grid-column: span 2;
}

.bento-card {
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bento-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.bento-chip {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ios-cyan);
  background: rgba(100, 210, 255, 0.12);
  border: 1px solid rgba(100, 210, 255, 0.25);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

.bento-metric {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.bento-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 8px;
}

.bento-card p {
  font-size: 0.94rem;
  color: var(--text-secondary);
  margin-bottom: 18px;
}

.bento-mini-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.bento-mini-pills span {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* macOS / iOS Software Dock */
.software-dock {
  display: flex;
  gap: 10px;
  padding: 10px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  width: fit-content;
}

.dock-item {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.85rem;
  cursor: default;
  transition: transform 0.3s var(--spring-bounce), background 0.25s ease;
}

.dock-item:hover {
  transform: translateY(-6px) scale(1.14);
  background: rgba(10, 132, 255, 0.35);
  border-color: rgba(100, 210, 255, 0.6);
}

.unlock-bars {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.unlock-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.86rem;
}

/* =========================================
   Private Channel Bento
   ========================================= */
.private-bento {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 22px;
}

.media-img-wrap,
.product-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #16161f 0%, #242436 100%);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.media-img,
.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--spring-ios);
}

.spotlight-card:hover .media-img,
.spotlight-card:hover .product-img {
  transform: scale(1.04);
}

.media-fallback-label {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.media-fallback-label span {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--text-tertiary);
}

.media-img-wrap.img-fallback .media-img,
.product-img-wrap.img-fallback .product-img { display: none; }
.media-img-wrap.img-fallback .media-fallback-label,
.product-img-wrap.img-fallback .media-fallback-label { display: flex; }

.floating-price-tag {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background: rgba(12, 12, 16, 0.85);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.price-strike {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-tertiary);
  text-decoration: line-through;
}

.price-now {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ios-orange);
}

.private-pane-body {
  padding: 26px;
}

.pane-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.pane-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--ios-orange);
  letter-spacing: 0.08em;
}

.pane-header-row h3 {
  font-size: 1.3rem;
}

.ios-steps {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 22px;
}

.ios-step {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.ios-step a {
  color: var(--ios-cyan);
  text-decoration: underline;
}

.step-idx {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(10, 132, 255, 0.22);
  color: #82cfff;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

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

.private-specs-pane {
  padding: 28px;
}

.specs-heading {
  font-size: 1.25rem;
  margin-bottom: 18px;
}

.spec-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.spec-mini-card {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-inner);
  padding: 16px;
}

.software-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: 10px;
}

.tag-dr { background: rgba(255, 159, 10, 0.18); color: #ffd60a; border: 1px solid rgba(255, 159, 10, 0.35); }
.tag-am { background: rgba(48, 209, 88, 0.18); color: #66e687; border: 1px solid rgba(48, 209, 88, 0.35); }
.tag-tg { background: rgba(100, 210, 255, 0.18); color: #82cfff; border: 1px solid rgba(100, 210, 255, 0.35); }
.tag-cc { background: rgba(94, 92, 230, 0.22); color: #b4b2ff; border: 1px solid rgba(94, 92, 230, 0.45); }

.spec-list {
  list-style: none;
}

.spec-list li {
  font-size: 0.86rem;
  color: var(--text-secondary);
  margin-bottom: 5px;
  padding-left: 12px;
  position: relative;
}

.spec-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ios-blue);
}

/* =========================================
   Shop Cards & Copyable Preset Pills
   ========================================= */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  gap: 22px;
}

.product-card {
  display: flex;
  flex-direction: column;
}

.product-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  backdrop-filter: blur(12px);
}

.badge-free {
  background: rgba(48, 209, 88, 0.22);
  color: #7af098;
  border: 1px solid rgba(48, 209, 88, 0.45);
}

.badge-paid {
  background: rgba(10, 132, 255, 0.24);
  color: #94d2ff;
  border: 1px solid rgba(10, 132, 255, 0.48);
}

.product-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-meta {
  font-size: 0.8rem;
  color: var(--text-tertiary);
  margin-bottom: 6px;
}

.product-title {
  font-size: 1.22rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.product-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

/* Interactive Copy Pills */
.interactive-preset-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
  flex: 1;
  align-content: flex-start;
}

.copy-pill {
  font-family: var(--font-mono);
  font-size: 0.73rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-primary);
  padding: 5px 10px;
  border-radius: 10px;
  cursor: pointer;
  transition:
    transform 0.25s var(--spring-ios),
    background 0.2s ease,
    border-color 0.2s ease;
}

.copy-pill:hover {
  background: rgba(10, 132, 255, 0.2);
  border-color: rgba(100, 210, 255, 0.5);
  transform: translateY(-1px);
}

.copy-pill:active {
  transform: scale(0.92);
}

.copy-pill.copied {
  background: rgba(48, 209, 88, 0.25);
  border-color: var(--ios-green);
  color: #98f5b1;
}

.preset-item-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
  flex: 1;
}

.preset-row-btn {
  width: 100%;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  padding: 10px 12px;
  border-radius: 14px;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 0.86rem;
  transition:
    transform 0.25s var(--spring-ios),
    background 0.2s ease,
    border-color 0.2s ease;
}

.preset-row-btn:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.22);
  transform: scale(1.01);
}

.preset-row-btn:active {
  transform: scale(0.97);
}

.software-mini {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 6px;
  flex-shrink: 0;
}

.row-title {
  font-weight: 600;
  flex: 1;
}

.copy-hint {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-tertiary);
}

.product-footer {
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.product-price {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
}

.text-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ios-cyan);
}

.text-link:hover {
  text-decoration: underline;
}

/* =========================================
   iOS Sliding Segmented Control & Channels
   ========================================= */
.ios-segmented-scroll {
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 24px;
}

.ios-segmented {
  position: relative;
  display: inline-flex;
  align-items: center;
  background: rgba(28, 28, 36, 0.85);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 5px;
  border-radius: var(--radius-pill);
  gap: 2px;
}

.segmented-glider {
  position: absolute;
  top: 5px;
  bottom: 5px;
  left: 5px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.16);
  box-shadow:
    0 4px 14px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
  transition:
    transform 0.45s var(--spring-ios),
    width 0.45s var(--spring-ios);
  z-index: 0;
}

.seg-btn {
  position: relative;
  z-index: 1;
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 0.84rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.25s ease, transform 0.2s var(--spring-ios);
}

.seg-btn.active {
  color: #ffffff;
}

.seg-btn:active {
  transform: scale(0.95);
}

.channel-categories {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.category-block.hidden {
  display: none;
}

.category-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding: 0 6px;
}

.category-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
}

.category-count {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-tertiary);
}

.channel-bento-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 14px;
}

.channel-card {
  padding: 20px;
  border-radius: 22px;
}

.channel-name {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.94rem;
  margin-bottom: 8px;
}

.ch-prefix {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 0.74rem;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
}

.ch-forum { background: rgba(10, 132, 255, 0.2); color: #82cfff; font-size: 0.66rem; }
.ch-vc { background: rgba(48, 209, 88, 0.2); color: #7af098; font-size: 0.66rem; }
.ch-lock { background: rgba(255, 55, 95, 0.2); color: #ff859d; font-size: 0.66rem; }

.channel-role {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.role-pill {
  display: inline-block;
  margin-top: 6px;
  margin-right: 4px;
  padding: 2px 8px;
  font-size: 0.74rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* =========================================
   Rules & Interactive iOS Checklist
   ========================================= */
.rules-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 22px;
}

.rule-panel {
  padding: 30px;
}

.panel-badge {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-tertiary);
  margin-bottom: 8px;
}

.rule-panel h3 {
  font-size: 1.25rem;
  margin-bottom: 18px;
}

.rule-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 18px;
}

.rule-list li {
  background: rgba(255, 255, 255, 0.035);
  border-left: 3px solid var(--ios-pink);
  padding: 12px 15px;
  border-radius: 0 12px 12px 0;
}

.rule-list strong {
  display: block;
  font-size: 0.93rem;
}

.rule-list span {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.rule-note {
  font-size: 0.84rem;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.03);
  padding: 12px 14px;
  border-radius: 14px;
}

.important-alert {
  background: rgba(255, 55, 95, 0.14);
  border: 1px solid rgba(255, 55, 95, 0.38);
  padding: 14px 16px;
  border-radius: 16px;
  margin-bottom: 18px;
}

.important-alert strong {
  display: block;
  color: #ff859d;
  font-size: 0.92rem;
  margin-bottom: 3px;
}

.important-alert p {
  font-size: 0.85rem;
  color: #ffd1da;
}

/* iOS Tactile Checklist */
.ios-checklist {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.ios-check-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 14px 16px;
  border-radius: 18px;
  cursor: pointer;
  user-select: none;
  transition:
    transform 0.25s var(--spring-ios),
    background 0.25s ease,
    border-color 0.25s ease;
}

.ios-check-item:hover {
  background: rgba(255, 255, 255, 0.07);
}

.ios-check-item:active {
  transform: scale(0.98);
}

.ios-checkbox {
  display: none;
}

.check-box-ui {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  transition: all 0.3s var(--spring-bounce);
}

.check-box-ui::after {
  content: "";
}

.ios-checkbox:checked + .check-box-ui {
  background: var(--ios-green);
  border-color: var(--ios-green);
  transform: scale(1.1);
  box-shadow: 0 0 12px rgba(48, 209, 88, 0.5);
}

.ios-checkbox:checked + .check-box-ui::after {
  content: "";
  width: 6px;
  height: 11px;
  border: solid #000;
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg) translate(-1px, -1px);
}

.check-text strong {
  display: block;
  font-size: 0.92rem;
  margin-bottom: 2px;
}

.check-text span {
  font-size: 0.84rem;
  color: var(--text-secondary);
}

.checklist-status {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
  text-align: center;
  transition: all 0.3s var(--spring-ios);
}

.checklist-status.ready {
  background: rgba(48, 209, 88, 0.18);
  border: 1px solid rgba(48, 209, 88, 0.45);
  color: #86efac;
  font-weight: 700;
}

/* =========================================
   Profiles (Owner & Dev)
   ========================================= */
.profiles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 22px;
}

.profile-card {
  padding: 32px;
  display: flex;
  flex-direction: column;
}

.profile-ribbon {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--ios-blue);
  margin-bottom: 16px;
}

.ribbon-dev {
  color: var(--ios-cyan);
}

.profile-top {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
}

.profile-avatar-wrap {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, #2a2a35, #121218);
  border: 2px solid rgba(255, 255, 255, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.profile-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.avatar-fallback {
  display: none;
  font-family: var(--font-mono);
  font-size: 1.2rem;
  font-weight: 700;
}

.profile-avatar-wrap.img-fallback .profile-avatar { display: none; }
.profile-avatar-wrap.img-fallback .avatar-fallback { display: block; }

.profile-role-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  background: rgba(10, 132, 255, 0.2);
  color: #82cfff;
  margin-bottom: 4px;
}

.tag-dev {
  background: rgba(100, 210, 255, 0.18);
  color: #a5f3fc;
}

.profile-name {
  font-size: 1.35rem;
  font-weight: 800;
}

.profile-handle {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.profile-tagline {
  font-size: 0.82rem;
  color: var(--text-tertiary);
}

.profile-bio {
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
  flex: 1;
}

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

/* Bottom CTA & Footer */
.cta-section {
  padding: 56px 0 76px;
}

.cta-box {
  padding: 52px 32px;
  text-align: center;
  background: linear-gradient(145deg, rgba(10, 132, 255, 0.16), rgba(28, 28, 36, 0.75));
}

.cta-box h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 800;
  margin-bottom: 10px;
}

.cta-box p {
  color: var(--text-secondary);
  max-width: 580px;
  margin: 0 auto 26px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 32px 0;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer-brand {
  font-weight: 800;
  display: block;
}

.footer-copy {
  font-size: 0.84rem;
  color: var(--text-tertiary);
}

.footer-copy a {
  color: var(--text-secondary);
  text-decoration: underline;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* =========================================
   Apple Spring Scroll Reveal Animations
   ========================================= */
.reveal-up {
  opacity: 0;
  transform: translate3d(0, 28px, 0) scale(0.98);
  transition:
    opacity 0.7s var(--spring-ios),
    transform 0.7s var(--spring-ios);
  will-change: opacity, transform;
}

.reveal-up.in-view {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

/* Responsive */
@media (max-width: 920px) {
  .island-nav {
    display: none;
  }

  .bento-grid,
  .private-bento,
  .rules-grid {
    grid-template-columns: 1fr;
  }

  .bento-span-2 {
    grid-column: span 1;
  }

  .spec-cards-grid {
    grid-template-columns: 1fr;
  }
}
