/* ========== LANDING PAGE STYLES ========== */
/* Lab2Go Landing Page */

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

:root {
    --primary: #1A94E3;
    --primary-dark: #1578ba;
    --primary-light: #e8f4fd;
    --gradient: linear-gradient(135deg, #1A94E3 0%, #0d6ebd 100%);
    --text: #1e293b;
    --text-light: #64748b;
    --bg: #ffffff;
    --bg-alt: #f8fafc;
    --border: #e2e8f0;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --radius: 12px;
    --radius-lg: 20px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter Tight', sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-gradient {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.938rem;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--gradient);
    color: #fff;
    border-color: var(--primary);
}

.btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    box-shadow: var(--shadow);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary-light);
}

.btn-lg {
    padding: 14px 32px;
    font-size: 1.05rem;
}

/* ===== NAVBAR ===== */
.landing-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.landing-nav.scrolled {
    background: rgba(255, 255, 255, 0.97);
    border-bottom-color: var(--border);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

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

.nav-links {
    display: flex;
    gap: 32px;
}

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

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

.nav-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text);
    cursor: pointer;
}

/* ===== HERO ===== */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(180deg, var(--primary-light) 0%, var(--bg) 100%);
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.hero h1 {
    font-size: 3.25rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 540px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-light);
    font-weight: 500;
}

.hero-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-img {
    max-width: 100%;
    height: auto;
    max-height: 400px;
    filter: drop-shadow(0 20px 40px rgba(58, 87, 232, 0.15));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-16px); }
}

/* ===== SECTIONS ===== */
.section {
    padding: 96px 0;
}

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

.section-header h2 {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 560px;
    margin: 0 auto;
}

/* ===== FEATURES ===== */
.features-section {
    background: var(--bg);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.feature-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 28px;
    transition: all 0.25s ease;
}

.feature-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.feature-icon {
    width: 96px;
    height: 96px;
    min-width: 96px;
    max-width: 96px;
    border-radius: 18px;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    overflow: hidden;
}

.feature-icon i {
    font-size: 2.5rem;
    color: var(--primary);
}

.feature-icon img {
    width: 72px;
    height: 72px;
    max-width: 72px;
    max-height: 72px;
    object-fit: contain;
    display: block;
}

.feature-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 0.938rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* Visual feature card with large image */
.feature-card--visual {
    text-align: center;
    padding-top: 0;
    overflow: hidden;
}

.feature-card--visual .feature-card-img {
    width: 100%;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-light) 0%, #f0f8ff 100%);
    border-radius: var(--radius) var(--radius) 0 0;
    margin: 0 -28px 20px -28px;
    padding: 20px;
    width: calc(100% + 56px);
}

.feature-card--visual .feature-card-img img {
    max-width: 140px;
    max-height: 140px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 4px 12px rgba(26, 148, 227, 0.2));
}

.feature-card--visual .feature-card-img--lg img {
    max-width: 180px;
    max-height: 180px;
}

/* ===== MOBILE APP SECTIONS ===== */
.app-section {
    background: var(--bg);
}

.app-section-alt {
    background: var(--bg-alt);
}

.app-showcase {
    display: grid;
    grid-template-columns: 0.45fr 0.55fr;
    gap: 60px;
    align-items: center;
}

.app-showcase-reverse {
    grid-template-columns: 0.55fr 0.45fr;
}

.app-showcase-reverse .app-image {
    order: 2;
}

.app-showcase-reverse .app-content {
    order: 1;
}

.app-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.app-image img {
    max-width: 380px;
    height: auto;
    max-height: 460px;
    border-radius: var(--radius-lg);
    filter: drop-shadow(0 20px 40px rgba(26, 148, 227, 0.12));
}

.app-badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--primary-light);
    color: var(--primary);
    font-weight: 700;
    font-size: 0.813rem;
    border-radius: 20px;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.app-badge-collector {
    background: #fef3c7;
    color: #b45309;
}

.app-content h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.app-description {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 520px;
}

.app-features-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 36px;
}

.app-feature-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.app-feature-item > i {
    font-size: 1.35rem;
    color: var(--primary);
    min-width: 28px;
    margin-top: 2px;
}

.app-section-alt .app-feature-item > i {
    color: #b45309;
}

.app-feature-item h4 {
    font-size: 0.938rem;
    font-weight: 700;
    margin-bottom: 3px;
    color: var(--text);
}

.app-feature-item p {
    font-size: 0.835rem;
    color: var(--text-light);
    line-height: 1.55;
}

.app-download-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.store-badge img {
    height: 48px;
    width: auto;
    border-radius: 8px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.store-badge img:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.store-badge-sm img {
    height: 38px;
    width: auto;
    border-radius: 6px;
    margin-bottom: 10px;
    transition: opacity 0.2s;
}

.store-badge-sm img:hover {
    opacity: 0.85;
}

/* ===== HOW IT WORKS ===== */
.how-section {
    background: var(--bg-alt);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.step-card {
    text-align: center;
    padding: 36px 24px;
    background: var(--bg);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    position: relative;
    transition: all 0.25s ease;
}

.step-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient);
    color: #fff;
    font-weight: 800;
    font-size: 1.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.step-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.step-card p {
    font-size: 0.938rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* ===== SERVICES ===== */
.services-section {
    background: var(--bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.service-card {
    display: flex;
    gap: 20px;
    padding: 32px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all 0.25s ease;
}

.service-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

.service-icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
    border-radius: 14px;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon i {
    font-size: 1.5rem;
    color: var(--primary);
}

.service-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.service-card p {
    font-size: 0.938rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* ===== CTA ===== */
.cta-section {
    background: var(--gradient);
    padding: 80px 0;
}

.cta-inner {
    text-align: center;
}

.cta-inner h2 {
    font-size: 2.25rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
}

.cta-inner p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 560px;
    margin: 0 auto 32px;
    line-height: 1.7;
}

.cta-inner .btn-primary {
    background: #fff;
    color: var(--primary);
    border-color: #fff;
}

.cta-inner .btn-primary:hover {
    background: rgba(255, 255, 255, 0.9);
}

/* ===== FOOTER ===== */
.footer {
    background: #0f172a;
    color: #cbd5e1;
    padding: 64px 0 0;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid #1e293b;
}

.footer-logo {
    height: 36px;
    width: auto;
    margin-bottom: 16px;
    filter: brightness(0) invert(1);
}

.footer-brand p {
    font-size: 0.938rem;
    line-height: 1.7;
    color: #94a3b8;
    max-width: 320px;
}

.footer-links h4,
.footer-contact h4,
.footer-apps h4 {
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-links a {
    display: block;
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.938rem;
    margin-bottom: 10px;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #fff;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.938rem;
    color: #94a3b8;
    margin-bottom: 10px;
}

.footer-contact i {
    color: var(--primary);
}

.footer-bottom {
    padding: 24px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.875rem;
    color: #64748b;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero h1 { font-size: 2.5rem; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .steps-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-inner { grid-template-columns: 1fr 1fr; }
    .app-showcase,
    .app-showcase-reverse { grid-template-columns: 1fr; gap: 40px; }
    .app-showcase-reverse .app-image { order: 0; }
    .app-showcase-reverse .app-content { order: 0; }
    .app-content h2 { font-size: 1.75rem; }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow);
    }

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

    .mobile-menu-toggle {
        display: block;
    }

    .hero { padding: 100px 0 60px; min-height: auto; }
    .hero-inner { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .hero-subtitle { margin-left: auto; margin-right: auto; }
    .hero-actions { justify-content: center; }
    .hero-stats { justify-content: center; }
    .hero-image { order: -1; }
    .hero-img { max-height: 250px; }

    .hero h1 { font-size: 2rem; }
    .section { padding: 64px 0; }
    .section-header h2 { font-size: 1.75rem; }
    .features-grid { grid-template-columns: 1fr; }
    .steps-grid { grid-template-columns: 1fr 1fr; }
    .services-grid { grid-template-columns: 1fr; }
    .service-card { flex-direction: column; }
    .footer-inner { grid-template-columns: 1fr; gap: 32px; }
    .cta-inner h2 { font-size: 1.75rem; }

    .app-features-list { grid-template-columns: 1fr; }
    .app-image img { max-width: 280px; max-height: 340px; }
    .app-content h2 { font-size: 1.5rem; }

    .nav-actions .btn-outline,
    .nav-actions .btn-primary { display: none; }
    .nav-links a:last-child::after { content: ''; }
    .nav-links::after {
        content: '';
        display: block;
        padding-top: 8px;
    }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 1.75rem; }
    .hero-stats { flex-direction: column; gap: 16px; }
    .steps-grid { grid-template-columns: 1fr; }
    .btn-lg { padding: 12px 24px; font-size: 1rem; }
}
