/* =========================================================
   DESIGN TOKENS
========================================================= */
:root {
  --ink: #182233;
  --ink-2: #223052;
  --gold: #c9a227;
  --gold-soft: #eadfb8;
  --paper: #faf7f2;
  --card-bg: #ffffff;
  --border: #e8e2d4;
  --text: #24283a;
  --text-muted: #767a8a;
  --success: #2d6a4f;
  --danger: #b3261e;

  --fb: #1877f2;
  --ig: #d6249f;
  --sc: #b89400;
  --wa: #25d366;

  --radius: 12px;
  --shadow-soft: 0 4px 18px rgba(24, 34, 51, 0.07);
  --shadow-card: 0 10px 30px rgba(24, 34, 51, 0.35);

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; }

body {
  background-color: var(--paper);
  font-family: var(--font-body);
  color: var(--text);
}

.page { width: 100%; }

/* =========================================================
   HEADER
========================================================= */
:root { --header-h: 68px; }

.site-header {
	width:100%;
	position: fixed;
	top: 0;
	z-index: 1030;
	height: var(--header-h);
	background: #ffffff;
	border-bottom: 1px solid var(--border);
	box-shadow: 0 2px 12px rgba(24, 34, 51, 0.06);
}

.site-navbar { height: var(--header-h); padding: 0; }
.site-navbar .container-fluid { height: 100%; align-items: center; }

.navbar-brand { margin: 0; padding: 0; }

/* 1:1 ratio logo mark */
.brand-logo {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--ink) 0%, var(--ink-2) 100%);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.brand-text {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--ink);
}

.navbar-toggler {
  border: 1px solid var(--border);
  padding: 6px 10px;
}
.navbar-toggler:focus { box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.25); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-header-outline {
  border: 1px solid var(--ink);
  color: var(--ink);
  background: #fff;
  font-size: 0.86rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 8px;
  white-space: nowrap;
}
.btn-header-outline:hover { background: var(--paper); color: var(--ink); }

.btn-header-primary {
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
  font-size: 0.86rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 8px;
  white-space: nowrap;
}
.btn-header-primary:hover { background: #0f1728; color: var(--gold); }

/* Mobile menu bar */
@media (max-width: 991.98px) {
  .navbar-collapse {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: #ffffff;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 12px 20px rgba(24, 34, 51, 0.08);
    padding: 16px 20px 20px;
  }
  .header-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .header-actions .btn { width: 100%; justify-content: center; display: flex; }
}

/* =========================================================
   LEFT GRAPHIC PANEL
========================================================= */
.graphic-panel {
  /* background:
    radial-gradient(circle at 15% 15%, rgba(201, 162, 39, 0.15), transparent 45%),
    linear-gradient(160deg, var(--ink) 0%, var(--ink-2) 100%);
	*/
  align-items: center;
  justify-content: center;
  padding: 64px 56px;
  
  top: var(--header-h);
  /*
  position: sticky;
  height: calc(100vh - var(--header-h));
  */
}

.graphic-inner { max-width: 420px; color: #f4f1e8; }

.eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 18px;
}

.graphic-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 2.7rem;
  line-height: 1.12;
  margin-bottom: 18px;
  color: #ffffff;
}

.graphic-copy {
  font-size: 0.98rem;
  line-height: 1.6;
  color: #c9cddb;
  margin-bottom: 34px;
}

/* --- Signature element: tilted visiting-card mockup --- */
.card-mockup-wrap {
  position: relative;
  height: 168px;
  margin-bottom: 40px;
}

.card-mockup {
  position: absolute;
  top: 0;
  left: 0;
  width: 300px;
  border-radius: 14px;
  padding: 20px 22px;
  background: linear-gradient(135deg, #232f4b 0%, #182233 100%);
  border: 1px solid rgba(201, 162, 39, 0.35);
  box-shadow: var(--shadow-card);
  transform: rotate(-6deg);
}

.card-mockup-back {
  background: linear-gradient(135deg, #2c3a5c 0%, #1c2740 100%);
  transform: rotate(3deg) translate(18px, 22px);
  opacity: 0.55;
  border: 1px solid rgba(201, 162, 39, 0.2);
}

.mockup-top { display: flex; align-items: center; gap: 12px; }

.mockup-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--gold-soft);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.mockup-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: #ffffff;
}

.mockup-role { font-size: 0.75rem; color: #aab0c6; }

.mockup-divider {
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin: 16px 0 14px;
}

.mockup-icons { display: flex; gap: 12px; color: var(--gold-soft); font-size: 1rem; }

.graphic-list { list-style: none; padding: 0; margin: 0; }
.graphic-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: #d8dbe8;
  margin-bottom: 10px;
}
.graphic-list li i { color: var(--gold); margin-top: 3px; }

/* =========================================================
   RIGHT FORM PANEL
========================================================= */
.form-panel {
  background-color: var(--paper);
  padding: 40px 20px 70px;
}

.form-wrapper { max-width: 620px; margin: 0 auto; }

@media (min-width: 992px) {
  .form-panel { padding: 72px 64px; }
}

.mobile-brand { margin-bottom: 18px; }

.form-title {
  font-family: var(--font-display);
  font-family: Arial, sans-serif;
  font-weight: 600;
  font-size: 2rem;
  color: var(--ink);
  margin-bottom: 4px;
}

.form-subtitle { color: var(--text-muted); margin-bottom: 30px; font-size: 0.92rem; }
.req { color: var(--danger); }

/* Section grouping */
.f-section {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 26px 24px;
  margin-bottom: 22px;
  box-shadow: var(--shadow-soft);
}

.section-head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 20px; }

.section-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--gold-soft);
  color: #7a6412;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  flex-shrink: 0;
}

.section-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 2px;
}

.section-desc { font-size: 0.83rem; color: var(--text-muted); margin: 0; }

/* Form controls */
.form-label { font-weight: 600; font-size: 0.87rem; color: var(--ink); margin-bottom: 6px; }

.form-control, .form-select {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 13px;
  font-size: 0.93rem;
  background-color: #fffdf9;
}

.form-control:focus, .form-select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.18);
  background-color: #ffffff;
}

.form-check-input:checked {
  background-color: var(--ink);
  border-color: var(--ink);
}
.form-check-input:focus { box-shadow: 0 0 0 3px rgba(24, 34, 51, 0.15); }

.form-control-half
{
	width:60%;
	border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 13px;
  font-size: 0.93rem;
  background-color: #fffdf9;
  font-weight: 400;
    line-height: 1.5;
    color: var(--bs-body-color);
}
.check-refrel
{
	background: #1877f2;
    color: #fff;
    border: none;
    padding: 12px 20px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.01em;
    transition: background 0.15s ease;
	margin-left:10px;
	text-decoration:none;
}
/* =========================================================
   SOCIAL PROFILE BLOCKS
========================================================= */
.social-block {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 18px;
  margin-bottom: 14px;
  background: #fffefb;
}
.social-block:last-child { margin-bottom: 0; }

.social-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.platform-badge {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  color: #fff;
  flex-shrink: 0;
}
.fb-badge { background: var(--fb); }
.ig-badge { background: linear-gradient(135deg, #f9ce34, #ee2a7b 55%, #6228d7); }
.sc-badge { background: #fffc00; color: #111; }
.wa-badge { background: var(--wa); }

.platform-question {
  display: flex;
  flex-direction: column;
  flex: 1 1 200px;
  min-width: 160px;
}
.platform-name { font-weight: 700; font-size: 0.92rem; color: var(--ink); }
.platform-ask { font-size: 0.8rem; color: var(--text-muted); }

.yn-toggle { display: flex; gap: 14px; flex-shrink: 0; }
.yn-toggle .form-check { padding-left: 1.6em; }
.yn-toggle .form-check-label { font-size: 0.86rem; font-weight: 500; }

/* Box that reveals url + show-on-card question.
   Distinct card look, but visually docked under its row
   (no gap, connecting top border) so it doesn't feel odd. */
.social-box {
  margin-top: 14px;
  padding-top: 16px;
  border-top: 1px dashed var(--border);
  background: #fbf9f4;
  border-radius: 10px;
  padding: 16px 16px 6px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 2px 8px rgba(24, 34, 51, 0.05);
}
.social-box.d-none { display: none !important; }

.show-on-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: 12px;
}
.show-on-card-label { font-size: 0.83rem; font-weight: 600; color: var(--ink); }
.show-on-card--standalone { margin-top: 4px; }

/* =========================================================
   WORKING STATUS
========================================================= */
.status-pills { display: flex; flex-wrap: wrap; gap: 10px; }

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  background: #fffefb;
  cursor: pointer;
  transition: all 0.15s ease;
}
.status-pill i { font-size: 1rem; color: var(--text-muted); }

.btn-check:checked + .status-pill {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.btn-check:checked + .status-pill i { color: var(--gold); }

.status-box {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 18px 8px;
  margin-top: 6px;
  background: #fbf9f4;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 2px 8px rgba(24, 34, 51, 0.05);
}
.status-box.d-none { display: none !important; }

/* =========================================================
   EXTRA WEBSITE LINKS
========================================================= */
.extra-website-row {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 18px;
  margin-bottom: 12px;
  background: #fbf9f4;
  position: relative;
}
.extra-website-row .remove-website-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--danger);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}

.add-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px dashed var(--gold);
  background: var(--gold-soft);
  color: #6f5810;
  font-weight: 600;
  font-size: 0.86rem;
  padding: 10px 18px;
  border-radius: 999px;
  transition: background 0.15s ease;
}
.add-link-btn:hover { background: #e3d494; }
.add-link-btn:disabled { opacity: 0.5; cursor: not-allowed; }

#websiteLimitNote { font-size: 0.78rem; color: var(--text-muted); }

/* =========================================================
   SUBMIT BUTTON
========================================================= */
.btn-submit {
  background: var(--ink);
  color: #fff;
  border: none;
  padding: 14px 20px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.01em;
  transition: background 0.15s ease;
}
.btn-submit:hover { background: #0f1728; }
.btn-submit:disabled { opacity: 0.7; }

#formAlert.alert-success {
  background: #eaf4ee;
  color: var(--success);
  border: 1px solid #bfe0cd;
}
#formAlert.alert-danger {
  background: #fbeceb;
  color: var(--danger);
  border: 1px solid #f0c4c1;
}

/* =========================================================
   FOOTER
========================================================= */
.site-footer {
  background: #0e1420;
  padding: 22px 0;
  width:100%;
  float:left;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copy {
  font-size: 0.82rem;
  color: #9aa0b4;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin: 0;
  padding: 0;
}

.footer-links a {
  font-size: 0.82rem;
  font-weight: 500;
  color: #d6d9e4;
  text-decoration: none;
}
.footer-links a:hover { color: var(--gold); }

@media (max-width: 575.98px) {
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
}
