/* ============================================
   LOOPRISM Landing Page — Dark Theme
   ============================================ */

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Brand Gradient Colors (from logo) */
  --cyan: #38ddfb;
  --cyan-dark: #32bae9;
  --blue: #2356b8;
  --indigo: #180a93;
  --purple: #d95cff;
  --purple-dark: #8c38d4;
  --pink: #fc3dc1;
  --yellow: #fede65;

  /* Dark Theme Palette */
  --bg-primary: #0a0a0f;
  --bg-secondary: #0f0f18;
  --bg-tertiary: #141420;
  --bg-card: #16162a;
  --bg-card-hover: #1c1c35;
  --bg-elevated: #1a1a30;

  /* Borders */
  --border: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(255, 255, 255, 0.12);
  --border-accent: rgba(56, 221, 251, 0.2);

  /* Text */
  --text-primary: #f0f0f5;
  --text-secondary: #a0a0b8;
  --text-tertiary: #6b6b85;
  --text-muted: #4a4a60;

  /* Gradients */
  --gradient-brand: linear-gradient(135deg, #38ddfb 0%, #2356b8 40%, #d95cff 100%);
  --gradient-accent: linear-gradient(135deg, #38ddfb 0%, #d95cff 100%);
  --gradient-warm: linear-gradient(135deg, #fede65 0%, #fc3dc1 100%);
  --gradient-blue: linear-gradient(135deg, #38ddfb 0%, #180a93 100%);

  /* Glows */
  --glow-cyan: 0 0 40px rgba(56, 221, 251, 0.15);
  --glow-purple: 0 0 40px rgba(217, 92, 255, 0.15);
  --glow-brand: 0 8px 32px rgba(56, 221, 251, 0.12), 0 4px 16px rgba(217, 92, 255, 0.08);

  /* Misc */
  --error: #ff4466;
  --success: #38ddfb;
  --font-sans: 'Inter', 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --section-padding: 7rem 0;
  --container-max: 1200px;
  --container-padding: 0 1.5rem;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --header-height: 72px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-secondary);
  background: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  word-break: keep-all;
  overflow-wrap: break-word;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; border: none; outline: none; background: none; }

/* Skip Nav */
.skip-nav {
  position: absolute;
  top: -100%;
  left: 0;
  background: var(--cyan);
  color: var(--bg-primary);
  padding: 0.75rem 1.5rem;
  z-index: 10000;
  font-weight: 600;
}
.skip-nav:focus { top: 0; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-primary);
  line-height: 1.3;
  font-weight: 700;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  white-space: nowrap;
  position: relative;
}

.btn--gradient {
  background: var(--gradient-accent);
  color: var(--bg-primary);
}
.btn--gradient:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(56, 221, 251, 0.25), 0 4px 16px rgba(217, 92, 255, 0.15);
}

.btn--ghost {
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-primary);
  background: transparent;
}
.btn--ghost:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  transform: translateY(-2px);
  box-shadow: 0 0 24px rgba(56, 221, 251, 0.1);
}

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

/* ==========================================
   HEADER
   ========================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: rgba(10, 10, 15, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  z-index: 1000;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.header.scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 1px 24px rgba(0, 0, 0, 0.4);
}

.header__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--container-padding);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.header__logo { flex-shrink: 0; }
.header__logo-img { height: 22px; width: auto; }

.header__nav { display: flex; align-items: center; }
.nav__list { display: flex; gap: 2rem; }

.nav__link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-tertiary);
  transition: color 0.3s var(--ease);
  position: relative;
  padding: 0.25rem 0;
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-accent);
  transition: width 0.3s var(--ease);
  border-radius: 1px;
}
.nav__link:hover,
.nav__link.active { color: var(--text-primary); }
.nav__link.active::after { width: 100%; }

.header__cta {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1.25rem;
  background: var(--gradient-accent);
  color: var(--bg-primary);
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  transition: all 0.3s var(--ease);
  flex-shrink: 0;
}
.header__cta:hover {
  box-shadow: 0 4px 16px rgba(56, 221, 251, 0.3);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 28px;
  cursor: pointer;
  z-index: 1100;
}
.hamburger__line {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s var(--ease);
  transform-origin: center;
}
.hamburger.open .hamburger__line:nth-child(1) { transform: rotate(45deg) translateY(5px) translateX(5px); }
.hamburger.open .hamburger__line:nth-child(2) { opacity: 0; }
.hamburger.open .hamburger__line:nth-child(3) { transform: rotate(-45deg) translateY(-5px) translateX(5px); }

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-primary);
  z-index: 1050;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s var(--ease);
}
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu__list { display: flex; flex-direction: column; gap: 1.5rem; margin-bottom: 2rem; }
.mobile-menu__link {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  transition: color 0.3s var(--ease);
}
.mobile-menu__link:hover { color: var(--cyan); }
.mobile-menu__cta {
  display: inline-flex;
  align-items: center;
  padding: 0.875rem 2.5rem;
  background: var(--gradient-accent);
  color: var(--bg-primary);
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 700;
}

/* ==========================================
   HERO
   ========================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
  background: var(--bg-primary);
  overflow: hidden;
}

.hero__bg-glow {
  position: absolute;
  top: -200px;
  right: -200px;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(56, 221, 251, 0.08) 0%, rgba(217, 92, 255, 0.04) 40%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: glowPulse 8s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.1); }
}

.hero__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--container-padding);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  width: 100%;
  position: relative;
  z-index: 1;
}

.hero__label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.25rem;
  padding: 0.4rem 1rem;
  background: rgba(56, 221, 251, 0.08);
  border: 1px solid rgba(56, 221, 251, 0.15);
  border-radius: 20px;
}

.hero__title {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 800;
  line-height: 1.25;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.hero__description {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 520px;
}

.hero__cta-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Hero Card */
.hero-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  transition: border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.hero-card:hover {
  border-color: var(--border-accent);
  box-shadow: var(--glow-brand);
}
.hero-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-accent);
}

.hero-card__badge {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--cyan);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.hero-card__logo-img {
  height: 32px;
  width: auto;
  margin-bottom: 1rem;
}
.hero-card__desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.hero-card__tags { display: flex; gap: 0.5rem; flex-wrap: wrap; }

.tag {
  padding: 0.35rem 0.85rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-secondary);
}

/* Scroll Indicator */
.hero__scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 40px;
  border: 1.5px solid var(--text-muted);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
  z-index: 1;
}
.scroll-dot {
  width: 3px;
  height: 8px;
  background: var(--cyan);
  border-radius: 2px;
  animation: scrollDot 2s infinite;
}
@keyframes scrollDot {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(12px); opacity: 0.3; }
}

/* ==========================================
   SECTION COMMON
   ========================================== */
.section { padding: var(--section-padding); }
.section__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--container-padding);
}
.section__header { text-align: center; margin-bottom: 4rem; }
.section__label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 0.75rem;
}
.section__title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}
.mobile-br { display: none; }
.section__subtitle {
  font-size: 1.025rem;
  color: var(--text-tertiary);
  line-height: 1.85;
  max-width: 640px;
  margin: 0 auto;
}

/* ==========================================
   COMPANY
   ========================================== */
.company { background: var(--bg-primary); }

.company__intro { margin-bottom: 3.5rem; }
.company__intro-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 3.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.company__intro-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-brand);
}
.company__intro-brand {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}
.company__intro-main {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.5;
  margin-bottom: 1.25rem;
}
.company__intro-sub {
  font-size: 1rem;
  color: var(--text-tertiary);
  line-height: 1.85;
  max-width: 640px;
  margin: 0 auto;
}

.company__strengths {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.strength-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2rem;
  transition: all 0.4s var(--ease);
}
.strength-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-accent);
  box-shadow: var(--glow-cyan);
}
.strength-card__number {
  font-size: 0.75rem;
  font-weight: 800;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
}
.strength-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}
.strength-card__desc {
  font-size: 0.875rem;
  color: var(--text-tertiary);
  line-height: 1.7;
}

/* ==========================================
   KEY METRICS / HISTORY
   ========================================== */
.metrics { background: var(--bg-secondary); }

.metrics__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 2rem;
}
.metric-item {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: var(--bg-card);
  border-radius: 14px;
  border: 1px solid var(--border);
  transition: all 0.3s var(--ease);
}
.metric-item:hover {
  border-color: var(--border-accent);
  box-shadow: var(--glow-cyan);
}
.metric-item__value {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline;
}
.metric-item__unit {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 700;
  color: var(--cyan);
}
.metric-item__label {
  font-size: 0.85rem;
  color: var(--text-tertiary);
  margin-top: 0.5rem;
}

/* Timeline — vertical (default / mobile) */
.timeline {
  position: relative;
  padding-left: 2rem;
  max-width: 700px;
  margin: 0 auto;
}
.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 7px;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--cyan), var(--purple), transparent);
}
.timeline__item {
  position: relative;
  padding-left: 2rem;
  padding-bottom: 2.5rem;
}
.timeline__item:last-child { padding-bottom: 0; }

.timeline__dot {
  position: absolute;
  left: -2rem;
  top: 4px;
  width: 16px;
  height: 16px;
  background: var(--bg-primary);
  border: 2px solid var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(56, 221, 251, 0.3);
}
.timeline__date {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--cyan);
  letter-spacing: 0.05em;
}
.timeline__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0.25rem 0;
}
.timeline__chip {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--purple);
  border: 1px solid rgba(217, 92, 255, 0.3);
  background: rgba(217, 92, 255, 0.08);
  padding: 0.15rem 0.5rem;
  border-radius: 20px;
  margin-right: 0.4rem;
  vertical-align: middle;
  letter-spacing: 0.03em;
}
.timeline__desc {
  font-size: 0.875rem;
  color: var(--text-tertiary);
}

/* Timeline — horizontal (PC only, full-width edge-to-edge) */
@media (min-width: 1025px) {
  .timeline {
    /* Break out of container to full viewport width */
    width: 100vw;
    max-width: none;
    margin-left: calc(-50vw + 50%);
    padding: 2.5rem 6vw 0;

    display: flex;
    align-items: flex-start;
    position: relative;
  }

  /* Horizontal connecting line — centered at y = 2.5rem */
  .timeline::before {
    top: calc(2.5rem - 1px);
    left: 6vw;
    right: 6vw;
    bottom: auto;
    width: auto;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--cyan) 10%, var(--purple) 90%, transparent);
  }

  .timeline__item {
    flex: 1;
    padding: 2rem 0 0;
    padding-left: 0;
    padding-bottom: 0;
    text-align: center;
    position: relative;
    min-width: 0;
  }
  .timeline__item:last-child { padding-bottom: 0; }

  /* Dot center at y = 0 of item = y = 2.5rem of .timeline → same as line center */
  .timeline__dot {
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 16px;
    background: var(--bg-secondary);
    border: 2px solid var(--cyan);
    border-radius: 50%;
    box-shadow: 0 0 16px rgba(56, 221, 251, 0.35);
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  }

  .timeline__item:hover .timeline__dot {
    transform: translateX(-50%) scale(1.3);
    box-shadow: 0 0 24px rgba(56, 221, 251, 0.5);
  }

  .timeline__content {
    padding: 0 1rem;
  }

  .timeline__date {
    font-size: 0.8rem;
    display: block;
    margin-bottom: 0.35rem;
  }

  .timeline__title {
    font-size: 1rem;
    margin: 0.2rem 0;
  }

  .timeline__desc {
    font-size: 0.825rem;
    line-height: 1.6;
  }
}

/* ==========================================
   CI
   ========================================== */
.ci { background: var(--bg-primary); }

.ci__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.ci__logo-area { display: flex; flex-direction: column; gap: 1.5rem; }
.ci__logo-block {
  border-radius: 14px;
  padding: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ci__logo-block--dark {
  background: var(--bg-card);
  border: 1px solid var(--border);
}
.ci__logo-block--light {
  background: #f0f0f5;
  border: 1px solid #e0e0e8;
}
.ci__logo-img { max-height: 40px; width: auto; }

.ci__info-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
}
.ci__info-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.85;
  margin-bottom: 2rem;
}
.ci__colors { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.ci__color-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.ci__color-chip::before {
  content: '';
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--chip-color);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.ci__color-name { font-size: 0.75rem; font-weight: 600; color: var(--text-secondary); }
.ci__color-code { font-size: 0.7rem; font-weight: 500; color: var(--text-muted); font-family: 'SF Mono', 'Fira Code', monospace; }

/* ==========================================
   SERVICE
   ========================================== */
.service { background: var(--bg-secondary); }

.service__flow {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 4rem;
  flex-wrap: wrap;
}
.flow-step {
  text-align: center;
  flex: 1;
  min-width: 150px;
  max-width: 210px;
  padding: 1.5rem 1rem;
}
.flow-step__icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 1rem;
  color: var(--cyan);
}
.flow-step__icon svg { width: 100%; height: 100%; }
.flow-step__title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}
.flow-step__desc { font-size: 0.825rem; color: var(--text-tertiary); line-height: 1.6; }
.flow-step__arrow {
  width: 24px;
  height: 24px;
  color: var(--text-muted);
  margin-top: 2.5rem;
  flex-shrink: 0;
}
.flow-step__arrow svg { width: 100%; height: 100%; }

/* Categories */
.service__categories { margin-bottom: 4rem; }
.service__categories-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  text-align: center;
  margin-bottom: 2rem;
}
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.category-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2rem;
  text-align: center;
  transition: all 0.4s var(--ease);
}
.category-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-accent);
  box-shadow: var(--glow-cyan);
}
.category-card__icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 1rem;
  color: var(--cyan);
}
.category-card__icon svg { width: 100%; height: 100%; }
.category-card__title { font-size: 1rem; font-weight: 700; color: var(--text-primary); margin-bottom: 0.5rem; }
.category-card__desc { font-size: 0.825rem; color: var(--text-tertiary); line-height: 1.6; }

/* Value */
.service__value {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 3rem;
}
.value-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s var(--ease);
}
.value-card:hover { border-color: var(--border-accent); }
.value-card__label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.75rem;
  padding: 0.2rem 0.75rem;
  background: rgba(56, 221, 251, 0.08);
  border: 1px solid rgba(56, 221, 251, 0.15);
  border-radius: 12px;
}
.value-card__text { font-size: 1rem; font-weight: 600; color: var(--text-primary); }
.service__cta { text-align: center; }

/* ==========================================
   VISION
   ========================================== */
.vision {
  background: var(--bg-primary);
  position: relative;
  overflow: hidden;
}
.vision::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(217, 92, 255, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.vision__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}
.vision-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all 0.4s var(--ease);
}
.vision-card:hover {
  transform: translateY(-4px);
  border-color: rgba(217, 92, 255, 0.2);
  box-shadow: var(--glow-purple);
}
.vision-card__icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 1.5rem;
  color: var(--purple);
}
.vision-card__icon svg { width: 100%; height: 100%; }
.vision-card__title { font-size: 1.2rem; font-weight: 700; color: var(--text-primary); margin-bottom: 0.75rem; }
.vision-card__desc { font-size: 0.875rem; color: var(--text-tertiary); line-height: 1.75; }

/* ==========================================
   TEAM
   ========================================== */
.team { background: var(--bg-secondary); }

.team__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2rem;
  text-align: center;
  transition: all 0.4s var(--ease);
}
.team-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-accent);
  box-shadow: var(--glow-cyan);
}
.team-card__icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 1.25rem;
  color: var(--cyan);
}
.team-card__icon svg { width: 100%; height: 100%; }
.team-card__title { font-size: 1rem; font-weight: 700; color: var(--text-primary); margin-bottom: 0.5rem; }
.team-card__desc { font-size: 0.825rem; color: var(--text-tertiary); line-height: 1.65; }

/* ==========================================
   CONTACT
   ========================================== */
.contact { background: var(--bg-primary); }

.contact__wrapper { max-width: 680px; margin: 0 auto; }
.contact__form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.form-group { margin-bottom: 1.25rem; }
.form-group--checkbox { margin-bottom: 1.75rem; }
.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}
.required { color: var(--error); }

.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 0.9rem;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.form-input::placeholder { color: var(--text-muted); }
.form-input:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(56, 221, 251, 0.1);
}
.form-input.error { border-color: var(--error); }
.form-input.error:focus { box-shadow: 0 0 0 3px rgba(255, 68, 102, 0.1); }

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b6b85' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}
.form-select option { background: var(--bg-card); color: var(--text-primary); }

.form-textarea { resize: vertical; min-height: 120px; }

.form-error {
  display: block;
  font-size: 0.78rem;
  color: var(--error);
  margin-top: 0.25rem;
  min-height: 1.2rem;
}

/* Custom Checkbox */
.form-checkbox {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
}
.form-checkbox input { position: absolute; opacity: 0; width: 0; height: 0; }
.form-checkbox__mark {
  width: 20px;
  height: 20px;
  border: 1.5px solid var(--border-hover);
  border-radius: 4px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s var(--ease);
}
.form-checkbox input:checked + .form-checkbox__mark {
  background: var(--gradient-accent);
  border-color: transparent;
}
.form-checkbox input:checked + .form-checkbox__mark::after {
  content: '';
  width: 6px;
  height: 10px;
  border: 2px solid var(--bg-primary);
  border-top: 0;
  border-left: 0;
  transform: rotate(45deg) translateY(-1px);
}
.form-checkbox__text { font-size: 0.85rem; color: var(--text-secondary); }

/* Contact Success */
.contact__success { text-align: center; padding: 4rem 2rem; }
.contact__success-icon { width: 64px; height: 64px; margin: 0 auto 1.5rem; color: var(--cyan); }
.contact__success-icon svg { width: 100%; height: 100%; }
.contact__success-title { font-size: 1.5rem; font-weight: 700; color: var(--text-primary); margin-bottom: 0.75rem; }
.contact__success-desc { font-size: 1rem; color: var(--text-tertiary); line-height: 1.8; }

/* ==========================================
   FOOTER
   ========================================== */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 3rem 0 2rem;
}
.footer__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--container-padding);
}
.footer__brand { margin-bottom: 1.5rem; }
.footer__logo-img { height: 18px; width: auto; margin-bottom: 0.5rem; }
.footer__tagline { font-size: 0.8rem; color: var(--text-muted); }
.footer__info { margin-bottom: 1.5rem; font-size: 0.78rem; line-height: 1.9; color: var(--text-muted); }
.footer__bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ==========================================
   SCROLL ANIMATIONS
   ========================================== */
.reveal-up,
.reveal-left,
.reveal-right {
  opacity: 0;
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal-up { transform: translateY(40px); }
.reveal-left { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }
.reveal-up.visible,
.reveal-left.visible,
.reveal-right.visible { opacity: 1; transform: translate(0, 0); }

.strength-card.reveal-up,
.vision-card.reveal-up,
.team-card.reveal-up {
  transition-delay: calc(var(--delay, 0) * 0.1s);
}

/* ==========================================
   RESPONSIVE — TABLET (max 1024px)
   ========================================== */
@media (max-width: 1024px) {
  :root { --section-padding: 5rem 0; }

  .hero__inner { grid-template-columns: 1fr; gap: 3rem; text-align: center; }
  .hero__description { max-width: 100%; margin-left: auto; margin-right: auto; }
  .hero__cta-group { justify-content: center; }
  .hero-card { max-width: 480px; margin: 0 auto; }

  .company__strengths { grid-template-columns: repeat(2, 1fr); }
  .metrics__grid { grid-template-columns: repeat(2, 1fr); }
  .ci__content { grid-template-columns: 1fr; gap: 2rem; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .team__grid { grid-template-columns: repeat(2, 1fr); }
  .service__flow { gap: 0.25rem; }
}

/* ==========================================
   RESPONSIVE — MOBILE (max 768px)
   ========================================== */
@media (max-width: 768px) {
  :root { --section-padding: 4rem 0; --header-height: 60px; }

  .header__nav, .header__cta { display: none; }
  .hamburger { display: flex; }

  .hero { min-height: auto; padding-top: calc(var(--header-height) + 3rem); padding-bottom: 3rem; }
  .hero__title { font-size: clamp(1.75rem, 6vw, 2.25rem); }
  .hero__description { font-size: 0.95rem; }
  .hero__scroll-indicator { display: none; }
  .hero__cta-group { flex-direction: column; align-items: center; }
  .hero__cta-group .btn { width: 100%; max-width: 320px; }

  .company__intro-card { padding: 2rem 1.5rem; }
  .company__strengths { grid-template-columns: 1fr; }
  .metrics__grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .metric-item { padding: 1.5rem 1rem; }

  .service__flow { flex-direction: column; align-items: center; }
  .flow-step { max-width: 100%; }
  .flow-step__arrow { transform: rotate(90deg); margin: 0; }
  .category-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .service__value { grid-template-columns: 1fr; }
  .vision__grid { grid-template-columns: 1fr; gap: 1rem; }
  .team__grid { grid-template-columns: 1fr; gap: 1rem; }

  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact__form { padding: 1.5rem; }
  .mobile-br { display: inline; }
  .section__header { margin-bottom: 2.5rem; }
  .footer__inner { text-align: center; }
  .footer__logo-img { margin-left: auto; margin-right: auto; }
}

/* ==========================================
   RESPONSIVE — SMALL MOBILE (max 480px)
   ========================================== */
@media (max-width: 480px) {
  .hero__title { font-size: 1.5rem; }
  .hero-card { padding: 1.75rem; text-align: center; }
  .hero-card__logo { font-size: 1.5rem; }
  .hero-card__logo-img { display: block; margin-left: auto; margin-right: auto; }
  .category-grid { grid-template-columns: 1fr; }
  .ci__colors { justify-content: space-between; flex-wrap: nowrap; gap: 0; }
  .ci__color-chip::before { width: 40px; height: 40px; border-radius: 10px; }
  .ci__color-chip { gap: 0.3rem; }
  .ci__color-name { font-size: 0.6rem; }
  .ci__color-code { font-size: 0.55rem; }
  .metric-item__value { font-size: 1.75rem; }
}

/* ==========================================
   REDUCED MOTION
   ========================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal-up, .reveal-left, .reveal-right { opacity: 1; transform: none; transition: none; }
  .scroll-dot, .hero__bg-glow { animation: none; }
  .strength-card, .category-card, .vision-card, .team-card, .value-card, .hero-card { transition: none; }
}
