.nsw-card {
  --nsw-color-start: #1560ff;
  --nsw-color-end: #3a8dff;
  --nsw-ink: #14171c;
  --nsw-muted: #6b7280;
  --nsw-border: #dcdfe4;
  --nsw-radius: 10px;

  width: 100%;
  max-width: 420px;
  background: #ffffff;
  border-radius: var(--nsw-radius);
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08), 0 8px 24px rgba(0,0,0,0.06);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  box-sizing: border-box;
}
.nsw-card *, .nsw-card *::before, .nsw-card *::after { box-sizing: border-box; }

.nsw-banner {
  position: relative;
  background: linear-gradient(135deg, var(--nsw-color-start), var(--nsw-color-end));
  padding: 22px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
  min-height: 96px;
}

.nsw-banner-text { color: #fff; z-index: 2; }

.nsw-brand {
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.02em;
  display: flex;
  align-items: baseline;
  gap: 2px;
}
.nsw-dot { color: #ffe14d; font-size: 22px; line-height: 0; }

.nsw-brand-sub {
  margin-top: 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.nsw-phones { position: relative; width: 130px; height: 96px; flex-shrink: 0; z-index: 1; }

.nsw-phone {
  position: absolute;
  top: 8px;
  width: 62px;
  height: 100px;
  background: #0d1117;
  border-radius: 10px;
  padding: 4px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.35);
}

.nsw-phone-screen {
  width: 100%; height: 100%;
  border-radius: 6px;
  background: #fff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.nsw-phone-screen .nsw-bar { height: 6px; background: var(--nsw-color-start); }
.nsw-phone-screen .nsw-line { height: 5px; margin: 4px 6px; border-radius: 2px; background: #e5e7eb; }
.nsw-phone-screen .nsw-w60 { width: 60%; }
.nsw-phone-screen .nsw-w80 { width: 80%; }
.nsw-phone-screen .nsw-block { margin: 4px 6px; height: 22px; border-radius: 3px; background: #f1f5f9; }

.nsw-phone.nsw-front { right: 6px; z-index: 2; transform: rotate(4deg); }
.nsw-phone.nsw-back { right: 40px; top: 2px; z-index: 1; transform: rotate(-6deg); opacity: 0.9; }

.nsw-body { padding: 24px 20px 22px; }

.nsw-heading {
  margin: 0 0 18px;
  font-size: 19px;
  line-height: 1.35;
  font-weight: 800;
  color: var(--nsw-ink);
}

.nsw-form { display: flex; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }

.nsw-email-input {
  flex: 1;
  min-width: 160px;
  padding: 12px 14px;
  font-size: 14px;
  border: 1px solid var(--nsw-border);
  border-radius: 6px;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.nsw-email-input:focus {
  border-color: var(--nsw-color-start);
  box-shadow: 0 0 0 3px rgba(21, 96, 255, 0.12);
}

.nsw-subscribe-btn {
  background: var(--nsw-color-start);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease, transform 0.05s ease;
}
.nsw-subscribe-btn:hover { filter: brightness(0.92); }
.nsw-subscribe-btn:active { transform: scale(0.98); }
.nsw-subscribe-btn:disabled { opacity: 0.6; cursor: not-allowed; }

.nsw-privacy {
  font-size: 12px;
  color: var(--nsw-muted);
  text-decoration: underline;
}

.nsw-error {
  color: #d92d20;
  font-size: 12px;
  margin: -6px 0 10px;
  min-height: 14px;
}

.nsw-success { text-align: center; padding: 10px 0 4px; }
.nsw-success .nsw-check {
  width: 40px; height: 40px;
  margin: 0 auto 10px;
  border-radius: 50%;
  background: #ecfdf3;
  color: #16a34a;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
}
.nsw-success p { margin: 0; font-size: 14px; color: var(--nsw-ink); font-weight: 600; }

@media (max-width: 380px) {
  .nsw-form { flex-direction: column; }
  .nsw-subscribe-btn { width: 100%; }
}
