/* 
   ==========================================================================
   LabIQ PREMIUM LANDING CSS
   ========================================================================== 
*/

:root {
    --primary: #0ea5e9;
    --primary-alt: #0284c7;
    --dark: #0f172a;
    --dark-alt: #1e293b;
    --bg-light: #f8fafc;
    --bg-blue: #f0f9ff;
    --text: #334155;
    --text-light: #64748b;
    --border: #e2e8f0;
    --white: #ffffff;
    --accent: #06b6d4;
    --glass: rgba(255, 255, 255, 0.85);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    line-height: 1.6;
    background: var(--bg-light);
    overflow-x: hidden;
}

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

a { text-decoration: none; transition: .25s; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .85rem 1.75rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: .95rem;
    cursor: pointer;
    transition: all .25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: white;
    border: none;
    box-shadow: 0 10px 15px -3px rgba(14, 165, 233, 0.3);
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 25px -5px rgba(14, 165, 233, 0.4);
}
.btn-outline {
    background: transparent;
    border: 2px solid var(--border);
    color: var(--dark);
}
.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--bg-blue);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 1.25rem 0;
    transition: .3s;
}
.navbar.scrolled {
    background: var(--glass);
    backdrop-filter: blur(12px);
    padding: .85rem 0;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
}
.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.nav-logo {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--dark);
    letter-spacing: -1px;
}
.nav-logo span { color: var(--primary); }

.nav-links { display: flex; gap: 2.25rem; align-items: center; }
.nav-links a {
    color: var(--text);
    font-weight: 600;
    font-size: .95rem;
}
.nav-links a:hover { color: var(--primary); }

.nav-right { display: flex; gap: 1rem; align-items: center; }

@media (max-width: 991px) {
    .nav-links { display: none; }
}

/* Hero Section */
.hero {
    padding: 10rem 0 6rem;
    background: radial-gradient(circle at 85% 15%, rgba(14, 165, 233, 0.08) 0%, transparent 60%),
                radial-gradient(circle at 10% 80%, rgba(6, 182, 212, 0.05) 0%, transparent 50%);
    position: relative;
    overflow: hidden;
}
.hero::after {
    content: '';
    position: absolute;
    width: 600px; height: 600px;
    border-radius: 50%;
    background: rgba(14, 165, 233, 0.03);
    top: -200px; right: -200px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 4rem;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: #e0f2fe;
    color: #0369a1;
    padding: .4rem .8rem;
    border-radius: 99px;
    font-size: .85rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}
.hero-badge i { font-size: 1rem; }

.hero-title {
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--dark);
    margin-bottom: 1.5rem;
    letter-spacing: -1.5px;
}
.hero-title span {
    background: linear-gradient(45deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-desc {
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    max-width: 540px;
}
.hero-stats {
    display: flex;
    gap: 3rem;
    margin-top: 3.5rem;
}
.stat-item strong { display: block; font-size: 1.8rem; font-weight: 800; color: var(--dark); }
.stat-item span   { font-size: .85rem; color: var(--text-light); font-weight: 500; }

.hero-visual { position: relative; }
.hero-card {
    background: #fff;
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.12);
    border: 1px solid var(--border);
    position: relative;
    z-index: 2;
}
.float-tag {
    position: absolute;
    background: #fff;
    padding: 1rem;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    gap: .75rem;
    z-index: 3;
}
.tag-1 { top: -20px; right: -30px; }
.tag-2 { bottom: 40px; left: -40px; }

.icon-box {
    width: 40px; height: 40px;
    border-radius: 10px;
    background: var(--bg-blue);
    display: flex; align-items: center; justify-content: center;
    color: var(--primary); font-size: 1.2rem;
}

@media (max-width: 991px) {
    .hero-content { grid-template-columns: 1fr; text-align: center; gap: 2rem; }
    .hero-desc { margin-left: auto; margin-right: auto; }
    .hero-stats { justify-content: center; }
    .hero-title { font-size: 2.8rem; }
    .hero-visual { max-width: 500px; margin: 3rem auto 0; }
}

/* Components Section */
.section { padding: 7rem 0; }
.section-head { text-align: center; margin-bottom: 4rem; max-width: 700px; margin-left: auto; margin-right: auto; }
.section-tag {
    color: var(--primary);
    text-transform: uppercase;
    font-weight: 800;
    font-size: .85rem;
    letter-spacing: 1.5px;
    margin-bottom: .75rem;
    display: block;
}
.section-title { font-size: 2.5rem; font-weight: 800; color: var(--dark); }

/* Features Grid */
.feat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.feat-card {
    background: #fff;
    padding: 2.5rem;
    border-radius: 24px;
    border: 1px solid var(--border);
    transition: .3s;
}
.feat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.05);
    border-color: var(--primary);
}
.feat-icon-lg {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: block;
}
.feat-card h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: 1rem; color: var(--dark); }
.feat-card p { color: var(--text-light); font-size: .95rem; }

@media (max-width: 991px) {
    .feat-grid { grid-template-columns: 1fr; }
}

/* Lab Analysis Demo Card */
.analysis-demo {
    background: #f8fafc;
    border-radius: 20px;
    padding: 1.5rem;
}
.demo-row {
    display: flex; justify-content: space-between;
    padding: .75rem 0; border-bottom: 1px solid #eef2f6;
}
.demo-row:last-child { border-bottom: none; }
.demo-val { font-weight: 700; color: var(--dark); }
.demo-status {
    padding: .2rem .6rem; border-radius: 6px; font-size: .75rem; font-weight: 700;
}
.status-normal { background: #dcfce7; color: #166534; }
.status-high   { background: #fee2e2; color: #991b1b; }

/* Dashboard Showcase */
.showcase-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    align-items: center; gap: 6rem;
}
.check-list { margin-top: 2rem; }
.check-item { display: flex; align-items: center; gap: .75rem; margin-bottom: 1rem; font-weight: 600; color: #334155; }
.check-icon { color: var(--success); font-size: 1.2rem; }

@media (max-width: 991px) {
    .showcase-grid { grid-template-columns: 1fr; gap: 4rem; }
}

/* CTA Footer */
.cta-footer {
    background: linear-gradient(135deg, var(--dark) 0%, #0c4a6e 100%);
    color: white;
    padding: 5rem 0;
    text-align: center;
    border-radius: 40px;
    margin: 4rem auto;
    width: calc(100% - 3rem);
}
.cta-footer h2 { font-size: 2.5rem; font-weight: 800; margin-bottom: 1.5rem; }
.cta-footer p { opacity: .8; font-size: 1.1rem; margin-bottom: 2.5rem; }

/* Footer */
.footer-main { padding: 5rem 0 3rem; }
.footer-grid {
    display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 4rem;
    margin-bottom: 4rem;
}
.footer-logo { font-size: 1.5rem; font-weight: 800; color: var(--dark); margin-bottom: 1.5rem; display: block; }
.footer-logo span { color: var(--primary); }
.footer-desc { color: var(--text-light); font-size: .95rem; }
.footer-head { font-weight: 700; font-size: 1.1rem; color: var(--dark); margin-bottom: 1.5rem; }
.footer-links li { margin-bottom: .75rem; }
.footer-links a { color: var(--text-light); font-size: .95rem; }
.footer-links a:hover { color: var(--primary); }

.bottom-bar {
    padding-top: 2rem; border-top: 1px solid var(--border);
    display: flex; justify-content: space-between; align-items: center;
    color: var(--text-light); font-size: .88rem;
}

@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .bottom-bar { flex-direction: column; gap: 1rem; text-align: center; }
}
