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

:root {
    --color-bg: #f5f5f3;
    --color-bg-alt: #ffffff;
    --color-text: #1a1a1a;
    --color-text-muted: #666666;
    --color-accent: #2563eb;
    --color-accent-light: #3b82f6;
    --color-border: #e5e5e5;
    --color-card-bg: #ffffff;
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Navigation */
.nav {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(245, 245, 243, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--color-text);
}

.nav-logo span {
    color: var(--color-accent);
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--color-text-muted);
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--color-text);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text);
    margin: 5px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 8rem 2rem 4rem;
    max-width: 1400px;
    margin: 0 auto;
    gap: 4rem;
}

.hero-content {
    max-width: 900px;
}

.hero-products {
    width: 100%;
}

.hero-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-accent);
    margin-bottom: 1.5rem;
    padding: 0.5rem 1rem;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 2rem;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    color: var(--color-text-muted);
    max-width: 700px;
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-text);
    text-decoration: none;
    padding: 1rem 0;
    border-bottom: 2px solid var(--color-text);
    transition: gap 0.3s;
}

.hero-cta:hover {
    gap: 1rem;
}

.hero-cta svg {
    width: 20px;
    height: 20px;
}

/* Products Grid */
.products-section {
    padding: 6rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.hero-products .products-grid {
    margin-top: 0;
}

.section-header {
    margin-bottom: 4rem;
}

.section-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-accent);
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.product-card {
    background: var(--color-card-bg);
    padding: 2rem;
    border-radius: 0;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
}


.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.product-icon {
    width: 56px;
    height: 56px;
    background: var(--color-bg);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--color-accent);
}

.product-icon.product-icon-img {
    width: 250px;
    height: 250px;
    background: transparent;
    overflow: hidden;
    padding: 0;
    border-radius: 12px;
}

.product-icon.product-icon-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.product-name {
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin-bottom: 0.75rem;
}

.product-tagline {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

.product-arrow {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateX(-10px);
    transition: opacity 0.3s, transform 0.3s;
}

.product-card:hover .product-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* Product Detail Sections */
.product-detail {
    padding: 8rem 2rem;
    border-top: 1px solid var(--color-border);
}

.product-detail:nth-child(even) {
    background: var(--color-bg-alt);
}

.product-detail-container {
    max-width: 1400px;
    margin: 0 auto;
}

.product-detail-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.product-detail-intro {
    position: sticky;
    top: 6rem;
    align-self: start;
}

.product-detail-icon {
    width: 72px;
    height: 72px;
    background: var(--color-bg);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    color: var(--color-accent);
}

.product-detail-icon.product-icon-img {
    width: 140px;
    height: 140px;
    background: transparent;
    overflow: hidden;
    padding: 0;
    border-radius: 16px;
}

.product-detail-icon.product-icon-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
}

.product-detail-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.product-detail-subtitle {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.product-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
}

.product-meta-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.product-meta-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-muted);
}

.product-meta-value {
    font-size: 1rem;
    font-weight: 500;
}

.product-meta-value a {
    color: var(--color-accent);
    text-decoration: none;
}

.product-meta-value a:hover {
    text-decoration: underline;
}

.product-detail-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.product-screenshot {
    background: var(--color-card-bg);
    border-radius: 8px;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
    font-size: 0.875rem;
    border: 1px solid var(--color-border);
}

.product-screenshot img {
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 4px;
    border: none;
}

.product-screenshot.logo-showcase {
    flex-direction: column;
    gap: 1rem;
    border: 1px solid var(--color-border);
    background: var(--color-card-bg);
}

.product-screenshot.logo-showcase img {
    max-width: 100%;
    max-height: 250px;
    object-fit: contain;
    border-radius: 4px;
}

.image-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-accent);
}

/* Metrics Section */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 4rem;
}

.metric-card {
    background: var(--color-bg);
    padding: 2rem;
    border-radius: 0;
    position: relative;
}

.metric-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--color-accent);
}

.metric-value {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
    color: var(--color-accent);
}

.metric-label {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}

/* Key Components */
.key-components {
    margin-top: 3rem;
}

.key-components-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-muted);
}

.component-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.component-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--color-bg);
    border-radius: 4px;
}

.component-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    color: var(--color-accent);
}

.component-text {
    font-size: 0.9375rem;
    line-height: 1.5;
}

/* Savings Section */
.savings-section {
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-light));
    padding: 3rem;
    border-radius: 8px;
    margin-top: 3rem;
    color: white;
}

.savings-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.savings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
}

.savings-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.savings-value {
    font-size: 1.75rem;
    font-weight: 700;
}

.savings-label {
    font-size: 0.875rem;
    opacity: 0.9;
}

/* Publications */
.publications {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
}

.publications-title {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-muted);
    margin-bottom: 1rem;
}

.publication-placeholder {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    font-style: italic;
}

.publication-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
}

.pub-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1.5rem;
    background: var(--color-card-bg);
    border-radius: 8px;
    text-decoration: none;
    border: 1px solid var(--color-border);
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.pub-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    border-color: var(--color-accent);
}

.pub-title {
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--color-text);
    line-height: 1.4;
}

.pub-item:hover .pub-title {
    color: var(--color-accent);
}

.pub-authors {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}

.pub-journal {
    font-size: 0.8125rem;
    color: var(--color-accent);
    font-weight: 600;
    margin-top: auto;
    padding-top: 0.5rem;
}

/* Clinical Apps Section */
.clinical-apps {
    padding: 6rem 2rem;
    background: var(--color-bg-alt);
}

.clinical-apps-container {
    max-width: 1400px;
    margin: 0 auto;
}

.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.app-card {
    background: var(--color-bg);
    padding: 1.5rem;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.app-icon {
    width: 48px;
    height: 48px;
    background: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--color-accent);
}

.app-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.app-name {
    font-weight: 600;
    font-size: 1rem;
}

.app-desc {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
}

/* Team Section */
.team-section {
    padding: 8rem 2rem;
    background: var(--color-bg);
    border-top: 1px solid var(--color-border);
}

.team-container {
    max-width: 1400px;
    margin: 0 auto;
}

.team-intro {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    max-width: 600px;
    line-height: 1.7;
    margin-top: 1rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 4rem;
}

.team-card {
    background: var(--color-card-bg);
    padding: 2rem;
    border-radius: 0;
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.team-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.team-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-light));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.avatar-initials {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    letter-spacing: 0.02em;
}

.team-avatar-photo {
    background: none;
    overflow: hidden;
}

.team-avatar-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.team-info {
    flex: 1;
}

.team-name {
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin-bottom: 0.25rem;
}

.team-role {
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-accent);
    display: block;
    margin-bottom: 0.75rem;
}

.team-bio {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

.team-links {
    display: flex;
    gap: 0.75rem;
    padding-top: 0.5rem;
    border-top: 1px solid var(--color-border);
}

.team-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--color-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.team-link:hover {
    background: var(--color-accent);
    color: white;
}

/* Contact Section */
.contact-section {
    padding: 8rem 2rem;
    background: var(--color-bg-alt);
    border-top: 1px solid var(--color-border);
}

.contact-container {
    max-width: 1400px;
    margin: 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-description {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-top: 1.5rem;
    margin-bottom: 2.5rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-detail-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(37, 99, 235, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--color-accent);
}

.contact-detail-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.contact-detail-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-muted);
}

.contact-detail-value {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--color-text);
}

.contact-link {
    text-decoration: none;
    color: var(--color-accent);
    font-weight: 500;
    transition: color 0.2s;
}

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

/* Contact Form */
.contact-form-wrapper {
    background: var(--color-card-bg);
    padding: 2.5rem;
    border-radius: 0;
    border: 1px solid var(--color-border);
}

.form-fields {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-muted);
}

.form-input {
    font-family: var(--font-main);
    font-size: 0.9375rem;
    padding: 0.875rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    background: var(--color-bg);
    color: var(--color-text);
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}

.form-input:focus {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-input::placeholder {
    color: #aaa;
}

.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='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
    cursor: pointer;
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-submit {
    font-family: var(--font-main);
    font-size: 0.9375rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: var(--color-accent);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    margin-top: 0.5rem;
}

.form-submit:hover {
    background: var(--color-accent-light);
}

.form-submit:active {
    transform: scale(0.98);
}

.form-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 1rem;
    padding: 3rem 1rem;
    color: var(--color-accent);
}

.form-success h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text);
}

.form-success p {
    font-size: 1rem;
    color: var(--color-text-muted);
    max-width: 300px;
}

/* Footer */
.footer {
    padding: 4rem 2rem;
    border-top: 1px solid var(--color-border);
    background: var(--color-bg);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-logo {
    font-size: 1.125rem;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.footer-logo span {
    color: var(--color-accent);
}

.footer-text {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

/* Responsive */
@media (max-width: 1024px) {
    .product-detail-header {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .product-detail-intro {
        position: static;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--color-bg);
        flex-direction: column;
        padding: 1rem 2rem 2rem;
        gap: 1rem;
        border-bottom: 1px solid var(--color-border);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-toggle {
        display: block;
    }

    .hero {
        padding-top: 6rem;
    }

    .products-section,
    .product-detail {
        padding: 4rem 1.5rem;
    }

    .product-detail-header {
        gap: 2rem;
    }

    .metrics-grid {
        grid-template-columns: 1fr 1fr;
    }

    .savings-section {
        padding: 2rem;
    }

    .savings-grid {
        grid-template-columns: 1fr;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .team-section,
    .contact-section {
        padding: 4rem 1.5rem;
    }

    .team-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 1rem;
    }

    .products-section,
    .product-detail {
        padding: 3rem 1rem;
    }

    .product-card {
        padding: 1.5rem;
    }

    .metrics-grid {
        grid-template-columns: 1fr;
    }

    .product-meta {
        flex-direction: column;
        gap: 1rem;
    }

    .team-section,
    .contact-section {
        padding: 3rem 1rem;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .contact-form-wrapper {
        padding: 1.5rem;
    }
}