/* ========================================
   Neridian Partners Landing Page Styles
   ======================================== */

/* CSS Variables */
:root {
    --primary: #1a1a2e;
    --primary-light: #2d2d44;
    --accent: #c9a227;
    --accent-light: #e6c84a;
    --background: #ffffff;
    --background-light: #f8f9fa;
    --background-dark: #0f0f1a;
    --text: #1a1a2e;
    --text-light: #f5f5f5;
    --text-muted: #6c757d;
    --border: #e5e7eb;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
    --radius: 12px;
    --radius-sm: 8px;
    --transition: all 0.3s ease;
    --container: 1200px;
    --header-height: 80px;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--background);
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

input {
    font-family: inherit;
}

/* Container */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

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

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
}

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

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

.btn-lg {
    padding: 16px 32px;
    font-size: 18px;
}

.btn-full {
    width: 100%;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 0.5px;
}

.nav {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-weight: 500;
    font-size: 14px;
    color: var(--text);
    transition: var(--transition);
}

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

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    padding: calc(var(--header-height) + 80px) 0 100px;
    background: linear-gradient(180deg, var(--background-light) 0%, var(--background) 100%);
}

.hero .container {
    text-align: center;
    max-width: 900px;
}

.hero-content {
    animation: fadeInUp 0.8s ease;
}

.hero-title {
    font-size: 52px;
    font-weight: 700;
    line-height: 1.15;
    color: var(--primary);
    margin-bottom: 24px;
}

.hero-title .highlight {
    color: var(--accent);
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Section Title */
.section-title {
    font-size: 40px;
    font-weight: 700;
    text-align: center;
    color: var(--primary);
    margin-bottom: 16px;
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 48px;
}

/* Is This a Fit */
.is-this-a-fit {
    padding: 100px 0;
    background: var(--background);
}

.fit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-bottom: 32px;
}

.fit-card {
    padding: 32px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.fit-card.warning {
    background: #fff5f5;
    border-color: #feb2b2;
}

.fit-card.success {
    background: #f0fff4;
    border-color: #9ae6b4;
}

.fit-card h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--primary);
}

.fit-card.warning h3 {
    color: #c53030;
}

.fit-card.success h3 {
    color: #276749;
}

.fit-card li {
    padding: 8px 0;
    color: var(--text);
    padding-left: 24px;
    position: relative;
}

.fit-card.warning li::before {
    content: "✗";
    position: absolute;
    left: 0;
    color: #c53030;
}

.fit-card.success li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #276749;
}

.fit-note {
    text-align: center;
    font-size: 18px;
    color: var(--text-muted);
    font-style: italic;
    padding: 24px;
    background: var(--background-light);
    border-radius: var(--radius);
}

/* How It Works */
.how-it-works {
    padding: 100px 0;
    background: var(--background-light);
}

.steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 24px;
    flex: 1;
    min-width: 200px;
    max-width: 220px;
}

.step-number {
    width: 64px;
    height: 64px;
    background: var(--primary);
    color: white;
    font-size: 24px;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.step-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--primary);
}

.step-desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
}

.step-connector {
    width: 40px;
    height: 3px;
    background: var(--accent);
    margin-top: 30px;
    opacity: 0.4;
}

/* Roles Section */
.roles-section {
    padding: 80px 0;
    background: var(--background);
}

.roles-table {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.roles-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--primary);
    color: white;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.roles-header span {
    padding: 20px;
    text-align: center;
}

.roles-header span:first-child {
    border-right: 1px solid rgba(255,255,255,0.2);
}

.roles-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-bottom: 1px solid var(--border);
}

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

.role-cell {
    padding: 20px 24px;
}

.role-cell:first-child {
    border-right: 1px solid var(--border);
    background: var(--background-light);
}

.role-cell strong {
    display: block;
    font-size: 16px;
    color: var(--primary);
    margin-bottom: 4px;
}

.role-cell span {
    font-size: 14px;
    color: var(--text-muted);
}

/* The Model */
.the-model {
    padding: 100px 0;
    background: var(--background-light);
}

.model-comparison {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.model-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    background: white;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
}

.model-item.not-this .model-icon {
    color: #c53030;
    font-size: 20px;
}

.model-item span:last-child {
    font-size: 14px;
    color: var(--text-muted);
}

.model-explanation {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.model-explanation p {
    font-size: 18px;
    color: var(--text);
    margin-bottom: 16px;
    line-height: 1.7;
}

/* Unit Economics */
.unit-economics {
    padding: 100px 0;
    background: var(--background);
}

.economics-flow {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 48px;
}

.econ-step {
    display: flex;
    align-items: center;
    gap: 8px;
}

.econ-label {
    padding: 12px 20px;
    background: var(--background-light);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    white-space: nowrap;
}

.econ-label.highlight {
    background: var(--accent);
    color: var(--primary);
}

.econ-arrow {
    color: var(--accent);
    font-size: 20px;
}

.economics-numbers {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.econ-card {
    padding: 32px 48px;
    background: var(--background-light);
    border-radius: var(--radius);
    text-align: center;
    border: 1px solid var(--border);
}

.econ-card.highlight {
    background: var(--primary);
    border-color: var(--primary);
}

.econ-card.highlight .econ-value,
.econ-card.highlight .econ-desc {
    color: white;
}

.econ-value {
    display: block;
    font-size: 40px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.econ-desc {
    font-size: 16px;
    color: var(--text-muted);
}

.econ-note {
    text-align: center;
    font-size: 16px;
    color: var(--text-muted);
    max-width: 600px;
    margin: 16px auto;
}

.econ-note.accent {
    color: var(--primary);
    font-weight: 600;
    font-size: 18px;
}

/* Our Role */
.our-role {
    padding: 100px 0;
    background: var(--background-light);
}

.role-content {
    max-width: 800px;
    margin: 0 auto 48px;
    text-align: center;
}

.role-lead {
    font-size: 22px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 20px;
}

.role-content p {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.role-note {
    font-style: italic;
}

.responsibilities-grid {
    max-width: 600px;
    margin: 0 auto;
}

.resp-card {
    padding: 32px;
    background: white;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.resp-card h3 {
    font-size: 18px;
    color: var(--primary);
    margin-bottom: 20px;
}

.resp-card li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    color: var(--text);
    padding-left: 24px;
    position: relative;
}

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

.resp-card li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--accent);
}

/* Our Clients */
.our-clients {
    padding: 100px 0;
    background: var(--background);
}

.clients-note {
    text-align: center;
    font-size: 16px;
    color: var(--text);
    font-weight: 500;
    margin-bottom: 8px;
}

.clients-desc {
    text-align: center;
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 48px;
}

.client-profiles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.profile-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--background-light);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
}

.profile-icon {
    color: var(--accent);
    font-size: 20px;
}

.profile-item span:last-child {
    font-size: 14px;
    color: var(--text);
}

/* Private Section */
.private-section {
    padding: 60px 0;
    background: var(--primary);
}

.private-card {
    text-align: center;
    padding: 48px;
    background: rgba(255,255,255,0.05);
    border-radius: var(--radius);
    border: 1px solid rgba(255,255,255,0.1);
}

.private-card h2 {
    font-size: 32px;
    color: white;
    margin-bottom: 20px;
}

.private-card p {
    font-size: 16px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 12px;
}

.private-note {
    color: var(--accent) !important;
    font-weight: 500;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--background) 0%, var(--background-light) 100%);
    text-align: center;
}

.cta-title {
    font-size: 44px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 16px;
}

.cta-text {
    font-size: 20px;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
.footer {
    padding: 48px 0 32px;
    background: var(--background-light);
    border-top: 1px solid var(--border);
}

.footer-main {
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 24px;
}

.footer-brand .logo {
    font-size: 24px;
    margin-bottom: 16px;
    display: block;
}

.footer-brand p {
    color: var(--text-muted);
    margin-bottom: 8px;
}

.footer-address {
    font-size: 14px;
    color: var(--text-muted);
}

.footer-email a {
    color: var(--accent);
    font-weight: 600;
}

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

.footer-bottom p {
    color: var(--text-muted);
    font-size: 14px;
}

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

/* Responsive */
@media (max-width: 1024px) {
    .fit-grid {
        grid-template-columns: 1fr;
    }

    .steps {
        gap: 24px;
    }

    .step-connector {
        display: none;
    }

    .step {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }

    .header .btn {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .section-title {
        font-size: 32px;
    }

    .cta-title {
        font-size: 32px;
    }

    .economics-flow {
        flex-direction: column;
        align-items: center;
    }

    .econ-arrow {
        transform: rotate(90deg);
    }

    .roles-header,
    .roles-row {
        grid-template-columns: 1fr;
    }

    .roles-header span:first-child,
    .role-cell:first-child {
        border-right: none;
        border-bottom: 1px solid var(--border);
    }

    .hero-ctas {
        flex-direction: column;
        align-items: center;
    }

    .btn-lg {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero {
        padding: calc(var(--header-height) + 48px) 0 64px;
    }

    .hero-title {
        font-size: 28px;
    }

    .section-title {
        font-size: 26px;
    }

    .model-comparison {
        flex-direction: column;
        align-items: center;
    }

    .economics-numbers {
        flex-direction: column;
        align-items: center;
    }
}
