/* Nexon Dünyası — styles (teal/coral theme, unique class names) */
:root {
  --bg: #F7FAF8;
  --surface: #FFFFFF;
  --ink: #1A2320;
  --muted: #62706A;
  --primary: #0F766E;
  --primary-ink: #FFFFFF;
  --accent: #F97316;
  --line: #E4EBE7;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(26,35,32,.05), 0 10px 26px rgba(26,35,32,.06);
  --font-head: "Oswald", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Fira Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.72;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--font-head); line-height: 1.1; margin: 0 0 .5em; font-weight: 600; letter-spacing: .01em; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.55rem, 3.2vw, 2.1rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1.1em; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

.nx-wrap { max-width: 1000px; margin: 0 auto; padding: 0 24px; }
.nx-narrow { max-width: 720px; }

/* Header */
.nx-header {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 10;
}
.nx-header .nx-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.nx-logo { font-family: var(--font-head); font-weight: 600; font-size: 1.45rem; color: var(--ink); text-transform: uppercase; letter-spacing: .02em; }
.nx-logo:hover { text-decoration: none; }
.nx-logo .nx-mark { color: var(--primary); }
.nx-menu { display: flex; align-items: center; gap: 24px; }
.nx-menu a { color: var(--muted); font-weight: 500; font-size: .93rem; }
.nx-menu a:hover { color: var(--ink); text-decoration: none; }
.nx-menu .nx-cta { background: var(--primary); color: var(--primary-ink); padding: 9px 18px; border-radius: 6px; font-weight: 600; }
.nx-menu .nx-cta:hover { text-decoration: none; opacity: .92; }

/* Hero */
.nx-hero { padding: 68px 0 48px; text-align: center; }
.nx-tag { display: inline-block; background: #E3F3F0; color: var(--primary); font-weight: 600; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; padding: 6px 15px; border-radius: 4px; margin-bottom: 20px; }
.nx-hero p.nx-lead { color: var(--muted); font-size: 1.16rem; max-width: 620px; margin: 0 auto 28px; }
.nx-btn { display: inline-block; background: var(--accent); color: #fff; font-weight: 600; padding: 14px 32px; border-radius: 6px; font-size: 1.03rem; }
.nx-btn:hover { text-decoration: none; opacity: .92; }

/* Section */
.nx-section { padding: 54px 0; }
.nx-section-soft { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.nx-head { max-width: 620px; margin-bottom: 32px; }
.nx-head.nx-center { margin-left: auto; margin-right: auto; text-align: center; }
.nx-muted { color: var(--muted); }

/* Guide */
.nx-guide p:first-of-type { font-size: 1.08rem; }
.nx-guide h3 { color: var(--primary); margin-top: 1.4em; }
.nx-guide .nx-note {
  margin: 1.4em 0; padding: 16px 18px; background: #FFF4EA; border: 1px solid #FBE0C7;
  border-radius: var(--radius); color: #7A4A22; font-size: .98rem;
}

/* Topics */
.nx-grid { display: grid; gap: 20px; }
.nx-grid-3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.nx-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.nx-card h3 { margin-bottom: 8px; }
.nx-card p { color: var(--muted); margin: 0; font-size: .95rem; }

/* Subscribe */
.nx-subscribe { background: var(--primary); color: #EAF4F2; border-radius: var(--radius); padding: 46px 32px; text-align: center; }
.nx-subscribe h2 { color: #fff; }
.nx-subscribe p { color: rgba(255,255,255,.85); max-width: 520px; margin: 0 auto 24px; }
.nx-subscribe form { display: flex; gap: 10px; max-width: 440px; margin: 0 auto; flex-wrap: wrap; }
.nx-subscribe input[type=email] { flex: 1 1 200px; padding: 13px 16px; border: none; border-radius: 6px; font-size: 1rem; font-family: var(--font-body); background: #fff; color: var(--ink); }
.nx-subscribe button { background: var(--accent); color: #fff; border: none; border-radius: 6px; padding: 13px 26px; font-weight: 700; font-size: 1rem; cursor: pointer; font-family: var(--font-body); }
.nx-subscribe button:hover { opacity: .9; }
.nx-subscribe .nx-hint { font-size: .8rem; opacity: .72; margin: 16px 0 0; }

/* Footer */
.nx-footer { background: #101917; color: #A6B3AE; padding: 46px 0 30px; margin-top: 56px; }
.nx-footer a { color: #EAF4F2; }
.nx-footer .nx-inner { display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; }
.nx-footer .nx-logo { color: #fff; }
.nx-footer .nx-cols { display: flex; flex-direction: column; gap: 10px; font-size: .95rem; }
.nx-footer .nx-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 32px; padding-top: 20px; font-size: .82rem; opacity: .6; }
.nx-footer .nx-disclaimer { font-size: .8rem; opacity: .5; max-width: 520px; margin-top: 14px; }

/* Simple page */
.nx-pagehead { padding: 56px 0 20px; }
.nx-prose { max-width: 720px; }
.nx-prose h2 { margin-top: 1.5em; }
.nx-prose a { text-decoration: underline; }

/* Contact form */
.nx-form { margin-top: 8px; max-width: 520px; }
.nx-form label { display: block; font-weight: 600; margin: 16px 0 6px; font-size: .92rem; }
.nx-form input, .nx-form textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; font-family: var(--font-body); font-size: 1rem; background: var(--surface); color: var(--ink); }
.nx-form input:focus, .nx-form textarea:focus { outline: 2px solid var(--primary); outline-offset: 1px; border-color: var(--primary); }
.nx-form button { margin-top: 18px; background: var(--primary); color: var(--primary-ink); border: none; border-radius: 6px; padding: 13px 28px; font-weight: 600; font-size: 1rem; cursor: pointer; font-family: var(--font-body); }
.nx-form button:hover { opacity: .92; }

@media (max-width: 700px) {
  .nx-menu a { display: none; }
  .nx-menu a.nx-cta { display: inline-block; }
}
