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

:root {
  --primary: #1a3a5c;
  --primary-light: #2a5a8c;
  --primary-dark: #0f2540;
  --accent: #3b82f6;
  --accent-hover: #2563eb;
  --bg: #ffffff;
  --bg-light: #f8fafc;
  --bg-alt: #f1f5f9;
  --text: #1e293b;
  --text-sub: #64748b;
  --text-muted: #94a3b8;
  --border: #e2e8f0;
  --success: #10b981;
  --max-w: 1100px;
  --header-h: 64px;
  --radius: 8px;
  --radius-lg: 12px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.05);
  --shadow: 0 1px 3px rgba(0,0,0,.1), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -2px rgba(0,0,0,.1);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -4px rgba(0,0,0,.1);
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Apple SD Gothic Neo', 'Noto Sans KR', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }

/* ===== Layout ===== */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section { padding: 120px 0; }
.section-alt { background: var(--bg-alt); }

.section-title {
  font-size: 2rem; font-weight: 800; color: var(--primary-dark);
  margin-bottom: 14px; letter-spacing: -.02em; line-height: 1.3;
}
.section-title em {
  font-style: normal;
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-desc {
  font-size: 1.1rem; color: var(--text-sub); margin-bottom: 56px; max-width: 560px; line-height: 1.8;
}
.section-center { text-align: center; }
.section-center .section-desc { margin-left: auto; margin-right: auto; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 24px; border-radius: var(--radius); font-size: .95rem;
  font-weight: 600; cursor: pointer; border: none; transition: all .2s; white-space: nowrap;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: var(--primary); border: 1.5px solid var(--border); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-white { background: #fff; color: var(--primary); }
.btn-white:hover { background: #f0f4f8; transform: translateY(-1px); }
.btn-lg { padding: 13px 32px; font-size: 1rem; }

/* ===== Header ===== */
.header {
  position: fixed; top: 0; left: 0; right: 0; height: var(--header-h);
  background: rgba(255,255,255,.92); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border); z-index: 1000;
}
.header .container {
  display: flex; align-items: center; justify-content: space-between; height: 100%;
}
.logo {
  display: flex; align-items: center; gap: 8px;
  font-size: 1.2rem; font-weight: 800; color: var(--primary); letter-spacing: -.02em;
}
.logo-mark {
  width: 32px; height: 32px; background: var(--accent); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: .85rem; font-weight: 700;
}
.nav { display: flex; align-items: center; gap: 28px; }
.nav a {
  font-size: .9rem; font-weight: 500; color: var(--text-sub); transition: color .15s;
  position: relative;
}
.nav a:hover, .nav a.active { color: var(--primary); }
.nav a.active::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 2px; background: var(--accent); border-radius: 1px;
}
.nav .btn { padding: 8px 18px; font-size: .875rem; }
.nav .btn.active::after { display: none; }
.nav .btn-primary, .nav .btn-primary:hover, .nav .btn-primary.active { color: #fff !important; }

.menu-btn {
  display: none; background: none; border: none; cursor: pointer; padding: 4px;
  flex-direction: column; gap: 5px;
}
.menu-btn span { display: block; width: 22px; height: 2px; background: var(--primary); border-radius: 2px; transition: .3s; }

/* ===== Hero (Split) ===== */
.hero {
  padding: calc(var(--header-h) + 80px) 0 100px;
  background: linear-gradient(135deg, #eef4ff 0%, #e8eef8 50%, #f8fafc 100%);
  position: relative; overflow: hidden;
}
.hero::after {
  content: ''; position: absolute; top: -40%; right: -15%; width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(59,130,246,.07) 0%, transparent 70%); border-radius: 50%;
}
.hero .container { display: flex; align-items: center; gap: 56px; position: relative; z-index: 1; }
.hero-text { flex: 1; max-width: 540px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: #fff; border: 1px solid var(--border); border-radius: 20px;
  padding: 5px 14px; font-size: .82rem; font-weight: 500; color: var(--text-sub); margin-bottom: 20px;
}
.hero-badge-dot { width: 7px; height: 7px; background: var(--success); border-radius: 50%; }
.hero h1 {
  font-size: 2.85rem; font-weight: 800; line-height: 1.2;
  color: var(--primary-dark); margin-bottom: 22px; letter-spacing: -.03em;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-lead { font-size: 1.15rem; color: var(--text-sub); line-height: 1.85; margin-bottom: 36px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-visual { flex: 1; max-width: 460px; }
.hero-img {
  width: 100%; max-height: 480px; object-fit: contain;
}

/* ===== Stats Bar ===== */
.stats-bar {
  background: var(--bg); padding: 56px 0;
}
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.stat-item {
  text-align: center; padding: 28px 16px;
  background: var(--bg-alt); border-radius: var(--radius-lg);
}
.stat-num {
  font-size: 2.25rem; font-weight: 800; letter-spacing: -.03em;
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label { font-size: .88rem; color: var(--text-sub); margin-top: 6px; font-weight: 500; }
.stat-divider { display: none; }

/* ===== Section Eyebrow ===== */
.section-eyebrow {
  font-size: .82rem; font-weight: 700; color: var(--accent);
  text-transform: uppercase; letter-spacing: .04em; margin-bottom: 10px;
}

/* ===== Pain Points ===== */
.pain-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; max-width: 860px; margin: 48px auto 0; }
.pain-card {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 28px 24px; text-align: left;
}
.pain-icon { margin-bottom: 12px; }
.pain-card p { font-size: .9rem; color: var(--text-sub); line-height: 1.7; }
.pain-card strong { color: var(--text); }

/* ===== Feature Row (alternating) ===== */
.feature-row {
  display: flex; align-items: center; gap: 72px;
}
.feature-row.reverse { flex-direction: row-reverse; }
.feature-text { flex: 1; }
.feature-tag {
  font-size: .85rem; font-weight: 700; color: var(--accent);
  text-transform: uppercase; letter-spacing: .03em; margin-bottom: 16px;
}
.feature-text h2 {
  font-size: 2rem; font-weight: 800; color: var(--primary-dark);
  line-height: 1.3; margin-bottom: 20px; letter-spacing: -.02em;
}
.feature-text h2 em {
  font-style: normal;
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.feature-text > p {
  font-size: 1.05rem; color: var(--text-sub); line-height: 1.85; margin-bottom: 32px;
}
.feature-checks { display: flex; flex-direction: column; gap: 14px; }
.feature-checks li {
  display: flex; align-items: center; gap: 12px;
  font-size: 1rem; color: var(--text); line-height: 1.5;
}
.feature-checks li svg { display: none; }
.feature-checks li::before {
  content: ''; width: 6px; height: 6px; min-width: 6px;
  border-radius: 50%; background: var(--accent);
}
.feature-visual { flex: 1; max-width: 480px; }
.feature-visual-box {
  background: var(--bg); border: 2px dashed var(--border); border-radius: 16px;
  padding: 80px 24px; display: flex; flex-direction: column; align-items: center; gap: 16px;
  min-height: 360px; justify-content: center;
}
.feature-visual-box span { font-size: .85rem; color: var(--text-muted); }

/* ===== Process Grid ===== */
.process-grid {
  display: flex; align-items: flex-start; justify-content: center; gap: 16px;
  max-width: 800px; margin: 0 auto;
}
.process-card {
  flex: 1; min-width: 160px; background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px 22px; text-align: center;
}
.process-card p { word-break: keep-all; }
.process-num {
  width: 40px; height: 40px; background: var(--accent); color: #fff;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1rem; margin: 0 auto 16px;
}
.process-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--primary); margin-bottom: 8px; }
.process-card p { font-size: .88rem; color: var(--text-sub); line-height: 1.65; }
.process-arrow {
  display: flex; align-items: center; padding-top: 48px;
}

/* CTA final variant */
.cta-final { padding: 100px 0; }

/* Mockup */
.mockup {
  background: #fff; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); border: 1px solid var(--border); overflow: hidden;
}
.mockup-bar {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 14px; background: var(--bg-alt); border-bottom: 1px solid var(--border);
}
.mockup-dot { width: 9px; height: 9px; border-radius: 50%; }
.mockup-dot:nth-child(1) { background: #fca5a5; }
.mockup-dot:nth-child(2) { background: #fcd34d; }
.mockup-dot:nth-child(3) { background: #86efac; }
.mockup-body { padding: 20px; }
.mockup-clock { text-align: center; padding: 16px 0; }
.mockup-time {
  font-size: 2.75rem; font-weight: 800; color: var(--primary);
  font-variant-numeric: tabular-nums; letter-spacing: .04em;
}
.mockup-date { font-size: .85rem; color: var(--text-sub); margin-top: 2px; }
.mockup-rows { margin-top: 14px; display: flex; flex-direction: column; gap: 7px; }
.mockup-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 9px 12px; background: var(--bg-alt); border-radius: var(--radius); font-size: .825rem;
}
.mockup-row-time { font-weight: 600; color: var(--primary); }
.mockup-row-label { color: var(--text-sub); }
.mockup-row-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--success); }

/* ===== Feature Grid ===== */
.feat-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.feat-card {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 32px 28px; transition: all .2s;
}
.feat-card:hover { border-color: var(--accent); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.feat-icon {
  width: 48px; height: 48px; background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border-radius: 12px; display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.feat-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--primary); margin-bottom: 8px; }
.feat-card p { font-size: .9rem; color: var(--text-sub); line-height: 1.7; }

/* ===== Use-case Grid ===== */
.case-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.case-card {
  text-align: center; padding: 28px 16px;
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg); transition: all .2s;
}
.case-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.case-icon {
  width: 52px; height: 52px; background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border-radius: 14px; display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
}
.case-card h3 { font-size: .95rem; font-weight: 700; color: var(--primary); margin-bottom: 6px; }
.case-card p { font-size: .8rem; color: var(--text-sub); line-height: 1.6; }

/* Photo grid with overlay */
.photo-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px;
  border-radius: var(--radius-lg); overflow: hidden;
}
.photo-item {
  position: relative; overflow: hidden;
  aspect-ratio: 4 / 3; cursor: default;
}
.photo-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
}
.photo-item:hover img { transform: scale(1.06); }
.photo-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.05) 50%, transparent 100%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 20px; transition: background .3s;
}
.photo-item:hover .photo-overlay {
  background: linear-gradient(0deg, rgba(0,0,0,.65) 0%, rgba(0,0,0,.1) 60%, transparent 100%);
}
.photo-overlay h3 {
  font-size: 1rem; font-weight: 700; color: #fff;
  margin-bottom: 3px; text-shadow: 0 1px 3px rgba(0,0,0,.3);
}
.photo-overlay p {
  font-size: .82rem; color: rgba(255,255,255,.85);
  line-height: 1.5; text-shadow: 0 1px 2px rgba(0,0,0,.3);
}

/* ===== CTA Banner ===== */
.cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  padding: 80px 0; text-align: center;
}
.cta h2 { font-size: 1.85rem; font-weight: 800; color: #fff; margin-bottom: 14px; letter-spacing: -.02em; }
.cta p { font-size: 1.05rem; color: rgba(255,255,255,.8); margin-bottom: 36px; line-height: 1.7; }
.cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ===== Page Header (sub pages) ===== */
.page-head {
  padding: calc(var(--header-h) + 40px) 0 40px;
  background: linear-gradient(135deg, #eef4ff 0%, #f8fafc 100%);
  border-bottom: 1px solid var(--border);
}
.page-head h1 {
  font-size: 1.875rem; font-weight: 800; color: var(--primary-dark);
  margin-bottom: 6px; letter-spacing: -.02em;
}
.page-head p { font-size: 1rem; color: var(--text-sub); }
.crumb {
  display: flex; align-items: center; gap: 6px;
  font-size: .82rem; color: var(--text-muted); margin-bottom: 12px;
}
.crumb a { color: var(--text-sub); transition: color .15s; }
.crumb a:hover { color: var(--accent); }

/* ===== Pricing ===== */
.price-box {
  background: var(--bg); border: 2px solid var(--accent); border-radius: var(--radius-lg);
  padding: 36px 32px; max-width: 460px; margin: 0 auto 44px; text-align: center;
  position: relative;
}
.price-tag {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #fff; padding: 3px 14px;
  border-radius: 12px; font-size: .78rem; font-weight: 700;
}
.price-label { font-size: .88rem; font-weight: 600; color: var(--accent); margin-bottom: 6px; }
.price-amount { font-size: 2.25rem; font-weight: 800; color: var(--primary); margin-bottom: 4px; }
.price-period { font-size: .85rem; color: var(--text-sub); margin-bottom: 20px; }
.price-list { text-align: left; margin-bottom: 28px; }
.price-list li {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 7px 0; font-size: .925rem; color: var(--text);
}
.price-check {
  width: 18px; height: 18px; min-width: 18px; margin-top: 3px;
  background: #dcfce7; border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%2310b981' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center;
}

/* Steps */
.steps { max-width: 600px; margin: 0 auto; }
.step { display: flex; gap: 18px; padding-bottom: 28px; position: relative; }
.step:last-child { padding-bottom: 0; }
.step-num {
  width: 36px; height: 36px; min-width: 36px; background: var(--accent); color: #fff;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .9rem; position: relative; z-index: 1;
}
.step:not(:last-child) .step-num::after {
  content: ''; position: absolute; top: 36px; left: 50%; transform: translateX(-50%);
  width: 2px; height: calc(100% + 28px - 36px); background: var(--border);
}
.step-body h3 { font-size: 1rem; font-weight: 700; color: var(--primary); margin-bottom: 4px; margin-top: 6px; }
.step-body p { font-size: .9rem; color: var(--text-sub); line-height: 1.7; }

/* Info cards */
.info-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; margin-top: 44px; }
.info-card {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px 22px;
}
.info-card h3 {
  font-size: .95rem; font-weight: 700; color: var(--primary);
  margin-bottom: 8px; display: flex; align-items: center; gap: 8px;
}
.info-card p, .info-card ul { font-size: .88rem; color: var(--text-sub); line-height: 1.7; word-break: keep-all; }
.info-card li { padding: 2px 0; }

/* ===== Manual ===== */
.manual-wrap {
  display: grid; grid-template-columns: 220px 1fr; gap: 40px;
  padding-top: calc(var(--header-h) + 36px); min-height: 100vh;
}
.manual-side {
  position: sticky; top: calc(var(--header-h) + 20px); align-self: start; padding: 16px 0;
}
.manual-side-title {
  font-size: .75rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .05em; color: var(--text-muted); margin-bottom: 10px;
}
.manual-side-nav a {
  display: block; padding: 7px 14px; font-size: .875rem; color: var(--text-sub);
  border-left: 2px solid transparent; transition: all .12s; margin-bottom: 1px;
}
.manual-side-nav a:hover { color: var(--primary); background: var(--bg-alt); }
.manual-side-nav a.active { color: var(--accent); border-left-color: var(--accent); background: #eff6ff; font-weight: 600; }

.manual-body { padding: 16px 0 72px; max-width: 680px; }
.manual-block { margin-bottom: 48px; }
.manual-block h2 {
  font-size: 1.35rem; font-weight: 700; color: var(--primary);
  margin-bottom: 6px; padding-bottom: 10px; border-bottom: 2px solid var(--border);
}
.manual-block h3 { font-size: 1.05rem; font-weight: 600; color: var(--text); margin-top: 24px; margin-bottom: 10px; }
.manual-block p { font-size: .925rem; color: var(--text-sub); line-height: 1.8; margin-bottom: 14px; }
.manual-block ol { counter-reset: m; margin-bottom: 14px; padding-left: 4px; }
.manual-block ol li {
  counter-increment: m; padding: 5px 0 5px 26px; font-size: .925rem;
  color: var(--text-sub); line-height: 1.7; position: relative;
}
.manual-block ol li::before {
  content: counter(m); position: absolute; left: 0; top: 5px;
  width: 18px; height: 18px; background: #eff6ff; color: var(--accent);
  border-radius: 50%; font-size: .72rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.manual-block ul { margin-bottom: 14px; padding-left: 4px; }
.manual-block ul li {
  padding: 3px 0 3px 18px; font-size: .925rem; color: var(--text-sub); position: relative;
}
.manual-block ul li::before {
  content: ''; position: absolute; left: 3px; top: 12px;
  width: 5px; height: 5px; border-radius: 50%; background: var(--accent);
}
.manual-note {
  background: #eff6ff; border-left: 3px solid var(--accent);
  padding: 14px 18px; border-radius: 0 var(--radius) var(--radius) 0;
  margin: 14px 0; font-size: .875rem; color: var(--text); line-height: 1.7;
}
.manual-note strong { color: var(--accent); }

/* FAQ */
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 10px; overflow: hidden; }
.faq-q {
  width: 100%; padding: 14px 18px; background: var(--bg); border: none;
  text-align: left; font-size: .925rem; font-weight: 600; color: var(--primary);
  cursor: pointer; display: flex; justify-content: space-between; align-items: center;
  transition: background .12s; font-family: inherit;
}
.faq-q:hover { background: var(--bg-alt); }
.faq-q::after { content: '+'; font-size: 1.2rem; font-weight: 400; color: var(--text-muted); transition: transform .2s; }
.faq-item.open .faq-q::after { content: '\2212'; }
.faq-a { display: none; padding: 0 18px 14px; font-size: .875rem; color: var(--text-sub); line-height: 1.8; }
.faq-item.open .faq-a { display: block; }

/* ===== Contact ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.contact-info h2 { font-size: 1.4rem; font-weight: 700; color: var(--primary); margin-bottom: 12px; }
.contact-info > p { font-size: .95rem; color: var(--text-sub); line-height: 1.8; margin-bottom: 28px; }
.contact-way { display: flex; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--border); }
.contact-way:last-child { border-bottom: none; }
.contact-way-icon {
  width: 40px; height: 40px; min-width: 40px; background: #eff6ff; border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
}
.contact-way h3 { font-size: .9rem; font-weight: 600; color: var(--primary); margin-bottom: 2px; }
.contact-way p { font-size: .85rem; color: var(--text-sub); line-height: 1.6; }
.contact-form {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px 28px;
}
.contact-form h3 { font-size: 1.05rem; font-weight: 700; color: var(--primary); margin-bottom: 20px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: .82rem; font-weight: 600; color: var(--text); margin-bottom: 5px; }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%; padding: 9px 12px; border: 1px solid var(--border); border-radius: var(--radius);
  font-size: .925rem; color: var(--text); background: var(--bg); transition: border-color .12s; font-family: inherit;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(59,130,246,.1);
}
.form-group textarea { resize: vertical; min-height: 110px; }

/* ===== Footer ===== */
.footer { background: var(--primary-dark); color: rgba(255,255,255,.65); padding: 44px 0 28px; }
.footer .container { display: flex; justify-content: space-between; align-items: start; gap: 36px; }
.footer-brand { max-width: 300px; }
.footer-name { font-size: 1.1rem; font-weight: 700; color: #fff; margin-bottom: 10px; }
.footer-brand p { font-size: .82rem; line-height: 1.7; }
.footer-col h4 {
  font-size: .78rem; font-weight: 700; color: #fff; margin-bottom: 10px;
  text-transform: uppercase; letter-spacing: .05em;
}
.footer-col a { display: block; font-size: .82rem; padding: 3px 0; transition: color .12s; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  margin-top: 36px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.08);
  font-size: .78rem; text-align: center; color: rgba(255,255,255,.35);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .feat-grid { grid-template-columns: repeat(2,1fr); }
  .case-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 768px) {
  .menu-btn { display: flex; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    background: #fff; flex-direction: column; gap: 0;
    padding: 8px 0; border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md); display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 11px 24px; width: 100%; font-size: .95rem; }
  .nav a.active::after { display: none; }
  .nav .btn { margin: 6px 24px; width: calc(100% - 48px); justify-content: center; }

  .hero .container { flex-direction: column; text-align: center; }
  .hero h1 { font-size: 1.9rem; }
  .hero-lead { font-size: .95rem; }
  .hero-actions { justify-content: center; }
  .hero-visual { max-width: 340px; margin: 0 auto; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }

  .pain-grid { grid-template-columns: 1fr; max-width: 400px; }

  .feature-row, .feature-row.reverse { flex-direction: column; gap: 32px; }
  .feature-visual { max-width: 100%; }
  .feature-visual-box { min-height: 200px; padding: 48px 16px; }

  .process-grid { flex-direction: column; align-items: center; }
  .process-arrow { display: none; }

  .section { padding: 72px 0; }
  .section-title { font-size: 1.5rem; }
  .feature-text h2 { font-size: 1.5rem; }

  .feat-grid, .info-grid { grid-template-columns: 1fr; }
  .case-grid { grid-template-columns: repeat(2,1fr); }
  .photo-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }

  .manual-wrap { grid-template-columns: 1fr; gap: 0; }
  .manual-side { position: static; border-bottom: 1px solid var(--border); padding: 12px 0; }
  .manual-side-nav { display: flex; gap: 4px; overflow-x: auto; padding-bottom: 6px; }
  .manual-side-nav a { white-space: nowrap; border-left: none; border-bottom: 2px solid transparent; padding: 7px 10px; }
  .manual-side-nav a.active { border-left: none; border-bottom-color: var(--accent); }

  .footer .container { flex-direction: column; gap: 28px; }
  .page-head h1 { font-size: 1.4rem; }
}

@media (max-width: 480px) {
  .case-grid { grid-template-columns: 1fr; }
  .photo-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 1.65rem; }
  .price-box { padding: 24px 18px; }
  .contact-form { padding: 22px 18px; }
}

/* ===== Animations ===== */

/* Hero entrance */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(32px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes heroFadeRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}
.hero-text {
  animation: heroFadeUp .8s ease-out both;
}
.hero-visual {
  animation: heroFadeRight .8s .2s ease-out both;
}

/* Scroll reveal */
.reveal {
  opacity: 0; transform: translateY(40px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible {
  opacity: 1; transform: translateY(0);
}

/* Staggered children (grid items) */
.reveal-stagger > * {
  opacity: 0; transform: translateY(28px);
  transition: opacity .5s ease, transform .5s ease;
}
.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: .08s; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: .16s; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: .24s; }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: .32s; }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: .40s; }
.reveal-stagger.visible > * {
  opacity: 1; transform: translateY(0);
}

/* Stat counter pop */
@keyframes statPop {
  from { opacity: 0; transform: scale(.85); }
  to { opacity: 1; transform: scale(1); }
}
.stats-grid.visible .stat-item {
  animation: statPop .5s ease-out both;
}
.stats-grid.visible .stat-item:nth-child(1) { animation-delay: 0s; }
.stats-grid.visible .stat-item:nth-child(2) { animation-delay: .1s; }
.stats-grid.visible .stat-item:nth-child(3) { animation-delay: .2s; }
.stats-grid.visible .stat-item:nth-child(4) { animation-delay: .3s; }
.stats-grid .stat-item {
  opacity: 0;
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
