:root {
  --brand-50: #eef3fb;
  --brand-600: #2557a7;
  --brand-700: #1d4691;
  --cta-500: #0080ff;
  --accent-500: #ffcd1b;
  --surface-50: #f3f2ef;
  --ink: #2d2d2d;
  --muted: #595959;
  --border: #b8b5ae;
  --white: #ffffff;
  --shadow-card: 0 2px 8px 0 rgb(0 0 0 / 0.15);
  --shadow-elevated: 0 8px 24px 0 rgb(0 0 0 / 0.25);
  --radius: 0px;
}

@font-face {
  font-family: "Urfa-Regular";
  src: url("https://db.onlinewebfonts.com/t/ab81aafb31a456f13cb515a736e951c0.eot");
  src:
    url("https://db.onlinewebfonts.com/t/ab81aafb31a456f13cb515a736e951c0.eot?#iefix") format("embedded-opentype"),
    url("https://db.onlinewebfonts.com/t/ab81aafb31a456f13cb515a736e951c0.woff2") format("woff2"),
    url("https://db.onlinewebfonts.com/t/ab81aafb31a456f13cb515a736e951c0.woff") format("woff"),
    url("https://db.onlinewebfonts.com/t/ab81aafb31a456f13cb515a736e951c0.ttf") format("truetype"),
    url("https://db.onlinewebfonts.com/t/ab81aafb31a456f13cb515a736e951c0.svg#Urfa-Regular") format("svg");
  font-display: swap;
}

@font-face {
  font-family: "Foro Sans";
  src: url("/static/fonts/ForoSans-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

[hidden] { display: none !important; }

body {
  margin: 0;
  background: var(--surface-50);
  color: var(--ink);
  font-family: "Schibsted Grotesk", "Archivo", "Foro Sans", "Noto Sans", Helvetica, Arial, sans-serif;
  font-size: 15px;
}

a { color: inherit; text-decoration: none; }

.page-loader {
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 400ms ease, visibility 400ms ease;
}

.page-loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.page-loader-spinner {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid #f0f0f0;
  border-top-color: #000000;
  animation: spin 600ms linear infinite;
}

.page-loader-text {
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #000000;
  opacity: 0.8;
}

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 140;
  width: min(520px, calc(100vw - 36px));
}

.toast-inner {
  border-radius: 0px;
  border: 1px solid rgb(0 0 0 / 0.14);
  background: rgb(0 0 0 / 0.92);
  color: var(--white);
  box-shadow: var(--shadow-elevated);
  padding: 12px 14px;
  font-weight: 900;
  line-height: 1.4;
}

.chat-widget {
  position: fixed;
  right: 18px;
  bottom: 82px;
  z-index: 120;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.chat-panel {
  width: min(360px, calc(100vw - 36px));
  background: var(--white);
  border-radius: 18px;
  border: 1px solid rgb(0 0 0 / 0.12);
  box-shadow: var(--shadow-elevated);
  overflow: hidden;
}

.chat-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 12px;
  border-bottom: 1px solid rgb(0 0 0 / 0.06);
  background: rgb(0 0 0 / 0.02);
}

.chat-title { font-weight: 900; }

.chat-close {
  width: 34px;
  height: 34px;
  border-radius: 0px;
  border: 1px solid rgb(0 0 0 / 0.16);
  background: rgb(255 255 255 / 0.7);
  color: rgb(0 0 0 / 0.86);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.chat-close:hover { background: rgb(255 255 255 / 0.95); }

.chat-panel-body {
  padding: 12px 12px 14px 12px;
  display: grid;
  gap: 10px;
}

.chat-bubble {
  background: #2d2d2d;
  border: 1px solid #ffcd1b;
  border-radius: 12px;
  padding: 12px 16px;
  font-weight: 600;
  font-style: italic;
  color: #ffffff;
  line-height: 1.55;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.chat-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.chat-fab {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid #ffcd1b;
  background: #2d2d2d;
  color: var(--white);
  box-shadow: var(--shadow-elevated);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 20px;
  transition: all 200ms ease;
}

.chat-fab:hover {
  background: #ffcd1b;
  color: #2d2d2d;
  transform: scale(1.05);
}

@media (max-width: 980px) {
  .chat-widget { bottom: 18px; }
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--accent-500);
  border-bottom: none;
  transition: all 300ms ease;
}

.scroll-progress {
  position: fixed;
  right: 12px;
  top: 88px;
  width: 6px;
  height: calc(100vh - 112px);
  border-radius: 999px;
  background: rgb(0 0 0 / 0.1);
  z-index: 60;
  overflow: hidden;
}

.scroll-progress-bar {
  width: 100%;
  height: 0%;
  background: var(--brand-600);
  border-radius: 999px;
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 72px;
}

.brand { display: inline-flex; align-items: center; flex: 0 0 auto; }

.brand-logo {
  display: block;
  height: 36px;
  max-height: 36px;
  width: auto;
  object-fit: contain;
}

.brand-mark {
  font-weight: 900;
  letter-spacing: 0.6px;
  font-size: 18px;
}

.header-nav, .nav-links {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-nav {
  justify-content: center;
  flex: 1 1 auto;
}

.nav-link {
  font-weight: 700;
  font-size: 15px;
  padding: 10px 14px;
  border-radius: 8px;
  transition: all 200ms ease;
  font-family: "Archivo", "Schibsted Grotesk", "Foro Sans", Helvetica, Arial, sans-serif;
}

.nav-link:hover { 
  background: rgb(0 0 0 / 0.08);
  transform: translateY(-1px);
}

.nav-link.active,
.nav-link[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.icon-link, .icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 0px;
  border: 1px solid rgb(0 0 0 / 0.18);
  background: transparent;
  color: #000000;
  transition: background 150ms ease;
}

.lang {
  position: relative;
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 12px;
  border-radius: 6px;
  border: 1px solid rgb(0 0 0 / 0.25);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-family: "Archivo", "Schibsted Grotesk", "Foro Sans", Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-size: 14px;
}

.lang-btn:hover { background: rgb(0 0 0 / 0.1); }

.lang-icon { 
  width: 16px; 
  height: 16px; 
  object-fit: contain; 
  filter: brightness(0);
}
.lang-code { min-width: 22px; text-align: center; }

.lang-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  width: 180px;
  background: var(--white);
  border: 1px solid rgb(0 0 0 / 0.12);
  border-radius: 14px;
  box-shadow: var(--shadow-elevated);
  padding: 6px;
  z-index: 70;
}

.lang-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 10px;
  border-radius: 0px;
  font-family: "Archivo", "Schibsted Grotesk", "Foro Sans", Helvetica, Arial, sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: rgb(0 0 0 / 0.82);
}

.lang-item:hover { background: rgb(243 242 239 / 0.7); }

.header-login {
  font-family: "Archivo", "Schibsted Grotesk", "Foro Sans", Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: rgb(0 0 0 / 0.86);
  padding: 10px 12px;
  border-radius: 0px;
}

.header-login:hover { background: rgb(0 0 0 / 0.07); }

.btn-cta {
  background: #0080ff;
  color: var(--white);
  border-color: transparent;
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  padding: 10px 18px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 6px;
}

.btn-cta:hover { background: #2563eb; }

.btn-help {
  background: transparent;
  color: rgb(0 0 0 / 0.86);
  border: 1px solid rgb(0 0 0 / 0.25);
  box-shadow: none;
  padding: 10px 14px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 6px;
  gap: 8px;
}

.btn-help:hover { background: rgb(0 0 0 / 0.07); }

.icon-link:hover, .icon-btn:hover { background: rgb(255 255 255 / 0.85); }

.icon-btn { cursor: pointer; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 16px;
  border-radius: 10px;
  font-weight: 800;
  font-size: 14px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1);
  font-family: "Urfa-Regular", "Foro Sans", "Noto Sans", Helvetica, Arial, sans-serif;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--brand-600);
  color: var(--white);
}

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

.btn-secondary {
  background: var(--white);
  border-color: var(--brand-600);
  color: var(--brand-600);
}

.btn-secondary:hover { background: var(--brand-50); }

.btn-ghost {
  background: transparent;
  border-color: rgb(0 0 0 / 0.25);
  color: var(--ink);
}

.btn-ghost:hover { background: rgb(0 0 0 / 0.07); }

.mobile-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid rgb(0 0 0 / 0.15);
  background: rgb(255 255 255 / 0.6);
  color: var(--ink);
  cursor: pointer;
}

.mobile-nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--white);
  border-bottom: 2px solid var(--accent-500);
  box-shadow: var(--shadow-elevated);
  z-index: 100;
}

.mobile-nav-inner {
  display: flex;
  flex-direction: column;
  padding: 12px 16px;
  gap: 4px;
}

.mobile-link {
  padding: 14px 16px;
  border-radius: 12px;
  font-weight: 700;
  color: var(--ink);
  background: var(--surface-50);
  border: 1px solid transparent;
}

.mobile-link:active {
  background: var(--accent-500);
  border-color: rgb(0 0 0 / 0.1);
}

.main { padding-bottom: 40px; }

.hero {
  background: var(--accent-500);
  border-bottom: 1px solid rgb(0 0 0 / 0.12);
}

.hero-band {
  background: var(--accent-500);
  border-bottom: none;
}

.hero-band-inner {
  padding: 40px 0 62px 0;
  text-align: center;
}

.hero-band-title {
  margin: 0;
  font-weight: 900;
  font-size: 52px;
  line-height: 1.02;
  letter-spacing: -0.9px;
}

.hero-band-subtitle {
  margin: 18px auto 0 auto;
  max-width: 720px;
  font-weight: 900;
  font-size: 18px;
  line-height: 1.35;
  color: rgb(0 0 0 / 0.75);
}

.hero-band-actions {
  margin-top: 22px;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.pricing-card {
  border: 1px solid rgb(0 0 0 / 0.12);
  border-radius: 18px;
  background: var(--white);
  box-shadow: var(--shadow-card);
  padding: 18px;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.pricing-featured {
  border-color: rgb(0 128 255 / 0.4);
  box-shadow: var(--shadow-elevated);
}

.pricing-top {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 10px;
  align-items: center;
}

.pricing-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgb(15 23 42 / 0.04);
  border: 1px solid rgb(0 0 0 / 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: rgb(0 0 0 / 0.86);
}

.pricing-name {
  font-weight: 900;
  font-size: 18px;
  letter-spacing: -0.2px;
}

.pricing-badge {
  font-weight: 900;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgb(0 0 0 / 0.2);
  background: rgb(0 0 0 / 0.03);
}

.pricing-badge-pop {
  border-color: rgb(0 128 255 / 0.45);
  background: rgb(0 128 255 / 0.08);
  color: rgb(0 56 120);
}

.pricing-price {
  margin-top: 14px;
  font-weight: 900;
  font-size: 30px;
  letter-spacing: -0.6px;
}

.pricing-price-alt {
  margin-top: 6px;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0;
  color: rgb(0 0 0 / 0.7);
}

.pricing-sub {
  margin-top: 6px;
  color: rgb(0 0 0 / 0.72);
  font-weight: 800;
  line-height: 1.5;
}

.pricing-list {
  margin: 14px 0 0 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
  color: rgb(0 0 0 / 0.8);
  font-weight: 800;
  line-height: 1.45;
}

.pricing-meta {
  margin-top: 12px;
  color: rgb(0 0 0 / 0.65);
  font-weight: 800;
  line-height: 1.5;
}

.pricing-btn { margin-top: 16px; width: 100%; }

.section-muted { background: rgb(15 23 42 / 0.02); border-top: 1px solid rgb(0 0 0 / 0.06); border-bottom: 1px solid rgb(0 0 0 / 0.06); }

.addon-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.addon-card {
  border: 1px solid rgb(0 0 0 / 0.12);
  border-radius: 0px;
  background: var(--white);
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.addon-name { font-weight: 900; }

.addon-price { font-weight: 900; color: rgb(0 0 0 / 0.7); white-space: nowrap; }

.addon-price-alt {
  display: inline-block;
  margin-top: 4px;
  font-weight: 900;
  color: rgb(0 0 0 / 0.62);
  font-size: 12px;
  white-space: normal;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 12px;
}

.feature-card {
  border: 1px solid rgb(0 0 0 / 0.12);
  border-radius: 18px;
  background: var(--white);
  padding: 16px 16px;
}

.feature-icon { font-size: 18px; color: rgb(0 0 0 / 0.86); }

.feature-title { margin-top: 10px; font-weight: 900; font-size: 16px; }

.feature-sub { margin-top: 6px; color: rgb(0 0 0 / 0.7); font-weight: 800; line-height: 1.55; }

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.workflow-step {
  border: 1px solid rgb(0 0 0 / 0.12);
  border-radius: 18px;
  background: var(--white);
  padding: 14px 14px;
}

.workflow-icon { font-size: 18px; color: rgb(0 0 0 / 0.86); }

.workflow-title { margin-top: 10px; font-weight: 900; font-size: 14px; }

.workflow-sub { margin-top: 6px; color: rgb(0 0 0 / 0.7); font-weight: 800; line-height: 1.55; font-size: 13px; }

.callout {
  margin-top: 18px;
  border: 1px solid rgb(0 128 255 / 0.25);
  background: rgb(0 128 255 / 0.06);
  border-radius: 18px;
  padding: 18px;
}

.callout-title { font-weight: 900; font-size: 18px; }

.callout-text { margin-top: 10px; color: rgb(0 0 0 / 0.75); font-weight: 850; line-height: 1.6; }

.callout-actions { margin-top: 14px; }

.hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  padding: 42px 0 34px 0;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgb(0 0 0 / 0.18);
  background: rgb(255 255 255 / 0.55);
  font-weight: 800;
  font-size: 13px;
}

.pill-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--brand-600);
}

.hero-title {
  margin: 14px 0 6px 0;
  font-weight: 900;
  font-size: 44px;
  line-height: 1.05;
  letter-spacing: -0.5px;
}

.hero-subtitle {
  margin: 0;
  font-weight: 900;
  font-size: 18px;
}

.hero-meta {
  margin: 10px 0 0 0;
  font-weight: 700;
  color: rgb(0 0 0 / 0.75);
}

.hero-actions { margin-top: 18px; display: flex; gap: 10px; flex-wrap: wrap; }

.hero-cards { display: grid; gap: 14px; }

.section { padding: 32px 0; }

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.section-title {
  margin: 0;
  font-weight: 900;
  font-size: 22px;
}

.section-link {
  font-weight: 900;
  font-size: 14px;
  color: var(--brand-600);
}

.section-link:hover { text-decoration: underline; text-underline-offset: 3px; }

.muted { color: var(--muted); line-height: 1.7; margin: 0; }

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

.card-title {
  padding: 14px 16px;
  border-bottom: 1px solid rgb(0 0 0 / 0.06);
  font-weight: 900;
}

.card-body { padding: 14px 16px; }

.form { display: grid; gap: 12px; }

.form-row { display: grid; gap: 6px; }

.form-label { font-weight: 900; font-size: 12px; letter-spacing: 0.4px; text-transform: uppercase; color: rgb(0 0 0 / 0.78); }

.form-input {
  width: 100%;
  border: 1px solid rgb(0 0 0 / 0.18);
  border-radius: 0;
  padding: 10px 12px;
  font: inherit;
  background: rgb(255 255 255 / 0.75);
  color: rgb(0 0 0 / 0.9);
}

.form-input:focus {
  outline: none;
  border-color: rgb(37 87 167 / 0.65);
  box-shadow: 0 0 0 3px rgb(37 87 167 / 0.12);
}

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

.auth-shell {
  background: var(--white);
}

.auth-inner { padding: 52px 0 70px 0; }

.auth-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
}

.auth-card {
  width: 100%;
  max-width: 420px;
  background: var(--white);
  border: 1px solid rgb(0 0 0 / 0.12);
  border-radius: 18px;
  box-shadow: var(--shadow-elevated);
  padding: 22px;
}

.auth-title {
  margin: 0 0 14px 0;
  font-weight: 900;
  font-size: 34px;
  letter-spacing: -0.6px;
  font-family: "Urfa-Regular", "Foro Sans", "Noto Sans", Helvetica, Arial, sans-serif;
}

.auth-error {
  margin: 0 0 14px 0;
  padding: 10px 12px;
  background: rgb(220 38 38 / 0.08);
  border: 1px solid rgb(220 38 38 / 0.28);
  border-radius: 0px;
  color: rgb(127 29 29);
  font-weight: 800;
  font-size: 13px;
}

.auth-form { display: grid; gap: 12px; }

.auth-row { display: grid; gap: 6px; }

.auth-row-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }

.auth-label { font-weight: 900; font-size: 12px; letter-spacing: 0.4px; text-transform: uppercase; color: rgb(0 0 0 / 0.78); }

.auth-input {
  width: 100%;
  height: 48px;
  border: 1px solid rgb(0 0 0 / 0.18);
  border-radius: 0;
  padding: 0 14px;
  font: inherit;
  background: rgb(15 23 42 / 0.03);
  color: rgb(0 0 0 / 0.92);
}

.auth-input:focus {
  outline: none;
  border-color: rgb(0 128 255 / 0.75);
  box-shadow: 0 0 0 3px rgb(0 128 255 / 0.12);
}

.auth-link {
  font-size: 12px;
  font-weight: 900;
  color: #0080ff;
}

.auth-link:hover { text-decoration: underline; text-underline-offset: 3px; }

.auth-submit {
  height: 48px;
  border: none;
  border-radius: 0px;
  background: #0080ff;
  color: var(--white);
  font-weight: 900;
  font-size: 15px;
  cursor: pointer;
  box-shadow: 0 10px 24px rgb(0 0 0 / 0.12);
}

.auth-submit:hover { background: #2563eb; }

.auth-foot { margin-top: 14px; }

.auth-promo {
  display: none;
  background: rgb(15 23 42 / 0.03);
  border: 1px solid rgb(15 23 42 / 0.08);
  border-radius: 18px;
  padding: 22px;
}

.auth-promo-media {
  background: var(--white);
  border: 1px solid rgb(0 0 0 / 0.08);
  border-radius: 0px;
  padding: 18px;
  box-shadow: var(--shadow-card);
}

.auth-promo-img { width: 100%; height: 80px; object-fit: contain; }

.auth-promo-title { margin: 16px 0 8px 0; font-weight: 900; font-size: 20px; }

.auth-promo-text { margin: 0 0 14px 0; color: rgb(0 0 0 / 0.7); font-weight: 700; line-height: 1.6; }

.auth-promo-link { font-weight: 900; color: #0080ff; }

.auth-promo-link:hover { text-decoration: underline; text-underline-offset: 3px; }

.chip-grid { display: flex; flex-wrap: wrap; gap: 8px; }

.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }

.chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgb(0 0 0 / 0.16);
  background: rgb(255 255 255 / 0.7);
  font-weight: 800;
  font-size: 12px;
  line-height: 1.2;
}

.chip-soft {
  background: var(--brand-50);
  border-color: rgb(37 87 167 / 0.35);
  color: var(--brand-600);
}

.timeline { display: grid; gap: 14px; }

.timeline-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 16px;
}

.timeline-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
}

.timeline-role { font-weight: 900; font-size: 16px; }

.timeline-period { font-weight: 800; font-size: 13px; color: var(--muted); }

.timeline-company { margin-top: 4px; font-weight: 800; color: rgb(0 0 0 / 0.75); }

.timeline-list {
  margin: 10px 0 0 18px;
  padding: 0;
  color: rgb(0 0 0 / 0.82);
  line-height: 1.6;
}

.list-item { padding: 12px 0; border-bottom: 1px solid rgb(0 0 0 / 0.06); }
.list-item:last-child { border-bottom: none; padding-bottom: 0; }
.list-top { display: flex; justify-content: space-between; gap: 12px; }
.list-title { font-weight: 900; }
.list-meta { font-weight: 800; font-size: 13px; color: var(--muted); }
.list-sub {
  margin-top: 4px;
  font-weight: 800;
  color: rgb(0 0 0 / 0.75);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.link-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 12px;
  border-radius: 0px;
  border: 1px solid rgb(0 0 0 / 0.12);
  background: rgb(243 242 239 / 0.55);
  font-weight: 900;
  margin-top: 10px;
}

.link-row:first-child { margin-top: 0; }
.link-row:hover { background: rgb(243 242 239 / 0.9); }

.site-footer {
  border-top: 1px solid rgb(0 0 0 / 0.08);
  background: var(--white);
}

.footer-row {
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.footer-brand { font-weight: 900; letter-spacing: 0.5px; }
.footer-sub { margin-top: 2px; color: var(--muted); font-weight: 700; font-size: 13px; }

.footer-right { display: flex; gap: 14px; flex-wrap: wrap; }
.footer-link { color: var(--brand-600); font-weight: 900; font-size: 13px; }
.footer-link:hover { text-decoration: underline; text-underline-offset: 3px; }

.footer-bottom {
  padding: 12px 0 18px 0;
  color: var(--muted);
  font-weight: 700;
  font-size: 13px;
}

.cv-shell { padding: 26px 0; }

.cv-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 16px;
  align-items: start;
}

.cv-aside { position: sticky; top: 92px; }

.cv-aside-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 14px;
}

.cv-aside-title { font-weight: 900; display: flex; gap: 10px; align-items: center; }

.toc-nav { display: flex; flex-direction: column; gap: 6px; margin-top: 12px; }

.toc-link {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  padding: 10px 10px;
  border-radius: 0px;
  font-weight: 900;
  color: rgb(0 0 0 / 0.82);
  border: 1px solid transparent;
  transition: background 150ms ease, border-color 150ms ease;
}

.toc-link:hover { background: rgb(243 242 239 / 0.7); }
.toc-link.active { background: var(--brand-50); border-color: rgb(37 87 167 / 0.35); color: var(--brand-600); }

.cv-main { display: grid; gap: 14px; }

.cv-hero {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 18px;
}

.cv-hero-top { display: flex; gap: 16px; align-items: flex-start; }

.cv-avatar {
  width: 62px;
  height: 62px;
  border-radius: 0px;
  background: var(--accent-500);
  border: 1px solid rgb(0 0 0 / 0.15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.cv-avatar-inner { font-weight: 900; font-size: 22px; }

.cv-name { font-weight: 900; font-size: 22px; }
.cv-role { margin-top: 2px; font-weight: 900; color: rgb(0 0 0 / 0.76); }
.cv-location { margin-top: 6px; font-weight: 800; color: var(--muted); }
.cv-hero-actions { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 10px; }

.cv-section {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 16px 18px;
}

.cv-section-title {
  margin: 0 0 12px 0;
  font-weight: 900;
  font-size: 18px;
  display: flex;
  gap: 10px;
  align-items: center;
}

.cv-paragraph { margin: 10px 0; color: rgb(0 0 0 / 0.85); line-height: 1.75; }

.cv-item { padding: 14px 0; border-top: 1px solid rgb(0 0 0 / 0.06); }
.cv-item:first-child { border-top: none; padding-top: 0; }

.cv-item-top { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.cv-item-title { font-weight: 900; }
.cv-item-meta { font-weight: 800; color: var(--muted); font-size: 13px; }
.cv-item-sub { margin-top: 4px; font-weight: 900; color: rgb(0 0 0 / 0.75); }
.cv-note { margin-top: 6px; font-weight: 800; color: var(--muted); font-size: 13px; }

.cv-list { margin: 10px 0 0 18px; padding: 0; color: rgb(0 0 0 / 0.82); line-height: 1.65; }
.cv-list li { margin: 6px 0; }

.floating-toc {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 54px;
  height: 54px;
  border-radius: 0px;
  border: 1px solid rgb(0 0 0 / 0.18);
  background: var(--brand-600);
  color: var(--white);
  box-shadow: var(--shadow-elevated);
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.toc-overlay {
  position: fixed;
  inset: 0;
  background: rgb(0 0 0 / 0.55);
  display: flex;
  justify-content: center;
  align-items: flex-end;
  z-index: 100;
  padding: 18px;
}

.toc-panel {
  width: min(520px, 100%);
  background: var(--white);
  border-radius: 18px;
  border: 1px solid rgb(0 0 0 / 0.12);
  box-shadow: var(--shadow-elevated);
  overflow: hidden;
}

.toc-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 14px;
  border-bottom: 1px solid rgb(0 0 0 / 0.06);
}

.toc-panel-title { font-weight: 900; display: flex; gap: 10px; align-items: center; }

.toc-panel-body { padding: 10px 12px 14px 12px; display: grid; gap: 8px; }

.toc-mobile-link {
  padding: 12px 12px;
  border-radius: 0px;
  background: rgb(243 242 239 / 0.7);
  border: 1px solid rgb(0 0 0 / 0.12);
  font-weight: 900;
}

@media (min-width: 981px) {
  .auth-promo { display: block; }
}

@media (max-width: 980px) {
  .scroll-progress { display: none; }
  .hero-band-title { font-size: 44px; }
  .hero-band-inner { padding: 64px 0 52px 0; }
  .hero-band-actions { justify-content: stretch; }
  .hero-band-actions .btn { width: 100%; }
  .hero-inner { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .addon-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .workflow-grid { grid-template-columns: 1fr; }
  .auth-inner { padding: 36px 0 52px 0; }
  .auth-grid { grid-template-columns: 1fr; }
  .header-nav, .nav-links, .header-login, .btn-help, .icon-btn:not(.mobile-toggle), .btn-cta { display: none !important; }
  .mobile-toggle { display: inline-flex; }
  .cv-grid { grid-template-columns: 1fr; }
  .cv-aside { display: none; }
  .floating-toc { display: inline-flex; }
  
  /* Enhanced mobile header optimization */
  .site-header {
    background: var(--accent-500) !important;
    border-bottom: none;
  }
  
  .header-row {
    height: 64px;
    padding: 0 20px;
  }
  
  .brand-logo {
    height: 54px !important;
    max-height: 54px !important;
    width: auto;
  }
  
  .header-actions {
    gap: 12px;
  }
  
  .mobile-toggle {
    width: 40px;
    height: 40px;
    background: transparent !important;
    border: none !important;
    color: #000000 !important;
    font-size: 20px;
    padding: 0;
  }
  
  .lang-btn {
    height: 40px;
    padding: 0;
    background: transparent !important;
    border: none !important;
    color: #000000 !important;
    gap: 4px;
  }
  
  .lang-btn .lang-icon {
    width: 22px;
    height: 22px;
  }
  
  .lang-btn .lang-code {
    display: none;
  }
  
  .lang-btn i {
    display: none; /* Hide the chevron on mobile */
  }

  
  .btn {
    height: 36px;
    padding: 0 12px;
    font-size: 13px;
  }
  
  .mobile-nav {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    background: #ffffff;
    z-index: 200;
    border: none;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    padding-top: 20px;
  }
  
  .mobile-nav-inner {
    padding: 0 20px;
    gap: 8px;
  }
  
  .mobile-link {
    padding: 16px 20px;
    border-radius: 0;
    font-size: 18px;
    font-weight: 800;
    color: #000000;
    background: transparent;
    border-bottom: 1px solid #f0f0f0;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  
  .mobile-link::after {
    content: "\f054";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 12px;
    opacity: 0.3;
  }
  
  .mobile-link:active {
    background: #f8f8f8;
  }
  
  /* Additional mobile header optimizations */
  .container {
    padding: 0 16px;
  }
  
  .site-header {
    position: sticky;
    top: 0;
    z-index: 100;
  }
  
  .cv-admin-bar {
    top: 8px;
    right: 8px;
    gap: 6px;
  }
  
  .cv-edit-btn {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }
  
  .cv-paper {
    padding: 16px;
    margin: 0 8px;
  }
  
  .cv-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  
  .cv-head-right {
    align-items: flex-start;
    width: 100%;
  }
  
  .cv-contact-link {
    font-size: 14px;
    padding: 8px 10px;
  }
}

@media (max-width: 980px) {
  .admin-header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 20px;
  }
  
  .admin-brand img {
    height: 48px !important;
    max-height: 48px !important;
  }
  
  .admin-header-actions {
    width: 100%;
    justify-content: space-between;
  }
  
  .admin-header-actions .admin-btn {
    flex: 1;
    text-align: center;
  }

  .admin-content {
    padding: 20px 0;
  }

  .order-card-header {
    flex-direction: column;
    gap: 16px;
  }

  .order-meta {
    text-align: left;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .order-actions {
    justify-content: flex-start;
  }

  .order-service {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .modal-content {
    margin: 10% auto;
    width: 95%;
  }
}

@media print {
  .site-header, .site-footer, .floating-toc, .toc-overlay { display: none !important; }
  body { background: white; }
  .cv-shell { padding: 0; }
  .cv-section, .cv-hero { box-shadow: none; }
  .cv-section, .cv-hero { border-color: rgb(0 0 0 / 0.2); }
}

.cv-page {
  padding: 26px 0;
}

.cv-page .container { max-width: 1400px; }

.cv-paper {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 0px;
  box-shadow: var(--shadow-card);
  padding: 26px;
  position: relative;
}

.cv-admin-bar {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  gap: 8px;
  z-index: 10;
}

.cv-edit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgb(0 0 0 / 0.15);
  background: rgb(255 255 255 / 0.9);
  color: var(--brand-600);
  font-size: 15px;
  transition: all 150ms ease;
  cursor: pointer;
}

.cv-edit-btn:hover {
  background: var(--brand-600);
  color: var(--white);
  border-color: var(--brand-600);
}

@media print {
  .cv-admin-bar { display: none; }
}

/* Admin Dashboard Redesign */
.admin-dashboard {
  min-height: 100vh;
  background: #f8f9fa;
  position: relative;
  z-index: 10;
}

/* Hide any background text overlays on admin pages */
.admin-dashboard::before,
.admin-dashboard::after,
.admin-page::before,
.admin-page::after,
body[class*="admin"]::before,
body[class*="admin"]::after {
  display: none !important;
}

.admin-header {
  background: var(--accent-500);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding: 16px 0;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.admin-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.admin-title {
  font-size: 28px;
  font-weight: 800;
  margin: 0;
  color: #111827;
  letter-spacing: -0.025em;
}

.admin-subtitle {
  font-size: 15px;
  color: #6b7280;
  margin: 4px 0 0 0;
  font-weight: 500;
}

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

.admin-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 20px;
  border-radius: 0;
  font-weight: 900;
  font-size: 14px;
  transition: all 0.2s;
  cursor: pointer;
  text-decoration: none;
}

.admin-btn-primary {
  background: #000000;
  color: #ffffff;
  border: 1px solid #000000;
}

.admin-btn-primary:hover {
  background: #333333;
}

.admin-btn-ghost {
  background: transparent;
  color: #000000;
  border: 1px solid rgb(0 0 0 / 0.15);
  width: 40px;
  padding: 0;
}

.admin-btn-ghost:hover {
  background: rgb(0 0 0 / 0.05);
  border-color: #000000;
}

.admin-profile {
  display: flex;
  gap: 16px;
  align-items: center;
}

/* Journals Page Styling */
.journals-page {
  padding: 40px 0;
}

.journals-header {
  margin-bottom: 40px;
  text-align: center;
}

.page-title {
  font-size: 32px;
  font-weight: 900;
  margin-bottom: 8px;
}

.page-subtitle {
  font-size: 18px;
  color: var(--muted);
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

.article-card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 24px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.article-title {
  font-size: 20px;
  font-weight: 900;
  margin-bottom: 12px;
}

.article-date {
  font-size: 13px;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 12px;
  display: block;
}

.article-summary {
  font-size: 15px;
  line-height: 1.6;
  color: #444;
  margin-bottom: 20px;
  flex-grow: 1;
}

.article-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}

.article-category {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.empty-state {
  text-align: center;
  padding: 60px 20px;
  background: var(--white);
  border: 1px solid var(--border);
}

.empty-icon {
  font-size: 48px;
  color: var(--border);
  margin-bottom: 20px;
}

.empty-title {
  font-size: 24px;
  font-weight: 900;
  margin-bottom: 12px;
}

.empty-text {
  color: var(--muted);
  font-size: 16px;
  max-width: 400px;
  margin: 0 auto 24px;
}
.order-page {
  min-height: calc(100vh - 72px);
  background: #fdfdfd;
  padding: 40px 0;
}

.order-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  align-items: start;
}

.order-page-title {
  font-size: 32px;
  font-weight: 900;
  margin: 0 0 12px 0;
  color: #000000;
}

.order-page-subtitle {
  font-size: 18px;
  color: #666666;
  margin-bottom: 32px;
  max-width: 600px;
  line-height: 1.5;
}

.order-form-card {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 0;
  padding: 32px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.form-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-row {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  font-weight: 800;
  font-size: 14px;
  margin-bottom: 8px;
  color: #333333;
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #eeeeee;
  border-radius: 0;
  font-family: inherit;
  font-size: 15px;
  transition: all 0.2s ease;
  background: #fafafa;
}

.form-input:focus {
  outline: none;
  border-color: #ffcd1b;
  background: #ffffff;
}

.select-wrapper {
  position: relative;
}

.form-actions-bar {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid #eeeeee;
}

.btn-large {
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 900;
}

.order-sidebar {
  position: sticky;
  top: 92px;
}

.sticky-card {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  padding: 24px;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  font-weight: 800;
  color: #000000;
  font-size: 14px;
}

.contact-method i {
  color: #ffcd1b;
}

.divider {
  height: 1px;
  background: #eeeeee;
  margin: 20px 0;
}

.sidebar-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: #666666;
  font-size: 14px;
  transition: color 0.2s;
}

.sidebar-link:hover {
  color: #000000;
}

/* Rich Editor Styles */
.rich-editor-container {
  position: relative;
  background: #fafafa;
  border: 2px solid #eeeeee;
  border-radius: 0;
}

.rich-editor-container .form-input {
  border: none !important;
  background: transparent !important;
  margin-bottom: 0;
}

.editor-toolbar {
  display: flex;
  gap: 8px;
  padding: 8px 12px;
  border-top: 1px solid #eeeeee;
  background: #f8f8f8;
}

.editor-toolbar button {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e0e0e0;
  background: #ffffff;
  color: #333333;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.2s;
}

.editor-toolbar button:hover {
  background: #ffcd1b;
  border-color: #ffcd1b;
  color: #000000;
}

/* File Upload Styles */
.file-upload-container {
  position: relative;
}

.file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.file-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px;
  background: #fafafa;
  border: 2px dashed #eeeeee;
  cursor: pointer;
  transition: all 0.2s;
}

.file-label:hover {
  background: #f0f0f0;
  border-color: #ffcd1b;
}

.file-label i {
  font-size: 24px;
  color: #666666;
  margin-bottom: 8px;
}

.file-label span {
  font-weight: 800;
  font-size: 14px;
  color: #333333;
}

.file-label small {
  color: #999999;
  margin-top: 4px;
}

.file-list {
  margin-top: 12px;
  display: grid;
  gap: 8px;
}

.file-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: #f8f8f8;
  border: 1px solid #eeeeee;
  font-size: 13px;
  font-weight: 700;
}

.file-item i {
  color: #ffcd1b;
}

@media (max-width: 980px) {
  .order-page {
    padding: 24px 0;
  }
  
  .order-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .form-group {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .order-form-card {
    padding: 20px;
  }
  
  .order-sidebar {
    position: static;
  }
}

.admin-user {
  font-weight: 700;
  font-size: 14px;
  color: #2d2d2d;
  background: rgba(0, 0, 0, 0.1);
  padding: 8px 12px;
  border-radius: 0px;
}

.admin-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.admin-brand {
  color: #2d2d2d;
}

.admin-brand img {
  height: 24px;
  width: auto;
  object-fit: contain;
}

.admin-title {
  margin: 0;
  font-size: 28px;
  font-weight: 900;
  color: #2d2d2d;
}

.admin-subtitle {
  margin: 4px 0 0 0;
  font-size: 14px;
  font-weight: 600;
  color: #595959;
}

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

.admin-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 16px;
  border: none;
  border-radius: 0px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
  transition: all 150ms ease;
}

.admin-btn-ghost {
  background: rgba(0, 0, 0, 0.1);
  color: #2d2d2d;
  border: 1px solid rgba(0, 0, 0, 0.2);
}

.admin-btn-ghost:hover {
  background: rgba(0, 0, 0, 0.2);
}

.admin-btn-primary {
  background: #2d2d2d;
  color: #ffffff;
  border: 1px solid #2d2d2d;
}

.admin-btn-primary:hover {
  background: #1a1a1a;
}

.admin-main {
  padding: 40px 0;
}

.admin-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.management-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.management-card {
  background: #ffffff;
  border: 2px solid #e9ecef;
  padding: 32px 24px;
  text-align: center;
  text-decoration: none;
  color: inherit;
  transition: all 200ms ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.management-card:hover {
  border-color: #ffcd1b;
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.management-icon {
  width: 64px;
  height: 64px;
  background: #ffcd1b;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
  font-size: 28px;
  color: #2d2d2d;
}

.management-card:hover .management-icon {
  background: #2d2d2d;
  color: #ffffff;
}

.management-title {
  margin: 0 0 8px 0;
  font-size: 20px;
  font-weight: 900;
  color: #2d2d2d;
}

.management-desc {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: #595959;
  line-height: 1.4;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .admin-header-inner {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  
  .admin-header-actions {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .management-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .management-card {
    padding: 24px 20px;
  }
  
  .admin-main {
    padding: 24px 0;
  }
}

/* Admin Management Pages Styling */
.admin-notice {
  background: #d4edda;
  border: 1px solid #c3e6cb;
  color: #155724;
  padding: 12px 16px;
  margin-bottom: 24px;
  font-weight: 600;
}

.admin-content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.admin-section {
  background: #ffffff;
  border: 2px solid #e9ecef;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.admin-section-title {
  margin: 0 0 20px 0;
  font-size: 20px;
  font-weight: 900;
  color: #2d2d2d;
  border-bottom: 2px solid #ffcd1b;
  padding-bottom: 8px;
}

.admin-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.admin-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.admin-label {
  font-weight: 700;
  font-size: 14px;
  color: #2d2d2d;
}

.admin-input, .admin-textarea {
  padding: 12px 16px;
  border: 2px solid #e9ecef;
  background: #ffffff;
  font-size: 14px;
  font-weight: 600;
  color: #2d2d2d;
  transition: border-color 150ms ease;
}

.admin-input:focus, .admin-textarea:focus {
  outline: none;
  border-color: #ffcd1b;
}

.admin-textarea {
  resize: vertical;
  min-height: 100px;
}

.admin-form-actions {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.admin-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.admin-list-item {
  border: 1px solid #e9ecef;
  padding: 16px;
  background: #f8f9fa;
}

.admin-list-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 8px;
}

.admin-list-title {
  margin: 0;
  font-size: 16px;
  font-weight: 900;
  color: #2d2d2d;
}

.admin-list-meta {
  font-size: 12px;
  font-weight: 600;
  color: #595959;
  background: #e9ecef;
  padding: 4px 8px;
}

.admin-list-category {
  margin: 0 0 8px 0;
  font-size: 12px;
  font-weight: 700;
  color: #ffcd1b;
  background: #2d2d2d;
  padding: 4px 8px;
  display: inline-block;
}

.admin-list-desc {
  margin: 0 0 8px 0;
  font-size: 14px;
  color: #595959;
  line-height: 1.4;
}

.admin-list-link {
  display: block;
  font-size: 12px;
  color: #2557a7;
  text-decoration: none;
  margin-bottom: 12px;
  word-break: break-all;
}

.admin-list-link:hover {
  text-decoration: underline;
}

.admin-list-actions {
  display: flex;
  gap: 8px;
}

.admin-btn-small {
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 150ms ease;
}

.admin-btn-small.admin-btn-ghost {
  background: #e9ecef;
  color: #2d2d2d;
}

.admin-btn-small.admin-btn-ghost:hover {
  background: #dee2e6;
}

.admin-btn-small.admin-btn-danger {
  background: #dc3545;
  color: #ffffff;
}

.admin-btn-small.admin-btn-danger:hover {
  background: #c82333;
}

.admin-empty {
  text-align: center;
  padding: 40px 20px;
  color: #595959;
}

.admin-empty i {
  font-size: 48px;
  margin-bottom: 16px;
  color: #dee2e6;
}

.admin-empty p {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

@media (max-width: 768px) {
  .admin-content-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .admin-section {
    padding: 20px;
  }
  
  .admin-list-header {
    flex-direction: column;
    gap: 8px;
  }
  
  .admin-form-actions {
    flex-direction: column;
  }
}

.cv-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  padding-bottom: 16px;
  border-bottom: 2px solid rgb(0 0 0 / 0.08);
}

.cv-head-left { min-width: 0; }

.cv-profile-pic {
  width: 84px;
  height: 84px;
  border-radius: 18px;
  overflow: hidden;
  border: 2px solid rgb(0 0 0 / 0.08);
  background: rgb(255 255 255 / 0.7);
  box-shadow: var(--shadow-card);
  margin-bottom: 10px;
}

.cv-profile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cv-name {
  font-family: "Urfa-Regular", "Foro Sans", "Noto Sans", Helvetica, Arial, sans-serif;
  margin: 0;
  font-weight: 700;
  font-size: 34px;
  letter-spacing: -0.3px;
  line-height: 1.1;
}

.cv-role {
  margin-top: 6px;
  font-weight: 600;
  font-size: 16px;
  color: rgb(0 0 0 / 0.78);
}

.cv-sub {
  margin-top: 8px;
  font-weight: 500;
  color: var(--muted);
  line-height: 1.4;
}

.cv-head-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  flex: 0 0 auto;
}

.cv-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 0px;
  border: 2px solid #ffcd1b;
  background: #ffcd1b;
  color: #2d2d2d;
  font-weight: 900;
  font-size: 14px;
  text-decoration: none;
  transition: all 150ms ease;
  margin-bottom: 12px;
}

.cv-download-btn:hover {
  background: #2d2d2d;
  color: #ffcd1b;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.cv-contact-link {
  font-family: "Urfa-Regular", "Foro Sans", "Noto Sans", Helvetica, Arial, sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: var(--brand-600);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.cv-contact-link:hover { text-decoration: underline; text-underline-offset: 3px; }

.cv-print {
  font-family: "Urfa-Regular", "Foro Sans", "Noto Sans", Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-size: 13px;
  border-radius: 10px;
  border: 1px solid rgb(0 0 0 / 0.2);
  background: rgb(243 242 239 / 0.65);
  padding: 9px 12px;
  cursor: pointer;
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.cv-print:hover { background: rgb(243 242 239 / 1); }

.cv-columns {
  display: grid;
  grid-template-columns: 310px 1fr;
  gap: 22px;
  margin-top: 18px;
}

.cv-left {
  border-right: 1px solid rgb(0 0 0 / 0.08);
  padding-right: 18px;
}

.cv-right { min-width: 0; }

.cv-block { margin-top: 18px; }
.cv-block:first-child { margin-top: 0; }

.cv-h2 {
  font-family: "Urfa-Regular", "Foro Sans", "Noto Sans", Helvetica, Arial, sans-serif;
  margin: 0 0 10px 0;
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: rgb(0 0 0 / 0.85);
  padding-bottom: 6px;
  border-bottom: 1px solid rgb(0 0 0 / 0.12);
}

.cv-mini { display: grid; gap: 8px; }

.cv-mini-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  line-height: 1.4;
}

.cv-mini-k { color: var(--muted); font-weight: 600; }
.cv-mini-v { color: rgb(0 0 0 / 0.84); font-weight: 600; text-align: right; }

.cv-links { display: grid; gap: 8px; margin-top: 12px; }

.cv-link {
  font-family: "Signika", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: rgb(0 0 0 / 0.78);
  padding: 10px 10px;
  border-radius: 10px;
  border: 1px solid rgb(0 0 0 / 0.12);
  background: rgb(243 242 239 / 0.55);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.cv-link:hover { background: rgb(243 242 239 / 0.95); }

.cv-p {
  margin: 10px 0;
  color: rgb(0 0 0 / 0.86);
  line-height: 1.72;
  font-size: 16px;
}

.cv-bullets {
  margin: 8px 0 0 18px;
  padding: 0;
  color: rgb(0 0 0 / 0.84);
  line-height: 1.65;
  font-size: 15px;
}

.cv-bullets li { margin: 6px 0; }

.cv-entry {
  padding-top: 14px;
  margin-top: 14px;
  border-top: 1px solid rgb(0 0 0 / 0.08);
}

.cv-entry:first-child { margin-top: 0; padding-top: 0; border-top: none; }

.cv-entry-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
}

.cv-entry-title { font-weight: 700; font-size: 16px; color: rgb(0 0 0 / 0.9); }

.cv-entry-meta {
  font-family: "Urfa-Regular", "Foro Sans", "Noto Sans", Helvetica, Arial, sans-serif;
  font-weight: 600;
  font-size: 13px;
  color: var(--muted);
  text-align: right;
}

.cv-entry-sub { margin-top: 4px; font-weight: 600; color: rgb(0 0 0 / 0.78); }

.cv-tags {
  margin-top: 8px;
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
  line-height: 1.55;
}

.cert-actions { margin-top: 10px; }

.cert-frame {
  margin-top: 14px;
  border: 1px solid rgb(0 0 0 / 0.12);
  border-radius: 0px;
  overflow: hidden;
}

.cert-iframe {
  width: 100%;
  height: 760px;
  border: 0;
  display: block;
}

@media (max-width: 980px) {
  .cv-paper { padding: 18px; }
  .cv-head { flex-direction: column; align-items: flex-start; }
  .cv-head-right { align-items: flex-start; }
  .cv-columns { grid-template-columns: 1fr; }
  .cv-left { border-right: none; padding-right: 0; padding-bottom: 16px; border-bottom: 1px solid rgb(0 0 0 / 0.08); }
}

@media print {
  body { background: white; }
  .cv-page { padding: 0; }
  .cv-paper { box-shadow: none; border-radius: 0; border: none; padding: 0; }
  .cv-left { border: none; padding: 0; }
  .cv-head { border-color: rgb(0 0 0 / 0.25); }
}

/* Admin Dashboard Styles */
.admin-page {
  background-color: #f9fafb;
  min-height: 100vh;
}

.admin-content {
  padding: 40px 0;
}

.admin-section {
  margin-bottom: 40px;
}

.admin-card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.admin-card-body {
  padding: 24px;
}

.orders-grid {
  display: grid;
  gap: 20px;
}

.order-card {
  border: 1px solid #f3f4f6;
  border-radius: 12px;
  padding: 24px;
  background: #ffffff;
  transition: transform 0.2s, box-shadow 0.2s;
}

.order-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.order-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f3f4f6;
}

.order-client-info {
  display: flex;
  gap: 16px;
}

.client-avatar {
  width: 48px;
  height: 48px;
  background: #f3f4f6;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
  font-size: 20px;
}

.client-name {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 4px 0;
  color: #111827;
}

.client-email, .client-company {
  font-size: 14px;
  color: #6b7280;
  display: flex;
  align-items: center;
  gap: 8px;
}

.order-meta {
  text-align: right;
}

.order-date {
  font-size: 13px;
  color: #9ca3af;
  margin-bottom: 12px;
}

.order-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

.order-card-body {
  margin-bottom: 20px;
}

.order-service {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.service-badge {
  background: #eff6ff;
  color: #2563eb;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.budget-info {
  font-size: 14px;
  color: #059669;
}

.order-preview {
  background: #f9fafb;
  padding: 12px;
  border-radius: 8px;
  font-size: 14px;
  color: #4b5563;
  line-height: 1.5;
}

.order-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid #f3f4f6;
}

.status-badge {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 6px;
}

.status-new { color: #10b981; }

.admin-btn-small {
  height: 32px;
  padding: 0 12px;
  font-size: 12px;
}

.admin-btn-danger {
  background: #fee2e2;
  color: #dc2626;
  border: none;
}

.admin-btn-danger:hover {
  background: #fecaca;
}

.admin-empty {
  text-align: center;
  padding: 60px 0;
  color: #9ca3af;
}

.admin-empty i {
  font-size: 48px;
  margin-bottom: 16px;
  display: block;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}

.modal-content {
  background: white;
  margin: 5% auto;
  padding: 0;
  width: 90%;
  max-width: 700px;
  border-radius: 16px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.modal-header {
  padding: 20px 24px;
  background: #f9fafb;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
}

.close-btn {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #9ca3af;
}

.modal-body {
  padding: 24px;
  max-height: 80vh;
  overflow-y: auto;
}
