/* NECALL landing — white theme */
:root {
  --red: #e63946; --red-dark: #c92a37;
  --ink: #1b2430; --ink-soft: #5a6676;
  --bg: #ffffff; --bg-soft: #f6f8fa; --line: #e6eaef;
  --blue: #2563eb; --green: #0f9d58;
  --radius: 14px;
  --shadow: 0 8px 30px rgba(20, 30, 50, .08);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Segoe UI', 'Noto Sans', 'Noto Sans Khmer', system-ui, sans-serif; color: var(--ink); background: var(--bg); line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.15; }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.2rem); margin-bottom: .4rem; }
.section-sub { color: var(--ink-soft); max-width: 640px; margin: 0 auto 2rem; }
section { padding: 72px 0; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 24px; height: 62px; }
.logo { font-weight: 800; font-size: 1.3rem; letter-spacing: .5px; border: 1px solid var(--red); border-radius: 9px; padding: 3px 12px 4px; line-height: 1.25; display: inline-block; }
.logo span { color: var(--red); }
.main-nav { display: flex; gap: 20px; margin-left: auto; font-size: .95rem; }
.main-nav a:hover { color: var(--red); }
.lang-switch { display: flex; gap: 4px; }
.lang-switch button { border: 1px solid var(--line); background: #fff; padding: 5px 10px; border-radius: 8px; cursor: pointer; font-size: .85rem; font-family: inherit; }
.lang-switch button.active { background: var(--ink); color: #fff; border-color: var(--ink); }

/* hero */
.hero { background: linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.badge { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: .82rem; font-weight: 600; color: var(--ink-soft); box-shadow: 0 2px 8px rgba(20,30,50,.05); }
.badge-kr { color: var(--ink); border-color: #f3c1c6; background: #fff5f5; }
.badge-kr.big { font-size: 1rem; padding: 8px 20px; }
.hero-sub { margin: 16px 0 20px; color: var(--ink-soft); font-size: 1.06rem; max-width: 520px; }
.promo-banner { display: flex; align-items: center; gap: 10px; background: #fff; border: 2px dashed var(--red); border-radius: var(--radius); padding: 12px 16px; margin-bottom: 24px; font-weight: 600; font-size: .95rem; }
.promo-tag { background: var(--red); color: #fff; font-weight: 800; padding: 4px 12px; border-radius: 8px; font-size: .85rem; white-space: nowrap; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.btn { display: inline-block; padding: 13px 26px; border-radius: 10px; font-weight: 700; font-size: .98rem; transition: .18s; border: none; cursor: pointer; font-family: inherit; }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 6px 18px rgba(230,57,70,.3); }
.btn-primary:hover { background: var(--red-dark); transform: translateY(-1px); }
.btn-ghost { background: #fff; border: 1px solid var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-outline { background: #fff; border: 2px solid var(--red); color: var(--red); }
.btn-outline:hover { background: var(--red); color: #fff; }
.hero-visual { position: relative; }
.hero-visual img { width: 100%; filter: drop-shadow(0 18px 35px rgba(20,30,50,.14)); }
.hero-model-tag { position: absolute; top: 8px; right: 8px; background: var(--ink); color: #fff; font-weight: 800; padding: 6px 16px; border-radius: 999px; letter-spacing: 1px; }

/* use places */
.useplaces { text-align: center; }
.place-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.place-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); text-align: left; transition: .2s; }
.place-card:hover { transform: translateY(-4px); }
.place-card .ph { aspect-ratio: 4/3; overflow: hidden; }
.place-card .ph img { width: 100%; height: 100%; object-fit: cover; }
.place-card h3 { padding: 14px 16px 2px; font-size: 1.05rem; display: flex; align-items: center; gap: 8px; }
.place-card h3 .place-ic { height: 30px; width: 30px; object-fit: contain; }
.place-card p { padding: 0 16px 16px; color: var(--ink-soft); font-size: .9rem; }

/* how */
.how { background: var(--bg-soft); text-align: center; }
.how-grid { display: flex; align-items: stretch; justify-content: center; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.how-step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; width: 250px; position: relative; box-shadow: var(--shadow); }
.how-num { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--red); color: #fff; width: 28px; height: 28px; border-radius: 50%; font-weight: 800; display: flex; align-items: center; justify-content: center; font-size: .9rem; }
.how-ic { margin-bottom: 8px; }
.how-ic img { height: 72px; width: 72px; object-fit: contain; }
.how-step p { color: var(--ink-soft); font-size: .9rem; }
.how-arrow { align-self: center; font-size: 1.6rem; color: var(--red); font-weight: 800; }

/* pricing */
.pricing { text-align: center; }
.price-grid { display: grid; grid-template-columns: repeat(2, minmax(280px, 420px)); gap: 26px; justify-content: center; }
.price-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 30px 28px; box-shadow: var(--shadow); position: relative; text-align: left; display: flex; flex-direction: column; gap: 14px; }
.price-best { border: 2px solid var(--red); }
.best-tag { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--red); color: #fff; font-weight: 800; font-size: .78rem; padding: 5px 16px; border-radius: 999px; letter-spacing: 1px; }
.price-card h3 { font-size: 1.25rem; }
.price-visual img { max-height: 190px; margin: 0 auto; }
.price-amount { font-size: 2.6rem; font-weight: 800; color: var(--ink); }
.price-amount::after { content: ' USD'; font-size: 1rem; color: var(--ink-soft); font-weight: 600; }
.price-card ul { list-style: none; display: grid; gap: 8px; }
.price-card li { padding-left: 26px; position: relative; font-size: .95rem; }
.price-card li::before { content: '✓'; position: absolute; left: 0; color: var(--green); font-weight: 800; }
.price-card .li-free { font-weight: 700; }
.price-card .li-free::before { content: '🎁'; }
.price-card .btn { text-align: center; margin-top: 6px; }

/* pos */
.pos { background: linear-gradient(135deg, #10233f 0%, #1b3a63 100%); color: #fff; }
.pos-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; align-items: center; }
.pos-price-strike { display: inline-block; font-size: 1.6rem; font-weight: 800; color: #ff8f98; text-decoration: line-through; margin-bottom: 4px; }
.pos-copy p { color: #c9d6e8; margin: 10px 0 18px; }
.pos-feats { list-style: none; display: grid; gap: 10px; margin-bottom: 26px; }
.pos-feats li { padding-left: 28px; position: relative; }
.pos-feats li::before { content: '✓'; position: absolute; left: 0; color: #7ee2a8; font-weight: 800; }
.pos-mock { background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,.35); position: relative; color: var(--ink); }
.pos-mock-bar { display: flex; align-items: center; gap: 6px; background: #eef1f5; padding: 10px 14px; }
.pos-mock-bar span { width: 10px; height: 10px; border-radius: 50%; background: #d3dae3; }
.pos-mock-bar span:first-child { background: #ff5f57; } .pos-mock-bar span:nth-child(2) { background: #febc2e; } .pos-mock-bar span:nth-child(3) { background: #28c840; }
.pos-mock-bar em { font-style: normal; font-size: .8rem; color: var(--ink-soft); margin-left: 8px; background: #fff; border-radius: 6px; padding: 2px 12px; flex: 1; }
.pos-mock-body { display: flex; min-height: 220px; }
.pm-side { width: 56px; background: #17253b; padding: 14px 0; display: grid; gap: 10px; justify-items: center; align-content: start; }
.pm-side i { width: 26px; height: 26px; border-radius: 8px; background: #2c405e; }
.pm-side i:first-child { background: var(--red); }
.pm-main { flex: 1; padding: 16px; }
.pm-cards { display: flex; gap: 10px; margin-bottom: 14px; }
.pm-cards b { flex: 1; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 10px; padding: 12px; font-size: 1.05rem; }
.pm-chart { display: flex; align-items: flex-end; gap: 8px; height: 110px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 10px; padding: 12px; }
.pm-chart s { flex: 1; background: linear-gradient(180deg, #4f8df9, #2563eb); border-radius: 4px 4px 0 0; text-decoration: none; }
.pos-free-stamp { position: absolute; top: -16px; right: -14px; background: var(--red); color: #fff; font-weight: 800; padding: 10px 18px; border-radius: 999px; transform: rotate(6deg); box-shadow: 0 8px 20px rgba(230,57,70,.45); }

/* SN */
.sn { background: var(--bg-soft); text-align: center; }
.sn-box { max-width: 560px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; text-align: left; }
.sn-tabs { display: flex; }
.sn-tab { flex: 1; padding: 16px; background: var(--bg-soft); border: none; border-bottom: 1px solid var(--line); font-weight: 700; font-size: .98rem; cursor: pointer; color: var(--ink-soft); font-family: inherit; }
.sn-tab.active { background: #fff; border-bottom-color: transparent; color: var(--ink); }
.sn-pane { display: none; padding: 26px; }
.sn-pane.active { display: grid; gap: 14px; }
.sn-pane label { display: grid; gap: 6px; font-weight: 600; font-size: .9rem; }
.sn-pane input, .sn-pane select { padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; font-size: 1rem; font-family: inherit; background: #fff; }
.sn-pane input:focus, .sn-pane select:focus { outline: 2px solid rgba(230,57,70,.35); border-color: var(--red); }
.sn-result { display: none; border-radius: 10px; padding: 14px 16px; font-size: .95rem; }
.sn-result.ok { display: block; background: #ecfdf3; border: 1px solid #b5e7c8; color: #14532d; }
.sn-result.err { display: block; background: #fef2f2; border: 1px solid #f5c2c7; color: #7f1d1d; }
.sn-result dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; margin-top: 6px; }
.sn-result dt { font-weight: 700; }

/* certs */
.certs { text-align: center; }
.certs-head { margin-bottom: 34px; }
.certs-head h2 { margin-top: 14px; }
.cert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cert-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); cursor: zoom-in; transition: .2s; text-align: left; }
.cert-card:hover { transform: translateY(-4px); }
.cert-card .cimg { aspect-ratio: 3/4; overflow: hidden; background: var(--bg-soft); }
.cert-card .cimg img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.cert-meta { padding: 12px 14px 14px; }
.cert-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.ctag { font-size: .68rem; font-weight: 800; letter-spacing: .4px; padding: 3px 9px; border-radius: 999px; text-transform: uppercase; }
.ctag-patent { background: #fff1f2; color: var(--red); border: 1px solid #f7c6cb; }
.ctag-design { background: #eff6ff; color: var(--blue); border: 1px solid #c4dafc; }
.ctag-kipo { background: #f0fdf4; color: var(--green); border: 1px solid #bde8cd; }
.cert-meta h3 { font-size: .86rem; line-height: 1.35; min-height: 2.6em; }
.cert-meta .cno { font-size: .8rem; color: var(--ink-soft); margin-top: 6px; font-variant-numeric: tabular-nums; }

/* footer */
.site-footer { background: var(--ink); color: #cbd5e1; padding: 46px 0 20px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 30px; padding-bottom: 26px; border-bottom: 1px solid #2e3947; }
.logo-ft { color: #fff; margin-bottom: 8px; font-size: 1.2rem; font-weight: 800; }
.site-footer h4 { color: #fff; margin-bottom: 8px; }
.footer-addr { margin-top: 12px; font-size: .85rem; color: #8a97a8; line-height: 1.5; }
.site-footer a:hover { color: #fff; }
.footer-bottom { padding-top: 18px; font-size: .85rem; color: #8a97a8; }

/* lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(12,18,28,.86); display: none; align-items: center; justify-content: center; z-index: 100; padding: 30px; }
.lightbox.open { display: flex; }
.lightbox figure { max-width: min(680px, 92vw); max-height: 90vh; display: flex; flex-direction: column; }
.lightbox img { max-height: 78vh; object-fit: contain; border-radius: 8px; background: #fff; }
.lightbox figcaption { color: #fff; text-align: center; padding: 12px; font-size: .95rem; }
.lb-close { position: absolute; top: 18px; right: 26px; background: none; border: none; color: #fff; font-size: 2.4rem; cursor: pointer; line-height: 1; }

/* responsive */
@media (max-width: 900px) {
  .hero-grid, .pos-grid { grid-template-columns: 1fr; }
  .place-grid { grid-template-columns: repeat(2, 1fr); }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .price-grid { grid-template-columns: 1fr; }
  .main-nav { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .how-arrow { display: none; }
}
@media (max-width: 480px) {
  .place-grid { grid-template-columns: 1fr; }
  section { padding: 52px 0; }
}
