  :root {
    --brand:#D0202A; --brand-hover:#A8181F;
    --brand-light:#fff1f2;
    --brand-border:#fecdd3;
    --accent:#D0202A; --accent-hover:#A8181F;
    --accent-light:#FFF1F2;
    --accent-border:#FECDD3;
    --gray-900:#111827; --gray-800:#1F2937;
    --gray-700:#374151; --gray-600:#4B5563;
    --gray-500:#6B7280; --gray-400:#9CA3AF;
    --gray-300:#D1D5DB; --gray-200:#E5E7EB;
    --gray-100:#F3F4F6; --gray-50:#F8F9FC;
    --green:#10B981; --green-bg:#F0FDF4;
    --green-border:#BBF7D0;
    --amber:#F59E0B; --amber-bg:#FFFBEB;
    --amber-border:#FDE68A;
    --red:#EF4444; --red-bg:#FEF2F2;
    --red-border:#FECACA;
    --blue:#3B82F6; --blue-bg:#EFF6FF;
    --blue-border:#DBEAFE;
    --violet:#8B5CF6; --violet-bg:#F5F3FF;
    --violet-border:#DDD6FE;
    --bg-page:#F8F9FC; --bg-card:#FFFFFF;
    --bg-sidebar:#FFFFFF;
    --border-color:#E5E7EB;
    --sidebar-width:240px;
    --topbar-height:56px;
    --r-sm:6px; --r-md:8px;
    --r-lg:12px; --r-xl:16px;
    --shadow-sm:0 1px 2px rgba(0,0,0,0.05);
    --shadow-md:0 4px 6px -1px rgba(0,0,0,0.07),
      0 2px 4px rgba(0,0,0,0.04);
    --shadow-lg:0 10px 15px -3px rgba(0,0,0,0.08),
      0 4px 6px rgba(0,0,0,0.04);
    --shadow-focus:0 0 0 3px rgba(208,32,42,0.15);
  }

  .dark {
    --bg-page:#0F1117; --bg-card:#1A1D27;
    --bg-sidebar:#13151F;
    --border-color:rgba(255,255,255,0.08);
    --gray-900:#F9FAFB; --gray-800:#F3F4F6;
    --gray-700:#E5E7EB; --gray-600:#D1D5DB;
    --gray-500:#9CA3AF; --gray-400:#6B7280;
    --gray-300:#374151; --gray-200:#1F2937;
    --gray-100:#161B27; --gray-50:#0F1117;
    --accent-light:rgba(208,32,42,0.15);
    --accent-border:rgba(208,32,42,0.3);
    --brand-light:rgba(208,32,42,0.15);
    --brand-border:rgba(208,32,42,0.3);
    --green-bg:rgba(16,185,129,0.12);
    --green-border:rgba(16,185,129,0.25);
    --amber-bg:rgba(245,158,11,0.12);
    --amber-border:rgba(245,158,11,0.25);
    --red-bg:rgba(239,68,68,0.12);
    --red-border:rgba(239,68,68,0.25);
    --blue-bg:rgba(208,32,42,0.12);
    --blue-border:rgba(208,32,42,0.25);
  }

  /* Base */
  *, *::before, *::after {
    box-sizing: border-box;
    margin: 0; padding: 0;
  }
  html { font-size: 13px; }
  body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-page);
    color: var(--gray-900);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
  }

  /* Scrollbar */
  ::-webkit-scrollbar { width: 5px; height: 5px; }
  ::-webkit-scrollbar-track {
    background: transparent; }
  ::-webkit-scrollbar-thumb {
    background: var(--gray-200);
    border-radius: 3px; }
  ::-webkit-scrollbar-thumb:hover {
    background: var(--gray-300); }

  /* Image lazy loading */
  img { loading: lazy; }
  img[data-src] { opacity: 0;
    transition: opacity 300ms; }
  img.loaded { opacity: 1; }

  /* Animations */
  @keyframes fadeUp {
    from { opacity:0; transform:translateY(8px); }
    to { opacity:1; transform:translateY(0); }
  }
  @keyframes fadeIn {
    from { opacity:0; }
    to { opacity:1; }
  }
  @keyframes slideIn {
    from { transform:translateX(-8px);opacity:0; }
    to { transform:translateX(0);opacity:1; }
  }
  @keyframes pulse-soft {
    0%,100% { opacity:1; }
    50% { opacity:.6; }
  }

  .fade-up {
    animation: fadeUp 250ms ease forwards;
    opacity: 0;
  }
  .fade-up:nth-child(1){animation-delay:0ms}
  .fade-up:nth-child(2){animation-delay:40ms}
  .fade-up:nth-child(3){animation-delay:80ms}
  .fade-up:nth-child(4){animation-delay:120ms}
  .fade-up:nth-child(5){animation-delay:160ms}
  .fade-up:nth-child(6){animation-delay:200ms}
  .fade-in { animation: fadeIn 200ms ease; }
  .slide-in { animation: slideIn 200ms ease; }

  /* Page transition */
  .page-content {
    animation: fadeUp 200ms ease;
  }

  /* Layout */
  .crm-layout {
    display: flex;
    height: 100vh;
    overflow: hidden;
  }

  /* Sidebar */
  .crm-sidebar {
    width: var(--sidebar-width);
    height: 100vh;
    background: var(--bg-sidebar);
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    position: fixed;
    left: 0; top: 0;
    z-index: 50;
    transition: transform 300ms ease;
  }
  .crm-sidebar.mobile-hidden {
    transform: translateX(-100%);
  }
  @media (max-width: 1023px) {
    .crm-sidebar { transform: translateX(-100%); }
    .crm-sidebar.mobile-open {
      transform: translateX(0);
      box-shadow: var(--shadow-lg);
    }
    .crm-main { margin-left: 0 !important; }
  }

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

  /* Topbar */
  .crm-topbar {
    height: var(--topbar-height);
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    padding: 0 20px;
    gap: 12px;
    flex-shrink: 0;
    position: sticky;
    top: 0;
    z-index: 40;
  }

  /* Content */
  .crm-content {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
  }

  /* Sidebar nav */
  .nav-group-label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--gray-400);
    padding: 0 12px;
    margin: 16px 0 4px;
  }
  .nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: var(--r-md);
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-600);
    cursor: pointer;
    text-decoration: none;
    transition: all 150ms ease;
    margin: 1px 6px;
    position: relative;
  }
  .nav-item:hover {
    background: var(--gray-100);
    color: var(--gray-900);
  }
  .nav-item.active {
    background: var(--accent-light);
    color: var(--accent);
    font-weight: 600;
  }
  .nav-item.active svg {
    color: var(--accent);
  }
  .nav-item svg {
    width: 16px; height: 16px;
    flex-shrink: 0;
    color: var(--gray-400);
    transition: color 150ms;
  }
  .nav-item:hover svg {
    color: var(--gray-600);
  }
  .nav-badge {
    margin-left: auto;
    font-size: 10px;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 99px;
    background: var(--brand);
    color: white;
    min-width: 18px;
    text-align: center;
  }

  /* Cards */
  .card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-sm);
  }
  .card-hover {
    transition: all 200ms ease;
    cursor: pointer;
  }
  .card-hover:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-border);
  }

  /* Stat card */
  .stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--r-lg);
    padding: 20px;
    box-shadow: var(--shadow-sm);
    transition: all 200ms ease;
  }
  .stat-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
  }
  .stat-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 4px;
  }
  .stat-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--gray-400);
  }
  .stat-trend {
    font-size: 12px;
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 4px;
  }
  .stat-icon {
    width: 40px; height: 40px;
    border-radius: var(--r-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
  }

  /* Buttons */
  .btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: var(--r-md);
    font-size: 13px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all 150ms ease;
    white-space: nowrap;
    line-height: 1;
  }
  .btn:active { transform: scale(0.98); }
  .btn svg { width:14px; height:14px; }

  .btn-brand {
    background: var(--brand);
    color: white;
    box-shadow: 0 1px 2px
      rgba(208,32,42,0.2);
  }
  .btn-brand:hover {
    background: var(--brand-hover);
  }

  .btn-accent {
    background: var(--accent);
    color: white;
    box-shadow: 0 1px 2px
      rgba(208,32,42,0.2);
  }
  .btn-accent:hover {
    background: var(--accent-hover);
  }

  .btn-secondary {
    background: var(--bg-card);
    color: var(--gray-700);
    border: 1px solid var(--border-color);
  }
  .btn-secondary:hover {
    background: var(--gray-50);
  }

  .btn-ghost {
    background: transparent;
    color: var(--gray-600);
  }
  .btn-ghost:hover {
    background: var(--gray-100);
    color: var(--gray-900);
  }

  .btn-danger {
    background: var(--red-bg);
    color: var(--red);
    border: 1px solid var(--red-border);
  }
  .btn-danger:hover {
    background: var(--red);
    color: white;
  }

  .btn-sm {
    padding: 5px 10px;
    font-size: 12px;
  }
  .btn-icon {
    width: 32px; height: 32px;
    padding: 0;
    justify-content: center;
    border-radius: var(--r-md);
  }

  /* Inputs */
  .input {
    height: 36px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--r-md);
    padding: 0 12px;
    font-size: 13px;
    color: var(--gray-900);
    font-family: 'Inter', sans-serif;
    width: 100%;
    transition: border 150ms, box-shadow 150ms;
    outline: none;
  }
  .input:focus {
    border-color: var(--accent);
    box-shadow: var(--shadow-focus);
  }
  .input::placeholder { color: var(--gray-400); }

  textarea.input {
    height: auto;
    padding: 10px 12px;
    resize: vertical;
  }
  select.input {
    appearance: none;
    background-image: url("data:image/svg+xml, <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='%239CA3AF' d='M4 6l4 4 4-4'/></svg>");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 14px;
    padding-right: 32px;
  }

  /* Form groups */
  .form-group { margin-bottom: 16px; }
  .form-label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 6px;
  }
  .form-hint {
    font-size: 11px;
    color: var(--gray-400);
    margin-top: 4px;
  }

  /* Badges */
  .badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    border-radius: 99px;
    font-size: 11px;
    font-weight: 600;
    border: 1px solid transparent;
    white-space: nowrap;
  }
  .badge-won {
    background: var(--green-bg);
    color: var(--green);
    border-color: var(--green-border);
  }
  .badge-lost {
    background: var(--red-bg);
    color: var(--red);
    border-color: var(--red-border);
  }
  .badge-open {
    background: var(--accent-light);
    color: var(--accent);
    border-color: var(--accent-border);
  }
  .badge-pending {
    background: var(--amber-bg);
    color: var(--amber);
    border-color: var(--amber-border);
  }
  .badge-new {
    background: var(--blue-bg);
    color: var(--blue);
    border-color: var(--blue-border);
  }
  .badge-gray {
    background: var(--gray-100);
    color: var(--gray-600);
    border-color: var(--gray-200);
  }
  .badge-brand {
    background: var(--brand-light);
    color: var(--brand);
    border-color: var(--brand-border);
  }

  /* Avatar */
  .avatar {
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--brand), #ff6b6b);
    color: white;
    font-size: 11px;
  }
  .avatar-sm { width:28px; height:28px; }
  .avatar-md { width:36px; height:36px; font-size:13px; }
  .avatar-lg { width:48px; height:48px; font-size:16px; }

  /* Tables */
  .table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid var(--border-color);
    border-radius: var(--r-lg);
    background: var(--bg-card);
    margin-bottom: 20px;
  }
  .data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    min-width: 800px; /* Ensures table doesn't get too cramped */
  }
  .data-table th {
    text-align: left;
    padding: 10px 16px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--gray-400);
    border-bottom: 1px solid var(--border-color);
    background: var(--gray-50);
    white-space: nowrap;
  }
  .data-table td {
    padding: 12px 16px;
    color: var(--gray-700);
    border-bottom: 1px solid var(--border-color);
    vertical-align: middle;
  }
  .data-table tr:last-child td {
    border-bottom: none;
  }
  .data-table tbody tr {
    cursor: pointer;
    transition: background 100ms;
  }
  .data-table tbody tr:hover td {
    background: var(--gray-50);
  }
  .data-table tbody tr.selected td {
    background: var(--accent-light);
  }

  /* Kanban */
  .kanban-board {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 12px;
    height: calc(100vh - var(--topbar-height) - 80px);
    align-items: flex-start;
  }
  .kanban-column {
    flex-shrink: 0;
    width: 272px;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  .kanban-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    border-radius: var(--r-md);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
  }
  .kanban-stage-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
  }
  .kanban-cards {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 40px;
    padding: 2px 0;
  }
  .kanban-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--r-md);
    padding: 12px;
    cursor: grab;
    transition: all 150ms ease;
    box-shadow: var(--shadow-sm);
  }
  .kanban-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--accent-border);
    transform: translateY(-1px);
  }
  .kanban-card.sortable-ghost {
    opacity: 0.4;
    background: var(--accent-light);
    border: 2px dashed var(--accent);
  }
  .kanban-card.sortable-drag {
    box-shadow: var(--shadow-lg);
    transform: rotate(2deg);
  }

  /* Command palette */
  .command-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(4px);
    z-index: 100;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 120px;
  }
  .command-palette {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--r-xl);
    width: 560px;
    max-width: 90vw;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    animation: fadeUp 150ms ease;
  }
  .command-input-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--border-color);
  }
  .command-input {
    border: none;
    background: transparent;
    font-size: 15px;
    color: var(--gray-900);
    flex: 1;
    outline: none;
    font-family: 'Inter', sans-serif;
  }
  .command-result {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    cursor: pointer;
    transition: background 100ms;
    font-size: 13px;
    color: var(--gray-700);
  }
  .command-result:hover,
  .command-result.selected {
    background: var(--accent-light);
    color: var(--accent);
  }
  .command-result svg {
    width: 16px; height: 16px;
    color: var(--gray-400);
  }
  .command-result:hover svg,
  .command-result.selected svg {
    color: var(--accent);
  }

  /* Dropdown menus */
  .dropdown {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-lg);
    min-width: 180px;
    overflow: hidden;
    z-index: 60;
  }
  .dropdown-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    font-size: 13px;
    color: var(--gray-700);
    cursor: pointer;
    transition: background 100ms;
  }
  .dropdown-item:hover {
    background: var(--gray-50);
    color: var(--gray-900);
  }
  .dropdown-item.danger:hover {
    background: var(--red-bg);
    color: var(--red);
  }
  .dropdown-divider {
    height: 1px;
    background: var(--border-color);
    margin: 4px 0;
  }

  /* Modal */
  .modal-overlay {
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.35);
    backdrop-filter: blur(2px);
    z-index: 80;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
  }
  .modal {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--r-xl);
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 520px;
    max-height: 90vh;
    overflow-y: auto;
    animation: fadeUp 200ms ease;
  }
  .modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border-bottom: 1px solid var(--border-color);
  }
  .modal-body { padding: 20px; }
  .modal-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    padding: 16px 20px;
    border-top: 1px solid var(--border-color);
  }

  /* Trial banner */
  .trial-banner {
    background: linear-gradient(
      135deg,
      var(--accent-light),
      var(--blue-bg));
    border-bottom: 1px solid var(--accent-border);
    padding: 8px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: var(--accent);
    gap: 12px;
    flex-shrink: 0;
  }

  /* Slide panel (contact/deal detail) */
  .slide-panel {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: 480px;
    background: var(--bg-card);
    border-left: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    z-index: 70;
    display: flex;
    flex-direction: column;
    transition: transform 250ms ease;
  }
  .slide-panel.hidden {
    transform: translateX(100%);
  }

  /* Empty state */
  .empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 64px 32px;
    text-align: center;
  }
  .empty-icon {
    width: 56px; height: 56px;
    border-radius: var(--r-lg);
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: var(--gray-400);
  }
  .empty-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 6px;
  }
  .empty-desc {
    font-size: 13px;
    color: var(--gray-400);
    max-width: 280px;
    margin-bottom: 20px;
    line-height: 1.6;
  }

  /* Toast */
  .toast-container {
    position: fixed;
    bottom: 24px; right: 24px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 8px;
    pointer-events: none;
  }
  .toast {
    background: var(--gray-900);
    color: white;
    padding: 12px 16px;
    border-radius: var(--r-lg);
    font-size: 13px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 240px;
    animation: fadeUp 200ms ease;
    pointer-events: all;
  }
  .toast.success { background: var(--green); }
  .toast.error { background: var(--red); }
  .toast.warning { background: var(--amber); }

  /* Inline edit */
  .inline-edit {
    border: 1px solid transparent;
    border-radius: var(--r-sm);
    padding: 2px 6px;
    cursor: text;
    transition: border 150ms;
    display: inline-block;
    min-width: 60px;
  }
  .inline-edit:hover {
    border-color: var(--border-color);
    background: var(--gray-50);
  }
  .inline-edit:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: var(--shadow-focus);
    background: var(--bg-card);
  }

  /* Progress bar */
  .progress-bar {
    height: 4px;
    background: var(--gray-100);
    border-radius: 2px;
    overflow: hidden;
  }
  .progress-fill {
    height: 100%;
    border-radius: 2px;
    background: var(--accent);
    transition: width 500ms ease;
  }

  /* Tooltip */
  [data-tooltip] {
    position: relative;
  }
  [data-tooltip]:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--gray-900);
    color: white;
    font-size: 11px;
    padding: 5px 8px;
    border-radius: var(--r-sm);
    white-space: nowrap;
    pointer-events: none;
    z-index: 99;
  }

  /* Image lazy load */
  .lazy-img {
    opacity: 0;
    transition: opacity 300ms ease;
  }
  .lazy-img.loaded { opacity: 1; }


  /* Loader */
  .loader {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 0.8s linear infinite;
  }
  .loader-sm {
    width: 16px;
    height: 16px;
    border-width: 2px;
  }
  @keyframes spin {
    to { transform: rotate(360deg); }
  }

  [x-cloak] { display: none !important; }

/* ── Landing Page Styles ── */
::selection { background: #D0202A; color: #fff; }
::-moz-selection { background: #D0202A; color: #fff; }

.lp-nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: #fff; border-bottom: 1px solid #E5E7EB; height: 60px; display: flex; align-items: center; }
.lp-nav-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; width: 100%; display: flex; align-items: center; justify-content: space-between; }
.lp-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.lp-logo span { font-size: 16px; font-weight: 700; color: #111827; }
.lp-logo span em { color: #D0202A; font-style: normal; }
.lp-nav-links { display: flex; align-items: center; gap: 28px; }
.lp-nav-links a { font-size: 13px; font-weight: 500; color: #6B7280; text-decoration: none; transition: color 150ms; }
.lp-nav-links a:hover { color: #111827; }
.lp-nav-ctas { display: flex; align-items: center; gap: 12px; }
.btn-outline { font-size: 13px; font-weight: 600; color: #374151; text-decoration: none; padding: 7px 16px; border: 1px solid #E5E7EB; border-radius: 8px; background: #fff; transition: all 150ms; }
.btn-outline:hover { border-color: #D1D5DB; background: #F9FAFB; }
.btn-primary { font-size: 13px; font-weight: 600; color: #fff; text-decoration: none; padding: 8px 18px; border-radius: 8px; background: #D0202A; box-shadow: 0 1px 3px rgba(208,32,42,.25); transition: all 150ms; }
.btn-primary:hover { background: #A8181F; transform: translateY(-1px); }

.hero { padding: 120px 24px 80px; text-align: center; background: linear-gradient(180deg,#fff 0%,#F8F9FC 100%); border-bottom: 1px solid #E5E7EB; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 5px 14px; border-radius: 99px; background: #FFF1F2; border: 1px solid #FECDD3; font-size: 12px; font-weight: 600; color: #D0202A; margin-bottom: 28px; }
.hero-badge span { width: 6px; height: 6px; border-radius: 50%; background: #D0202A; display: inline-block; }
.hero-title { font-size: clamp(36px,5vw,60px); font-weight: 800; line-height: 1.1; letter-spacing: -1.5px; color: #111827; margin-bottom: 20px; }
.hero-title em { font-style: normal; color: #D0202A; }
.hero-sub { font-size: 18px; color: #6B7280; max-width: 560px; margin: 0 auto 40px; line-height: 1.7; font-weight: 400; }
.hero-ctas { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.btn-hero-primary { display: inline-flex; align-items: center; gap: 8px; padding: 13px 28px; background: #D0202A; color: #fff; border-radius: 10px; font-size: 15px; font-weight: 600; text-decoration: none; box-shadow: 0 4px 14px rgba(208,32,42,.35); transition: all 200ms; }
.btn-hero-primary:hover { background: #A8181F; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(208,32,42,.4); }
.btn-hero-secondary { display: inline-flex; align-items: center; gap: 8px; padding: 13px 28px; background: #fff; color: #374151; border: 1px solid #E5E7EB; border-radius: 10px; font-size: 15px; font-weight: 600; text-decoration: none; transition: all 200ms; }
.btn-hero-secondary:hover { border-color: #D1D5DB; background: #F9FAFB; }
.hero-trust { font-size: 13px; color: #9CA3AF; margin-top: 16px; }

.mockup-wrap { max-width: 1000px; margin: 60px auto 0; padding: 0 24px; }
.mockup-browser { background: #fff; border-radius: 12px; box-shadow: 0 20px 60px -10px rgba(0,0,0,.12), 0 0 0 1px #E5E7EB; overflow: hidden; }
.mockup-bar { background: #F3F4F6; padding: 10px 16px; display: flex; align-items: center; gap: 8px; border-bottom: 1px solid #E5E7EB; }
.mockup-dot { width: 10px; height: 10px; border-radius: 50%; }
.mockup-url { background: #fff; border: 1px solid #E5E7EB; border-radius: 6px; padding: 4px 16px; font-size: 11px; color: #9CA3AF; font-family: monospace; margin: 0 auto; }

.section { padding: 80px 24px; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: #D0202A; margin-bottom: 12px; }
.section-title { font-size: clamp(28px,4vw,42px); font-weight: 800; line-height: 1.15; letter-spacing: -1px; color: #111827; margin-bottom: 16px; }
.section-sub { font-size: 17px; color: #6B7280; max-width: 520px; line-height: 1.7; }

.feat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; margin-top: 56px; }
.feat-card { background: #fff; border: 1px solid #E5E7EB; border-radius: 16px; padding: 32px; transition: all 200ms; }
.feat-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,.07); border-color: #FECDD3; transform: translateY(-3px); }
.feat-icon { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.feat-icon svg { width: 22px; height: 22px; }
.feat-card h3 { font-size: 16px; font-weight: 700; color: #111827; margin-bottom: 10px; }
.feat-card p { font-size: 14px; color: #6B7280; line-height: 1.65; }

.stats-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1px; background: #E5E7EB; border: 1px solid #E5E7EB; border-radius: 16px; overflow: hidden; margin-top: 56px; }
.stat-item { background: #fff; padding: 32px 24px; text-align: center; }
.stat-num { font-size: 36px; font-weight: 800; color: #D0202A; letter-spacing: -1px; line-height: 1; }
.stat-lbl { font-size: 12px; font-weight: 600; color: #9CA3AF; text-transform: uppercase; letter-spacing: .08em; margin-top: 8px; }

.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin-top: 56px; align-items: start; }
.plan-card { background: #fff; border: 1px solid #E5E7EB; border-radius: 16px; padding: 32px; position: relative; transition: all 200ms; }
.plan-card.featured { border: 2px solid #D0202A; box-shadow: 0 8px 32px rgba(208,32,42,.12); }
.plan-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: #D0202A; color: #fff; font-size: 11px; font-weight: 700; padding: 4px 14px; border-radius: 99px; white-space: nowrap; }
.plan-name { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: #9CA3AF; margin-bottom: 16px; }
.plan-price { font-size: 40px; font-weight: 800; color: #111827; letter-spacing: -1.5px; line-height: 1; }
.plan-price sub { font-size: 15px; font-weight: 500; color: #9CA3AF; letter-spacing: 0; }
.plan-features { list-style: none; margin: 28px 0; display: flex; flex-direction: column; gap: 12px; }
.plan-features li { display: flex; align-items: center; gap: 10px; font-size: 13px; color: #374151; font-weight: 500; }
.plan-features li svg { width: 16px; height: 16px; color: #D0202A; flex-shrink: 0; }
.btn-plan { display: block; text-align: center; padding: 11px; border-radius: 8px; font-size: 14px; font-weight: 600; text-decoration: none; transition: all 150ms; margin-top: auto; }
.btn-plan-brand { background: #D0202A; color: #fff; }
.btn-plan-brand:hover { background: #A8181F; }
.btn-plan-outline { background: #F9FAFB; color: #374151; border: 1px solid #E5E7EB; }
.btn-plan-outline:hover { background: #F3F4F6; }

.cta-section { background: linear-gradient(135deg, #D0202A 0%, #A8181F 100%); padding: 80px 24px; text-align: center; }
.cta-section h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 800; color: #fff; letter-spacing: -1px; margin-bottom: 16px; }
.cta-section p { font-size: 17px; color: rgba(255,255,255, .75); margin-bottom: 36px; max-width: 480px; margin-left: auto; margin-right: auto; }
.btn-cta-white { display: inline-flex; align-items: center; gap: 8px; padding: 14px 32px; background: #fff; color: #D0202A; border-radius: 10px; font-size: 16px; font-weight: 700; text-decoration: none; box-shadow: 0 4px 14px rgba(0,0,0, .15); transition: all 200ms; }
.btn-cta-white:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0, .2); }

.lp-footer { background: #111827; padding: 60px 24px 32px; }
.lp-footer-inner { max-width: 1200px; margin: 0 auto; }
.lp-footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.lp-footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; text-decoration: none; }
.lp-footer-logo span { font-size: 15px; font-weight: 700; color: #fff; }
.lp-footer-desc { font-size: 13px; color: #6B7280; line-height: 1.65; max-width: 300px; }
.lp-footer-col h4 { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: #4B5563; margin-bottom: 16px; }
.lp-footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.lp-footer-col a { font-size: 13px; color: #6B7280; text-decoration: none; transition: color 150ms; }
.lp-footer-col a:hover { color: #fff; }
.lp-footer-bottom { border-top: 1px solid #1F2937; padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.lp-footer-bottom p { font-size: 12px; color: #4B5563; }

@media(max-width: 768px) {
  .lp-nav-links { display: none; }
  .lp-footer-top { grid-template-columns: 1fr; }
  .hero-title { font-size: 32px; }
}
