/* PathwayBio Website Styles - Exact Sciences Inspired */

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

:root {
    --primary-blue: #2563eb;
    --dark-blue: #1e40af;
    --light-blue: #eff6ff;
    --success-green: #10b981;
    --text-dark: #0f172a;
    --text-medium: #475569;
    --text-light: #64748b;
    --border-color: #e2e8f0;
    --bg-light: #f8fafc;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: #ffffff;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
header {
    background: #ffffff;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

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

.logo {
    font-size: 28px;
    font-weight: 900;
    color: var(--primary-blue);
    letter-spacing: -0.5px;
    text-decoration: none;
}

.nav-menu {
    display: flex;
    gap: 32px;
    align-items: center;
    list-style: none;
}

.nav-menu > li {
    position: relative;
}

.nav-menu > li > a {
    color: var(--text-medium);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: color 0.2s;
    padding: 8px 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.nav-menu > li > a:hover {
    color: var(--primary-blue);
}

/* Dropdown Arrow */
.dropdown-arrow {
    font-size: 10px;
    transition: transform 0.2s;
}

.nav-menu > li:hover .dropdown-arrow {
    transform: rotate(180deg);
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: -16px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    padding: 12px 0;
    min-width: 260px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.2s ease;
    list-style: none;
    z-index: 1001;
}

.nav-menu > li:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu li a {
    display: block;
    padding: 12px 24px;
    color: var(--text-medium);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.15s;
}

.dropdown-menu li a:hover {
    background: var(--light-blue);
    color: var(--primary-blue);
}

.dropdown-menu .dropdown-header {
    padding: 8px 24px 4px;
    font-size: 11px;
    font-weight: 700;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dropdown-menu .dropdown-divider {
    height: 1px;
    background: var(--border-color);
    margin: 8px 0;
}

.nav-cta {
    background: var(--primary-blue);
    color: #ffffff !important;
    padding: 10px 24px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.2s;
}

.nav-cta:hover {
    background: var(--dark-blue);
    transform: translateY(-1px);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: all 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 100%);
    padding: 100px 0 120px;
    position: relative;
    overflow: hidden;
}

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

.hero-badge {
    display: inline-block;
    background: #dbeafe;
    color: #1e40af;
    font-size: 13px;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 20px;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.hero h1 {
    font-size: 56px;
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: 24px;
    line-height: 1.1;
    letter-spacing: -1px;
}

.hero .subtitle {
    font-size: 22px;
    color: var(--text-medium);
    margin-bottom: 40px;
    line-height: 1.5;
    font-weight: 500;
}

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

/* Buttons */
.btn-primary {
    background: var(--primary-blue);
    color: #ffffff;
    font-size: 17px;
    font-weight: 700;
    padding: 16px 40px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s;
    box-shadow: 0 4px 6px rgba(37, 99, 235, 0.2);
    display: inline-block;
}

.btn-primary:hover {
    background: var(--dark-blue);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(37, 99, 235, 0.3);
}

.btn-secondary {
    background: #ffffff;
    color: var(--primary-blue);
    font-size: 17px;
    font-weight: 700;
    padding: 16px 40px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s;
    border: 2px solid var(--primary-blue);
    display: inline-block;
}

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

/* Section Styles */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 80px;
}

.section-header h2 {
    font-size: 44px;
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.section-header p {
    font-size: 19px;
    color: var(--text-light);
    line-height: 1.6;
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 32px;
    margin-top: 60px;
}

.product-card {
    background: #ffffff;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 40px;
    transition: all 0.3s;
    position: relative;
}

.product-card:hover {
    border-color: var(--primary-blue);
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.12);
    transform: translateY(-4px);
}

.product-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin-bottom: 24px;
}

.product-card h3 {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.product-card .condition {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 20px;
    font-weight: 600;
}

.product-card p {
    font-size: 16px;
    color: var(--text-medium);
    line-height: 1.7;
    margin-bottom: 24px;
}

.product-features {
    list-style: none;
    margin-bottom: 32px;
}

.product-features li {
    font-size: 15px;
    color: #334155;
    padding-left: 28px;
    margin-bottom: 12px;
    position: relative;
    line-height: 1.5;
}

.product-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success-green);
    font-weight: 700;
    font-size: 18px;
}

.product-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
}

.product-link:hover {
    color: var(--dark-blue);
}

.product-link:after {
    content: "→";
    margin-left: 8px;
    transition: transform 0.2s;
}

.product-link:hover:after {
    transform: translateX(4px);
}

/* Steps/Process */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 48px;
    margin-top: 60px;
}

.step {
    text-align: center;
}

.step-number {
    width: 72px;
    height: 72px;
    background: var(--primary-blue);
    color: #ffffff;
    font-size: 32px;
    font-weight: 900;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.step h3 {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.step p {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.6;
}

/* Value Grid */
.value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.value-item {
    text-align: center;
    padding: 32px;
}

.value-icon {
    font-size: 56px;
    margin-bottom: 20px;
}

.value-item h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.value-item p {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
    text-align: center;
    color: #ffffff;
}

.cta-section h2 {
    font-size: 44px;
    font-weight: 900;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.cta-section p {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.95;
}

.btn-light {
    background: #ffffff;
    color: var(--dark-blue);
    font-size: 17px;
    font-weight: 700;
    padding: 16px 40px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s;
    display: inline-block;
}

.btn-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(255,255,255,0.3);
}

/* Footer */
footer {
    background: var(--text-dark);
    color: #94a3b8;
    padding: 60px 0 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 48px;
    margin-bottom: 48px;
}

.footer-section h4 {
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.2s;
}

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

.footer-bottom {
    border-top: 1px solid #1e293b;
    padding-top: 32px;
    text-align: center;
    font-size: 14px;
}

/* Background Variations */
.bg-white {
    background: #ffffff;
}

.bg-light {
    background: var(--bg-light);
}

/* Responsive */
@media (max-width: 968px) {
    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #ffffff;
        border-top: 1px solid var(--border-color);
        padding: 20px;
        gap: 8px;
        box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu > li {
        position: relative;
    }
    
    .nav-menu > li > a {
        padding: 12px 0;
        display: flex;
        justify-content: space-between;
        width: 100%;
    }
    
    /* Mobile Dropdown */
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        padding: 0 0 0 16px;
        min-width: auto;
        display: none;
        background: transparent;
    }
    
    .nav-menu > li.dropdown-open .dropdown-menu {
        display: block;
    }
    
    .dropdown-menu li a {
        padding: 10px 16px;
    }
    
    .dropdown-menu .dropdown-header {
        padding: 10px 16px 4px;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .hero .subtitle {
        font-size: 18px;
    }
    
    .section-header h2 {
        font-size: 32px;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-ctas {
        flex-direction: column;
    }
    
    section {
        padding: 60px 0;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 16px;
    }
    
    .hero {
        padding: 60px 0 80px;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .btn-primary, .btn-secondary, .btn-light {
        width: 100%;
        text-align: center;
    }
}
/* Hero with Background Image */
.hero-image {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.hero-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(30, 64, 175, 0.75) 100%);
    z-index: 1;
}

.hero-image .container {
    position: relative;
    z-index: 2;
}

.hero-image h1,
.hero-image .subtitle,
.hero-image .hero-badge {
    color: #ffffff;
}

.hero-image .subtitle {
    color: rgba(255, 255, 255, 0.9);
}

.hero-image .hero-badge {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Specific Hero Background Images */
.hero-lab {
    background-image: url('../images/hero-lab.jpg');
}

.hero-cell-culture {
    background-image: url('../images/hero-cell-culture.jpg');
}

.hero-lab-equipment {
    background-image: url('../images/hero-lab-equipment.jpg');
}

.hero-molecular {
    background-image: url('../images/hero-molecular-human.png');
    background-position: right center;
}

.hero-molecular::before {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.75) 0%, rgba(30, 64, 175, 0.6) 100%);
}

/* Lifestyle Images for CTA sections */
.cta-lifestyle {
    background-size: cover;
    background-position: center;
    position: relative;
}

.cta-lifestyle::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.9) 0%, rgba(30, 58, 138, 0.85) 100%);
    z-index: 1;
}

.cta-lifestyle .container {
    position: relative;
    z-index: 2;
}

.cta-family {
    background-image: url('../images/lifestyle-family.jpg');
}

.cta-kayak {
    background-image: url('../images/lifestyle-kayak.jpg');
}

.cta-hiking {
    background-image: url('../images/lifestyle-hiking.jpg');
}