/* ── HERO ── */
.hero { background: var(--base); padding: 100px 0 88px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 700;
  color: var(--amber);
  background: rgba(245,158,11,.1); border: 1px solid rgba(245,158,11,.28);
  padding: 5px 14px; border-radius: 100px; margin-bottom: 28px;
}
.hero-eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--amber); }

.hero-stack {
  display: flex; flex-direction: column; gap: 0;
  margin-bottom: 24px;
}
.hero-stack-word {
  font-size: clamp(2.8rem, 5.5vw, 4.4rem);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 1.0;
  opacity: 0;
  transform: translateY(28px);
  animation: rise 0.55s cubic-bezier(.22,1,.36,1) forwards;
}
.hero-stack-word:nth-child(1) { animation-delay: .05s; color: var(--text); }
.hero-stack-word:nth-child(2) { animation-delay: .16s; background: var(--grad-main); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-stack-word:nth-child(3) { animation-delay: .27s; color: var(--text); }

.hero-sub-ko {
  font-size: 0.78rem; letter-spacing: 0.04em; color: var(--text-3); text-transform: uppercase; font-weight: 600;
  margin-bottom: 14px;
}
.hero-desc {
  font-size: 1rem; color: var(--text-2); line-height: 1.8; max-width: 430px; margin-bottom: 36px;
}
.hero-pills { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 40px; }
.pill {
  font-size: 0.75rem; padding: 5px 12px; border-radius: 100px;
  background: var(--surface); border: 1px solid var(--border); color: var(--text-2);
}
.pill.hi { border-color: rgba(245,158,11,.4); color: var(--amber); }
.pill.hi2 { border-color: rgba(139,92,246,.4); color: var(--violet); }

.hero-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--grad-main); color: #fff; font-weight: 700; font-size: 0.95rem;
  padding: 13px 26px; border-radius: var(--r); border: none; transition: opacity .15s;
}
.btn-primary:hover { opacity: .88; }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--text-2); font-size: 0.95rem; font-weight: 500;
  padding: 13px 26px; border-radius: var(--r); border: 1px solid var(--border); transition: .15s;
}
.btn-ghost:hover { border-color: var(--border-hi); color: var(--text); }

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

/* ── MOCKUP ── */
.mockup {
  border: 1px solid var(--border-hi); border-radius: 14px; overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.04) inset, 0 0 60px rgba(245,158,11,.06);
  opacity: 0; transform: translateY(24px);
  animation: rise .55s cubic-bezier(.22,1,.36,1) .35s forwards;
}
.m-bar {
  background: var(--surface-2); border-bottom: 1px solid var(--border);
  padding: 10px 14px; display: flex; align-items: center; gap: 7px;
}
.m-dot { width: 11px; height: 11px; border-radius: 50%; }
.m-dot.r { background: #ef4444; } .m-dot.y { background: #f59e0b; } .m-dot.g { background: #10b981; }
.m-url { flex: 1; font-size: 0.72rem; color: var(--text-3); text-align: center; }
.m-body { display: flex; min-height: 300px; background: var(--bg); }
.m-sidebar {
  width: 155px; flex-shrink: 0; background: var(--surface); border-right: 1px solid var(--border);
  padding: 14px 8px;
}
.m-brand { font-size: 0.9rem; font-weight: 800; padding: 8px 8px 14px; letter-spacing: .5px; }
.m-brand span { background: var(--grad-main); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.m-section { font-size: 0.58rem; color: var(--text-3); text-transform: uppercase; letter-spacing: .08em; padding: 0 8px; margin: 10px 0 4px; }
.m-item {
  display: flex; align-items: center; gap: 6px; padding: 6px 8px; border-radius: 6px;
  font-size: 0.72rem; color: var(--text-2); cursor: default;
}
.m-item.active { background: rgba(245,158,11,.12); color: var(--amber); }
.m-dot2 { width: 5px; height: 5px; border-radius: 50%; background: currentColor; opacity: .6; flex-shrink: 0; }
.m-main { flex: 1; padding: 16px 14px; overflow: hidden; }
.m-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.m-title { font-size: 0.78rem; font-weight: 700; }
.m-new { font-size: 0.62rem; background: var(--grad-main); color: #fff; padding: 3px 9px; border-radius: 4px; font-weight: 600; }
.m-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.m-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 8px;
  padding: 10px; position: relative; overflow: hidden;
}
.m-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; }
.m-card.c1::before { background: var(--grad-main); }
.m-card.c2::before { background: var(--grad-ai); }
.m-card.c3::before { background: var(--grad-seo); }
.m-card.c4::before { background: var(--grad-multi); }
.m-card-name { font-size: 0.7rem; font-weight: 700; margin-bottom: 2px; }
.m-card-role { font-size: 0.6rem; color: var(--text-3); margin-bottom: 7px; }
.m-card-stats { display: flex; gap: 8px; }
.m-stat-chip { font-size: 0.58rem; background: var(--bg); border: 1px solid var(--border); padding: 2px 6px; border-radius: 4px; color: var(--text-2); }
.m-stats-row { display: flex; gap: 6px; margin-top: 10px; }
.m-statb { background: var(--surface); border: 1px solid var(--border); border-radius: 6px; padding: 8px 10px; flex: 1; }
.m-statb-val { font-size: 0.9rem; font-weight: 800; }
.m-statb-val.amber { color: var(--amber); }
.m-statb-val.violet { color: var(--violet); }
.m-statb-val.green { color: var(--green); }
.m-statb-lbl { font-size: 0.58rem; color: var(--text-3); margin-top: 1px; }

/* ── STRIP ── */
.strip {
  background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 22px 0; overflow: hidden;
}
.strip-inner {
  display: flex; gap: 52px; white-space: nowrap;
  animation: scroll 28s linear infinite;
}
.strip-inner:hover { animation-play-state: paused; }
.strip-item { display: flex; align-items: center; gap: 10px; font-size: 0.92rem; color: var(--text-3); flex-shrink: 0; }
.strip-item span { color: var(--amber); }
@keyframes scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ── FEATURES ── */
.feat-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center;
}
.feat-grid.rev { direction: rtl; }
.feat-grid.rev > * { direction: ltr; }
.feat-eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.68rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 700;
  padding: 4px 12px; border-radius: 100px; margin-bottom: 18px;
}
.feat-eyebrow.amber { background: rgba(245,158,11,.1); border: 1px solid rgba(245,158,11,.25); color: var(--amber); }
.feat-eyebrow.violet { background: rgba(139,92,246,.1); border: 1px solid rgba(139,92,246,.25); color: var(--violet); }
.feat-eyebrow.cyan { background: rgba(6,182,212,.1); border: 1px solid rgba(6,182,212,.2); color: var(--cyan); }
.feat-eyebrow.rose { background: rgba(239,68,68,.1); border: 1px solid rgba(239,68,68,.2); color: var(--rose); }
.feat-eyebrow.green { background: rgba(16,185,129,.1); border: 1px solid rgba(16,185,129,.2); color: var(--green); }

.feat-body h3 {
  font-size: clamp(1.5rem, 2.8vw, 2rem); font-weight: 900; letter-spacing: -0.045em;
  line-height: 1.15; margin-bottom: 16px; text-wrap: balance;
}
.feat-body p { font-size: 0.95rem; color: var(--text-2); line-height: 1.8; margin-bottom: 24px; }
.feat-list { display: flex; flex-direction: column; gap: 10px; }
.feat-item {
  display: flex; align-items: flex-start; gap: 10px; font-size: 0.88rem; color: var(--text-2);
}
.feat-item::before { content: '✓'; color: var(--green); font-weight: 700; flex-shrink: 0; margin-top: 1px; }

/* ── VISUAL PANELS ── */
.panel {
  background: var(--surface); border: 1px solid var(--border-hi); border-radius: 16px;
  overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,.35);
}
.panel-head {
  background: var(--surface-2); border-bottom: 1px solid var(--border);
  padding: 10px 16px; display: flex; align-items: center; gap: 7px;
}
.panel-title { font-size: 0.75rem; font-weight: 600; color: var(--text-2); margin-left: 4px; }
.panel-body { padding: 20px; }

/* Profile panel */
.profile-hero-area {
  display: flex; align-items: center; gap: 16px; margin-bottom: 16px;
}
.profile-avatar {
  width: 54px; height: 54px; border-radius: 50%; flex-shrink: 0;
  background: var(--grad-main); display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; font-weight: 900; color: #fff;
}
.profile-name { font-size: 0.88rem; font-weight: 800; }
.profile-role { font-size: 0.7rem; color: var(--amber); font-weight: 600; margin-top: 2px; }
.profile-handle { font-size: 0.65rem; color: var(--text-3); margin-top: 2px; }
.profile-pills { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 14px; }
.profile-pill { font-size: 0.62rem; background: var(--bg); border: 1px solid var(--border); color: var(--text-2); padding: 3px 9px; border-radius: 100px; }
.profile-pill.hi { border-color: rgba(245,158,11,.35); color: var(--amber); }
.portfolio-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 7px; margin-top: 14px; }
.portfolio-card {
  border-radius: 8px; overflow: hidden; aspect-ratio: 4/3;
  border: 1px solid var(--border);
}
.portfolio-card-img {
  height: 100%; width: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
}
.portfolio-card-img.c1 { background: linear-gradient(135deg, rgba(245,158,11,.2), rgba(239,68,68,.15)); }
.portfolio-card-img.c2 { background: linear-gradient(135deg, rgba(139,92,246,.2), rgba(6,182,212,.15)); }
.portfolio-card-img.c3 { background: linear-gradient(135deg, rgba(16,185,129,.2), rgba(6,182,212,.15)); }

/* Multi-tenant panel */
.tenant-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.t-card {
  background: var(--bg); border: 1px solid var(--border); border-radius: 8px;
  padding: 12px; position: relative; overflow: hidden;
}
.t-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; }
.t-card.c1::before { background: var(--grad-main); }
.t-card.c2::before { background: var(--grad-ai); }
.t-card.c3::before { background: var(--grad-seo); }
.t-card.c4::before { background: var(--grad-multi); }
.t-name { font-size: 0.72rem; font-weight: 800; margin-bottom: 2px; }
.t-type { font-size: 0.62rem; color: var(--text-3); margin-bottom: 8px; }
.t-status {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 0.58rem; color: var(--green); font-weight: 600;
}
.t-status::before {
  content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--green);
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }
.tenant-plus {
  display: flex; align-items: center; justify-content: center;
  border: 1.5px dashed var(--border-hi); border-radius: 8px; padding: 12px;
  font-size: 0.7rem; color: var(--text-3); gap: 5px; cursor: pointer;
}
.tenant-plus-icon { font-size: 1.1rem; color: var(--amber); }

/* AI panel */
.ai-prompt {
  background: var(--bg); border: 1px solid var(--border); border-radius: 8px;
  padding: 12px 14px; font-size: 0.78rem; color: var(--text-2); margin-bottom: 10px;
  position: relative;
}
.ai-prompt::after {
  content: '✦ AI'; position: absolute; top: -8px; right: 12px;
  font-size: 0.62rem; color: var(--violet); background: var(--surface);
  padding: 2px 7px; border-radius: 4px; border: 1px solid rgba(139,92,246,.25);
}
.ai-output {
  background: rgba(139,92,246,.06); border: 1px solid rgba(139,92,246,.2);
  border-radius: 8px; padding: 12px 14px; font-size: 0.78rem; color: var(--text); line-height: 1.6;
}
.ai-cursor {
  display: inline-block; width: 2px; height: 13px; background: var(--violet);
  margin-left: 2px; animation: blink 1s step-end infinite; vertical-align: middle;
}
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: 0; } }
.ai-tags { display: flex; gap: 5px; flex-wrap: wrap; margin-top: 10px; }
.ai-tag { font-size: 0.62rem; background: rgba(139,92,246,.1); border: 1px solid rgba(139,92,246,.2); color: var(--violet); padding: 3px 8px; border-radius: 4px; }
.seo-bar-group { margin-top: 14px; display: flex; flex-direction: column; gap: 9px; }
.seo-row { display: flex; align-items: center; gap: 10px; }
.seo-label { font-size: 0.65rem; color: var(--text-3); width: 90px; flex-shrink: 0; }
.seo-track { flex: 1; height: 5px; background: var(--border); border-radius: 3px; overflow: hidden; }
.seo-fill { height: 100%; border-radius: 3px; background: var(--grad-main); }
.seo-val { font-size: 0.65rem; color: var(--text-2); width: 28px; text-align: right; flex-shrink: 0; }

/* SNS panel row */
.sns-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.sns-chip {
  display: flex; align-items: center; gap: 6px;
  background: var(--bg); border: 1px solid var(--border); border-radius: 8px;
  padding: 7px 12px; font-size: 0.7rem; color: var(--text-2);
}
.sns-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); flex-shrink: 0; }
.sns-dot.off { background: var(--border-hi); }

/* ── CTA ── */
.cta-section { background: var(--base); }
.cta-wrap {
  background-image: radial-gradient(70% 70% at 50% 0%, rgba(245,158,11,.1) 0%, transparent 100%);
  border: 1px solid var(--border); border-radius: 20px; padding: 72px 60px;
  text-align: center;
}
.cta-wrap h2 {
  font-size: clamp(1.9rem, 3.5vw, 2.8rem); font-weight: 900; letter-spacing: -0.05em;
  line-height: 1.12; margin-bottom: 16px; text-wrap: balance;
}
.cta-wrap h2 .grad { background: var(--grad-main); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.cta-wrap p { font-size: 1rem; color: var(--text-2); margin-bottom: 36px; max-width: 480px; margin-left: auto; margin-right: auto; line-height: 1.75; }
.cta-btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* ── ANIMATIONS ── */
/* CSS scroll-driven (Chrome 115+) — no JS required */
@supports (animation-timeline: scroll()) {
  .anim {
    opacity: 0; transform: translateY(24px);
    animation: anim-reveal linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 25%;
  }
}
@keyframes anim-reveal { to { opacity: 1; transform: none; } }
/* Fallback: if scroll() not supported, show content */
@supports not (animation-timeline: scroll()) {
  .anim { opacity: 1; transform: none; }
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .hero-grid, .feat-grid, .feat-grid.rev { grid-template-columns: 1fr; direction: ltr; }
  .feat-grid.rev > * { direction: ltr; }
  .m-sidebar { display: none; }
  .m-body { min-height: 220px; }
  section { padding: 72px 0; }
  .cta-wrap { padding: 44px 28px; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 20px; }
  .hero { padding: 72px 0 64px; }
  .portfolio-row { grid-template-columns: 1fr 1fr; }
  section { padding: 56px 0; }
  .strip-item { font-size: 0.82rem; }
}
@media (prefers-reduced-motion: reduce) {
  .anim, .hero-stack-word, .mockup, .strip-inner, .ai-cursor, .t-status::before {
    animation: none !important; opacity: 1 !important; transform: none !important;
    transition: none !important;
  }
}