/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg-dark: #0a0c14;
  --bg-dark2: #0d101a;
  --bg-dark3: #121624;
  --text-light: #f0ede8;
  --text-muted: rgba(240,237,232,0.45);
  --text-muted2: rgba(240,237,232,0.25);
  --accent: #3b82f6;
  --accent-hover: #2167de;
  --accent-light: rgba(59, 130, 246, 0.12);
  --gold: #b8966e;
  --grad-blue: #2563eb;
  --grad-purple: #7c3aed;
  --container: 1080px;
  --radius: 16px;
  --radius-lg: 24px;
}

html { scroll-behavior: smooth; }

::selection { background: rgba(59, 130, 246, 0.3); color: #fff; }

body {
  font-family: 'Noto Sans KR', sans-serif;
  background: var(--bg-dark);
  color: var(--text-light);
  overflow-x: hidden;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
}

.dark-section { background: var(--bg-dark); }
.light-section { background: #ffffff; color: #111111; }

/* Grain texture overlay on dark sections */
.dark-section::before,
#hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
}
.dark-section { position: relative; }
.dark-section > * { position: relative; z-index: 1; }

/* =============================================
   BUTTONS
   ============================================= */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 36px;
  background: var(--accent);
  color: #fff;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  transition: background 0.25s, transform 0.2s, box-shadow 0.25s;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 60%);
  pointer-events: none;
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(192,57,43,0.35);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 36px;
  border: 1.5px solid #222;
  color: #111;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  transition: background 0.25s, color 0.25s, transform 0.2s, border-color 0.25s;
  cursor: pointer;
}
.btn-outline:hover {
  background: #111;
  color: #fff;
  transform: translateY(-2px);
}

.btn-full { width: 100%; justify-content: center; }

/* =============================================
   REVEAL ANIMATIONS
   ============================================= */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* =============================================
   NAV
   ============================================= */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  padding: 28px 0;
  transition: background 0.4s, padding 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
}
#nav.scrolled {
  background: rgba(8,8,8,0.88);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  padding: 16px 0;
  border-bottom-color: rgba(255,255,255,0.06);
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
}
.nav-logo img {
  height: 32px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

/* =============================================
   FLOATING CTA
   ============================================= */
.floating-cta {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 800;
  display: flex;
  flex-direction: column;
  gap: 10px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s, transform 0.4s;
  pointer-events: none;
}
.floating-cta.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}
.floating-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  white-space: nowrap;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}
.floating-btn:hover { transform: translateY(-2px); }

.floating-btn-call {
  background: rgba(20,20,20,0.95);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(10px);
  order: 2;
}
.floating-btn-call:hover { box-shadow: 0 12px 28px rgba(0,0,0,0.5); }

.floating-btn-apply {
  background: var(--accent);
  color: #fff;
  order: 1;
}
.floating-btn-apply:hover { box-shadow: 0 12px 28px rgba(59, 130, 246, 0.45); }

/* =============================================
   SECTION 1: HERO
   ============================================= */
#hero {
  position: relative;
  height: 100vh;
  min-height: 720px;
  display: flex;
  align-items: center; /* Raised from flex-end */
  overflow: hidden;
}

.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-video-wrap iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  /* Object-fit doesn't work on iframes directly, but 100%/100% with background=1 in vimeo url handles aspect ratio if parent is full screen */
  border: none;
}
@media (min-aspect-ratio: 16/9) {
  .hero-video-wrap iframe { height: 300%; top: -100%; }
}
@media (max-aspect-ratio: 16/9) {
  .hero-video-wrap iframe { width: 300%; left: -100%; }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(10, 12, 20, 0.15) 0%,
    rgba(10, 12, 20, 0.45) 40%,
    rgba(10, 12, 20, 0.72) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
}
.hero-title {
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 32px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s 0.6s forwards;
}
.hero-accent {
  display: block;
  background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,0.7) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 1.05rem;
  font-weight: 300;
  color: rgba(240,237,232,0.6);
  margin-bottom: 48px;
  letter-spacing: 0.01em;
  line-height: 1.9;
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp 0.9s 0.8s forwards;
}
.hero-content .btn-primary {
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp 0.9s 1s forwards;
}

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* =============================================
   SECTION 2: WHY DIFFERENT (비교)
   ============================================= */
#why-different { padding: 120px 0; text-align: center; }

.why-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.why-headline {
  font-size: clamp(1.8rem, 3.2vw, 3rem);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.why-sub {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 300;
  margin-bottom: 60px;
}

/* Row-based comparison table */
.why-compare {
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(160deg, #0b1125 0%, #070d1c 100%);
  text-align: left;
}

.why-compare-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 22px 36px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  background: rgba(255,255,255,0.02);
}

.why-col-title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.why-col-title--accent { color: var(--accent); }

.why-row {
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.why-row:last-child { border-bottom: none; }

.why-row-label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 36px 10px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
}

.why-num {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(59,130,246,0.6);
}

.why-row-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 0 0 20px;
}

.why-cell {
  padding: 8px 36px 8px;
  font-size: 0.92rem;
  line-height: 1.65;
  font-weight: 300;
}

.why-cell--left {
  color: var(--text-muted);
  border-right: 1px solid rgba(255,255,255,0.05);
}

.why-cell--right {
  color: rgba(240,237,232,0.85);
  font-weight: 400;
  background: rgba(59,130,246,0.03);
}

.why-closing {
  margin-top: 48px;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-muted);
  font-weight: 300;
}

.why-closing strong {
  color: #ffffff;
  font-weight: 900;
  display: inline;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
}

/* =============================================
   SECTION 3: PROOF
   ============================================= */
#proof { padding: 140px 0; }

.proof-question { margin-bottom: 80px; }
.proof-q-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  font-weight: 400;
  font-style: italic;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.3;
}
.proof-answer {
  font-size: 1.45rem;
  color: var(--text-muted);
  line-height: 1.8;
  padding-left: 24px;
  border-left: 2px solid rgba(255,255,255,0.1);
}

.proof-footer {
  text-align: center;
  margin-top: 80px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.proof-footer p {
  font-size: 1.35rem;
  line-height: 1.9;
  color: #ffffff;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.proof-response { margin-bottom: 80px; }
.proof-res-title {
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.proof-res-title strong { color: var(--accent); }
.proof-res-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  font-weight: 300;
}

.proof-results {
  display: flex;
  gap: 28px;
  max-width: var(--container);
  margin: 100px auto 0;
}

.proof-card {
  flex: 1;
  background: linear-gradient(160deg, #0b1125 0%, #070d1c 100%);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 28px;
  padding: 52px 48px;
  position: relative;
  overflow: hidden;
  transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.5s;
}

.proof-card::before {
  content: '';
  position: absolute;
  top: 0; left: 15%; right: 15%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.55), transparent);
}

.proof-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at 30% 0%, rgba(59, 130, 246, 0.08) 0%, transparent 55%);
  pointer-events: none;
}

.proof-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 32px 64px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(59, 130, 246, 0.18);
}

.proof-card-label {
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(59, 130, 246, 0.85);
  margin-bottom: 16px;
  font-weight: 600;
  display: block;
}

.proof-brand {
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 40px;
  letter-spacing: -0.03em;
  color: #fff;
  white-space: nowrap;
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.proof-brand small {
  font-size: 1.1rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: -0.01em;
}

.proof-stats {
  display: flex;
  align-items: center;
  gap: 36px;
  position: relative;
  z-index: 2;
}

.proof-stat { flex: 1; }

.stat-numunit {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  line-height: 1;
}

.stat-num {
  font-size: clamp(2.4rem, 4.5vw, 4rem);
  font-weight: 900;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.04em;
  line-height: 1;
  text-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
}

.stat-unit {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--accent);
  padding-bottom: 4px;
}

.stat-label {
  font-size: 0.85rem;
  color: rgba(240, 237, 232, 0.38);
  margin-top: 12px;
  font-weight: 400;
  letter-spacing: 0.04em;
}

.stat-divider {
  width: 1px;
  height: 72px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.08), transparent);
  flex-shrink: 0;
}

/* =============================================
   SECTION HEADER COMMON
   ============================================= */
.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  margin-bottom: 14px;
  letter-spacing: -0.025em;
  line-height: 1.15;
}
.section-title.dark { color: #0d0d0d; }
.section-sub {
  font-size: 1.2rem;
  color: var(--text-muted);
  font-weight: 300;
  letter-spacing: 0.01em;
}
.section-sub.dark { color: #888; }

/* =============================================
   SECTION 3: POSITIONING
   ============================================= */
#positioning { padding: 120px 0; text-align: center; }

/* 수직선 이미지 */
.pos-vline-wrap {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.pos-vline-img {
  height: 600px;
  width: auto;
  display: block;
  transform: scaleX(2);
  transform-origin: center;
  filter: hue-rotate(-40deg) saturate(1.4) brightness(0.85);
}

/* 수평선 전체 너비 (최대 1280px) */
.pos-axis-wrap {
  width: 100%;
  max-width: 1280px;
  margin: 40px auto 0;
  padding: 0 60px;
  box-sizing: border-box;
}

.pos-hline-labels {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: flex-end;
  padding-bottom: 14px;
}

.pos-label-left {
  text-align: left;
  font-size: 1.6rem;
  color: rgba(255, 255, 255, 0.45);
  font-weight: 400;
  line-height: 1.4;
}

.pos-label-mid {
  text-align: center;
  font-size: 1.6rem;
  color: rgba(255, 255, 255, 0.45);
  font-weight: 400;
}

.pos-label-right {
  text-align: right;
  font-size: 2.2rem;
  color: #ffffff;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.pos-hline-img {
  width: 100%;
  height: auto;
  display: block;
  filter: hue-rotate(-40deg) saturate(1.4) brightness(0.85);
}

/* =============================================
   SECTION 4: REVIEWS
   ============================================= */
#reviews { padding: 120px 0; overflow: hidden; }
#reviews .container { margin-bottom: 64px; }

.carousel-outer { overflow: hidden; width: 100%; }
.carousel-track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: scrollLeft 35s linear infinite;
}
.carousel-track:hover { animation-play-state: paused; }

.review-card {
  width: 340px;
  height: 230px;
  border-radius: var(--radius);
  flex-shrink: 0;
  overflow: hidden;
}
.review-card img { width: 100%; height: 100%; object-fit: cover; }
.review-card.placeholder {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  display: flex;
  align-items: center;
  justify-content: center;
}
.review-card.placeholder span {
  font-size: 0.78rem;
  color: var(--text-muted2);
  letter-spacing: 0.1em;
}

@keyframes scrollLeft {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* =============================================
   SECTION 5: SERVICES
   ============================================= */
#services { padding: 80px 0; }

.services-grid {
  margin-top: 60px;
  margin-left: -60px;
  margin-right: -60px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 28px;
  align-items: start;
}

/* Symmetric offsets — col 3(중앙) 기준으로 좌우 대칭 */
.services-grid > *:nth-child(5n+1) { transform: translateY(60px); }
.services-grid > *:nth-child(5n+2) { transform: translateY(20px); }
.services-grid > *:nth-child(5n+3) { transform: translateY(0px); }
.services-grid > *:nth-child(5n+4) { transform: translateY(20px); }
.services-grid > *:nth-child(5n+5) { transform: translateY(60px); }

.service-card {
  background: #0a0e1a;
  border: 1px solid rgba(59, 130, 246, 0.12);
  border-radius: 40px;
  padding: 40px 24px;
  width: 100%;
  min-width: 0;
  text-align: center;
  transition: all 0.5s cubic-bezier(0.2, 1, 0.3, 1);
  cursor: default;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(255,255,255,0.05) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.5s;
}
.service-card:hover::before {
  opacity: 1;
}
.service-card:hover {
  border-color: rgba(192,57,43,0.35);
  background: rgba(192,57,43,0.1);
}
.service-card img {
  width: 80%;
  height: auto;
  max-width: 120px;
  object-fit: contain;
  margin: 0 auto 28px;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.3));
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.service-card:hover img {
  transform: translateY(-20px) scale(1.1);
}
.service-card h3 {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
  color: #fff;
  word-break: keep-all;
  line-height: 1.4;
}
.service-card p {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.5;
  font-weight: 400;
  word-break: keep-all;
}

.services-footer {
  text-align: center;
  margin-top: 100px;
  padding: 64px 0 20px;
}
.services-footer p {
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 2;
  letter-spacing: -0.01em;
}
.services-footer-sub {
  font-size: 1.15rem !important;
  color: var(--text-muted) !important;
  font-weight: 300 !important;
  margin-top: 16px;
  letter-spacing: 0.02em;
}

/* =============================================
   SECTION 6: JOURNEY
   ============================================= */
#journey {
  background: #000;
  display: flex;
  flex-direction: column;
  padding: 10px 0 0;
  gap: 10px;
}
.journey-row {
  padding: 24px 0;
  position: relative;
  display: flex;
  align-items: center;
  overflow: visible;
}

.journey-row::before,
.journey-row::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: #ffffff;
  z-index: 5;
  transition: opacity 0.3s;
}

.journey-row::before { top: 0; }
.journey-row::after { bottom: 0; }

/* 단계별 선명도 (어둡게 -> 밝게) */
.journey-row:nth-child(1)::before, .journey-row:nth-child(1)::after { opacity: 0.1; }
.journey-row:nth-child(2)::before, .journey-row:nth-child(2)::after { opacity: 0.25; }
.journey-row:nth-child(3)::before, .journey-row:nth-child(3)::after { opacity: 0.45; }
.journey-row:nth-child(4)::before, .journey-row:nth-child(4)::after { opacity: 0.7; }
.journey-row:nth-child(5)::before, .journey-row:nth-child(5)::after { opacity: 1.0; }
.journey-row:last-child {
  padding: 36px 0;
}

.journey-inner {
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  padding: 0 60px;
  display: grid;
  grid-template-columns: 200px auto 200px;
  align-items: center;
}

.fp-slot-left {
  grid-column: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: 100%;
}

.fp-slot-right {
  grid-column: 3;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
}

.footprint {
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.85;
  display: block;
  position: static;
}
.fp-v-lg  { height: 70px; }
.fp-v-xl  { height: 85px; }
.fp-v-2xl { height: 100px; }
.fp-v-3xl { height: 120px; }

/* 확장한다(마지막 행) 발자국 — 2칸 높이의 80% */
.journey-row:last-child .footprint {
  height: 220px;
  opacity: 0.9;
}

.journey-text {
  grid-column: 2;
  color: #fff;
  font-weight: 300;
  display: block;
  letter-spacing: -0.01em;
  white-space: nowrap;
  text-align: center;
}

/* 광고한다·성장한다·확장한다: 레퍼런스 이미지와 동일하게 Heavy weight */
.journey-bold {
  font-weight: 900;
}

/* 기획한다(2번째) - 배경색 fill + 흰색 stroke (아웃라인 효과) */
.journey-row:nth-child(2) .journey-text {
  color: #0a1128 !important;
  -webkit-text-stroke: 3px #ffffff;
  paint-order: stroke fill;
  font-weight: 400;
  text-shadow: none;
}
/* 성장한다(4번째) - 배경색 fill + 흰색 stroke (아웃라인 효과) */
.journey-row:nth-child(4) .journey-text {
  color: #142a60 !important;
  -webkit-text-stroke: 4px #ffffff;
  paint-order: stroke fill;
  font-weight: 900;
  text-shadow: none;
}

/* =============================================
   SECTION 7: CTA (White)
   ============================================= */
#cta { padding: 140px 0 100px; background: #fff; }

.cta-top {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 32px;
  margin-bottom: 64px;
}
.cta-left { flex: 0 0 auto; }
.cta-era {
  font-size: 2rem;
  color: #888;
  margin-bottom: 20px;
  letter-spacing: 0.04em;
  font-weight: 600;
}
.cta-headline {
  font-size: clamp(2rem, 3vw, 2.9rem);
  font-weight: 900;
  color: #0d0d0d;
  line-height: 1.2;
  letter-spacing: -0.025em;
  white-space: nowrap;
}

/* Bracket rolling */
.cta-bracket-wrap {
  flex: 0 0 auto;
  display: flex;
  margin-top: 48px;
}
.cta-bracket {
  display: flex;
  align-items: stretch;
  gap: 14px;
  min-width: 400px;
}
.bracket-left {
  display: block;
  width: 22px;
  flex-shrink: 0;
  align-self: stretch;
  border-top: 6px solid var(--accent);
  border-left: 6px solid var(--accent);
  border-bottom: 6px solid var(--accent);
}
.bracket-right {
  display: block;
  width: 22px;
  flex-shrink: 0;
  align-self: stretch;
  border-top: 6px solid var(--accent);
  border-right: 6px solid var(--accent);
  border-bottom: 6px solid var(--accent);
}

.cta-rolling-wrap {
  overflow: hidden;
  flex: 1;
  display: flex;
  align-items: center;
  min-height: 150px;
}
.cta-rolling {
  position: relative;
  width: 100%;
  height: 150px;
}
.rolling-item {
  display: block;
  white-space: nowrap;
  font-size: clamp(1.8rem, 2.8vw, 2.6rem);
  font-weight: 900;
  color: #0d0d0d;
  line-height: 1.35;
  position: absolute;
  top: 50%;
  transform: translateY(-50%) translateY(40px);
  opacity: 0;
  transition: opacity 0.65s cubic-bezier(0.23, 1, 0.32, 1),
              transform 0.65s cubic-bezier(0.23, 1, 0.32, 1);
  width: 100%;
  text-align: center;
  letter-spacing: -0.02em;
}
.rolling-item.active {
  opacity: 1;
  transform: translateY(-50%);
}
.rolling-item.exit {
  opacity: 0;
  transform: translateY(-50%) translateY(-40px);
}

.cta-ingihwek-def {
  color: var(--accent);
  font-size: 1.25rem;
  text-decoration: underline;
  text-underline-offset: 5px;
  margin-bottom: 70px;
  letter-spacing: 0.01em;
  display: inline-block;
}

.cta-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 80px;
}
.cta-stat-card {
  background: #f8f8f8;
  border-radius: var(--radius);
  padding: 40px 32px;
  border: 1px solid #eee;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.cta-stat-card:hover {
  border-color: rgba(59, 130, 246, 0.3);
  box-shadow: 0 8px 32px rgba(59, 130, 246, 0.1);
}
.cstat-label {
  font-size: 1.2rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}
.cstat-desc {
  font-size: 1.15rem;
  color: #aaa;
  line-height: 1.6;
  margin-bottom: 20px;
  font-weight: 300;
}
.cstat-num {
  font-size: clamp(2.8rem, 4vw, 3.6rem);
  font-weight: 900;
  color: var(--accent);
  letter-spacing: -0.03em;
  line-height: 1;
}
.cstat-plus {
  font-size: 2rem;
  font-weight: 900;
  color: var(--accent);
}

.cta-promise {
  text-align: center;
  padding: 48px 0 0;
}
.cta-promise p {
  font-size: 1.4rem;
  line-height: 2.2;
  color: #555;
  font-weight: 300;
}
.promise-word {
  font-size: 1.4rem !important;
  color: #111 !important;
  margin-top: 12px;
  text-decoration: underline;
  text-underline-offset: 4px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 400 !important;
}

/* =============================================
   SECTION 8: BLOG
   ============================================= */
#blog { padding: 120px 0; background: #f7f6f4; }

.blog-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 56px;
  gap: 24px;
}

.blog-title {
  font-size: clamp(1.6rem, 2.8vw, 2.6rem);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -0.03em;
  color: #111;
}

.blog-subtitle {
  font-size: 0.9rem;
  color: #999;
  margin-top: 10px;
  font-weight: 300;
}

.blog-list {
  display: flex;
  flex-direction: column;
}

.blog-item {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  align-items: center;
  gap: 0;
  text-decoration: none;
  padding: 32px 0;
  border-bottom: 1px solid #e8e6e2;
  transition: background 0.25s;
  border-radius: 8px;
  margin: 0 -20px;
  padding-left: 20px;
  padding-right: 20px;
}
.blog-list .blog-item:first-child { border-top: 1px solid #e8e6e2; }

.blog-item:hover { background: #fff; }

.blog-item-num {
  font-size: 1.8rem;
  font-weight: 900;
  color: #e0ddd8;
  letter-spacing: -0.03em;
  line-height: 1;
  flex-shrink: 0;
}

.blog-item-content {
  padding: 0 28px 0 0;
}

.blog-tag {
  display: inline-block;
  padding: 3px 10px;
  background: transparent;
  color: var(--accent);
  border: 1px solid rgba(59,130,246,0.3);
  border-radius: 4px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.blog-item-content h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #111;
  line-height: 1.55;
  margin: 0 0 6px;
}

.blog-item-content p {
  font-size: 0.85rem;
  color: #888;
  line-height: 1.6;
  font-weight: 300;
  margin: 0;
}

.blog-item-arrow {
  font-size: 1.2rem;
  color: #ccc;
  flex-shrink: 0;
  transition: color 0.25s, transform 0.25s;
}

.blog-item:hover .blog-item-arrow {
  color: var(--accent);
  transform: translateX(4px);
}

/* =============================================
   SECTION 9: INDUSTRIES
   ============================================= */
#industries { padding: 120px 0; }

.ind-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.ind-eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 24px;
}

.ind-heading {
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 24px;
}
.ind-heading em {
  font-style: normal;
  color: var(--accent);
}

.ind-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.9;
  margin-bottom: 40px;
  word-break: keep-all;
}

.ind-btns { display: flex; gap: 14px; flex-wrap: wrap; }

.ind-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.ind-tag {
  display: inline-block;
  padding: 12px 22px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 100px;
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255,255,255,0.65);
  letter-spacing: -0.01em;
  transition: border-color 0.3s, color 0.3s, background 0.3s;
  cursor: default;
}
.ind-tag--lg { font-size: 1.25rem; padding: 14px 30px; }
.ind-tag--sm { font-size: 0.85rem; padding: 10px 18px; }
.ind-tag:hover {
  border-color: var(--accent);
  color: #fff;
  background: rgba(59,130,246,0.12);
}

/* =============================================
   CONTACT FORM
   ============================================= */

/* =============================================
   FOOTER
   ============================================= */
.site-footer { padding: 44px 0; border-top: 1px solid #eee; background: #fff; }
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.footer-logo img {
  height: 28px;
  width: auto;
  object-fit: contain;
}
.footer-info { text-align: right; }
.footer-info p { font-size: 0.82rem; color: #888; line-height: 1.8; font-weight: 300; }
.footer-info a { color: #555; }
.footer-info a:hover { color: var(--accent); }
.footer-copy { font-size: 0.75rem; color: #ccc; text-align: center; letter-spacing: 0.05em; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .services-grid > * { transform: none !important; }
  .proof-brand { white-space: normal; }
}

@media (max-width: 900px) {
  .container { padding: 0 20px; }

  /* Hero */
  #hero { height: auto; padding: 140px 0 100px; }
  .hero-title { font-size: 2.6rem; margin-bottom: 20px; line-height: 1.2; }
  .hero-sub { font-size: 0.95rem; margin-bottom: 36px; }

  /* Why Different */
  #why-different { padding: 80px 0; }
  .why-compare-header { padding: 16px 20px; }
  .why-row-label { padding: 16px 20px 8px; }
  .why-cell { padding: 6px 20px 12px; font-size: 0.85rem; }

  /* Proof */
  .proof-results { flex-direction: column; gap: 20px; }
  .proof-card { padding: 40px 32px; }
  .proof-brand { font-size: 2rem; margin-bottom: 36px; }

  /* Positioning */
  #positioning { padding: 80px 0; }
  .pos-vline { height: 140px; }
  .pos-axis-wrap { padding: 0 24px; }
  .pos-label-left, .pos-label-mid, .pos-label-right { font-size: 0.78rem; }

  /* Services */
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-top: 40px;
    padding: 0;
  }
  .services-grid > * { transform: none !important; }
  .service-card { padding: 36px 14px; min-width: auto; border-radius: 24px; }
  .service-card img { width: 55%; max-width: 90px; margin-bottom: 16px; }
  .service-card h3 { font-size: 0.95rem; white-space: normal; }
  .service-card p { font-size: 0.78rem; }

  /* Journey */
  .journey-inner { grid-template-columns: 100px auto 100px; padding: 0 20px; }
  .fp-v-lg  { height: 65px; }
  .fp-v-xl  { height: 80px; }
  .fp-v-2xl { height: 90px; }
  .fp-v-3xl { height: 110px; }

  /* CTA */
  .cta-top { flex-direction: column; text-align: center; gap: 36px; }
  .cta-headline { font-size: 1.9rem; white-space: normal; }
  .cta-bracket-wrap { justify-content: center; }
  .cta-stats { grid-template-columns: 1fr; gap: 14px; }
  .cta-stat-card { padding: 28px 22px; }
  .cstat-num { font-size: 2.8rem; }

  /* Industries */
  .ind-split { grid-template-columns: 1fr; gap: 48px; }
  .ind-btns { justify-content: center; }
  .ind-left { text-align: center; }

  /* Blog */
  .blog-item { grid-template-columns: 52px 1fr auto; padding: 24px 16px; margin: 0 -16px; }
  .blog-item-num { font-size: 1.3rem; }

  /* Footer */
  .footer-inner { flex-direction: column; gap: 16px; text-align: center; }
  .footer-info { text-align: center; }
  .floating-cta { bottom: 20px; right: 14px; }
}

@media (max-width: 600px) {
  /* Hero */
  .hero-title { font-size: 2rem; }

  /* Positioning */
  .pos-vline { height: 100px; }
  .pos-axis-wrap { padding: 0 16px; }
  .pos-label-left, .pos-label-mid, .pos-label-right { font-size: 0.65rem; }
  .pos-label-right { font-size: 0.72rem; }

  /* Services */
  .services-grid { gap: 10px; }
  .service-card h3 { font-size: 0.85rem; }

  /* Journey */
  .journey-inner { grid-template-columns: 70px auto 70px; padding: 0 10px; }
  .journey-text { font-size: 1.5rem !important; }
  .journey-row:nth-child(2) .journey-text,
  .journey-row:nth-child(4) .journey-text { -webkit-text-stroke-width: 1.5px; }
  .fp-v-lg, .fp-v-xl, .fp-v-2xl, .fp-v-3xl { height: 55px !important; }
  .journey-row { padding: 28px 0; }

  /* Industries */
  .ind-tags { justify-content: center; }
  .ind-tag--lg { font-size: 1rem; padding: 12px 22px; }

  /* CTA */
  .cta-bracket { min-width: auto; width: 100%; }
  .proof-card { padding: 32px 24px; border-radius: 20px; }
  .stat-num { font-size: 3rem; }
}
