/* ═══════════════════════════════════════════════════════════════════
   ELECT — Social Value Platform  |  Design System
   ═══════════════════════════════════════════════════════════════════ */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=DM+Sans:wght@400;500;600;700&display=swap');

/* ═══════════════════════════════════════════
   CSS VARIABLES
   ═══════════════════════════════════════════ */
:root {
    /* Brand Colors */
    --gold: #C2AE92;
    --gold-15: rgba(194,174,146,0.15);
    --gold-30: rgba(194,174,146,0.3);
    --gold-hover: #B09D81;
    --light-grey: #F3F1EF;
    --blue: #03252F;
    --light-blue: #002e3b;
    --black: #000000;
    --off-black: #1E1E1C;
    --white: #ffffff;
    --offwhite: #F3F1EE;

    /* Text Colors */
    --text-primary: var(--off-black);
    --text-muted: rgba(0,0,0,0.55);
    --text-light: rgba(255,255,255,0.7);
    --text-lighter: rgba(255,255,255,0.5);

    /* Borders & Backgrounds */
    --border-light: rgba(0,0,0,0.06);
    --border-medium: rgba(0,0,0,0.12);
    --bg-light: var(--offwhite);
    --card-bg: var(--white);

    /* Functional Colors - Brand-aligned */
    --success: #5A8C7C;
    --success-light: rgba(90,140,124,0.15);
    --success-bg: #E8F3F0;
    --warning: #C9956B;
    --warning-light: rgba(201,149,107,0.15);
    --warning-bg: #FAF2EC;
    --error: #A25B5B;
    --error-light: rgba(162,91,91,0.15);
    --error-bg: #F8EDED;
    --info: #6B8BA3;
    --info-light: rgba(107,139,163,0.15);
    --info-bg: #EDF2F6;

    /* Typography */
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Layout */
    --sidebar-width: 260px;
    --topbar-height: 64px;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 24px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 40px rgba(0,0,0,0.15);
}

/* ═══════════════════════════════════════════
   BASE STYLES
   ═══════════════════════════════════════════ */
* { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    background: var(--bg-light);
    color: var(--text-primary);
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
    height: auto;
}

button, input, select, textarea {
    font-family: var(--font-body);
}

input, select, textarea {
    outline: none;
}

a {
    color: var(--gold);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--gold-hover);
}

/* ═══════════════════════════════════════════
   TYPOGRAPHY
   ═══════════════════════════════════════════ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1.2;
    margin: 0 0 1rem 0;
    color: var(--off-black);
}

h1 {
    font-size: clamp(32px, 5vw, 64px);
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: clamp(28px, 3.5vw, 48px);
    line-height: 1.2;
    margin-bottom: 1.25rem;
}

h3 {
    font-size: 32px;
    line-height: 1.25;
    margin-bottom: 1rem;
}

h4 {
    font-size: 24px;
    font-family: var(--font-body);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

h5 {
    font-size: 18px;
    font-family: var(--font-body);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

h6 {
    font-size: 16px;
    font-family: var(--font-body);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

p {
    margin: 0 0 1rem 0;
}

.text-muted {
    color: var(--text-muted);
}

.text-light {
    color: var(--text-light);
}

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

.text-uppercase {
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ═══════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════ */
.btn {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 14px 32px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
    border-radius: 6px;
    font-family: var(--font-body);
}

.btn-gold {
    background: var(--gold);
    color: var(--blue);
}

.btn-gold:hover {
    background: var(--gold-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    color: var(--gold);
    border: 1.5px solid var(--gold);
}

.btn-outline:hover {
    background: var(--gold-15);
    border-color: var(--gold-hover);
}

.btn-dark {
    background: var(--blue);
    color: var(--white);
}

.btn-dark:hover {
    background: var(--light-blue);
    transform: translateY(-1px);
}

.btn-light {
    background: var(--white);
    color: var(--blue);
    border: 1px solid var(--border-light);
}

.btn-light:hover {
    background: var(--offwhite);
    border-color: var(--border-medium);
}

/* Bootstrap button overrides */
.btn-primary,
.btn-primary-elect {
    background: var(--gold);
    color: var(--blue);
    border: none;
    font-weight: 600;
}

.btn-primary:hover,
.btn-primary-elect:hover {
    background: var(--gold-hover);
    color: var(--blue);
}

.btn-secondary {
    background: var(--blue);
    color: var(--white);
    border: none;
}

.btn-secondary:hover {
    background: var(--light-blue);
    color: var(--white);
}

.btn-outline-secondary {
    color: var(--off-black);
    border-color: rgba(0,0,0,0.2);
    background: #F5F5F5;
    font-weight: 600;
}

.btn-outline-secondary:hover {
    background: #E8E8E8;
    border-color: rgba(0,0,0,0.3);
    color: var(--off-black);
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.btn-sm {
    padding: 8px 20px;
    font-size: 12px;
}

.btn-sm.btn-outline-secondary {
    border-width: 1.5px;
    font-weight: 600;
    background: #FAFBFC;
    border-color: rgba(0,0,0,0.25);
}

.btn-sm.btn-outline-secondary:hover {
    background: var(--offwhite);
    border-color: rgba(0,0,0,0.35);
    color: var(--off-black);
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* ═══════════════════════════════════════════
   LAYOUT — SIDEBAR
   ═══════════════════════════════════════════ */
.elect-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: var(--sidebar-width);
    height: 100vh;
    background: var(--blue);
    display: flex;
    flex-direction: column;
    z-index: 100;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
}

.elect-sidebar .brand {
    padding: 1.5rem 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,.08);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .75rem;
}

.elect-sidebar .brand-logo-svg {
    height: 32px;
    width: auto;
    max-width: 100%;
}

.elect-sidebar .brand-logo {
    width: 40px;
    height: 40px;
    background: var(--gold);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: -.5px;
    flex-shrink: 0;
}

.elect-sidebar .brand-name {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 1.25rem;
    color: var(--white);
    letter-spacing: -.3px;
}

.elect-sidebar .brand-sub {
    font-size: .65rem;
    color: var(--text-lighter);
    text-transform: uppercase;
    letter-spacing: .5px;
    line-height: 1;
}

/* Navigation */
.elect-sidebar .nav-section {
    padding: 1rem 1rem .25rem;
}

.elect-sidebar .nav-section-label {
    font-size: .65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .8px;
    color: rgba(255,255,255,.35);
    padding: 0 .5rem .5rem;
}

.elect-sidebar .nav-link {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .65rem .75rem;
    border-radius: 8px;
    color: var(--text-light);
    text-decoration: none;
    font-size: .875rem;
    font-weight: 500;
    transition: all .2s ease;
    margin-bottom: 2px;
}

.elect-sidebar .nav-link i {
    font-size: 1rem;
    width: 20px;
    flex-shrink: 0;
}

.elect-sidebar .nav-link:hover {
    background: rgba(255,255,255,.06);
    color: var(--white);
}

.elect-sidebar .nav-link.active {
    background: var(--gold);
    color: var(--blue);
}

/* Sidebar user footer */
.sidebar-user {
    margin-top: auto;
    padding: 1rem 1.5rem;
    border-top: 1px solid rgba(255,255,255,.08);
    display: flex;
    align-items: center;
    gap: .75rem;
}

.sidebar-user .avatar {
    width: 36px;
    height: 36px;
    background: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue);
    font-weight: 600;
    font-size: .85rem;
    flex-shrink: 0;
}

.sidebar-user .user-info {
    flex: 1;
    min-width: 0;
}

.sidebar-user .user-name {
    color: var(--white);
    font-size: .85rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar-user .user-role {
    color: var(--text-lighter);
    font-size: .7rem;
}

/* ═══════════════════════════════════════════
   LAYOUT — MAIN CONTENT
   ═══════════════════════════════════════════ */
.elect-main {
    margin-left: var(--sidebar-width);
    min-height: 100vh;
}

.elect-topbar {
    height: var(--topbar-height);
    background: var(--card-bg);
    border-bottom: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    padding: 0 2rem;
    gap: 1rem;
    position: sticky;
    top: 0;
    z-index: 50;
    box-shadow: var(--shadow-sm);
}

.elect-topbar .page-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--off-black);
    flex: 1;
}

.elect-content {
    padding: 2rem;
}

/* ═══════════════════════════════════════════
   CARDS
   ═══════════════════════════════════════════ */
.elect-card {
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.2s ease;
}

.elect-card:hover {
    box-shadow: var(--shadow-md);
}

.elect-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-light);
}

.elect-card-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--off-black);
    font-family: var(--font-body);
}

/* KPI Cards */
.kpi-card {
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 1.5rem 1.75rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.kpi-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.kpi-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.kpi-icon.gold { background: var(--gold-15); color: var(--gold); }
.kpi-icon.blue { background: rgba(3,37,47,.1); color: var(--blue); }
.kpi-icon.green,
.kpi-icon.teal { background: var(--success-light); color: var(--success); }
.kpi-icon.amber { background: var(--warning-light); color: var(--warning); }
.kpi-icon.red { background: var(--error-light); color: var(--error); }
.kpi-icon.info { background: var(--info-light); color: var(--info); }

.kpi-value {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 500;
    line-height: 1;
    color: var(--off-black);
}

.kpi-label {
    font-size: .8rem;
    color: var(--text-muted);
    margin-top: 4px;
}

/* ═══════════════════════════════════════════
   FORMS
   ═══════════════════════════════════════════ */
.form-label {
    font-size: .85rem;
    font-weight: 600;
    color: var(--off-black);
    margin-bottom: .5rem;
    display: block;
}

.form-control,
.form-select {
    font-family: var(--font-body);
    font-size: .9rem;
    padding: .65rem .875rem;
    border: 1px solid var(--border-medium);
    border-radius: 8px;
    background: var(--white);
    color: var(--text-primary);
    transition: all 0.2s ease;
}

.form-control:focus,
.form-select:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px var(--gold-15);
}

.form-text {
    font-size: .8rem;
    color: var(--text-muted);
    margin-top: .35rem;
}

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

/* Input groups */
.input-group-text {
    background: var(--offwhite);
    border-color: var(--border-medium);
    color: var(--text-muted);
}

/* ═══════════════════════════════════════════
   BADGES & STATUS
   ═══════════════════════════════════════════ */
.badge {
    font-size: .75rem;
    font-weight: 600;
    padding: .45em .9em;
    border-radius: 6px;
    display: inline-block;
    letter-spacing: 0.3px;
    border: 1px solid transparent;
}

.badge.bg-success {
    background: var(--success-bg) !important;
    color: #2D5F4F !important;
    border-color: rgba(90,140,124,0.25) !important;
}

.badge.bg-warning {
    background: var(--warning-bg) !important;
    color: #8B5E3C !important;
    border-color: rgba(201,149,107,0.25) !important;
}

.badge.bg-danger {
    background: var(--error-bg) !important;
    color: #7A3535 !important;
    border-color: rgba(162,91,91,0.25) !important;
}

.badge.bg-info {
    background: var(--info-bg) !important;
    color: #3F5C72 !important;
    border-color: rgba(107,139,163,0.25) !important;
}

.badge.bg-primary {
    background: #F5F0EA !important;
    color: #9A865B !important;
    border-color: rgba(194,174,146,0.3) !important;
    font-weight: 600;
}

.badge.bg-secondary {
    background: #F1F0EF !important;
    color: #5A5856 !important;
    border-color: rgba(30,30,28,.15) !important;
}

.badge.bg-light {
    background: var(--white) !important;
    color: var(--text-muted) !important;
    border-color: var(--border-medium) !important;
}

/* ═══════════════════════════════════════════
   PRODUCT CARDS
   ═══════════════════════════════════════════ */
.product-card {
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all .3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--gold);
    transform: translateY(-2px);
}

.product-card .product-name {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: .5rem;
    color: var(--off-black);
}

.product-card .product-desc {
    font-size: .875rem;
    color: var(--text-muted);
    flex: 1;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.product-card .product-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-bottom: 1rem;
}

.product-card .product-price {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--gold);
}

.product-card .proxy-value {
    font-size: .8rem;
    color: var(--text-muted);
}

.proxy-chip {
    background: var(--success-light);
    color: var(--success);
    border-radius: 6px;
    padding: .25em .65em;
    font-size: .75rem;
    font-weight: 600;
}

/* ═══════════════════════════════════════════
   TABLES
   ═══════════════════════════════════════════ */
.table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.table th {
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: .8px;
    color: var(--text-muted);
    font-weight: 600;
    padding: .875rem 1rem;
    border-bottom: 2px solid var(--border-light);
    background: var(--offwhite);
    text-align: left;
}

.table td {
    padding: 1rem;
    border-bottom: 1px solid var(--border-light);
    font-size: .9rem;
    vertical-align: middle;
}

.table tbody tr:last-child td {
    border-bottom: none;
}

.table tbody tr:hover {
    background: var(--offwhite);
}

.table-sm th,
.table-sm td {
    padding: .65rem .75rem;
    font-size: .85rem;
}

/* Schedule table */
.schedule-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.schedule-table th {
    font-size: .7rem;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: var(--text-muted);
    font-weight: 600;
    padding: .75rem 1rem;
    border-bottom: 2px solid var(--border-light);
    background: var(--offwhite);
}

.schedule-table td {
    padding: .875rem 1rem;
    border-bottom: 1px solid var(--border-light);
    font-size: .85rem;
    vertical-align: middle;
}

.schedule-table tr:last-child td {
    border-bottom: none;
}

.schedule-table tr:hover td {
    background: var(--offwhite);
}

/* Delivery schedule rows */
.delivery-schedule-header,
.delivery-schedule-row {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .75rem 1rem;
    border-bottom: 1px solid var(--border-light);
}

.delivery-schedule-header {
    background: var(--offwhite);
    border-radius: 0;
    font-size: .7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: var(--text-muted);
}

.delivery-schedule-row:hover {
    background: var(--offwhite);
}

/* ═══════════════════════════════════════════
   TABS
   ═══════════════════════════════════════════ */
.elect-tabs,
.nav-tabs {
    display: flex;
    gap: .25rem;
    border-bottom: 2px solid var(--border-light);
    margin-bottom: 1.5rem;
}

.elect-tab,
.nav-link {
    padding: .75rem 1.5rem;
    font-size: .9rem;
    font-weight: 500;
    color: var(--text-muted);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: all .2s ease;
    text-decoration: none;
    background: none;
    border-top: none;
    border-left: none;
    border-right: none;
}

.elect-tab:hover,
.nav-link:hover {
    color: var(--off-black);
}

.elect-tab.active,
.nav-link.active {
    color: var(--gold);
    border-bottom-color: var(--gold);
    font-weight: 600;
}

/* ═══════════════════════════════════════════
   COUNCIL & PARTNER ROWS
   ═══════════════════════════════════════════ */
.council-row {
    display: flex;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid var(--border-light);
    cursor: pointer;
    transition: background .2s;
    gap: 1rem;
}

.council-row:last-child {
    border-bottom: none;
}

.council-row:hover {
    background: var(--offwhite);
}

.council-score {
    width: 50px;
    text-align: right;
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 1rem;
    color: var(--gold);
}

/* ═══════════════════════════════════════════
   PLAN BUILDER & BASKET
   ═══════════════════════════════════════════ */
.plan-builder-grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 1.5rem;
    align-items: start;
}

.basket-card {
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    position: sticky;
    top: calc(var(--topbar-height) + 2rem);
    box-shadow: var(--shadow-md);
}

.basket-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border-light);
    font-weight: 600;
    font-size: .95rem;
    background: var(--offwhite);
    border-radius: 12px 12px 0 0;
}

.basket-item {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: .75rem;
    font-size: .875rem;
}

.basket-item-name {
    font-weight: 600;
    color: var(--off-black);
}

.basket-item-price {
    font-family: var(--font-display);
    font-weight: 500;
    color: var(--gold);
    white-space: nowrap;
}

.basket-totals {
    padding: 1.25rem 1.5rem;
    background: var(--offwhite);
    border-radius: 0 0 12px 12px;
}

.total-row {
    display: flex;
    justify-content: space-between;
    font-size: .9rem;
    margin-bottom: .5rem;
}

.total-row.main {
    font-weight: 700;
    font-size: 1.1rem;
    font-family: var(--font-display);
    color: var(--off-black);
}

.total-row.proxy {
    color: var(--success);
    font-weight: 600;
}

/* Plan grid */
.plan-grid-header,
.plan-grid-row {
    display: grid;
    grid-template-columns: 1fr 60px 110px 120px 110px 40px;
    gap: .5rem;
    align-items: center;
    padding: .75rem 1rem;
    border-bottom: 1px solid var(--border-light);
    font-size: .85rem;
}

.plan-grid-header {
    background: var(--offwhite);
    font-size: .7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: var(--text-muted);
}

.plan-grid-row:hover {
    background: var(--offwhite);
}

/* ═══════════════════════════════════════════
   LOGIN PAGE
   ═══════════════════════════════════════════ */
.login-page {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--blue) 0%, var(--light-blue) 50%, var(--blue) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.login-card {
    background: var(--white);
    border-radius: 16px;
    padding: 3rem 2.5rem;
    width: 100%;
    max-width: 420px;
    box-shadow: var(--shadow-xl);
}

.login-card .elect-brand-block {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2.5rem;
}

/* ═══════════════════════════════════════════
   EVIDENCE & UPLOAD
   ═══════════════════════════════════════════ */
.evidence-checklist-item {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .875rem 0;
    border-bottom: 1px solid var(--border-light);
    font-size: .9rem;
}

.upload-zone {
    border: 2px dashed var(--border-medium);
    border-radius: 12px;
    padding: 3rem;
    text-align: center;
    color: var(--text-muted);
    font-size: .9rem;
    cursor: pointer;
    transition: all .2s ease;
}

.upload-zone:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: var(--gold-15);
}

.evidence-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    border-bottom: 1px solid var(--border-light);
}

.evidence-card:last-child {
    border-bottom: none;
}

.evidence-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--gold), var(--gold-hover));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.1rem;
    color: var(--blue);
}

/* ═══════════════════════════════════════════
   CALENDAR
   ═══════════════════════════════════════════ */
.calendar-grid-header {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
    margin-bottom: 4px;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
}

.calendar-cell {
    min-height: 90px;
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: .5rem;
    font-size: .75rem;
}

.calendar-cell.empty {
    background: transparent;
    border-color: transparent;
}

.calendar-cell.today {
    background: var(--gold-15);
    border-color: var(--gold);
}

.calendar-day-num {
    font-weight: 700;
    color: var(--off-black);
    margin-bottom: .35rem;
    font-size: .85rem;
}

.calendar-cell.today .calendar-day-num {
    color: var(--gold);
}

.calendar-event-chip {
    background: var(--gold);
    color: var(--blue);
    border-radius: 4px;
    padding: 2px 6px;
    font-size: .65rem;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 600;
}

/* ═══════════════════════════════════════════
   UTILITY CLASSES
   ═══════════════════════════════════════════ */
.bg-offwhite { background: var(--offwhite); }
.bg-white { background: var(--white); }
.bg-blue { background: var(--blue); }
.bg-gold { background: var(--gold); }

.text-primary-elect,
.text-gold {
    color: var(--gold) !important;
}

.text-blue {
    color: var(--blue) !important;
}

.bg-primary-elect {
    background: var(--gold) !important;
    color: var(--blue);
}

.empty-state {
    text-align: center;
    padding: 4rem 1rem;
    color: var(--text-muted);
}

.empty-state i {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
    color: var(--gold);
    opacity: 0.5;
}

.section-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: var(--off-black);
}

/* Borders */
.border-bottom {
    border-bottom: 1px solid var(--border-light) !important;
}

.border-top {
    border-top: 1px solid var(--border-light) !important;
}

/* ═══════════════════════════════════════════
   MOBILE HEADER & MENU
   ═══════════════════════════════════════════ */
.mobile-header {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: var(--white);
    border-bottom: 1px solid var(--border-light);
    z-index: 200;
    align-items: center;
    padding: 0 1rem;
    gap: 1rem;
    box-shadow: var(--shadow-sm);
}

.mobile-menu-toggle {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--off-black);
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-logo {
    height: 28px;
    width: auto;
}

.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 150;
}

/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */
@media (max-width: 768px) {
    .mobile-header {
        display: flex;
    }

    .elect-sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }

    .elect-layout.mobile-menu-open .elect-sidebar {
        transform: translateX(0);
    }

    .elect-layout.mobile-menu-open .mobile-menu-overlay {
        display: block;
    }

    .elect-main {
        margin-left: 0;
        padding-top: 60px;
    }

    .elect-content {
        padding: 1rem;
    }

    /* Topbar responsive */
    .elect-topbar {
        height: auto;
        min-height: var(--topbar-height);
        flex-wrap: wrap;
        padding: 1rem;
    }

    .elect-topbar .page-title {
        font-size: 1rem;
        flex: 0 1 auto;
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .elect-topbar .ms-auto {
        width: 100%;
        margin-top: 0.75rem;
        margin-left: 0 !important;
    }

    .elect-topbar .ms-auto .btn {
        width: 100%;
    }

    /* Council rows - make scrollable */
    .elect-card {
        overflow-x: auto;
    }

    .council-row {
        min-width: 700px;
    }

    /* Delivery schedule rows - make scrollable */
    .delivery-schedule-header,
    .delivery-schedule-row {
        min-width: 850px;
    }

    .plan-builder-grid {
        grid-template-columns: 1fr;
    }

    .plan-grid-header,
    .plan-grid-row {
        grid-template-columns: 1fr 50px 90px 40px;
    }

    h1 {
        font-size: 32px;
    }

    h2 {
        font-size: 28px;
    }

    h3 {
        font-size: 24px;
    }
}

/* ═══════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════ */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.4s ease-out;
}

/* ═══════════════════════════════════════════
   REGISTRATION WIZARD
   ═══════════════════════════════════════════ */
.register-card {
    background: var(--white);
    border-radius: 16px;
    padding: 2.5rem;
    width: 100%;
    max-width: 600px;
    box-shadow: var(--shadow-xl);
}

.register-card .elect-brand-block {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

/* Step progress */
.step-progress {
    display: flex;
    align-items: center;
    justify-content: center;
}
.step-dot {
    width: 30px; height: 30px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: .78rem; font-weight: 600;
    border: 2px solid var(--border-medium);
    color: var(--text-muted);
    background: white;
    flex-shrink: 0;
}
.step-dot.active  { border-color: var(--gold); color: var(--gold); background: var(--gold-15); }
.step-dot.completed { border-color: var(--gold); background: var(--gold); color: var(--blue); }
.step-line {
    flex: 1; height: 2px;
    background: var(--border-medium);
    max-width: 72px;
}
.step-line.done { background: var(--gold); }

/* Plan selection */
.plan-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .75rem;
    margin-bottom: 1rem;
}
.plan-option {
    border: 2px solid var(--border-medium);
    border-radius: 12px;
    padding: 1.25rem .875rem;
    cursor: pointer;
    text-align: center;
}
.plan-option:hover         { border-color: var(--gold); background: var(--gold-15); }
.plan-option.selected      { border-color: var(--gold); background: var(--gold-15); }
.plan-option-icon          { font-size: 1.6rem; margin-bottom: .35rem; color: var(--blue); }
.plan-option-name          { font-weight: 700; font-size: .9rem; color: var(--off-black); margin-bottom: .2rem; }
.plan-option-desc          { font-size: .75rem; color: var(--text-muted); line-height: 1.35; }
.plan-option-price         { font-size: .8rem; font-weight: 600; color: var(--gold); margin-top: .4rem; }

/* Billing toggle */
.billing-toggle {
    display: flex;
    background: var(--light-grey);
    border-radius: 8px;
    padding: 4px;
    gap: 4px;
}
.billing-option {
    flex: 1; padding: .45rem 1rem;
    border-radius: 6px; text-align: center;
    cursor: pointer; font-size: .875rem; font-weight: 500;
    color: var(--text-muted);
}
.billing-option.selected {
    background: white; color: var(--off-black); font-weight: 600;
    box-shadow: 0 1px 3px rgba(0,0,0,.1);
}

/* Price box */
.price-display {
    text-align: center; padding: 1.5rem;
    background: var(--gold-15); border-radius: 12px;
    border: 1px solid var(--gold-30);
}
.price-amount  { font-size: 2.25rem; font-weight: 700; color: var(--off-black); }
.price-period  { font-size: .875rem; color: var(--text-muted); }
.price-included { font-size: .78rem; color: var(--text-muted); margin-top: .25rem; }

/* Verify / confirmation screens */
.register-confirm-icon {
    font-size: 3rem; color: var(--gold); margin-bottom: 1rem;
}

@media (max-width: 540px) {
    .register-card { padding: 2rem 1.25rem; }
    .plan-options  { grid-template-columns: 1fr; }
}

/* Smooth transitions */
* {
    transition-property: background-color, border-color, color, fill, stroke;
    transition-duration: 0.15s;
    transition-timing-function: ease-in-out;
}

button, a, input, select, textarea {
    transition-property: all;
}

/* ═══════════════════════════════════════════════════════════════════
   LANDING PAGE
   ═══════════════════════════════════════════════════════════════════ */

/* ── Nav ─────────────────────────────────────────────────────────── */
.lp-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--white);
    border-bottom: 1px solid var(--border-light);
    padding: 0 2rem;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.lp-nav-logo { height: 68px; width: auto; }
.lp-nav-actions { display: flex; align-items: center; gap: .75rem; }
.lp-nav-signin {
    font-family: var(--font-body);
    font-size: .875rem;
    font-weight: 500;
    color: var(--off-black);
    text-decoration: none;
    padding: .5rem 1rem;
    border-radius: 6px;
    transition: background .15s;
}
.lp-nav-signin:hover { background: var(--bg-light); color: var(--off-black); }
.lp-nav-cta {
    font-family: var(--font-body);
    font-size: .875rem;
    font-weight: 600;
    background: var(--gold);
    color: var(--blue);
    text-decoration: none;
    padding: .5rem 1.25rem;
    border-radius: 6px;
    transition: background .15s;
}
.lp-nav-cta:hover { background: var(--gold-hover); color: var(--blue); }
.lp-nav-hamburger {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--off-black);
    cursor: pointer;
    padding: .25rem .5rem;
    line-height: 1;
}
.lp-nav-mobile-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border-medium);
    display: flex;
    flex-direction: column;
    padding: .75rem 1.25rem 1rem;
    gap: .5rem;
    box-shadow: var(--shadow-md);
    z-index: 999;
}
.lp-nav-mobile-signin {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    color: var(--off-black);
    text-decoration: none;
    padding: .75rem 1rem;
    border-radius: 8px;
    transition: background .15s;
}
.lp-nav-mobile-signin:hover { background: var(--bg-light); color: var(--off-black); }
.lp-nav-mobile-cta {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    background: var(--gold);
    color: var(--blue);
    text-decoration: none;
    padding: .75rem 1rem;
    border-radius: 8px;
    text-align: center;
    transition: background .15s;
}
.lp-nav-mobile-cta:hover { background: var(--gold-hover); color: var(--blue); }

/* ── Hero ────────────────────────────────────────────────────────── */
.lp-hero {
    background: var(--blue);
    color: var(--white);
    padding: 100px 2rem 96px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.lp-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(194,174,146,.12) 0%, transparent 70%);
    pointer-events: none;
}
.lp-hero-eyebrow {
    display: inline-block;
    font-family: var(--font-body);
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.25rem;
}
.lp-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 5.5vw, 4rem);
    font-weight: 400;
    line-height: 1.15;
    margin: 0 auto 1.5rem;
    max-width: 1040px;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: .02em;
}
.lp-hero h1 em {
    font-style: normal;
    color: var(--gold);
}
.lp-hero-sub {
    font-family: var(--font-body);
    font-size: 1.125rem;
    line-height: 1.7;
    color: rgba(255,255,255,.72);
    max-width: 640px;
    margin: 0 auto 2.5rem;
}
.lp-hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.lp-btn-primary {
    font-family: var(--font-body);
    font-size: .9375rem;
    font-weight: 600;
    background: var(--gold);
    color: var(--blue);
    text-decoration: none;
    padding: .8125rem 2rem;
    border-radius: 8px;
    display: inline-block;
    transition: background .15s, transform .1s;
}
.lp-btn-primary:hover { background: var(--gold-hover); color: var(--blue); transform: translateY(-1px); }
.lp-btn-ghost {
    font-family: var(--font-body);
    font-size: .9375rem;
    font-weight: 500;
    background: transparent;
    color: rgba(255,255,255,.8);
    text-decoration: none;
    padding: .8125rem 2rem;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,.25);
    display: inline-block;
    transition: border-color .15s, color .15s;
}
.lp-btn-ghost:hover { border-color: rgba(255,255,255,.6); color: var(--white); }

/* ── Section base ────────────────────────────────────────────────── */
.lp-section { padding: 88px 2rem; }
.lp-section--alt { background: var(--offwhite); }
.lp-section--dark { background: var(--blue); color: var(--white); }
.lp-container { max-width: 1080px; margin: 0 auto; }
.lp-section-label {
    font-family: var(--font-body);
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: .875rem;
}
.lp-section-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 400;
    line-height: 1.2;
    color: var(--off-black);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: .02em;
}
.lp-section-title--light { color: var(--white); }
.lp-section-body {
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--text-muted);
    max-width: 580px;
}
.lp-section-body--light { color: rgba(255,255,255,.7); }

/* ── Parties grid ────────────────────────────────────────────────── */
.lp-parties-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin-top: 3.5rem;
}
.lp-party-card {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 2rem 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: box-shadow .2s, transform .2s;
}
.lp-party-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.lp-party-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 1.125rem;
}
.lp-party-icon--council   { background: rgba(107,139,163,.12); color: #6B8BA3; }
.lp-party-icon--client    { background: var(--gold-15); color: var(--gold-hover); }
.lp-party-icon--delivery  { background: rgba(90,140,124,.12); color: var(--success); }
.lp-party-icon--network   { background: rgba(162,91,91,.12); color: var(--error); }
.lp-party-card h4 {
    font-family: var(--font-body);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--off-black);
    margin-bottom: .5rem;
}
.lp-party-card p {
    font-family: var(--font-body);
    font-size: .875rem;
    line-height: 1.65;
    color: var(--text-muted);
    margin: 0;
}

/* ── Client features ─────────────────────────────────────────────── */
.lp-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3.5rem;
}
.lp-feature-icon {
    font-size: 1.75rem;
    color: var(--gold-hover);
    margin-bottom: 1rem;
}
.lp-feature h4 {
    font-family: var(--font-body);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--off-black);
    margin-bottom: .5rem;
}
.lp-feature p {
    font-family: var(--font-body);
    font-size: .875rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin: 0;
}

/* ── AI callout strip ────────────────────────────────────────────── */
.lp-ai-strip {
    background: var(--blue);
    padding: 72px 2rem;
}
.lp-ai-inner {
    max-width: 1080px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.lp-ai-badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: rgba(194,174,146,.12);
    border: 1px solid rgba(194,174,146,.2);
    border-radius: 20px;
    padding: .35rem .875rem;
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.25rem;
}
.lp-ai-visual {
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 16px;
    padding: 2rem;
}
.lp-ai-score-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: .625rem 0;
    border-bottom: 1px solid rgba(255,255,255,.06);
}
.lp-ai-score-row:last-child { border-bottom: none; }
.lp-ai-score-label {
    font-size: .8rem;
    color: rgba(255,255,255,.6);
    flex: 1;
    font-family: var(--font-body);
}
.lp-ai-score-bar-wrap {
    flex: 2;
    height: 6px;
    background: rgba(255,255,255,.08);
    border-radius: 3px;
    overflow: hidden;
}
.lp-ai-score-bar { height: 100%; background: var(--gold); border-radius: 3px; }
.lp-ai-score-num {
    font-size: .8rem;
    font-weight: 700;
    color: var(--gold);
    font-family: var(--font-body);
    width: 28px;
    text-align: right;
}

/* ── Pricing ─────────────────────────────────────────────────────── */
.lp-pricing-toggle-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    margin-bottom: 3rem;
}
.lp-pricing-toggle-label {
    font-family: var(--font-body);
    font-size: .9rem;
    font-weight: 500;
    color: var(--text-muted);
}
.lp-pricing-toggle-label.active { color: var(--off-black); font-weight: 600; }
.lp-toggle-btn {
    width: 44px;
    height: 24px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    position: relative;
    transition: background .2s;
    background: var(--gold);
    flex-shrink: 0;
}
.lp-toggle-btn::after {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--white);
    top: 3px;
    left: 3px;
    transition: transform .2s;
}
.lp-toggle-btn.annual::after { transform: translateX(20px); }
.lp-save-badge {
    background: var(--success-light);
    color: var(--success);
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    padding: .2rem .55rem;
    border-radius: 4px;
}
.lp-plans-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    max-width: 780px;
    margin: 0 auto;
}
.lp-plan {
    background: var(--white);
    border: 1.5px solid var(--border-medium);
    border-radius: 16px;
    padding: 2.25rem 2rem;
    position: relative;
    transition: box-shadow .2s;
}
.lp-plan:hover { box-shadow: var(--shadow-lg); }
.lp-plan--featured {
    background: var(--blue);
    border-color: var(--blue);
    color: var(--white);
}
.lp-plan-badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gold);
    color: var(--blue);
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: .3rem .875rem;
    border-radius: 20px;
}
.lp-plan-name {
    font-family: var(--font-body);
    font-size: .875rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: .75rem;
}
.lp-plan--featured .lp-plan-name { color: rgba(255,255,255,.55); }
.lp-plan-price {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--off-black);
    line-height: 1;
    margin-bottom: .25rem;
}
.lp-plan--featured .lp-plan-price { color: var(--white); }
.lp-plan-price-period {
    font-family: var(--font-body);
    font-size: .875rem;
    color: var(--text-muted);
    margin-bottom: .375rem;
}
.lp-plan--featured .lp-plan-price-period { color: rgba(255,255,255,.55); }
.lp-plan-annual-note {
    font-size: .8rem;
    color: var(--success);
    font-weight: 600;
    margin-bottom: 1.5rem;
    min-height: 1.2em;
}
.lp-plan--featured .lp-plan-annual-note { color: #7EC8B3; }
.lp-plan-divider {
    border: none;
    border-top: 1px solid var(--border-light);
    margin: 1.25rem 0;
}
.lp-plan--featured .lp-plan-divider { border-color: rgba(255,255,255,.1); }
.lp-plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.75rem;
}
.lp-plan-features li {
    display: flex;
    align-items: flex-start;
    gap: .625rem;
    font-size: .875rem;
    line-height: 1.5;
    color: var(--off-black);
    padding: .4rem 0;
}
.lp-plan--featured .lp-plan-features li { color: rgba(255,255,255,.85); }
.lp-plan-features li i { color: var(--success); margin-top: .1rem; font-size: .875rem; flex-shrink: 0; }
.lp-plan--featured .lp-plan-features li i { color: #7EC8B3; }
.lp-plan-cta {
    display: block;
    width: 100%;
    text-align: center;
    font-family: var(--font-body);
    font-size: .9375rem;
    font-weight: 600;
    padding: .875rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    transition: background .15s, transform .1s;
}
.lp-plan-cta--dark {
    background: var(--blue);
    color: var(--white);
}
.lp-plan-cta--dark:hover { background: #062d3a; color: var(--white); transform: translateY(-1px); }
.lp-plan-cta--gold {
    background: var(--gold);
    color: var(--blue);
}
.lp-plan-cta--gold:hover { background: var(--gold-hover); color: var(--blue); transform: translateY(-1px); }
.lp-pricing-note {
    text-align: center;
    font-size: .8125rem;
    color: var(--text-muted);
    margin-top: 1.5rem;
}

/* ── Other parties ───────────────────────────────────────────────── */
.lp-other-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}
.lp-other-card {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 2rem 1.75rem;
}
.lp-other-card h4 {
    font-family: var(--font-body);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--off-black);
    margin-bottom: .625rem;
}
.lp-other-card p {
    font-size: .875rem;
    line-height: 1.65;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
}
.lp-link-arrow {
    font-family: var(--font-body);
    font-size: .875rem;
    font-weight: 600;
    color: var(--gold-hover);
    text-decoration: none;
}
.lp-link-arrow:hover { color: var(--off-black); }

/* ── Final CTA ───────────────────────────────────────────────────── */
.lp-cta-section {
    background: var(--blue);
    padding: 100px 2rem;
    text-align: center;
}
.lp-cta-section h2 {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    font-weight: 400;
    color: var(--white);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: .02em;
}
.lp-cta-section h2 em { font-style: normal; color: var(--gold); }
.lp-cta-section p {
    font-size: 1.0625rem;
    color: rgba(255,255,255,.68);
    max-width: 520px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}
.lp-cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── Footer ──────────────────────────────────────────────────────── */
.lp-footer {
    background: #040f13;
    padding: 2.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}
.lp-footer-copy {
    font-size: .8125rem;
    color: rgba(255,255,255,.35);
    font-family: var(--font-body);
}
.lp-footer-links { display: flex; gap: 1.5rem; }
.lp-footer-links a {
    font-size: .8125rem;
    color: rgba(255,255,255,.35);
    text-decoration: none;
    transition: color .15s;
    font-family: var(--font-body);
}
.lp-footer-links a:hover { color: rgba(255,255,255,.7); }

/* ── Landing page responsive ─────────────────────────────────────── */
@media (max-width: 991px) {
    .lp-parties-grid { grid-template-columns: repeat(2, 1fr); }
    .lp-features-grid { grid-template-columns: 1fr 1fr; }
    .lp-ai-inner { grid-template-columns: 1fr; gap: 2.5rem; }
    .lp-other-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
    /* Nav */
    .lp-nav { padding: 0 1.25rem; height: 72px; position: relative; }
    .lp-nav-logo { height: 40px; }
    .lp-nav-actions { display: none; }
    .lp-nav-hamburger { display: block; }

    /* Hero */
    .lp-hero { padding: 72px 1.25rem 56px; }
    .lp-hero h1 { font-size: clamp(1.75rem, 7vw, 2.4rem); letter-spacing: .01em; }
    .lp-hero-sub { font-size: 1rem; }
    .lp-hero-actions { flex-direction: column; align-items: center; }
    .lp-btn-primary, .lp-btn-ghost { width: 100%; max-width: 320px; text-align: center; }

    /* Sections */
    .lp-section { padding: 56px 1.25rem; }
    .lp-parties-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
    .lp-features-grid { grid-template-columns: 1fr; }

    /* AI strip */
    .lp-ai-strip { padding: 56px 1.25rem; }
    .lp-ai-inner { grid-template-columns: 1fr; gap: 2rem; }

    /* Pricing */
    .lp-plans-grid { grid-template-columns: 1fr; max-width: 440px; margin-left: auto; margin-right: auto; }
    .lp-pricing-toggle-wrap { flex-wrap: wrap; gap: .75rem; }

    /* Other parties */
    .lp-other-grid { grid-template-columns: 1fr; }

    /* CTA & footer */
    .lp-cta-section { padding: 64px 1.25rem; }
    .lp-cta-actions { flex-direction: column; align-items: center; }
    .lp-footer { flex-direction: column; align-items: flex-start; gap: .75rem; }
    .lp-footer-links { flex-wrap: wrap; gap: 1rem; }
}
@media (max-width: 480px) {
    .lp-parties-grid { grid-template-columns: 1fr; }
    .lp-nav-logo { height: 34px; }
}
