/* 한국좋아 랜딩(#1087). 색은 브랜드(코랄), kos(파랑 #24599A), kon(초록·주황 로고)을 따른다. */
:root {
  --brand: #e8483f;
  --brand-soft: #fff1f0;
  --kos: #24599a;
  --kos-soft: #eaf1fb;
  --kon: #4f9a2c;
  --kon-accent: #f7941d;
  --kon-soft: #eef7e8;
  --ink: #111827;
  --body: #374151;
  --muted: #6b7280;
  --line: #e5e7eb;
  --bg: #ffffff;
  --bg-alt: #f7f8fa;
  --radius: 20px;
  --shadow: 0 10px 30px rgba(17, 24, 39, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font-family: "Pretendard", system-ui, -apple-system, "Segoe UI", "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans", sans-serif;
  line-height: 1.6;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
img { display: block; }
a { color: inherit; }
h1, h2, h3 { color: var(--ink); margin: 0; line-height: 1.3; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* 머리 */
.top { position: sticky; top: 0; z-index: 10; background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 16px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { width: 34px; height: 34px; flex: none; }
.brand-name { font-size: 1.2rem; font-weight: 800; color: var(--ink); letter-spacing: -0.02em; }
.top-nav { display: flex; gap: 20px; margin-left: auto; }
.top-nav a { text-decoration: none; font-weight: 600; color: var(--body); font-size: 0.95rem; }
.top-nav a:hover { color: var(--ink); }
.lang { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); border-radius: 999px; padding: 6px 10px; color: var(--muted); }
.lang svg { width: 18px; height: 18px; }
.lang select { border: 0; background: transparent; font: inherit; font-size: 0.9rem; color: var(--ink); cursor: pointer; max-width: 9.5rem; }
.lang select:focus { outline: none; }
.lang:focus-within { border-color: var(--ink); }

/* 첫 화면 */
.hero { background: radial-gradient(1200px 500px at 85% -10%, var(--brand-soft), transparent 60%), radial-gradient(800px 400px at -10% 110%, var(--kos-soft), transparent 60%); }
.hero-in { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; padding-top: 72px; padding-bottom: 80px; }
.eyebrow { display: inline-block; margin: 0 0 16px; padding: 6px 12px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); font-weight: 700; font-size: 0.9rem; }
.hero h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 800; letter-spacing: -0.03em; white-space: pre-line; }
.lead { margin: 20px 0 28px; font-size: 1.1rem; max-width: 34rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 24px 0 0; }
.chips li { padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: 0.9rem; font-weight: 600; color: var(--body); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 14px; font-weight: 700; font-size: 1rem; text-decoration: none; color: #fff; transition: transform 0.15s ease, box-shadow 0.15s ease; }
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.btn-kos { background: var(--kos); }
.btn-kon { background: var(--kon); }
.btn-wide { width: 100%; justify-content: space-between; margin-top: auto; }
.btn .url { font-weight: 500; font-size: 0.85rem; opacity: 0.85; }

.hero-art { position: relative; height: 380px; }
.phone { position: absolute; width: 200px; height: 340px; border-radius: 32px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); padding: 28px 20px; display: flex; flex-direction: column; gap: 12px; }
.phone img { width: 56px; height: 56px; border-radius: 14px; }
.phone b { color: var(--ink); font-size: 0.95rem; }
.phone .bar { height: 10px; border-radius: 6px; background: var(--line); }
.phone .bar.short { width: 60%; }
.phone .tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.phone .tiles i { height: 48px; border-radius: 12px; }
.phone-kos { left: 4%; top: 0; transform: rotate(-5deg); }
.phone-kos .tiles i { background: var(--kos-soft); }
.phone-kon { right: 4%; top: 36px; transform: rotate(5deg); }
.phone-kon .tiles i { background: var(--kon-soft); }
.phone-kon .tiles i:nth-child(2) { background: #fef1e2; }

/* 서비스 카드 */
.services { padding: 80px 0; scroll-margin-top: 64px; }
.services h2, .steps h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); letter-spacing: -0.02em; text-align: center; margin-bottom: 40px; }
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.card { display: flex; flex-direction: column; gap: 16px; padding: 32px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; scroll-margin-top: 88px; }
.card-kos { background: linear-gradient(180deg, var(--kos-soft), #fff 45%); }
.card-kon { background: linear-gradient(180deg, var(--kon-soft), #fff 45%); }
.card-head { display: flex; gap: 16px; align-items: center; }
.card-head img { width: 56px; height: 56px; border-radius: 14px; border: 1px solid var(--line); background: #fff; }
.tag { display: inline-block; font-size: 0.85rem; font-weight: 700; margin-bottom: 4px; }
.card-kos .tag { color: var(--kos); }
.card-kon .tag { color: var(--kon); }
.card h3 { font-size: 1.35rem; }
.card p { margin: 0; }
.feats { list-style: none; padding: 0; margin: 4px 0 8px; display: grid; gap: 10px; }
.feats li { position: relative; padding-left: 30px; font-weight: 600; color: var(--ink); }
.feats li::before { content: ""; position: absolute; left: 0; top: 0.2em; width: 20px; height: 20px; border-radius: 50%; background: var(--kos) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.card-kon .feats li::before { background-color: var(--kon); }

/* 시작 단계 */
.steps { padding: 80px 0; background: var(--bg-alt); }
.step-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step-list li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.num { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; margin-bottom: 14px; }
.step-list h3 { font-size: 1.15rem; margin-bottom: 8px; }
.step-list p { margin: 0; }

/* 설치 */
.install { padding: 80px 0; }
.install-in { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: center; }
.install h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); letter-spacing: -0.02em; margin-bottom: 12px; }
.install p { margin: 0; }
.os { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.os-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: #fff; }
.os-card h3 { font-size: 1.05rem; margin-bottom: 8px; }

/* 바닥 */
.foot { border-top: 1px solid var(--line); background: var(--bg-alt); padding: 40px 0 48px; font-size: 0.85rem; color: var(--muted); }
.foot-in { display: grid; gap: 16px; }
.brand-foot .brand-mark { width: 28px; height: 28px; }
.brand-foot .brand-name { font-size: 1.05rem; }
.company { font-style: normal; display: grid; gap: 4px; }
.company a { color: var(--muted); }
.copy { margin: 0; }

/* 오른쪽에서 왼쪽으로 쓰는 언어(아랍어) */
[dir="rtl"] .top-nav { margin-left: 0; margin-right: auto; }
[dir="rtl"] .feats li { padding-left: 0; padding-right: 30px; }
[dir="rtl"] .feats li::before { left: auto; right: 0; }

@media (max-width: 900px) {
  .hero-in { grid-template-columns: 1fr; padding-top: 48px; padding-bottom: 56px; }
  .hero-art { display: none; }
  .cards, .install-in { grid-template-columns: 1fr; }
  .step-list { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .top-nav { display: none; }
  .lang { margin-left: auto; }
  [dir="rtl"] .lang { margin-left: 0; margin-right: auto; }
  .hero-cta .btn { flex: 1 1 100%; }
  .card { padding: 24px; }
  .os { grid-template-columns: 1fr; }
  .services, .steps, .install { padding: 56px 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
