/* ============================================================
   TAILONCHECK — 공유 디자인 시스템
   ============================================================ */

/* === DESIGN TOKENS === */
:root {
  --primary: #6C2BD9;
  --primary-glow: rgba(108, 43, 217, 0.4);
  --secondary: #00E5CC;
  --secondary-glow: rgba(0, 229, 204, 0.3);
  --accent: #FF6B6B;
  --bg: #0A0A0F;
  --bg-elevated: #111118;
  --bg-card: rgba(255, 255, 255, 0.04);
  --border: rgba(255, 255, 255, 0.08);
  --text: #EAEAF0;
  --text-dim: rgba(234, 234, 240, 0.5);
  --text-muted: rgba(234, 234, 240, 0.3);
  --font-sans: 'Pretendard Variable', Pretendard, Inter, system-ui, sans-serif;
  --font-heading: 'Space Grotesk', sans-serif;
  --font-serif: 'Noto Serif KR', serif;
}

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

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--primary) var(--bg);
}

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  cursor: none;
}

/* === CUSTOM CURSOR === */
.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 10000;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.cursor-dot {
  width: 6px;
  height: 6px;
  background: var(--secondary);
}

.cursor-ring {
  width: 40px;
  height: 40px;
  border: 1.5px solid var(--primary);
  transition: width 0.2s, height 0.2s, border-color 0.2s;
}

.cursor-ring.hover {
  width: 60px;
  height: 60px;
  border-color: var(--secondary);
}

.cursor-vf::before,
.cursor-vf::after {
  content: '';
  position: absolute;
  background: var(--secondary);
}

.cursor-vf::before {
  width: 1px;
  height: 100%;
  left: 50%;
  top: 0;
  opacity: 0.4;
}

.cursor-vf::after {
  width: 100%;
  height: 1px;
  top: 50%;
  left: 0;
  opacity: 0.4;
}

/* === SCROLL PROGRESS === */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  z-index: 9999;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  width: 0%;
  transition: width 0.1s;
}

/* === NAV === */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.2rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.4s, backdrop-filter 0.4s;
}

nav.scrolled {
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-decoration: none;
}

.nav-logo img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.footer-logo-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  margin-bottom: 0.5rem;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: color 0.3s;
  position: relative;
}

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

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--secondary);
  transition: width 0.3s;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  padding: 0.6rem 1.5rem;
  border: none;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--primary), #8B5CF6);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  letter-spacing: 0.5px;
  transition: transform 0.3s, box-shadow 0.3s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--primary-glow);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
  transition: 0.3s;
}

/* === PAGE HERO (Sub-pages) === */
.page-hero {
  padding: 10rem 2rem 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(ellipse 600px 400px at 30% 40%, var(--primary-glow), transparent), radial-gradient(ellipse 500px 350px at 70% 60%, var(--secondary-glow), transparent), var(--bg);
}

.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.page-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
  background: rgba(108, 43, 217, 0.15);
  border: 1px solid rgba(108, 43, 217, 0.3);
  font-size: 0.8rem;
  color: var(--secondary);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.page-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.2rem;
}

.page-hero-title .gradient {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 50%, var(--primary) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradShift 4s ease infinite;
}

.page-hero-sub {
  font-size: 1.1rem;
  color: var(--text-dim);
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto;
}

@keyframes gradShift {
  0% {
    background-position: 0% center;
  }

  50% {
    background-position: 100% center;
  }

  100% {
    background-position: 0% center;
  }
}

/* === MAIN HERO (Home only) === */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(ellipse 600px 400px at 30% 40%, var(--primary-glow), transparent), radial-gradient(ellipse 500px 350px at 70% 60%, var(--secondary-glow), transparent), var(--bg);
}

.hero-grain {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.vf-corner {
  position: absolute;
  z-index: 2;
  width: 40px;
  height: 40px;
}

.vf-corner::before,
.vf-corner::after {
  content: '';
  position: absolute;
  background: var(--secondary);
  opacity: 0.5;
}

.vf-tl {
  top: 6rem;
  left: 2rem;
}

.vf-tl::before {
  width: 40px;
  height: 2px;
  top: 0;
  left: 0;
}

.vf-tl::after {
  width: 2px;
  height: 40px;
  top: 0;
  left: 0;
}

.vf-tr {
  top: 6rem;
  right: 2rem;
}

.vf-tr::before {
  width: 40px;
  height: 2px;
  top: 0;
  right: 0;
}

.vf-tr::after {
  width: 2px;
  height: 40px;
  top: 0;
  right: 0;
}

.vf-bl {
  bottom: 2rem;
  left: 2rem;
}

.vf-bl::before {
  width: 40px;
  height: 2px;
  bottom: 0;
  left: 0;
}

.vf-bl::after {
  width: 2px;
  height: 40px;
  bottom: 0;
  left: 0;
}

.vf-br {
  bottom: 2rem;
  right: 2rem;
}

.vf-br::before {
  width: 40px;
  height: 2px;
  bottom: 0;
  right: 0;
}

.vf-br::after {
  width: 2px;
  height: 40px;
  bottom: 0;
  right: 0;
}

.vf-rec {
  position: absolute;
  top: 6.5rem;
  left: 5rem;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  color: var(--accent);
  letter-spacing: 2px;
}

.rec-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: recPulse 1.5s ease-in-out infinite;
}

@keyframes recPulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.3;
  }
}

.vf-timecode {
  position: absolute;
  top: 6.5rem;
  right: 5rem;
  z-index: 2;
  font-family: 'Space Grotesk', monospace;
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 2px;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  padding: 0 2rem;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  margin-bottom: 2rem;
  background: rgba(108, 43, 217, 0.15);
  border: 1px solid rgba(108, 43, 217, 0.3);
  font-size: 0.8rem;
  color: var(--secondary);
  letter-spacing: 1px;
}

.hero-tag .tri {
  color: var(--primary);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 1.5rem;
}

.hero-title .gradient {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 50%, var(--primary) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradShift 4s ease infinite;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-dim);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta,
.cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 1rem 2.5rem;
  border: none;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--primary), #8B5CF6);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  letter-spacing: 0.5px;
  transition: transform 0.3s, box-shadow 0.3s;
  text-decoration: none;
}

.hero-cta:hover,
.cta-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px var(--primary-glow);
}

.play-icon {
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 10px solid #fff;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.hero-scroll span {
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--primary), transparent);
  animation: scrollDown 2s ease infinite;
}

@keyframes scrollDown {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }

  50% {
    transform: scaleY(1);
    transform-origin: top;
  }

  51% {
    transform-origin: bottom;
  }

  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}

/* === SECTION COMMON === */
section {
  padding: 6rem 2rem;
  position: relative;
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-label {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  color: var(--secondary);
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-label::before {
  content: '';
  width: 30px;
  height: 1px;
  background: var(--secondary);
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

.section-desc {
  color: var(--text-dim);
  font-size: 1.05rem;
  line-height: 1.8;
  max-width: 650px;
}

.section-desc.center {
  margin: 0 auto;
  text-align: center;
}

.glitch-divider {
  height: 3px;
  margin: 0;
  border: none;
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg, transparent, var(--primary), var(--secondary), transparent);
  opacity: 0.3;
}

/* === ELEVATED BG === */
.bg-elevated {
  background: var(--bg-elevated);
}

/* === GRID CARDS === */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.card-grid-wide {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.glass-card {
  position: relative;
  padding: 2rem;
  border-radius: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  opacity: 0;
  transition: opacity 0.3s;
}

.glass-card:hover {
  transform: translateY(-6px);
  border-color: rgba(108, 43, 217, 0.3);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.glass-card:hover::before {
  opacity: 1;
}

.glass-card h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
}

.glass-card p {
  color: var(--text-dim);
  font-size: 0.9rem;
  line-height: 1.7;
}

.glass-card .card-tag {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  font-size: 0.7rem;
  letter-spacing: 1px;
  background: rgba(0, 229, 204, 0.1);
  color: var(--secondary);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  margin-bottom: 1.2rem;
  background: linear-gradient(135deg, rgba(108, 43, 217, 0.2), rgba(0, 229, 204, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--secondary);
}

.card-num-bg {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  background: linear-gradient(135deg, var(--primary), transparent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0.2;
}

/* === ABOUT === */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-top: 3rem;
}

.about-text p {
  color: var(--text-dim);
  line-height: 1.8;
  margin-bottom: 1.2rem;
  font-size: 0.95rem;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.stat-card {
  padding: 1.5rem;
  border-radius: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  text-align: center;
}

.stat-num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.3rem;
}

.about-visual {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, rgba(108, 43, 217, 0.1), rgba(0, 229, 204, 0.1));
  border: 1px solid var(--border);
}

.about-frame {
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(0, 229, 204, 0.2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-play-btn {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(108, 43, 217, 0.3);
  border: 2px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s, background 0.3s;
}

.about-play-btn:hover {
  transform: scale(1.1);
  background: rgba(108, 43, 217, 0.5);
}

.about-play-btn::after {
  content: '';
  width: 0;
  height: 0;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  border-left: 25px solid #fff;
  margin-left: 5px;
}

.about-frame-label {
  position: absolute;
  bottom: 20px;
  left: 20px;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 2px;
}

/* === TAB UI === */
.tab-bar {
  display: flex;
  gap: 0.5rem;
  margin: 2.5rem 0 2rem;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 0.6rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: 50px;
  background: transparent;
  color: var(--text-dim);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
}

.tab-btn.active,
.tab-btn:hover {
  background: linear-gradient(135deg, var(--primary), #8B5CF6);
  border-color: transparent;
  color: #fff;
}

/* === PROCESS TIMELINE === */
.process-timeline {
  display: flex;
  gap: 0;
  margin-top: 3rem;
  position: relative;
  overflow-x: auto;
  padding-bottom: 2rem;
  scrollbar-width: none;
}

.process-timeline::-webkit-scrollbar {
  display: none;
}

.process-step {
  min-width: 240px;
  flex: 1;
  position: relative;
  padding: 2rem 1.5rem;
  text-align: center;
}

.process-line {
  position: absolute;
  top: 3.2rem;
  left: 50%;
  right: -50%;
  height: 2px;
  background: var(--border);
}

.process-step:last-child .process-line {
  display: none;
}

.step-num {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin: 0 auto 1.2rem;
  background: var(--bg);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-muted);
  position: relative;
  z-index: 2;
  transition: border-color 0.5s, color 0.5s, box-shadow 0.5s;
}

.process-step.active .step-num {
  border-color: var(--primary);
  color: var(--secondary);
  box-shadow: 0 0 20px var(--primary-glow);
}

.process-step h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.process-step p {
  color: var(--text-dim);
  font-size: 0.85rem;
  line-height: 1.6;
}

/* === CONTACT === */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 3rem;
}

.contact-info h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.contact-info p {
  color: var(--text-dim);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.contact-notice {
  padding: 1.5rem;
  border-radius: 12px;
  background: rgba(108, 43, 217, 0.08);
  border: 1px solid rgba(108, 43, 217, 0.2);
}

.contact-notice h4 {
  font-size: 0.9rem;
  color: var(--secondary);
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.contact-notice p {
  color: var(--text-dim);
  font-size: 0.85rem;
  line-height: 1.7;
  margin: 0;
}

/* === CTA BOX (for contact page) === */
.cta-box {
  max-width: 600px;
  margin: 3rem auto 0;
  padding: 3rem;
  border-radius: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  text-align: center;
}

.cta-box h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.cta-box p {
  color: var(--text-dim);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.cta-box .cta-primary {
  font-size: 1.1rem;
  padding: 1.2rem 3rem;
}

/* === FEATURE LIST === */
.feature-list {
  list-style: none;
  margin-top: 1.5rem;
}

.feature-list li {
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-dim);
  font-size: 0.95rem;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  line-height: 1.6;
}

.feature-list li::before {
  content: '▶';
  color: var(--primary);
  font-size: 0.6rem;
  margin-top: 5px;
  flex-shrink: 0;
}

/* === TEXT BLOCK === */
.text-block {
  max-width: 800px;
  margin: 0 auto;
}

.text-block p {
  color: var(--text-dim);
  line-height: 1.9;
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.text-block h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  margin-bottom: 1rem;
  margin-top: 2.5rem;
  color: var(--text);
}

/* === PROCESS DETAIL (sub-page) === */
.process-detail {
  margin-top: 3rem;
}

.process-detail-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 2rem;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--border);
}

.process-detail-num {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.process-detail-item h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
}

.process-detail-item p {
  color: var(--text-dim);
  line-height: 1.8;
  font-size: 0.95rem;
}

/* === FOOTER === */
footer {
  padding: 3rem 2rem 2rem;
  border-top: 1px solid var(--border);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: start;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-brand .nav-logo {
  margin-bottom: 0.8rem;
  display: block;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.6;
  max-width: 300px;
}

.footer-links h4 {
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 1rem;
  color: var(--text-dim);
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--secondary);
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.social-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  font-size: 0.85rem;
  text-decoration: none;
  transition: border-color 0.3s, color 0.3s;
}

.social-icon:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.footer-bottom {
  max-width: 1200px;
  margin: 2rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.footer-biz {
  max-width: 1200px;
  margin: 0.8rem auto 0;
  text-align: center;
  font-size: 0.7rem;
  color: var(--text-muted);
  line-height: 1.8;
}

/* === HOME PREVIEW SECTIONS === */
.preview-section {
  padding: 5rem 2rem;
}

.preview-section .section-container {
  text-align: center;
}

.preview-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
  text-align: left;
}

.section-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 2rem;
  color: var(--secondary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: gap 0.3s;
}

.section-link:hover {
  gap: 14px;
}

.section-link::after {
  content: '→';
}

/* === RESPONSIVE === */
/* === RESPONSIVE — MOBILE (max 768px) === */
@media (max-width:768px) {
  body {
    cursor: auto;
  }

  .cursor-dot,
  .cursor-ring {
    display: none;
  }

  /* Nav */
  nav {
    padding: 0.8rem 1rem;
  }

  .nav-logo {
    font-size: 1rem;
    letter-spacing: 2px;
    gap: 6px;
  }

  .nav-logo img {
    width: 28px;
    height: 28px;
  }

  .nav-links {
    display: none;
  }

  .nav-cta {
    font-size: 0.75rem;
    padding: 0.5rem 1rem;
  }

  .mobile-toggle {
    display: block;
  }

  nav.mobile-open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(10, 10, 15, 0.97);
    backdrop-filter: blur(20px);
    padding: 1.5rem 1.5rem 2rem;
    gap: 0;
    border-bottom: 1px solid var(--border);
  }

  nav.mobile-open .nav-links li {
    border-bottom: 1px solid var(--border);
  }

  nav.mobile-open .nav-links a {
    display: block;
    padding: 1rem 0;
    font-size: 0.95rem;
  }

  /* Hero */
  #hero {
    min-height: 85vh;
  }

  .hero-content {
    padding: 0 1rem;
  }

  .hero-title {
    font-size: 1.8rem;
    letter-spacing: -0.5px;
  }

  .hero-sub {
    font-size: 0.9rem;
    margin-bottom: 2rem;
  }

  .hero-tag {
    font-size: 0.7rem;
    padding: 0.3rem 0.8rem;
    margin-bottom: 1.5rem;
  }

  .hero-cta,
  .cta-primary {
    font-size: 0.9rem;
    padding: 0.9rem 2rem;
    width: 100%;
    justify-content: center;
  }

  .vf-corner {
    width: 25px;
    height: 25px;
  }

  .vf-tl {
    top: 5rem;
    left: 1rem;
  }

  .vf-tr {
    top: 5rem;
    right: 1rem;
  }

  .vf-bl {
    bottom: 1.5rem;
    left: 1rem;
  }

  .vf-br {
    bottom: 1.5rem;
    right: 1rem;
  }

  .vf-rec,
  .vf-timecode {
    display: none;
  }

  .hero-scroll {
    bottom: 1.5rem;
  }

  .hero-scroll span {
    font-size: 0.6rem;
  }

  /* Sections */
  section {
    padding: 3.5rem 1.2rem;
  }

  .preview-section {
    padding: 3rem 1.2rem;
  }

  .section-label {
    font-size: 0.65rem;
    letter-spacing: 3px;
    margin-bottom: 0.7rem;
  }

  .section-label::before {
    width: 20px;
  }

  .section-title {
    font-size: 1.4rem;
    margin-bottom: 1rem;
  }

  .section-desc {
    font-size: 0.9rem;
    line-height: 1.7;
  }

  /* Page Hero (Sub-pages) */
  .page-hero {
    padding: 7rem 1.2rem 2.5rem;
  }

  .page-hero-tag {
    font-size: 0.7rem;
    padding: 0.3rem 0.8rem;
    margin-bottom: 1rem;
  }

  .page-hero-title {
    font-size: 1.6rem;
  }

  .page-hero-sub {
    font-size: 0.9rem;
  }

  /* Cards */
  .card-grid,
  .card-grid-wide,
  .preview-cards {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .glass-card {
    padding: 1.5rem;
  }

  .glass-card h3 {
    font-size: 1rem;
  }

  .glass-card p {
    font-size: 0.85rem;
  }

  .card-icon {
    width: 40px;
    height: 40px;
    font-size: 0.75rem;
    margin-bottom: 1rem;
  }

  .card-num-bg {
    font-size: 2.2rem;
  }

  /* About */
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-visual {
    display: none;
  }

  .about-text p {
    font-size: 0.9rem;
  }

  .about-stats {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .stat-card {
    padding: 1.2rem;
  }

  .stat-num {
    font-size: 1.6rem;
  }

  .stat-label {
    font-size: 0.7rem;
  }

  /* Tabs */
  .tab-bar {
    gap: 0.4rem;
    margin: 1.5rem 0 1.2rem;
    overflow-x: auto;
    flex-wrap: nowrap;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
  }

  .tab-bar::-webkit-scrollbar {
    display: none;
  }

  .tab-btn {
    flex-shrink: 0;
    padding: 0.5rem 1.2rem;
    font-size: 0.8rem;
  }

  /* Process */
  .process-timeline {
    flex-direction: column;
    align-items: center;
    padding-bottom: 0;
  }

  .process-step {
    min-width: auto;
    width: 100%;
    padding: 1.2rem 0;
  }

  .process-line {
    display: none !important;
  }

  .step-num {
    width: 42px;
    height: 42px;
    font-size: 0.9rem;
  }

  /* Process Detail */
  .process-detail-item {
    grid-template-columns: 45px 1fr;
    gap: 1rem;
    padding: 1.8rem 0;
  }

  .process-detail-num {
    font-size: 1.6rem;
  }

  .process-detail-item h3 {
    font-size: 1.05rem;
  }

  .process-detail-item p {
    font-size: 0.85rem;
  }

  /* Text Block */
  .text-block p {
    font-size: 0.9rem;
    line-height: 1.8;
  }

  .text-block h3 {
    font-size: 1.1rem;
  }

  /* Feature List */
  .feature-list li {
    font-size: 0.85rem;
    padding: 0.7rem 0;
  }

  /* Contact */
  .contact-info h3 {
    font-size: 1.1rem;
  }

  .contact-info p {
    font-size: 0.9rem;
  }

  .cta-box {
    padding: 2rem 1.5rem;
    margin: 2rem auto 0;
  }

  .cta-box h3 {
    font-size: 1.2rem;
  }

  .cta-box p {
    font-size: 0.9rem;
  }

  .cta-box .cta-primary {
    padding: 1rem 2rem;
    font-size: 1rem;
    width: 100%;
  }

  /* Section Link */
  .section-link {
    font-size: 0.85rem;
  }

  /* Footer */
  .footer-container {
    flex-direction: column;
    gap: 2rem;
  }

  .footer-brand p {
    font-size: 0.8rem;
  }

  .footer-links h4 {
    font-size: 0.75rem;
    margin-bottom: 0.7rem;
  }

  .footer-links a {
    font-size: 0.8rem;
  }

  .footer-bottom {
    font-size: 0.65rem;
    margin-top: 1.5rem;
    padding-top: 1.2rem;
  }

  .footer-biz {
    font-size: 0.6rem;
    line-height: 1.7;
  }

  .footer-logo-img {
    width: 36px;
    height: 36px;
  }

  /* Glitch divider */
  .glitch-divider {
    height: 2px;
  }
}

/* === RESPONSIVE — SMALL MOBILE (max 400px) === */
@media (max-width:400px) {
  .hero-title {
    font-size: 1.5rem;
  }

  .page-hero-title {
    font-size: 1.35rem;
  }

  .section-title {
    font-size: 1.25rem;
  }

  .about-stats {
    grid-template-columns: 1fr;
  }

  .hero-cta,
  .cta-primary {
    padding: 0.85rem 1.5rem;
    font-size: 0.85rem;
  }

  .nav-cta {
    padding: 0.4rem 0.8rem;
    font-size: 0.7rem;
  }

  .nav-logo {
    font-size: 0.85rem;
    letter-spacing: 1px;
  }

  .nav-logo img {
    width: 24px;
    height: 24px;
  }
}

/* === RESPONSIVE — TABLET (769-1024px) === */
@media (min-width:769px) and (max-width:1024px) {
  nav {
    padding: 1rem 1.5rem;
  }

  .about-grid {
    gap: 2rem;
  }

  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .card-grid-wide {
    grid-template-columns: repeat(2, 1fr);
  }

  .preview-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    gap: 2rem;
  }

  .hero-title {
    font-size: 2.8rem;
  }

  section {
    padding: 5rem 1.5rem;
  }
}

/* === ANIMATIONS === */
.reveal {
  opacity: 0;
  transform: translateY(40px);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
}