/*
 * MENetZero — unified public marketing design system
 * Used by: home, pricing, consultant, consultant-list, contact, legal pages
 */
:root {
    --mkt-brand: #0ea5a3;
    --mkt-brand-dark: #0d9488;
    --mkt-brand-emerald: #10b981;
    --mkt-ink: #111827;
    --mkt-muted: #6b7280;
    --mkt-line: #e5e7eb;
    --mkt-container: 72rem;
}

body.mkt-body {
    font-family: 'Poppins', system-ui, -apple-system, sans-serif;
    color: var(--mkt-ink) !important;
    background-color: #ffffff !important;
    -webkit-font-smoothing: antialiased;
}

/* Layout */
.mkt-container {
    max-width: var(--mkt-container);
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

.mkt-section {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

@media (min-width: 768px) {
    .mkt-section {
        padding-top: 5rem;
        padding-bottom: 5rem;
    }
}

.mkt-section-head {
    text-align: center;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .mkt-section-head {
        margin-bottom: 4rem;
    }
}

.mkt-section-head h2 {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--mkt-ink);
    margin-bottom: 1rem;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .mkt-section-head h2 {
        font-size: 2.25rem;
    }
}

.mkt-section-head p {
    font-size: 1.125rem;
    color: var(--mkt-muted);
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.mkt-hero {
    padding-top: 4rem;
    padding-bottom: 4rem;
    text-align: center;
}

@media (min-width: 768px) {
    .mkt-hero {
        padding-top: 5rem;
        padding-bottom: 5rem;
    }
}

.mkt-hero h1 {
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.15;
    color: var(--mkt-ink);
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .mkt-hero h1 {
        font-size: 3.5rem;
    }
}

.mkt-hero-xl h1 {
    font-size: 2.5rem;
}

@media (min-width: 768px) {
    .mkt-hero-xl h1 {
        font-size: 4.5rem;
    }
}

.mkt-hero .mkt-lead,
.mkt-lead {
    font-size: 1.125rem;
    color: var(--mkt-muted);
    line-height: 1.6;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 768px) {
    .mkt-hero .mkt-lead,
    .mkt-lead-lg {
        font-size: 1.25rem;
    }
}

.mkt-text-brand {
    color: var(--mkt-brand);
}

.mkt-section-bg,
.section-bg {
    background: linear-gradient(135deg, #f0fdfa 0%, #f0fdf4 100%);
}

.mkt-section-dark {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white;
}

/* Buttons — mkt-btn + legacy .btn aliases */
.mkt-btn,
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.15s ease-in-out;
    white-space: nowrap;
}

.mkt-btn-primary,
.btn-primary {
    background-color: var(--mkt-brand);
    color: white !important;
    border-color: var(--mkt-brand);
}

.mkt-btn-primary:hover,
.btn-primary:hover {
    background-color: var(--mkt-brand-dark);
    border-color: var(--mkt-brand-dark);
    transform: translateY(-1px);
    color: white !important;
    text-decoration: none;
}

.mkt-btn-outline,
.btn-outline {
    background-color: transparent;
    color: var(--mkt-brand);
    border-color: var(--mkt-brand);
}

.mkt-btn-outline:hover,
.btn-outline:hover {
    background-color: var(--mkt-brand);
    color: white !important;
    text-decoration: none;
}

.mkt-btn-dark {
    background-color: #111827;
    color: white !important;
    border-color: #111827;
}

.mkt-btn-dark:hover {
    background-color: #1f2937;
    color: white !important;
    text-decoration: none;
}

.mkt-btn-lg,
.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.mkt-btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.mkt-btn-white-outline {
    background: transparent;
    color: white !important;
    border-color: rgba(255, 255, 255, 0.4);
}

.mkt-btn-white-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white !important;
    text-decoration: none;
}

.mkt-btn-block {
    display: flex;
    width: 100%;
}

/* Brand / tagline */
.mkt-brand-logo,
.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.mkt-brand-logo img,
.brand-logo img {
    height: 2rem;
    width: auto;
}

.mkt-tagline,
.tagline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background-color: rgba(14, 165, 163, 0.1);
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--mkt-brand);
    margin-bottom: 1.5rem;
}

/* Cards */
.mkt-feature-card,
.feature-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    height: 100%;
}

.mkt-feature-card:hover,
.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.mkt-scope-number,
.scope-number {
    width: 2rem;
    height: 2rem;
    background-color: var(--mkt-brand);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 0.875rem;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

.mkt-checkmark,
.checkmark {
    color: var(--mkt-brand);
    margin-right: 0.5rem;
    flex-shrink: 0;
}

.mkt-step-badge {
    position: absolute;
    top: -1rem;
    left: -1rem;
    width: 4rem;
    height: 4rem;
    background-color: #d1fae5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--mkt-brand);
}

.mkt-icon-circle {
    width: 3rem;
    height: 3rem;
    background-color: #d1fae5;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.mkt-icon-circle-lg {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1rem;
}

.mkt-icon-circle svg,
.mkt-icon-circle-lg svg {
    color: #059669;
}

/* Pricing */
.mkt-pricing-card {
    position: relative;
    background: white;
    border-radius: 1rem;
    border: 2px solid var(--mkt-line);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.mkt-pricing-card.popular {
    border-color: var(--mkt-brand);
    box-shadow: 0 10px 25px -5px rgba(14, 165, 163, 0.2);
}

.mkt-pricing-badge {
    position: absolute;
    top: -0.75rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--mkt-brand);
    color: white;
    font-size: 0.6875rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    white-space: nowrap;
}

.mkt-currency-toggle {
    display: inline-flex;
    border-radius: 0.5rem;
    border: 1px solid var(--mkt-line);
    overflow: hidden;
    font-size: 0.875rem;
}

.mkt-currency-toggle a {
    padding: 0.375rem 1rem;
    text-decoration: none;
    color: var(--mkt-muted);
}

.mkt-currency-toggle a.active {
    background: var(--mkt-brand);
    color: white;
}

/* Tables */
.mkt-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    background: white;
    border-radius: 1rem;
    border: 1px solid var(--mkt-line);
}

.mkt-table {
    width: 100%;
    min-width: 36rem;
    font-size: 0.875rem;
}

.mkt-table thead th {
    text-align: center;
    font-weight: 600;
    color: #374151;
    padding: 0.75rem;
    background: #f9fafb;
    border-bottom: 1px solid var(--mkt-line);
}

.mkt-table thead th:first-child {
    text-align: left;
    width: 28%;
}

.mkt-table tbody td {
    padding: 0.75rem;
    text-align: center;
    color: #374151;
    border-bottom: 1px solid #f3f4f6;
}

.mkt-table tbody td:first-child {
    text-align: left;
    font-weight: 500;
    color: var(--mkt-ink);
}

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

/* Plan comparison tables (public pricing + in-app upgrade — shared partial) */
.mkt-table.plan-comparison-table {
    table-layout: fixed;
}

.mkt-table.plan-comparison-table thead th.text-center,
.mkt-table.plan-comparison-table tbody td.text-center {
    text-align: center;
    vertical-align: middle;
}

.mkt-table.plan-comparison-table thead th:first-child,
.mkt-table.plan-comparison-table tbody td:first-child {
    width: 28%;
    white-space: normal;
}

/* Consultant directory */
.mkt-consultant-card {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    border: 1px solid var(--mkt-line);
    transition: all 0.2s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.mkt-consultant-card:hover {
    border-color: var(--mkt-brand);
    box-shadow: 0 10px 25px -5px rgba(14, 165, 163, 0.15);
}

.mkt-consultant-card.featured {
    border-color: var(--mkt-brand);
    box-shadow: 0 0 0 2px rgba(14, 165, 163, 0.2);
}

.mkt-pill {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.2rem 0.5rem;
    border-radius: 9999px;
    background: #ecfdf5;
    color: #047857;
}

.mkt-filter-pill {
    display: inline-flex;
    padding: 0.375rem 0.875rem;
    border-radius: 9999px;
    font-size: 0.8125rem;
    font-weight: 500;
    border: 1px solid var(--mkt-line);
    color: #4b5563;
    text-decoration: none;
    transition: all 0.15s;
}

.mkt-filter-pill:hover,
.mkt-filter-pill.active {
    background: var(--mkt-brand);
    border-color: var(--mkt-brand);
    color: white;
    text-decoration: none;
}

/* Forms */
.mkt-form-input {
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    padding: 0.625rem 0.875rem;
    font-size: 0.875rem;
    font-family: inherit;
}

.mkt-form-input:focus {
    outline: none;
    border-color: var(--mkt-brand);
    box-shadow: 0 0 0 3px rgba(14, 165, 163, 0.15);
}

.mkt-info-card {
    background: #f9fafb;
    border-radius: 1rem;
    padding: 1.5rem;
}

/* Alerts */
.mkt-alert-success {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
    border-radius: 0.75rem;
    padding: 0.875rem 1rem;
    font-size: 0.875rem;
}

.mkt-alert-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
    border-radius: 0.75rem;
    padding: 0.875rem 1rem;
    font-size: 0.875rem;
}

/* Prose (legal pages) */
.mkt-prose h2 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--mkt-ink);
    margin-top: 2rem;
    margin-bottom: 0.5rem;
}

.mkt-prose p {
    margin-bottom: 0.75rem;
    color: #374151;
    line-height: 1.7;
}

.mkt-prose ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
}

.mkt-prose li {
    margin-bottom: 0.25rem;
    color: #374151;
}

/* Nav */
.mkt-nav-link {
    color: #4b5563;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    padding: 0.5rem 0;
    transition: color 0.15s;
}

.mkt-nav-link:hover {
    color: var(--mkt-brand);
}

.mkt-nav-link.active {
    color: var(--mkt-brand);
}

.mkt-nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.5rem;
    border: 1px solid var(--mkt-line);
    background: white;
    color: #374151;
}

@media (min-width: 1024px) {
    .mkt-nav-toggle {
        display: none;
    }
}

.mkt-mobile-menu {
    display: none;
    border-top: 1px solid var(--mkt-line);
    padding: 1rem 0;
}

.mkt-mobile-menu.is-open {
    display: block;
}

@media (min-width: 1024px) {
    .mkt-mobile-menu {
        display: none !important;
    }
}

.mkt-desktop-nav {
    display: none;
    align-items: center;
    gap: 1.25rem;
}

@media (min-width: 1024px) {
    .mkt-desktop-nav {
        display: flex;
    }
}

/* Dark panel (consultant CTA boxes) */
.mkt-glass-panel {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 2rem;
}

.mkt-step-list-item {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.mkt-step-list-num {
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: rgba(14, 165, 163, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
    color: #5eead4;
}

/* Nav auth menus — Company vs Consultant */
.mkt-auth-menus {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mkt-auth-menu {
    position: relative;
}

.mkt-auth-menu-trigger {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.375rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    background: white;
    border: 1px solid var(--mkt-line);
    border-radius: 0.5rem;
    cursor: pointer;
    transition: border-color 0.15s, color 0.15s;
}

.mkt-auth-menu-trigger:hover,
.mkt-auth-menu-trigger[aria-expanded="true"] {
    border-color: var(--mkt-brand);
    color: var(--mkt-brand);
}

.mkt-auth-menu-trigger-consultant[aria-expanded="true"] {
    background: #f0fdfa;
}

.mkt-auth-menu-panel {
    position: absolute;
    right: 0;
    top: calc(100% + 0.375rem);
    min-width: 11rem;
    background: white;
    border: 1px solid var(--mkt-line);
    border-radius: 0.75rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    padding: 0.5rem;
    z-index: 60;
}

.mkt-auth-menu-label {
    display: block;
    padding: 0.375rem 0.75rem 0.25rem;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #9ca3af;
}

.mkt-auth-menu-link {
    display: block;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    color: #374151;
    text-decoration: none;
    border-radius: 0.5rem;
}

.mkt-auth-menu-link:hover {
    background: #f9fafb;
    color: var(--mkt-brand);
}

.mkt-auth-menu-link-primary {
    font-weight: 600;
    color: var(--mkt-brand);
}

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

.mkt-btn-coming-soon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f3f4f6 !important;
    color: #6b7280 !important;
    border-color: #e5e7eb !important;
    cursor: not-allowed;
    pointer-events: none;
    font-weight: 600;
}

.mkt-payments-notice {
    background: #fffbeb;
    border: 1px solid #fde68a;
    color: #92400e;
    border-radius: 0.75rem;
    padding: 0.875rem 1.125rem;
    font-size: 0.875rem;
    line-height: 1.5;
    text-align: center;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

.mkt-payments-notice strong {
    color: #78350f;
}
