/* ===========================
   Variables & Reset
   DESIGN.md inspired — Inter-style typography, disciplined spacing, layered shadows
   =========================== */
:root {
  /* Brand */
  --blue-primary: #2563EB;
  --blue-dark: #1D4ED8;
  --blue-deep: #1E3A8A;
  --blue-light: #EFF6FF;
  --blue-accent: #60A5FA;

  /* Ink scale (Webflow-inspired) */
  --ink: #111827;
  --ink-strong: #0F172A;
  --text-body: #374151;
  --text-gray: #6B7280;
  --text-mute: #9CA3AF;
  --hairline: #E5E7EB;

  /* Surfaces */
  --white: #FFFFFF;
  --canvas-soft: #F9FAFB;
  --dark-bg: #0F172A;

  /* Shadows — layered Webflow-style */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.05), 0 10px 15px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.08), 0 4px 10px rgba(0,0,0,0.04);
  --shadow-blue: 0 4px 14px rgba(37,99,235,0.22), 0 1px 4px rgba(37,99,235,0.12);

  /* Radius */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;

  /* Transition */
  --transition: all 0.25s cubic-bezier(0.4,0,0.2,1);
}

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans KR', Inter, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-body);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

section { padding: 96px 0; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* Typography system */
.section-header { text-align: center; margin-bottom: 52px; }
.section-eyebrow {
  display: inline-block;
  font-size: 12px; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--blue-primary); margin-bottom: 12px;
}
.section-title {
  font-size: clamp(34px, 3.8vw, 50px);
  font-weight: 800; line-height: 1.3;
  letter-spacing: -0.5px; margin-bottom: 14px;
  color: var(--ink-strong);
  word-break: keep-all;
}
.section-subtitle {
  font-size: clamp(14px, 1.5vw, 17px);
  color: var(--text-gray);
  line-height: 1.8; max-width: 720px; margin: 0 auto;
  font-weight: 400;
  word-break: keep-all;
}
.highlight { color: var(--blue-primary); }

/* ===========================
   Navigation
   =========================== */
.navbar {
  position: fixed; top:0; left:0; right:0; z-index:1000;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid var(--hairline);
  transition: box-shadow 0.2s ease;
}
.navbar.scrolled { box-shadow: var(--shadow-sm); }

.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px; max-width: 1200px; margin: 0 auto; padding: 0 24px;
}

.nav-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none;
}
.nav-logo-img {
  height: 34px; width: auto; border-radius: 8px;
  object-fit: contain; display: block;
}
.nav-logo-font-img {
  height: 26px; width: auto; display: block; object-fit: contain;
}
.nav-logo-text {
  font-size: 18px; font-weight: 800;
  color: var(--blue-primary); letter-spacing: -0.3px;
}
.nav-logo-sub { color: var(--ink); }

.nav-menu { display:flex; align-items:center; gap:2px; list-style:none; }
.nav-menu a {
  display: inline-block; padding: 7px 12px;
  font-size: 14px; font-weight: 600; color: var(--ink);
  text-decoration: none; border-radius: var(--radius-sm);
  transition: color 0.15s, background 0.15s;
}
.nav-menu a:hover { color: var(--blue-primary); background: var(--blue-light); }

.nav-cta {
  background: var(--blue-primary) !important;
  color: white !important; border-radius: var(--radius-sm) !important;
  padding: 8px 18px !important; font-weight: 700 !important;
}
.nav-cta:hover { background: var(--blue-dark) !important; box-shadow: var(--shadow-blue) !important; }

.hamburger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  cursor: pointer; padding: 6px; border: none; background: none;
  width: 36px; height: 36px; box-sizing: border-box;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--ink); border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.2s ease;
  transform-origin: center;
}
/* X: bar1 + bar3 move to center (7px = gap5 + bar-half2 - bar-half1), then cross */
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===========================
   Section 1: Hero
   =========================== */
#hero {
  min-height: 100vh; display:flex; align-items:center;
  padding-top: 68px; padding-bottom: 60px;
  position:relative; overflow:hidden;
}
.hero-bg {
  position:absolute; inset:0;
  background: linear-gradient(140deg, #EFF6FF 0%, #DBEAFE 35%, #F0F9FF 65%, #FFFFFF 100%);
  z-index:0;
}
.hero-blob {
  position:absolute; border-radius:50%;
  filter:blur(90px); opacity:0.35;
  animation:floatBlob 9s ease-in-out infinite;
}
.hero-blob-1 { width:520px;height:520px;background:#BFDBFE;top:-120px;right:-80px; }
.hero-blob-2 { width:320px;height:320px;background:#A5B4FC;bottom:-40px;left:5%;animation-delay:-5s; }

@keyframes floatBlob {
  0%,100% { transform:translateY(0) scale(1); }
  50% { transform:translateY(-28px) scale(1.04); }
}

.hero-layout {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
  width: 100%;
}

.hero-content { max-width: 660px; }

.hero-badge {
  display:inline-flex; align-items:center; gap:8px;
  background:white; border:1.5px solid var(--blue-primary);
  color:var(--blue-primary); font-size:12px; font-weight:700;
  padding:5px 14px; border-radius:100px;
  margin-bottom:22px; box-shadow:var(--shadow-sm);
  letter-spacing: 0.5px;
}
.hero-badge::before {
  content:''; width:7px; height:7px;
  background:var(--blue-primary); border-radius:50%;
  animation:pulse 2.2s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { opacity:1; transform:scale(1); }
  50% { opacity:0.4; transform:scale(1.5); }
}

.hero-title {
  font-size: clamp(28px, 3.6vw, 54px);
  font-weight: 900; line-height: 1.2;
  color: var(--ink-strong); margin-bottom: 20px;
  letter-spacing: -0.8px; word-break: keep-all;
}
.hero-title .blue { color: var(--blue-primary); }

.hero-desc {
  font-size: 17px; color: var(--text-body);
  line-height: 1.85; margin-bottom: 36px;
  max-width: 540px; word-break: keep-all;
  letter-spacing: -0.1px;
}

.hero-buttons { display:flex; gap:12px; flex-wrap:wrap; }

.btn-primary {
  display:inline-flex; align-items:center; gap:7px;
  padding:13px 26px; background:var(--blue-primary); color:white;
  border:none; border-radius:var(--radius-sm); font-size:15px; font-weight:700;
  text-decoration:none; cursor:pointer; transition:var(--transition);
  box-shadow: var(--shadow-blue); letter-spacing: -0.1px;
}
.btn-primary:hover {
  background:var(--blue-dark);
  transform:translateY(-2px);
  box-shadow: 0 8px 24px rgba(37,99,235,0.35);
}

.btn-secondary {
  display:inline-flex; align-items:center; gap:7px;
  padding:13px 26px; background:white; color:var(--blue-primary);
  border:1.5px solid var(--blue-primary); border-radius:var(--radius-sm);
  font-size:15px; font-weight:700; text-decoration:none;
  cursor:pointer; transition:var(--transition);
}
.btn-secondary:hover {
  background:var(--blue-light);
  transform:translateY(-2px);
  box-shadow: var(--shadow-blue);
}

.hero-stats {
  display:flex; gap:24px; margin-top:36px;
  padding-top:28px; border-top:1px solid var(--hairline);
  flex-wrap: wrap;
}
.hero-stat { text-align:center; }
.hero-stat-num {
  font-size:28px; font-weight:900;
  color:var(--blue-primary); display:block;
  letter-spacing: -0.5px;
}
.hero-stat-label { font-size:11px; color:var(--text-gray); font-weight:600; margin-top:2px; letter-spacing:0.3px; }

/* ───── iPhone CSS Mockup ───── */
@keyframes phoneFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
.hero-phone-wrap {
  display: flex; justify-content: center; align-items: center;
  position: relative; margin-top: 30px;
  animation: phoneFloat 3.8s ease-in-out infinite;
}

.phone-glow {
  position: absolute;
  width: 260px; height: 440px;
  background: radial-gradient(ellipse, rgba(37,99,235,0.13) 0%, transparent 70%);
  border-radius: 50%; z-index: 0;
  filter: blur(44px);
  animation: floatBlob 7s ease-in-out infinite;
}

/* iPhone 14/15 Pro style frame */
.phone-frame {
  position: relative; z-index: 1;
  width: 258px; height: 530px;

  /* Main body */
  background: #1c1c1e;
  border-radius: 50px;
  box-shadow:
    /* outer rim highlight */
    0 0 0 1.5px #3a3a3c,
    /* inner bezel shine */
    inset 0 0 0 1px #2c2c2e,
    /* depth shadows */
    0 40px 80px rgba(0,0,0,0.38),
    0 16px 32px rgba(0,0,0,0.22),
    0 4px 8px rgba(0,0,0,0.12);

  /* Screen padding — top leaves room for Dynamic Island */
  padding: 14px 7px 10px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Side buttons — left side */
.phone-side-btn {
  position: absolute;
  background: #2c2c2e;
  border-radius: 2px;
  left: -3px;
}
.phone-vol-up   { top: 96px;  width: 3px; height: 30px; }
.phone-vol-down { top: 136px; width: 3px; height: 30px; }
/* Power button — right side */
.phone-power {
  position: absolute;
  right: -3px; top: 110px;
  width: 3px; height: 52px;
  background: #2c2c2e;
  border-radius: 2px;
  left: unset;
}

/* Dynamic Island pill */
.phone-dynamic-island {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 92px; height: 28px;
  background: #000;
  border-radius: 20px;
  z-index: 10;
  /* Tiny camera dot inside */
  box-shadow: inset 18px 0 0 8px #0a0a0a;
}

/* Screen content area */
.phone-screen {
  flex: 1;
  border-radius: 43px;
  overflow: hidden;
  background: #000;
  position: relative;
}

.phone-screen-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}

.phone-screen-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}

/* Mobile-only line break */
.mobile-br { display: none; }
@media (max-width: 768px) {
  .mobile-br { display: inline; }
}

/* ===========================
   Section 2: Concerns
   =========================== */
#concerns { background: var(--canvas-soft); }

.concern-cards { display:grid; grid-template-columns:repeat(auto-fit,minmax(280px,1fr)); gap:20px; }

.concern-card {
  background: white;
  border: 1px solid var(--hairline);
  border-left: 4px solid var(--blue-primary);
  border-radius: var(--radius-md);
  padding: 22px 24px 24px;
  transition: var(--transition);
  cursor: default;
  box-shadow: var(--shadow-sm);
}
.concern-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-blue);
  border-color: var(--blue-primary);
}
.concern-emoji { font-size:43px; margin-bottom:10px; display:block; }
.concern-main {
  font-size: 17px; font-weight: 800;
  color: var(--ink-strong);
  margin-bottom: 10px; line-height: 1.45;
  word-break: keep-all; letter-spacing: -0.2px;
}
.concern-sub {
  font-size: 14px; color: var(--text-body); line-height: 1.75;
  word-break: keep-all;
}

/* ===========================
   Section 3: Problems (Light Gray)
   =========================== */
#problems { background: #1A1A1A; position:relative; padding-top: 48px; padding-bottom: 32px; }
#problems .section-header { margin-bottom: 20px; }
#solution .section-header { margin-bottom: 20px; }
#problems .section-title { color: #ffffff; letter-spacing:-0.5px; }
#problems .section-subtitle { color: rgba(255,255,255,0.55); }
#problems .bridge-text { color: #ffffff; }

.chat-group { max-width:700px; margin:0 auto 32px; }

.chat-group-title {
  background:#1E293B; border:1px solid #334155;
  border-radius:10px 10px 0 0; padding:13px 22px;
  font-size:18px; font-weight:700; color:#94A3B8;
  display:flex; align-items:center; justify-content:center; gap:10px;
  word-break: keep-all;
}
.chat-group-title.inlook-title {
  background: var(--blue-primary); border-color: var(--blue-dark);
  color:white;
}

.type-badge {
  background:#EF4444; color:white;
  font-size:11px; padding:3px 9px;
  border-radius:100px; font-weight:700; flex-shrink: 0;
}

.chat-window {
  background:#1E293B; border:1px solid #334155;
  border-top:none; border-radius:0 0 10px 10px; padding:18px;
}
.chat-window.light { background:white; border-color:var(--hairline); }

.chat-message { display:flex; flex-direction:column; margin-bottom:12px; }
.chat-message.owner { align-items:flex-end; }
.chat-message.agency { align-items:flex-start; }

.chat-label { font-size:11px; color:#64748B; font-weight:600; margin-bottom:3px; padding:0 4px; }
.chat-label.light-label { color:#94A3B8; }

.chat-bubble {
  max-width:85%; padding:10px 15px;
  font-size:14px; line-height:1.65; word-break: keep-all;
}
.owner-bubble { background:#1D4ED8; color:#F1F5F9; border-radius:16px 3px 16px 16px; }
.agency-bubble { background:#334155; color:#CBD5E1; border-radius:3px 16px 16px 16px; }
.inlook-bubble {
  background:linear-gradient(135deg,#1D4ED8,#1E3A8A);
  color:#F1F5F9; border-radius:3px 16px 16px 16px;
}

.chat-point {
  margin-top:12px; padding:12px 14px;
  background:rgba(239,68,68,0.1); border:1px solid rgba(239,68,68,0.25);
  border-radius:8px; font-size:14px; color:#FCA5A5; line-height:1.65;
  word-break: keep-all;
}
.chat-point strong { color:#F87171; }
.chat-point.positive {
  background:rgba(30,64,175,0.07); border-color:rgba(30,64,175,0.18);
  color:#1E3A8A;
}
.chat-point.positive strong { color:#1D4ED8; }

.bridge-text {
  text-align:center; max-width:700px; margin:16px auto 0;
  border-radius:var(--radius-md); padding:24px 28px;
  font-size: clamp(44px, 9vw, 95px); font-weight:800; color:#0F172A; line-height:1.25;
  word-break: keep-all; letter-spacing: -0.3px;
}

/* ===========================
   Section 4: Solution
   =========================== */
#solution { background: #F0F4F8; padding-top: 48px; padding-bottom: 32px; }

.solution-proof {
  max-width:780px; margin:52px auto 0;
  background:var(--white);
  border:1px solid var(--hairline);
  border-radius:var(--radius-lg);
  padding:44px 38px 38px; text-align:center; position:relative; overflow:hidden;
  box-shadow: 0 8px 32px rgba(37,99,235,0.09), 0 2px 8px rgba(0,0,0,0.04);
}
.solution-proof::before {
  content:''; position:absolute; top:0; left:0; right:0;
  height:4px; background:linear-gradient(90deg,var(--blue-primary),var(--blue-accent));
}
.solution-proof-plain {
  max-width:780px; margin:20px auto 0; text-align:center;
}
.solution-proof-quote {
  font-size: clamp(24px, 9vw, 37px); font-weight:800; color:var(--ink-strong);
  line-height:1.65; margin-bottom:10px; word-break:keep-all;
  letter-spacing:-0.3px;
}
.solution-proof-desc {
  font-size:15.5px; color:var(--text-body); line-height:1.95;
  word-break:keep-all;
}
.solution-proof-text-big {
  font-size: clamp(44px, 9vw, 103px); font-weight: 800; color: var(--ink-strong);
  line-height: 1.5; margin-bottom: 10px; word-break: keep-all;
  letter-spacing: -0.3px;
}
/* .solution-proof-text-small {
  font-size: 40px; color: var(--text-body); line-height: 1.75;
  word-break: keep-all;
} */
.proof-highlight {
  color:var(--blue-primary); font-weight:700;
}

/* ===========================
   Section 5: Media (Slider)
   =========================== */
#media { background: var(--blue-light); padding-bottom: 126px; }

.media-section-title { font-size: clamp(26px, 4vw, 46px); }

.media-slider-outer {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}

.media-slider-viewport {
  overflow: hidden;
  flex: 1;
  min-width: 0;
  padding: 16px 0;
  margin: -16px 0;
  box-sizing: content-box;
}

.media-slider-track {
  display: flex;
  gap: 16px;
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
  will-change: transform;
}

.media-arrow {
  flex-shrink: 0;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: white;
  border: 1px solid var(--hairline);
  font-size: 15px; color: var(--ink);
  cursor: pointer;
  transition: var(--transition);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm);
  z-index: 2;
}
.media-arrow:hover {
  background: var(--blue-primary); color: white;
  border-color: var(--blue-primary); box-shadow: var(--shadow-blue);
}
.media-arrow:disabled { opacity: 0.3; cursor: default; pointer-events: none; }

.media-dots {
  display: flex; justify-content: center; gap: 7px; margin-top: 18px;
}
.media-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #CBD5E1; cursor: pointer; transition: var(--transition);
  border: none; padding: 0;
}
.media-dot.active { background: var(--blue-primary); width: 20px; border-radius: 4px; }

/* Media card */
.media-card {
  background: white;
  border-radius: var(--radius-md);
  border: 1px solid var(--hairline);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: var(--transition);
  flex-shrink: 0;
  width: calc(25% - 12px);
  box-shadow: var(--shadow-sm);
}
.media-card:hover {
  transform: translateY(-8px);
  border-color: var(--blue-primary);
  box-shadow: 0 16px 40px rgba(37,99,235,0.18), 0 4px 12px rgba(0,0,0,0.06);
}
.media-card::after {
  content:''; position:absolute; bottom:0; left:0;
  width:100%; height:3px; background:var(--blue-primary);
  transform:scaleX(0); transform-origin:left; transition:transform 0.25s ease;
}
.media-card { position: relative; }
.media-card:hover::after { transform:scaleX(1); }

.media-card-bg { width:100%; height:20px; flex-shrink:0; }
.media-card-bg-1 { background: #006acc; }
.media-card-bg-2 { background: #006acc; }
.media-card-bg-3 { background: #006acc; }
.media-card-bg-4 { background: #006acc; }
.media-card-bg-5 { background: #006acc; }

.media-card-content {
  padding: 16px 18px 20px;
  display: flex; flex-direction: column; flex: 1;
}

.media-logo-wrap {
  width: 56px; height: 56px;
  border-radius: var(--radius-sm);
  overflow: hidden; margin-bottom: 12px;
  background: white; border: 1px solid var(--hairline);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.media-logo-img { width:100%; height:100%; object-fit:contain; padding:4px; }
.media-logo-img.fill { object-fit:cover; padding:0; }
.media-logo-img.fit  { object-fit:contain; padding:0; }

.media-category {
  display: inline-block; background: var(--blue-light);
  color: var(--blue-primary); font-size: 10px; font-weight: 700;
  padding: 3px 9px; border-radius: 100px; margin-bottom: 7px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width:100%;
  letter-spacing: 0.3px;
}
.media-channel-name {
  font-size: 16px; font-weight: 800; color: var(--ink-strong);
  margin-bottom: 4px; letter-spacing: -0.2px;
}
.media-concept {
  font-size: 12px; color: var(--text-gray); line-height: 1.55; margin-bottom: 12px;
  word-break: keep-all;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  flex: 1;
}

.media-stats { display:flex; gap:7px; margin-bottom:12px; }
.media-stat {
  flex:1; text-align:center; padding:6px 4px;
  background: var(--canvas-soft); border-radius:var(--radius-xs);
  border: 1px solid var(--hairline);
}
.media-stat-num { font-size:12px; font-weight:800; color:var(--blue-primary); display:block; }
.media-stat-label { font-size:10px; color:var(--text-gray); font-weight:600; }

.media-link {
  display:flex; align-items:center; justify-content:center; gap:6px;
  width:100%; padding:9px; background:var(--blue-primary); color:white;
  border:none; border-radius:var(--radius-xs); font-size:12px; font-weight:700;
  text-decoration:none; transition:var(--transition); cursor:pointer; margin-top:auto;
}
.media-link:hover { background:var(--blue-dark); }

.media-bottom {
  max-width:680px; margin:44px auto 0; text-align:center;
}
.media-bottom h3 { font-size:55px; font-weight:800; margin-bottom:12px; letter-spacing:-0.3px; color:var(--ink-strong); }
.media-bottom p { font-size:20px; color:var(--text-gray); line-height:1.8; word-break:keep-all; }

/* ===========================
   Section 6: Process
   =========================== */
#process { background:white; display: none; }

.process-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(230px,1fr)); gap:20px; }

.process-card {
  background:white; border:1px solid var(--hairline);
  border-radius:var(--radius-md); padding:28px 24px;
  position:relative; transition:var(--transition); overflow:hidden;
  box-shadow: var(--shadow-sm);
}
.process-card::before {
  content:''; position:absolute; inset:0;
  background:var(--blue-primary); opacity:0;
  transition:opacity 0.25s ease;
}
.process-card:hover::before { opacity:1; }
.process-card:hover { transform:translateY(-6px); border-color:var(--blue-primary); box-shadow:var(--shadow-blue); }
.process-card > * { position:relative; z-index:1; transition:color 0.25s ease; }
.process-card:hover .process-num { color:rgba(255,255,255,0.18); }
.process-card:hover .process-step-label { color:rgba(255,255,255,0.5); }
.process-card:hover .process-title { color:white; }
.process-card:hover .process-desc { color:rgba(255,255,255,0.7); }
.process-card:hover .process-list li { color:rgba(255,255,255,0.65); }
.process-card:hover .process-list li::before { background:rgba(255,255,255,0.4); }

.process-icon-wrap { font-size:34px; display:block; margin-bottom:12px; line-height:1; }
.process-num { font-size:44px; font-weight:900; color:#BFDBFE; line-height:1; margin-bottom:4px; letter-spacing:-2px; }
.process-step-label { font-size:10px; font-weight:700; color:var(--blue-primary); letter-spacing:2px; text-transform:uppercase; margin-bottom:8px; }
.process-title { font-size:18px; font-weight:800; color:var(--ink-strong); margin-bottom:6px; letter-spacing:-0.2px; }
.process-desc { font-size:13px; color:var(--text-gray); line-height:1.6; margin-bottom:14px; word-break:keep-all; }

.process-list { list-style:none; display:flex; flex-direction:column; gap:6px; }
.process-list li {
  font-size:13px; color:var(--text-gray);
  display:flex; align-items:flex-start; gap:7px; line-height:1.5;
  word-break:keep-all;
}
.process-list li::before {
  content:''; width:5px; height:5px; background:var(--blue-accent);
  border-radius:50%; margin-top:6px; flex-shrink:0;
}

.process-formula {
  max-width:880px; margin:40px auto 0;
  background:var(--blue-light); border-radius:var(--radius-md);
  padding:32px 24px; text-align:center;
  border:1px solid rgba(37,99,235,0.12);
}
.formula-inner {
  display:flex; align-items:center; justify-content:center;
  flex-wrap:wrap; gap:8px; margin-bottom:16px;
}
.formula-step {
  padding:10px 20px; background:white;
  border-radius:100px; font-size:15px; font-weight:700;
  color:var(--ink); border:1px solid var(--hairline);
  white-space:nowrap; box-shadow:var(--shadow-sm);
}
.formula-result { background:var(--blue-primary); color:white; border-color:var(--blue-primary); }
.formula-arrow { font-size:18px; color:var(--blue-primary); font-weight:900; }
.formula-caption { font-size:15px; color:var(--text-gray); font-weight:700; }

/* ===========================
   Section 7: Portfolio
   =========================== */
#portfolio { background: var(--canvas-soft); }

.portfolio-filters { display:flex; flex-wrap:wrap; gap:7px; justify-content:center; margin-bottom:36px; }
.filter-btn {
  padding:8px 18px; background:white; border:1px solid var(--hairline);
  border-radius:100px; font-size:13px; font-weight:600;
  color:var(--text-gray); cursor:pointer; transition:var(--transition);
  box-shadow:var(--shadow-sm);
}
.filter-btn:hover, .filter-btn.active {
  background:var(--blue-primary); border-color:var(--blue-primary);
  color:white; box-shadow:var(--shadow-blue);
}

.portfolio-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:10px; }

.portfolio-card {
  background:white; border-radius:var(--radius-sm); overflow:hidden;
  position:relative; transition:var(--transition); cursor:pointer;
  text-decoration:none; display:block;
  border:1px solid var(--hairline); box-shadow:var(--shadow-sm);
}
.portfolio-card:hover { transform:translateY(-3px); box-shadow:0 6px 20px rgba(37,99,235,0.13),0 1px 4px rgba(37,99,235,0.08); border-color:#93C5FD; }
.portfolio-card.hidden { display:none; }

.portfolio-thumb {
  aspect-ratio:1/1;
  background:linear-gradient(135deg,var(--blue-light),#BFDBFE);
  position:relative; overflow:hidden;
  display:flex; align-items:center; justify-content:center;
}
.portfolio-bg-img {
  position:absolute; inset:0;
  background-size:cover; background-position:center; opacity:0.15;
}
.portfolio-emoji { font-size:36px; position:relative; z-index:1; }
.portfolio-real-img {
  position:absolute; inset:0;
  width:100%; height:100%;
  object-fit:cover;
  z-index:0;
}

.portfolio-overlay {
  position:absolute; inset:0;
  background:linear-gradient(160deg,rgba(96,165,250,0.72) 0%,rgba(37,99,235,0.82) 100%);
  opacity:0; display:flex; align-items:center; justify-content:center;
  flex-direction:column; gap:8px; transition:opacity 0.22s ease;
  padding:14px; text-align:center; z-index:2;
  backdrop-filter:blur(2px);
}
.portfolio-card:hover .portfolio-overlay { opacity:1; }
.portfolio-overlay p { font-size:12px; color:white; line-height:1.5; word-break:keep-all; font-weight:500; }
.portfolio-overlay-btn {
  display:inline-flex; align-items:center; gap:4px;
  background:rgba(255,255,255,0.95); color:var(--blue-primary);
  padding:5px 13px; border-radius:100px;
  font-size:11px; font-weight:700;
}

.portfolio-body { padding:10px 12px 12px; }
.portfolio-cat { display:none; }
.portfolio-name { font-size:14px; font-weight:800; color:var(--ink-strong); margin-bottom:3px; letter-spacing:-0.2px; }
.portfolio-desc { font-size:11.5px; color:var(--text-gray); line-height:1.45; word-break:keep-all; }

.portfolio-card[data-category="fnb"] .portfolio-thumb { background:linear-gradient(135deg,#FEF9C3,#FDE68A); }
.portfolio-card[data-category="cafe"] .portfolio-thumb { background:linear-gradient(135deg,#FDF4FF,#E9D5FF); }
.portfolio-card[data-category="activity"] .portfolio-thumb { background:linear-gradient(135deg,#D1FAE5,#6EE7B7); }
.portfolio-card[data-category="other"] .portfolio-thumb { background:linear-gradient(135deg,#E0F2FE,#93C5FD); }

.portfolio-more-wrap { display:flex; align-items:center; justify-content:center; gap:12px; margin-top:32px; }
.portfolio-more-btn {
  display:inline-flex; align-items:center; gap:8px;
  padding:11px 28px; background:white;
  border:1.5px solid var(--blue-primary); border-radius:100px;
  font-size:14px; font-weight:700; color:var(--blue-primary);
  cursor:pointer; transition:var(--transition); box-shadow:var(--shadow-sm);
}
.portfolio-more-btn:hover { background:var(--blue-primary); color:white; box-shadow:var(--shadow-blue); }
.portfolio-more-btn.hidden { display:none; }
.portfolio-collapse-btn {
  display:inline-flex; align-items:center; gap:8px;
  padding:11px 28px; background:white;
  border:1.5px solid var(--hairline); border-radius:100px;
  font-size:14px; font-weight:700; color:var(--text-gray);
  cursor:pointer; transition:var(--transition); box-shadow:var(--shadow-sm);
}
.portfolio-collapse-btn:hover { background:var(--canvas-soft); border-color:var(--text-gray); color:var(--ink); }
.portfolio-collapse-btn.hidden { display:none; }

/* ===========================
   Section 8: How (Phases)
   =========================== */
#how { background: white; }

.steps-flow { display: flex; flex-direction: column; gap: 0; }
.steps-row { display: flex; align-items: stretch; }
.steps-row-connector { display: flex; justify-content: center; padding: 5px 0; }
.arr-v { font-size: 22px; color: var(--blue-primary); font-weight: 700; }
.step-card {
  flex: 1; display: flex; align-items: flex-start; gap: 12px;
  padding: 18px 16px;
  border: 1px solid var(--hairline); border-radius: var(--radius-md);
  background: white; box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.step-card:hover { border-color: var(--blue-primary); box-shadow: var(--shadow-blue); transform: translateY(-3px); }
.step-card:hover .step-num { background: var(--blue-primary); color: white; }
.arr-h {
  font-size: 22px; color: var(--blue-primary); font-weight: 700;
  padding: 0 10px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.arr-mob { display: none; }

.step-num {
  width: 30px; height: 30px; min-width: 30px;
  border-radius: 50%;
  background: var(--blue-light); color: var(--blue-primary);
  font-size: 12px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: var(--transition);
}
.step-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1; }
.step-title { font-size: 14px; font-weight: 700; color: var(--ink-strong); letter-spacing:-0.1px; }
.step-desc { font-size: 12px; color: var(--text-gray); line-height: 1.55; word-break: keep-all; }

/* ===========================
   Animated Chat Window (Sections 3 & 4)
   =========================== */
.anim-chat-scroll-outer {
  height: 220vh;   /* 120vh scrollable → ~40vh per group, comfortable reading pace */
  position: relative;
}
.anim-chat-sticky-wrap {
  position: sticky;
  top: 80px;
  /* No forced height — frame sits naturally, title & bridge text visible above/below */
  display: flex;
  justify-content: center;
  padding: 20px 24px;
}

/* Mac-style frame */
.anim-chat-frame {
  width: 100%;
  max-width: 780px;
  background: #141420;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.7), 0 0 0 1px rgba(255,255,255,0.06);
}
.anim-titlebar {
  background: #1c1c2a;
  padding: 11px 16px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  user-select: none;
}
.anim-mac-dots { display: flex; gap: 6px; margin-right: 12px; }
.anim-mac-dots span { width: 11px; height: 11px; border-radius: 50%; display: block; }
.anim-mac-dots span:nth-child(1) { background: #FF5F57; }
.anim-mac-dots span:nth-child(2) { background: #FFBD2E; }
.anim-mac-dots span:nth-child(3) { background: #28C840; }
.anim-win-title { font-size: 12px; color: rgba(255,255,255,0.3); font-weight: 500; flex: 1; text-align: center; letter-spacing: 0.2px; }
/* Body: column layout so sidebar is on top, messages below */
.anim-body { display: flex; flex-direction: column; height: 320px; }

/* Sidebar — horizontal row (same on PC and mobile) */
.anim-sidebar {
  width: 100%; min-width: 0; flex-shrink: 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 5px 8px;
  display: flex; flex-direction: row; gap: 3px;
  overflow-x: auto; scrollbar-width: none;
}
.anim-sidebar::-webkit-scrollbar { display: none; }
.anim-side-item {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  min-width: 68px; padding: 5px 8px; border-radius: 8px;
  cursor: default;
  transition: background 0.3s ease, opacity 0.3s ease;
  opacity: 0.28; flex-shrink: 0;
}
.anim-side-item.active { background: rgba(255,255,255,0.07); opacity: 1; }
.anim-side-av {
  width: 30px; height: 30px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; color: white; flex-shrink: 0;
}
.av-1 { background: linear-gradient(135deg,#667eea,#764ba2); }
.av-2 { background: linear-gradient(135deg,#f093fb,#f5576c); }
.av-3 { background: linear-gradient(135deg,#4facfe,#00f2fe); }
.av-il { background: linear-gradient(135deg,#2563EB,#60a5fa); }
.anim-side-text { display: flex; flex-direction: column; gap: 1px; align-items: center; }
.anim-side-badge { font-size: 9px; color: rgba(255,255,255,0.28); font-weight: 600; letter-spacing: 0.2px; }
.anim-side-name { font-size: 12px; color: rgba(255,255,255,0.8); font-weight: 600; }

/* Main chat area — top-aligned, compact padding */
.anim-main {
  flex: 1; padding: 10px 14px; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-start; gap: 10px;
}

/* Message groups — only the active one is displayed */
.anim-msg-group { display: none; flex-direction: column; gap: 12px; width: 100%; }
.anim-msg-group.anim-group-active { display: flex; }

/* Individual messages */
.anim-msg {
  display: flex; gap: 8px; align-items: flex-end;
  opacity: 0; transform: translateY(8px);
  transition: opacity 0.32s ease, transform 0.32s ease;
  will-change: opacity, transform;
}
.anim-msg.visible { opacity: 1; transform: translateY(0); }

/* Owner (사장님) — stacks label above bubble, right-aligned */
.anim-owner { align-self: flex-end; }
.anim-owner-wrap { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; max-width: 75%; }

/* Agency — label above bubble, left-aligned */
.anim-agency { align-self: flex-start; max-width: 75%; }
.anim-msg-content { display: flex; flex-direction: column; gap: 3px; }

/* Name labels */
.anim-who { font-size: 10px; color: rgba(255,255,255,0.26); font-weight: 500; display: block; }
.anim-owner .anim-who { text-align: right; }

/* Avatar circle (agency) */
.anim-av-circle {
  width: 26px; height: 26px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 700; color: white; flex-shrink: 0;
  margin-top: 14px; /* align with bubble top (below the name label) */
}

/* Bubbles */
.anim-bubble {
  padding: 10px 14px; border-radius: 16px;
  font-size: clamp(12.5px,1.2vw,13.5px); line-height: 1.6;
  word-break: keep-all; display: block;
}
.anim-bubble-owner {
  background: #2B5CF6; color: #fff;
  border-bottom-right-radius: 5px;
}
.anim-bubble-agency {
  background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.85);
  border: 1px solid rgba(255,255,255,0.08);
  border-bottom-left-radius: 5px;
}
.anim-bubble-inlook {
  background: linear-gradient(135deg,#2563EB,#3b82f6); color: #fff;
  border-bottom-left-radius: 5px;
}

/* ── Light theme (Section 4) ── */
.anim-chat-frame.anim-light {
  background: #ffffff;
  box-shadow: 0 20px 60px rgba(0,0,0,0.10), 0 0 0 1px rgba(0,0,0,0.06);
}
.anim-chat-frame.anim-light .anim-titlebar { background: #f4f6f8; border-bottom: 1px solid rgba(0,0,0,0.07); }
.anim-chat-frame.anim-light .anim-win-title { color: rgba(0,0,0,0.3); }
.anim-chat-frame.anim-light .anim-sidebar { border-bottom: 1px solid rgba(0,0,0,0.07); }
.anim-chat-frame.anim-light .anim-side-item { opacity: 0.3; }
.anim-chat-frame.anim-light .anim-side-item.active { background: rgba(37,99,235,0.07); opacity: 1; }
.anim-chat-frame.anim-light .anim-side-badge { color: rgba(0,0,0,0.3); }
.anim-chat-frame.anim-light .anim-side-name { color: rgba(0,0,0,0.8); }
.anim-chat-frame.anim-light .anim-who { color: rgba(0,0,0,0.3); }
.anim-chat-frame.anim-light .anim-owner .anim-who { color: rgba(0,0,0,0.3); }
.anim-chat-frame.anim-light .anim-bubble-owner { background: #e8ecf0; color: #1a1a2e; border-bottom-right-radius: 5px; }

/* ===========================
   Comparison Section (인룩 vs 타사 — Vertical stack)
   =========================== */
#comparison {
  background: #0e0e18;
  padding-top: 48px;
  padding-bottom: 32px;
}
#comparison .section-title { color: #ffffff; }
#comparison .section-header { margin-bottom: 16px; }
#comparison .solution-proof-text-big { color: #ffffff; }
#comparison .solution-proof-quote { color: rgba(255,255,255,0.72); }

/* Sticky wrap: auto height — sizes to the two frames */
#comparison .anim-chat-sticky-wrap {
  height: auto;
  align-items: stretch;
  padding: 12px 24px;
  top: 80px;
}

/* Vertical stack of two frames */
#comparison .anim-duo-wrap {
  flex-direction: column;
  gap: 8px;
  height: auto;
  max-width: 780px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
  align-items: stretch;
}
.anim-duo-col {
  flex: 1;
  min-height: 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
/* In comparison, cols must NOT stretch — they size to the frame inside */
#comparison .anim-duo-col {
  flex: none;
  width: 100%;
}

/* Label chips */
.anim-duo-label {
  align-self: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  flex-shrink: 0;
}
.anim-duo-label-bad {
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.4);
  border: 1px solid rgba(255,255,255,0.1);
}
.anim-duo-label-good {
  background: rgba(37,99,235,0.15);
  color: #60a5fa;
  border: 1px solid rgba(37,99,235,0.3);
}

/* Frame: natural height driven by body */
#comparison .anim-chat-frame {
  max-width: none;
  flex: none;
  display: flex;
  flex-direction: column;
}
/* Body: fixed height — content defines the frame size */
#comparison .anim-body {
  height: 260px;
}
/* Sidebar tweaks for comparison (border color already set by base) */
#comparison .anim-sidebar { border-bottom-color: rgba(255,255,255,0.06); padding: 4px 6px; }
#comparison .anim-chat-frame.anim-light .anim-sidebar { border-bottom-color: rgba(0,0,0,0.07); }
#comparison .anim-side-item { min-width: 62px; padding: 4px 5px; }
#comparison .anim-side-av { width: 26px; height: 26px; font-size: 10px; }
#comparison .anim-side-name { font-size: 11px; }
/* Main: fills remaining frame height, tight padding */
#comparison .anim-main {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  padding: 6px 12px;
  gap: 8px;
  justify-content: flex-start;
}
#comparison .anim-bubble { font-size: 13px; padding: 9px 12px; }

/* Light-frame owner bubble in comparison (dark bg) */
.anim-bubble-owner-light {
  background: #dde3ec;
  color: #1a1a2e;
  border-bottom-right-radius: 5px;
}

/* ===========================
   Section 9: FAQ
   =========================== */
#faq { background: var(--canvas-soft); }
.faq-list { max-width:780px; margin:0 auto; display:flex; flex-direction:column; gap:8px; }

.faq-item {
  background:white; border:1px solid var(--hairline);
  border-radius:var(--radius-sm); overflow:hidden; transition:var(--transition);
  box-shadow: var(--shadow-sm);
}
.faq-item.open { border-color:var(--blue-primary); box-shadow:var(--shadow-blue); }

.faq-question {
  width:100%; display:flex; align-items:center; justify-content:space-between;
  padding:18px 20px; background:none; border:none; cursor:pointer;
  text-align:left; font-size:15px; font-weight:700; color:var(--ink-strong);
  gap:14px; transition:background 0.15s, color 0.15s;
  word-break:keep-all; letter-spacing:-0.1px;
}
.faq-question:hover { background:var(--blue-light); color:var(--blue-primary); }
.faq-item.open .faq-question { color:var(--blue-primary); background:var(--blue-light); }

.faq-icon {
  width:24px; height:24px; border-radius:50%;
  background:var(--blue-light); color:var(--blue-primary);
  display:flex; align-items:center; justify-content:center;
  flex-shrink:0; font-size:17px; line-height:1;
  transition:transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}
.faq-item.open .faq-icon { transform:rotate(45deg); background:var(--blue-primary); color:white; }

.faq-answer { max-height:0; overflow:hidden; transition:max-height 0.35s cubic-bezier(0.4,0,0.2,1); }
.faq-item.open .faq-answer { max-height:280px; }
.faq-answer-inner {
  padding:20px 20px;
  font-size:14px; color:#334155; line-height:1.8;
  word-break:keep-all;
}

/* ===========================
   Section 10: CTA
   =========================== */
#cta {
  background: var(--blue-primary); padding:96px 0;
  position:relative; overflow:hidden;
}
#cta::before {
  content:''; position:absolute; top:-50%; right:-20%;
  width:600px; height:600px; background:rgba(255,255,255,0.04); border-radius:50%;
}
#cta::after {
  content:''; position:absolute; bottom:-30%; left:-10%;
  width:400px; height:400px; background:rgba(255,255,255,0.04); border-radius:50%;
}
.cta-content { text-align:center; position:relative; z-index:1; }
.cta-label {
  display:inline-block; background:rgba(255,255,255,0.15);
  color:white; font-size:12px; font-weight:700;
  padding:5px 16px; border-radius:100px; margin-bottom:18px;
  letter-spacing:1px; text-transform:uppercase;
}
.cta-title {
  font-size:clamp(24px,4.5vw,50px); font-weight:900; color:white;
  line-height:1.25; margin-bottom:12px; word-break:keep-all;
  letter-spacing: -0.6px;
}
.cta-subtitle { font-size:16px; color:rgba(255,255,255,0.8); margin-bottom:36px; line-height:1.7; word-break:keep-all; }
.cta-buttons { display:flex; justify-content:center; gap:12px; flex-wrap:wrap; }

.btn-kakao {
  display:inline-flex; align-items:center; gap:10px;
  padding:15px 28px; background:#FEE500; color:#1B1B1B;
  border:none; border-radius:var(--radius-sm); font-size:15px; font-weight:800;
  text-decoration:none; cursor:pointer; transition:var(--transition);
  box-shadow:0 4px 14px rgba(254,229,0,0.35);
}
.btn-kakao:hover { background:#FFD700; transform:translateY(-2px); box-shadow:0 8px 24px rgba(254,229,0,0.5); }

.btn-white {
  display:inline-flex; align-items:center; gap:10px;
  padding:15px 28px; background:white; color:var(--blue-primary);
  border:none; border-radius:var(--radius-sm); font-size:15px; font-weight:800;
  text-decoration:none; cursor:pointer; transition:var(--transition);
  box-shadow:0 4px 14px rgba(0,0,0,0.1);
}
.btn-white:hover { background:var(--blue-light); transform:translateY(-2px); }

.cta-trust {
  display:flex; align-items:center; justify-content:center;
  flex-wrap:wrap; gap:10px; margin-bottom:32px;
  padding:12px 20px; background:rgba(255,255,255,0.1);
  border-radius:var(--radius-sm); border:1px solid rgba(255,255,255,0.18);
}
.cta-trust-item { font-size:14px; color:rgba(255,255,255,0.9); font-weight:600; display:flex; align-items:center; gap:5px; }
.cta-trust-check { color:#86EFAC; font-size:14px; font-weight:900; }
.cta-trust-divider { color:rgba(255,255,255,0.2); font-size:16px; }

/* ===========================
   Footer
   =========================== */
footer { background:var(--dark-bg); padding:44px 0 22px; }
.footer-inner {
  display:flex; justify-content:space-between; align-items:flex-start;
  flex-wrap:wrap; gap:28px; max-width:1200px; margin:0 auto; padding:0 24px;
}
.footer-logo { font-size:18px; font-weight:900; color:white; margin-bottom:8px; letter-spacing:-0.2px; }
.footer-info { font-size:13px; color:#475569; line-height:1.9; }
.footer-links { display:flex; gap:18px; flex-wrap:wrap; padding-top:4px; align-items:center; }
.footer-links a { font-size:13px; color:#64748B; text-decoration:none; transition:color 0.15s; }
.footer-links a:hover { color:var(--blue-accent); }
.footer-bottom {
  margin-top:24px; padding:16px 24px 0;
  border-top:1px solid #1E293B;
  text-align:center; font-size:12px; color:#334155;
}

/* ===========================
   Floating Buttons + Scroll Top
   =========================== */
.floating-buttons {
  position:fixed; right:22px; bottom:32px;
  z-index:900; display:flex; flex-direction:column; gap:10px;
  align-items:flex-end;
}

.scroll-top-btn {
  width:40px; height:40px; border-radius:50%;
  background:white; border:1px solid var(--hairline);
  font-size:16px; font-weight:700; color:var(--ink);
  cursor:pointer;
  display:flex; align-items:center; justify-content:center;
  box-shadow:var(--shadow-md);
  transition:var(--transition);
  opacity:0; pointer-events:none;
}
.scroll-top-btn.visible { opacity:1; pointer-events:auto; }
.scroll-top-btn:hover { background:var(--blue-primary); color:white; border-color:var(--blue-primary); box-shadow:var(--shadow-blue); }

/* Group wrapper — hovering either button expands both */
.float-group {
  display: flex; flex-direction: column; gap: 9px;
}

.float-btn {
  display:flex; align-items:center; gap:0;
  padding:11px 14px; border-radius:50px;
  font-size:14px; font-weight:700; text-decoration:none;
  box-shadow:var(--shadow-md);
  transition: all 0.22s cubic-bezier(0.4,0,0.2,1);
  white-space:nowrap; overflow:hidden;
}
.float-icon { font-size:18px; flex-shrink:0; }
.float-label {
  max-width:0; overflow:hidden; white-space:nowrap;
  transition:max-width 0.22s ease, margin-left 0.22s ease;
  font-size:13px; margin-left:0;
}

/* Group hover: both buttons animate when hovering EITHER */
.float-group:hover .float-label { max-width:150px; margin-left:7px; }
.float-group:hover .float-btn { padding:11px 15px; }

.float-kakao { background:#FEE500; color:#1B1B1B; }
.float-kakao:hover { background:#FFD700; box-shadow:0 6px 20px rgba(254,229,0,0.5); }
.float-guide { background:var(--blue-primary); color:white; }
.float-guide:hover { background:var(--blue-dark); box-shadow:0 6px 20px rgba(37,99,235,0.5); }

/* ===========================
   Scroll Animations
   =========================== */
.fade-up {
  opacity:0; transform:translateY(24px);
  transition:opacity 0.55s ease, transform 0.55s ease;
}
.fade-up.visible { opacity:1; transform:translateY(0); }
.delay-1 { transition-delay:0.08s; }
.delay-2 { transition-delay:0.16s; }
.delay-3 { transition-delay:0.24s; }
.delay-4 { transition-delay:0.32s; }

/* ===========================
   Responsive — Wide
   =========================== */
@media (max-width:1200px) {
  .media-card { width: calc(25% - 12px); }
}

@media (max-width:1024px) {
  .portfolio-grid { grid-template-columns: repeat(3, 1fr); gap: 9px; }
}

@media (max-width:900px) {
  .media-card { width: calc(50% - 8px); }
}

/* ===========================
   Responsive — Tablet / Mobile
   =========================== */
@media (max-width:768px) {
  section { padding: 60px 0; }
  .container { padding: 0 16px; }

  /* Section typography */
  .section-title { font-size: clamp(26px, 7vw, 36px); line-height: 1.35; }
  .section-subtitle { font-size: 15px; line-height: 1.75; max-width: 100%; }
  #concerns .section-title { font-size: clamp(38px, 10vw, 56px); line-height: 1.2; }
  #solution .section-title { font-size: clamp(38px, 10vw, 56px); line-height: 1.2; }
  #media .section-title { font-size: clamp(38px, 10vw, 56px); line-height: 1.2; }
  #portfolio .section-title { font-size: clamp(38px, 10vw, 56px); line-height: 1.2; }
  #solution .section-subtitle { font-size: 15px; }

  /* Nav */
  .nav-menu {
    position:fixed; top:68px; left:0; right:0;
    background:white; flex-direction:column; align-items:stretch;
    padding:10px; box-shadow:var(--shadow-md); gap:3px;
    transform:translateY(-150%); transition:transform 0.28s ease; z-index:999;
    border-bottom: 1px solid var(--hairline);
  }
  .nav-menu.open { transform:translateY(0); }
  .nav-menu a { padding:11px 14px; border-radius:var(--radius-sm); }
  .hamburger { display:flex; }

  /* Hero */
  .hero-layout { grid-template-columns:1fr; gap:36px; padding-top:12px; }
  .hero-content { max-width:100%; }
  .hero-title { font-size: clamp(24px, 7vw, 38px); margin-bottom: 36px; }
  .hero-desc { display: none; }
  .hero-phone-wrap { justify-content:center; order: -1; }

  /* Phone mockup — larger, capped so it never overflows the viewport */
  .phone-frame {
    width: min(250px, 64vw);
    height: min(515px, 132vw);
    border-radius: min(49px, 12.5vw);
  }
  .phone-screen { border-radius: min(42px, 10.8vw); }
  .phone-dynamic-island { width: min(89px, 23vw); height: min(27px, 7vw); top: 14px; }
  .phone-glow { width: min(260px, 67vw); height: min(440px, 113vw); }
  .phone-screen-img { object-fit: cover; object-position: top center; }

  /* Hero stats — force single row with compact sizing */
  .hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    margin-top: 20px;
    padding-top: 16px;
  }
  .hero-stat { text-align: center; }
  .hero-stat-num { font-size: 20px; }
  .hero-stat-label { font-size: 9px; letter-spacing: 0; }
  .hero-buttons { flex-direction:column; width:100%; }
  .btn-primary, .btn-secondary { justify-content:center; width:100%; }

  /* Concerns */
  .concern-cards { grid-template-columns:1fr; }

  /* Media slider — hide arrows on mobile, card takes full viewport */
  .media-arrow { display: none; }
  .media-slider-outer { gap: 0; }
  .media-slider-viewport { padding: 0; margin: 0; box-sizing: border-box; }

.media-bottom {
  max-width:680px; margin:44px auto 0; text-align:center;
}
.media-bottom h3 { font-size:30px; font-weight:800; margin-bottom:12px; letter-spacing:-0.3px; color:var(--ink-strong); }
.media-bottom p { font-size:17px; color:var(--text-gray); line-height:1.8; word-break:keep-all; }

  .media-card {
    flex-shrink: 0;
    max-width: none;
  }

  .media-card-content {
    padding: 14px 16px 18px;
    align-items: stretch;
  }

  .media-logo-wrap { width: 52px; height: 52px; }

  .media-stats {
    width: 100%;
    display: flex; flex-direction: row;
  }
  .media-stat { min-width: 0; }

  .media-link { width: 100%; font-size: 13px; padding: 10px; }

  /* Process */
  .process-grid { grid-template-columns: 1fr; }
  .process-formula { padding: 18px 12px; margin: 24px auto 0; }
  .formula-inner { gap: 6px; }
  .formula-step { font-size: 12px; padding: 8px 12px; }
  .formula-arrow { font-size: 13px; }

  /* Animated chat — mobile adjustments */
  .anim-chat-scroll-outer { height: 230vh; }
  .anim-chat-sticky-wrap { top: 60px; padding: 10px 10px; }
  .anim-body { height: auto; min-height: 0; }
  .anim-side-item { min-width: 64px; padding: 5px 6px; }
  .anim-side-name { font-size: 11.5px; }
  .anim-main { padding: 9px 12px; gap: 9px; }
  .anim-bubble { font-size: 13px; padding: 9px 12px; }
  .anim-owner-wrap { max-width: 82%; }
  .anim-agency { max-width: 82%; }
  .anim-av-circle { margin-top: 10px; }

  /* Comparison — mobile 768px */
  #comparison .anim-chat-sticky-wrap { height: auto; top: 60px; padding: 16px 10px 10px; }
  #comparison .anim-duo-wrap { gap: 7px; }
  #comparison .anim-bubble { font-size: 12.5px; }
  #comparison .anim-main { padding: 7px 10px; gap: 7px; }
  #comparison .anim-body { height: 290px; }

  /* Steps flow — mobile: single column with ↓ arrows */
  .steps-row { flex-direction: column; align-items: stretch; }
  .arr-h { display: none; }
  .steps-row-connector { display: none; }
  .step-card { flex: none; }

  /* Portfolio — 2-column grid on mobile */
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .portfolio-emoji { font-size: 28px; }
  .portfolio-body { padding: 8px 10px 10px; }
  .portfolio-name { font-size: 12px; margin-bottom: 2px; }
  .portfolio-desc { font-size: 10.5px; line-height: 1.4; }
  .portfolio-overlay p { font-size: 10px; }
  .portfolio-overlay-btn { font-size: 10px; padding: 4px 10px; }

  /* CTA */
  .cta-subtitle { display: none; }
  .cta-trust { flex-direction:column; gap:7px; padding:10px 14px; }
  .cta-trust-divider { display:none; }

  /* Nav logo */
  .nav-logo-font-img { height: 16px; }

  /* Bridge text */
  .bridge-text { font-size: clamp(38px, 10vw, 56px); padding:26px 18px; line-height:1.2; }
  .solution-proof { padding:28px 20px; }
  .solution-proof-text-big { font-size: clamp(52px, 14vw, 76px); }
  .solution-proof-quote { font-size: clamp(23px, 6vw, 30px); }
  .solution-proof-plain { margin-top: 28px; }

  #problems .section-title { color: #ffffff; letter-spacing:-0.5px; font-size: clamp(38px, 10vw, 56px); line-height:1.2; }

  /* Floating */
  .floating-buttons { right:14px; bottom:20px; }
  .float-group:hover .float-label { max-width:0; margin-left:0; }
  .float-group:hover .float-btn { padding:11px 14px; }
  .float-btn { border-radius:50%; padding:12px !important; }
  .float-group:hover .float-btn { padding:12px !important; }
}

@media (max-width:480px) {
  .hero-title { font-size: clamp(22px, 7.5vw, 32px); }
  .section-title { font-size: clamp(24px, 7vw, 30px); }
  .section-subtitle { font-size: 14px; line-height: 1.75; max-width: 100%; }
  /* media-card width handled by JS on mobile — no override needed */

  /* Phone mockup — compact for small phones, still proportional */
  .phone-frame {
    width: min(220px, 60vw);
    height: min(453px, 124vw);
    border-radius: min(43px, 11.5vw);
  }
  .phone-screen { border-radius: min(37px, 9.5vw); }
  .phone-dynamic-island { width: min(76px, 20vw); height: min(22px, 6vw); top: 12px; }

  /* Hero stats — even more compact on small phones */
  .hero-stat-num { font-size: 17px; }
  .hero-stat-label { font-size: 8px; }

    /* Bridge text */
  .bridge-text { font-size: clamp(38px, 10vw, 56px); padding:26px 18px; line-height:1.2; }
  .solution-proof { padding:28px 20px; }
  .solution-proof-text-big { font-size: clamp(44px, 14vw, 70px); }
  .solution-proof-quote { font-size: clamp(23px, 6vw, 30px); }
  .solution-proof-plain { margin-top: 28px; }
}

/* ── Comparison section responsive breakpoints ── */
@media (max-width: 600px) {
  #comparison .anim-chat-sticky-wrap { height: auto; padding: 14px 10px 8px; }
  #comparison .anim-body { height: 265px; }
  #comparison .anim-duo-wrap { gap: 7px; }
  #comparison .anim-duo-label { font-size: 10px; padding: 3px 10px; }
  #comparison .anim-bubble { font-size: 12px; padding: 8px 10px; }
  #comparison .anim-side-item { min-width: 58px; padding: 4px 5px; }
  #comparison .anim-side-name { font-size: 10.5px; }
  #comparison .anim-side-av { width: 26px; height: 26px; font-size: 10px; }
  #comparison .anim-titlebar { padding: 9px 12px; }
  #comparison .anim-main { padding: 10px 12px; gap: 8px; }
}

@media (max-width: 480px) {
  #comparison .anim-chat-sticky-wrap { height: auto; padding: 14px 8px 8px; top: 58px; }
  #comparison .anim-body { height: 230px; }
  #comparison .anim-duo-wrap { gap: 6px; }
  #comparison .anim-duo-label { font-size: 9.5px; padding: 3px 8px; }
  #comparison .anim-bubble { font-size: 11.5px; padding: 7px 9px; line-height: 1.45; }
  #comparison .anim-side-item { min-width: 52px; padding: 3px 4px; }
  #comparison .anim-side-name { font-size: 10px; }
  #comparison .anim-side-badge { font-size: 8.5px; }
  #comparison .anim-side-av { width: 24px; height: 24px; border-radius: 6px; font-size: 9.5px; }
  #comparison .anim-titlebar { padding: 8px 10px; }
  #comparison .anim-win-title { font-size: 11px; }
  #comparison .anim-main { padding: 8px 10px; gap: 7px; }
  #comparison .anim-av-circle { width: 22px; height: 22px; font-size: 9px; margin-top: 8px; }
  #comparison .anim-who { font-size: 9px; }
  #comparison .anim-owner-wrap { max-width: 85%; }
  #comparison .anim-agency { max-width: 85%; }
}

@media (max-width: 390px) {
  #comparison .anim-chat-sticky-wrap { height: auto; padding: 12px 6px 6px; top: 56px; }
  #comparison .anim-body { height: 225px; }
  #comparison .anim-duo-wrap { gap: 5px; }
  #comparison .anim-duo-label { font-size: 9px; padding: 2px 7px; }
  #comparison .anim-bubble { font-size: 11px; padding: 6px 8px; line-height: 1.4; }
  #comparison .anim-side-item { min-width: 48px; padding: 3px 3px; }
  #comparison .anim-side-name { font-size: 9.5px; }
  #comparison .anim-side-av { width: 22px; height: 22px; border-radius: 5px; font-size: 9px; }
  #comparison .anim-win-title { font-size: 10.5px; }
  #comparison .anim-main { padding: 7px 8px; gap: 6px; }
  #comparison .anim-av-circle { width: 20px; height: 20px; font-size: 8.5px; }
  #comparison .anim-who { font-size: 8.5px; }
}

@media (max-width: 360px) {
  #comparison .anim-chat-sticky-wrap { height: auto; padding: 12px 5px 5px; }
  #comparison .anim-body { height: 210px; }
  #comparison .anim-duo-wrap { gap: 4px; }
  #comparison .anim-bubble { font-size: 10.5px; padding: 5px 7px; }
  #comparison .anim-main { padding: 5px 7px; gap: 5px; }
  #comparison .anim-who { font-size: 8px; }
  #comparison .anim-side-name { font-size: 9px; }
  #comparison .anim-side-item { min-width: 44px; }
}

/* ===========================
   Kakao Reviews Carousel
   =========================== */
@keyframes kakaoScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

#kakao-reviews {
  padding: 96px 0;
  background: var(--canvas-soft);
  overflow: hidden;
}

.kakao-carousel-outer {
  width: 100%;
  overflow: hidden;
}

.kakao-carousel-track {
  display: flex;
  gap: 32px;
  width: max-content;
  animation: kakaoScroll 30s linear infinite;
  will-change: transform;
}

.kakao-slide {
  flex-shrink: 0;
  width: calc(50vw - 40px);
  max-width: 540px;
  aspect-ratio: 1 / 1;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.kakao-slide-img {
  flex: 3;
  overflow: hidden;
}

.kakao-slide-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: top center;
}

.kakao-slide-label {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-body);
  border-top: 1px solid var(--hairline);
}

@media (max-width: 1024px) {
  .kakao-slide { width: calc(55vw - 32px); }
}

@media (max-width: 768px) {
  .kakao-carousel-track { gap: 20px; }
  .kakao-slide { width: 82vw; }
  .kakao-slide-label { font-size: 12px; }
}
