/* Global Styles */
:root {
    /* Typography (Apple-like system stack) */
    --font-sans: "Manrope", -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "SF Pro Icons", system-ui, "Helvetica Neue", Helvetica, Arial, "Segoe UI", Roboto, "Noto Sans", sans-serif;
    /* Use a heavier "regular" so UI text isn't thin */
    --font-weight-regular: 600;
    --font-weight-medium: 600;
    --font-weight-semibold: 700;
    --font-weight-bold: 800;
    --font-weight-heavy: 800;
    --tracking-body: -0.01em;
    --tracking-tight: -0.02em;
    --tracking-tighter: -0.03em;
    --tracking-tightest: -0.04em;
    --tracking-caps: 0.08em;
    --leading-body: 1.5;
    --leading-tight: 1.2;
    --leading-title: 1.1;

    /* Radii & motion */
    --radius-sm: 10px;
    --radius-md: 14px;
    --radius-lg: 18px;
    --radius-xl: 24px;
    --ease-apple: cubic-bezier(0.16, 1, 0.3, 1);
    --focus-ring: rgba(17, 24, 39, 0.16);
    --focus-ring-strong: rgba(17, 24, 39, 0.24);

    /* Brand */
    --primary: #2F4156;
    --primary-dark: #1a2634;
    --secondary: #3d5269;
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
    --text-primary: #111827;
    --text-secondary: #6b7280;
    --text-light: #9ca3af;
    --bg-primary: #ffffff;
    --bg-secondary: #f9fafb;
    --bg-tertiary: #f3f4f6;
    --border: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Startup Profile Hero (startup detail page) */
.startup-hero {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.startup-hero-logo {
    width: 104px;
    height: 104px;
    border-radius: 18px;
    background: #f0f2f5;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
    color: var(--text-secondary);
    font-weight: 800;
    font-size: 2rem;
    letter-spacing: -0.02em;
}

.startup-hero-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.startup-hero-content {
    flex: 1;
    min-width: 0;
}

.startup-hero-title {
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 2.15rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: var(--text-primary);
}

.startup-hero-subtitle {
    margin-top: 0.4rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.startup-hero-dot {
    opacity: 0.5;
}

.startup-hero-one-liner {
    margin-top: 0.9rem;
    font-size: 1.05rem;
    line-height: 1.65;
    color: var(--text-secondary);
    max-width: 70ch;
}

.startup-hero-pills {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    align-items: center;
}

.startup-hero-pills .badge,
.startup-hero-pills .stage-indicator {
    border-radius: 999px;
    padding: 0.35rem 0.7rem;
    font-size: 0.82rem;
}

.startup-hero-views {
    background: rgba(0, 0, 0, 0.04);
    color: #71767b;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
}

.startup-hero-linkedin {
    background: #0077b5;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
}

.startup-hero-linkedin:hover {
    filter: brightness(0.96);
}

@media (max-width: 640px) {
    .startup-hero {
        flex-direction: column;
        gap: 1.25rem;
    }
    .startup-hero-logo {
        width: 92px;
        height: 92px;
        border-radius: 16px;
        font-size: 1.75rem;
    }
    .startup-hero-title {
        font-size: 1.85rem;
    }
}

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

body {
    font-family: var(--font-sans);
    color: var(--text-primary);
    background: var(--bg-secondary);
    line-height: var(--leading-body);
    font-weight: var(--font-weight-regular);
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    letter-spacing: var(--tracking-body);
    font-variant-numeric: tabular-nums;
}

/* Global type defaults (keep page-specific overrides working) */
:where(h1, h2) {
    font-weight: var(--font-weight-bold);
    letter-spacing: var(--tracking-tighter);
    line-height: var(--leading-title);
}

:where(h3, h4, h5, h6) {
    font-weight: var(--font-weight-semibold);
    letter-spacing: var(--tracking-tight);
    line-height: var(--leading-tight);
}

:where(label) {
    letter-spacing: var(--tracking-body);
}

:where(button, input, select, textarea) {
    font-family: inherit;
}

:where(a, button, input, select, textarea):focus-visible {
    outline: none;
    box-shadow: 0 0 0 4px var(--focus-ring);
    border-radius: var(--radius-sm);
}

.hidden {
    display: none !important;
}

/* Simple Modal (reusable) */
.fc-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(17, 24, 39, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    z-index: 2000;
}

.fc-modal {
    width: min(720px, 100%);
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 1rem;
    box-shadow: var(--shadow-xl);
    overflow: hidden;
}

.fc-modal-header {
    padding: 1.25rem 1.25rem 1rem 1.25rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 1rem;
}

.fc-modal-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
}

.fc-modal-subtitle {
    margin-top: 0.35rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.fc-modal-close {
    background: transparent;
    border: 1px solid var(--border);
    width: 36px;
    height: 36px;
    border-radius: 0.75rem;
    cursor: pointer;
    color: var(--text-secondary);
    font-size: 1.25rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.fc-modal-close:hover {
    background: var(--bg-secondary);
    color: var(--primary);
    border-color: rgba(0, 0, 0, 0.1);
}

.fc-modal-body {
    padding: 1.25rem;
}

.fc-modal-footer {
    padding: 1rem 1.25rem 1.25rem 1.25rem;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
}

.fc-field {
    margin-bottom: 1rem;
}

.fc-label {
    display: block;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.fc-grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

@media (min-width: 680px) {
    .fc-grid-2 {
        grid-template-columns: 1fr 1fr;
    }
}

/* Fundraise (Founder + Investor views) */
.fc-fundraise-card .card-body {
    padding: 1.5rem;
}

.fc-money-input {
    position: relative;
}

.fc-money-prefix {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1.25rem;
    text-align: center;
    color: var(--text-secondary);
    font-weight: 800;
    pointer-events: none;
    user-select: none;
}

.fc-money-input__field {
    /* Override .form-input padding set later in the file */
    padding-left: 3.15rem !important;
    font-variant-numeric: tabular-nums;
    font-weight: 800;
    letter-spacing: -0.01em;
}

/* Optional helper class for numeric emphasis elsewhere */
.fc-num {
    font-variant-numeric: tabular-nums;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.fc-fundraise-header {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.fc-fundraise-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.2;
}

.fc-fundraise-subtitle {
    margin-top: 0.35rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.fc-fundraise-verification-note {
    margin-top: 0.45rem;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}

.fc-fundraise-dot {
    margin: 0 0.35rem;
    color: var(--text-secondary);
}

.fc-fundraise-muted {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.fc-progress-bar {
    height: 10px;
    border-radius: 999px;
    background: rgba(47, 65, 86, 0.10);
    overflow: hidden;
}

.fc-progress-fill {
    height: 100%;
    width: 0%;
    background: var(--primary);
    border-radius: 999px;
    transition: width 0.25s ease;
}

.fc-fundraise-progress {
    margin-top: 0.75rem;
}

.fc-fundraise-amounts {
    margin-top: 0.6rem;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
}

.fc-fundraise-actions {
    margin-top: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
}

.fc-fundraise-terms {
    padding-top: 0.25rem;
    margin-top: 0.25rem;
}

.fc-modal-body .form-input,
.fc-modal-body .form-select,
.fc-modal-body .fc-textarea {
    border-radius: 0.75rem;
}

.fc-fundraise-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 800;
    border: 1px solid var(--border);
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.fc-fundraise-badge.raising {
    background: rgba(47, 65, 86, 0.08);
    color: var(--primary);
    border-color: rgba(47, 65, 86, 0.15);
}

.fc-fundraise-badge.funded {
    background: rgba(16, 185, 129, 0.12);
    color: var(--success);
    border-color: rgba(16, 185, 129, 0.25);
}

.fc-fundraise-badge.neutral {
    background: rgba(148, 163, 184, 0.18);
    color: var(--text-secondary);
}

.fc-founder-fund-page {
    max-width: 980px;
}

.fc-founder-fund-page__header {
    display: block;
    margin-bottom: 1.5rem;
}

.fc-founder-fund-page__copy {
    max-width: 640px;
}

.fc-founder-fund-page__title {
    margin: 0;
    font-size: 2.25rem;
    line-height: 1.05;
    letter-spacing: -0.03em;
    font-weight: 850;
    color: var(--text-primary);
}

.fc-founder-fund-page__subtitle {
    margin: 0.7rem 0 0;
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.65;
}

.fc-founder-fund-flash {
    margin-bottom: 1rem;
    padding: 0.95rem 1.1rem;
    border-radius: 14px;
    border: 1px solid rgba(17, 24, 39, 0.08);
    background: #fff;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.fc-founder-fund-flash.is-error {
    border-color: rgba(220, 38, 38, 0.16);
    background: rgba(220, 38, 38, 0.04);
}

.fc-founder-fund-notice,
.fc-founder-fund-section {
    background: #fff;
    border: 1px solid rgba(17, 24, 39, 0.08);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

.fc-founder-fund-notice {
    padding: 1.4rem 1.5rem;
    margin-bottom: 1.5rem;
}

.fc-founder-fund-notice__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.9rem;
    padding: 0.28rem 0.65rem;
    border-radius: 999px;
    border: 1px solid rgba(17, 24, 39, 0.08);
    background: rgba(148, 163, 184, 0.12);
    color: var(--text-secondary);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.fc-founder-fund-notice__title {
    margin: 0;
    font-size: 1.2rem;
    line-height: 1.25;
    font-weight: 800;
    color: var(--text-primary);
}

.fc-founder-fund-notice__body {
    margin: 0.6rem 0 0;
    max-width: 60ch;
    color: var(--text-secondary);
    line-height: 1.65;
}

.fc-founder-fund-notice__meta {
    margin-top: 0.85rem;
    color: var(--text-secondary);
    font-size: 0.93rem;
    line-height: 1.6;
}

.fc-founder-fund-notice__actions {
    margin-top: 1rem;
}

.fc-founder-fund-section {
    padding: 0.25rem;
}

.fc-founder-fund-section .fc-fundraise-card {
    margin-bottom: 0;
    border: none;
    box-shadow: none;
}

.fc-founder-fund-section .fc-fundraise-card .card-body {
    padding: 1.25rem;
}

@media (max-width: 768px) {
    .fc-founder-fund-page__title {
        font-size: 2rem;
    }
}

/* Navigation - Glassmorphism Effect */
.navbar {
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.85) 0%,
        rgba(255, 255, 255, 0.75) 100%
    );
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-bottom: none;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow:
        0 8px 26px rgba(0, 0, 0, 0.035),
        0 2px 6px rgba(0, 0, 0, 0.018),
        inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.nav-container {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
}

.nav-brand .logo {
    /* Match landing brand sizing/weight */
    font-size: 1.65rem;
    font-weight: 850;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    text-shadow: none;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary);
    border-radius: 10px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-link:focus {
    outline: none;
}

.nav-link:focus-visible {
    outline: none;
    border-radius: 0.5rem;
    box-shadow: 0 0 0 4px rgba(47, 65, 86, 0.14);
}

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

.nav-link.active {
    color: var(--text-primary);
    font-weight: 700;
}

.nav-link.active::after {
    /* default to hidden; we reveal after DOM ready for a smooth "ink bar" animation */
    transform: scaleX(0);
}

body.fc-nav-animated .nav-link.active::after {
    transform: scaleX(1);
}

.nav-link--static {
    cursor: default;
    user-select: none;
}

.nav-link--static:hover {
    /* Keep it looking like an active label, not an interactive link */
    color: var(--text-primary);
}

.nav-profile {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.notification-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    position: relative;
    padding: 0.5rem 0;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    font-size: 1rem;
    font-family: inherit;
}

.notification-btn::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary);
    border-radius: 10px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.notification-btn:focus {
    outline: none;
}

.notification-btn:focus-visible {
    outline: none;
    border-radius: 0.5rem;
    box-shadow: 0 0 0 4px rgba(47, 65, 86, 0.14);
}

.notification-btn .notification-label {
    color: inherit;
    line-height: 1.2;
}

.notification-btn:hover {
    color: var(--primary);
}

.notification-btn.active {
    color: var(--text-primary);
    font-weight: 700;
}

.notification-btn.active::after {
    transform: scaleX(1);
}

.notification-badge {
    position: absolute;
    top: -1px;
    right: -2px;
    background: #1D9BF0;
    width: 10px;
    height: 10px;
    display: block;
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 0 0 1px rgba(29, 155, 240, 0.1);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 10;
    pointer-events: none;
}

.notification-badge.hidden {
    opacity: 0;
    transform: scale(0);
}

/* Specific adjustment for icon-based notification buttons */
.notification-btn .notification-badge {
    top: 4px;
    right: 4px;
}

.profile-dropdown {
    position: relative;
}

.profile-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.5rem;
    transition: background 0.2s;
}

.profile-btn:hover {
    background: rgba(0, 0, 0, 0.04);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.5rem;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 0.75rem;
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.08),
        0 4px 12px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    min-width: 180px;
    overflow: hidden;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--text-primary);
    text-decoration: none;
    transition: background 0.2s;
}

.dropdown-menu a:hover {
    background: var(--bg-secondary);
}

/* Main Content */
#main-content {
    min-height: calc(100vh - 64px);
}

/* Landing Page - New Design */
.landing-page-new {
    min-height: 100vh;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    position: relative;
}

.landing-page-new::before {
    display: none;
}

/* Public header (landing/discover/public profiles) */
.fc-public-header {
    padding: 0.95rem 1.5rem;
    position: sticky;
    top: 0;
    z-index: 120;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(14px) saturate(160%);
    -webkit-backdrop-filter: blur(14px) saturate(160%);
    border-bottom: none;
}

.fc-public-headerInner {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1rem;
    border-radius: 0;
    background: transparent;
    border: none;
    backdrop-filter: none;
    box-shadow: none;
}

.fc-public-brand {
    font-size: 2.1rem;
    font-weight: 850;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    justify-self: start;
}

/* Landing-only: no left brand, keep nav centered + actions right */
.fc-public-header--landingNoBrand .fc-public-headerInner {
    /* Put nav and actions adjacent on the right */
    grid-template-columns: 1fr auto auto;
    gap: 1.6rem;
}

.fc-public-header--landingNoBrand .fc-public-nav {
    grid-column: 2;
    justify-self: end;
}

.fc-public-header--landingNoBrand .fc-public-actions {
    grid-column: 3;
    justify-self: end;
    padding-left: 0.25rem;
}

.fc-public-nav {
    display: inline-flex;
    gap: 1.8rem;
    align-items: center;
    justify-self: center;
}

.fc-public-nav a {
    color: rgba(17, 24, 39, 0.70);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;
    line-height: 1.1;
    padding: 0.35rem 0.15rem;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

.fc-public-nav a:hover {
    color: rgba(17, 24, 39, 0.92);
}

.fc-public-actions {
    display: inline-flex;
    gap: 0.65rem;
    align-items: center;
    justify-self: end;
}

.fc-public-actions .btn {
    border-radius: 999px;
    padding: 0.6rem 1.05rem;
    font-weight: 750;
}

/* Landing header Login: clean primary, no effects */
.fc-public-actions #login-btn.btn-primary {
    background: var(--primary);
    color: #fff !important;
    border: none;
    box-shadow: 0 4px 14px rgba(47, 65, 86, 0.20);
    transition: background-color 0.2s var(--ease-apple), box-shadow 0.2s var(--ease-apple);
    /* Medium size: easier click target in header */
    padding: 0.75rem 1.25rem;
    font-size: 1.05rem;
    min-height: 44px;
}

.fc-public-actions #login-btn.btn-primary:hover {
    background: var(--primary-dark, #1a2634);
    box-shadow: 0 6px 18px rgba(47, 65, 86, 0.24);
    transform: none;
}

.fc-public-actions #login-btn.btn-primary:focus-visible {
    outline: none;
    box-shadow:
        0 6px 18px rgba(47, 65, 86, 0.22),
        0 0 0 3px var(--focus-ring-strong);
}

.fc-public-actions .btn-outline-primary {
    background: rgba(255, 255, 255, 0.55);
    color: rgba(17, 24, 39, 0.92);
    border: 1px solid rgba(17, 24, 39, 0.14);
    box-shadow: none;
}

.fc-public-actions .btn-outline-primary:hover {
    background: rgba(255, 255, 255, 0.82);
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .fc-public-header {
        padding: 0.85rem 1rem;
    }

    .fc-public-brand {
        font-size: 1.75rem;
    }

    .fc-public-header--landingNoBrand .fc-public-headerInner {
        grid-template-columns: 1fr auto;
    }

    .fc-public-header--landingNoBrand .fc-public-nav {
        grid-column: 1;
        justify-self: center;
    }

    .fc-public-header--landingNoBrand .fc-public-actions {
        grid-column: 2;
        justify-self: end;
    }

    .fc-public-headerInner {
        grid-template-columns: auto 1fr auto;
        gap: 0.75rem;
    }

    .fc-public-nav {
        gap: 1.1rem;
        justify-content: center;
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding: 0 0.25rem;
        scrollbar-width: none;
    }

    .fc-public-nav::-webkit-scrollbar {
        display: none;
    }

    .fc-public-nav a {
        font-size: 1rem;
        padding: 0.3rem 0.1rem;
    }

    /* Slightly smaller login on mobile to avoid crowding */
    .fc-public-actions #login-btn.btn-primary {
        padding: 0.65rem 1.05rem;
        font-size: 1rem;
        min-height: 40px;
    }
}

/* Discover (public deal flow) */
.fc-discover-page {
    min-height: 100vh;
    position: relative;
    background: #ffffff;
}

.fc-discover-page::before {
    display: none;
}

.fc-discover-page .container {
    position: relative;
    z-index: 1;
}

.fc-discover-hero {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(17, 24, 39, 0.10);
}

.fc-discover-kicker {
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.72rem;
    color: rgba(17, 24, 39, 0.55);
}

.fc-discover-title {
    margin: 0.4rem 0 0.4rem 0;
    font-size: clamp(2rem, 3.3vw, 3rem);
    font-weight: 850;
    letter-spacing: -0.03em;
    line-height: 1.05;
    color: rgba(17, 24, 39, 0.96);
    text-shadow: none;
}

.fc-discover-subtitle {
    color: rgba(17, 24, 39, 0.62);
    max-width: 78ch;
    line-height: 1.55;
}

.fc-discover-heroMeta {
    margin-top: 1rem;
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.fc-discover-pill {
    display: inline-flex;
    align-items: baseline;
    gap: 0.5rem;
    padding: 0.55rem 0.8rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(17, 24, 39, 0.10);
    backdrop-filter: blur(14px) saturate(140%);
}

.fc-discover-pillLabel {
    font-size: 0.85rem;
    color: rgba(17, 24, 39, 0.58);
    font-weight: 650;
}

.fc-discover-pillValue {
    font-size: 0.95rem;
    color: rgba(17, 24, 39, 0.92);
    font-weight: 800;
}

.fc-discover-heroRight {
    display: inline-flex;
    gap: 0.75rem;
    flex-shrink: 0;
}

.fc-discover-page .btn-ghost { color: rgba(17, 24, 39, 0.76); }
.fc-discover-page .btn-ghost:hover { background: rgba(17, 24, 39, 0.04); }

.fc-discover-toolbar {
    margin-top: 1.25rem;
    margin-bottom: 2.25rem;
}

.fc-discover-filters {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.9rem;
    align-items: end;
    padding: 1rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid rgba(17, 24, 39, 0.10);
    backdrop-filter: blur(16px) saturate(140%);
}

.fc-discover-label {
    display: block;
    margin-bottom: 0.4rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: rgba(17, 24, 39, 0.62);
    letter-spacing: 0.02em;
}

.fc-discover-actions {
    display: inline-flex;
    gap: 0.75rem;
    justify-content: flex-end;
}

.fc-discover-page .form-input,
.fc-discover-page .form-select {
    background: rgba(255, 255, 255, 0.92);
    color: rgba(17, 24, 39, 0.90);
    border: 1px solid rgba(17, 24, 39, 0.12);
}

.fc-discover-page .form-input::placeholder {
    color: rgba(17, 24, 39, 0.40);
}

.fc-discover-section {
    margin-top: 2.25rem;
}

.fc-discover-sectionHeader {
    margin-bottom: 1.15rem;
}

.fc-discover-sectionLabel {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    background: rgba(17, 24, 39, 0.04);
    border: 1px solid rgba(17, 24, 39, 0.08);
    color: rgba(17, 24, 39, 0.78);
    font-size: 0.82rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    width: fit-content;
}

.fc-discover-sectionHint {
    margin-top: 0.35rem;
    color: rgba(17, 24, 39, 0.58);
}

.fc-discover-cardLink {
    text-decoration: none;
    color: inherit;
    display: block;
}

.fc-discover-page .card {
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid rgba(17, 24, 39, 0.10);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(18px) saturate(140%);
}

.fc-discover-page .card:hover {
    transform: translateY(-2px);
    transition: transform 0.2s var(--ease-apple);
}

.fc-discover-cardBody {
    padding: 1.4rem;
    min-height: 320px;
    display: flex;
    flex-direction: column;
}

.fc-discover-cardTop {
    display: flex;
    gap: 1rem;
    align-items: start;
    margin-bottom: 1rem;
}

.fc-discover-cardLogo {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: rgba(17, 24, 39, 0.04);
    border: 1px solid rgba(17, 24, 39, 0.10);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
    color: rgba(17, 24, 39, 0.78);
    font-weight: 800;
}

.fc-discover-cardLogo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fc-discover-cardTitleWrap {
    min-width: 0;
    flex: 1;
}

.fc-discover-cardNameRow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 0;
    max-width: 100%;
}

.fc-discover-cardName {
    font-weight: 850;
    letter-spacing: -0.02em;
    color: rgba(17, 24, 39, 0.94);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fc-discover-cardFounder {
    margin-top: 0.2rem;
    color: rgba(17, 24, 39, 0.58);
    font-size: 0.92rem;
    font-weight: 650;
}

.fc-discover-cardOneLiner {
    color: rgba(17, 24, 39, 0.72);
    line-height: 1.55;
    font-size: 0.98rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 1.1rem;
    min-height: 4.6em;
}

.fc-discover-cardBadges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: auto;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(17, 24, 39, 0.10);
}

.fc-discover-cardFoot {
    margin-top: 0.9rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
}

.fc-discover-cardViews {
    color: rgba(17, 24, 39, 0.56);
    font-size: 0.85rem;
    font-weight: 650;
}

.fc-discover-cardGate {
    color: rgba(17, 24, 39, 0.62);
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.fc-lockedCard {
    position: relative;
    cursor: default;
}

.fc-lockedCard:hover {
    transform: none !important;
}

.fc-lockedCard::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.00) 0%, rgba(255, 255, 255, 0.08) 100%);
    opacity: 0.9;
}

.fc-lockedPill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    background: rgba(17, 24, 39, 0.04);
    border: 1px solid rgba(17, 24, 39, 0.10);
    color: rgba(17, 24, 39, 0.62);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

/* Guest dashboard preview: lock interactions but keep auth CTAs clickable */
.fc-preview-locked {
    pointer-events: none;
    position: relative;
}

.fc-preview-locked * {
    cursor: default !important;
}

.fc-preview-navbar .nav-link {
    pointer-events: none;
    cursor: default;
    opacity: 0.78;
}

.fc-preview-navbar .nav-link::after {
    display: none;
}

.fc-preview-actions {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-left: 1rem;
}

.fc-discover-page .badge {
    background: rgba(17, 24, 39, 0.04);
    border: 1px solid rgba(17, 24, 39, 0.10);
    color: rgba(17, 24, 39, 0.78);
}

.fc-discover-page .badge-primary {
    background: rgba(75, 140, 255, 0.12);
    border-color: rgba(75, 140, 255, 0.18);
}

.fc-discover-page .badge-secondary {
    background: rgba(17, 24, 39, 0.04);
}

.fc-discover-page .badge-success {
    background: rgba(16, 185, 129, 0.14);
    border-color: rgba(16, 185, 129, 0.20);
}

.fc-discover-page .stage-indicator {
    background: rgba(17, 24, 39, 0.04);
    border: 1px solid rgba(17, 24, 39, 0.10);
    color: rgba(17, 24, 39, 0.78);
}

.fc-discover-page .fc-fundraise-badge {
    border-radius: 999px;
    padding: 0.35rem 0.7rem;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

/* Modals: lighter overlay + glass container for public pages */
.modal-overlay {
    background: rgba(17, 24, 39, 0.22);
    backdrop-filter: blur(8px);
}

.modal {
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(17, 24, 39, 0.12);
    backdrop-filter: blur(18px) saturate(160%);
}

@media (max-width: 1100px) {
    .fc-discover-filters {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .fc-discover-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 640px) {
    .fc-discover-hero {
        flex-direction: column;
        align-items: flex-start;
    }
    .fc-discover-heroRight {
        width: 100%;
    }
    .fc-discover-heroRight .btn {
        flex: 1;
        text-align: center;
    }
}

/* landing legacy nav kept for compatibility; public header is used instead */

.landing-nav-links a:focus,
.landing-nav-links button:focus {
    outline: none;
}

.landing-nav-links a:focus-visible,
.landing-nav-links button:focus-visible {
    outline: none;
    border-radius: 0.5rem;
    box-shadow: 0 0 0 4px rgba(47, 65, 86, 0.14);
}

.landing-nav-left {
    display: flex;
    justify-content: flex-start;
}

.landing-nav-center {
    display: flex;
    justify-content: flex-start;
}

.landing-nav-right {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
}

.landing-logo {
    /* Match landing header brand styling */
    font-size: 1.65rem;
    font-weight: 850;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.landing-nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.landing-nav-links a,
.landing-nav-links button {
    color: rgba(17, 24, 39, 0.70);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.2s;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-family: inherit;
}

.landing-nav-links a:hover,
.landing-nav-links button:hover {
    color: rgba(17, 24, 39, 0.92);
}

.landing-auth-buttons {
    display: flex;
    gap: 1rem;
}

/* Hide desktop-only elements on mobile and vice-versa if needed */
.desktop-only { display: inline-flex !important; }
.mobile-only { display: none !important; }

@media (max-width: 768px) {
    .desktop-only { display: none !important; }
    .mobile-only { display: inline-flex !important; }
}

.landing-hero-new {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 6.5rem 2rem 7rem 2rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.landing-hero-new h1 {
    font-size: clamp(4.8rem, 9vw, 9rem);
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.02;
    color: rgba(17, 24, 39, 0.96);
    max-width: 980px;
    letter-spacing: -0.03em;
    text-shadow: none;
}

/* (Removed) landing metal brand effect */

.landing-subtitle {
    font-size: clamp(1.25rem, 2.2vw, 1.9rem);
    margin-bottom: 2.75rem;
    color: rgba(17, 24, 39, 0.62);
    max-width: none;
    white-space: nowrap;
    line-height: 1.55;
    opacity: 1;
}

.landing-page-new #discover-cta.btn-lg {
    border-radius: 999px;
    min-width: 240px;
    padding: 0.78rem 0.9rem 0.78rem 1.55rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    font-size: 1.15rem;
    line-height: 1.15;
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border: 1px solid rgba(17, 24, 39, 0.10);
    background: #ffffff;
    color: rgba(17, 24, 39, 0.88) !important;
    box-shadow: none;
    transition: transform 0.2s var(--ease-apple), box-shadow 0.2s var(--ease-apple), border-color 0.2s var(--ease-apple);
}

.landing-page-new #discover-cta.btn-lg::before {
    display: none;
}

.landing-page-new #discover-cta.btn-lg::after {
    display: none;
}

.landing-page-new #discover-cta.btn-lg .fc-ctaLabel,
.landing-page-new #discover-cta.btn-lg .fc-ctaArrow {
    position: relative;
    z-index: 1;
}

.landing-page-new #discover-cta.btn-lg .fc-ctaArrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.98);
    background: var(--primary);
    box-shadow: 0 10px 18px rgba(47, 65, 86, 0.18);
}

.landing-page-new #discover-cta.btn-lg .fc-ctaArrow::before {
    display: none;
}

.landing-page-new #discover-cta.btn-lg .fc-ctaArrow svg {
    display: block;
    width: 22px;
    height: 22px;
    filter: none;
}

.landing-page-new #discover-cta.btn-lg:hover {
    transform: translateY(-1px);
    border-color: rgba(17, 24, 39, 0.14);
    box-shadow: none;
}

.landing-page-new #discover-cta.btn-lg:focus-visible {
    outline: none;
    box-shadow:
        0 0 0 3px var(--focus-ring-strong);
}

.landing-page-new #discover-cta.btn-lg:hover .fc-ctaArrow {
    transform: none;
}

.landing-cta-new {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
    justify-content: center;
    opacity: 1;
}


/* Landing page theme overrides on white background */
.landing-page-new .fc-public-header {
    background: rgba(255, 255, 255, 0.92);
}

.landing-page-new .fc-public-nav a {
    color: rgba(17, 24, 39, 0.72);
}

.landing-page-new .fc-public-nav a:hover {
    color: rgba(17, 24, 39, 0.95);
}

.landing-page-new .fc-public-actions .btn-outline-primary {
    background: #ffffff;
    color: rgba(17, 24, 39, 0.92);
    border: 1px solid rgba(17, 24, 39, 0.14);
    box-shadow: none;
}

.landing-page-new .fc-public-actions .btn-outline-primary:hover {
    background: rgba(17, 24, 39, 0.04);
    border-color: rgba(17, 24, 39, 0.22);
    transform: translateY(-1px);
}

.landing-page-new .fc-public-actions #login-btn.btn-primary {
    background: rgba(17, 24, 39, 0.92);
    border: 1px solid rgba(17, 24, 39, 0.92);
    box-shadow: 0 6px 18px rgba(17, 24, 39, 0.18);
}

.landing-page-new .fc-public-actions #login-btn.btn-primary:hover {
    background: rgba(17, 24, 39, 0.98);
    box-shadow: 0 8px 20px rgba(17, 24, 39, 0.22);
}

.landing-page-new .fc-public-actions #login-btn.btn-primary:focus-visible,
.landing-page-new .fc-public-actions .btn-outline-primary:focus-visible,
.landing-page-new #discover-cta.btn-lg:focus-visible {
    box-shadow: 0 0 0 3px var(--focus-ring-strong);
}

@media (max-width: 640px) {
    .landing-page-new #discover-cta.btn-lg {
        width: min(92vw, 520px);
        min-width: 0;
        padding: 0.7rem 0.75rem 0.7rem 1.25rem;
        font-size: 1.05rem;
    }
    .landing-page-new #discover-cta.btn-lg .fc-ctaArrow {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
    }
    .landing-page-new #discover-cta.btn-lg .fc-ctaArrow svg {
        width: 20px;
        height: 20px;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.btn-outline-dark {
    background: white;
    color: var(--text-primary);
    border: 2px solid var(--border);
}

.btn-outline-dark:hover {
    background: var(--bg-secondary);
    border-color: var(--text-primary);
}

.btn-outline-primary {
    background: rgba(47, 65, 86, 0.02);
    color: var(--primary);
    border: 1.5px solid rgba(47, 65, 86, 0.4);
    box-shadow: 0 2px 8px rgba(47, 65, 86, 0.04);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-outline-primary:hover {
    background: var(--primary);
    color: white;
    box-shadow: 0 8px 20px rgba(47, 65, 86, 0.15);
    border-color: var(--primary);
    transform: translateY(-2px);
}

/* Landing Page Sections */
.landing-section {
    padding: 10rem 2rem;
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
}

.landing-section-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 4rem;
    color: #1a1a2e;
    letter-spacing: -0.022em;
    line-height: 1.1;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 6rem;
    align-items: start;
}

.about-content {
    max-width: 800px;
}

.about-text {
    font-size: 1.35rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

.about-list {
    list-style: none;
    padding: 0;
    margin: 0 0 4rem 0;
}

.about-list li {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    font-size: 1.2rem;
    color: var(--text-primary);
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.about-list li::before {
    content: "✓";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: rgba(0, 0, 0, 0.04);
    color: var(--primary);
    border-radius: 50%;
    font-size: 0.95rem;
    font-weight: bold;
}

.about-footer {
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--text-primary);
    border-left: 4px solid var(--primary);
    padding-left: 2rem;
    line-height: 1.4;
    letter-spacing: -0.01em;
}

.about-modal-content {
    max-width: 800px !important;
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    animation: modalScaleIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
    max-height: 90vh !important;
    overflow: hidden !important;
}

.about-modal-content .modal-header {
    padding: 1rem 1.5rem;
}

.about-modal-content .modal-body {
    padding: 1rem 1.5rem 1.5rem 1.5rem;
}

.flows-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 1rem;
}

.flow-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 2rem;
    border-bottom: 2px solid rgba(0, 0, 0, 0.06);
    padding-bottom: 0.75rem;
}

.step-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.step-number {
    width: 32px;
    height: 32px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.step-content h4 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.step-content p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.modal-footer-note {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.03);
    border-radius: 0.75rem;
    color: var(--text-primary);
    font-weight: 500;
    text-align: center;
    font-size: 1.1rem;
}

.faqs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 1rem;
}

.faq-item {
    margin-bottom: 2rem;
    padding-left: 1.25rem;
    border-left: 2px solid rgba(0, 0, 0, 0.08);
    transition: border-color 0.3s ease;
}

.faq-item:hover {
    border-left-color: var(--primary);
}

.faq-question {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.faq-answer {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

@keyframes modalScaleIn {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(10px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@media (max-width: 968px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .landing-section-title {
        font-size: 2.5rem;
    }
}

/* Old Landing Page Styles (kept for backward compatibility) */
.landing-page {
    min-height: 100vh;
    background: linear-gradient(135deg, #2F4156 0%, #3d5269 100%);
    display: flex;
    flex-direction: column;
}

.landing-header {
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.landing-hero {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    text-align: center;
    color: white;
}

.landing-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.landing-hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
}

.landing-cta {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.landing-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 2rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.feature-card p {
    opacity: 0.9;
}

/* Buttons */
.btn {
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-sm);
    font-weight: var(--font-weight-medium);
    cursor: pointer;
    transition: all 0.2s var(--ease-apple);
    border: none;
    font-size: 1rem;
    text-decoration: none;
    display: inline-block;
    letter-spacing: var(--tracking-body);
}

.btn-primary {
    background: var(--primary);
    color: white !important;
    box-shadow: 0 4px 12px rgba(47, 65, 86, 0.15);
    transition: all 0.25s var(--ease-apple);
    border: none;
    font-weight: var(--font-weight-semibold);
}

.btn-primary:hover {
    background: var(--primary-dark, #1a2a3a);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(47, 65, 86, 0.25);
    color: white !important;
}

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

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

.btn-outline {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.btn-outline:hover {
    background: white;
    color: var(--primary);
}

.btn-ghost {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid transparent;
}

.btn-ghost:hover {
    background: var(--bg-secondary);
}

.landing-page .btn-ghost {
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.landing-page .btn-ghost:hover {
    border-color: white;
    background: rgba(255, 255, 255, 0.1);
}

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

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

.btn-outline-danger:hover {
    background: var(--danger);
    color: white;
}

.team-member-row {
    animation: slideUp 0.3s ease-out;
}

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

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

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    animation: fadeIn 0.2s;
}

.modal {
    background: var(--bg-primary);
    border-radius: 1rem;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
    animation: slideUp 0.3s;
}

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

.modal-header h2 {
    font-size: 1.5rem;
    font-weight: 600;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-secondary);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.25rem;
}

.modal-close:hover {
    background: var(--bg-secondary);
}

.modal-body {
    padding: 1.5rem;
}

.modal-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.checkbox-label:hover {
    background: var(--bg-secondary);
    border-color: var(--primary) !important;
}

.checkbox-label input[type="checkbox"]:checked + span {
    color: var(--primary);
}

.checkbox-label input[type="checkbox"]:checked {
    accent-color: var(--primary);
}

.checkbox-label:has(input[type="checkbox"]:checked) {
    background: rgba(0, 0, 0, 0.04);
    border-color: var(--primary) !important;
}

/* Checkbox Cards */
.checkbox-card {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1rem;
    border: 2px solid var(--border);
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.2s;
    background: var(--bg-primary);
    position: relative;
}

.checkbox-card input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkbox-card-text {
    font-weight: 600;
    color: var(--text-primary);
    text-align: center;
    transition: color 0.2s;
}

.checkbox-card:hover {
    border-color: var(--primary);
    background: var(--bg-secondary);
}

.checkbox-card:has(input[type="checkbox"]:checked) {
    border-color: var(--primary);
    background: rgba(0, 0, 0, 0.04);
}

.checkbox-card:has(input[type="checkbox"]:checked) .checkbox-card-text {
    color: var(--primary);
    font-weight: 600;
}

.checkbox-card:has(input[type="checkbox"]:checked)::after {
    content: "✓";
    position: absolute;
    top: 0.25rem;
    right: 0.5rem;
    color: var(--primary);
    font-weight: bold;
    font-size: 0.875rem;
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    font-size: 1rem;
    letter-spacing: 0;
    transition: all 0.2s;
    font-family: inherit;
    background-color: var(--bg-primary);
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7280' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 12px;
    padding-right: 2.5rem;
    cursor: pointer;
    font-weight: 500;
    color: var(--text-primary);
}

.form-select:hover {
    border-color: var(--primary);
    background-color: var(--bg-secondary);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: rgba(17, 24, 39, 0.30);
    box-shadow: 0 0 0 2px rgba(17, 24, 39, 0.10);
    background-color: #fff;
}

.fc-founder-onboarding-form .form-input,
.fc-founder-onboarding-form .form-textarea,
.fc-founder-onboarding-form .form-select {
    background-color: #fff;
}

.fc-founder-onboarding-form .form-input:focus,
.fc-founder-onboarding-form .form-textarea:focus,
.fc-founder-onboarding-form .form-select:focus {
    border-color: rgba(17, 24, 39, 0.18);
    box-shadow: 0 0 0 1px rgba(17, 24, 39, 0.08);
    background-color: #fff;
}

.fc-founder-onboarding-form .form-input:-webkit-autofill,
.fc-founder-onboarding-form .form-input:-webkit-autofill:hover,
.fc-founder-onboarding-form .form-input:-webkit-autofill:focus,
.fc-founder-onboarding-form .form-textarea:-webkit-autofill,
.fc-founder-onboarding-form .form-textarea:-webkit-autofill:hover,
.fc-founder-onboarding-form .form-textarea:-webkit-autofill:focus {
    -webkit-text-fill-color: var(--text-primary);
    -webkit-box-shadow: 0 0 0 1000px #fff inset;
    transition: background-color 9999s ease-out 0s;
}

.password-field {
    position: relative;
}

.password-field .form-input {
    padding-right: 3rem;
}

.password-toggle-btn {
    position: absolute;
    top: 50%;
    right: 0.55rem;
    transform: translateY(-50%);
    width: 2rem;
    height: 2rem;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    border-radius: 0.375rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: color 0.15s ease, background-color 0.15s ease;
}

.password-toggle-btn:hover {
    color: var(--text-primary);
    background-color: var(--bg-secondary);
}

.password-toggle-btn:focus-visible {
    outline: none;
    color: var(--text-primary);
    box-shadow: 0 0 0 3px rgba(47, 65, 86, 0.2);
}

.password-icon {
    width: 1.1rem;
    height: 1.1rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    vector-effect: non-scaling-stroke;
    pointer-events: none;
}

.form-select option {
    padding: 0.5rem;
    background-color: var(--bg-primary);
    color: var(--text-primary);
}

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

.form-select:valid {
    color: var(--text-primary);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.form-help {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
}

.input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.input-with-icon .input-icon-wrap {
    position: absolute;
    left: 0.75rem;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    pointer-events: none;
}

.input-with-icon .input-icon-wrap-right {
    position: absolute;
    right: 0.75rem;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    pointer-events: none;
}

.input-with-icon .input-icon {
    width: 18px;
    height: 18px;
}

.input-with-icon .form-input {
    padding-left: 3.25rem;
}

.input-with-icon .form-input-with-suffix {
    padding-right: 3.25rem;
    padding-left: 0.75rem;
}

.form-error {
    color: var(--danger);
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Container */
.container {
    max-width: 95%;
    margin: 0 auto;
    padding: 2rem;
}

.container-sm {
    max-width: 800px;
}

/* Cards */
.card {
    background: var(--bg-primary);
    border-radius: 0.75rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.1);
}

.card.no-hover:hover {
    transform: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
    border-color: rgba(0, 0, 0, 0.05);
}

/* Minimal search widget (Founder Dashboard) */
.fc-search-widget {
    border: 1px solid var(--border);
}

.fc-search-widget .card-body {
    padding: 1.25rem 1.5rem;
}

.fc-search-widget__header {
    margin-bottom: 0.75rem;
}

.fc-search-widget__title {
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: -0.015em;
    line-height: 1.3;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.fc-search-widget__subtitle {
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: var(--font-weight-regular);
    line-height: 1.4;
}

.fc-search-widget__form {
    margin: 0;
}

.fc-search-widget__inputWrap {
    position: relative;
    width: 100%;
}

.fc-search-widget__icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.125rem;
    pointer-events: none;
    user-select: none;
    opacity: 0.4;
}

.fc-search-widget__input {
    width: 100%;
    height: 48px;
    padding: 0 1rem 0 2.75rem;
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    background: #ffffff;
    color: var(--text-primary);
    font-size: 0.9375rem;
    transition: all 0.2s ease;
}

.fc-search-widget__input:focus {
    outline: none;
    border-color: rgba(17, 24, 39, 0.28);
    box-shadow: 0 0 0 3px rgba(17, 24, 39, 0.08);
}

.fc-search-widget__input:hover {
    border-color: rgba(47, 65, 86, 0.3);
}

@media (max-width: 520px) {
    .fc-search-widget .card-body {
        padding: 1rem;
    }
}

/* Minimal search bar (Founder Dashboard) */
.fc-searchbar {
    margin: 0;
}

.fc-searchbar__row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.fc-searchbar__input {
    flex: 1;
    height: 44px;
    padding: 0 0.95rem;
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    background: #ffffff;
    color: var(--text-primary);
    font-size: 0.95rem;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.fc-searchbar__input:focus {
    outline: none;
    border-color: rgba(17, 24, 39, 0.28);
    box-shadow: 0 0 0 3px rgba(17, 24, 39, 0.08);
}

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

.fc-searchbar__btn {
    height: 44px;
    padding: 0 1.15rem;
    border-radius: 0.5rem;
    font-weight: 700;
}

.fc-searchbar__results {
    margin-top: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.fc-searchbar__result {
    display: block;
    text-decoration: none;
    color: inherit;
    padding: 0.55rem 0.4rem;
    border-radius: 0.5rem;
}

.fc-searchbar__result:hover {
    background: rgba(0, 0, 0, 0.03);
}

.fc-searchbar__resultTitle {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-primary);
    line-height: 1.25;
}

.fc-searchbar__resultMeta {
    margin-top: 0.15rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.25;
}

.fc-searchbar__empty {
    padding: 0.55rem 0.4rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

@media (max-width: 520px) {
    .fc-searchbar__row {
        flex-direction: column;
        align-items: stretch;
        gap: 0.6rem;
    }
    .fc-searchbar__btn {
        width: 100%;
    }
}

/* Startup card views badge (X-like) */
.startup-card {
    position: relative;
}

.startup-card.has-views-badge .card-body {
    padding-bottom: 2.75rem; /* space so the badge never overlaps content/buttons */
}

.card-views-badge {
    position: absolute;
    right: 12px;
    bottom: 12px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #71767b; /* Grey color matching X.com metrics */
    font-size: 0.85rem;
    font-weight: var(--font-weight-regular);
    line-height: 1;
    pointer-events: none; /* don't block card clicks */
}

.card-views-badge svg {
    color: #71767b;
}

.card-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
}

.card-body {
    padding: 1.75rem;
}

.card-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--border);
    background: var(--bg-secondary);
}

.unread-dot {
    width: 8px;
    height: 8px;
    background-color: #1D9BF0;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}
.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1200px) {
    .grid-4 { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 992px) {
    .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid { gap: 1.5rem; }
}

@media (max-width: 640px) {
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .grid { gap: 1rem; }
}

/* Welcome page top controls */
.welcome-topbar {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 1.35rem;
}

.welcome-topbar-copy {
    min-width: 0;
    flex: 1 1 auto;
}

.welcome-topbar-title {
    font-size: clamp(3rem, 3.5vw, 3.9rem);
    line-height: 1.05;
    font-weight: 850;
    letter-spacing: -0.03em;
    margin: 0 0 0.6rem 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.welcome-topbar-subtitle {
    color: var(--text-secondary);
    font-size: 1.2rem;
    line-height: 1.5;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.welcome-topbar-actions {
    flex: 0 1 760px;
    width: min(100%, 760px);
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 0.75rem;
}

.welcome-topbar-searchWrap {
    position: relative;
    flex: 1 1 560px;
    min-width: 360px;
}

.welcome-topbar-searchIcon {
    position: absolute;
    left: 0.95rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1.05rem;
    height: 1.05rem;
    color: rgba(17, 24, 39, 0.42);
    pointer-events: none;
}

.welcome-topbar-searchInput {
    width: 100%;
    height: 48px;
    border-radius: 999px;
    border: 1px solid rgba(17, 24, 39, 0.12);
    background: #ffffff;
    color: var(--text-primary);
    font-size: 0.97rem;
    font-weight: 600;
    padding: 0.65rem 1rem 0.65rem 2.65rem;
    letter-spacing: 0;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.welcome-topbar-searchInput:hover {
    border-color: rgba(17, 24, 39, 0.18);
    background: rgba(255, 255, 255, 0.98);
}

.welcome-topbar-searchInput:focus-visible {
    outline: none;
    border-color: rgba(17, 24, 39, 0.26);
    box-shadow: 0 0 0 4px var(--focus-ring);
}

.welcome-topbar-cta {
    padding: 0.75rem 1.15rem;
    font-weight: 800;
    white-space: nowrap;
}

.welcome-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.welcome-slider-wrapper {
    position: relative;
    margin-bottom: 3.5rem;
}

.welcome-slider-container {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    gap: 1.5rem;
    padding: 1rem 0.25rem;
    margin: -1rem 0;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.welcome-slider-container::-webkit-scrollbar {
    display: none;
}

.welcome-slider-container > .card {
    flex: 0 0 400px;
    scroll-snap-align: start;
    height: auto;
}

.welcome-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--text-primary);
}

.welcome-slider-arrow:hover {
    background: #f8fafc;
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.welcome-slider-arrow.prev {
    left: -24px;
}

.welcome-slider-arrow.next {
    right: -24px;
}

@media (max-width: 1240px) {
    .welcome-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .welcome-slider-container > .card {
        flex: 0 0 360px;
    }
}

@media (max-width: 768px) {
    .welcome-grid {
        grid-template-columns: 1fr;
    }
    .welcome-slider-container > .card {
        flex: 0 0 300px;
    }
    .welcome-slider-arrow {
        display: none;
    }
}

.welcome-startups-empty {
    margin: 0 0 2.25rem;
    padding: 1.15rem 1.25rem;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: #ffffff;
    color: var(--text-secondary);
    font-size: 0.98rem;
}

.welcome-search-info {
    margin: 0 0 1.5rem;
    padding: 0.85rem 1rem;
    color: var(--text-secondary);
    font-size: 1.15rem;
    font-weight: 700;
    border-radius: 14px;
    background: rgba(15, 23, 42, 0.03);
    border: 1px dashed rgba(15, 23, 42, 0.08);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

#welcome-search-term {
    color: var(--text-primary);
    font-style: italic;
    opacity: 0.85;
}

#welcome-search-count {
    color: var(--text-primary);
    font-weight: 900;
}

.welcome-footer {
    margin-top: 2.5rem;
    padding: 2rem 0 0.35rem;
}

.welcome-footer-grid {
    display: grid;
    width: min(100%, 1100px);
    margin: 0 auto;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr) minmax(0, 1.2fr) minmax(0, 0.75fr) minmax(0, 1fr);
    gap: clamp(1rem, 2vw, 2.25rem);
    align-items: start;
    justify-content: center;
}

.welcome-footer-section-spacer {
    height: 1.25rem;
}

.welcome-footer-brand h3,
.welcome-footer-heading {
    margin: 0;
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 0.5rem 0;
    font-size: 1rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.welcome-footer-brand p {
    margin: 0.75rem 0 0;
    max-width: 42ch;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.62;
}

.welcome-footer-column {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    min-width: 0;
    width: 100%;
}

.welcome-footer-column--brand {
    gap: 0.9rem;
}

.welcome-footer-socials {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    padding-top: 0.1rem;
}

.welcome-footer-column--brand .welcome-footer-brand p,
.welcome-footer-column .welcome-footer-aboutText {
    max-width: none;
}

.welcome-footer-column a,
.welcome-footer-linkBtn {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 0;
    border: 0;
    background: transparent;
    color: rgba(15, 23, 42, 0.82);
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.5;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.15s ease, transform 0.15s ease;
}

.welcome-footer-column a:hover,
.welcome-footer-linkBtn:hover {
    color: var(--text-primary);
    transform: translateX(1px);
}

.welcome-footer-column a:focus-visible,
.welcome-footer-linkBtn:focus-visible {
    outline: none;
    border-radius: 4px;
    box-shadow: 0 0 0 4px var(--focus-ring);
}

.welcome-footer-aboutText {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.62;
}

.welcome-footer-socialLink {
    gap: 0.55rem;
    margin-top: 0;
}

.welcome-footer-socialLink svg {
    width: 1rem;
    height: 1rem;
    fill: currentColor;
    opacity: 0.82;
}

.welcome-feedback-card {
    margin-top: 0;
    padding: 0;
    border: none;
    border-radius: 16px;
    background: transparent;
    box-shadow: none;
    min-width: 0;
    width: 100%;
}

.welcome-feedback-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: none;
    border: none;
    padding: 0.5rem 0;
    cursor: pointer;
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 800;
    transition: opacity 0.2s ease;
}

.welcome-feedback-toggle:hover {
    opacity: 0.7;
}

.welcome-feedback-toggle svg {
    width: 10px;
    height: 10px;
    transition: transform 0.2s ease;
}

.welcome-feedback-toggle.is-active svg {
    transform: rotate(180deg);
}

.welcome-feedback-content {
    padding: 1rem;
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.04);
    margin-top: 0.5rem;
}

.welcome-feedback-alert {
    margin-top: 0;
    margin-bottom: 0.9rem;
    padding: 0.8rem 0.9rem;
    border-radius: 12px;
    font-size: 0.9rem;
    line-height: 1.45;
}

.welcome-feedback-alert--success {
    border: 1px solid rgba(16, 185, 129, 0.2);
    background: rgba(16, 185, 129, 0.08);
    color: #047857;
}

.welcome-feedback-alert--error {
    border: 1px solid rgba(239, 68, 68, 0.18);
    background: rgba(239, 68, 68, 0.08);
    color: #b91c1c;
}

.welcome-feedback-form {
    margin-top: 0.95rem;
}

.welcome-feedback-form textarea {
    width: 100%;
    min-height: 118px;
    resize: vertical;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 12px;
    background: #ffffff;
    color: var(--text-primary);
    padding: 0.85rem 0.95rem;
    font: inherit;
    line-height: 1.55;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.welcome-feedback-prompt {
    width: 100%;
    min-height: 118px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 12px;
    background: #ffffff;
    color: rgba(47, 65, 86, 0.65);
    padding: 0.85rem 0.95rem;
    font: inherit;
    line-height: 1.55;
    cursor: text;
    text-align: left;
    display: block;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.welcome-feedback-prompt:hover {
    border-color: rgba(15, 23, 42, 0.2);
}

.welcome-feedback-prompt:focus {
    outline: none;
    border-color: rgba(15, 23, 42, 0.2);
    box-shadow: 0 0 0 4px rgba(15, 23, 42, 0.08);
}

.welcome-feedback-form textarea::placeholder {
    color: rgba(47, 65, 86, 0.65);
}

.welcome-feedback-form textarea:focus {
    outline: none;
    border-color: rgba(15, 23, 42, 0.2);
    box-shadow: 0 0 0 4px rgba(15, 23, 42, 0.08);
}

.welcome-feedback-form__footer {
    margin-top: 0.8rem;
    display: flex;
    gap: 0.9rem;
    align-items: center;
    justify-content: space-between;
}

.welcome-feedback-form__footer span {
    color: var(--text-light);
    font-size: 0.82rem;
    line-height: 1.45;
}

.welcome-feedback-form__footer .btn {
    flex-shrink: 0;
}

.welcome-footer-bottom {
    margin-top: 2rem;
    padding: 1.5rem 0;
    text-align: center;
}

.welcome-footer-copyright {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 1200px) {
    .welcome-topbar {
        flex-direction: column;
        align-items: stretch;
    }

    .welcome-topbar-actions {
        width: 100%;
        max-width: none;
        justify-content: flex-start;
    }

    .welcome-footer-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .welcome-topbar-title {
        font-size: clamp(2.4rem, 9vw, 3.2rem);
    }

    .welcome-topbar-subtitle {
        white-space: normal;
    }

    .welcome-topbar-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .welcome-topbar-searchWrap {
        min-width: 0;
        flex-basis: auto;
    }

    .welcome-topbar-cta {
        width: 100%;
        text-align: center;
    }

    .welcome-footer {
        margin-top: 2rem;
        padding-top: 1.65rem;
    }

    .welcome-footer-grid {
        grid-template-columns: 1fr;
        gap: 1.4rem;
    }

    .welcome-footer-brand p {
        max-width: none;
    }

    .welcome-feedback-form__footer {
        flex-direction: column;
        align-items: stretch;
    }

    .welcome-feedback-form__footer .btn {
        width: 100%;
    }
}

/* Investor dashboard: Featured Startups carousel */
.fc-featured-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.fc-featured-controls {
    display: inline-flex;
    gap: 0.5rem;
    align-items: center;
}

.fc-featured-arrow {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: #ffffff;
    color: var(--text-primary);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.fc-featured-arrow:hover {
    background: rgba(47, 65, 86, 0.04);
    border-color: rgba(47, 65, 86, 0.18);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
}

.fc-featured-arrow:focus-visible {
    outline: none;
    box-shadow: 0 0 0 4px var(--focus-ring);
}

.fc-featured-carousel {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    overflow-y: visible;
    padding: 0.25rem 0 0.75rem;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scroll-padding-left: 1px;
    scroll-padding-right: 1px;
}

.fc-featured-card {
    flex: 0 0 clamp(320px, 34vw, 420px);
    scroll-snap-align: start;
}

@media (max-width: 768px) {
    .fc-featured-controls { display: none; }
    .fc-featured-carousel { gap: 1rem; }
    .fc-featured-card { flex-basis: min(88vw, 420px); }
}

/* Progress Bar */
.progress-bar {
    height: 8px;
    background: var(--bg-tertiary);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 2rem;
}

.progress-fill {
    height: 100%;
    background: var(--primary);
    transition: width 0.3s;
}

/* Badges */
.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.stage-indicator {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: none !important;
    border: none !important;
    padding: 0 !important;
    color: var(--primary);
}

.badge-primary {
    background: rgba(0, 0, 0, 0.06);
    color: var(--primary);
}

.badge-secondary {
    background: #f1f5f9;
    color: var(--text-secondary);
    border: 1px solid var(--border);
}

.badge-success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

.badge-warning {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning);
}

.badge-danger {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Notification Toasts & Panel */
.notification-toast {
    position: fixed;
    top: 1rem;
    right: 1.5rem;
    width: 420px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    z-index: 3000;
    padding: 0.875rem 1.25rem;
    display: flex;
    gap: 1rem;
    align-items: center;
    animation: toastIn 0.5s cubic-bezier(0.16, 1, 0.3, 1), toastOut 0.5s cubic-bezier(0.16, 1, 0.3, 1) 4.5s forwards;
    pointer-events: auto;
}

.notification-btn.pulse svg {
    animation: bellPulse 0.5s ease-in-out 3;
}

@keyframes bellPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); color: var(--primary); }
    100% { transform: scale(1); }
}

@keyframes toastIn {
    from { transform: translateY(-100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes toastOut {
    from { transform: translateY(0); opacity: 1; }
    to { transform: translateY(-100%); opacity: 0; pointer-events: none; }
}

.notification-toast-icon {
    width: 32px;
    height: 32px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--primary);
}

.notification-toast-content {
    flex: 1;
}

.notification-toast-title {
    font-weight: 700;
    font-size: 0.9375rem;
    color: var(--text-primary);
    margin-bottom: 0.125rem;
}

.notification-toast-message {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.notification-panel {
    position: fixed;
    top: 64px;
    right: 0;
    width: 400px;
    height: calc(100vh - 64px);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-left: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 
        -8px 0 32px rgba(0, 0, 0, 0.06),
        -2px 0 8px rgba(0, 0, 0, 0.02),
        inset 1px 0 0 rgba(255, 255, 255, 0.6);
    z-index: 1500;
    transform: translateX(105%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    will-change: transform, opacity;
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.18s ease, visibility 0s linear 0.28s;
}

.notification-panel.open {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.18s ease, visibility 0s linear 0s;
}

@media (prefers-reduced-motion: reduce) {
    .notification-panel {
        transition: none !important;
    }

    .notification-btn::after {
        transition: none !important;
    }
}

@keyframes slideFromRight {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(0);
    }
}

.notification-header {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.2);
}

.notification-list {
    overflow-y: auto;
    height: calc(100% - 70px);
}

.notification-item {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    cursor: pointer;
    transition: background 0.2s;
}

.notification-item:hover {
    background: rgba(0, 0, 0, 0.03);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.notification-item.unread {
    background: rgba(99, 102, 241, 0.05);
}

.notification-time {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-top: 0.25rem;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        gap: 1rem;
    }
    
    .nav-link span {
        display: none;
    }
    
    .landing-nav {
        padding: 1rem 1.5rem;
        display: flex; /* Back to flex for mobile to simplify */
        justify-content: space-between;
        column-gap: 0;
    }
    
    .landing-nav-center {
        display: none;
    }
    
    .landing-nav-links {
        display: none;
    }
    
    .landing-hero-new h1 {
        font-size: 4rem;
    }
    
    .landing-subtitle {
        font-size: 1.25rem;
        max-width: 640px;
        white-space: normal;
    }
    
    .landing-cta-new {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
    }
    
    .landing-hero h1 {
        font-size: 2rem;
    }
    
    .landing-hero p {
        font-size: 1rem;
    }
    
    .landing-cta {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
    }
    
    .notification-panel {
        width: 100%;
    }
    
    .container {
        padding: 1rem;
    }
}

/* Step Forms */
.step-indicator {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.step {
    flex: 1;
    text-align: center;
    padding: 1rem;
    position: relative;
}

.step::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -50%;
    width: 100%;
    height: 2px;
    background: var(--border);
    z-index: -1;
}

.step:last-child::after {
    display: none;
}

.step.active {
    color: var(--primary);
}

.step.completed {
    color: var(--success);
}

/* Tables */
table {
    border-collapse: collapse;
    width: 100%;
}

th {
    font-weight: 600;
    text-align: left;
    padding: 0.75rem;
    background: var(--bg-secondary);
}

td {
    padding: 0.75rem;
    border-bottom: 1px solid var(--border);
}

/* Hover Effects */
.hover-lift {
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.hover-lift:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08) !important;
}

.match-score-badge {
    background: rgba(16, 185, 129, 0.08);
    padding: 0.4rem 0.6rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(16, 185, 129, 0.1);
    text-align: center;
}

.match-score-value {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--success);
    line-height: 1;
}

.match-score-label {
    font-size: 0.65rem;
    color: var(--success);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin-top: 0.1rem;
}

/* Loading Spinner */
.spinner {
    border: 3px solid var(--border);
    border-top: 3px solid var(--primary);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-secondary);
}

.empty-state-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

/* Global hidden scrollbars (keep scroll behavior, hide chrome) */
* {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

*::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
}

/* Live Indicator */
.live-indicator {
    width: 10px;
    height: 10px;
    background: var(--success);
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

/* Back Button */
.back-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    border-radius: 0.5rem;
    transition: all 0.2s;
    margin-bottom: 1rem;
}

/* Public profile polish */
.fc-public-profileTop {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.fc-public-profileTop .back-button {
    margin-bottom: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid rgba(17, 24, 39, 0.10);
    backdrop-filter: blur(16px) saturate(160%);
}

.fc-public-profileTop .back-button:hover {
    background: rgba(255, 255, 255, 0.82);
    color: rgba(17, 24, 39, 0.92);
}

.back-button:hover {
    background: var(--bg-secondary);
    color: var(--primary);
}

.back-button svg {
    transition: transform 0.2s;
}

.back-button:hover svg {
    transform: translateX(-2px);
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.w-full { width: 100%; }

/* Admin Dashboard Styles */
/* Admin Layout Utilities (admin-only; opt-in via classes) */
.container.container-full {
    max-width: none;
    width: 100%;
    margin: 0;
    padding: 0;
    padding-inline: clamp(16px, 3vw, 40px);
}

.admin-page {
    padding-top: 2rem;
    padding-bottom: 4rem;
}

.admin-page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.admin-page-header-left {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 0;
}

.admin-page-title {
    margin: 0;
    font-size: 2.15rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: var(--text-primary);
}

.admin-section-heading {
    margin: 0 0 1.25rem 0;
    font-size: 1.65rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.15;
    color: var(--text-primary);
}

.admin-subsection-heading {
    margin: 0 0 1rem 0;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--text-primary);
}

.admin-grid-gap-xl {
    gap: 2.5rem;
}

.admin-text-muted { color: var(--text-secondary); }
.admin-text-light { color: var(--text-light); }
.admin-text-sm { font-size: 0.8125rem; }
.admin-text-xs { font-size: 0.75rem; }

/* Admin filter layout (Moderation) */
.admin-filters-form {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr auto;
    gap: 1rem;
    align-items: end;
}

.admin-filters-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: stretch;
}

.admin-filters-actions .btn {
    width: 100%;
}

.admin-filters-actions .btn-ghost {
    display: block;
    text-align: center;
}

@media (max-width: 900px) {
    .admin-filters-form {
        grid-template-columns: 1fr 1fr;
    }
    .admin-filters-actions {
        grid-column: 1 / -1;
        flex-direction: row;
        justify-content: flex-end;
        align-items: center;
    }
    .admin-filters-actions .btn {
        width: auto;
    }
}

@media (max-width: 520px) {
    .admin-filters-form {
        grid-template-columns: 1fr;
    }
    .admin-filters-actions {
        justify-content: stretch;
    }
    .admin-filters-actions .btn {
        width: 100%;
    }
}

/* Reusable textarea styling for admin modals */
.fc-textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    font-family: inherit;
    font-size: 0.9375rem;
    resize: vertical;
    line-height: 1.5;
    background: var(--bg-primary);
}

.fc-textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(47, 65, 86, 0.1);
}

.fc-help {
    font-size: 0.75rem;
    color: var(--text-light);
    margin-top: 0.25rem;
}

.admin-page-header .back-button {
    margin-bottom: 0;
}

.card-body-flush {
    padding: 0;
}

.admin-page-subtitle {
    margin: 0.4rem 0 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}

.admin-feedback-flash {
    margin-bottom: 1rem;
    padding: 0.875rem 1rem;
    border: 1px solid rgba(16, 185, 129, 0.25);
    background: rgba(16, 185, 129, 0.08);
    color: var(--text-primary);
    border-radius: 12px;
}

.admin-feedback-flash__title {
    font-weight: 700;
}

.admin-feedback-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.admin-feedback-statLabel {
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.admin-feedback-statValue {
    margin-top: 0.4rem;
    color: var(--text-primary);
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
}

.admin-feedback-statMeta {
    margin-top: 0.4rem;
    color: var(--text-light);
    font-size: 0.85rem;
}

.admin-feedback-empty {
    padding: 2.5rem 1.5rem;
    text-align: center;
}

.admin-feedback-empty h2 {
    margin: 0;
    font-size: 1.15rem;
    color: var(--text-primary);
}

.admin-feedback-empty p {
    margin: 0.6rem auto 0;
    max-width: 40ch;
    color: var(--text-secondary);
    line-height: 1.6;
}

.admin-feedback-list {
    display: flex;
    flex-direction: column;
}

.admin-feedback-item {
    padding: 1.4rem 1.5rem;
    border-top: 1px solid var(--border);
}

.admin-feedback-item:first-child {
    border-top: 0;
}

.admin-feedback-item__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.admin-feedback-item__name {
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 700;
}

.admin-feedback-item__meta {
    margin-top: 0.4rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.5;
}

.admin-feedback-item__actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.admin-feedback-reviewBtn {
    min-height: auto;
    padding: 0.65rem 0.9rem;
}

.admin-feedback-item__message {
    margin-top: 1rem;
    color: var(--text-primary);
    font-size: 0.95rem;
    line-height: 1.7;
    white-space: pre-wrap;
}

.admin-feedback-pagination {
    padding: 1.25rem 1.5rem 1.5rem;
    border-top: 1px solid var(--border);
}

.admin-required {
    color: var(--danger);
}

.admin-matrix-col-name { width: 20%; }
.admin-matrix-col-email { width: 18%; }
.admin-matrix-col-type { width: 10%; }
.admin-matrix-col-details { width: 25%; }
.admin-matrix-col-time { width: 12%; }
.admin-matrix-col-verified { width: 10%; }
.admin-matrix-col-actions { width: 5%; }

.admin-matrix-name-primary {
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.admin-matrix-name-secondary {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
}

.admin-table-empty-cell {
    text-align: center;
    padding: 3rem;
}

.admin-table-pagination {
    padding: 1.5rem;
    border-top: 1px solid var(--border);
}

.inline-form { display: inline; }
.block-form { display: block; }

.admin-kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
}

.admin-kpi-card {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    padding: 1.5rem;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.admin-kpi-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.admin-kpi-card:hover {
    box-shadow: var(--shadow-md);
    border-color: rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.admin-kpi-card:hover::before {
    opacity: 1;
}

.admin-kpi-label {
    color: var(--text-secondary);
    font-size: 0.8125rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.4;
}

.admin-kpi-value {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.admin-kpi-subtext {
    font-size: 0.75rem;
    color: var(--text-light);
    margin-top: 0.25rem;
}

.admin-tabs {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem;
    border-radius: 0.85rem;
    background: rgba(47, 65, 86, 0.06);
    border: 1px solid rgba(17, 24, 39, 0.10);
    margin-bottom: 1.25rem;
}

.admin-tab {
    padding: 0.6rem 1rem;
    background: transparent;
    border: 0;
    color: var(--text-secondary);
    font-weight: 650;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
    border-radius: 0.7rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
}

.admin-tab:hover {
    color: var(--text-primary);
    background: rgba(47, 65, 86, 0.07);
}

.admin-tab.active {
    color: var(--text-primary);
    background: var(--bg-primary);
    box-shadow: 0 1px 2px rgba(0,0,0,0.06);
}

.admin-tab-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.06);
    color: var(--text-secondary);
    font-size: 0.7rem;
    padding: 0.15rem 0.45rem;
    border-radius: 6px;
    margin-left: 0.5rem;
    font-weight: 700;
    line-height: 1;
}

.admin-tab.active .admin-tab-badge {
    background: rgba(47, 65, 86, 0.10);
    color: var(--text-primary);
}

.admin-approval-item {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    padding: 1.25rem;
    margin-bottom: 1rem;
    transition: all 0.2s ease;
}

.admin-approval-item:hover {
    box-shadow: var(--shadow-sm);
    border-color: rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
}

.admin-approval-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.75rem;
    gap: 1rem;
}

.admin-approval-title {
    font-weight: 600;
    font-size: 1.125rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.admin-approval-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-top: 0.5rem;
    line-height: 1.5;
}

.admin-approval-meta-item {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.admin-approval-description {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-top: 0.5rem;
    line-height: 1.5;
}

.admin-approval-time {
    color: var(--text-light);
    font-size: 0.8125rem;
    margin-top: 0.5rem;
    display: block;
}

.admin-approval-actions {
    display: flex;
    gap: 0.625rem;
    margin-top: 1.25rem;
    flex-wrap: wrap;
}

/* When actions live in the header (top-right) */
.admin-approval-header .admin-approval-actions {
    margin-top: 0;
    justify-content: flex-end;
    align-items: center;
    flex-shrink: 0;
}

.admin-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.375rem 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    line-height: 1.2;
}

.admin-badge-success {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
}

.admin-badge-warning {
    background: rgba(245, 158, 11, 0.1);
    color: #d97706;
}

.admin-badge-danger {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
}

.admin-badge-info {
    background: rgba(0, 0, 0, 0.06);
    color: var(--primary);
}

/* Uniform chips (used in Details column) */
.admin-chip-row {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.4rem;
    align-items: center;
    overflow: hidden;
}

.admin-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.28rem 0.55rem;
    border-radius: 0.55rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    color: var(--primary-dark);
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
}

.admin-chip-row.expanded {
    flex-wrap: wrap;
    overflow: visible;
}

.admin-chip-hidden.hidden {
    display: none !important;
}

.admin-chip-more {
    cursor: pointer;
    background: var(--bg-secondary);
    border-color: rgba(17, 24, 39, 0.12);
    color: var(--text-secondary);
}

.admin-chip-more:hover {
    background: var(--bg-tertiary);
    color: var(--primary);
    border-color: rgba(0, 0, 0, 0.1);
}

/* Admin Dashboard Sections */
.admin-section {
    margin-bottom: 3rem;
}

.admin-pending-card {
    border: 1px solid rgba(17, 24, 39, 0.12);
    box-shadow: var(--shadow-sm);
}

.admin-pending-card .card-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid rgba(17, 24, 39, 0.08);
    background: linear-gradient(180deg, rgba(47, 65, 86, 0.03) 0%, rgba(47, 65, 86, 0) 100%);
}

.admin-pending-card .card-body {
    padding: 1.25rem 1.5rem 1.5rem 1.5rem;
}

.admin-count-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.2rem 0.5rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    background: rgba(47, 65, 86, 0.08);
    color: var(--primary);
    line-height: 1;
}

/* Pending approvals spacing tweaks */
.admin-pending-card .admin-tabs {
    margin-bottom: 1rem;
}

.admin-pending-card .admin-approval-item {
    padding: 1.15rem;
}

.admin-pending-card .admin-approval-actions {
    margin-top: 0.75rem;
    align-items: center;
}

.admin-section-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.25rem;
    letter-spacing: -0.01em;
}

.admin-card-enhanced {
    box-shadow: var(--shadow-sm);
    transition: all 0.2s ease;
}

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

.admin-metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
}

.admin-metric-card {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    padding: 1.5rem;
    transition: all 0.2s ease;
}

.admin-metric-card:hover {
    box-shadow: var(--shadow-sm);
    border-color: rgba(47, 65, 86, 0.15);
}

.admin-metric-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.admin-metric-card-title {
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 0.875rem;
    letter-spacing: 0.01em;
}

.admin-metric-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.admin-metric-label {
    font-size: 0.8125rem;
    color: var(--text-secondary);
}

.admin-empty-state {
    text-align: center;
    padding: 3rem 1.5rem;
    color: var(--text-secondary);
}

.admin-empty-state-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.3;
    color: var(--text-light);
}

.admin-empty-state-text {
    font-size: 0.9375rem;
    color: var(--text-light);
    font-weight: 500;
}

/* Distribution Lists */
.admin-distribution-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.admin-distribution-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.875rem 0;
    border-bottom: 1px solid var(--border);
    transition: background 0.15s ease;
}

.admin-distribution-item:last-child {
    border-bottom: none;
}

.admin-distribution-item:hover {
    background: var(--bg-secondary);
    margin: 0 -1rem;
    padding-left: 1rem;
    padding-right: 1rem;
    border-radius: 0.375rem;
}

.admin-distribution-label {
    color: var(--text-primary);
    font-size: 0.9375rem;
    font-weight: 500;
}

.admin-distribution-value {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 0.9375rem;
    background: var(--bg-tertiary);
    padding: 0.25rem 0.625rem;
    border-radius: 0.375rem;
    min-width: 2.5rem;
    text-align: center;
}

/* Admin Matrix Table */
.admin-matrix-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.admin-matrix-table thead {
    background: var(--bg-secondary);
}

.admin-matrix-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.025em;
    border-bottom: 2px solid var(--border);
}

.admin-matrix-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--border);
    vertical-align: top;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.admin-matrix-table tbody tr:hover {
    background: var(--bg-secondary);
}

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

/* Name column with status pill */
.admin-name-stack {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

/* Email column - truncate long emails */
.admin-email-cell {
    font-size: 0.875rem;
    max-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Verified column */
.admin-verified-cell {
    text-align: center;
    vertical-align: middle;
}

/* Row menu (compact (⋯) menu) */
.admin-menu-cell {
    text-align: center;
    vertical-align: middle;
    position: relative;
}

.admin-row-menu {
    position: relative;
    display: inline-block;
}

.admin-row-menu-button {
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.375rem;
    transition: all 0.2s;
}

.admin-row-menu-button:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.admin-row-menu-panel {
    position: absolute;
    right: 0;
    top: 100%;
    margin-top: 0.25rem;
    background: white;
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    box-shadow: var(--shadow-lg);
    z-index: 100;
    min-width: 140px;
    padding: 0.25rem;
    display: flex;
    flex-direction: column;
}

.admin-row-menu-item {
    display: block;
    width: 100%;
    padding: 0.625rem 0.875rem;
    text-align: left;
    font-size: 0.875rem;
    color: var(--text-primary);
    background: none;
    border: none;
    cursor: pointer;
    border-radius: 0.375rem;
    transition: background 0.15s;
    text-decoration: none;
}

.admin-row-menu-item:hover {
    background: var(--bg-secondary);
}

.admin-row-menu-item-success {
    color: var(--success);
}

.admin-row-menu-item-success:hover {
    background: rgba(16, 185, 129, 0.1);
}

.admin-row-menu-item-danger {
    color: var(--danger);
}

.admin-row-menu-item-danger:hover {
    background: rgba(239, 68, 68, 0.1);
}

/* Small button variant */
.btn-xs {
    padding: 0.35rem 0.65rem;
    font-size: 0.8125rem;
    border-radius: 0.375rem;
}

/* Verified Badge */
.verified-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    cursor: help;
}

.verified-badge.green {
    color: #10b981;
}

.verified-badge.blue {
    color: #1D9BF0;
}

.verified-badge.gold {
    color: #F59E0B;
}

.verified-badge svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* Modern Messaging Interface (WhatsApp/iMessage Style) */
.messages-container {
    padding: 0;
    height: calc(100vh - 84px);
}

.messages-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 0;
    height: 100%;
    width: 100%;
    max-width: none;
    margin: 0;
    background: var(--bg-primary);
    overflow: hidden;
}

/* Conversations Panel */
.conversations-panel {
    display: flex;
    flex-direction: column;
    border-right: 1px solid rgba(0, 0, 0, 0.08);
    background: var(--bg-primary);
    overflow: hidden;
}

.conversations-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border);
    background: var(--bg-primary);
}

.conversations-header h2 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}

.conversations-list {
    flex: 1;
    overflow-y: auto;
    background: var(--bg-primary);
}

.conversation-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.conversation-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.125rem 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.2s ease;
    cursor: pointer;
    border-radius: 0.75rem;
    margin: 0.25rem 0.5rem;
}

.conversation-item:hover {
    background: rgba(0, 0, 0, 0.02);
}

.conversation-item.active {
    background: rgba(47, 65, 86, 0.08);
    box-shadow: 0 2px 10px rgba(17, 24, 39, 0.06);
}

.conversation-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #f0f2f5;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.125rem;
    flex-shrink: 0;
    overflow: hidden;
    border: 1px solid var(--border);
}

.conversation-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.conversation-content {
    flex: 1;
    min-width: 0;
}

.conversation-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.25rem;
}

.conversation-name {
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--text-primary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.conversation-time {
    font-size: 0.75rem;
    color: var(--text-light);
    flex-shrink: 0;
    margin-left: 0.5rem;
}

.conversation-preview {
    font-size: 0.875rem;
    color: var(--text-secondary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.4;
}

.conversations-empty {
    padding: 3rem 1.5rem;
    text-align: center;
    color: var(--text-secondary);
}

.conversations-empty-subtitle {
    font-size: 0.875rem;
    margin-top: 0.5rem;
    color: var(--text-light);
}

/* Messages Panel */
.messages-panel {
    display: flex;
    flex-direction: column;
    background: #f0f2f5;
    height: 100%;
    overflow: hidden;
}

.messages-header {
    padding: 0.875rem 1.25rem;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.messages-header-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.messages-header-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f0f2f5;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1rem;
    flex-shrink: 0;
    overflow: hidden;
    border: 1px solid var(--border);
}

.messages-header-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.messages-header-name {
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-primary);
}

.messages-content {
    flex: 1;
    overflow-y: auto;
    padding: 1.25rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    scroll-behavior: smooth;
}

/* Message Date Separator */
.message-date-separator {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1.5rem 0;
    position: relative;
    width: 100%;
}

.message-date-separator::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 1px;
    background: rgba(0, 0, 0, 0.1);
    z-index: 0;
}

.message-date-pill {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 1rem;
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 500;
    position: relative;
    z-index: 1;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

/* Message Wrapper */
.message-wrapper {
    display: flex;
    margin-bottom: 0.125rem;
    animation: fadeInMessage 0.3s ease;
}

.message-wrapper.message-sent {
    justify-content: flex-end;
}

.message-wrapper.message-received {
    justify-content: flex-start;
}

.message-wrapper.message-grouped {
    margin-top: -0.25rem;
}

.message-wrapper.message-grouped .message-bubble {
    margin-top: 0.125rem;
}

@keyframes fadeInMessage {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Message Bubble */
.message-bubble {
    max-width: 65%;
    padding: 0.625rem 0.75rem 0.5rem;
    border-radius: 0.5rem;
    word-wrap: break-word;
    position: relative;
    transition: transform 0.1s ease;
}

.message-bubble:hover {
    transform: scale(1.01);
}

.message-bubble-sent {
    background: #007bff;
    color: white;
    border-bottom-right-radius: 0.125rem;
    margin-left: auto;
}

.message-bubble-received {
    background: white;
    color: var(--text-primary);
    border-bottom-left-radius: 0.125rem;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
}

.message-text {
    font-size: 0.9375rem;
    line-height: 1.4;
    margin-bottom: 0.25rem;
    word-break: break-word;
}

.message-time {
    font-size: 0.6875rem;
    opacity: 0.7;
    text-align: right;
    margin-top: 0.125rem;
    padding-top: 0.125rem;
}

.message-bubble-received .message-time {
    color: var(--text-light);
    text-align: left;
}

/* Messages Input */
.messages-input-container {
    padding: 1.25rem 1.5rem;
    background: var(--bg-primary);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.messages-form {
    margin: 0;
}

.messages-input-wrapper {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: #f8f9fa;
    border: 1.5px solid rgba(0, 0, 0, 0.08);
    border-radius: 1.25rem;
    padding: 0.4rem 0.5rem 0.4rem 1.25rem;
    transition: all 0.2s;
}

.messages-input-wrapper:focus-within {
    border-color: rgba(17, 24, 39, 0.28);
    background: var(--bg-primary);
    box-shadow: 0 0 0 3px rgba(17, 24, 39, 0.08);
}

.messages-input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 0.9375rem;
    color: var(--text-primary);
    padding: 0.25rem 0;
    outline: none;
    font-family: inherit;
    letter-spacing: 0;
}

.messages-input:focus-visible {
    /* The wrapper handles focus styling; avoid double focus rings. */
    box-shadow: none;
}

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

.messages-send-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
    padding: 0;
}

.messages-send-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

.messages-send-btn:active {
    transform: scale(0.95);
}

.messages-send-btn svg {
    width: 18px;
    height: 18px;
}

/* Messages Empty State */
.messages-empty {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    padding: 3rem;
}

.messages-empty-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.messages-empty-text {
    font-size: 1rem;
    color: var(--text-light);
}

/* Responsive */
@media (max-width: 768px) {
    .messages-layout {
        grid-template-columns: 1fr;
    }
    
    .conversations-panel {
        display: none;
    }
    
    .message-bubble {
        max-width: 80%;
    }
}
/* FAQ Redesign - Google Grade */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 1.5rem 0;
}

.faq-tabs {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 3rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding-bottom: 0.25rem;
}

.faq-tab-btn {
    padding: 0.75rem 1.75rem;
    border: none;
    background: transparent;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    position: relative;
    border-radius: 0.75rem 0.75rem 0 0;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    letter-spacing: -0.01em;
}

.faq-tab-btn:hover {
    color: var(--primary);
    background: rgba(47, 65, 86, 0.03);
}

.faq-tab-btn.active {
    color: var(--primary);
    background: rgba(47, 65, 86, 0.05);
}

.faq-tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -0.25rem;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary);
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(47, 65, 86, 0.2);
}

.faq-tab-content {
    display: none;
}

.faq-tab-content.active {
    display: block;
    animation: fadeInFaq 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.accordion-item {
    background: linear-gradient(180deg, #ffffff 0%, #fcfcfd 100%);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 1.25rem;
    margin-bottom: 1.25rem;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.accordion-item:hover {
    border-color: rgba(47, 65, 86, 0.2);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.04);
    transform: translateY(-1px);
}

.accordion-item.active {
    border-color: rgba(47, 65, 86, 0.3);
    box-shadow: 0 15px 35px rgba(47, 65, 86, 0.08), 0 5px 15px rgba(0, 0, 0, 0.03);
    background: #ffffff;
}

.accordion-header {
    width: 100%;
    padding: 1.5rem 1.75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    border: none;
    text-align: left;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    font-family: inherit;
    transition: all 0.3s ease;
    letter-spacing: -0.015em;
}

.accordion-header:hover {
    background: rgba(47, 65, 86, 0.01);
}

.chevron-icon {
    width: 20px;
    height: 20px;
    color: var(--text-light);
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.accordion-item.active .chevron-icon {
    transform: rotate(180deg);
    color: var(--primary);
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
    opacity: 0;
}

.accordion-item.active .accordion-body {
    max-height: 600px;
    opacity: 1;
}

.accordion-content {
    padding: 0 1.75rem 1.75rem 1.75rem;
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
    animation: slideInText 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeInFaq {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInText {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* FAQ Premium Segmented Control */
.faq-tabs-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
}

.faq-tabs {
    position: relative;
    display: inline-flex;
    background: rgba(0, 0, 0, 0.05);
    padding: 0.4rem;
    border-radius: 1rem;
    border: 1px solid rgba(0, 0, 0, 0.03);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.03);
}

.faq-tab-btn {
    position: relative;
    z-index: 2;
    padding: 0.75rem 2rem;
    border: none;
    background: transparent !important; /* Override previous style */
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-secondary);
    cursor: pointer;
    border-radius: 0.75rem;
    transition: color 0.3s ease, transform 0.15s ease;
    letter-spacing: -0.01em;
}

.faq-tab-btn:active {
    transform: scale(0.96);
}

.faq-tab-btn.active {
    color: var(--primary);
}

.faq-tab-btn.active::after {
    display: none !important; /* Remove the old underline */
}

.faq-tabs-glider {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: #ffffff;
    border-radius: 0.75rem;
    z-index: 1;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
}

/* About Section Redesign - Google Grade */
.about-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0;
}

.about-text-lead {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #4b5563; /* Standard professional grey */
    text-align: center;
    margin-bottom: 1.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 500; /* Solid introduction */
}

.about-text-lead strong {
    color: var(--text-primary);
    font-weight: 600;
}

.about-features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.about-feature-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 0.75rem;
    padding: 0.75rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

.about-feature-card:hover {
    border-color: rgba(47, 65, 86, 0.1);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
}

.feature-icon-circle {
    width: 32px;
    height: 32px;
    background: rgba(0, 0, 0, 0.03);
    color: #6b7280; /* Neutral grey */
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon-circle svg {
    width: 16px;
    height: 16px;
}

.about-feature-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-feature-content h4 {
    font-size: 1rem;
    font-weight: 600; /* Premium weight */
    color: var(--text-primary);
    margin-bottom: 0.1rem;
    letter-spacing: -0.02em; /* Modern compact look */
}

.about-feature-content p {
    font-size: 0.95rem; /* Standard readable size */
    color: #4b5563; /* Standard professional grey */
    line-height: 1.4;
    margin: 0;
    font-weight: var(--font-weight-regular);
}

.about-mission-statement {
    position: relative;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.015);
    border-radius: 1rem;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.01);
}

.mission-quote-bar {
    width: 24px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
    margin: 0 auto 0.75rem auto;
    opacity: 0.2;
}

.about-mission-statement p {
    font-size: 1.15rem; /* Premium quote size */
    color: var(--text-primary);
    line-height: 1.5;
    font-weight: 500; /* Signature style */
    letter-spacing: -0.015em;
    margin: 0;
}

.about-mission-statement p strong {
    font-weight: 600;
}
}

@media (max-width: 768px) {
    .about-features-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .about-text-lead {
        font-size: 1.15rem;
    }
}

/* Vertical Simplified About Layout */
.about-features-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 1.5rem !important;
    margin-bottom: 3rem !important;
}

.about-feature-card {
    display: flex !important;
    align-items: center !important;
    gap: 1.5rem !important;
    padding: 1.25rem 1.5rem !important;
    border-radius: 1rem !important;
    text-align: left !important;
}

.feature-icon-circle {
    margin-bottom: 0 !important;
    flex-shrink: 0 !important;
    width: 44px !important;
    height: 44px !important;
    border-radius: 10px !important;
}

.about-feature-content h4 {
    margin-bottom: 0.25rem !important;
    font-size: 1.1rem !important;
}

.about-feature-content p {
    font-size: 0.95rem !important;
    margin-bottom: 0 !important;
}

@media (max-width: 768px) {
    .about-feature-card {
        padding: 1rem !important;
        gap: 1rem !important;
    }
}

/* About Section - Vertical Refinement */
.about-features-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
}

.about-feature-card {
    display: flex !important;
    align-items: center !important;
    gap: 2rem !important;
    padding: 1.5rem 2rem !important;
    text-align: left !important;
}

.feature-icon-circle {
    margin-bottom: 0 !important; /* Remove bottom margin for horizontal alignment */
    flex-shrink: 0 !important;
}

.about-feature-content h4 {
    margin-bottom: 0.25rem !important;
    font-size: 1.1rem !important;
}

.about-feature-content p {
    font-size: 0.95rem !important;
    margin-bottom: 0 !important;
}

@media (max-width: 640px) {
    .about-feature-card {
        flex-direction: column !important;
        text-align: center !important;
        gap: 1rem !important;
    }
    
    .feature-icon-circle {
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

/* Vertical About Feature Cards */
.about-features-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.about-feature-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.25rem 1.5rem !important;
}

.feature-icon-circle {
    margin-bottom: 0 !important;
    flex-shrink: 0;
}

.about-feature-content {
    text-align: left;
}

.about-feature-content h4 {
    margin-bottom: 0.25rem !important;
}

.about-feature-content p {
    margin-bottom: 0 !important;
}

/* Social Login Buttons */
.social-auth-options {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.7rem 1.25rem;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 0.9375rem;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.social-btn:active {
    transform: scale(0.98);
}

.google-btn {
    background: #ffffff;
    color: #374151;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.google-btn:hover {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.15);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    transform: translateY(-1px);
}

.apple-btn {
    background: #000000;
    color: #ffffff;
    border-color: #000000;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.apple-btn:hover {
    background: #1a1a1a;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}

.social-icon {
    width: 18px;
    height: 18px;
}

/* Auth Divider */
.auth-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 1.5rem 0;
    color: #9ca3af;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.auth-divider span {
    padding: 0 1rem;
    color: #9ca3af;
}

/* Login modal: compact footer and no bottom divider */
#login-modal .login-modal-footer {
    border-top: none;
    padding: 0.75rem 0 0;
    margin-top: 0.5rem;
    justify-content: flex-end;
    align-items: center;
    gap: 0.75rem;
}

#login-modal .login-modal-footer .btn {
    min-width: 9.25rem;
}

@media (max-width: 640px) {
    #login-modal .login-modal-footer {
        padding-top: 0.5rem;
        gap: 0.5rem;
    }

    #login-modal .login-modal-footer .btn {
        min-width: 8.5rem;
    }
}

/* Google-Grade Minimalist Footer */
.landing-footer {
    margin-top: auto;
    padding: 3rem 0;
    background: #f8fafc;
    border-top: 1px solid #e8eaed;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.copyright {
    color: #70757a; /* Google's standard secondary grey */
    font-size: 0.875rem;
    font-weight: var(--font-weight-regular);
    letter-spacing: 0.01em;
    text-align: center;
}

/* How It Works Redesign - Vertical Timeline */
.how-it-works-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 0.5rem 0;
}

.hiw-tabs-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 2.5rem;
}

.timeline {
    position: relative;
    padding-left: 3rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(0, 0, 0, 0.05);
}

.timeline-item {
    position: relative;
    margin-bottom: 2.5rem;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-number {
    position: absolute;
    left: -3rem;
    width: 32px;
    height: 32px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(47, 65, 86, 0.2);
}

.timeline-content h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    letter-spacing: -0.01em;
}

.timeline-content p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Tab Group & Glider (Generalized) */
.tab-group {
    position: relative;
    display: inline-flex;
    background: rgba(0, 0, 0, 0.05);
    padding: 0.4rem;
    border-radius: 1rem;
    border: 1px solid rgba(0, 0, 0, 0.03);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.03);
}

.tab-btn {
    position: relative;
    z-index: 2;
    padding: 0.7rem 1.5rem;
    border: none;
    background: transparent !important;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-secondary);
    cursor: pointer;
    border-radius: 0.75rem;
    transition: color 0.3s ease, transform 0.15s ease;
}

.tab-btn.active {
    color: var(--primary);
}

.tab-glider {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: #ffffff;
    border-radius: 0.75rem;
    z-index: 1;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Generic tab panels (used by How It Works) */
.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: tabFadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes tabFadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Progressive Signup Disclosure */
.hidden-signup {
    display: none;
    opacity: 0;
    transform: translateY(15px);
}

.reveal-fields {
    display: block !important;
    animation: revealFields 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes revealFields {
    0% {
        display: block;
        opacity: 0;
        transform: translateY(15px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.btn-outline-primary {
    background: #ffffff;
    border: 1px solid rgba(47, 65, 86, 0.2);
    color: var(--text-primary);
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.btn-outline-primary:hover {
    background: #f8fafc;
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(47, 65, 86, 0.08);
}

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