﻿:root {
  --primary: #e85a2a;
  --primary-dark: #c6481d;
  --ink: #1f2a33;
  --soft: #f4f5f7;
  --line: #d9dde2;
  --white: #ffffff;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: 'Noto Sans KR', sans-serif;
  background: var(--soft);
  color: var(--ink);
}

.topbar {
  position: sticky;
  top: 0;
  background: rgba(255,255,255,0.96);
  border-bottom: 1px solid var(--line);
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand { font-weight: 800; font-size: 20px; }
.brand span { color: var(--primary); }

.container {
  max-width: 960px;
  margin: 28px auto;
  padding: 0 16px;
}

.hero {
  background: linear-gradient(120deg, #2c3e50, #1f2a33);
  color: var(--white);
  border-radius: 12px;
  padding: 42px 28px;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
}

.btn {
  display: inline-block;
  border: 0;
  border-radius: 8px;
  background: var(--primary);
  color: var(--white);
  padding: 11px 16px;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
}

.btn:hover { background: var(--primary-dark); }

.btn.alt {
  background: #4c5f70;
}

.form-row { margin-bottom: 12px; }
label { display: block; margin-bottom: 6px; font-weight: 600; }
input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
}

.error {
  background: #ffe8e8;
  color: #b00020;
  border: 1px solid #ffc7c7;
  border-radius: 8px;
  padding: 10px 12px;
  margin-bottom: 12px;
}

.meta { color: #64707c; font-size: 14px; }

.landing-wrap {
  background:
    linear-gradient(160deg, rgba(30, 64, 42, 0.93), rgba(46, 84, 58, 0.88)),
    repeating-linear-gradient(
      120deg,
      rgba(255, 255, 255, 0.04) 0,
      rgba(255, 255, 255, 0.04) 16px,
      rgba(0, 0, 0, 0.03) 16px,
      rgba(0, 0, 0, 0.03) 32px
    );
  border: 1px solid #315842;
  border-radius: 20px;
  padding: 34px 26px 24px;
  color: #eff5ef;
}

.landing-hero h1 {
  margin: 10px 0 12px;
  line-height: 1.3;
  font-size: clamp(30px, 4vw, 42px);
  letter-spacing: -0.01em;
}

.landing-kicker {
  display: inline-block;
  margin: 0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #113022;
  background: #cfe3ca;
  border-radius: 999px;
  padding: 6px 11px;
}

.landing-sub {
  margin: 0;
  font-size: 16px;
  color: #d4e2d5;
  line-height: 1.55;
  max-width: 720px;
}

.landing-points {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.landing-points span {
  display: inline-block;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(215, 234, 214, 0.38);
  border-radius: 999px;
  padding: 6px 11px;
  font-size: 12px;
  color: #eef5ed;
}

.landing-user-flow {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
}

.flow-card {
  display: block;
  background: rgba(10, 23, 16, 0.26);
  border: 1px solid rgba(201, 223, 198, 0.35);
  border-radius: 13px;
  padding: 16px 15px;
  color: #eef4ed;
  min-height: 124px;
}

.flow-card strong {
  display: block;
  font-size: 17px;
  margin-bottom: 7px;
}

.flow-card span {
  display: block;
  font-size: 14px;
  color: #d4e2d4;
  line-height: 1.5;
}

.landing-note {
  margin-top: 14px;
  border-top: 1px dashed rgba(214, 232, 212, 0.34);
  padding-top: 12px;
  font-size: 14px;
  color: #dce8db;
}

.admin-entry {
  margin-top: 10px;
  text-align: right;
}

.admin-mini-btn {
  display: inline-block;
  text-decoration: none;
  font-size: 11px;
  color: #5f676f;
  border: 1px solid #c8ced5;
  border-radius: 999px;
  padding: 4px 9px;
  background: #fff;
}

.admin-mini-btn:hover {
  color: #2f3740;
  border-color: #98a2ad;
}

@media (max-width: 640px) {
  .landing-wrap {
    padding: 25px 16px 18px;
  }

  .landing-hero h1 {
    font-size: 27px;
  }
}

.ng-hero {
  margin: -28px calc(50% - 50vw) 0;
  min-height: 560px;
  background:
    linear-gradient(90deg, rgba(14, 25, 16, 0.24) 0%, rgba(14, 25, 16, 0.62) 65%),
    url("https://images.unsplash.com/photo-1523741543316-beb7fc7023d8?auto=format&fit=crop&w=1920&q=80")
      center/cover no-repeat;
  color: #ffffff;
  padding: 22px 32px 56px;
}

.ng-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.ng-logo {
  font-weight: 800;
  font-size: 30px;
  letter-spacing: 0.04em;
}

.ng-logo span {
  color: #8be43a;
}

.ng-nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.ng-nav a {
  color: #ffffff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  opacity: 0.94;
}

.ng-nav a:hover {
  color: #9be660;
}

.ng-hero-inner {
  max-width: 780px;
  margin: 130px 0 0 auto;
  text-align: right;
}

.ng-kicker {
  margin: 0 0 8px;
  font-size: 13px;
  letter-spacing: 0.16em;
  font-weight: 800;
  color: #c4efa0;
}

.ng-hero-inner h1 {
  margin: 0;
  font-size: clamp(34px, 6vw, 64px);
  line-height: 1.1;
  letter-spacing: 0.03em;
}

.ng-hero-inner h2 {
  margin: 10px 0 14px;
  font-size: clamp(20px, 2.5vw, 30px);
  line-height: 1.25;
  font-weight: 800;
}

.ng-hero-inner p {
  margin: 0 0 0 auto;
  max-width: 620px;
  font-size: 17px;
  line-height: 1.7;
  color: #e9f0e2;
}

.ng-section {
  margin: 0 calc(50% - 50vw);
  padding: 34px 32px;
  border-bottom: 1px solid #e2e6eb;
  background: #ffffff;
}

.ng-section:nth-of-type(even) {
  background: #f5f8fb;
}

.ng-section h3 {
  margin: 0 0 14px;
  font-size: 32px;
  line-height: 1.2;
}

.ng-section p {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: #32404c;
}

.ng-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
}

.ng-grid article {
  border: 1px solid #dde3e8;
  border-radius: 10px;
  background: #fdfefe;
  padding: 16px 18px;
}

.ng-grid strong {
  display: block;
  margin-bottom: 8px;
  font-size: 20px;
}

.ng-steps {
  margin: 0;
  padding-left: 20px;
  font-size: 16px;
  line-height: 1.8;
}

.admin-entry {
  margin: 10px 0 18px;
}

@media (max-width: 900px) {
  .ng-hero {
    min-height: 480px;
    padding: 16px 18px 34px;
  }

  .ng-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .ng-hero-inner {
    margin: 72px 0 0;
    text-align: left;
  }

  .ng-hero-inner p {
    margin: 0;
  }

  .ng-section {
    padding: 26px 18px;
  }
}

.ng-clone-hero {
  margin: -28px calc(50% - 50vw) 0;
  min-height: 760px;
  padding: 16px 34px 40px;
  background:
    linear-gradient(96deg, rgba(117, 175, 54, 0.74), rgba(42, 78, 40, 0.42)),
    url("https://images.unsplash.com/photo-1436407886999-41f8f5bcd5ad?auto=format&fit=crop&w=1920&q=80")
      center/cover no-repeat;
  color: #fff;
}

.ng-clone-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.ng-clone-logo {
  font-size: 38px;
  font-weight: 400;
  letter-spacing: 0.04em;
  font-family: "Bebas Neue", "Noto Sans KR", sans-serif;
  text-transform: uppercase;
}

.ng-clone-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.ng-clone-menu a {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.03em;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.ng-clone-menu a:hover {
  color: #d9ffb5;
}

.ng-clone-copy {
  max-width: 860px;
  margin: 210px 0 0 auto;
  text-align: right;
}

.ng-clone-copy h1 {
  margin: 0;
  font-size: clamp(56px, 9vw, 112px);
  line-height: 0.96;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  font-family: "Bebas Neue", "Noto Sans KR", sans-serif;
  text-shadow: 0 3px 20px rgba(0, 0, 0, 0.28);
}

.ng-clone-copy h3 {
  margin: 14px 0 10px;
  font-size: clamp(20px, 2.8vw, 34px);
  line-height: 1.2;
  letter-spacing: 0.04em;
  font-family: "Bebas Neue", "Noto Sans KR", sans-serif;
  font-weight: 400;
}

.ng-clone-copy p {
  margin: 8px 0 0 auto;
  max-width: 620px;
  font-size: 20px;
  line-height: 1.6;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.ng-clone-section {
  margin: 0 calc(50% - 50vw);
  padding: 36px 34px;
  background: #ffffff;
  border-bottom: 1px solid #e2e7eb;
}

.ng-clone-section.alt {
  background: #f4f7f8;
}

.ng-clone-section h2 {
  margin: 0 0 14px;
  font-size: clamp(34px, 5vw, 62px);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-family: "Bebas Neue", "Noto Sans KR", sans-serif;
  font-weight: 400;
}

.ng-clone-section p {
  margin: 0;
  font-size: 17px;
  color: #2c3742;
  line-height: 1.7;
}

.ng-clone-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.ng-clone-cards article {
  border: 1px solid #dbe1e6;
  background: #fbfdfb;
  border-radius: 8px;
  padding: 14px;
}

.ng-clone-cards strong {
  display: block;
  font-size: 28px;
  margin-bottom: 4px;
  font-family: "Bebas Neue", "Noto Sans KR", sans-serif;
  font-weight: 400;
}

@media (max-width: 900px) {
  .ng-clone-hero {
    min-height: 560px;
    padding: 14px 16px 24px;
  }

  .ng-clone-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .ng-clone-copy {
    margin: 90px 0 0;
    text-align: left;
  }

  .ng-clone-copy p {
    margin: 12px 0 0;
  }

  .ng-clone-section {
    padding: 26px 16px;
  }
}
