/* Capital Insights - Startup / Modern SaaS Style */
/* Font: system-ui heavy weights. Colors: Dark purple hero, white body, purple CTAs */

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

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 350;
    color: #1e1e2f;
    line-height: 1.65;
    background: #ffffff;
}

a {
    color: #7c3aed;
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: #5b21b6;
}

/* ---------- TRANSPARENT NAV (becomes solid on scroll via position trick) ---------- */
.ci-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 48px;
    background: transparent;
    transition: background 0.4s, box-shadow 0.4s;
}

.ci-nav.is-solid {
    background: #ffffff;
    box-shadow: 0 2px 24px rgba(0, 0, 0, 0.07);
}

.ci-logo {
    font-size: 1.4rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: -0.5px;
}

.ci-logo em {
    font-style: normal;
    font-weight: 400;
    opacity: 0.75;
}

.ci-nav.is-solid .ci-logo {
    color: #1a0a3e;
}

.ci-nav-links {
    list-style: none;
    display: flex;
    gap: 36px;
}

.ci-nav-links a {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    font-size: 0.95rem;
}

.ci-nav-links a:hover,
.ci-nav-links a.active {
    color: #fff;
}

.ci-nav.is-solid .ci-nav-links a {
    color: #4b4b6a;
}

.ci-nav.is-solid .ci-nav-links a:hover,
.ci-nav.is-solid .ci-nav-links a.active {
    color: #7c3aed;
}

/* ---------- FULL-VIEWPORT HERO ---------- */
.ci-hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, #1a0a3e 0%, #4c1d95 100%);
    padding: 140px 24px 100px;
}

.ci-hero h1 {
    font-size: 4rem;
    font-weight: 900;
    color: #fff;
    line-height: 1.08;
    max-width: 820px;
    letter-spacing: -2px;
}

.ci-hero h1 .glow {
    background: linear-gradient(135deg, #c4b5fd 0%, #a78bfa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ci-hero .ci-sub {
    margin-top: 24px;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.65);
    max-width: 540px;
    font-weight: 350;
    line-height: 1.7;
}

.ci-hero .ci-cta {
    display: inline-block;
    margin-top: 44px;
    padding: 18px 44px;
    background: #7c3aed;
    color: #fff;
    font-weight: 700;
    font-size: 1.05rem;
    border-radius: 50px;
    transition: background 0.3s, transform 0.25s;
    letter-spacing: 0.2px;
}

.ci-hero .ci-cta:hover {
    background: #6d28d9;
    transform: translateY(-3px);
}

/* ---------- ABOUT HERO (shorter) ---------- */
.ci-hero-sm {
    background: linear-gradient(135deg, #1a0a3e 0%, #4c1d95 100%);
    padding: 140px 24px 72px;
    text-align: center;
}

.ci-hero-sm h1 {
    font-size: 2.8rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: -1.2px;
}

.ci-hero-sm p {
    margin-top: 16px;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.6);
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
}

/* ---------- WHITE SECTIONS ---------- */
.ci-section {
    padding: 96px 48px;
    max-width: 1140px;
    margin: 0 auto;
}

.ci-section-purple {
    background: #f8f5ff;
    padding: 96px 24px;
}

.ci-section-purple .ci-inner {
    max-width: 1140px;
    margin: 0 auto;
}

.ci-section h2,
.ci-section-purple h2 {
    font-size: 2.2rem;
    font-weight: 900;
    color: #1a0a3e;
    margin-bottom: 52px;
    letter-spacing: -0.8px;
    text-align: center;
}

/* ---------- 3-COL FEATURE CARDS ---------- */
.ci-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.ci-fcard {
    background: #fff;
    border-radius: 16px;
    padding: 44px 32px;
    box-shadow: 0 4px 28px rgba(124, 58, 237, 0.06);
    transition: transform 0.3s, box-shadow 0.3s;
}

.ci-fcard:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 36px rgba(124, 58, 237, 0.12);
}

.ci-fcard .emoji {
    font-size: 2.6rem;
    margin-bottom: 18px;
    display: block;
}

.ci-fcard h3 {
    font-size: 1.2rem;
    font-weight: 800;
    color: #1a0a3e;
    margin-bottom: 10px;
}

.ci-fcard p {
    font-size: 0.95rem;
    color: #5a5a72;
    line-height: 1.65;
}

/* ---------- ARTICLE ROWS (horizontal) ---------- */
.ci-articles {
    margin-top: 24px;
}

.ci-arow {
    display: flex;
    gap: 32px;
    align-items: center;
    padding: 32px 0;
    border-bottom: 1px solid #ede9fe;
}

.ci-arow:last-child {
    border-bottom: none;
}

.ci-arow-thumb {
    flex-shrink: 0;
    width: 200px;
    height: 130px;
    background: linear-gradient(135deg, #ede9fe 0%, #ddd6fe 100%);
    border-radius: 14px;
}

.ci-arow-body {
    flex: 1;
}

.ci-arow-body .ci-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #7c3aed;
    letter-spacing: 1.2px;
    margin-bottom: 8px;
}

.ci-arow-body h3 {
    font-size: 1.15rem;
    font-weight: 800;
    color: #1a0a3e;
    margin-bottom: 8px;
    line-height: 1.35;
}

.ci-arow-body p {
    font-size: 0.93rem;
    color: #5a5a72;
    margin-bottom: 12px;
    line-height: 1.6;
}

.ci-arow-body .ci-readmore {
    font-weight: 700;
    font-size: 0.9rem;
}

/* ---------- MISSION (about page) ---------- */
.ci-mission {
    max-width: 740px;
    margin: 0 auto;
    padding: 80px 24px;
}

.ci-mission h2 {
    font-size: 1.8rem;
    font-weight: 900;
    color: #1a0a3e;
    margin-bottom: 24px;
    letter-spacing: -0.6px;
    text-align: left;
}

.ci-mission p {
    font-size: 1.02rem;
    color: #4b4b6a;
    margin-bottom: 20px;
    line-height: 1.8;
}

/* ---------- TEAM CARDS ---------- */
.ci-team {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.ci-tcard {
    background: #fff;
    border-radius: 16px;
    padding: 44px 28px 32px;
    text-align: center;
    box-shadow: 0 4px 28px rgba(124, 58, 237, 0.06);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

.ci-tcard::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #7c3aed, #a78bfa);
}

.ci-tcard:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 44px rgba(124, 58, 237, 0.15);
}

.ci-tcard .ci-avatar {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: linear-gradient(135deg, #7c3aed, #a78bfa);
    color: #fff;
    font-size: 1.35rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.ci-tcard h3 {
    font-size: 1.15rem;
    font-weight: 800;
    color: #1a0a3e;
    margin-bottom: 4px;
}

.ci-tcard .ci-role {
    font-size: 0.85rem;
    color: #7c3aed;
    font-weight: 600;
    margin-bottom: 16px;
}

.ci-tcard .ci-bio {
    font-size: 0.9rem;
    color: #5a5a72;
    line-height: 1.65;
    margin-bottom: 20px;
}

.ci-tcard .ci-li {
    font-size: 0.88rem;
    font-weight: 600;
}

/* ---------- CONTACT FORM (centered narrow) ---------- */
.ci-contact {
    max-width: 480px;
    margin: 0 auto;
    padding: 96px 24px 80px;
    text-align: center;
}

.ci-contact h1 {
    font-size: 2.6rem;
    font-weight: 900;
    color: #1a0a3e;
    margin-bottom: 12px;
    letter-spacing: -1px;
}

.ci-contact .ci-csub {
    color: #5a5a72;
    margin-bottom: 44px;
    font-size: 1.05rem;
    line-height: 1.6;
}

.ci-contact form {
    text-align: left;
}

.ci-contact label {
    display: block;
    font-weight: 600;
    font-size: 0.88rem;
    color: #1a0a3e;
    margin-bottom: 6px;
}

.ci-contact input,
.ci-contact textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #e0daf5;
    border-radius: 12px;
    font-size: 0.95rem;
    font-family: inherit;
    margin-bottom: 22px;
    background: #faf8ff;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.ci-contact input:focus,
.ci-contact textarea:focus {
    outline: none;
    border-color: #7c3aed;
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.12);
}

.ci-contact textarea {
    min-height: 140px;
    resize: vertical;
}

.ci-contact .ci-submit {
    display: block;
    width: 100%;
    padding: 16px;
    background: #7c3aed;
    color: #fff;
    font-size: 1.02rem;
    font-weight: 700;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: background 0.3s;
    margin-top: 4px;
}

.ci-contact .ci-submit:hover {
    background: #6d28d9;
}

/* Contact info row */
.ci-info-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 720px;
    margin: 56px auto 0;
    padding: 0 24px;
}

.ci-infocard {
    background: #f8f5ff;
    border-radius: 16px;
    padding: 30px 18px;
    text-align: center;
}

.ci-infocard .ci-ic-icon {
    font-size: 1.8rem;
    margin-bottom: 10px;
    display: block;
}

.ci-infocard h4 {
    font-size: 0.82rem;
    font-weight: 700;
    color: #1a0a3e;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 6px;
}

.ci-infocard p {
    font-size: 0.88rem;
    color: #5a5a72;
    line-height: 1.5;
}

/* ---------- FOOTER ---------- */
.ci-footer {
    background: #1a0a3e;
    padding: 44px 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ci-footer-links {
    list-style: none;
    display: flex;
    gap: 28px;
}

.ci-footer-links a {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.9rem;
}

.ci-footer-links a:hover {
    color: #fff;
}

.ci-footer .ci-copy {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.35);
}

/* ---------- ARTICLE CONTENT (for existing article pages) ---------- */
.article-content {
    max-width: 780px;
    margin: 0 auto;
    padding: 48px 24px 80px;
}

.article-content h1 {
    font-size: 2.25rem;
    font-weight: 800;
    color: #1a0a3e;
    margin-bottom: 16px;
    line-height: 1.3;
}

.article-content .meta {
    color: #7c7c96;
    font-size: 0.9rem;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid #ede9fe;
}

.article-content p {
    margin-bottom: 20px;
    font-size: 1.05rem;
    color: #333346;
}

.article-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a0a3e;
    margin-top: 40px;
    margin-bottom: 16px;
}

.article-content ul,
.article-content ol {
    margin-bottom: 20px;
    padding-left: 24px;
}

.article-content li {
    margin-bottom: 8px;
    font-size: 1.05rem;
    color: #333346;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {
    .ci-nav {
        padding: 16px 20px;
    }
    .ci-hero h1 {
        font-size: 2.4rem;
        letter-spacing: -1px;
    }
    .ci-features,
    .ci-team {
        grid-template-columns: 1fr;
    }
    .ci-arow {
        flex-direction: column;
    }
    .ci-arow-thumb {
        width: 100%;
        height: 160px;
    }
    .ci-info-row {
        grid-template-columns: 1fr;
    }
    .ci-footer {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    .ci-hero-sm h1 {
        font-size: 2rem;
    }
}
