/* ============================================================
   앱몬스터 공통 스타일 — 회사 페이지 전용
   사용 페이지: / , /solutions , /apps , /about
   (ridetalk.html / routefinding.html / privacy.html 은
    각자 인라인 스타일을 그대로 씁니다. 여기를 고쳐도 영향 없음)
   ============================================================ */

:root {
  --bg: #0a0e14;
  --bg-elev: #111722;
  --bg-card: #131b28;
  --ink: #eef4fb;
  --ink-dim: #8a99ad;
  --ink-faint: #56657a;
  --cyan: #22d3ee;
  --cyan-glow: rgba(34, 211, 238, 0.15);
  --line: rgba(138, 153, 173, 0.14);
  --radius: 18px;
  --maxw: 1100px;
  --display: 'Space Grotesk', 'Noto Sans KR', sans-serif;
  --body: 'Noto Sans KR', 'Space Grotesk', sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--ink); font-family: var(--body); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- NAV (site.js 가 그려 넣음) ---------- */
nav { position: sticky; top: 0; z-index: 100; background: rgba(10,14,20,0.72); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.nav-inner { max-width: var(--maxw); margin: 0 auto; padding: 16px 24px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: -0.02em; }
.brand-mark { width: 30px; height: 30px; flex-shrink: 0; object-fit: contain; }
.nav-links { display: flex; gap: 30px; align-items: center; font-size: 14.5px; color: var(--ink-dim); font-weight: 500; }
.nav-links a { transition: color 0.2s; }
.nav-links a:hover { color: var(--ink); }
.nav-links a[aria-current="page"] { color: var(--ink); }
@media (max-width: 640px) { .nav-links { gap: 18px; font-size: 13.5px; } .nav-links a.hide-sm { display: none; } }

/* ---------- 공통 타이포 / 섹션 ---------- */
h1 { font-family: var(--display); font-weight: 700; font-size: clamp(36px, 7vw, 72px); line-height: 1.06; letter-spacing: -0.035em; margin-bottom: 24px; word-break: keep-all; }
h1 .accent { color: var(--cyan); }
.sec-head { text-align: center; max-width: 560px; margin: 0 auto 56px; }
.sec-head.wide { max-width: 680px; }
.sec-eyebrow { font-family: var(--display); font-size: 13px; font-weight: 600; color: var(--cyan); letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 14px; }
.sec-title { font-family: var(--display); font-weight: 700; font-size: clamp(28px, 4vw, 38px); line-height: 1.12; letter-spacing: -0.025em; margin-bottom: 14px; word-break: keep-all; }
.sec-desc { color: var(--ink-dim); font-size: 16.5px; word-break: keep-all; }

/* ---------- 버튼 ---------- */
.btn { display: inline-flex; align-items: center; gap: 9px; background: var(--cyan); color: #04141a; padding: 14px 28px; border-radius: 999px; font-family: var(--display); font-weight: 700; font-size: 15.5px; transition: transform 0.15s, box-shadow 0.2s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 30px var(--cyan-glow); }
.btn svg { width: 18px; height: 18px; fill: none; stroke: #04141a; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn.ghost:hover { border-color: rgba(34,211,238,0.45); box-shadow: none; }
.btn.ghost svg { stroke: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row.center { justify-content: center; }
.more-link { display: inline-flex; align-items: center; gap: 8px; font-family: var(--display); font-weight: 600; font-size: 15px; color: var(--cyan); transition: gap 0.2s; }
.more-link:hover { gap: 12px; }
.more-link svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sec-foot { text-align: center; margin-top: 40px; }

/* ---------- 홈 히어로 ---------- */
.hero { position: relative; padding: 100px 0 80px; text-align: center; overflow: hidden; }
.hero-glow { position: absolute; width: 700px; height: 500px; border-radius: 50%; background: radial-gradient(circle, var(--cyan-glow), transparent 65%); filter: blur(30px); top: -120px; left: 50%; transform: translateX(-50%); z-index: -1; pointer-events: none; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--display); font-size: 13px; font-weight: 600; color: var(--cyan); letter-spacing: 0.06em; padding: 7px 16px; border: 1px solid rgba(34,211,238,0.25); border-radius: 999px; background: var(--cyan-glow); margin-bottom: 30px; }
.hero-sub { font-size: clamp(16px, 2.4vw, 19px); color: var(--ink-dim); max-width: 34em; margin: 0 auto 38px; word-break: keep-all; }

/* ---------- 하위 페이지 헤더 ---------- */
.page-hero { position: relative; padding: 76px 0 56px; overflow: hidden; border-bottom: 1px solid var(--line); }
.page-hero .hero-glow { top: -220px; }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(32px, 5.2vw, 52px); margin-bottom: 18px; }
.page-hero p { color: var(--ink-dim); font-size: 17px; max-width: 40em; word-break: keep-all; }
.crumb { font-family: var(--display); font-size: 13px; color: var(--ink-faint); margin-bottom: 16px; letter-spacing: 0.02em; }
.crumb a { color: var(--ink-faint); }
.crumb a:hover { color: var(--cyan); }

/* ---------- 앱 카드 ---------- */
section.apps { padding: 84px 0 96px; }
.app-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 460px)); gap: 22px; justify-content: center; }
@media (max-width: 760px) { .app-grid { grid-template-columns: 1fr; } }
.app-card { background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; transition: border-color 0.25s, transform 0.25s; position: relative; overflow: hidden; color: inherit; text-decoration: none; }
.app-card:hover { border-color: rgba(34,211,238,0.35); transform: translateY(-3px); }
.app-card.soon { opacity: 0.62; }
.app-card-top { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.app-icon { width: 60px; height: 60px; border-radius: 15px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.app-icon img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; display: block; }
.app-name { font-family: var(--display); font-size: 21px; font-weight: 600; letter-spacing: -0.01em; }
.app-tag { font-size: 12.5px; color: var(--cyan); font-weight: 600; font-family: var(--display); letter-spacing: 0.02em; margin-top: 3px; }
.app-desc { color: var(--ink-dim); font-size: 14.8px; margin-bottom: 22px; flex-grow: 1; word-break: keep-all; }
.app-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.app-more { display: inline-flex; align-items: center; gap: 7px; font-family: var(--display); font-weight: 600; font-size: 14px; color: var(--cyan); transition: gap 0.2s; }
.app-card:hover .app-more { gap: 11px; }
.app-more svg { width: 15px; height: 15px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.app-more { white-space: nowrap; }
.more-link { flex-wrap: wrap; justify-content: center; word-break: keep-all; }
.app-stores { display: flex; gap: 8px; margin-left: auto; }
.app-stores a { width: 34px; height: 34px; border-radius: 9px; background: var(--bg-elev); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; transition: border-color 0.2s; }
.app-stores a:hover { border-color: rgba(34,211,238,0.4); }
.app-stores svg { width: 18px; height: 18px; }
.soon-badge { font-family: var(--display); font-size: 11px; font-weight: 600; color: var(--ink-faint); border: 1px solid var(--line); padding: 5px 11px; border-radius: 999px; letter-spacing: 0.04em; }

/* ---------- 솔루션 ---------- */
section.solutions { padding: 84px 0 96px; position: relative; overflow: hidden; }
section.solutions.alt { background: var(--bg-elev); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sol-target { display: flex; flex-wrap: wrap; gap: 9px; }
.sol-target.center { justify-content: center; margin: -30px auto 50px; max-width: 720px; }
.sol-target span { font-family: var(--display); font-size: 13px; font-weight: 600; color: var(--ink-dim); border: 1px solid var(--line); background: var(--bg-card); border-radius: 999px; padding: 8px 16px; }
.sol-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(276px, 1fr)); gap: 18px; }
.sol-card { background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; transition: border-color 0.25s, transform 0.25s; }
.sol-card:hover { border-color: rgba(34,211,238,0.32); transform: translateY(-3px); }
.sol-ico { width: 42px; height: 42px; border-radius: 12px; background: var(--cyan-glow); border: 1px solid rgba(34,211,238,0.22); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.sol-ico svg { width: 21px; height: 21px; fill: none; stroke: var(--cyan); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sol-card h3 { font-family: var(--display); font-size: 17.5px; font-weight: 600; letter-spacing: -0.012em; margin-bottom: 9px; line-height: 1.35; word-break: keep-all; }
.sol-card p { color: var(--ink-dim); font-size: 14.5px; word-break: keep-all; }
.sol-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 15px; }
.sol-tags span { font-size: 11.5px; color: var(--ink-faint); border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; letter-spacing: 0.02em; }

.sol-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 18px; margin-top: 46px; }
.sol-step { padding-top: 17px; border-top: 2px solid rgba(34,211,238,0.3); }
.sol-step b { display: block; font-family: var(--display); font-size: 11.5px; color: var(--cyan); letter-spacing: 0.12em; margin-bottom: 8px; }
.sol-step strong { display: block; font-size: 15px; font-weight: 600; margin-bottom: 5px; }
.sol-step span { color: var(--ink-faint); font-size: 13.2px; word-break: keep-all; }

.cta-box { margin-top: 46px; background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 32px; display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.cta-box h3 { font-family: var(--display); font-size: 21px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 8px; }
.cta-box p { color: var(--ink-dim); font-size: 14.8px; max-width: 44em; word-break: keep-all; }

/* ---------- 회사 소개 ---------- */
.about { padding: 84px 0 96px; }
.about.alt { background: var(--bg-elev); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
@media (max-width: 760px) { .about-grid { grid-template-columns: 1fr; gap: 36px; } }
.about h2 { font-family: var(--display); font-weight: 700; font-size: clamp(26px, 3.6vw, 34px); letter-spacing: -0.025em; margin-bottom: 18px; line-height: 1.18; word-break: keep-all; }
.about p { color: var(--ink-dim); font-size: 16px; margin-bottom: 16px; word-break: keep-all; }
.about-meta { display: flex; flex-direction: column; gap: 1px; }
.meta-row { display: flex; padding: 16px 0; border-bottom: 1px solid var(--line); }
.meta-row:last-child { border-bottom: none; }
.meta-k { font-family: var(--display); font-size: 13px; color: var(--ink-faint); width: 110px; flex-shrink: 0; letter-spacing: 0.03em; }
.meta-v { color: var(--ink); font-size: 15px; }
.meta-v a { color: var(--cyan); }

/* ---------- FOOTER (site.js 가 그려 넣음) ---------- */
footer { padding: 50px 0 40px; }
.foot-grid { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; flex-wrap: wrap; margin-bottom: 36px; }
.foot-brand { max-width: 320px; }
.foot-brand .brand { margin-bottom: 14px; }
.foot-brand p { color: var(--ink-faint); font-size: 13.5px; }
.foot-links { display: flex; gap: 56px; flex-wrap: wrap; }
.foot-col h4 { font-family: var(--display); font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-faint); margin-bottom: 14px; }
.foot-col a { display: block; color: var(--ink-dim); font-size: 14px; margin-bottom: 9px; transition: color 0.2s; }
.foot-col a:hover { color: var(--cyan); }
.foot-bottom { border-top: 1px solid var(--line); padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; color: var(--ink-faint); font-size: 12.5px; }

:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; scroll-behavior: auto !important; } }
