/* ============================================
   STLabs — Company Website
   Design: Dark luxury tech with sharp geometry
   ============================================ */

:root {
  --bg: #0a0a0f;
  --bg-elevated: #12121a;
  --bg-card: #16161f;
  --bg-card-hover: #1c1c28;
  --surface: #1e1e2a;
  --border: rgba(255, 255, 255, 0.06);
  --border-light: rgba(255, 255, 255, 0.1);
  --text: #e8e8ed;
  --text-secondary: #9898a6;
  --text-muted: #5e5e6e;
  --accent: #6c5ce7;
  --accent-light: #a29bfe;
  --accent-glow: rgba(108, 92, 231, 0.3);
  --accent-2: #00cec9;
  --accent-2-glow: rgba(0, 206, 201, 0.2);
  --gradient-accent: linear-gradient(135deg, #6c5ce7, #a29bfe);
  --gradient-mesh: radial-gradient(ellipse at 20% 50%, rgba(108, 92, 231, 0.08) 0%, transparent 50%),
                   radial-gradient(ellipse at 80% 20%, rgba(0, 206, 201, 0.05) 0%, transparent 50%),
                   radial-gradient(ellipse at 50% 80%, rgba(108, 92, 231, 0.04) 0%, transparent 50%);
  --font-display: 'Sora', sans-serif;
  --font-body: 'Noto Sans KR', sans-serif;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
}

.hide-mobile {
  display: inline;
}

/* ── Section Label ── */
.section-label {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.section-label__num {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-light);
  letter-spacing: 0.1em;
}

.section-label__text {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.text-accent {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Animations ── */
[data-animate] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: background 0.4s, backdrop-filter 0.4s, padding 0.4s;
}

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

.nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.nav__logo-st {
  color: var(--accent-light);
}

.nav__logo-labs {
  color: var(--text);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav__link {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-secondary);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.3s;
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent-light);
  transition: width 0.3s var(--ease-out-expo);
}

.nav__link:hover {
  color: var(--text);
}

.nav__link:hover::after {
  width: 100%;
}

.nav__link--cta {
  color: var(--bg);
  background: var(--gradient-accent);
  padding: 0.5rem 1.25rem;
  border-radius: 100px;
  font-weight: 600;
}

.nav__link--cta::after {
  display: none;
}

.nav__link--cta:hover {
  color: var(--bg);
  opacity: 0.9;
}

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 8rem 0 4rem;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

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

/* Bottom fade to black — seamless transition to next section */
.hero__bg::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(to bottom, transparent 0%, var(--bg) 100%);
  z-index: 3;
  pointer-events: none;
}

.hero__grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 65%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 65%);
  z-index: 2;
}

/* 3D Orb images from PDF — screen blend removes black bg naturally */
.hero__blob {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  mix-blend-mode: screen;
}

.hero__blob--main {
  width: clamp(280px, 35vw, 500px);
  height: auto;
  bottom: -5%;
  right: -5%;
  animation: blobFloat1 18s ease-in-out infinite;
}

.hero__blob--small {
  width: clamp(100px, 12vw, 180px);
  height: auto;
  top: 8%;
  left: 5%;
  animation: blobFloat2 15s ease-in-out infinite;
}

.hero__blob--sphere {
  width: clamp(60px, 7vw, 100px);
  height: auto;
  top: 15%;
  right: 12%;
  animation: blobFloat3 12s ease-in-out infinite;
}

.hero__blob--elongated {
  width: clamp(80px, 10vw, 140px);
  height: auto;
  bottom: 15%;
  left: 8%;
  animation: blobFloat4 16s ease-in-out infinite;
}

@keyframes blobFloat1 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(-20px, -30px) rotate(3deg); }
  50% { transform: translate(10px, -15px) rotate(-2deg); }
  75% { transform: translate(-10px, 20px) rotate(1deg); }
}

@keyframes blobFloat2 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(15px, 25px) rotate(-5deg); }
  66% { transform: translate(-10px, -15px) rotate(3deg); }
}

@keyframes blobFloat3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-15px, 20px) scale(1.08); }
}

@keyframes blobFloat4 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(20px, -20px) rotate(8deg); }
  66% { transform: translate(-15px, 10px) rotate(-4deg); }
}

.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem 0.4rem 0.75rem;
  border-radius: 100px;
  border: 1px solid var(--border-light);
  background: rgba(255, 255, 255, 0.03);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--accent-light);
  letter-spacing: 0.05em;
  margin-bottom: 2rem;
}

.hero__badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 var(--accent-glow); }
  50% { opacity: 0.7; box-shadow: 0 0 0 8px transparent; }
}

.hero__title {
  font-family: var(--font-body);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.hero__title-accent {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__desc {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 3rem;
}

/* Chat Window */
.hero__chat {
  perspective: 1000px;
}

.hero__chat-window {
  max-width: 480px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-light);
  background: var(--bg-elevated);
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.3),
    0 0 80px rgba(108, 92, 231, 0.08);
  text-align: left;
}

.hero__chat-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.hero__chat-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.hero__chat-dot--red { background: #ff5f57; }
.hero__chat-dot--yellow { background: #ffbd2e; }
.hero__chat-dot--green { background: #28ca41; }

.hero__chat-title {
  margin-left: 8px;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.hero__chat-body {
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 120px;
}

.hero__chat-msg {
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 0.9rem;
  line-height: 1.5;
  max-width: 85%;
  animation: chatSlide 0.5s var(--ease-out-expo) both;
}

.hero__chat-msg--user {
  background: var(--surface);
  color: var(--text);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.hero__chat-msg--ai {
  background: rgba(108, 92, 231, 0.1);
  border: 1px solid rgba(108, 92, 231, 0.15);
  color: var(--accent-light);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
  animation-delay: 0.3s;
}

@keyframes chatSlide {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero__chat-cursor {
  animation: blink 1s step-end infinite;
  color: var(--accent);
}

@keyframes blink {
  50% { opacity: 0; }
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.hero__scroll span {
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  50.01% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ============================================
   PHILOSOPHY
   ============================================ */
.philosophy {
  padding: 10rem 0;
  background: var(--gradient-mesh), var(--bg);
}

.philosophy__title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.philosophy__subtitle {
  font-size: clamp(0.95rem, 1.2vw, 1.1rem);
  color: var(--text-secondary);
  margin-bottom: 4rem;
  line-height: 1.8;
}

.philosophy__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.philosophy__card {
  position: relative;
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: background 0.4s, border-color 0.4s, transform 0.4s var(--ease-out-expo);
  overflow: hidden;
}

.philosophy__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-accent);
  opacity: 0;
  transition: opacity 0.4s;
}

.philosophy__card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-light);
  transform: translateY(-4px);
}

.philosophy__card:hover::before {
  opacity: 1;
}

.philosophy__card-num {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
}

.philosophy__card-icon {
  width: 48px;
  height: 48px;
  color: var(--accent-light);
  margin-bottom: 1.25rem;
}

.philosophy__card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.philosophy__card-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============================================
   BUSINESS
   ============================================ */
.business {
  padding: 10rem 0;
  position: relative;
}

.business__title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.business__subtitle {
  font-size: clamp(0.95rem, 1.2vw, 1.1rem);
  color: var(--text-secondary);
  margin-bottom: 4rem;
}

.business__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.business__card {
  position: relative;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  padding: 2.5rem 2rem;
  transition: all 0.5s var(--ease-out-expo);
  overflow: hidden;
}

.business__card:hover {
  border-color: rgba(108, 92, 231, 0.2);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 40px var(--accent-glow);
}

.business__card-visual {
  position: relative;
  margin-bottom: 2rem;
}

.business__card-glow {
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--accent-glow);
  filter: blur(40px);
  top: -20px;
  left: -20px;
  opacity: 0;
  transition: opacity 0.5s;
}

.business__card:hover .business__card-glow {
  opacity: 1;
}

.business__card-icon {
  width: 64px;
  height: 64px;
  color: var(--text-secondary);
  transition: color 0.4s;
}

.business__card:hover .business__card-icon {
  color: var(--accent-light);
}

.business__card-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.business__card-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.business__card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.business__card-tags span {
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  border: 1px solid var(--border-light);
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.03em;
  transition: border-color 0.3s, color 0.3s;
}

.business__card:hover .business__card-tags span {
  border-color: rgba(108, 92, 231, 0.3);
  color: var(--accent-light);
}

/* ============================================
   PROCESS
   ============================================ */
.process {
  padding: 10rem 0;
  background: var(--gradient-mesh), var(--bg);
}

.process__title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.process__subtitle {
  font-size: clamp(0.95rem, 1.2vw, 1.1rem);
  color: var(--text-secondary);
  margin-bottom: 4rem;
  line-height: 1.8;
}

.process__flow {
  max-width: 640px;
  margin: 0 auto;
}

.process__step {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: all 0.4s var(--ease-out-expo);
}

.process__step:hover {
  border-color: rgba(108, 92, 231, 0.2);
  background: var(--bg-card-hover);
  transform: translateX(8px);
}

.process__step-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  flex-shrink: 0;
}

.process__step-content h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.process__step-content p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.process__step-items {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.process__step-item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.process__step-label {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--accent-light);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.process__step-item span:last-child {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.process__connector {
  display: flex;
  justify-content: center;
  padding: 0.5rem 0;
}

.process__connector svg {
  width: 24px;
  height: 32px;
  color: var(--text-muted);
}

/* ============================================
   PORTFOLIO
   ============================================ */
.portfolio {
  padding: 10rem 0;
}

.portfolio__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 4rem;
}

.portfolio__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.portfolio__item {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: all 0.5s var(--ease-out-expo);
}

.portfolio__item:hover {
  border-color: rgba(108, 92, 231, 0.2);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.portfolio__item-img {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.portfolio__item-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  background: linear-gradient(to top, rgba(10, 10, 15, 0.8), transparent);
}

.portfolio__item-cat {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--accent-light);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  border: 1px solid rgba(108, 92, 231, 0.3);
  background: rgba(108, 92, 231, 0.1);
}

.portfolio__item-pattern {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.portfolio__item-pattern--1 {
  background:
    linear-gradient(135deg, rgba(108, 92, 231, 0.3) 0%, rgba(0, 206, 201, 0.15) 100%),
    repeating-linear-gradient(45deg, transparent, transparent 20px, rgba(255,255,255,0.02) 20px, rgba(255,255,255,0.02) 40px);
}

.portfolio__item-pattern--2 {
  background:
    linear-gradient(135deg, rgba(0, 206, 201, 0.25) 0%, rgba(108, 92, 231, 0.15) 100%),
    radial-gradient(circle at 30% 50%, rgba(255,255,255,0.05) 0%, transparent 50%);
}

.portfolio__item-pattern--3 {
  background:
    linear-gradient(135deg, rgba(162, 155, 254, 0.25) 0%, rgba(108, 92, 231, 0.15) 100%),
    repeating-conic-gradient(rgba(255,255,255,0.02) 0% 25%, transparent 0% 50%) 50% / 40px 40px;
}

.portfolio__item-body {
  padding: 1.75rem;
}

.portfolio__item-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.portfolio__item-sub {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--accent-light);
  margin-bottom: 0.75rem;
}

.portfolio__item-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.portfolio__item-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.portfolio__item-tags span {
  padding: 0.25rem 0.6rem;
  border-radius: 100px;
  border: 1px solid var(--border);
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.03em;
}

/* ============================================
   ECOMMERCE
   ============================================ */
.ecommerce {
  padding: 10rem 0;
  background: var(--gradient-mesh), var(--bg);
}

.ecommerce__title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.ecommerce__subtitle {
  font-size: clamp(0.95rem, 1.2vw, 1.1rem);
  color: var(--text-secondary);
  margin-bottom: 4rem;
  line-height: 1.8;
}

.ecommerce__diagram {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.ecommerce__layer {
  width: 100%;
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--bg-card);
}

.ecommerce__layer-label {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--accent-light);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
}

.ecommerce__nodes {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.ecommerce__node {
  padding: 0.6rem 1.25rem;
  border-radius: 10px;
  border: 1px solid var(--border-light);
  background: var(--surface);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all 0.3s;
}

.ecommerce__node:hover {
  border-color: var(--accent);
  color: var(--text);
  background: rgba(108, 92, 231, 0.08);
}

.ecommerce__node--highlight {
  border-color: var(--accent);
  color: var(--accent-light);
  background: rgba(108, 92, 231, 0.1);
}

.ecommerce__arrow {
  padding: 0.5rem 0;
}

.ecommerce__arrow svg {
  width: 24px;
  height: 32px;
  color: var(--text-muted);
}

/* ============================================
   CONTACT
   ============================================ */
.contact {
  padding: 10rem 0;
}

.contact__inner {
  text-align: center;
  padding: 5rem 3rem;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  position: relative;
  overflow: hidden;
}

.contact__inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 0%, rgba(108, 92, 231, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 100%, rgba(0, 206, 201, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.contact__title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  position: relative;
  line-height: 1.3;
}

.contact__desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  position: relative;
}

.contact__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2.5rem;
  border-radius: 100px;
  background: var(--gradient-accent);
  color: #fff;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all 0.4s var(--ease-out-expo);
  position: relative;
  box-shadow: 0 4px 20px var(--accent-glow);
}

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

.contact__btn svg {
  width: 20px;
  height: 20px;
  transition: transform 0.3s;
}

.contact__btn:hover svg {
  transform: translateX(4px);
}

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

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer__logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
}

.footer__copy {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .philosophy__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .business__cards {
    grid-template-columns: 1fr;
    max-width: 500px;
  }

  .portfolio__grid {
    grid-template-columns: 1fr;
    max-width: 500px;
  }
}

@media (max-width: 768px) {
  .hide-mobile {
    display: none;
  }

  .nav__links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 15, 0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    z-index: 999;
  }

  .nav__links.is-open {
    display: flex;
  }

  .nav__links .nav__link {
    font-size: 1.5rem;
    color: var(--text);
  }

  .nav__burger {
    display: flex;
    z-index: 1001;
  }

  .nav__burger.is-open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav__burger.is-open span:nth-child(2) {
    opacity: 0;
  }

  .nav__burger.is-open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

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

  .process__step {
    flex-direction: column;
    gap: 1rem;
  }

  .contact__inner {
    padding: 3rem 1.5rem;
  }

  .footer__inner {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .ecommerce__nodes {
    flex-direction: column;
  }

  .hero__scroll {
    display: none;
  }

  .cf__row {
    flex-direction: column;
  }

  .admin-card__top {
    flex-direction: column;
    gap: 0.25rem;
  }

  .admin-modal__meta {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   CONTACT FORM PAGE
   ============================================ */
.page-contact {
  padding: 8rem 0 6rem;
  min-height: 100vh;
}

.page-contact__title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.page-contact__desc {
  font-size: clamp(0.95rem, 1.2vw, 1.1rem);
  color: var(--text-secondary);
  margin-bottom: 3rem;
  line-height: 1.8;
}

/* Contact Form */
.cf {
  max-width: 680px;
}

.cf__row {
  display: flex;
  gap: 1.25rem;
}

.cf__row .cf__group {
  flex: 1;
}

.cf__group {
  margin-bottom: 1.25rem;
}

.cf__label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.cf__req {
  color: var(--accent-light);
}

.cf__input {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.6;
  transition: border-color 0.3s, box-shadow 0.3s;
  outline: none;
}

.cf__input::placeholder {
  color: var(--text-muted);
}

.cf__input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.cf__textarea {
  resize: vertical;
  min-height: 140px;
}

.cf__result {
  font-size: 0.9rem;
  padding: 0;
  margin: 0.5rem 0;
  min-height: 1.5em;
}

.cf__result--success {
  color: var(--accent-2);
}

.cf__result--error {
  color: #ff6b6b;
}

.cf__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 2.5rem;
  border-radius: 100px;
  border: none;
  background: var(--gradient-accent);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.4s var(--ease-out-expo);
  box-shadow: 0 4px 20px var(--accent-glow);
  margin-top: 0.5rem;
}

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

.cf__submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.cf__submit svg {
  width: 20px;
  height: 20px;
}

/* ============================================
   ADMIN PAGE
   ============================================ */
.page-admin {
  padding: 7rem 0 4rem;
  min-height: 100vh;
}

/* Login */
.admin-login {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 60vh;
}

.admin-login__card {
  width: 100%;
  max-width: 380px;
  padding: 3rem 2.5rem;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  text-align: center;
}

.admin-login__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.5rem;
  color: var(--accent-light);
}

.admin-login__icon svg {
  width: 100%;
  height: 100%;
}

.admin-login__title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

/* Dashboard */
.admin-dash__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.admin-dash__title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
}

.admin-dash__refresh {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.admin-dash__refresh:hover {
  border-color: var(--accent);
  color: var(--accent-light);
}

.admin-dash__refresh svg {
  width: 20px;
  height: 20px;
}

.admin-dash__count {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.admin-dash__list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.admin-dash__loading,
.admin-dash__empty {
  text-align: center;
  padding: 3rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Inquiry Card */
.admin-card {
  padding: 1.25rem 1.5rem;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  cursor: pointer;
  transition: all 0.3s var(--ease-out-expo);
}

.admin-card:hover {
  border-color: rgba(108, 92, 231, 0.25);
  background: var(--bg-card-hover);
  transform: translateX(4px);
}

.admin-card__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.4rem;
}

.admin-card__name {
  font-weight: 700;
  font-size: 1rem;
}

.admin-card__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.admin-card__date {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: var(--font-display);
}

.admin-card__del {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  border: 1px solid transparent;
  background: none;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  flex-shrink: 0;
}

.admin-card__del svg {
  width: 16px;
  height: 16px;
}

.admin-card__del:hover {
  border-color: #ff6b6b;
  color: #ff6b6b;
  background: rgba(255, 107, 107, 0.08);
}

.admin-modal__del {
  margin-top: 1.25rem;
  padding: 0.6rem 1.5rem;
  border-radius: 8px;
  border: 1px solid #ff6b6b;
  background: rgba(255, 107, 107, 0.08);
  color: #ff6b6b;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.admin-modal__del:hover {
  background: #ff6b6b;
  color: #fff;
}

.admin-card__meta {
  display: flex;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 0.6rem;
}

.admin-card__msg {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Detail Modal */
.admin-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.admin-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.admin-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
}

.admin-modal__content {
  position: relative;
  width: 90%;
  max-width: 560px;
  max-height: 80vh;
  overflow-y: auto;
  padding: 2.5rem;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  z-index: 1;
}

.admin-modal__content h2 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.admin-modal__close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  width: 36px;
  height: 36px;
  border: none;
  background: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}

.admin-modal__close:hover {
  background: var(--surface);
  color: var(--text);
}

.admin-modal__meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.admin-modal__meta strong {
  color: var(--text-muted);
  font-weight: 500;
  margin-right: 0.5rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.admin-modal__body {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text);
  padding: 1.25rem;
  border-radius: 12px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
}
