@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --primary: #1A6FFF;
  --primary-hover: #0F5EE5;
  --primary-light: #EBF3FF;
  --secondary: #00B9D6;
  --secondary-light: #E0F9FF;
  --success: #059669;
  --success-light: #D1FAE5;
  --warning: #D97706;
  --warning-light: #FEF3C7;
  --danger: #DC2626;
  --danger-light: #FEE2E2;
  --gray-50: #F8FAFC;
  --gray-100: #F1F5F9;
  --gray-200: #E2E8F0;
  --gray-300: #CBD5E1;
  --gray-400: #94A3B8;
  --gray-500: #64748B;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1E293B;
  --gray-900: #0F172A;
  --sidebar-bg: #071422;
  --sidebar-width: 256px;
  --topbar-height: 64px;
  --border-radius: 8px;
  --border-radius-lg: 12px;
  --shadow: 0 1px 3px rgba(0,0,0,.1),0 1px 2px rgba(0,0,0,.06);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -1px rgba(0,0,0,.06);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -2px rgba(0,0,0,.05);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--gray-100);
  color: var(--gray-800);
  line-height: 1.5;
  min-height: 100vh;
}

/* ─── Layout ─── */
.app-layout {
  display: flex;
  min-height: 100vh;
}

/* ─── Sidebar ─── */
.sidebar {
  width: var(--sidebar-width);
  background: var(--sidebar-bg);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0;
  height: 100vh;
  z-index: 100;
  transition: transform .3s ease;
  overflow-y: auto;
}

.sidebar-logo {
  padding: 0px 20px 16px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.sidebar-logo-text {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -.01em;
}

.sidebar-logo-sub {
  font-size: .7rem;
  color: var(--gray-400);
  margin: 2px auto 0 auto;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.sidebar-nav {
  flex: 1;
  padding: 12px 12px;
}

.nav-label {
  font-size: .65rem;
  font-weight: 600;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: 12px 8px 6px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 6px;
  color: #94A3B8;
  text-decoration: none;
  font-size: .875rem;
  font-weight: 500;
  margin-bottom: 2px;
  transition: all .15s ease;
}

.nav-item:hover {
  background: rgba(255,255,255,.06);
  color: #E2E8F0;
}

.nav-item.active {
  background: rgba(26,111,255,.35);
  color: #fff;
}

.nav-item svg { flex-shrink: 0; opacity: .8; }
.nav-item.active svg { opacity: 1; }

.nav-item.nav-item-highlight {
  color: #60A5FA;
  font-weight: 600;
}
.nav-item.nav-item-highlight:hover {
  background: rgba(96,165,250,.12);
  color: #93C5FD;
}

.nav-parent {
  cursor: pointer;
  user-select: none;
}
.nav-parent .nav-chevron {
  margin-left: auto;
  flex-shrink: 0;
  opacity: .6;
  transition: transform .2s ease;
}
.nav-parent.open .nav-chevron {
  transform: rotate(180deg);
}
.nav-group {
  display: none;
  margin-bottom: 2px;
}
.nav-group.open {
  display: block;
}
.nav-child {
  padding-left: 36px;
  font-size: .825rem;
}

.sidebar-quota {
  padding: 14px 16px 16px;
  border-top: 1px solid rgba(255,255,255,.08);
}

.quota-label {
  font-size: .7rem;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 10px;
}

.quota-credit-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 3px;
}

.quota-credit-label {
  font-size: .72rem;
  color: var(--gray-400);
}

.quota-credit-value {
  font-size: .82rem;
  font-weight: 600;
  color: var(--gray-200);
}

.quota-credit-value.available {
  color: #4ADE80;
}

.quota-credit-value.used {
  color: var(--gray-400);
}

.quota-info {
  font-size: .8rem;
  color: var(--gray-300);
  margin-bottom: 6px;
  display: flex;
  justify-content: space-between;
}

.quota-bar {
  height: 5px;
  background: rgba(255,255,255,.15);
  border-radius: 99px;
  overflow: hidden;
  margin-top: 8px;
}

.quota-fill {
  height: 100%;
  background: var(--primary);
  border-radius: 99px;
  transition: width .4s ease;
}

.quota-fill.warning { background: #F59E0B; }
.quota-fill.danger { background: var(--danger); }

/* ─── Main wrapper ─── */
.main-wrapper {
  margin-left: var(--sidebar-width);
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ─── Top bar ─── */
.topbar {
  height: var(--topbar-height);
  background: #fff;
  border-bottom: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  padding: 0 24px;
  gap: 12px;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: var(--shadow);
}

.sidebar-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--gray-600);
  padding: 6px;
  border-radius: 6px;
}

.sidebar-toggle:hover { background: var(--gray-100); }

.topbar-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-800);
}

.topbar-spacer { flex: 1; }

.topbar-user {
  display: flex;
  align-items: center;
  gap: 12px;
}

.topbar-username {
  font-size: .875rem;
  color: var(--gray-600);
  font-weight: 500;
}

/* ─── Main content ─── */
.main-content {
  flex: 1;
  padding: 24px;
  max-width: 1200px;
  width: 100%;
}

.page-header {
  margin-bottom: 24px;
}

.page-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-900);
  letter-spacing: -.02em;
}

.page-subtitle {
  font-size: .875rem;
  color: var(--gray-500);
  margin-top: 4px;
}

/* ─── Cards ─── */
.card {
  background: #fff;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow);
  padding: 24px;
  margin-bottom: 20px;
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--gray-100);
}

.card-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-800);
}

/* ─── Forms ─── */
.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

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

.form-group.full { grid-column: 1 / -1; }

label {
  font-size: .8125rem;
  font-weight: 500;
  color: var(--gray-700);
}

label .required { color: var(--danger); margin-left: 2px; }

input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
select,
textarea {
  width: 100%;
  padding: 9px 12px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--border-radius);
  font-size: .875rem;
  color: var(--gray-800);
  background: #fff;
  transition: border-color .15s, box-shadow .15s;
  font-family: inherit;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26,111,255,.1);
}

input:disabled, select:disabled, textarea:disabled {
  background: var(--gray-50);
  color: var(--gray-400);
  cursor: not-allowed;
}

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

select { cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2364748b' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 32px; }

.form-hint { font-size: .75rem; color: var(--gray-400); }

/* ─── Checkboxes / Radio ─── */
.checkbox-group, .radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.checkbox-item, .radio-item {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.checkbox-item input[type="checkbox"],
.radio-item input[type="radio"] {
  width: 16px;
  height: 16px;
  cursor: pointer;
  accent-color: var(--primary);
}

.checkbox-item label, .radio-item label {
  font-size: .875rem;
  font-weight: 400;
  cursor: pointer;
  color: var(--gray-700);
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 18px;
  border-radius: var(--border-radius);
  font-size: .875rem;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: all .15s ease;
  text-decoration: none;
  white-space: nowrap;
  font-family: inherit;
}

.btn:disabled { opacity: .5; cursor: not-allowed; }

.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover:not(:disabled) { background: var(--primary-hover); }

.btn-secondary { background: var(--gray-100); color: var(--gray-700); }
.btn-secondary:hover:not(:disabled) { background: var(--gray-200); }

.btn-danger { background: var(--danger); color: #fff; }
.btn-danger:hover:not(:disabled) { background: #B91C1C; }

.btn-success { background: var(--success); color: #fff; }
.btn-success:hover:not(:disabled) { background: #047857; }

.btn-ghost { background: transparent; color: var(--primary); }
.btn-ghost:hover:not(:disabled) { background: var(--primary-light); }

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}
.btn-outline:hover:not(:disabled) {
  background: var(--primary);
  color: #fff;
}

.btn-sm { padding: 6px 12px; font-size: .8125rem; }
.btn-lg { padding: 12px 24px; font-size: 1rem; }
.btn-icon { padding: 7px; border-radius: 6px; }

.btn-copy {
  padding: 4px 10px;
  font-size: .75rem;
  background: var(--primary-light);
  color: var(--primary);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-family: inherit;
  font-weight: 500;
  transition: all .15s;
}
.btn-copy:hover { background: var(--primary); color: #fff; }
.btn-copy.copied { background: var(--success-light); color: var(--success); }

/* ─── Badges ─── */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 99px;
  font-size: .7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.badge-active { background: var(--success-light); color: var(--success); }
.badge-inactive { background: var(--danger-light); color: var(--danger); }
.badge-test { background: var(--gray-100); color: var(--gray-600); }
.badge-starter { background: #DBEAFE; color: #1D4ED8; }
.badge-pro { background: #EDE9FE; color: #6D28D9; }
.badge-expert { background: #FEF3C7; color: #92400E; }

/* ─── Tables ─── */
.table-wrapper {
  overflow-x: auto;
  border-radius: var(--border-radius);
  border: 1px solid var(--gray-200);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: .875rem;
}

th {
  background: var(--gray-50);
  padding: 10px 16px;
  text-align: left;
  font-size: .75rem;
  font-weight: 600;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: .05em;
  border-bottom: 1px solid var(--gray-200);
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
}

th:hover { color: var(--gray-700); }

td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--gray-100);
  color: var(--gray-700);
}

tr:last-child td { border-bottom: none; }
tr:hover td { background: var(--gray-50); }

.sort-icon { margin-left: 4px; opacity: .5; }
th.sorted .sort-icon { opacity: 1; color: var(--primary); }

/* ─── Toast / Notifications ─── */
.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toast {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  padding: 14px 16px;
  min-width: 280px;
  max-width: 380px;
  animation: toastIn .3s ease;
  border-left: 4px solid var(--gray-300);
}

.toast.success { border-left-color: var(--success); }
.toast.error { border-left-color: var(--danger); }
.toast.warning { border-left-color: var(--warning); }

.toast-icon { font-size: 1rem; margin-top: 1px; }
.toast-message { flex: 1; font-size: .875rem; color: var(--gray-700); line-height: 1.4; }
.toast-close { cursor: pointer; color: var(--gray-400); font-size: 1.1rem; line-height: 1; }
.toast-close:hover { color: var(--gray-700); }

@keyframes toastIn {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}

/* ─── Modal ─── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.open { display: flex; }

.modal {
  background: #fff;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  animation: modalIn .25s ease;
}

@keyframes modalIn {
  from { opacity: 0; transform: scale(.95); }
  to { opacity: 1; transform: scale(1); }
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--gray-100);
}

.modal-title { font-size: 1rem; font-weight: 600; }

.modal-close {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.25rem;
  color: var(--gray-400);
  padding: 2px;
  border-radius: 4px;
}
.modal-close:hover { color: var(--gray-700); background: var(--gray-100); }

.modal-body { padding: 24px; }
.modal-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--gray-100);
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

/* ─── Login page ─── */
.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #071422 0%, #0C2144 60%, #0F3A7A 100%);
  padding: 20px;
}

.login-card {
  background: #fff;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 30px;
  width: 100%;
  max-width: 400px;
}

.login-logo {
  
  margin-bottom: 12px;
  text-align: center;
}

.login-logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -.02em;
}

.login-logo-sub {
  font-size: .8rem;
  color: var(--gray-400);
  margin-top: 4px;
}

.login-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 24px;
  text-align: center;
}

.login-footer { text-align: center; margin-top: 20px; }
.login-footer a { color: var(--primary); text-decoration: none; font-size: .875rem; }

/* ─── Product result ─── */
.result-section {
  margin-top: 24px;
}

.result-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.result-tab {
  padding: 7px 16px;
  border-radius: 6px;
  border: none;
  font-size: .8125rem;
  font-weight: 500;
  cursor: pointer;
  background: var(--gray-100);
  color: var(--gray-600);
  transition: all .15s;
  font-family: inherit;
}

.result-tab.active {
  background: var(--primary);
  color: #fff;
}

.result-tab:hover:not(.active) { background: var(--gray-200); }

.result-platform {
  border: 1.5px solid var(--gray-200);
  border-radius: var(--border-radius-lg);
  margin-bottom: 16px;
  overflow: hidden;
}

.result-platform-header {
  background: var(--gray-50);
  padding: 12px 16px;
  font-size: .875rem;
  font-weight: 600;
  color: var(--gray-700);
  border-bottom: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  gap: 8px;
}

.result-field {
  padding: 12px 16px;
  border-bottom: 1px solid var(--gray-100);
}

.result-field:last-child { border-bottom: none; }

.result-field-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.result-field-label {
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--gray-500);
}

.result-field-content {
  font-size: .875rem;
  color: var(--gray-700);
  line-height: 1.6;
  white-space: pre-wrap;
  min-height: 20px;
}

.result-field-content[contenteditable="true"] {
  outline: none;
  border: 1.5px solid transparent;
  border-radius: 4px;
  padding: 4px;
  margin: -4px;
  transition: border-color .15s;
}

.result-field-content[contenteditable="true"]:focus {
  border-color: var(--primary);
  background: #fff;
}

.result-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}

/* ─── Stats cards ─── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.stat-card {
  background: #fff;
  border-radius: var(--border-radius-lg);
  padding: 20px;
  box-shadow: var(--shadow);
}

.stat-label { font-size: .75rem; font-weight: 600; color: var(--gray-500); text-transform: uppercase; letter-spacing: .05em; }
.stat-value { font-size: 2rem; font-weight: 700; color: var(--gray-900); margin: 4px 0; }
.stat-hint { font-size: .75rem; color: var(--gray-400); }

/* ─── Search / Filters ─── */
.toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.search-input {
  flex: 1;
  min-width: 200px;
  max-width: 320px;
  padding: 8px 12px 8px 36px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--border-radius);
  font-size: .875rem;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='%2394A3B8' viewBox='0 0 16 16'%3E%3Cpath d='M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.099zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0z'/%3E%3C/svg%3E") no-repeat 10px center;
  transition: border-color .15s;
  font-family: inherit;
}

.search-input:focus { outline: none; border-color: var(--primary); }

/* ─── Alert / Info ─── */
.alert {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 16px;
  border-radius: var(--border-radius);
  font-size: .875rem;
  margin-bottom: 16px;
}

.alert-info { background: #EFF6FF; color: #1D4ED8; border: 1px solid #BFDBFE; }
.alert-warning { background: var(--warning-light); color: #92400E; border: 1px solid #FDE68A; }
.alert-danger { background: var(--danger-light); color: #991B1B; border: 1px solid #FECACA; }
.alert-success { background: var(--success-light); color: #065F46; border: 1px solid #A7F3D0; }

/* ─── Loading spinner ─── */
.spinner {
  width: 20px; height: 20px;
  border: 2.5px solid rgba(26,111,255,.2);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin .6s linear infinite;
  display: inline-block;
}

@keyframes spin { to { transform: rotate(360deg); } }

.loading-overlay {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 40px;
  color: var(--gray-500);
  font-size: .875rem;
}

/* ─── Empty state ─── */
.empty-state {
  text-align: center;
  padding: 60px 24px;
}

.empty-state-icon { font-size: 3rem; margin-bottom: 16px; }
.empty-state-title { font-size: 1.1rem; font-weight: 600; color: var(--gray-700); margin-bottom: 8px; }
.empty-state-text { font-size: .875rem; color: var(--gray-400); margin-bottom: 20px; }

/* ─── Responsive ─── */
@media (max-width: 768px) {
  .sidebar {
    transform: translateX(-100%);
  }

  .sidebar.open {
    transform: translateX(0);
  }

  .sidebar-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.4);
    z-index: 99;
  }

  .main-wrapper { margin-left: 0; }

  .sidebar-toggle { display: flex; }

  .main-content { padding: 16px; }

  .form-grid { grid-template-columns: 1fr; }

  .stats-grid { grid-template-columns: 1fr 1fr; }

  .topbar { padding: 0 16px; }

  .topbar-username { display: none; }

  .card-header { flex-wrap: wrap; gap: 8px; }

  .toolbar { flex-wrap: wrap; }

  .search-input { max-width: 100%; min-width: 0; flex: 1 1 100%; }

  .result-actions { flex-direction: column; }
  .result-actions .btn { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .login-card { padding: 28px 20px; }
  .card { padding: 16px; }
  .modal-footer { flex-direction: column-reverse; }
  .modal-footer .btn { width: 100%; justify-content: center; }
  .modal-body { padding: 16px; }
  .modal-header { padding: 14px 16px; }
}

/* ─── Responsive Tables (Card-Layout) ─── */
@media (max-width: 640px) {
  .table-wrapper {
    border: none;
    border-radius: 0;
    overflow-x: visible;
  }

  .table-wrapper table { display: block; }

  .table-wrapper thead { display: none; }

  .table-wrapper tbody {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .table-wrapper tr {
    display: block;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--border-radius-lg);
    padding: 14px 16px;
    background: #fff;
    cursor: default;
  }

  .table-wrapper tr[onclick] { cursor: pointer; }
  .table-wrapper tr[onclick]:active { background: var(--gray-50); }

  .table-wrapper tr:hover td { background: transparent; }

  .table-wrapper td {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 6px 0;
    border-bottom: 1px solid var(--gray-100);
    font-size: .875rem;
    color: var(--gray-700);
  }

  .table-wrapper td:last-child { border-bottom: none; padding-bottom: 0; }
  .table-wrapper td:first-child { padding-top: 0; }

  .table-wrapper td::before {
    content: attr(data-label);
    font-weight: 600;
    color: var(--gray-500);
    font-size: .7rem;
    text-transform: uppercase;
    letter-spacing: .05em;
    white-space: nowrap;
    flex-shrink: 0;
    padding-top: 2px;
    min-width: 80px;
  }

  /* Aktions-Zelle: kein Label, Buttons rechts */
  .table-wrapper td[data-label=""] {
    justify-content: flex-end;
    padding-top: 10px;
    margin-top: 2px;
    border-top: 1px solid var(--gray-100);
    border-bottom: none;
  }
  .table-wrapper td[data-label=""]::before { display: none; }
}

/* ─── Utility ─── */
.text-muted { color: var(--gray-400); }
.text-small { font-size: .8125rem; }
.fw-600 { font-weight: 600; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }

/* ─── Loading state (text) ─── */
.loading-state {
  padding: 40px 24px;
  text-align: center;
  color: var(--gray-400);
  font-size: .875rem;
}

/* ─── Project badge (in table) ─── */
.project-badge {
  display: inline-block;
  padding: 2px 8px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 99px;
  font-size: .75rem;
  font-weight: 500;
  white-space: nowrap;
}

/* ─── WYSIWYG Editor ─── */
.wysiwyg-container {
  display: flex;
  flex-direction: column;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--border-radius);
  background: #fff;
  transition: border-color .15s, box-shadow .15s;
}

.wysiwyg-container:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26,111,255,.1);
}

.wysiwyg-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 8px;
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
  border-radius: var(--border-radius) var(--border-radius) 0 0;
  flex-wrap: wrap;
  gap: 4px;
}

.wysiwyg-toolbar {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-wrap: wrap;
}

.wysiwyg-toolbar button,
.wysiwyg-toolbar .wysiwyg-block-select {
  padding: 4px 8px;
  border: none;
  background: transparent;
  border-radius: 4px;
  cursor: pointer;
  font-size: .8125rem;
  color: var(--gray-600);
  font-family: inherit;
  transition: background .12s, color .12s;
  line-height: 1.4;
}

.wysiwyg-toolbar button:hover,
.wysiwyg-toolbar .wysiwyg-block-select:hover {
  background: var(--gray-200);
  color: var(--gray-900);
}

.wysiwyg-toolbar .wysiwyg-block-select {
  appearance: none;
  padding-right: 8px;
  background-image: none;
  font-size: .8rem;
  border: 1px solid var(--gray-200);
  color: var(--gray-600);
}

.wysiwyg-sep {
  width: 1px;
  height: 16px;
  background: var(--gray-200);
  margin: 0 4px;
  display: inline-block;
  vertical-align: middle;
}

.wysiwyg-mode-toggle {
  padding: 3px 10px;
  font-size: .75rem;
  border: 1px solid var(--gray-300);
  border-radius: 4px;
  background: #fff;
  color: var(--gray-600);
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
  transition: background .12s, color .12s;
}

.wysiwyg-mode-toggle:hover {
  background: var(--gray-100);
  color: var(--gray-800);
}

.wysiwyg-editor {
  padding: 10px 12px;
  min-height: 100px;
  outline: none;
  font-size: .875rem;
  color: var(--gray-800);
  line-height: 1.6;
  border-radius: 0 0 var(--border-radius) var(--border-radius);
  overflow-y: auto;
}

.wysiwyg-editor:empty::before {
  content: attr(data-placeholder);
  color: var(--gray-400);
  pointer-events: none;
}

.wysiwyg-editor h2 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: .5em 0 .25em;
  color: var(--gray-900);
}

.wysiwyg-editor h3 {
  font-size: .95rem;
  font-weight: 600;
  margin: .5em 0 .25em;
  color: var(--gray-800);
}

.wysiwyg-editor p { margin: .25em 0; }

.wysiwyg-editor ul,
.wysiwyg-editor ol {
  padding-left: 1.5em;
  margin: .25em 0;
}

.wysiwyg-editor li { margin: .15em 0; }

.wysiwyg-editor table {
  border-collapse: collapse;
  width: 100%;
  margin: .5em 0;
  font-size: .85rem;
}

.wysiwyg-editor th,
.wysiwyg-editor td {
  border: 1px solid var(--gray-300);
  padding: 6px 10px;
  text-align: left;
}

.wysiwyg-editor th {
  background: var(--gray-100);
  font-weight: 600;
  font-size: .8rem;
  text-transform: none;
  letter-spacing: 0;
  cursor: default;
  user-select: text;
}

.wysiwyg-plain {
  width: 100%;
  padding: 10px 12px;
  border: none;
  resize: vertical;
  min-height: 100px;
  font-size: .875rem;
  color: var(--gray-800);
  font-family: inherit;
  line-height: 1.6;
  background: transparent;
  border-radius: 0 0 var(--border-radius) var(--border-radius);
}

.wysiwyg-plain:focus { outline: none; }

/* ─── Logo image ─── */
.sidebar-logo-img {
  width: 186px;
  height: auto;
  display: block;
  border-radius: 8px;
  margin-bottom: 4px;
}

.lp-nav-logo {
  height: auto;
  width: 160px;
  border-radius: 6px;
  display: block;
}

.lp-footer-logo {
  height: auto;
  width: 120px !important;
  border-radius: 6px;
  display: block;
  margin-bottom: 0;
}

.login-logo-img-wrap {
  display: inline-flex;
  background: #071422;
  border-radius: 14px;
  padding: 4px 22px;
  margin-bottom: 6px;
}

.login-logo-img {
  width: 160px;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* ═══════════════════════════════════════════
   LANDING PAGE – Coprite
═══════════════════════════════════════════ */
.landing-body {
  background: #fff;
  color: var(--gray-800);
  overflow-x: hidden;
}

/* ─── Nav ─── */
.lp-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(7,20,34,.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.07);
}

.lp-nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.lp-logo {
  display: flex;
  flex-direction: column;
  gap: 1px;
  text-decoration: none;
}

.lp-logo-name {
  font-size: 1.375rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.04em;
  line-height: 1;
}

.lp-logo-sub {
  font-size: .6rem;
  color: rgba(255,255,255,.38);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 500;
}

/* ─── Hero ─── */
.lp-hero {
  background-color: #071422;
  background-image:
    radial-gradient(circle, rgba(26,111,255,.07) 1px, transparent 1px),
    linear-gradient(140deg, #071422 0%, #0A1E3D 45%, #0D2E6A 100%);
  background-size: 28px 28px, 100% 100%;
  padding: 192px 32px 110px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.lp-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.lp-hero-bg svg {
  width: 100%;
  height: 100%;
}

.lp-hero::before {
  content: '';
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(26,111,255,.18) 0%, transparent 65%);
  pointer-events: none;
}

.lp-hero::after {
  content: '';
  position: absolute;
  bottom: -80px; right: -80px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(0,185,214,.1) 0%, transparent 60%);
  pointer-events: none;
}

.lp-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.lp-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  background: rgba(26,111,255,.15);
  border: 1px solid rgba(26,111,255,.3);
  border-radius: 99px;
  font-size: .8125rem;
  font-weight: 500;
  color: #93C5FD;
  margin-bottom: 28px;
  letter-spacing: .02em;
}

.lp-badge::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #60A5FA;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(.85); }
}

.lp-hero-title {
  font-size: clamp(2.6rem, 6vw, 4.25rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.08;
  letter-spacing: -.05em;
  margin-bottom: 22px;
}

.lp-hero-title em {
  font-style: normal;
  background: linear-gradient(90deg, #1A6FFF 0%, #00B9D6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.lp-hero-sub {
  font-size: 1.175rem;
  color: rgba(255,255,255,.62);
  max-width: 620px;
  margin: 0 auto 40px;
  line-height: 1.65;
  font-weight: 400;
}

.lp-hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.lp-btn-ghost-white {
  background: transparent;
  color: rgba(255,255,255,.85);
  border: 1.5px solid rgba(255,255,255,.22);
  font-weight: 500;
}

.lp-btn-ghost-white:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.4);
  color: #fff;
}

.lp-hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 64px;
  flex-wrap: wrap;
}

.lp-stat {
  text-align: center;
}

.lp-stat-value {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.04em;
  line-height: 1;
}

.lp-stat-value span {
  color: #60A5FA;
}

.lp-stat-label {
  font-size: .8125rem;
  color: rgba(255,255,255,.45);
  margin-top: 6px;
  font-weight: 400;
}

/* ─── Sections ─── */
.lp-section {
  padding: 96px 32px;
}

.lp-section-alt {
  background: var(--gray-50);
}

.lp-section-dark {
  background: #071422;
}

.lp-section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -.04em;
  text-align: center;
  margin-bottom: 12px;
}

.lp-section-dark .lp-section-title { color: #fff; }

.lp-section-sub {
  text-align: center;
  color: var(--gray-500);
  font-size: 1.0625rem;
  max-width: 520px;
  margin: 0 auto 56px;
  line-height: 1.6;
}

.lp-section-dark .lp-section-sub { color: rgba(255,255,255,.5); }

/* ─── Features ─── */
.lp-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.lp-feature-card {
  background: #fff;
  border: 1.5px solid var(--gray-200);
  border-radius: 16px;
  padding: 28px 24px;
  transition: box-shadow .2s ease, border-color .2s ease, transform .2s ease;
}

.lp-feature-card:hover {
  box-shadow: 0 12px 32px rgba(26,111,255,.1);
  border-color: rgba(26,111,255,.3);
  transform: translateY(-2px);
}

.lp-feature-icon {
  width: 46px; height: 46px;
  background: var(--primary-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--primary);
}

.lp-feature-title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
  letter-spacing: -.02em;
}

.lp-feature-text {
  font-size: .9375rem;
  color: var(--gray-500);
  line-height: 1.65;
}

/* ─── Steps ─── */
.lp-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}

.lp-steps::before {
  content: '';
  position: absolute;
  top: 24px;
  left: calc(16.66% + 24px);
  right: calc(16.66% + 24px);
  height: 1px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  opacity: .3;
}

.lp-step {
  text-align: center;
  padding: 0 16px;
}

.lp-step-number {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  font-weight: 800;
  color: #fff;
  margin: 0 auto 20px;
  box-shadow: 0 4px 16px rgba(26,111,255,.35);
}

.lp-step-title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 10px;
  letter-spacing: -.02em;
}

.lp-step-text {
  font-size: .9375rem;
  color: var(--gray-500);
  line-height: 1.65;
}

/* ─── Pricing ─── */
.lp-pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: start;
}

.lp-price-card {
  background: #fff;
  border: 1.5px solid var(--gray-200);
  border-radius: 20px;
  padding: 32px 26px;
  position: relative;
  transition: box-shadow .2s, transform .2s;
}

.lp-price-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.lp-price-card.popular {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-light), var(--shadow-lg);
  transform: translateY(-6px);
}

.lp-price-popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 99px;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.lp-price-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-700);
  margin-bottom: 16px;
  letter-spacing: -.01em;
}

.lp-price-value {
  display: flex;
  align-items: baseline;
  gap: 2px;
  margin-bottom: 4px;
}

.lp-price-currency {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-700);
  margin-top: 4px;
}

.lp-price-amount {
  font-size: 3rem;
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -.05em;
  line-height: 1;
}

.lp-price-period {
  font-size: .875rem;
  color: var(--gray-400);
  margin-left: 2px;
}

.lp-price-desc {
  font-size: .875rem;
  color: var(--gray-400);
  margin-bottom: 24px;
  line-height: 1.5;
}

.lp-price-divider {
  height: 1px;
  background: var(--gray-100);
  margin: 20px 0;
}

.lp-price-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-bottom: 28px;
}

.lp-price-features li {
  font-size: .9rem;
  color: var(--gray-600);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.4;
}

.lp-check {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--primary-light);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
  color: var(--primary);
}

.lp-price-cta { width: 100%; }

.lp-price-card-unlimited {
  background: linear-gradient(140deg, #071422 0%, #0C2144 100%);
  border-color: rgba(255,255,255,.08);
}

.lp-price-card-unlimited .lp-price-name { color: rgba(255,255,255,.6); }
.lp-price-card-unlimited .lp-price-currency { color: rgba(255,255,255,.7); }
.lp-price-card-unlimited .lp-price-amount { color: #fff; }
.lp-price-card-unlimited .lp-price-period { color: rgba(255,255,255,.35); }
.lp-price-card-unlimited .lp-price-desc { color: rgba(255,255,255,.4); }
.lp-price-card-unlimited .lp-price-divider { background: rgba(255,255,255,.08); }
.lp-price-card-unlimited .lp-price-features li { color: rgba(255,255,255,.7); }
.lp-price-card-unlimited .lp-check {
  background: rgba(0,185,214,.15);
  color: #00B9D6;
}
.lp-price-card-unlimited:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0,0,0,.4); }

/* ─── CTA Banner ─── */
.lp-cta {
  background: linear-gradient(140deg, #071422 0%, #0A1E3D 50%, #0F3A7A 100%);
  padding: 96px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.lp-cta::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 300px;
  background: radial-gradient(ellipse, rgba(26,111,255,.2) 0%, transparent 70%);
  pointer-events: none;
}

.lp-cta-inner { position: relative; }

.lp-cta h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -.04em;
  margin-bottom: 14px;
}

.lp-cta p {
  font-size: 1.0625rem;
  color: rgba(255,255,255,.55);
  margin-bottom: 36px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* ─── Footer ─── */
.lp-footer {
  background: #040D1A;
  padding: 44px 32px;
}

.lp-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.lp-footer-brand { display: flex; flex-direction: column; gap: 2px; }

.lp-footer-copy {
  font-size: .875rem;
  color: rgba(255,255,255,.25);
}

/* ═══════════════════════════════════════════
   CONTACT PAGE
═══════════════════════════════════════════ */
.contact-header {
  padding: 116px 32px 52px;
  background: linear-gradient(140deg, #071422 0%, #0A1E3D 60%, #0F2060 100%);
  text-align: center;
}

.contact-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,.45);
  text-decoration: none;
  font-size: .875rem;
  margin-bottom: 20px;
  transition: color .15s;
}

.contact-back:hover { color: rgba(255,255,255,.8); }

.contact-header-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -.04em;
  margin-bottom: 12px;
}

.contact-header-sub {
  color: rgba(255,255,255,.52);
  font-size: 1.0625rem;
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.6;
}

.contact-body {
  padding: 56px 32px 80px;
  background: var(--gray-50);
  min-height: calc(100vh - 400px);
}

.contact-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 28px;
  align-items: start;
}

/* ─── Summary Card ─── */
.contact-summary {
  background: #fff;
  border: 1.5px solid var(--gray-200);
  border-radius: 20px;
  padding: 30px 26px;
  position: sticky;
  top: 88px;
}

.contact-summary-name {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--gray-700);
  margin-bottom: 14px;
  letter-spacing: -.02em;
}

.contact-summary-price {
  display: flex;
  align-items: baseline;
  gap: 2px;
  margin-bottom: 4px;
}

.contact-summary-currency {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--gray-600);
  margin-top: 4px;
}

.contact-summary-amount {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -.05em;
  line-height: 1;
}

.contact-summary-period {
  font-size: .875rem;
  color: var(--gray-400);
  margin-left: 2px;
}

.contact-summary-price-unlim {
  font-size: 1.875rem;
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -.04em;
  margin-bottom: 4px;
  line-height: 1.1;
}

.contact-summary-desc {
  font-size: .875rem;
  color: var(--gray-400);
  margin-top: 4px;
}

.contact-summary-divider {
  height: 1px;
  background: var(--gray-100);
  margin: 20px 0;
}

.contact-summary-total {
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: var(--border-radius);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.contact-summary-calc {
  font-size: .875rem;
  color: var(--gray-500);
}

.contact-summary-total-value {
  font-size: 1.0625rem;
  color: var(--gray-800);
  font-weight: 600;
}

.contact-summary-payment-note {
  font-size: .75rem;
  color: var(--gray-400);
  margin-top: 2px;
}

/* ─── Form Card ─── */
.contact-form-card {
  background: #fff;
  border: 1.5px solid var(--gray-200);
  border-radius: 20px;
  padding: 36px 32px;
}

.contact-form-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gray-900);
  letter-spacing: -.03em;
  margin-bottom: 28px;
}

.contact-privacy-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: .9rem;
  color: var(--gray-600);
  line-height: 1.5;
}

.contact-privacy-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin-top: 3px;
  flex-shrink: 0;
  accent-color: var(--primary);
  cursor: pointer;
}

.contact-privacy-label a { color: var(--primary); }
.contact-privacy-label a:hover { text-decoration: underline; }

/* ─── Success State ─── */
.contact-success-wrap {
  text-align: center;
  padding: 48px 20px;
}

.contact-success-icon {
  width: 68px;
  height: 68px;
  background: var(--success-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  color: var(--success);
}

.contact-success-wrap h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -.04em;
  margin-bottom: 10px;
}

.contact-success-wrap p {
  font-size: .9375rem;
  color: var(--gray-500);
  line-height: 1.65;
  margin-bottom: 28px;
  max-width: 380px;
  margin-left: auto;
  margin-right: auto;
}

/* ─── Responsive ─── */
@media (max-width: 960px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .contact-summary {
    position: static;
  }
}

@media (max-width: 480px) {
  .contact-body { padding: 28px 16px 60px; }
  .contact-header { padding: 96px 20px 36px; }
  .contact-form-card { padding: 24px 18px; }
}

/* ─── Responsive LP ─── */
@media (max-width: 1024px) {
  .lp-pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .lp-price-card.popular { transform: translateY(0); }
}

@media (max-width: 960px) {
  .lp-features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .lp-nav-inner { padding: 0 20px; }
  .lp-hero { padding: 136px 20px 80px; }
  .lp-section { padding: 64px 20px; }
  .lp-features-grid { grid-template-columns: 1fr; }
  .lp-steps { grid-template-columns: 1fr; gap: 40px; }
  .lp-steps::before { display: none; }
  .lp-pricing-grid { grid-template-columns: 1fr; }
  .lp-hero-stats { gap: 32px; }
  .lp-footer-inner { flex-direction: column; text-align: center; }
  .lp-cta { padding: 64px 20px; }
  .lp-footer { padding: 36px 20px; }
}

@media (max-width: 640px) {
  .lp-features-grid { gap: 14px; }
  .lp-hero-stats { gap: 24px; }
  .lp-stat-value { font-size: 1.6rem; }
}

@media (max-width: 480px) {
  .lp-hero { padding: 96px 16px 60px; }
  .lp-section { padding: 48px 16px; }
  .lp-cta { padding: 48px 16px; }
  .lp-footer { padding: 28px 16px; }
  .lp-hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .lp-pricing-grid { gap: 14px; }
  .lp-price-card { padding: 24px 18px; }
  .lp-hero-title { letter-spacing: -.04em; }
  .lp-hero-sub { font-size: 1rem; }
  .lp-hero-actions { flex-direction: column; align-items: stretch; }
  .lp-hero-actions .btn { width: 100%; justify-content: center; }
}
