/* =========================================
   Logo & Graphics (ngc-) + Social Media Marketing (ngm-) pages
   ngo-website.css ke baad load hota hai
   ========================================= */

/* ---------- Shared helpers (software page jaise) ---------- */
.ngc .ngs-price-text, .ngm .ngs-price-text { font-size: 30px; }
.ngw-price small { font-size: 15px; font-weight: 500; letter-spacing: 0; margin-left: 4px; color: var(--ngw-muted); }
.ngw-plan-main .ngw-price small { color: #b8bcd6; }

/* ================= LOGO PAGE ================= */

/* Brand preview board */
.ngc-board {
  --b1: #6e31e6; --b2: #f6790e;
  padding: 22px; border-radius: 22px; background: #fff;
  box-shadow: 0 40px 80px -24px rgba(0, 0, 0, 0.6);
}
.ngc-controls { display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-end; padding-bottom: 18px; border-bottom: 1px solid var(--ngw-line); }
.ngc-name { flex: 1 1 200px; }
.ngc-name span { display: block; font-size: 12.5px; font-weight: 600; color: var(--ngw-muted); margin-bottom: 6px; }
.ngc-name input {
  width: 100%; padding: 10px 12px; border-radius: 10px; border: 1.5px solid #d5dbe6;
  font: inherit; font-size: 15px; font-weight: 500; color: var(--ngw-ink); background: #fff;
}
.ngc-name input:focus { border-color: var(--b1); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--b1) 18%, transparent); }
.ngc-pick { display: flex; gap: 14px; }
.ngc-swatches, .ngc-symbols { display: flex; gap: 6px; padding: 4px; border-radius: 12px; background: var(--ngw-soft); }
.ngc-swatches button {
  width: 32px; height: 32px; border-radius: 50%; border: 2px solid transparent; cursor: pointer;
  background: linear-gradient(135deg, var(--a) 50%, var(--b) 50%);
}
.ngc-swatches button.on { border-color: var(--ngw-ink); box-shadow: inset 0 0 0 2px #fff; }
.ngc-symbols button { width: 32px; height: 32px; border-radius: 8px; border: none; cursor: pointer; font-size: 17px; color: var(--ngw-muted); background: transparent; }
.ngc-symbols button.on { background: #fff; color: var(--b1); box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12); }

.ngc-logo { display: flex; align-items: center; gap: 14px; padding: 24px 6px 22px; }
.ngc-mark {
  flex-shrink: 0; width: 64px; height: 64px; border-radius: 20px 20px 20px 6px;
  display: grid; place-items: center; font-size: 32px; color: #fff;
  background: var(--b1); box-shadow: inset -10px -10px 0 color-mix(in srgb, var(--b2) 70%, transparent);
  transition: background 0.3s;
}
.ngc-word strong { display: block; font-size: 25px; font-weight: 700; line-height: 1.15; color: var(--ngw-ink); word-break: break-word; }
.ngc-word small { display: block; margin-top: 3px; font-size: 12.5px; color: var(--b1); font-weight: 500; }

.ngc-mini { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 7px 7px 7px 2px; font-size: 11px; color: #fff; background: var(--b1); flex-shrink: 0; }
.ngc-mocks { display: grid; grid-template-columns: 1.1fr 0.8fr 1fr; gap: 10px; }
.ngc-mocks > div { border-radius: 10px; overflow: hidden; min-height: 150px; }
.ngc-letter { padding: 10px; background: #fafafa; border: 1px solid #eceef3; display: flex; flex-direction: column; gap: 6px; }
.ngc-letter-top { display: flex; align-items: center; gap: 6px; padding-bottom: 7px; margin-bottom: 4px; border-bottom: 2px solid var(--b2); }
.ngc-letter-top b { font-size: 9.5px; color: var(--ngw-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ngc-letter > i { display: block; height: 5px; border-radius: 3px; background: #e3e6ee; }
.ngc-letter > i.s { width: 60%; }
.ngc-letter-foot { margin-top: auto; height: 6px; border-radius: 3px; background: var(--b1); }
.ngc-id { display: flex; flex-direction: column; align-items: center; text-align: center; background: #fff; border: 1px solid #eceef3; padding-bottom: 8px; }
.ngc-id-top { width: 100%; padding: 8px 0 18px; display: flex; justify-content: center; background: var(--b1); }
.ngc-id-top .ngc-mini { background: #fff; color: var(--b1); }
.ngc-id-ph { width: 34px; height: 34px; margin-top: -14px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 700; color: #fff; background: var(--b2); border: 3px solid #fff; }
.ngc-id b { margin-top: 5px; font-size: 10px; color: var(--ngw-ink); }
.ngc-id small { font-size: 8.5px; color: var(--b1); font-weight: 600; }
.ngc-id em { margin-top: auto; padding: 0 6px; font-style: normal; font-size: 7.5px; color: var(--ngw-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.ngc-post { display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; padding: 12px; color: #fff; background: linear-gradient(160deg, var(--b1), color-mix(in srgb, var(--b1) 55%, #000)); position: relative; }
.ngc-post::after { content: ""; position: absolute; right: -20px; top: -20px; width: 80px; height: 80px; border-radius: 50%; background: var(--b2); opacity: 0.85; }
.ngc-post .ngc-mini { position: absolute; top: 10px; left: 10px; background: #fff; color: var(--b1); z-index: 1; }
.ngc-post strong { font-size: 12.5px; line-height: 1.3; position: relative; z-index: 1; }
.ngc-post small { font-size: 9.5px; opacity: 0.85; }
.ngc .ngc-hint { margin-top: 14px; font-size: 12px; color: var(--ngw-muted); text-align: center; }

/* What we design */
.ngc-groups { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.ngc-group { padding: 28px 24px; border-radius: 16px; background: var(--ngw-soft); }
.ngc-group h3 { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 600; margin-bottom: 14px; }
.ngc-group h3 i { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; font-size: 19px; color: #fff; background: var(--ngw-purple); }
.ngc-group:nth-child(2) h3 i { background: var(--ngw-orange); }
.ngc-group:nth-child(3) h3 i { background: #0f766e; }
.ngc-group:nth-child(4) h3 i { background: #db2777; }
.ngc-group li { padding: 8px 0; font-size: 15px; color: var(--ngw-text); border-top: 1px solid var(--ngw-line); }
.ngc-group li:first-child { border-top: none; }

/* File formats */
.ngc-files { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 60px; align-items: center; }
.ngc-files > div p { margin-top: 14px; font-size: 17px; max-width: 40ch; }
.ngc-formats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.ngc-formats li { padding: 20px; border-radius: 14px; background: #1a1e3a; border: 1px solid #262b4d; }
.ngc-formats b { display: block; font-size: 18px; color: #fbbf24; margin-bottom: 4px; }
.ngc-formats span { font-size: 13.5px; line-height: 1.5; color: #b8bcd6; }

/* ================= SOCIAL PAGE ================= */
.ngm-hero-img { margin: 0; }
.ngm-hero-img img { display: block; width: 100%; max-width: 580px; height: auto; margin-left: auto; }

.ngm-tasks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 36px; }
.ngm-tasks li > i { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; font-size: 23px; color: var(--ngw-purple); background: #f0eaff; }
.ngm-tasks li:nth-child(even) > i { color: #ea580c; background: #fff1e5; }
.ngm-tasks h3 { font-size: 18px; font-weight: 600; margin: 16px 0 6px; }
.ngm-tasks p { font-size: 15px; }

.ngm-legend { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: -20px 0 24px !important; }
.ngm-legend li { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ngw-text); }
.ngm-legend li::before { content: ""; width: 12px; height: 12px; border-radius: 4px; background: var(--c); }
.ngm-cal { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ngm-week { padding: 18px; border-radius: 16px; background: #fff; border: 1px solid var(--ngw-line); }
.ngm-week h3 { font-size: 15px; font-weight: 600; color: var(--ngw-muted); margin-bottom: 12px; }
.ngm-post { padding: 12px 14px; margin-top: 10px; border-radius: 10px; font-size: 14px; line-height: 1.45; color: var(--ngw-ink); background: color-mix(in srgb, var(--c) 9%, #fff); border-left: 4px solid var(--c); }
.ngm-post b { display: block; font-size: 12px; font-weight: 600; color: var(--c); margin-bottom: 2px; }

/* Platforms (software page ka roles grid) */
.ngs-roles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; border-radius: 16px; overflow: hidden; background: rgba(255, 255, 255, 0.08); }
.ngs-roles > div { padding: 28px 24px; background: var(--ngw-navy); }
.ngs-roles i { font-size: 30px; color: #fbbf24; }
.ngs-roles h3 { color: #fff; font-size: 18px; font-weight: 600; margin: 14px 0 8px; }
.ngs-roles p { font-size: 14.5px; line-height: 1.6; }
.ngm-platforms > div:nth-child(1) i { color: #f472b6; }
.ngm-platforms > div:nth-child(2) i { color: #60a5fa; }
.ngm-platforms > div:nth-child(3) i { color: #38bdf8; }
.ngm-platforms > div:nth-child(4) i { color: #f87171; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .ngc-board { max-width: 600px; }
  .ngc-groups { grid-template-columns: repeat(2, 1fr); }
  .ngc-files { grid-template-columns: 1fr; gap: 32px; }
  .ngm-hero-img img { margin: 0; }
  .ngm-cal { grid-template-columns: repeat(2, 1fr); }
  .ngs-roles { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .ngm-tasks { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .ngc-board { padding: 16px; }
  .ngc-pick { width: 100%; justify-content: space-between; }
  .ngc-word strong { font-size: 20px; }
  .ngc-mark { width: 54px; height: 54px; font-size: 27px; }
  .ngc-mocks { grid-template-columns: 1fr 1fr; }
  .ngc-mocks .ngc-post { grid-column: 1 / -1; min-height: 110px; }
  .ngc-groups, .ngm-tasks, .ngm-cal, .ngs-roles { grid-template-columns: 1fr; }
  .ngc-formats { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .ngc-mark { transition: none; }
}
