/* ==========================================================================
   TapNow Creative OS - Complete Reverse-Engineered Design System
   ========================================================================== */

:root {
  --bg-black: #000000;
  --bg-canvas: #09090b;
  --bg-card: rgba(18, 18, 24, 0.75);
  --bg-card-hover: rgba(28, 28, 38, 0.9);
  --bg-panel: #111117;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-bright: rgba(255, 255, 255, 0.18);
  --border-focus: #8B5CF6;
  
  --text-main: #FFFFFF;
  --text-muted: #94A3B8;
  --text-dim: #64748B;

  --accent-purple: #8B5CF6;
  --accent-cyan: #06B6D4;
  --accent-green: #10B981;
  --accent-amber: #F59E0B;
  --accent-pink: #EC4899;

  --grad-primary: linear-gradient(135deg, #A855F7 0%, #6366F1 50%, #06B6D4 100%);
  --grad-hover: linear-gradient(135deg, #B565F8 0%, #7073F2 50%, #17C0DC 100%);
  --grad-glow: radial-gradient(circle at 50% 0%, rgba(139, 92, 246, 0.25) 0%, transparent 70%);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --font-sans: 'Pretendard', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body.tapnow-dark {
  background-color: var(--bg-black);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-black);
}
::-webkit-scrollbar-thumb {
  background: #272730;
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: #3F3F4E;
}

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

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
  outline: none;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ================= UTILITY CLASSES ================= */
.gradient-text {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.btn-primary-gradient {
  background: var(--grad-primary);
  color: #FFFFFF;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.25s ease;
  box-shadow: 0 4px 20px rgba(139, 92, 246, 0.35);
}
.btn-primary-gradient:hover {
  background: var(--grad-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 26px rgba(139, 92, 246, 0.55);
}

.btn-secondary-outline {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-bright);
  color: #FFFFFF;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.25s ease;
  backdrop-filter: blur(8px);
}
.btn-secondary-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

.full-w-btn {
  width: 100%;
}

.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 14px; }
.mt-4 { margin-top: 24px; }

/* ================= TOP NAVIGATION ================= */
.top-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 68px;
  background: rgba(9, 9, 11, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 1000;
  display: flex;
  align-items: center;
}

.nav-container {
  max-width: 1440px;
  margin: 0 auto;
  width: 100%;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand-logo {
  width: 28px;
  height: 28px;
  object-fit: contain;
}
.brand-text {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #FFFFFF;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 22px;
}
.nav-item {
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.2s ease;
}
.nav-item:hover {
  color: #FFFFFF;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 500;
  transition: all 0.2s ease;
}
.nav-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  border-color: var(--border-bright);
}

.dropdown-wrapper {
  position: relative;
}
.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #181822;
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-md);
  padding: 6px;
  min-width: 140px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.2s ease;
  z-index: 1010;
}
.dropdown-wrapper.open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-item {
  padding: 8px 12px;
  font-size: 0.88rem;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.15s ease;
}
.dropdown-item:hover, .dropdown-item.active {
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
}

/* ================= HERO SECTION ================= */
.hero-section {
  position: relative;
  padding-top: 140px;
  padding-bottom: 60px;
  text-align: center;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: 60px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 480px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.18) 0%, rgba(6, 182, 212, 0.12) 40%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 860px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-bright);
  font-size: 0.84rem;
  font-weight: 500;
  color: #E2E8F0;
  margin-bottom: 24px;
}
.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-green);
  box-shadow: 0 0 10px var(--accent-green);
  animation: pulseDot 2s infinite;
}
@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.hero-title {
  font-size: 3.8rem;
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 1.22rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 36px;
  font-weight: 400;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
}

.hero-cta-btn {
  padding: 13px 28px;
  font-size: 1.05rem;
}

/* ================= INTERACTIVE CANVAS ENGINE (HERO) ================= */
.canvas-outer-wrapper {
  position: relative;
  z-index: 5;
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 20px;
}

.canvas-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  background: #14141c;
  border: 1px solid var(--border-bright);
  border-bottom: none;
  border-top-left-radius: var(--radius-xl);
  border-top-right-radius: var(--radius-xl);
}
.canvas-title-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  font-weight: 600;
  color: #FFFFFF;
}
.dot-live {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 8px #10B981;
}
.canvas-quick-tips {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.canvas-container {
  position: relative;
  height: 520px;
  background: #09090E;
  border: 1px solid var(--border-bright);
  border-bottom-left-radius: var(--radius-xl);
  border-bottom-right-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(139, 92, 246, 0.15);
  cursor: grab;
  user-select: none;
}
.canvas-container:active {
  cursor: grabbing;
}

/* Dot Grid Background */
.canvas-grid-bg {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.1) 1.5px, transparent 1.5px);
  background-size: 24px 24px;
  background-position: 0 0;
  pointer-events: none;
}

/* SVG Connection Wires */
.canvas-svg-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 10;
}

.connection-wire {
  fill: none;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 8 4;
  animation: wireDash 1.2s linear infinite;
}
@keyframes wireDash {
  to {
    stroke-dashoffset: -24;
  }
}

.wire-pulse {
  filter: drop-shadow(0 0 6px currentColor);
}

/* Left Floating Toolbar */
.canvas-left-toolbar {
  position: absolute;
  top: 24px;
  left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: rgba(22, 22, 30, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-bright);
  padding: 8px;
  border-radius: var(--radius-md);
  z-index: 30;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}
.tool-btn {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  transition: all 0.2s ease;
}
.tool-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
}
.tool-btn.active {
  background: var(--accent-purple);
  color: #FFFFFF;
}

/* Draggable Flow Nodes */
.flow-node {
  position: absolute;
  width: 250px;
  background: rgba(20, 20, 28, 0.88);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-md);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.7);
  z-index: 20;
  cursor: grab;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.flow-node:active {
  cursor: grabbing;
}
.flow-node.dragging {
  border-color: var(--accent-purple);
  box-shadow: 0 16px 45px rgba(139, 92, 246, 0.4);
  z-index: 50;
}

.node-header {
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-subtle);
}
.node-tag {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #FFFFFF;
}
.node-status-badge {
  font-size: 0.72rem;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  font-weight: 600;
}
.status-ready { background: rgba(59, 130, 246, 0.2); color: #60A5FA; }
.status-running { background: rgba(245, 158, 11, 0.2); color: #FBBF24; animation: pulseGlow 1.5s infinite; }
.status-done { background: rgba(16, 185, 129, 0.2); color: #34D399; }

@keyframes pulseGlow {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

.node-body {
  padding: 12px 14px;
}
.node-image-wrap {
  width: 100%;
  height: 130px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
  background: #000000;
  margin-bottom: 8px;
}
.node-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.flow-node:hover .node-thumb {
  transform: scale(1.04);
}

.node-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.meta-label {
  font-size: 0.74rem;
  color: var(--text-dim);
  font-family: var(--font-mono);
}
.meta-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
}

.node-prompt-text {
  font-size: 0.82rem;
  color: #E2E8F0;
  background: rgba(0, 0, 0, 0.4);
  padding: 8px;
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  border-left: 2px solid var(--accent-purple);
  line-height: 1.4;
}
.node-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.spec-pill {
  font-size: 0.72rem;
  background: rgba(255, 255, 255, 0.06);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
}

.play-overlay-badge {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.35);
}

/* Ports */
.node-port {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 2px solid var(--accent-purple);
  box-shadow: 0 0 8px var(--accent-purple);
  top: 50%;
  transform: translateY(-50%);
  z-index: 25;
}
.port-out {
  right: -6px;
}
.port-in {
  left: -6px;
}

/* Canvas Bottom Controls */
.canvas-bottom-controls {
  position: absolute;
  bottom: 20px;
  left: 24px;
  right: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
  z-index: 30;
}
.canvas-bottom-controls > * {
  pointer-events: auto;
}

.motion-speed-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(20, 20, 28, 0.9);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-bright);
  padding: 6px 12px;
  border-radius: var(--radius-full);
}
.motion-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
}
.speed-btn {
  font-size: 0.8rem;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  color: var(--text-muted);
  transition: all 0.2s ease;
}
.speed-btn.active {
  background: var(--accent-purple);
  color: #FFFFFF;
  font-weight: 600;
}
.motion-thumb-preview {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid var(--border-bright);
}
.motion-thumb-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.canvas-action-btns {
  display: flex;
  gap: 8px;
}
.ctrl-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(20, 20, 28, 0.9);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-bright);
  color: #FFFFFF;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.2s ease;
}
.ctrl-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-1px);
}

/* ================= TRUST MARQUEE ================= */
.trust-marquee-section {
  padding: 56px 0 32px;
  text-align: center;
}
.trust-title {
  font-size: 0.92rem;
  color: var(--text-dim);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 28px;
}
.marquee-track-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 48px;
  width: max-content;
  animation: marqueeScroll 36s linear infinite;
}
@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.marquee-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  filter: grayscale(1) opacity(0.5);
  transition: filter 0.25s ease;
}
.marquee-item:hover {
  filter: grayscale(0) opacity(1);
}
.marquee-item img {
  height: 28px;
  max-width: 120px;
  object-fit: contain;
}

/* ================= FEATURE SECTIONS GENERAL ================= */
.feature-section {
  padding: 96px 0;
  position: relative;
}
.feature-section.dark-alt {
  background: #08080C;
}

.section-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-purple);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}
.section-title {
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.22;
  margin-bottom: 18px;
}
.section-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 680px;
  margin-bottom: 32px;
}

.section-header-center {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px;
}
.section-header-center .section-desc {
  margin: 0 auto;
}

/* ================= SECTION 1: TAPNOW AGENT ================= */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.feature-bullet-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 36px;
}
.feature-bullet-list li {
  display: flex;
  gap: 16px;
}
.bullet-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.feature-bullet-list strong {
  display: block;
  font-size: 1.02rem;
  color: #FFFFFF;
  margin-bottom: 4px;
}
.feature-bullet-list p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Interactive Agent Chat Card */
.interactive-chat-card {
  background: #111119;
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  height: 480px;
}

.chat-card-header {
  padding: 16px 20px;
  background: #171722;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  gap: 12px;
}
.agent-avatar-wrap {
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--grad-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}
.agent-emoji {
  font-size: 1.2rem;
}
.agent-header-meta {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.agent-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: #FFFFFF;
}
.agent-badge {
  font-size: 0.74rem;
  color: var(--accent-green);
  font-weight: 500;
}
.status-pulse-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-green);
  box-shadow: 0 0 10px var(--accent-green);
  animation: pulseDot 2s infinite;
}

.chat-messages-body {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.chat-msg {
  display: flex;
  flex-direction: column;
  max-width: 85%;
}
.msg-agent {
  align-self: flex-start;
}
.msg-user {
  align-self: flex-end;
}
.msg-bubble {
  padding: 12px 18px;
  border-radius: var(--radius-lg);
  font-size: 0.92rem;
  line-height: 1.5;
}
.msg-agent .msg-bubble {
  background: #1C1C28;
  color: #F1F5F9;
  border-bottom-left-radius: 4px;
  border: 1px solid var(--border-subtle);
}
.msg-user .msg-bubble {
  background: var(--accent-purple);
  color: #FFFFFF;
  border-bottom-right-radius: 4px;
}

.quick-prompts-bar {
  padding: 8px 16px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  background: #14141E;
  border-top: 1px solid var(--border-subtle);
}
.chip-prompt {
  white-space: nowrap;
  font-size: 0.78rem;
  padding: 5px 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  color: var(--text-muted);
  transition: all 0.2s ease;
}
.chip-prompt:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #FFFFFF;
  border-color: var(--border-bright);
}

.chat-input-bar {
  padding: 12px 16px;
  background: #171722;
  border-top: 1px solid var(--border-bright);
  display: flex;
  align-items: center;
  gap: 10px;
}
.chat-input-bar input {
  flex: 1;
  background: #0E0E14;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 10px 16px;
  color: #FFFFFF;
  font-size: 0.9rem;
  outline: none;
}
.chat-input-bar input:focus {
  border-color: var(--accent-purple);
}
.chat-send-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--grad-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  transition: transform 0.2s ease;
}
.chat-send-btn:hover {
  transform: scale(1.08);
}

/* ================= SECTION 2: CINEMATIC CAMERA CONTROL ================= */
.camera-simulator-box {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 36px;
  background: #111119;
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

.camera-preview-stage {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #000000;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--border-subtle);
}
.stage-bg-viewport {
  position: relative;
  width: 100%;
  height: 100%;
}
.camera-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 0.3s ease, transform 0.4s ease;
}

.lens-blur-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at center, transparent 35%, rgba(0, 0, 0, 0.4) 100%);
  transition: backdrop-filter 0.3s ease;
}

/* Viewfinder Crosshair */
.viewfinder-grid {
  position: absolute;
  inset: 20px;
  pointer-events: none;
}
.vf-corner {
  position: absolute;
  width: 20px;
  height: 20px;
  border-color: rgba(255, 255, 255, 0.45);
  border-style: solid;
}
.vf-tl { top: 0; left: 0; border-width: 2px 0 0 2px; }
.vf-tr { top: 0; right: 0; border-width: 2px 2px 0 0; }
.vf-bl { bottom: 0; left: 0; border-width: 0 0 2px 2px; }
.vf-br { bottom: 0; right: 0; border-width: 0 2px 2px 0; }
.vf-crosshair {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 16px;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
}

.camera-osd-hud {
  position: absolute;
  bottom: 14px;
  left: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: #00FFCC;
}
.rec-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #EF4444;
  margin-right: 6px;
  animation: pulseDot 1s infinite;
}

/* Camera Controls Panel */
.camera-controls-panel {
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: center;
}
.control-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ctrl-label {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-muted);
}
.gear-pill-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.gear-pill {
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
  text-align: center;
  transition: all 0.2s ease;
}
.gear-pill:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
}
.gear-pill.active {
  background: var(--accent-purple);
  border-color: var(--accent-purple);
  color: #FFFFFF;
  font-weight: 600;
}

.sliders-row {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.slider-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.slider-head {
  display: flex;
  justify-content: space-between;
  font-size: 0.84rem;
  font-weight: 500;
  color: #E2E8F0;
}
.slider-val {
  color: var(--accent-cyan);
  font-family: var(--font-mono);
  font-weight: 600;
}
.range-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: var(--radius-full);
  background: #272736;
  outline: none;
}
.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #FFFFFF;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
  transition: transform 0.15s ease;
}
.range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}
.slider-hints {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: var(--text-dim);
}

.panel-action-bar {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}

/* ================= SECTION 3: 3D ANGLE & STUDIO LIGHTING ================= */
.split-dual-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.dual-feature-card {
  background: #111119;
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-xl);
  padding: 32px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}
.card-title {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}
.card-desc {
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 24px;
}

/* 3D Cube Scene */
.cube-stage-wrapper {
  height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  perspective: 800px;
  background: #09090E;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  position: relative;
  overflow: hidden;
  margin-bottom: 20px;
}
.cube-3d-scene {
  width: 90px;
  height: 90px;
  position: relative;
  transform-style: preserve-3d;
  cursor: grab;
}
.cube-3d-scene:active {
  cursor: grabbing;
}
.cube-3d-object {
  width: 100%;
  height: 100%;
  position: absolute;
  transform-style: preserve-3d;
  transition: transform 0.1s ease-out;
}
.cube-face {
  position: absolute;
  width: 90px;
  height: 90px;
  border: 2px solid var(--accent-purple);
  background: rgba(139, 92, 246, 0.25);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: #FFFFFF;
}
.face-front  { transform: rotateY(  0deg) translateZ(45px); }
.face-back   { transform: rotateY(180deg) translateZ(45px); }
.face-left   { transform: rotateY(-90deg) translateZ(45px); }
.face-right  { transform: rotateY( 90deg) translateZ(45px); }
.face-top    { transform: rotateX( 90deg) translateZ(45px); }
.face-bottom { transform: rotateX(-90deg) translateZ(45px); }

.cube-drag-tip {
  position: absolute;
  bottom: 8px;
  font-size: 0.74rem;
  color: var(--text-dim);
}

.angle-preset-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  margin-bottom: 16px;
}
.angle-btn {
  padding: 8px 4px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 500;
  text-align: center;
  transition: all 0.2s ease;
}
.angle-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
}
.angle-btn.active {
  background: var(--accent-purple);
  color: #FFFFFF;
  font-weight: 600;
  border-color: var(--accent-purple);
}

.angle-readout-hud {
  display: flex;
  justify-content: space-between;
  padding: 8px 12px;
  background: #09090E;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.angle-readout-hud strong {
  color: var(--accent-cyan);
}

/* Lighting Simulator */
.lighting-stage-viewport {
  position: relative;
  height: 220px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #000000;
  border: 1px solid var(--border-subtle);
  margin-bottom: 20px;
}
.lighting-base-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.lighting-overlay-key {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.35) 0%, transparent 60%);
  mix-blend-mode: overlay;
  transition: all 0.3s ease;
}
.lighting-overlay-rim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 85% 20%, rgba(6, 182, 212, 0.4) 0%, transparent 50%);
  mix-blend-mode: color-dodge;
  transition: all 0.3s ease;
}
.lighting-overlay-temp {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: rgba(255, 170, 60, 0.12);
  mix-blend-mode: soft-light;
  transition: background-color 0.3s ease;
}

.light-direction-bar {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}
.dir-btn {
  flex: 1;
  padding: 7px 4px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 500;
  transition: all 0.2s ease;
}
.dir-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
}
.dir-btn.active {
  background: var(--accent-purple);
  color: #FFFFFF;
  border-color: var(--accent-purple);
  font-weight: 600;
}

/* ================= SECTION 4: MOTION INPAINTING ================= */
.split-slider-box {
  max-width: 980px;
  margin: 0 auto;
  background: #111119;
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

.split-slider-viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #000000;
  user-select: none;
  cursor: ew-resize;
}

.split-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.split-layer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.layer-before {
  clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%);
  z-index: 10;
}

.split-badge {
  position: absolute;
  bottom: 16px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  backdrop-filter: blur(8px);
}
.badge-before {
  left: 20px;
  background: rgba(0, 0, 0, 0.75);
  color: #E2E8F0;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.badge-after {
  right: 20px;
  background: rgba(139, 92, 246, 0.75);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.split-divider-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: #FFFFFF;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.9);
  z-index: 20;
  transform: translateX(-50%);
  pointer-events: none;
}
.split-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #FFFFFF;
  color: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
  pointer-events: auto;
  cursor: ew-resize;
}

.split-controls-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
  gap: 16px;
}
.replacement-tabs {
  display: flex;
  gap: 8px;
}
.rep-tab {
  padding: 8px 16px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.2s ease;
}
.rep-tab:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
}
.rep-tab.active {
  background: var(--accent-purple);
  color: #FFFFFF;
  border-color: var(--accent-purple);
  font-weight: 600;
}

/* ================= SECTION 5: TOP-TIER AI MODEL HUB ================= */
.model-filter-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}
.model-tab-btn {
  padding: 8px 18px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s ease;
}
.model-tab-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
}
.model-tab-btn.active {
  background: #FFFFFF;
  color: #000000;
  font-weight: 600;
}

.models-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.model-card {
  background: #111119;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
}
.model-card:hover {
  border-color: var(--border-bright);
  transform: translateY(-4px);
  background: #161622;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}
.model-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.model-logo-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
}
.model-logo-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.model-tag {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: var(--radius-full);
}
.tag-img { background: rgba(139, 92, 246, 0.2); color: #C084FC; }
.tag-vid { background: rgba(6, 182, 212, 0.2); color: #22D3EE; }
.tag-dir { background: rgba(16, 185, 129, 0.2); color: #34D399; }

.model-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 8px;
}
.model-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 18px;
  flex: 1;
}
.model-meta {
  display: flex;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.76rem;
  color: var(--text-dim);
  font-family: var(--font-mono);
}

.center-cta-wrap {
  text-align: center;
}

/* ================= SECTION 6: TAPNOW COMMUNITY & TAPTV ================= */
.community-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.community-card {
  background: #111119;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.25s ease;
}
.community-card:hover {
  border-color: var(--border-bright);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7);
}
.card-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #000000;
}
.comm-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.community-card:hover .comm-img {
  transform: scale(1.06);
}
.card-badge-top {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.74rem;
  font-weight: 600;
  color: #FFFFFF;
}

.remix-btn-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #FFFFFF;
  font-weight: 600;
  font-size: 0.9rem;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.card-thumb-wrap:hover .remix-btn-overlay {
  opacity: 1;
}

.card-info {
  padding: 16px;
}
.comm-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 6px;
}
.comm-meta-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--text-muted);
}
.author-name {
  color: var(--accent-cyan);
}

/* ================= SECTION 7: GRAND FINALE CTA ================= */
.grand-cta-section {
  position: relative;
  padding: 100px 0;
  text-align: center;
  overflow: hidden;
}
.grand-cta-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.25) 0%, rgba(6, 182, 212, 0.15) 50%, transparent 70%);
  filter: blur(90px);
  pointer-events: none;
}
.cta-inner-card {
  position: relative;
  background: #11111A;
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-xl);
  padding: 72px 36px;
  max-width: 960px;
  margin: 0 auto;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8);
}
.cta-heading {
  font-size: 3.2rem;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 18px;
}
.cta-sub {
  font-size: 1.18rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 680px;
  margin: 0 auto 36px;
}
.cta-btn-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 36px;
}
.cta-main-btn {
  padding: 14px 32px;
  font-size: 1.05rem;
}
.cta-trust-badge {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  font-size: 0.84rem;
  color: var(--text-dim);
}

/* ================= FOOTER ================= */
.main-footer {
  background: #07070A;
  border-top: 1px solid var(--border-subtle);
  padding: 64px 0 36px;
}
.footer-top-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.footer-tagline {
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 300px;
  margin-bottom: 20px;
}
.social-links-row {
  display: flex;
  gap: 12px;
}
.social-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: all 0.2s ease;
}
.social-icon:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-head {
  font-size: 0.92rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.footer-col a {
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: color 0.2s ease;
}
.footer-col a:hover {
  color: #FFFFFF;
}

.footer-bottom-bar {
  padding-top: 28px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.copyright-text {
  font-size: 0.84rem;
  color: var(--text-dim);
}
.back-to-top-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.84rem;
  color: var(--text-muted);
  transition: color 0.2s ease;
}
.back-to-top-btn:hover {
  color: #FFFFFF;
}

/* ================= MODALS ================= */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
  padding: 20px;
}
.modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.modal-dialog {
  background: #151520;
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-xl);
  max-width: 460px;
  width: 100%;
  padding: 32px;
  position: relative;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.9);
  transform: scale(0.95);
  transition: transform 0.25s ease;
}
.modal-dialog.modal-lg {
  max-width: 620px;
}
.modal-backdrop.open .modal-dialog {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all 0.2s ease;
}
.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #FFFFFF;
}

.modal-head {
  text-align: center;
  margin-bottom: 24px;
}
.modal-logo {
  width: 42px;
  height: 42px;
  margin-bottom: 12px;
}
.modal-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 6px;
}
.modal-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.social-auth-btn {
  width: 100%;
  padding: 12px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: #FFFFFF;
  font-size: 0.92rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 10px;
  transition: all 0.2s ease;
}
.social-auth-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--border-bright);
}

.auth-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 16px 0;
  color: var(--text-dim);
  font-size: 0.8rem;
}
.auth-divider::before, .auth-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid var(--border-subtle);
}
.auth-divider span {
  padding: 0 10px;
}

.modal-input {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  background: #0D0D14;
  border: 1px solid var(--border-subtle);
  color: #FFFFFF;
  font-size: 0.92rem;
  outline: none;
  margin-bottom: 8px;
}
.modal-input:focus {
  border-color: var(--accent-purple);
}

.auth-footnote {
  margin-top: 16px;
  font-size: 0.74rem;
  color: var(--text-dim);
  text-align: center;
  line-height: 1.4;
}

/* OS Download Grid */
.os-download-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.os-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #1C1C28;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 16px;
}
.os-icon {
  font-size: 2rem;
}
.os-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.os-info strong {
  font-size: 0.98rem;
  color: #FFFFFF;
}
.os-info span {
  font-size: 0.78rem;
  color: var(--text-muted);
}
.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

/* Remix Modal Elements */
.remix-pipeline-box {
  background: #0E0E16;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px;
}
.remix-nodes-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.remix-node-pill {
  font-size: 0.8rem;
  background: rgba(139, 92, 246, 0.2);
  border: 1px solid var(--accent-purple);
  color: #DDD6FE;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}
.remix-textarea {
  width: 100%;
  height: 90px;
  background: #0E0E16;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px;
  color: #FFFFFF;
  font-family: var(--font-mono);
  font-size: 0.84rem;
  resize: none;
  outline: none;
}
.remix-actions-row {
  display: flex;
  gap: 10px;
}

/* ================= RESPONSIVE DESIGN ================= */
@media (max-width: 1024px) {
  .hero-title { font-size: 3rem; }
  .feature-grid { grid-template-columns: 1fr; gap: 40px; }
  .camera-simulator-box { grid-template-columns: 1fr; }
  .split-dual-cards { grid-template-columns: 1fr; }
  .models-grid { grid-template-columns: repeat(2, 1fr); }
  .community-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-menu { display: none; }
  .hero-title { font-size: 2.3rem; }
  .hero-subtitle { font-size: 1rem; }
  .canvas-container { height: 420px; }
  .models-grid { grid-template-columns: 1fr; }
  .community-grid { grid-template-columns: 1fr; }
  .footer-top-grid { grid-template-columns: 1fr; }
  .cta-heading { font-size: 2.2rem; }
  .cta-btn-group { flex-direction: column; width: 100%; }
  .split-controls-bar { flex-direction: column; }
}
