/* Viten Hub - Main Stylesheet */
/* Scandinavian Design with Brand Colors */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.7;
    color: #272b31;
    background-color: #fafafa;
    letter-spacing: 0.2px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    background: white;
    color: #272b31;
    padding: 1.5rem 0;
    border-bottom: 1px solid #e8eaed;
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    font-size: 1.4rem;
    font-weight: 600;
    color: #272b31;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.logo-img {
    height: 32px;
    width: auto;
}

.logo-text {
    font-size: 1.4rem;
    font-weight: 600;
    color: #272b31;
}

/* Navigation Styles */
nav ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

nav a {
    color: #272b31;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    position: relative;
}

nav a:hover {
    color: #be2e78;
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: #be2e78;
    transition: width 0.2s ease;
}

nav a:hover::after {
    width: 100%;
}

/* Main Content Styles */
main {
    background: white;
    margin: 0;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
}

.content-section {
    max-width: 1000px;
    margin: 0 auto;
    padding: 4rem 2rem;
    background: white;
}

/* Hero Section */
.hero {
    background: white;
    color: #272b31;
    padding: 6rem 0 4rem 0;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding-left: 2rem;
    padding-right: 2rem;
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-content h1 {
    color: #272b31;
    font-size: 3.5rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    border: none;
    padding: 0;
    line-height: 1.1;
    letter-spacing: -1px;
}

.hero-tagline {
    font-size: 1.4rem;
    font-weight: 400;
    margin-bottom: 2rem;
    color: #be2e78;
    line-height: 1.4;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 3rem;
    color: #5f6368;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 3rem;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

/* Button Styles */
.cta-button {
    padding: 1rem 2rem;
    border-radius: 2px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    display: inline-block;
    border: 2px solid transparent;
}

.cta-button.primary {
    background: #be2e78;
    color: white;
    border: 2px solid #be2e78;
}

.cta-button.primary:hover {
    background: #a02565;
    border-color: #a02565;
    transform: translateY(-1px);
}

.cta-button.secondary {
    background: transparent;
    color: #272b31;
    border: 2px solid #e8eaed;
}

.cta-button.secondary:hover {
    border-color: #be2e78;
    color: #be2e78;
    transform: translateY(-1px);
}

/* Typography */
h1 {
    color: #272b31;
    font-size: 2.8rem;
    font-weight: 300;
    margin-bottom: 2rem;
    border-bottom: 1px solid #e8eaed;
    padding-bottom: 1rem;
    letter-spacing: -0.5px;
}

h2 {
    color: #272b31;
    font-size: 2.2rem;
    font-weight: 300;
    margin: 3rem 0 1.5rem 0;
    letter-spacing: -0.5px;
}

h3 {
    color: #272b31;
    font-size: 1.5rem;
    font-weight: 500;
    margin: 2rem 0 1rem 0;
}

p {
    margin-bottom: 1.5rem;
    color: #5f6368;
    font-size: 1.05rem;
    line-height: 1.7;
}

a {
    color: #be2e78;
    text-decoration: none;
    font-weight: 500;
}

a:hover {
    text-decoration: underline;
    color: #a02565;
}

.tagline {
    font-style: normal;
    color: #be2e78;
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 2rem;
}

hr {
    border: none;
    border-top: 1px solid #e8eaed;
    margin: 3rem 0;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.service-card {
    background: #fafafa;
    padding: 2rem;
    border-radius: 2px;
    border: 1px solid #e8eaed;
    transition: all 0.2s ease;
}

.service-card:hover {
    border-color: #be2e78;
    transform: translateY(-2px);
}

.service-card h3 {
    color: #be2e78;
    margin-top: 0;
    font-weight: 500;
}

/* CTA Section */
.cta-section {
    background: #fafafa;
    color: #272b31;
    padding: 4rem 2rem;
    border-radius: 2px;
    text-align: center;
    margin: 4rem 0;
    border: 1px solid #e8eaed;
}

.cta-section h2 {
    color: #272b31;
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.cta-section p {
    color: #5f6368;
    margin-bottom: 2rem;
}

.cta-section a {
    background: #be2e78;
    color: white;
    padding: 1rem 2rem;
    border-radius: 2px;
    text-decoration: none;
    font-weight: 500;
    margin: 0 0.5rem;
    display: inline-block;
    border: 2px solid #be2e78;
    transition: all 0.2s ease;
}

.cta-section a:hover {
    background: #a02565;
    border-color: #a02565;
    transform: translateY(-1px);
}

/* Footer Styles */
footer {
    background: #272b31;
    color: #bdc3c7;
    text-align: center;
    padding: 3rem 0;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.footer-section h3 {
    color: white;
    margin-bottom: 1.5rem;
    font-weight: 500;
    font-size: 1.1rem;
}

.footer-section p, 
.footer-section a {
    color: #bdc3c7;
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-section a:hover {
    color: #be2e78;
}

/* Founder Image Styling */
.content-section img {
    max-width: 200px;
    height: auto;
    border-radius: 8px;
    margin: 0 0 1.5rem 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Contact button row (overrides default UL bullets from markdown) */
.contact-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 0.5rem 0 1.5rem;
    list-style: none;
    padding: 0;
}

.content-section .contact-buttons a.sl-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #be2e78;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.9rem;
    border: 1px solid #be2e78;
    transition: all 0.2s ease;
    margin: 0.25rem 0;
}

.content-section .contact-buttons a.sl-link:hover {
    background: #a02565;
    border-color: #a02565;
    transform: translateY(-1px);
    color: white;
    text-decoration: none;
}

.content-section .contact-buttons a.sl-link--outline {
    background: white;
    color: #be2e78;
    border: 1px solid #be2e78;
}

.content-section .contact-buttons a.sl-link--outline:hover {
    background: #be2e78;
    color: white;
}

/* Recent work — dashboard-style list of published nanopub chains */
.recent-work-label {
    margin: 2rem 0 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #9aa0a6;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.recent-work {
    margin: 0 0 1.5rem;
    border: 1px solid #e8eaed;
    border-radius: 8px;
    overflow: hidden;
    background: white;
}

.work-item--loading .work-date {
    color: #9aa0a6;
    font-style: italic;
}

.recent-work-link {
    margin: 0.25rem 0 2rem;
    font-size: 0.95rem;
    text-align: right;
}

.recent-work-link a {
    color: #5f6368;
    font-weight: 400;
}

.recent-work-link a:hover {
    color: #be2e78;
    text-decoration: underline;
}


.work-item {
    display: grid;
    grid-template-columns: 110px 1fr 110px;
    gap: 1.5rem;
    padding: 1.5rem;
    border-bottom: 1px solid #e8eaed;
    align-items: start;
}

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

.work-badge {
    display: inline-block;
    padding: 0.3rem 0.7rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-align: center;
    border: 1px solid;
    background: white;
    align-self: start;
}

.work-badge--synthesis { color: #be2e78; border-color: #be2e78; }
.work-badge--claim     { color: #1a3a66; border-color: #1a3a66; }
.work-badge--software  { color: #15803d; border-color: #15803d; }
.work-badge--outcome   { color: #c2410c; border-color: #c2410c; }
.work-badge--award     { color: #a16207; border-color: #a16207; }
.work-badge--project   { color: #0f766e; border-color: #0f766e; }

.content-section .work-title {
    color: #272b31;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 400;
    line-height: 1.5;
    margin: 0;
}

.content-section a.work-title:hover {
    color: #be2e78;
    text-decoration: underline;
}

.work-date {
    font-size: 0.8rem;
    color: #9aa0a6;
    text-align: right;
    letter-spacing: 0.03em;
}

@media (max-width: 640px) {
    .work-item {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    .work-badge {
        justify-self: start;
    }
    .work-date {
        text-align: left;
    }
}

/* LinkedIn Links Styling */
.content-section a[href*="linkedin"] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #0077b5;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.9rem;
    margin: 0.25rem 0.5rem 0.25rem 0;
    transition: all 0.2s ease;
}

.content-section a[href*="linkedin"]:hover {
    background: #005885;
    transform: translateY(-1px);
    color: white;
    text-decoration: none;
}

.content-section a[href*="linkedin"]::before {
    content: "in";
    background: white;
    color: #0077b5;
    font-weight: bold;
    font-size: 0.8rem;
    padding: 2px 4px;
    border-radius: 2px;
    line-height: 1;
}
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1.5rem;
    }
    
    h1 {
        font-size: 2.2rem;
    }
    
    .container {
        padding: 0 20px;
    }
    
    .logo {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .logo-img {
        height: 28px;
    }
    
    .hero {
        padding: 4rem 1.5rem;
        min-height: auto;
    }
    
    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .hero-tagline {
        font-size: 1.2rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .content-section {
        margin: 0;
        padding: 3rem 1.5rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* Proof strip under the hero */
.proof-strip {
    list-style: none;
    margin: 3rem auto 0;
    padding: 1.25rem 0 0;
    border-top: 1px solid #e8eaed;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem 2.5rem;
    font-size: 0.95rem;
    color: #5f6368;
}

.proof-strip a {
    color: inherit;
    text-decoration: none;
}

.proof-strip a:hover {
    color: #be2e78;
    text-decoration: underline;
}

.proof-strip strong {
    color: #272b31;
    font-weight: 600;
}

/* Team */
.team {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 1.5rem 0 2rem;
}

.team-member {
    border: 1px solid #e8eaed;
    border-radius: 8px;
    padding: 1.5rem;
}

.content-section .team-member img {
    width: 150px;
    height: 200px;
    object-fit: cover;
}

.team-member h3 {
    margin: 0 0 0.25rem;
}

.team-role {
    color: #be2e78;
    font-weight: 500;
    margin: 0 0 1rem;
}

.team-member ul {
    padding-left: 1.2rem;
}

/* Breathing room between a list and the paragraph after it */
.content-section ul + p {
    margin-top: 1.25rem;
}

/* "How Viten Hub can help" three-step illustration */
.steps {
    list-style: none;
    padding: 0;
    margin: 2rem 0 2.5rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    counter-reset: step;
}

.step {
    position: relative;
    text-align: center;
    padding: 1.5rem 1.25rem;
    border: 1px solid #e8eaed;
    border-radius: 8px;
    background: #fbfbfc;
}

.step + .step::before {
    content: "→";
    position: absolute;
    left: -1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: #be2e78;
    font-size: 1.25rem;
}

.step-icon {
    width: 48px;
    height: 48px;
    fill: none;
    stroke: #be2e78;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    margin-bottom: 0.5rem;
}

.step h3 {
    margin: 0 0 0.5rem;
    font-size: 1.05rem;
    color: #1a3a66;
}

.step p {
    margin: 0;
    font-size: 0.9rem;
    color: #5f6368;
}

@media (max-width: 720px) {
    .steps {
        grid-template-columns: 1fr;
    }
    .step + .step::before {
        content: "↓";
        left: 50%;
        top: -1.35rem;
        transform: translateX(-50%);
    }
}
