/* ============================================================
   DevKorea Enhancement CSS v2.0
   Korean Freelance Portfolio - Premium Design Upgrade
   ============================================================ */

/* Dark system override */
body { background:#080d1b; color:#e8ecf7; }
.advantages,.services-preview,.portfolio-preview,.testimonials-section,.pricing-section,.contact-section,.process-section,.faq-section,.about-intro,.skills-section { background:#080d1b !important; }
.section-title,.advantage-title,.service-name,.portfolio-name,.pricing-name,.testimonial-info h4,.step-title,.info-title { color:#f8fafc !important; }
.section-desc,.advantage-desc,.service-desc,.portfolio-desc,.pricing-period,.testimonial-text,.step-desc,.info-desc { color:#b8c4d9 !important; }
.pricing-features li { color:#c8d3e8 !important; }
.pricing-features li.disabled { color:#6b7894 !important; }
.advantage-card,.service-card,.portfolio-card,.testimonial-card,.pricing-card,.step-content,.info-card,.contact-form { background:#111a2d !important; border:1px solid rgba(148,163,184,.13) !important; box-shadow:0 18px 48px rgba(0,0,0,.24) !important; }
.advantages-grid,.services-grid,.portfolio-grid,.pricing-grid,.testimonials-grid { align-items:stretch; gap:18px !important; }
.advantage-card,.service-card,.testimonial-card,.pricing-card { display:flex; flex-direction:column; height:100%; padding:22px 20px !important; }
.advantage-icon,.service-icon { margin-bottom:12px !important; }
.advantage-title,.service-name { font-size:1.05rem !important; margin-bottom:6px !important; }
.advantage-desc,.service-desc { font-size:0.86rem !important; line-height:1.55 !important; }
.advantage-number { font-size:2.8rem !important; top:10px !important; right:14px !important; }
.portfolio-card { display:flex; flex-direction:column; height:100%; }
.portfolio-info { padding:16px 18px 18px !important; flex:1; display:flex; flex-direction:column; }
.portfolio-name { font-size:1rem !important; margin-bottom:6px !important; }
.portfolio-desc { font-size:0.84rem !important; line-height:1.5 !important; margin-bottom:10px !important; flex:1; }
.portfolio-tech { margin-top:auto; }
.pricing-card { padding:24px 20px !important; min-height:100%; }
.pricing-icon { width:48px !important; height:48px !important; font-size:1.15rem !important; margin-bottom:12px !important; }
.pricing-name { font-size:1.1rem !important; margin-bottom:4px !important; }
.pricing-price { font-size:1.85rem !important; font-weight:900 !important; color:#e0e7ff !important; background:linear-gradient(135deg,#c7d2fe 0%,#93c5fd 100%); -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text; margin-bottom:2px !important; }
.pricing-period { font-size:0.8rem !important; color:#94a3b8 !important; margin-bottom:16px !important; }
.pricing-features { gap:6px !important; margin-bottom:18px !important; }
.pricing-features li { padding:5px 0 !important; font-size:0.84rem !important; border-bottom-color:rgba(148,163,184,.08) !important; }
.pricing-card.featured { transform:none !important; }
.pricing-card.featured:hover { transform:translateY(-6px) !important; }
.testimonial-card { padding:22px 20px !important; }
.testimonial-text { font-size:0.86rem !important; line-height:1.6 !important; margin-bottom:16px !important; }
.testimonial-info h4 { font-size:0.88rem !important; }
.testimonial-info p { font-size:0.78rem !important; color:#8b98b0 !important; }
.section-container,
.container,
.hero-container,
.nav-container,
.footer-container,
.cta-container,
.banner-container { max-width:1280px; }
section:not(.hero):not(.page-banner) { padding-top:56px; padding-bottom:56px; }
.section-header { margin-bottom:28px; }
.section-tag { font-size:0.78rem; padding:5px 12px; margin-bottom:10px; }
.section-title { font-size:2rem !important; line-height:1.25 !important; margin-bottom:10px !important; }
.section-desc { font-size:0.95rem !important; line-height:1.55 !important; max-width:560px; }
.section-cta { margin-top:32px; }
.services-full-grid { gap:20px !important; }
.service-full-card { padding:26px 26px !important; }

@media (max-width: 768px) {
  html { font-size:15px; }
  .hero { min-height:auto; padding:110px 0 70px; }
  .hero-container { display:block !important; }
  .hero-content,.hero-visual { width:100%; max-width:none; }
  .hero-title { font-size:2.45rem !important; }
  .hero-visual { margin-top:34px; }
  .services-grid,.services-full-grid,.advantages-grid,.portfolio-grid,.pricing-grid,.testimonials-grid { grid-template-columns:1fr !important; }
  .process-timeline { display:block !important; }
  .process-timeline::before { display:none !important; }
  .process-step { display:grid !important; grid-template-columns:52px minmax(0,1fr) !important; width:100% !important; gap:14px !important; }
  .step-content { min-width:0 !important; width:100% !important; padding:20px !important; }
  .step-title,.step-desc { word-break:keep-all !important; overflow-wrap:anywhere; writing-mode:horizontal-tb !important; }
  .contact-grid { grid-template-columns:1fr !important; gap:24px !important; }
  .methods-grid-compact { grid-template-columns:1fr !important; }
}

/* ============================================================
   LOGO UPGRADE
   ============================================================ */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-svg-wrap {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}

.logo-text-wrap {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-main {
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: #ffffff;
  transition: all 0.3s ease;
}

.logo-sub {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  transition: all 0.3s ease;
}

.navbar.scrolled .logo-main {
  color: #1a1a2e;
}

.navbar.scrolled .logo-sub {
  color: rgba(26,26,46,0.45);
}

/* ============================================================
   GLOBAL NAV ICON HIDE (cleaner look)
   ============================================================ */
.nav-link > .fas, .nav-link > .fab {
  display: none;
}

/* ============================================================
   HERO SECTION ENHANCEMENT
   ============================================================ */
.hero-container { max-width:1280px !important; padding:100px 20px 64px !important; gap:36px !important; }
.hero-title { font-size:3.2rem !important; margin-bottom:14px !important; line-height:1.12 !important; }
.hero-subtitle { font-size:1.2rem !important; margin-bottom:12px !important; }
.hero-desc { font-size:0.95rem !important; line-height:1.6 !important; margin-bottom:24px !important; color:rgba(255,255,255,0.78) !important; }
.hero-badge { font-size:0.78rem !important; padding:6px 14px !important; margin-bottom:16px !important; }
.hero-actions { margin-bottom:28px !important; gap:12px !important; }
.hero-actions .btn-lg { padding:12px 24px !important; font-size:0.92rem !important; }
.hero-trust-row { margin-top:14px !important; gap:8px !important; }
.hero-trust-row span { font-size:0.76rem !important; padding:6px 11px !important; }
.hero-stats { margin-top:4px; }
.stat-item { padding:0 18px !important; }
.stat-number { font-size:1.55rem !important; }
.stat-label { font-size:0.78rem !important; }
.hero-quick-facts { display:flex; flex-wrap:wrap; gap:14px; margin-top:16px; }
.quick-fact { display:inline-flex; align-items:center; gap:7px; font-size:0.82rem; color:rgba(255,255,255,0.72); }
.quick-fact i { color:#8ea0ff; font-size:0.85rem; }

.hero-title .text-gradient {
  background: linear-gradient(135deg, #667eea 0%, #a78bfa 50%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-title {
  background: linear-gradient(135deg, #ffffff 0%, rgba(255,255,255,0.75) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Contact section - unified dark theme */
.contact-grid { gap:28px !important; align-items:stretch !important; }
.info-card-modern,
.contact-form-wrapper {
  background:#111a2d !important;
  border:1px solid rgba(148,163,184,.14) !important;
  box-shadow:0 18px 48px rgba(0,0,0,.24) !important;
  padding:24px !important;
}
.info-title { font-size:1.25rem !important; margin-bottom:8px !important; }
.info-desc { font-size:0.88rem !important; margin-bottom:18px !important; line-height:1.55 !important; }
.contact-channels-direct { display:flex; flex-direction:column; gap:10px; margin-bottom:18px; }
.channel-link {
  display:flex; align-items:center; gap:12px;
  padding:12px 14px; border-radius:12px;
  background:rgba(255,255,255,0.04);
  border:1px solid rgba(148,163,184,0.12);
  transition:all 0.25s ease;
  text-decoration:none;
}
.channel-link:hover {
  background:rgba(91,110,245,0.12);
  border-color:rgba(142,160,255,0.35);
  transform:translateX(3px);
}
.channel-link .channel-icon {
  width:38px; height:38px; border-radius:10px;
  display:flex; align-items:center; justify-content:center;
  font-size:1rem; flex-shrink:0;
}
.channel-link.telegram .channel-icon { background:linear-gradient(135deg,#0088cc,#25a3e1); color:#fff; }
.channel-link.email .channel-icon { background:linear-gradient(135deg,#6366f1,#8b5cf6); color:#fff; }
.channel-link .channel-text h4 { font-size:0.9rem; font-weight:700; color:#f1f5f9; margin-bottom:2px; }
.channel-link .channel-text p { font-size:0.78rem; color:#94a3b8; margin:0; }
.channel-link .channel-text .channel-handle { font-size:0.82rem; color:#93c5fd; font-weight:600; }
.contact-form-highlight { margin-bottom:14px !important; gap:8px !important; }
.contact-form-highlight .highlight-item,
.contact-chip {
  background:rgba(91,110,245,0.12) !important;
  color:#dbeafe !important;
  border:1px solid rgba(142,160,255,0.18);
  font-size:0.78rem !important;
  padding:6px 11px !important;
}
.contact-form-highlight .highlight-item i { color:#93c5fd !important; }
.contact-form { gap:14px !important; }
.form-label { font-size:0.82rem !important; color:#cbd5e1 !important; margin-bottom:4px !important; }
.form-label .fas { color:#8ea0ff !important; }
.form-input,.form-select,.form-textarea {
  background:#0c1324 !important;
  border:1px solid rgba(148,163,184,0.18) !important;
  color:#e8ecf7 !important;
  padding:10px 13px !important;
  font-size:0.88rem !important;
}
.form-input::placeholder,.form-textarea::placeholder { color:#64748b !important; }
.form-input:focus,.form-select:focus,.form-textarea:focus {
  border-color:#6366f1 !important;
  background:#0f172a !important;
  box-shadow:0 0 0 3px rgba(99,102,241,0.15) !important;
}
.form-textarea { min-height:110px !important; }
.working-hours {
  background:rgba(91,110,245,0.08) !important;
  border:1px solid rgba(142,160,255,0.16) !important;
  padding:12px 14px !important;
  margin-top:0 !important;
}
.working-hours h4 { color:#e2e8f0 !important; font-size:0.86rem !important; }
.working-hours p { color:#94a3b8 !important; font-size:0.8rem !important; }
.working-hours .hours-note { color:#64748b !important; }
.hours-icon { color:#93c5fd !important; }

/* Telegram 상담 — 아래쪽 */
.consult-widget { bottom: 28px !important; right: 22px !important; gap: 0; z-index: 9996; }
.consult-panel { display:none !important; }
.consult-fab {
  width:auto !important; height:auto !important;
  border-radius:999px !important;
  padding:11px 16px 11px 13px !important;
  gap:8px;
  text-decoration:none;
  background:linear-gradient(135deg,#0088cc,#25a3e1) !important;
  box-shadow:0 6px 24px rgba(0,136,204,0.4) !important;
}
.consult-fab:hover { transform:translateY(-2px) scale(1.02) !important; }
.consult-fab::before { display:none !important; }
.consult-fab .consult-label {
  position:static !important; opacity:1 !important;
  transform:none !important; background:transparent !important;
  box-shadow:none !important; padding:0 !important;
  color:#fff !important; font-size:0.82rem !important; font-weight:700 !important;
  pointer-events:auto !important;
}
.consult-fab .consult-label::after { display:none !important; }
.consult-fab svg { width:20px !important; height:20px !important; flex-shrink:0; fill:#fff; color:#fff; }
.consult-badge { display:none !important; }
.portfolio-image { height:180px !important; }
.methods-grid-compact { grid-template-columns:repeat(2,1fr) !important; max-width:760px; margin:0 auto; gap:18px !important; }
.method-card-direct { padding:22px 20px !important; }
.method-card-title { font-size:1.05rem !important; }
.method-card-desc { font-size:0.84rem !important; line-height:1.55 !important; margin-bottom:12px !important; }
.contact-methods-section,
.contact-form-section { background:#080d1b !important; padding:48px 0 !important; }
.method-card {
  background:#111a2d !important;
  border:1px solid rgba(148,163,184,.13) !important;
  box-shadow:0 12px 32px rgba(0,0,0,.2) !important;
}
.method-card-title { color:#f1f5f9 !important; }
.method-card-desc { color:#94a3b8 !important; }
.method-card-action { color:#93c5fd !important; }
.sidebar-card,
.sidebar-working-hours {
  background:#111a2d !important;
  border:1px solid rgba(148,163,184,.13) !important;
}
.sidebar-card h3,
.form-title,
.sidebar-working-hours h4 { color:#f1f5f9 !important; }
.sidebar-card p,
.form-desc,
.hours-row span:first-child { color:#94a3b8 !important; }
.hours-row span:last-child { color:#e2e8f0 !important; }
.consult-fab { display:inline-flex !important; align-items:center !important; color:#fff !important; }
.advantage-icon { width:48px !important; height:48px !important; font-size:1.15rem !important; margin-bottom:12px !important; }
.code-cursor {
  display: inline-block;
  width: 2px;
  height: 1em;
  background: #c3e88d;
  margin-left: 2px;
  vertical-align: text-bottom;
  animation: blink 1s step-end infinite;
}

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

/* Hero stat numbers counter animation */
.stat-number {
  background: linear-gradient(135deg, #ffffff, #a5b4fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================================
   SERVICES SECTION - ENHANCED + 한국 수요 항목
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* 6-column for expanded services */
.services-full-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-full-card {
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 20px;
  padding: 36px 32px;
  transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.service-full-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--card-accent, linear-gradient(90deg, #667eea, #764ba2));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.service-full-card:hover::before {
  transform: scaleX(1);
}

.service-full-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.12);
  border-color: transparent;
}

.service-full-card.hot-demand {
  border-color: rgba(255, 107, 107, 0.2);
  background: linear-gradient(135deg, #fff 0%, #fff8f8 100%);
}

.service-full-card.hot-demand::after {
  content: '🔥 인기';
  position: absolute;
  top: 18px;
  right: 18px;
  background: linear-gradient(135deg, #ff6b6b, #ff8e53);
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
  letter-spacing: 0.02em;
}

.service-full-card.new-service {
  border-color: rgba(67, 97, 238, 0.2);
}

.service-full-card.new-service::after {
  content: 'NEW';
  position: absolute;
  top: 18px;
  right: 18px;
  background: linear-gradient(135deg, #4361ee, #7b8ff7);
  color: white;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 50px;
  letter-spacing: 0.08em;
}

.service-full-badge {
  display: none; /* hide raw category text */
}

.service-full-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: #ffffff;
  margin-bottom: 22px;
}

/* Per-service icon gradients */
.service-icon-web    { background: linear-gradient(135deg, #667eea, #764ba2); }
.service-icon-software { background: linear-gradient(135deg, #4facfe, #00f2fe); }
.service-icon-script { background: linear-gradient(135deg, #43e97b, #38f9d7); }
.service-icon-design { background: linear-gradient(135deg, #f093fb, #f5576c); }
.service-icon-mobile { background: linear-gradient(135deg, #fa709a, #fee140); }
.service-icon-infra  { background: linear-gradient(135deg, #a18cd1, #fbc2eb); }
.service-icon-kakao  { background: linear-gradient(135deg, #FEE500, #f5a623); }
.service-icon-naver  { background: linear-gradient(135deg, #03C75A, #02a34b); }
.service-icon-auto   { background: linear-gradient(135deg, #6C63FF, #4361ee); }
.service-icon-tool   { background: linear-gradient(135deg, #f7971e, #ffd200); }

.service-full-name {
  font-size: 1.2rem;
  font-weight: 800;
  color: #1a1a2e;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.service-full-desc {
  font-size: 0.92rem;
  color: #6b7280;
  line-height: 1.75;
  margin-bottom: 20px;
}

.features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.features-list li {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.82rem;
  color: #6b7280;
}

.features-list li .fas {
  color: #4361ee;
  font-size: 0.75rem;
  flex-shrink: 0;
}

.features-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.service-full-btn {
  border-radius: 50px !important;
  font-size: 0.88rem !important;
}

/* ============================================================
   PORTFOLIO PAGE - PREMIUM CARD REDESIGN
   ============================================================ */
.portfolio-full-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.portfolio-full-card {
  background: #ffffff;
  border-radius: 24px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(0,0,0,0.06);
  cursor: pointer;
  position: relative;
}

.portfolio-full-card:hover {
  transform: translateY(-12px) scale(1.01);
  box-shadow: 0 32px 80px rgba(0,0,0,0.15);
  border-color: transparent;
}

/* Mock UI Preview Images instead of plain gradients */
.portfolio-full-image {
  height: 260px;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

/* Glassmorphism overlay on hover */
.portfolio-full-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 30, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.35s ease;
}

.portfolio-full-card:hover .portfolio-full-overlay {
  opacity: 1;
}

.portfolio-view-btn {
  padding: 12px 28px;
  border-radius: 50px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.3);
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  letter-spacing: 0.02em;
}

.portfolio-view-btn:hover {
  background: rgba(255,255,255,0.25);
  transform: scale(1.05);
}

.portfolio-full-category {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 14px;
  border-radius: 50px;
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
  border: 1px solid rgba(255,255,255,0.2);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  z-index: 2;
}

/* Mock UI Preview — unique per project type */
.mock-web {
  background: #0f172a;
  position: relative;
}

.mock-software {
  background: #0c1a38;
  position: relative;
}

.mock-script {
  background: #0a1628;
  position: relative;
}

.mock-design {
  background: #1a0a2e;
  position: relative;
}

.mock-mobile {
  background: #0f1923;
  position: relative;
}

.mock-infra {
  background: #0d1f12;
  position: relative;
}

/* ============================================================
   REALISTIC MOCK UI — Project Case Screenshots
   ============================================================ */

/* Common realistic mock base */
.mock-ui {
  position: absolute;
  inset: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* ====== REALISTIC BROWSER CHROME ====== */
.mock-browser-bar {
  position: relative;
  height: 38px;
  background: rgba(30,30,50,0.95);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  padding: 0 12px;
  gap: 6px;
  flex-shrink: 0;
}

.mock-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}
.mock-dot.r { background: #ff5f57; }
.mock-dot.y { background: #febc2e; }
.mock-dot.g { background: #28c840; }

.mock-url-bar {
  flex: 1;
  height: 22px;
  background: rgba(255,255,255,0.1);
  border-radius: 11px;
  margin: 0 8px;
  display: flex;
  align-items: center;
  padding: 0 10px;
  gap: 6px;
}

.mock-url-icon {
  width: 12px;
  height: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mock-url-icon svg {
  width: 12px;
  height: 12px;
}

.mock-url-text {
  font-size: 0.62rem;
  color: rgba(255,255,255,0.45);
  font-family: -apple-system, 'Segoe UI', sans-serif;
  white-space: nowrap;
  overflow: hidden;
}

.mock-url-lock {
  font-size: 0.55rem;
  color: rgba(255,255,255,0.35);
}

/* ====== MOCK WEBSITE CONTENT ====== */
.mock-web-content {
  flex: 1;
  overflow: hidden;
  background: #f8f9fb;
  display: flex;
  flex-direction: column;
}

/* Mini navigation inside mock */
.mock-nav {
  height: 28px;
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  padding: 0 10px;
  gap: 6px;
  flex-shrink: 0;
}

.mock-nav-logo {
  font-size: 0.58rem;
  font-weight: 800;
  color: #4361ee;
  letter-spacing: -0.02em;
}

.mock-nav-links {
  display: flex;
  gap: 8px;
  margin-left: auto;
}

.mock-nav-link {
  font-size: 0.48rem;
  color: #6b7280;
  white-space: nowrap;
}

.mock-nav-btn {
  font-size: 0.45rem;
  background: #4361ee;
  color: white;
  padding: 3px 8px;
  border-radius: 4px;
  white-space: nowrap;
}

/* Hero section inside mock */
.mock-hero {
  height: 72px;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  display: flex;
  align-items: center;
  padding: 0 12px;
  position: relative;
  flex-shrink: 0;
}

.mock-hero-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-width: 55%;
}

.mock-hero-title {
  font-size: 0.68rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
}

.mock-hero-subtitle {
  font-size: 0.48rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.3;
}

.mock-hero-btn {
  display: inline-flex;
  align-items: center;
  font-size: 0.42rem;
  background: #4361ee;
  color: white;
  padding: 4px 10px;
  border-radius: 4px;
  margin-top: 4px;
  width: fit-content;
}

.mock-hero-img {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 80px;
  height: 52px;
  border-radius: 6px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mock-hero-img-icon {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.3);
}

/* Product grid inside mock */
.mock-products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 8px 10px;
  flex-shrink: 0;
}

.mock-product-card {
  background: #ffffff;
  border-radius: 6px;
  border: 1px solid #e5e7eb;
  overflow: hidden;
}

.mock-product-img {
  height: 38px;
  position: relative;
}

.mock-product-img-ecom {
  background: linear-gradient(135deg, #f8f0ff 0%, #eee5ff 100%);
}

.mock-product-img-realty {
  background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
}

.mock-product-img-lms {
  background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
}

.mock-product-img-generic {
  background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
}

.mock-product-img-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 0.8rem;
  opacity: 0.6;
}

.mock-product-info {
  padding: 4px 5px;
}

.mock-product-name {
  font-size: 0.42rem;
  font-weight: 700;
  color: #1a1a2e;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
}

.mock-product-price {
  font-size: 0.38rem;
  color: #4361ee;
  font-weight: 800;
  margin-top: 1px;
}

.mock-product-rating {
  font-size: 0.32rem;
  color: #fbbf24;
  margin-top: 2px;
}

/* Footer inside mock */
.mock-footer-mini {
  height: 20px;
  background: #1a1a2e;
  display: flex;
  align-items: center;
  padding: 0 10px;
  margin-top: auto;
  flex-shrink: 0;
}

.mock-footer-text {
  font-size: 0.38rem;
  color: rgba(255,255,255,0.35);
}

/* ====== MOCK DASHBOARD (CRM/SaaS) ====== */
.mock-dashboard {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #f0f2f5;
  display: flex;
  flex-direction: column;
}

.mock-dash-sidebar {
  width: 38px;
  background: #1e1e32;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 8px;
  gap: 4px;
  flex-shrink: 0;
  border-right: 1px solid rgba(255,255,255,0.06);
}

.mock-dash-sidebar-icon {
  width: 22px;
  height: 22px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.55rem;
  color: rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.06);
}

.mock-dash-sidebar-icon.active {
  background: rgba(67,97,238,0.35);
  color: rgba(255,255,255,0.85);
}

.mock-dash-sidebar-icon svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
}

.mock-dash-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 8px;
  overflow: hidden;
}

/* Dashboard top bar */
.mock-dash-topbar {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
  flex-shrink: 0;
}

.mock-dash-title {
  font-size: 0.62rem;
  font-weight: 800;
  color: #1a1a2e;
}

.mock-dash-search {
  flex: 1;
  height: 18px;
  background: #ffffff;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  margin-left: 8px;
  display: flex;
  align-items: center;
  padding: 0 6px;
  gap: 4px;
}

.mock-dash-search-icon {
  font-size: 0.45rem;
  color: #9ca3af;
}

.mock-dash-search-text {
  font-size: 0.4rem;
  color: #d1d5db;
}

.mock-dash-avatar {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4361ee, #7b8ff7);
  margin-left: auto;
}

/* Dashboard stats row */
.mock-dash-stats {
  display: flex;
  gap: 6px;
  margin-bottom: 8px;
  flex-shrink: 0;
}

.mock-dash-stat-card {
  flex: 1;
  background: #ffffff;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  padding: 6px 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  position: relative;
  overflow: hidden;
}

.mock-dash-stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
}

.mock-dash-stat-card.sc-purple::before { background: linear-gradient(90deg, #667eea, #764ba2); }
.mock-dash-stat-card.sc-green::before { background: linear-gradient(90deg, #43e97b, #38f9d7); }
.mock-dash-stat-card.sc-orange::before { background: linear-gradient(90deg, #f093fb, #f5576c); }
.mock-dash-stat-card.sc-blue::before { background: linear-gradient(90deg, #4facfe, #00f2fe); }

.mock-dash-stat-label {
  font-size: 0.38rem;
  color: #9ca3af;
  font-weight: 600;
}

.mock-dash-stat-value {
  font-size: 0.62rem;
  font-weight: 900;
  color: #1a1a2e;
}

.mock-dash-stat-change {
  font-size: 0.32rem;
  font-weight: 700;
}

.mock-dash-stat-change.up { color: #10b981; }
.mock-dash-stat-change.down { color: #ef4444; }

/* Dashboard chart */
.mock-dash-chart {
  background: #ffffff;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  padding: 6px 8px;
  flex-shrink: 0;
  margin-bottom: 6px;
}

.mock-dash-chart-title {
  font-size: 0.42rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 4px;
}

.mock-dash-chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 50px;
}

.mock-dash-bar {
  flex: 1;
  border-radius: 2px 2px 0 0;
  min-width: 8px;
}

.mock-dash-bar.bar-purple { background: linear-gradient(to top, rgba(102,126,234,0.6), rgba(118,75,162,0.4)); }
.mock-dash-bar.bar-green { background: linear-gradient(to top, rgba(67,233,123,0.6), rgba(56,249,215,0.4)); }
.mock-dash-bar.bar-blue { background: linear-gradient(to top, rgba(79,172,254,0.6), rgba(0,242,254,0.4)); }
.mock-dash-bar.bar-orange { background: linear-gradient(to top, rgba(240,147,251,0.6), rgba(245,87,108,0.4)); }

/* Dashboard table */
.mock-dash-table {
  background: #ffffff;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  overflow: hidden;
  flex-shrink: 0;
}

.mock-dash-table-header {
  display: flex;
  background: #f8f9fb;
  padding: 5px 8px;
  gap: 4px;
  border-bottom: 1px solid #e5e7eb;
}

.mock-dash-th {
  font-size: 0.38rem;
  font-weight: 700;
  color: #6b7280;
  flex: 1;
}

.mock-dash-th.wide { flex: 2; }

.mock-dash-table-row {
  display: flex;
  padding: 5px 8px;
  gap: 4px;
  border-bottom: 1px solid #f3f4f6;
}

.mock-dash-td {
  font-size: 0.38rem;
  color: #374151;
  flex: 1;
}

.mock-dash-td.wide { flex: 2; }

.mock-dash-td.accent {
  color: #4361ee;
  font-weight: 700;
}

.mock-dash-td.status {
  display: inline-flex;
  font-size: 0.32rem;
  padding: 2px 6px;
  border-radius: 3px;
  font-weight: 700;
}

.mock-dash-td.status.active { background: #dcfce7; color: #166534; }
.mock-dash-td.status.pending { background: #fef3c7; color: #92400e; }

/* ====== MOCK TERMINAL (Script projects) ====== */
.mock-terminal {
  background: #0d1117;
  position: absolute;
  inset: 0;
  padding: 10px;
  font-family: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;
  font-size: 0.65rem;
  line-height: 1.75;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.mock-term-header {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 6px;
  flex-shrink: 0;
}

.mock-term-tab {
  font-size: 0.52rem;
  color: rgba(255,255,255,0.4);
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(255,255,255,0.06);
}

.mock-term-tab.active {
  color: rgba(255,255,255,0.85);
  background: rgba(255,255,255,0.12);
}

.mock-term-line {
  display: flex;
  gap: 4px;
  flex-shrink: 0;
}

.mock-term-line .prompt { color: #43e97b; font-weight: 700; }
.mock-term-line .cmd { color: #e2e8f0; }
.mock-term-line .output { color: rgba(226,232,240,0.55); }
.mock-term-line .success { color: #43e97b; }
.mock-term-line .warning { color: #fbbf24; }
.mock-term-line .highlight { color: #ffd200; }
.mock-term-line .error { color: #f87171; }
.mock-term-line .dim { color: rgba(255,255,255,0.25); }

/* Terminal progress bar */
.mock-term-progress {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.mock-term-progress-bar {
  width: 80px;
  height: 5px;
  background: rgba(255,255,255,0.1);
  border-radius: 3px;
  overflow: hidden;
}

.mock-term-progress-fill {
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, #43e97b, #38f9d7);
}

.mock-term-progress-text {
  font-size: 0.52rem;
  color: rgba(255,255,255,0.45);
}

/* Terminal data table */
.mock-term-data {
  margin-top: 4px;
  flex-shrink: 0;
}

.mock-term-data-header {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 3px;
  margin-bottom: 3px;
}

.mock-term-col {
  font-size: 0.48rem;
  color: rgba(255,255,255,0.35);
  font-weight: 700;
}

.mock-term-data-row {
  display: flex;
  gap: 8px;
}

.mock-term-val {
  font-size: 0.48rem;
  color: rgba(226,232,240,0.65);
}

.mock-term-val.accent { color: #43e97b; font-weight: 700; }

/* ====== MOCK FIGMA (Design projects) ====== */
.mock-figma {
  background: #2c2c2c;
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
}

.mock-figma-toolbar {
  height: 24px;
  background: #383838;
  display: flex;
  align-items: center;
  padding: 0 8px;
  gap: 6px;
  flex-shrink: 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.mock-figma-tool {
  width: 14px;
  height: 14px;
  border-radius: 3px;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.45rem;
  color: rgba(255,255,255,0.5);
}

.mock-figma-tool.active {
  background: rgba(67,97,238,0.3);
  color: rgba(255,255,255,0.8);
}

.mock-figma-filename {
  font-size: 0.45rem;
  color: rgba(255,255,255,0.4);
  margin-left: 8px;
}

.mock-figma-main {
  flex: 1;
  display: flex;
  overflow: hidden;
}

/* Figma layers panel */
.mock-figma-layers {
  width: 80px;
  background: #252525;
  border-right: 1px solid rgba(255,255,255,0.06);
  padding: 6px;
  flex-shrink: 0;
}

.mock-figma-layers-title {
  font-size: 0.4rem;
  color: rgba(255,255,255,0.45);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.mock-figma-layer {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 3px 0;
}

.mock-figma-layer-icon {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  flex-shrink: 0;
}

.mock-figma-layer-name {
  font-size: 0.38rem;
  color: rgba(255,255,255,0.55);
}

/* Figma canvas with phone mockup */
.mock-figma-canvas {
  flex: 1;
  background: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.mock-phone-frame {
  width: 72px;
  height: 130px;
  border: 2px solid rgba(255,255,255,0.18);
  border-radius: 14px;
  background: #ffffff;
  position: relative;
  overflow: hidden;
}

.mock-phone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 6px;
  background: #1a1a1a;
  border-radius: 0 0 6px 6px;
}

.mock-phone-screen {
  padding: 14px 6px 6px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.mock-phone-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 3px;
}

.mock-phone-header-title {
  font-size: 0.38rem;
  font-weight: 800;
  color: #1a1a2e;
}

.mock-phone-header-icon {
  font-size: 0.45rem;
  color: #4361ee;
}

.mock-phone-card {
  background: #f8f9fb;
  border-radius: 4px;
  padding: 4px 5px;
  border: 1px solid #e5e7eb;
}

.mock-phone-card-title {
  font-size: 0.32rem;
  font-weight: 700;
  color: #374151;
}

.mock-phone-card-value {
  font-size: 0.38rem;
  font-weight: 900;
  color: #4361ee;
  margin-top: 1px;
}

.mock-phone-card-sub {
  font-size: 0.28rem;
  color: #9ca3af;
}

.mock-phone-nav-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 14px;
  background: #ffffff;
  border-top: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 8px;
}

.mock-phone-nav-item {
  font-size: 0.28rem;
  color: #9ca3af;
}

.mock-phone-nav-item.active {
  color: #4361ee;
  font-weight: 700;
}

/* Figma properties panel */
.mock-figma-props {
  width: 65px;
  background: #252525;
  border-left: 1px solid rgba(255,255,255,0.06);
  padding: 6px;
  flex-shrink: 0;
}

.mock-figma-props-title {
  font-size: 0.4rem;
  color: rgba(255,255,255,0.45);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.mock-figma-color-row {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 4px;
}

.mock-figma-color-swatch {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  border: 1px solid rgba(255,255,255,0.1);
}

.mock-figma-color-hex {
  font-size: 0.36rem;
  color: rgba(255,255,255,0.4);
  font-family: monospace;
}

.mock-figma-prop-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 3px;
}

.mock-figma-prop-label {
  font-size: 0.36rem;
  color: rgba(255,255,255,0.35);
}

.mock-figma-prop-value {
  font-size: 0.36rem;
  color: rgba(255,255,255,0.55);
  font-family: monospace;
}

/* ====== Project result badge ====== */
.mock-result-badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 0.52rem;
  font-weight: 700;
  z-index: 3;
  backdrop-filter: blur(4px);
}

.mock-result-badge.badge-green {
  background: rgba(16,185,129,0.15);
  color: #10b981;
  border: 1px solid rgba(16,185,129,0.25);
}

.mock-result-badge.badge-blue {
  background: rgba(67,97,238,0.15);
  color: #7b8ff7;
  border: 1px solid rgba(67,97,238,0.25);
}

.mock-result-badge.badge-purple {
  background: rgba(102,126,234,0.15);
  color: #a78bfa;
  border: 1px solid rgba(102,126,234,0.25);
}

.mock-result-badge.badge-yellow {
  background: rgba(251,191,36,0.15);
  color: #fbbf24;
  border: 1px solid rgba(251,191,36,0.25);
}

/* ====== Dark variant backgrounds per project ====== */
.mock-web {
  background: #f8f9fb;
  position: relative;
}

.mock-software {
  background: #f0f2f5;
  position: relative;
}

.mock-script {
  background: #0d1117;
  position: relative;
}

.mock-design {
  background: #2c2c2c;
  position: relative;
}

.mock-mobile {
  background: #0f1923;
  position: relative;
}

.mock-infra {
  background: #0d1f12;
  position: relative;
}

/* Portfolio card info section */
.portfolio-full-info {
  padding: 24px;
}

.portfolio-full-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.portfolio-year {
  font-size: 0.8rem;
  color: #9ca3af;
  display: flex;
  align-items: center;
  gap: 5px;
}

.portfolio-full-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: #1a1a2e;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.portfolio-full-desc {
  font-size: 0.87rem;
  color: #6b7280;
  line-height: 1.7;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.portfolio-full-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tech-tag {
  padding: 4px 10px;
  background: rgba(67, 97, 238, 0.08);
  color: #4361ee;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1px solid rgba(67,97,238,0.1);
}

/* Filter tabs */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 10px 22px;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 600;
  background: rgba(0,0,0,0.04);
  color: #6b7280;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover {
  background: rgba(67,97,238,0.08);
  color: #4361ee;
}

.filter-btn.active {
  background: #4361ee;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(67,97,238,0.35);
}

/* ============================================================
   ONLINE CONSULTATION WIDGET (RIGHT SIDE FLOATING)
   ============================================================ */
.consult-widget {
  position: fixed;
  bottom: 28px;
  right: 22px;
  z-index: 9996;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

/* Main floating button */
.consult-fab {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4361ee, #7b8ff7);
  box-shadow: 0 6px 24px rgba(67,97,238,0.45), 0 2px 8px rgba(0,0,0,0.15);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
}

.consult-fab:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 30px rgba(67,97,238,0.55), 0 4px 12px rgba(0,0,0,0.2);
}

.consult-fab svg {
  width: 26px;
  height: 26px;
  fill: #ffffff;
  transition: transform 0.3s ease;
}

.consult-fab.open svg {
  transform: rotate(45deg);
}

/* Pulse animation ring */
.consult-fab::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(67,97,238,0.4);
  animation: consultPulse 2.5s ease-out infinite;
}

@keyframes consultPulse {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* Tooltip label */
.consult-label {
  position: absolute;
  right: 68px;
  top: 50%;
  transform: translateY(-50%);
  background: #1a1a2e;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 8px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.consult-label::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -6px;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: #1a1a2e;
  border-right: 0;
}

.consult-fab:hover .consult-label,
.consult-fab:focus .consult-label {
  opacity: 1;
  right: 72px;
}

/* Expanded options panel */
.consult-panel {
  display: flex;
  flex-direction: column;
  gap: 10px;
  opacity: 0;
  transform: translateY(16px) scale(0.95);
  pointer-events: none;
  transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform-origin: bottom right;
}

.consult-panel.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}

.consult-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px 12px 14px;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
  text-decoration: none;
  transition: all 0.25s ease;
  min-width: 190px;
  border: 1px solid rgba(0,0,0,0.06);
}

.consult-option:hover {
  transform: translateX(-4px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.16);
}

.consult-option-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}

.consult-option-icon.kakao { background: #FEE500; color: #3A1D00; }
.consult-option-icon.telegram { background: linear-gradient(135deg, #0088cc, #25a3e1); color: white; }
.consult-option-icon.email { background: linear-gradient(135deg, #4361ee, #7b8ff7); color: white; }

.consult-option-text {
  flex: 1;
}

.consult-option-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #1a1a2e;
  display: block;
  line-height: 1.2;
}

.consult-option-desc {
  font-size: 0.75rem;
  color: #9ca3af;
  display: block;
  margin-top: 2px;
}

.consult-option-arrow {
  color: #d1d5db;
  font-size: 0.7rem;
  transition: all 0.2s ease;
}

.consult-option:hover .consult-option-arrow {
  color: #4361ee;
  transform: translateX(3px);
}

/* Badge on FAB */
.consult-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 18px;
  height: 18px;
  background: #ef4444;
  color: white;
  border-radius: 50%;
  font-size: 0.65rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
  animation: badgePop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes badgePop {
  0% { transform: scale(0); }
  100% { transform: scale(1); }
}

/* ============================================================
   HOMEPAGE PORTFOLIO PREVIEW - CARD UPGRADE
   ============================================================ */
.portfolio-card {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(0,0,0,0.05);
}

.portfolio-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 28px 70px rgba(0,0,0,0.13);
}

.portfolio-info {
  padding: 20px 24px 24px;
}

.portfolio-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: #1a1a2e;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.portfolio-desc {
  font-size: 0.87rem;
  color: #6b7280;
  line-height: 1.65;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.portfolio-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

/* ============================================================
   PAGE BANNER ENHANCEMENT
   ============================================================ */
.page-banner {
  background: linear-gradient(135deg, #0f0c29 0%, #1a1a2e 40%, #16213e 70%, #0f3460 100%);
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}

.page-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(67,97,238,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.banner-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 18px;
  border-radius: 50px;
  background: rgba(67,97,238,0.15);
  border: 1px solid rgba(67,97,238,0.2);
  color: #a5b4fc;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.banner-title {
  font-size: 3.2rem;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 18px;
}

.banner-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.75;
  max-width: 600px;
}

.banner-content {
  position: relative;
  z-index: 2;
}

/* ============================================================
   CTA SECTION UPGRADE
   ============================================================ */
.cta-section {
  padding: 80px 0;
  background: var(--bg-light);
}

.cta-card {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  border-radius: 28px;
  padding: 70px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(67,97,238,0.15) 0%, transparent 60%);
  pointer-events: none;
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.cta-desc {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 36px;
  position: relative;
  z-index: 1;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.btn-white {
  background: #ffffff;
  color: #1a1a2e;
  font-weight: 700;
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255,255,255,0.25);
  background: #f0f0ff;
}

.btn-outline-white {
  background: transparent;
  color: #ffffff;
  border: 2px solid rgba(255,255,255,0.3);
}

.btn-outline-white:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.6);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 9px 20px;
  font-size: 0.88rem;
}

/* ============================================================
   TESTIMONIALS UPGRADE
   ============================================================ */
.testimonials-section {
  padding: 100px 0;
  background: var(--bg-light);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.testimonial-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 32px;
  border: 1px solid rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  position: relative;
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 20px;
  right: 28px;
  font-size: 5rem;
  color: rgba(67,97,238,0.08);
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-stars {
  color: #fbbf24;
  font-size: 0.9rem;
  margin-bottom: 16px;
  display: flex;
  gap: 3px;
}

.testimonial-text {
  font-size: 0.92rem;
  color: #4b5563;
  line-height: 1.8;
  margin-bottom: 24px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.testimonial-info h4 {
  font-size: 0.92rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 2px;
}

.testimonial-info p {
  font-size: 0.8rem;
  color: #9ca3af;
}

.testimonial-project {
  display: inline-block;
  margin-top: 5px;
  font-size: 0.75rem;
  color: #4361ee;
  font-weight: 600;
  background: rgba(67,97,238,0.08);
  padding: 3px 10px;
  border-radius: 50px;
}

/* ============================================================
   PRICING SECTION
   ============================================================ */
.pricing-section {
  padding: 100px 0;
  background: #ffffff;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: start;
}

.pricing-card {
  background: #ffffff;
  border: 2px solid rgba(0,0,0,0.06);
  border-radius: 24px;
  padding: 36px 32px;
  transition: all 0.3s ease;
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.pricing-card.featured {
  background: linear-gradient(135deg, #f0f3ff, #e8edff);
  border-color: #4361ee;
  transform: scale(1.04);
  box-shadow: 0 24px 60px rgba(67,97,238,0.2);
}

.pricing-card.featured:hover {
  transform: scale(1.04) translateY(-6px);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #ff6b6b, #ff8e53);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 5px 18px;
  border-radius: 50px;
  white-space: nowrap;
}

.pricing-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.3rem;
  margin-bottom: 18px;
}

.pricing-name {
  font-size: 1.3rem;
  font-weight: 800;
  color: #1a1a2e;
  margin-bottom: 8px;
}

.pricing-price {
  font-size: 2rem;
  font-weight: 900;
  color: #4361ee;
  margin-bottom: 4px;
  letter-spacing: -0.03em;
}

.pricing-period {
  font-size: 0.85rem;
  color: #9ca3af;
  margin-bottom: 24px;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: #374151;
}

.pricing-features li .fas.fa-check-circle { color: #10b981; }
.pricing-features li .fas.fa-times-circle { color: #d1d5db; }
.pricing-features li.disabled { color: #d1d5db; }

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

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact-section {
  padding: 100px 0;
  background: var(--bg-light);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 40px;
  align-items: start;
}

.info-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 36px;
  border: 1px solid rgba(0,0,0,0.05);
}

.info-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: #1a1a2e;
  margin-bottom: 10px;
}

.info-desc {
  font-size: 0.9rem;
  color: #6b7280;
  margin-bottom: 28px;
  line-height: 1.65;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--bg-light);
  border: 1px solid rgba(0,0,0,0.04);
  transition: all 0.25s ease;
}

.contact-method:hover {
  transform: translateX(4px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  background: #ffffff;
}

.method-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #ffffff;
  flex-shrink: 0;
}

.method-icon.kakao { background: #FEE500; color: #3A1D00; }
.method-icon.telegram { background: linear-gradient(135deg, #0088cc, #25a3e1); }
.method-icon.email { background: linear-gradient(135deg, #4361ee, #7b8ff7); }

.method-info h4 {
  font-size: 0.92rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 2px;
}

.method-info p {
  font-size: 0.8rem;
  color: #9ca3af;
}

.method-arrow {
  color: #d1d5db;
  font-size: 0.85rem;
  margin-left: auto;
  transition: all 0.2s ease;
}

.contact-method:hover .method-arrow {
  color: #4361ee;
  transform: translateX(3px);
}

.working-hours {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(67,97,238,0.05);
  border-radius: 14px;
  padding: 16px;
  border: 1px solid rgba(67,97,238,0.1);
}

.hours-icon {
  color: #4361ee;
  font-size: 1.1rem;
  margin-top: 2px;
}

.working-hours h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 4px;
}

.working-hours p {
  font-size: 0.85rem;
  color: #6b7280;
}

.hours-note {
  font-size: 0.78rem !important;
  color: #9ca3af !important;
  margin-top: 2px;
}

.contact-form-wrapper {
  background: #ffffff;
  border-radius: 24px;
  padding: 36px;
  border: 1px solid rgba(0,0,0,0.05);
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 8px;
}

.form-label .fas { color: #4361ee; font-size: 0.82rem; }

.required { color: #ef4444; }

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid #e5e7eb;
  border-radius: 12px;
  font-size: 0.92rem;
  color: #1a1a2e;
  background: #fafafa;
  transition: all 0.25s ease;
  outline: none;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: #4361ee;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(67,97,238,0.08);
}

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

.form-message {
  margin-top: 14px;
  font-size: 0.88rem;
  font-weight: 600;
  text-align: center;
}

/* ============================================================
   PROCESS SECTION
   ============================================================ */
.process-section {
  padding: 80px 0;
  background: #ffffff;
}

.process-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}

.process-timeline::before {
  content: '';
  position: absolute;
  top: 36px;
  left: calc(12.5% + 16px);
  right: calc(12.5% + 16px);
  height: 2px;
  background: linear-gradient(90deg, #4361ee, #7b8ff7, #38bdf8, #4361ee);
  background-size: 200%;
  animation: flowLine 4s linear infinite;
  z-index: 0;
}

@keyframes flowLine {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

.process-step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4361ee, #7b8ff7);
  color: #ffffff;
  font-size: 1.3rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  box-shadow: 0 6px 20px rgba(67,97,238,0.35);
  letter-spacing: 0.02em;
}

.step-title {
  font-size: 1rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 8px;
}

.step-desc {
  font-size: 0.86rem;
  color: #6b7280;
  line-height: 1.65;
}

/* ============================================================
   FOOTER UPGRADE
   ============================================================ */
.footer {
  background: #0f0c29;
  color: rgba(255,255,255,0.7);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding: 60px 0 40px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.footer-logo .logo-icon {
  color: #667eea;
  font-size: 1.3rem;
}

.footer-logo .logo-text {
  font-size: 1.3rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.03em;
}

.footer-desc {
  font-size: 0.88rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.5);
  margin-bottom: 24px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.social-link {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  transition: all 0.25s ease;
}

.social-link:hover {
  background: rgba(67,97,238,0.3);
  border-color: rgba(67,97,238,0.4);
  color: #ffffff;
  transform: translateY(-2px);
}

.footer-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 18px;
}

.footer-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s ease;
}

.footer-list li:hover { color: rgba(255,255,255,0.85); }

.footer-list li .fas, .footer-list li .fab {
  font-size: 0.8rem;
  color: #667eea;
  width: 14px;
}

.footer-list a {
  color: rgba(255, 255, 255, 0.72) !important;
  transition: color 0.2s ease;
}

.footer-list a:hover { color: #ffffff !important; }

.footer-links a {
  color: rgba(255, 255, 255, 0.72) !important;
}

.footer-top-compact {
  grid-template-columns: 1.6fr 1fr 1.2fr !important;
  gap: 28px !important;
  padding: 40px 0 28px !important;
}

.footer-top-compact .footer-desc {
  margin-bottom: 14px;
  font-size: 0.86rem;
  word-break: keep-all;
  overflow-wrap: normal;
}

.footer-list-inline {
  flex-direction: column !important;
  flex-wrap: nowrap;
  gap: 10px !important;
}

.footer-list-inline li {
  margin: 0;
  white-space: nowrap;
}

.footer-list-inline a {
  white-space: nowrap;
  word-break: keep-all;
}

.footer-list li,
.footer-list li span {
  color: rgba(255, 255, 255, 0.72) !important;
  word-break: keep-all;
}

.footer-list a {
  word-break: break-all;
}

.footer-list a:hover { color: rgba(255,255,255,0.85); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 20px 0;
}

.footer-bottom-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  color: rgba(255,255,255,0.35);
  transition: color 0.2s ease;
}

.footer-bottom-links a:hover {
  color: rgba(255,255,255,0.65);
}

/* ============================================================
   SCROLL PROGRESS BAR
   ============================================================ */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, #667eea, #764ba2, #38bdf8);
  z-index: 10000;
  transition: width 0.1s linear;
  border-radius: 0 2px 2px 0;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  33% { transform: translateY(-20px) rotate(5deg); }
  66% { transform: translateY(10px) rotate(-3deg); }
}

@keyframes mouseWheel {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
  100% { transform: translateX(-50%) translateY(16px); opacity: 0; }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.5; }
}

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

[data-animate='fade-up'] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate='fade-up'].animated {
  opacity: 1;
  transform: translateY(0);
}

[data-animate='fade-right'] {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate='fade-right'].animated {
  opacity: 1;
  transform: translateX(0);
}

[data-animate='fade-left'] {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate='fade-left'].animated {
  opacity: 1;
  transform: translateX(0);
}

/* ============================================================
   MODAL UPGRADE
   ============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: #ffffff;
  border-radius: 24px;
  max-width: 680px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(20px) scale(0.96);
  transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-overlay.active .modal-content {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0,0,0,0.06);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: #6b7280;
  transition: all 0.2s ease;
  z-index: 2;
}

.modal-close:hover {
  background: rgba(0,0,0,0.1);
  color: #1a1a2e;
}

.modal-body {
  padding: 36px;
}

/* ============================================================
   EXISTING CHAT WIDGET UPGRADE — 가독성 + SVG 아이콘
   ============================================================ */
.chat-widget {
  position: fixed;
  bottom: 96px !important;
  right: 22px !important;
  z-index: 9998;
}

.chat-widget .chat-ico {
  display: block;
  flex-shrink: 0;
  width: 1em;
  height: 1em;
  fill: currentColor;
  color: inherit;
  pointer-events: none;
}

.chat-toggle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0088cc, #25a3e1);
  box-shadow: 0 6px 20px rgba(0,136,204,0.4);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff !important;
  font-size: 1.35rem;
  transition: all 0.3s ease;
  position: relative;
}

.chat-toggle .chat-ico {
  width: 22px;
  height: 22px;
  color: #ffffff !important;
  fill: #ffffff !important;
  position: relative;
  z-index: 2;
}

.chat-toggle:hover {
  transform: scale(1.08);
  box-shadow: 0 10px 28px rgba(0,136,204,0.5);
}

/* 패널: 다크 테마 상속 완전 차단 + 높이 */
.chat-panel {
  background: #ffffff !important;
  color: #0f172a !important;
  border: 1px solid #e2e8f0 !important;
  height: min(580px, calc(100vh - 160px)) !important;
  max-height: min(580px, calc(100vh - 160px)) !important;
}

.chat-panel .chat-body {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  max-height: none !important;
}

/* 모바일: 화면 상·하 여백만 남기고 거의 꽉 채움 */
@media (max-width: 768px) {
  .chat-panel,
  .chat-panel.active {
    position: fixed !important;
    left: 12px !important;
    right: 12px !important;
    top: 70px !important;
    bottom: 168px !important;
    width: auto !important;
    height: auto !important;
    max-height: none !important;
    z-index: 10001 !important;
  }
}

@media (max-width: 480px) {
  .chat-panel,
  .chat-panel.active {
    left: 10px !important;
    right: 10px !important;
    top: 64px !important;
    bottom: 160px !important;
  }
}

.chat-panel,
.chat-panel * {
  box-sizing: border-box;
}

.chat-panel .chat-header {
  background: #1e293b !important;
  color: #ffffff !important;
}

.chat-panel .chat-header h4,
.chat-panel .chat-header-text h4 {
  color: #ffffff !important;
  margin: 0 0 2px;
  font-size: 0.95rem;
  font-weight: 700;
}

.chat-panel .chat-header p,
.chat-panel .chat-header-text p {
  color: rgba(255, 255, 255, 0.8) !important;
  margin: 0;
  font-size: 0.78rem;
}

.chat-panel .chat-avatar {
  background: rgba(255,255,255,0.18) !important;
  color: #ffffff !important;
}

.chat-panel .chat-avatar .chat-ico {
  color: #ffffff !important;
  fill: #ffffff !important;
  width: 20px;
  height: 20px;
}

.chat-panel .chat-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.chat-panel .chat-close {
  color: #ffffff !important;
  background: transparent !important;
}

.chat-panel .chat-close .chat-ico {
  color: #ffffff !important;
  fill: #ffffff !important;
  width: 18px;
  height: 18px;
}

.chat-panel .chat-body {
  background: #f1f5f9 !important;
  color: #0f172a !important;
}

.chat-panel .chat-welcome {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px;
  padding: 18px 14px !important;
}

.chat-panel .chat-welcome-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: #dbeafe !important;
  color: #2563eb !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chat-panel .chat-welcome-icon .chat-ico {
  width: 26px;
  height: 26px;
  color: #2563eb !important;
  fill: #2563eb !important;
}

.chat-panel .chat-welcome p {
  color: #1e293b !important;
  font-size: 0.92rem !important;
  line-height: 1.7 !important;
  font-weight: 500 !important;
  margin: 0 !important;
}

.chat-panel .chat-msg-name {
  color: #334155 !important;
  font-weight: 700 !important;
}

.chat-panel .chat-time {
  color: #64748b !important;
  font-size: 0.72rem !important;
}

.chat-panel .chat-msg-avatar {
  background: #e2e8f0 !important;
  color: #475569 !important;
  border: 1px solid #cbd5e1 !important;
}

.chat-panel .chat-msg-avatar .chat-ico {
  width: 16px;
  height: 16px;
  color: #475569 !important;
  fill: #475569 !important;
}

.chat-panel .chat-msg-row.admin .chat-msg-avatar {
  background: #dbeafe !important;
  color: #2563eb !important;
  border-color: #93c5fd !important;
}

.chat-panel .chat-msg-row.admin .chat-msg-avatar .chat-ico {
  color: #2563eb !important;
  fill: #2563eb !important;
}

.chat-panel .chat-msg-row.admin .chat-message-content {
  background: #ffffff !important;
  color: #0f172a !important;
  border: 1px solid #e2e8f0 !important;
}

.chat-panel .chat-msg-row.visitor .chat-message-content {
  background: #4361ee !important;
  color: #ffffff !important;
}

.chat-panel .chat-footer {
  background: #ffffff !important;
  color: #0f172a !important;
  border-top: 1px solid #e2e8f0 !important;
}

.chat-panel .chat-input {
  background: #f8fafc !important;
  color: #0f172a !important;
  border: 1.5px solid #cbd5e1 !important;
}

.chat-panel .chat-input::placeholder {
  color: #94a3b8 !important;
  opacity: 1 !important;
}

.chat-panel .chat-attach-btn {
  background: #f1f5f9 !important;
  color: #334155 !important;
  border: 1px solid #e2e8f0 !important;
}

.chat-panel .chat-attach-btn .chat-ico {
  width: 18px;
  height: 18px;
  color: #334155 !important;
  fill: #334155 !important;
}

.chat-panel .chat-send {
  background: #4361ee !important;
  color: #ffffff !important;
}

.chat-panel .chat-send .chat-ico {
  width: 18px;
  height: 18px;
  color: #ffffff !important;
  fill: #ffffff !important;
}

.chat-panel .quick-action {
  background: #f1f5f9 !important;
  color: #1e293b !important;
  border: 1px solid #e2e8f0 !important;
  font-weight: 600 !important;
}

.chat-panel .quick-action:hover {
  background: #eef2ff !important;
  color: #3730a3 !important;
  border-color: #c7d2fe !important;
}

.chat-panel .chat-preview-remove {
  color: #ffffff !important;
}

.chat-panel .chat-preview-remove .chat-ico {
  color: #ffffff !important;
  fill: #ffffff !important;
}

.pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(0,136,204,0.4);
  animation: consultPulse 2.5s ease-out infinite;
}

/* ============================================================
   TOP BUTTON
   ============================================================ */
.top-btn {
  position: fixed;
  bottom: 168px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #1a1a2e;
  color: #ffffff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  z-index: 9996;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px rgba(0,0,0,0.2);
}

.top-btn.visible {
  opacity: 1;
  transform: translateY(0);
}

.top-btn:hover {
  background: #4361ee;
  transform: translateY(-2px);
}

.top-btn .chat-ico {
  width: 18px;
  height: 18px;
  color: #ffffff !important;
  fill: #ffffff !important;
}

/* ============================================================
   MOBILE RESPONSIVENESS
   ============================================================ */
@media (max-width: 1024px) {
  .services-full-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .portfolio-full-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .footer-top-compact {
    grid-template-columns: 1.2fr 1fr 1.1fr !important;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(300px, 86vw);
    height: 100vh;
    height: 100dvh;
    background: #12182a !important;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 88px 24px 120px;
    gap: 0;
    transition: right 0.35s ease;
    box-shadow: -8px 0 30px rgba(0,0,0,0.35);
    z-index: 1000;
    overflow-y: auto;
  }

  .nav-menu.active,
  .nav-menu.open {
    right: 0;
  }

  /* 다크 메뉴: 글자 강제 밝게 (style.css text-dark 덮어씀) */
  .nav-menu .nav-link {
    width: 100%;
    padding: 14px 4px !important;
    font-size: 1.05rem !important;
    font-weight: 600 !important;
    color: #f1f5f9 !important;
    border-bottom: 1px solid rgba(255,255,255,0.1) !important;
    display: flex !important;
    align-items: center;
    gap: 10px;
  }

  .nav-menu .nav-link > .fas,
  .nav-menu .nav-link > .fab {
    display: inline-block !important;
    color: #93c5fd !important;
    width: 1.1em;
    text-align: center;
  }

  .nav-menu .nav-link.active,
  .nav-menu .nav-link:hover {
    color: #93c5fd !important;
  }

  .nav-menu .nav-cta {
    margin-top: 20px;
    width: 100%;
    justify-content: center;
    color: #ffffff !important;
    background: linear-gradient(135deg, #4361ee, #7b8ff7) !important;
    border-radius: 12px;
    padding: 14px 16px !important;
  }

  .nav-hamburger {
    display: flex;
  }

  .hero-container {
    flex-direction: column;
    text-align: center;
    padding: 100px 20px 60px;
    gap: 40px;
  }

  .hero-title {
    font-size: 2.8rem;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

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

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

  .services-full-grid {
    grid-template-columns: 1fr;
  }

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

  .portfolio-full-grid {
    grid-template-columns: 1fr;
  }

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

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

  .pricing-card.featured {
    transform: scale(1);
    order: -1;
  }

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

  .process-timeline {
    grid-template-columns: 1fr 1fr;
  }

  .process-timeline::before {
    display: none;
  }

  .cta-card {
    padding: 48px 28px;
  }

  .cta-title {
    font-size: 1.8rem;
  }

  .footer-top,
  .footer-top-compact {
    grid-template-columns: 1fr !important;
    gap: 22px !important;
    padding: 36px 0 20px !important;
  }

  .footer-top-compact .footer-brand,
  .footer-top-compact .footer-links {
    min-width: 0;
    width: 100%;
  }

  .footer-list-inline {
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 10px 18px !important;
  }

  .footer-list-inline li,
  .footer-list-inline a {
    white-space: nowrap !important;
    word-break: keep-all !important;
  }

  .footer-list li {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .footer-list a {
    word-break: break-word;
  }

  .footer-bottom-content {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .section-title {
    font-size: 2rem;
  }

  .banner-title {
    font-size: 2.2rem;
  }
}

@media (max-width: 480px) {
  .advantages-grid {
    grid-template-columns: 1fr;
  }

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

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

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-visual {
    width: 100%;
    max-width: 100%;
  }
}
