/*
Theme Name: LabShare Landing
Theme URI: https://labshare.ai
Author: LabShare Team
Author URI: https://labshare.ai
Description: Conversion-optimized landing page for LabShare - privacy-preserving collaboration for life science researchers
Version: 2.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: labshare
Tags: landing-page, business, one-page, custom-header

This theme is designed for LabShare.ai landing page.
*/
/* ========================================
   SIZE FIXES - Added to fix huge logo/icons
   ======================================== */

/* Force logo to correct size */
.logo-image,
.custom-logo,
.custom-logo-link img {
    width: 40px !important;
    height: 40px !important;
    max-width: 40px !important;
    max-height: 40px !important;
    object-fit: contain !important;
}

/* Force navbar brand to correct size */
.navbar-brand img {
    width: 40px !important;
    height: 40px !important;
}

/* Ensure demo icons are correct size */
.demo-step-icon {
    font-size: 2.5rem !important;
    line-height: 1 !important;
}

/* Ensure persona icons are correct size */
.persona-icon {
    font-size: 3rem !important;
    line-height: 1 !important;
}

/* Ensure feature icons are correct size */
.feature-icon {
    width: 60px !important;
    height: 60px !important;
    font-size: 2rem !important;
}

/* ======================================== */

:root {
    --primary: #667eea;
    --secondary: #764ba2;
    --accent: #f59e0b;
    --success: #10b981;
    --dark: #0f172a;
}

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

body {
    font-family: 'Inter', -apple-system, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    background: #f8fafc;
}

html { scroll-behavior: smooth; }

/* NAVIGATION */
.navbar {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary) !important;
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-image { width: 40px; height: 40px; object-fit: contain; }

.nav-link {
    font-weight: 500;
    color: #475569 !important;
    transition: color 0.3s;
    padding: 0.5rem 1rem !important;
}

.nav-link:hover { color: var(--primary) !important; }

/* HERO */
.hero-section {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 50%, #f093fb 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1), transparent 50%);
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero-content { position: relative; z-index: 1; }

.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3);
    padding: 10px 20px;
    border-radius: 50px;
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 900;
    color: white;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 20px rgba(0,0,0,0.2);
}

.hero-section h1 .highlight {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-section .lead {
    font-size: 1.25rem;
    color: white;
    max-width: 800px;
    margin: 0 auto 1rem;
    line-height: 1.7;
}

.hero-translation {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 16px;
    padding: 20px 30px;
    color: white;
    font-size: 1.1rem;
    max-width: 700px;
    margin: 2rem auto;
    line-height: 1.6;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2.5rem;
}

.btn {
    padding: 14px 32px;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    border: none;
    cursor: pointer;
}

.btn-hero {
    background: white;
    color: var(--primary);
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    font-size: 1.1rem;
}

.btn-hero:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 50px rgba(0,0,0,0.3);
    color: var(--primary);
}

.btn-secondary-hero {
    background: transparent;
    color: white;
    border: 2px solid white;
}

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

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white !important;
    box-shadow: 0 4px 20px rgba(102,126,234,0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(102,126,234,0.6);
}

/* DEMO VISUAL */
.demo-visual {
    margin-top: 60px;
    perspective: 1000px;
}

.demo-container {
    background: white;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    border: 4px solid rgba(255,255,255,0.5);
    transform: rotateX(5deg);
    transition: transform 0.5s;
    max-width: 900px;
    margin: 0 auto;
}

.demo-container:hover { transform: rotateX(0deg) scale(1.02); }

.demo-flow {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.demo-step {
    background: linear-gradient(135deg, #f8fafc, #e0e7ff);
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    transition: all 0.3s;
}

.demo-step:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.demo-step-icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
    display: block;
}

.demo-step-title {
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.demo-step-desc {
    font-size: 0.85rem;
    color: #64748b;
    margin: 0;
}

.demo-arrow {
    text-align: center;
    font-size: 1.5rem;
    color: var(--primary);
    margin: 10px 0;
}

/* SEPARATOR */
.separator {
    height: 8px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
    margin: 0;
}

/* SECTIONS */
section { padding: 80px 0; }

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.2rem;
    color: #64748b;
    max-width: 700px;
    margin: 0 auto;
}

/* BUILT FOR SECTION */
.built-for { background: white; }

.persona-card {
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border: 2px solid #e5e7eb;
    border-radius: 20px;
    padding: 40px;
    height: 100%;
    transition: all 0.4s;
    position: relative;
    overflow: hidden;
}

.persona-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transition: transform 0.4s;
}

.persona-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(102,126,234,0.15);
    border-color: var(--primary);
}

.persona-card:hover::before { transform: scaleX(1); }

.persona-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.persona-card h5 {
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.persona-card p {
    color: #64748b;
    line-height: 1.7;
    margin: 0;
}

/* USE CASES */
.use-cases { background: #f8fafc; }

.use-case-item {
    background: white;
    border-left: 4px solid var(--success);
    border-radius: 12px;
    padding: 20px 24px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: all 0.3s;
}

.use-case-item:hover {
    transform: translateX(8px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.use-case-item strong {
    color: var(--success);
    font-weight: 600;
}

/* PRIVATE VS PUBLIC */
.comparison-section {
    background: var(--dark);
    color: white;
}

.comparison-card {
    background: rgba(255,255,255,0.05);
    border: 2px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(10px);
}

.comparison-table {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.comparison-col h4 {
    font-weight: 700;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid currentColor;
}

.comparison-col.private h4 { color: #ef4444; }
.comparison-col.public h4 { color: var(--success); }

.comparison-item {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.8);
}

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

/* TREE SECTION */
.tree-section { background: var(--dark); }

.tree-section h2 {
    color: white;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.tree-section .subtitle {
    color: rgba(255,255,255,0.7);
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 60px;
}

.gradient-text {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tree-svg { width: 100%; max-width: 1000px; margin: 0 auto; display: block; }

.root {
    fill: #8b5cf6;
    animation: root-pulse 3s ease-in-out infinite;
}

.root-line {
    stroke: #8b5cf6;
    stroke-width: 3;
    stroke-dasharray: 5, 5;
    animation: root-pulse 3s ease-in-out infinite;
}

@keyframes root-pulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

.trunk { fill: url(#trunk-gradient); }

.branch {
    stroke: #10b981;
    stroke-width: 4;
    fill: none;
    stroke-linecap: round;
}

.leaf { fill: #10b981; }

.fruit {
    fill: #f59e0b;
    animation: fruit-bounce 2s ease-in-out infinite;
}

@keyframes fruit-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.tree-label {
    fill: white;
    font-size: 16px;
    font-weight: 600;
    text-anchor: middle;
}

.tree-sublabel {
    fill: rgba(255,255,255,0.7);
    font-size: 13px;
    text-anchor: middle;
}

.tree-element {
    cursor: pointer;
    transition: all 0.3s;
}

.tree-element:hover { filter: brightness(1.3); }

/* FEATURES */
.features-section { background: white; }

.feature-card {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 20px;
    padding: 40px;
    height: 100%;
    transition: all 0.4s;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transition: transform 0.4s;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(102,126,234,0.15);
    border-color: var(--primary);
}

.feature-card:hover::before { transform: scaleX(1); }

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 20px;
}

.feature-card h5 {
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.feature-card p {
    color: #64748b;
    line-height: 1.7;
    margin: 0;
}

/* FAQ */
.faq-section { background: #f8fafc; }

.faq-item {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 16px;
    transition: all 0.3s;
}

.faq-item:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 16px rgba(102,126,234,0.1);
}

.faq-question {
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
    font-size: 1.1rem;
}

.faq-answer {
    color: #64748b;
    line-height: 1.7;
    margin: 0;
}

/* TRUST */
.trust-section { background: white; }

.trust-badge {
    background: #f8fafc;
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    height: 100%;
    transition: all 0.3s;
}

.trust-badge:hover {
    border-color: var(--success);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(16,185,129,0.1);
}

.trust-badge .icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.trust-badge h6 {
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
}

.trust-badge p {
    color: #64748b;
    font-size: 0.95rem;
    margin: 0;
}

/* NEWSLETTER */
.newsletter-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.newsletter-section h4 {
    color: white;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.newsletter-section .subtitle {
    color: rgba(255,255,255,0.9);
    font-size: 1.2rem;
    margin-bottom: 40px;
}

.newsletter-form {
    background: white;
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.form-control {
    padding: 16px;
    font-size: 1.05rem;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    transition: all 0.3s;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(102,126,234,0.1);
    outline: none;
}

.form-label {
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 8px;
}

/* FOOTER */
.footer {
    background: var(--dark);
    color: rgba(255,255,255,0.8);
    padding: 60px 0 30px;
}

.footer h5 {
    color: white;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.footer a:hover { color: white; }

.footer-brand {
    font-size: 1.75rem;
    font-weight: 800;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* MODAL */
.modal-content {
    border-radius: 20px;
    border: none;
}

.modal-header {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border-radius: 20px 20px 0 0;
    border: none;
}

.modal-title { font-weight: 700; }

.btn-close { filter: brightness(0) invert(1); }

/* RESPONSIVE */
@media (max-width: 768px) {
    .hero-section h1 { font-size: 2.5rem; }
    .section-header h2 { font-size: 2rem; }
    .demo-flow { grid-template-columns: 1fr; }
    .comparison-table { grid-template-columns: 1fr; }
    .demo-container { transform: none; }
}
