/* ==============================================
   PYSIRLABS v3 — Dark Theme Redesign
   Ref: toktokhan.dev (dark, clean) + heyjames.ai (stats, profile)
   ============================================== */

@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css');

:root {
  /* Dark palette — true black + soft indigo alternating */
  --bg-primary: #050506;
  --bg-secondary: #0C0C0E;
  --bg-tertiary: #141416;
  --bg-card: rgba(255, 255, 255, 0.04);
  --bg-card-hover: rgba(255, 255, 255, 0.08);
  --bg-glass: rgba(255, 255, 255, 0.05);

  /* Text */
  --text-primary: #EEEEEF;
  --text-secondary: rgba(255, 255, 255, 0.55);
  --text-muted: rgba(255, 255, 255, 0.3);

  /* Accent — Indigo Blue base */
  --accent: #4F46E5;
  --accent-light: #818CF8;
  --accent-dark: #3730A3;
  --blue: #3B82F6;
  --gradient: linear-gradient(135deg, #4F46E5 0%, #818CF8 100%);
  --gradient-subtle: linear-gradient(135deg, rgba(79,70,229,0.12) 0%, rgba(129,140,248,0.06) 100%);

  /* Border */
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.15);

  /* Font */
  --font-sans: 'Pretendard Variable', 'Plus Jakarta Sans', -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', monospace;

  /* Size */
  --container: 1400px;
  --nav-h: 72px;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-full: 100px;
}

/* ========== Reset ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-sans);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ========== Utilities ========== */
.container { max-width: var(--container); margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 7rem 0; }
.section-label {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent-light);
  margin-bottom: 1rem;
}
.section-title {
  font-size: clamp(2rem, 4vw, 3rem); font-weight: 800;
  line-height: 1.15; letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}
.section-desc {
  font-size: 1.1rem; color: var(--text-secondary);
  line-height: 1.8; max-width: 560px;
}
.gradient-text {
  background: linear-gradient(135deg, #4F46E5 0%, #818CF8 60%, #A5B4FC 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.glass-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.3s ease;
}
.glass-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
}

/* ========== Buttons ========== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.75rem 1.5rem; font-size: 0.9rem; font-weight: 700;
  border-radius: var(--radius-sm); border: none; cursor: pointer;
  transition: all 0.2s ease; font-family: var(--font-sans);
  text-decoration: none; white-space: nowrap;
}
.btn-primary {
  background: var(--accent); color: white;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 20px rgba(79,70,229,0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(79,70,229,0.5); background: var(--accent-dark); }
.btn-outline {
  background: transparent; color: var(--text-primary);
  border: 1.5px solid var(--border-hover); border-radius: var(--radius-full);
}
.btn-outline:hover { border-color: var(--accent-light); color: var(--accent-light); }
.btn-white {
  background: white; color: var(--bg-primary); font-weight: 800;
  border-radius: var(--radius-full);
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(255,255,255,0.15); }
.btn-lg { padding: 1rem 2rem; font-size: 1rem; border-radius: var(--radius); }
.btn-kmong {
  background: rgba(255,255,255,0.08); color: white;
  border: 1.5px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-sm);
}
.btn-kmong:hover { background: rgba(255,255,255,0.12); border-color: var(--accent-light); }

/* ========== Navigation ========== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: all 0.3s ease;
}
.nav.scrolled {
  background: rgba(5,5,6,0.92);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav > .container { width: 100%; max-width: var(--container); padding: 0 1.5rem; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.nav-logo {
  display: flex; align-items: center; margin-right: 2rem;
}
.nav-logo-img {
  height: 48px; width: auto; object-fit: contain;
}
.nav-links { display: flex; gap: 2.5rem; flex: 1; justify-content: center; }
.nav-links a {
  font-size: 0.875rem; font-weight: 500; color: var(--text-secondary);
  transition: color 0.2s; position: relative;
}
.nav-links a:hover { color: var(--text-primary); }
.nav-cta { display: flex; gap: 1rem; margin-left: 2rem; }
.nav-mobile-toggle {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 0.5rem; background: none; border: none;
}
.nav-mobile-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--text-primary); border-radius: 2px;
  transition: all 0.2s ease;
}

/* ========== Hero ========== */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  padding-top: var(--nav-h); position: relative; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
}
.hero-glow {
  position: absolute; border-radius: 50%; filter: blur(120px); opacity: 0.4;
}
.hero-glow-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(79,70,229,0.25), transparent 70%);
  top: -200px; right: -100px;
}
.hero-glow-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(59,130,246,0.18), transparent 70%);
  bottom: -100px; left: -100px;
}
.hero-inner {
  position: relative; z-index: 1; text-align: center;
  padding: 4rem 0 3rem; max-width: 860px; margin: 0 auto;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.4rem 1rem; margin-bottom: 2rem;
  background: rgba(79,70,229,0.15); border: 1px solid rgba(79,70,229,0.3);
  border-radius: var(--radius-full);
  font-size: 0.75rem; font-weight: 600; color: var(--accent-light);
  letter-spacing: 0.04em;
}
.hero-badge-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent-light);
  animation: pulse 2s ease-in-out infinite;
}
.hero-title {
  font-size: clamp(2.8rem, 6vw, 4.5rem); font-weight: 900;
  line-height: 1.1; letter-spacing: -0.04em;
  margin-bottom: 1.5rem;
}
.hero-typing-line {
  display: block; min-height: 1.2em;
}
.hero-typing-cursor {
  display: inline-block; width: 3px; height: 1em;
  background: var(--accent-light); margin-left: 4px;
  animation: blink 1s step-end infinite; vertical-align: text-bottom;
}
.hero-desc {
  font-size: clamp(1.05rem, 1.8vw, 1.2rem); color: var(--text-secondary);
  line-height: 1.8; max-width: 600px; margin: 0 auto 2.5rem;
}
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 3rem; }
.hero-pills { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }
.hero-pill {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 1rem; background: var(--bg-card);
  border: 1px solid var(--border); border-radius: var(--radius-full);
  font-size: 0.85rem; font-weight: 600; color: var(--text-secondary);
  transition: all 0.2s;
}
.hero-pill:hover { border-color: var(--accent); color: var(--text-primary); transform: translateY(-2px); }
.hero-pill .pill-dot { width: 8px; height: 8px; border-radius: 50%; }

/* ========== Stats Bar ========== */
.stats-bar {
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 2.5rem 0;
}
.stats-inner {
  display: flex; align-items: center; justify-content: center;
  gap: 4rem; flex-wrap: wrap;
}
.stat-item { text-align: center; }
.stat-value {
  font-size: 1.75rem; font-weight: 900;
  background: var(--gradient);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; margin-bottom: 0.25rem;
}
.stat-label { font-size: 0.8rem; color: var(--text-muted); font-weight: 500; }

/* ========== About Me ========== */
.about-me { background: #eef2ff; }
.about-me-grid {
  display: grid; grid-template-columns: 340px 1fr;
  gap: 4rem; align-items: start;
}
.profile-card {
  padding: 2rem; text-align: center; position: sticky; top: 100px;
}
.profile-avatar {
  width: 120px; height: 120px; border-radius: 50%; margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, #4F46E5, #3B82F6); display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 40px rgba(79,70,229,0.25); padding: 1.25rem;
}
.profile-avatar-icon {
  width: 100%; height: 100%; object-fit: contain;
}
.profile-name { font-size: 1.4rem; font-weight: 800; margin-bottom: 0.25rem; }
.profile-role {
  font-size: 0.85rem; color: var(--accent-light); font-weight: 600;
  margin-bottom: 1rem;
}
.profile-bio { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.7; margin-bottom: 1.5rem; }
.profile-stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.profile-stat {
  padding: 0.75rem; background: rgba(255,255,255,0.03);
  border: 1px solid var(--border); border-radius: var(--radius-sm);
}
.profile-stat-value {
  font-size: 1.25rem; font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.profile-stat-label { font-size: 0.7rem; color: var(--text-muted); margin-top: 0.15rem; }
.profile-links { display: flex; flex-direction: column; gap: 0.5rem; }

.about-content .section-desc { margin-bottom: 2rem; }
.tech-stack-section { margin-top: 2.5rem; }
.tech-stack-title {
  font-size: 0.75rem; font-weight: 700; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1rem;
}
.tech-tags {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
}
.tech-tag {
  padding: 0.4rem 0.85rem; background: var(--bg-card);
  border: 1px solid var(--border); border-radius: var(--radius-full);
  font-size: 0.8rem; font-weight: 600; color: var(--text-secondary);
  transition: all 0.2s;
}
.tech-tag:hover { border-color: var(--accent); color: var(--accent-light); }

.timeline { margin-top: 2.5rem; }
.timeline-item {
  display: flex; gap: 1rem; padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}
.timeline-item:last-child { border-bottom: none; }
.timeline-year {
  font-size: 0.8rem; font-weight: 700; color: var(--accent-light);
  min-width: 65px; padding-top: 0.15rem;
}
.timeline-text { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.6; }
.timeline-text strong { color: var(--text-primary); font-weight: 700; }

/* ========== Products ========== */
.products { background: var(--bg-primary); }
.products-header { text-align: center; max-width: 640px; margin: 0 auto 4rem; }
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.product-card {
  padding: 0; border-radius: var(--radius); position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  transition: all 0.3s ease;
}
.product-thumb-img {
  width: 100%; height: 220px; overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.product-thumb-img img {
  width: 100%; height: 100%; object-fit: cover; object-position: top;
  transition: transform 0.4s ease;
}
.product-card:hover .product-thumb-img img { transform: scale(1.05); }
.product-body {
  padding: 1.5rem; display: flex; flex-direction: column; gap: 0.5rem; flex: 1;
}
.product-card.autom { background: linear-gradient(145deg, rgba(79,70,229,0.10), rgba(79,70,229,0.03)); border: 1px solid rgba(79,70,229,0.18); }
.product-card.coin { background: linear-gradient(145deg, rgba(245,158,11,0.12), rgba(245,158,11,0.04)); border: 1px solid rgba(245,158,11,0.2); }
.product-card.lob { background: linear-gradient(145deg, rgba(16,185,129,0.12), rgba(16,185,129,0.04)); border: 1px solid rgba(16,185,129,0.2); }
.product-card:hover { transform: translateY(-6px); }
.product-card.autom:hover { box-shadow: 0 20px 60px rgba(79,70,229,0.2); }
.product-card.coin:hover { box-shadow: 0 20px 60px rgba(245,158,11,0.2); }
.product-card.lob:hover { box-shadow: 0 20px 60px rgba(16,185,129,0.2); }
.product-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; background: rgba(255,255,255,0.08);
}
.product-tag {
  display: inline-flex; padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full); font-size: 0.7rem; font-weight: 700;
  margin-bottom: 0.25rem;
}
.product-card.autom .product-tag { background: rgba(79,70,229,0.2); color: #818CF8; }
.product-card.coin .product-tag { background: rgba(245,158,11,0.2); color: #FCD34D; }
.product-card.lob .product-tag { background: rgba(16,185,129,0.2); color: #6EE7B7; }
.product-card h3 { font-size: 1.35rem; font-weight: 800; }
.product-url { font-size: 0.75rem; font-family: var(--font-mono); color: var(--text-muted); }
.product-card p { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.7; }
.product-chips { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: auto; }
.chip {
  padding: 0.25rem 0.65rem; background: rgba(255,255,255,0.06);
  border-radius: var(--radius-full); font-size: 0.72rem; font-weight: 600;
  color: var(--text-muted); border: 1px solid rgba(255,255,255,0.06);
}
.product-cta {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.6rem 1.2rem; background: rgba(255,255,255,0.08);
  border-radius: var(--radius-sm); font-size: 0.85rem; font-weight: 700;
  color: var(--text-primary); transition: all 0.2s; margin-top: auto;
  width: fit-content;
}
.product-cta:hover { background: rgba(255,255,255,0.14); transform: translateX(4px); }

/* ========== Freelance ========== */
.freelance { background: #eef2ff; }
.freelance-header { text-align: center; max-width: 640px; margin: 0 auto 4rem; }
.freelance-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-bottom: 3rem; }
.freelance-card {
  padding: 2rem; text-align: center;
}
.freelance-icon {
  width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 1.25rem;
  display: flex; align-items: center; justify-content: center; font-size: 1.75rem;
  background: var(--gradient-subtle); border: 1px solid rgba(79,70,229,0.2);
}
.freelance-card h3 { font-size: 1.15rem; font-weight: 800; margin-bottom: 0.5rem; }
.freelance-card p { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.7; }
.freelance-cta {
  text-align: center; padding: 2.5rem;
  background: var(--gradient-subtle);
  border: 1px solid rgba(79,70,229,0.15);
  border-radius: var(--radius);
}
.freelance-cta-text {
  font-size: 1.1rem; color: var(--text-secondary); margin-bottom: 1.5rem; line-height: 1.7;
}
.freelance-cta-text strong { color: var(--text-primary); }
.freelance-cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ========== Portfolio ========== */
.portfolio { background: #eef2ff; }
.portfolio-header { text-align: center; max-width: 640px; margin: 0 auto 2rem; }
.portfolio-filters {
  display: flex; gap: 0.5rem; justify-content: center; margin-bottom: 3rem; flex-wrap: wrap;
}
.filter-btn {
  padding: 0.5rem 1.2rem; background: var(--bg-card);
  border: 1px solid var(--border); border-radius: var(--radius-full);
  font-size: 0.82rem; font-weight: 600; color: var(--text-secondary);
  cursor: pointer; transition: all 0.2s; font-family: var(--font-sans);
}
.filter-btn.active, .filter-btn:hover {
  background: var(--accent); border-color: var(--accent); color: white;
}
.portfolio-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem;
}
.portfolio-card {
  overflow: hidden; cursor: default;
}
.portfolio-thumb {
  height: 280px; background: var(--gradient-subtle);
  border-radius: var(--radius) var(--radius) 0 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem; border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.portfolio-img {
  width: 100%; height: 100%; object-fit: cover;
}
.portfolio-info { padding: 1.5rem; }
.portfolio-info h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.35rem; }
.portfolio-info p { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.6; margin-bottom: 0.75rem; }
.portfolio-tags { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.portfolio-tag {
  padding: 0.2rem 0.55rem; font-size: 0.7rem; font-weight: 600;
  background: rgba(79,70,229,0.1); color: var(--accent-light);
  border-radius: var(--radius-full);
}
/* Portfolio soft indigo overrides */
.portfolio .section-title { color: #1e1b4b; }
.portfolio .section-desc { color: #64748b; }
.portfolio .portfolio-card {
  background: rgba(255,255,255,0.7); border-color: #c7d2fe;
  backdrop-filter: none; -webkit-backdrop-filter: none;
}
.portfolio .portfolio-card:hover { background: rgba(255,255,255,0.9); border-color: #a5b4fc; }
.portfolio .portfolio-info h3 { color: #1e1b4b; }
.portfolio .portfolio-info p { color: #64748b; }
.portfolio .portfolio-thumb {
  background: linear-gradient(135deg, rgba(99,102,241,0.08), rgba(129,140,248,0.04));
  border-bottom-color: #c7d2fe;
}
.portfolio .filter-btn {
  background: rgba(255,255,255,0.6); border-color: #c7d2fe; color: #475569;
}
.portfolio .filter-btn.active, .portfolio .filter-btn:hover {
  background: #4F46E5; border-color: #4F46E5; color: white;
}
.portfolio .portfolio-tag {
  background: rgba(99,102,241,0.1); color: #4f46e5;
}

.portfolio-coming {
  text-align: center; padding: 3rem; color: #94a3b8;
  font-size: 0.9rem;
}

/* ========== Reviews ========== */
.reviews { background: #eef2ff; }
.reviews-header { text-align: center; max-width: 640px; margin: 0 auto 3rem; }
.reviews-carousel { position: relative; overflow: hidden; }
.reviews-track {
  display: flex; gap: 1.5rem; transition: transform 0.5s ease;
  cursor: grab;
}
.reviews-track:active { cursor: grabbing; }
.review-card {
  min-width: 400px; max-width: 440px; padding: 2rem; flex-shrink: 0;
  display: flex; flex-direction: column;
}
.review-stars { color: #FBBF24; font-size: 0.9rem; margin-bottom: 1rem; letter-spacing: 2px; }
.review-text {
  font-size: 0.95rem; color: var(--text-secondary); line-height: 1.8;
  margin-bottom: 1.5rem; font-style: italic; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical;
  overflow: hidden; cursor: pointer; transition: all 0.3s ease;
}
.review-text.expanded {
  -webkit-line-clamp: unset; overflow: visible;
}
.review-text::before { content: '"'; }
.review-text::after { content: '"'; }
.review-author { display: flex; align-items: center; gap: 0.75rem; margin-top: auto; }
.review-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--gradient-subtle); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 700; color: var(--accent-light);
}
.review-name { font-size: 0.85rem; font-weight: 700; }
.review-source { font-size: 0.72rem; color: var(--text-muted); }
.reviews-nav {
  display: flex; gap: 0.75rem; justify-content: center; margin-top: 2rem;
}
.reviews-nav button {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--bg-card); border: 1px solid var(--border);
  color: var(--text-secondary); cursor: pointer; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s; font-family: var(--font-sans);
}
.reviews-nav button:hover { background: var(--accent); border-color: var(--accent); color: white; }
.reviews-link {
  text-align: center; margin-top: 1.5rem;
}
.reviews-link a {
  font-size: 0.85rem; color: var(--accent-light); font-weight: 600;
  transition: color 0.2s;
}
.reviews-link a:hover { color: var(--pink); }

/* ========== Why Solo ========== */
.why-solo { background: #eef2ff; }
.why-solo .section-title { color: #1e1b4b; }
.why-solo .section-desc { color: #64748b; }
.why-solo-header { text-align: center; max-width: 640px; margin: 0 auto 4rem; }
.why-solo-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
  margin-bottom: 3rem;
}
.why-solo-card {
  padding: 2rem; background: rgba(255,255,255,0.7); border-color: #c7d2fe;
  backdrop-filter: none; -webkit-backdrop-filter: none;
  transition: all 0.3s ease;
  display: flex; flex-direction: column;
}
.why-solo-card:hover { background: rgba(255,255,255,0.9); border-color: #a5b4fc; transform: translateY(-4px); }
.why-solo-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #4F46E5, #818CF8);
  color: white; margin-bottom: 1.25rem;
  box-shadow: 0 4px 16px rgba(79,70,229,0.25);
}
.why-solo-card h3 { font-size: 1.15rem; font-weight: 800; color: #1e1b4b; margin-bottom: 0.5rem; }
.why-solo-card p { font-size: 0.88rem; color: #64748b; line-height: 1.7; margin-bottom: 1rem; flex: 1; }
.why-solo-highlight {
  display: inline-flex; padding: 0.3rem 0.75rem;
  background: rgba(99,102,241,0.1); border: 1px solid rgba(99,102,241,0.2);
  border-radius: 100px; font-size: 0.75rem; font-weight: 700;
  color: #4f46e5; letter-spacing: -0.01em;
  align-self: flex-start;
}
/* last row centering for 5 items */
.why-solo-grid > :nth-child(4) { grid-column: 1 / 2; }
.why-solo-grid > :nth-child(5) { grid-column: 2 / 3; }

/* Compare Section */
.compare { background: var(--bg-primary); }
.compare-header { text-align: center; max-width: 640px; margin: 0 auto 3rem; }
.compare-table-wrap {
  max-width: 680px; margin: 0 auto;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 16px; padding: 2.5rem; overflow: hidden;
}
.compare-table { width: 100%; border-collapse: collapse; }
.compare-table th {
  padding: 0.75rem 1rem; font-size: 0.8rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--text-muted); border-bottom: 2px solid rgba(255,255,255,0.08); text-align: center;
}
.compare-table th.highlight-col { color: var(--accent-light); }
.compare-table td {
  padding: 0.75rem 1rem; font-size: 0.9rem; color: var(--text-secondary);
  border-bottom: 1px solid rgba(255,255,255,0.06); text-align: center;
}
.compare-table td:first-child { font-weight: 700; color: var(--text-primary); text-align: left; }
.compare-table td.highlight-col {
  color: var(--accent-light); font-weight: 700;
  background: rgba(99,102,241,0.06);
}
.compare-table tr:last-child td { border-bottom: none; }

/* AI Tools */
.ai-tools { text-align: center; }
.ai-tools-label {
  font-size: 0.75rem; font-weight: 700; color: #6366f1;
  text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1rem;
}
.ai-tools-list { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; }
.ai-tool {
  padding: 0.5rem 1rem; background: rgba(255,255,255,0.7);
  border: 1px solid #c7d2fe; border-radius: 100px;
  font-size: 0.82rem; font-weight: 600; color: #4338ca;
  transition: all 0.2s;
}
.ai-tool:hover { background: rgba(99,102,241,0.1); border-color: #6366f1; }

/* Process Flow */
.process-flow {
  display: flex; align-items: center; justify-content: center;
  gap: 0.5rem; margin-bottom: 3rem; flex-wrap: wrap;
}
.process-step {
  text-align: center; padding: 1.25rem 1.5rem;
  background: rgba(255,255,255,0.7); border: 1px solid #c7d2fe;
  border-radius: 14px; min-width: 150px; transition: all 0.2s;
}
.process-step:hover { background: rgba(255,255,255,0.9); border-color: #a5b4fc; }
.process-num {
  font-size: 0.7rem; font-weight: 800; color: #6366f1;
  letter-spacing: 0.05em; margin-bottom: 0.25rem;
}
.process-label { font-size: 1rem; font-weight: 800; color: #1e1b4b; margin-bottom: 0.25rem; }
.process-desc { font-size: 0.75rem; color: #94a3b8; line-height: 1.5; }
.process-desc strong { color: #4f46e5; font-weight: 700; }
.process-arrow { font-size: 1.2rem; color: #a5b4fc; font-weight: 700; }

/* Freelance Price Tag */
.freelance-price {
  margin-top: 0.75rem; padding: 0.3rem 0.75rem;
  background: rgba(99,102,241,0.08); border: 1px solid rgba(99,102,241,0.15);
  border-radius: 100px; font-size: 0.75rem; font-weight: 700;
  color: #4f46e5; display: inline-flex;
}

/* ========== Soft Indigo Section Overrides ========== */
.about-me .section-title,
.about-me .profile-name,
.freelance .section-title,
.freelance .freelance-card h3,
.reviews .section-title,
.reviews .review-name { color: #1e1b4b; }

.about-me .section-desc,
.about-me .profile-bio,
.about-me .timeline-text,
.freelance .section-desc,
.freelance .freelance-card p,
.reviews .section-desc,
.reviews .review-text { color: #64748b; }

.about-me .timeline-text strong,
.freelance .freelance-cta-text strong { color: #1e1b4b; }

.about-me .timeline-item { border-bottom-color: #c7d2fe; }
.about-me .tech-stack-title { color: #6366f1; }
.about-me .tech-tag {
  background: rgba(99,102,241,0.06); border-color: #c7d2fe; color: #4338ca;
}
.about-me .tech-tag:hover { border-color: #6366f1; color: #4f46e5; background: rgba(99,102,241,0.12); }

.about-me .profile-card {
  background: rgba(255,255,255,0.7); border-color: #c7d2fe;
  backdrop-filter: none; -webkit-backdrop-filter: none;
}
.about-me .profile-card:hover { background: rgba(255,255,255,0.85); border-color: #a5b4fc; }
.about-me .profile-role { color: #6366f1; }
.about-me .profile-stat {
  background: rgba(255,255,255,0.6); border-color: #c7d2fe;
}
.about-me .profile-stat-label { color: #818cf8; }
.about-me .btn-kmong {
  background: rgba(99,102,241,0.1); color: #3730a3; border-color: #a5b4fc;
}
.about-me .btn-kmong:hover { background: rgba(99,102,241,0.18); border-color: #6366f1; }
.about-me .btn-outline { color: #3730a3; border-color: #a5b4fc; }
.about-me .btn-outline:hover { border-color: #6366f1; color: #4f46e5; }

.freelance .freelance-card {
  background: rgba(255,255,255,0.7); border-color: #c7d2fe;
  backdrop-filter: none; -webkit-backdrop-filter: none;
}
.freelance .freelance-card:hover { background: rgba(255,255,255,0.9); border-color: #a5b4fc; }
.freelance .freelance-icon {
  background: linear-gradient(135deg, rgba(99,102,241,0.12), rgba(129,140,248,0.06));
  border-color: #a5b4fc;
}
.freelance .freelance-cta {
  background: linear-gradient(135deg, rgba(99,102,241,0.08), rgba(129,140,248,0.04));
  border-color: #a5b4fc;
}
.freelance .freelance-cta-text { color: #64748b; }
.freelance .btn-outline { color: #3730a3; border-color: #a5b4fc; }
.freelance .btn-outline:hover { border-color: #6366f1; color: #4f46e5; }

.reviews .section-title { color: #1e1b4b; }
.reviews .section-desc { color: #64748b; }
.reviews .review-card {
  background: rgba(255,255,255,0.7); border-color: #c7d2fe;
  backdrop-filter: none; -webkit-backdrop-filter: none;
}
.reviews .review-card:hover { background: rgba(255,255,255,0.9); border-color: #a5b4fc; }
.reviews .review-text { color: #475569; }
.reviews .review-name { color: #1e1b4b; }
.reviews .review-source { color: #818cf8; }
.reviews .review-avatar {
  background: linear-gradient(135deg, rgba(99,102,241,0.15), rgba(129,140,248,0.08));
  border-color: #c7d2fe; color: #4f46e5;
}
.reviews .reviews-nav button {
  background: rgba(255,255,255,0.6); border-color: #c7d2fe; color: #4338ca;
}
.reviews .reviews-nav button:hover {
  background: #4F46E5; border-color: #4F46E5; color: white;
}
.reviews .reviews-link a { color: #4f46e5; }

/* ========== Approach ========== */
.approach {
  background: var(--bg-primary);
  position: relative; overflow: hidden;
}
.approach::before {
  content: ''; position: absolute; inset: 0;
  background-image: url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?w=1400&q=80');
  background-size: cover; background-position: center;
  filter: grayscale(100%);
}
.approach::after {
  content: ''; position: absolute; inset: 0;
  background: rgba(5,5,6,0.78);
}
.approach > .container { position: relative; z-index: 1; }
.approach-header { text-align: center; max-width: 640px; margin: 0 auto 4rem; }
.approach-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
.approach-card { padding: 2rem; text-align: center; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.approach-icon {
  width: 64px; height: 64px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.75rem; margin: 0 auto 1.25rem;
  background: var(--gradient); box-shadow: 0 8px 24px rgba(79,70,229,0.3);
}
.approach-card h3 { font-size: 1.15rem; font-weight: 800; margin-bottom: 0.5rem; }
.approach-card p { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.7; }

/* ========== CTO Section ========== */
.cto { background: var(--bg-primary); }
.cto-layout {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 3rem; align-items: center;
}
.cto-content .section-desc { margin-bottom: 2rem; }
.cto-services { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 2rem; }
.cto-service-item {
  display: flex; align-items: center; gap: 0.75rem;
  font-size: 0.9rem; font-weight: 600; color: var(--text-primary);
}
.cto-service-item svg { color: var(--accent-light); flex-shrink: 0; }

.cto-card {
  padding: 2.5rem; text-align: center;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius);
}
.cto-card-label {
  display: inline-flex; padding: 0.25rem 0.75rem; margin-bottom: 1rem;
  background: rgba(79,70,229,0.15); border: 1px solid rgba(79,70,229,0.3);
  border-radius: 100px; font-size: 0.72rem; font-weight: 700;
  color: var(--accent-light); text-transform: uppercase; letter-spacing: 0.05em;
}
.cto-card-price {
  font-size: 1.1rem; color: var(--text-secondary); margin-bottom: 0.25rem;
}
.cto-card-price strong {
  font-size: 2.2rem; font-weight: 900;
  background: var(--gradient);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.cto-card-desc {
  font-size: 0.82rem; color: var(--text-muted); margin-bottom: 1.5rem;
}
.cto-card-divider {
  height: 1px; background: var(--border); margin-bottom: 1.5rem;
}
.cto-card-list {
  list-style: none; display: flex; flex-direction: column; gap: 0.6rem;
  text-align: left; margin-bottom: 1.5rem;
}
.cto-card-list li {
  font-size: 0.88rem; color: var(--text-secondary); padding-left: 1.5rem;
  position: relative;
}
.cto-card-list li::before {
  content: '✓'; position: absolute; left: 0; color: var(--accent-light); font-weight: 700;
}
.cto-card-note {
  font-size: 0.72rem; color: var(--text-muted);
}

/* ========== Contact Section ========== */
.contact-section {
  background: #eef2ff;
}
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 4rem; align-items: start;
}

/* Left: Info */
.contact-info .section-title { color: #1e1b4b; }
.contact-info .section-desc { color: #64748b; margin-bottom: 2rem; }
.contact-highlights { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 2rem; }
.contact-highlight-item {
  display: flex; align-items: center; gap: 0.75rem;
  font-size: 0.9rem; font-weight: 600; color: #1e1b4b;
}
.contact-highlight-item svg { color: #4f46e5; flex-shrink: 0; }
.contact-email-box {
  padding: 1.25rem 1.5rem; background: rgba(255,255,255,0.7);
  border: 1px solid #c7d2fe; border-radius: 12px;
}
.contact-email-label {
  font-size: 0.7rem; font-weight: 700; color: #94a3b8;
  text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.35rem;
}
.contact-email-link {
  font-size: 1rem; font-weight: 700; color: #4f46e5; transition: color 0.2s;
}
.contact-email-link:hover { color: #3730a3; }
.contact-email-row { display: flex; align-items: center; gap: 0.5rem; }
.email-copy-btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(79,70,229,0.1); border: 1px solid rgba(79,70,229,0.2);
  color: #4f46e5; border-radius: 8px; padding: 0.4rem 0.5rem;
  cursor: pointer; font-size: 0.75rem; font-weight: 600;
  transition: all 0.2s;
}
.email-copy-btn:hover { background: rgba(79,70,229,0.2); }

/* Right: Form */
.contact-form-wrap {
  background: rgba(255,255,255,0.8); border: 1px solid #c7d2fe;
  border-radius: var(--radius); padding: 2.5rem;
  backdrop-filter: none;
}
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-label {
  display: block; font-size: 0.82rem; font-weight: 700; color: #1e1b4b;
  margin-bottom: 0.4rem;
}
.form-label .required { color: #ef4444; }
.form-input {
  width: 100%; padding: 0.75rem 1rem;
  background: #f8fafc; border: 1.5px solid #e2e8f0;
  border-radius: 10px; font-size: 0.9rem; font-family: var(--font-sans);
  color: #0f172a; outline: none; transition: border-color 0.2s;
}
.form-input:focus { border-color: #6366f1; box-shadow: 0 0 0 3px rgba(99,102,241,0.1); }
.form-input::placeholder { color: #94a3b8; }
.form-select {
  appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center;
  padding-right: 2.5rem;
}
.form-select option { color: #0f172a; }
.form-textarea { resize: vertical; min-height: 120px; }
.form-chips {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
}
.form-chip {
  cursor: pointer;
}
.form-chip input { display: none; }
.form-chip span {
  display: inline-flex; padding: 0.45rem 0.9rem;
  background: #f1f5f9; border: 1.5px solid #e2e8f0;
  border-radius: 100px; font-size: 0.82rem; font-weight: 600;
  color: #475569; transition: all 0.2s; user-select: none;
}
.form-chip input:checked + span {
  background: rgba(99,102,241,0.1); border-color: #6366f1; color: #4f46e5;
}
.form-chip:hover span { border-color: #a5b4fc; }
.contact-submit {
  width: 100%; justify-content: center; margin-top: 0.5rem;
}
.form-note {
  text-align: center; font-size: 0.75rem; color: #94a3b8; margin-top: 0.25rem;
}

/* Form Success */
.form-success {
  text-align: center; padding: 3rem 1.5rem;
}
.form-success-icon {
  color: #4f46e5; margin-bottom: 1.5rem;
}
.form-success-title {
  font-size: 1.4rem; font-weight: 800; color: #1e1b4b; margin-bottom: 0.75rem;
}
.form-success-desc {
  font-size: 0.95rem; color: #475569; line-height: 1.7; margin-bottom: 1rem;
}
.form-success-note {
  font-size: 0.8rem; color: #94a3b8;
}

/* ========== Design Showcase ========== */
.showcase { background: var(--bg-primary); overflow: hidden; }
.showcase-header { text-align: center; max-width: 640px; margin: 0 auto 3rem; }
.showcase-scroll {
  position: relative; overflow: hidden;
  margin-bottom: 3rem;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 3%, black 97%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 3%, black 97%, transparent);
}
.showcase-track {
  display: flex; gap: 1.25rem;
  width: max-content;
  will-change: transform;
}
.showcase-card {
  position: relative; flex-shrink: 0;
  width: 280px; height: 400px;
  border-radius: 14px; overflow: hidden;
  cursor: pointer; transition: transform .3s ease;
}
.showcase-card:hover { transform: scale(1.03); z-index: 2; }
.showcase-card img {
  width: 100%; height: 100%; object-fit: cover; object-position: top;
  transition: transform .4s ease;
}
.showcase-card:hover img { transform: scale(1.05); }
.showcase-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 1.5rem 1.25rem;
  background: linear-gradient(transparent, rgba(0,0,0,.85));
  transform: translateY(100%);
  transition: transform .35s ease;
}
.showcase-card:hover .showcase-overlay { transform: translateY(0); }
.showcase-tag {
  display: inline-flex; padding: .2rem .6rem;
  background: rgba(99,102,241,.3); border-radius: 100px;
  font-size: .68rem; font-weight: 700; color: #a5b4fc;
  margin-bottom: .4rem; backdrop-filter: blur(4px);
}
.showcase-overlay h3 {
  font-size: 1.1rem; font-weight: 800; color: white;
}
.showcase-nav {
  display: flex; gap: .75rem; justify-content: center; margin-bottom: 2rem;
}
.showcase-nav button {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--bg-card); border: 1px solid var(--border);
  color: var(--text-secondary); cursor: pointer; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  transition: all .2s; font-family: var(--font-sans);
}
.showcase-nav button:hover { background: var(--accent); border-color: var(--accent); color: white; }
.showcase-cta {
  text-align: center; padding: 2rem 0 0;
}
.showcase-cta p {
  color: var(--text-secondary); font-size: 1rem; margin-bottom: 1.5rem; line-height: 1.7;
}
.showcase-cta strong { color: var(--text-primary); }

/* ========== Portfolio Modal ========== */
.portfolio-modal {
  display: none; position: fixed; inset: 0; z-index: 9999;
  align-items: center; justify-content: center;
}
.portfolio-modal.active { display: flex; }
.modal-overlay {
  position: absolute; inset: 0; background: rgba(0,0,0,.85);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
}
.modal-content {
  position: relative; z-index: 1; max-width: 90vw; max-height: 90vh;
  animation: modal-in .25s ease;
}
@keyframes modal-in { from { opacity: 0; transform: scale(.95); } to { opacity: 1; transform: scale(1); } }
.modal-img {
  display: block; max-width: 100%; max-height: 85vh;
  border-radius: 12px; box-shadow: 0 20px 60px rgba(0,0,0,.5);
}
.modal-close {
  position: absolute; top: -16px; right: -16px;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  color: white; font-size: 1.4rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all .2s; backdrop-filter: blur(8px);
}
.modal-close:hover { background: rgba(255,255,255,.2); }
.portfolio-thumb[data-modal-img] { cursor: pointer; }
.portfolio-thumb[data-modal-img]:hover img { opacity: .85; }

/* ========== Footer ========== */
.footer {
  background: var(--bg-primary); color: var(--text-muted);
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--border);
}
.footer-inner {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem; margin-bottom: 3rem;
}
.footer-brand .nav-logo { margin-bottom: 1rem; }
.footer-brand p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 0.75rem; }
.footer-col-email {
  margin-top: 1.5rem;
}
.footer-col-email h4 {
  font-size: 0.85rem; font-weight: 700; color: var(--text-primary); margin-bottom: 0.5rem;
}
.footer-col-email a {
  font-size: 0.85rem; color: var(--accent-light); font-weight: 600; transition: color 0.2s;
}
.footer-col-email a:hover { color: var(--text-primary); }
.footer-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.35rem 0.85rem; background: rgba(79,70,229,0.12);
  border: 1px solid rgba(79,70,229,0.25); border-radius: var(--radius-full);
  font-size: 0.72rem; font-weight: 600; color: var(--accent-light);
}
.footer-col h4 { font-size: 0.85rem; font-weight: 700; color: var(--text-primary); margin-bottom: 1rem; }
.footer-col ul { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-col a { font-size: 0.85rem; color: var(--text-muted); transition: color 0.2s; }
.footer-col a:hover { color: var(--text-secondary); }
.footer-bottom {
  padding-top: 2rem; border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}
.footer-copyright { font-size: 0.72rem; color: var(--text-muted); }
.footer-social { display: flex; gap: 0.75rem; }
.social-link {
  width: 36px; height: 36px; border-radius: var(--radius-sm);
  background: var(--bg-card); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); transition: all 0.2s;
}
.social-link:hover { background: var(--accent); border-color: var(--accent); color: white; transform: translateY(-2px); }

/* ========== Animations ========== */
@keyframes blink { 50% { opacity: 0; } }
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* Hero fade-in */
.hero-badge, .hero-title, .hero-desc, .hero-actions, .hero-pills {
  opacity: 0; animation: fadeInUp 0.7s ease forwards;
}
.hero-badge { animation-delay: 0.1s; }
.hero-title { animation-delay: 0.25s; }
.hero-desc { animation-delay: 0.4s; }
.hero-actions { animation-delay: 0.55s; }
.hero-pills { animation-delay: 0.7s; }

/* ========== Responsive ========== */
@media (max-width: 1024px) {
  .products-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .freelance-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .approach-grid { grid-template-columns: 1fr 1fr; }
  .about-me-grid { grid-template-columns: 1fr; }
  .profile-card { position: static; max-width: 400px; margin: 0 auto 2rem; }
  .portfolio-grid { grid-template-columns: 1fr; max-width: 540px; margin: 0 auto; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .why-solo-grid { grid-template-columns: 1fr 1fr; }
  .why-solo-grid > :nth-child(4),
  .why-solo-grid > :nth-child(5) { grid-column: auto; }
  .process-flow { gap: 0.25rem; }
  .process-step { min-width: 120px; padding: 1rem; }
}
@media (max-width: 768px) {
  /* Nav mobile */
  .nav-links, .nav-cta { display: none !important; }
  .nav-mobile-toggle { display: flex; z-index: 200; position: relative; }
  .nav-logo-img { height: 36px; }
  .nav > .container { padding: 0 1.25rem; width: 100%; }
  .nav-inner { display: flex; justify-content: space-between; width: 100%; }
  .nav-logo { margin-right: auto; }

  /* Hero */
  .hero-title { font-size: clamp(1.8rem, 7vw, 2.5rem); }
  .hero-desc { font-size: 0.95rem; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn { width: 100%; max-width: 320px; }
  .section { padding: 4rem 0; }

  /* Stats */
  .stats-inner { gap: 1.5rem; flex-wrap: wrap; justify-content: center; }
  .stat-item { min-width: 120px; }

  /* Grids */
  .approach-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .why-solo-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto 3rem; }

  /* Process */
  .process-flow { flex-direction: column; }
  .process-arrow { transform: rotate(90deg); }
  .process-step { min-width: auto; width: 100%; max-width: 320px; }

  /* Freelance */
  .freelance-cta-buttons { flex-direction: column; align-items: center; }
  .freelance-cta-buttons .btn { width: 100%; max-width: 320px; }

  /* CTO/상주 */
  .cto-layout { grid-template-columns: 1fr; }
  .cto-card { max-width: 400px; margin: 0 auto; }

  /* Reviews */
  .review-card { min-width: 280px; max-width: 340px; }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; }
  .contact-info { text-align: center; }
  .contact-info .section-desc { margin-left: auto; margin-right: auto; }
  .contact-highlights { align-items: center; }
  .contact-email-box { text-align: center; }
  .contact-form-wrap { padding: 1.5rem; }
  .form-row { grid-template-columns: 1fr; }

  /* Footer */
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-brand { display: flex; flex-direction: column; align-items: center; }
  .footer-col { text-align: center; }
  .footer-bottom { flex-direction: column; gap: 1rem; }
  .footer-social { justify-content: center; }

  /* Compare table */
  .compare-table-wrap { padding: 1.5rem; }
  .compare-table td, .compare-table th { padding: 0.5rem 0.5rem; font-size: 0.8rem; }
}
@media (max-width: 480px) {
  .hero-pills { gap: 0.5rem; }
  .hero-pill { font-size: 0.75rem; padding: 0.4rem 0.75rem; }
  .profile-stats { grid-template-columns: 1fr 1fr; }
  .stats-inner { gap: 1rem; }
  .stat-value { font-size: 1.4rem; }
  .section-title { font-size: clamp(1.6rem, 6vw, 2.2rem); }
}

/* ======== Kmong mode — hide contact/direct inquiry ======== */
html.kmong-mode .kmong-hide,
html.kmong-mode #contact { display: none !important; }
