/* Reset and Base Styles */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors */
    --color-teal: #0d9488;
    --color-teal-dark: #0f766e;
    --color-teal-deep: #115e59;
    --color-emerald: #059669;
    --color-mint: #99f6e4;
    --color-sage: #ccfbf1;
    --color-bg: #f8fafc;
    --color-bg-alt: #f0fdfa;
    --color-surface: #ffffff;
    --color-text: #0f172a;
    --color-text-secondary: #475569;
    --color-text-muted: #64748b;
    --color-border: #e2e8f0;
    --color-border-soft: #f1f5f9;
    /* Accent */
    --color-accent: var(--color-teal);
    --color-accent-hover: var(--color-teal-dark);
    /* Layout */
    --container-max: 1100px;
    --container-padding: clamp(1.25rem, 4vw, 2rem);
    --section-padding-y: clamp(4rem, 10vw, 6rem);
    --nav-height: 72px;
    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    /* Typography */
    --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 2rem;
    --text-4xl: 2.5rem;
    --text-5xl: 3rem;
    --text-6xl: clamp(2.5rem, 5vw, 3.75rem);
    --leading-tight: 1.2;
    --leading-snug: 1.375;
    --leading-normal: 1.5;
    --leading-relaxed: 1.625;
    /* Radius & shadow */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-full: 9999px;
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.06);
    --shadow-lg: 0 12px 32px rgba(15, 23, 42, 0.08);
    --shadow-accent: 0 8px 24px rgba(13, 148, 136, 0.2);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    font-size: var(--text-base);
    line-height: var(--leading-normal);
    color: var(--color-text);
    overflow-x: hidden;
    background: var(--color-bg);
    -webkit-font-smoothing: antialiased;
}

.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border-soft);
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: box-shadow 0.2s ease;
}

.navbar-scrolled {
    box-shadow: var(--shadow-sm);
}

.nav-container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo h2 {
    background: linear-gradient(135deg, var(--color-teal) 0%, var(--color-emerald) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.nav-logo a {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo-image {
    height: 40px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo-image:hover {
    transform: scale(1.05);
}

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

.nav-link {
    text-decoration: none;
    color: var(--color-text-secondary);
    font-size: var(--text-sm);
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: var(--color-teal);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--color-text);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--nav-height);
    padding-bottom: var(--section-padding-y);
    background: var(--color-bg);
}

.hero-container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
}

.hero-content {
    max-width: 42rem;
}

.hero-title {
    font-size: var(--text-6xl);
    font-weight: 800;
    line-height: var(--leading-tight);
    letter-spacing: -0.03em;
    color: var(--color-text);
    margin-bottom: var(--space-6);
}

.gradient-text {
    background: linear-gradient(135deg, var(--color-teal) 0%, var(--color-teal-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: var(--text-lg);
    line-height: var(--leading-relaxed);
    color: var(--color-text-secondary);
    margin-bottom: var(--space-8);
    max-width: 36rem;
}

.hero-buttons {
    display: flex;
    gap: var(--space-4);
    flex-wrap: wrap;
}

.btn {
    padding: var(--space-3) var(--space-6);
    border-radius: var(--radius-md);
    text-decoration: none;
    font-size: var(--text-sm);
    font-weight: 600;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--color-teal);
    color: white;
    box-shadow: var(--shadow-accent);
}

.btn-primary:hover {
    background: var(--color-teal-dark);
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(13, 148, 136, 0.25);
}

.btn-secondary {
    background: var(--color-surface);
    color: var(--color-text);
    border: 1px solid var(--color-border);
}

.btn-secondary:hover {
    border-color: var(--color-teal);
    color: var(--color-teal);
}

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

.hero-dashboard-mock {
    background: var(--color-surface);
    border-radius: 20px;
    padding: 1.25rem 1.5rem;
    box-shadow: var(--shadow-hover);
    border: 1px solid var(--color-border);
    min-width: 280px;
}

.mock-header {
    display: flex;
    gap: 6px;
    margin-bottom: 1.25rem;
}

.mock-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--color-sage);
}

.mock-dot:first-child { background: var(--color-teal); }
.mock-dot:nth-child(2) { background: var(--color-mint); }
.mock-dot:nth-child(3) { background: var(--color-sage); }

.mock-cards {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.mock-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: var(--color-bg);
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text-muted);
}

.mock-card i {
    color: var(--color-teal);
    font-size: 1.1rem;
}

/* Section Headers */
.section-header {
    margin-bottom: var(--space-12);
}

.section-header h2 {
    font-size: var(--text-3xl);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--color-text);
    margin-bottom: var(--space-3);
}

.section-header p {
    font-size: var(--text-lg);
    color: var(--color-text-secondary);
    max-width: 32rem;
}

/* Products Section */
.products-section {
    padding: var(--section-padding-y) 0;
    background: var(--color-surface);
    scroll-margin-top: var(--nav-height);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-6);
}

.product-card {
    background: var(--color-bg);
    padding: var(--space-8);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border-soft);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
    scroll-margin-top: calc(var(--nav-height) + 1rem);
}

.product-card:hover {
    border-color: var(--color-border);
    box-shadow: var(--shadow-md);
}

.product-card-coming {
    opacity: 0.9;
}

.product-card-coming:hover {
    border-color: var(--color-border-soft);
}

.product-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--space-5);
}

.product-status {
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-full);
}

.product-status-prototype {
    background: rgba(13, 148, 136, 0.12);
    color: var(--color-teal-dark);
}

.product-status-coming {
    background: var(--color-border-soft);
    color: var(--color-text-muted);
}

.product-icon {
    width: 48px;
    height: 48px;
    background: var(--color-teal);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-icon i {
    font-size: 1.25rem;
    color: white;
}

.product-icon-muted {
    background: var(--color-border-soft);
}

.product-icon-muted i {
    color: var(--color-text-muted);
}

.product-card-title {
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: var(--space-3);
}

.product-card-desc {
    font-size: var(--text-base);
    line-height: var(--leading-relaxed);
    color: var(--color-text-secondary);
    margin-bottom: var(--space-5);
    flex: 1;
}

.product-card-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-teal);
    text-decoration: none;
    transition: gap 0.2s ease, color 0.2s ease;
}

.product-card-link:hover {
    gap: var(--space-3);
    color: var(--color-teal-dark);
}

/* Product detail (e.g. Health Dashboard expand) */
.product-detail {
    margin-top: var(--space-12);
    padding-top: var(--space-12);
    border-top: 1px solid var(--color-border);
}

.product-detail-header {
    margin-bottom: var(--space-10);
}

.product-detail-header h2,
.product-detail-header h1 {
    font-size: var(--text-3xl);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--color-text);
    margin-bottom: var(--space-3);
    display: flex;
    align-items: center;
    gap: var(--space-3);
    flex-wrap: wrap;
}

.product-detail-header h1 {
    font-size: var(--text-3xl);
}

/* Standalone product page */
.product-page {
    padding: calc(var(--nav-height) + var(--space-12)) 0 var(--section-padding-y);
    min-height: 100vh;
    background: var(--color-bg);
}

.product-page-back {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--color-teal);
    text-decoration: none;
    margin-bottom: var(--space-6);
    transition: gap 0.2s ease, color 0.2s ease;
}

.product-page-back:hover {
    gap: var(--space-3);
    color: var(--color-teal-dark);
}

.product-detail-tagline {
    font-size: var(--text-lg);
    color: var(--color-text-secondary);
    line-height: var(--leading-relaxed);
    max-width: 36rem;
}

.product-features-grid {
    margin-top: var(--space-8);
}

.product-detail-cta {
    text-align: center;
    margin-top: var(--space-12);
    padding-top: var(--space-8);
}

.product-detail-cta p {
    color: var(--color-text-secondary);
    margin-bottom: var(--space-4);
    font-size: var(--text-base);
}

/* Features / Services Section (product feature cards) */
.services {
    padding: var(--section-padding-y) 0;
    background: var(--color-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-8);
    align-items: stretch;
}

.service-card {
    background: var(--color-surface);
    padding: var(--space-8);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border-soft);
    box-shadow: var(--shadow-sm);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
    min-height: 480px;
    scroll-margin-top: calc(var(--nav-height) + 1rem);
}

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

.service-icon {
    width: 56px;
    height: 56px;
    background: var(--color-teal);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-5);
    align-self: flex-start;
}

.service-icon i {
    font-size: 1.5rem;
    color: white;
}

.service-card h3 {
    font-size: var(--text-xl);
    font-weight: 700;
    margin-bottom: var(--space-4);
    color: var(--color-text);
}

.service-card p {
    font-size: var(--text-base);
    line-height: var(--leading-relaxed);
    color: var(--color-text-secondary);
    margin-bottom: var(--space-5);
}

.service-features {
    list-style: none;
    margin-bottom: var(--space-6);
}

.service-features li {
    padding: var(--space-1) 0;
    padding-left: var(--space-5);
    position: relative;
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
}

.service-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-teal);
}

.service-benefits {
    background: var(--color-bg);
    padding: var(--space-5);
    border-radius: var(--radius-md);
    border-left: 3px solid var(--color-teal);
    margin-top: auto;
}

.service-benefits h4 {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: var(--space-3);
}

.service-benefits ul {
    list-style: none;
}

.service-benefits li {
    padding: var(--space-1) 0;
    padding-left: 0;
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
}

.service-benefits li::before {
    content: '→ ';
    color: var(--color-teal);
    font-weight: 600;
}

/* Footer */
.footer {
    background: var(--color-teal-deep);
    color: white;
    padding: var(--space-16) 0 var(--space-8);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: var(--space-12);
    margin-bottom: var(--space-10);
}

.footer-section h3 {
    font-size: var(--text-lg);
    font-weight: 700;
    margin-bottom: var(--space-3);
    color: white;
}

.footer-section h4 {
    font-size: var(--text-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--space-4);
}

.footer-section p {
    font-size: var(--text-sm);
    line-height: var(--leading-relaxed);
    color: rgba(255, 255, 255, 0.8);
    max-width: 20rem;
}

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

.footer-section ul li {
    margin-bottom: var(--space-2);
}

.footer-section ul li a {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-section ul li a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: var(--space-6);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-4);
}

.copyright p {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.6);
}

.footer-links {
    display: flex;
    gap: var(--space-6);
    flex-wrap: wrap;
}

.footer-links a {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: rgba(255, 255, 255, 0.9);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: var(--nav-height);
        flex-direction: column;
        background: var(--color-surface);
        width: 100%;
        text-align: center;
        transition: left 0.25s ease;
        box-shadow: var(--shadow-lg);
        padding: var(--space-8) var(--container-padding);
        border-bottom: 1px solid var(--color-border-soft);
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-title {
        font-size: var(--text-4xl);
    }

    .hero-subtitle {
        font-size: var(--text-base);
    }

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

    .contact-content {
        grid-template-columns: 1fr;
        gap: var(--space-10);
    }

    .contact-visual {
        justify-content: center;
    }

    .contact-card {
        max-width: 100%;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--space-8);
        text-align: center;
    }

    .footer-section p {
        max-width: none;
    }

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

    .logo-image {
        height: 36px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: var(--text-3xl);
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        justify-content: center;
    }

    .section-header h2 {
        font-size: var(--text-2xl);
    }
}


/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Loading Animation */
.loading {
    opacity: 0;
    animation: fadeIn 1s ease-in forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Disclaimer Page Styles */
.disclaimer-page {
    padding: 120px 0 80px;
    background: var(--color-bg);
    min-height: 100vh;
}

.disclaimer-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--color-border);
}

.disclaimer-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 0.5rem;
}

.disclaimer-header p {
    color: var(--color-text-secondary);
    font-size: var(--text-base);
}

.disclaimer-content {
    max-width: 800px;
    margin: 0 auto;
}

.disclaimer-section {
    background: var(--color-surface);
    padding: var(--space-8);
    margin-bottom: var(--space-8);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border-left: 3px solid var(--color-teal);
}

.disclaimer-section h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.disclaimer-section h2 i {
    color: var(--color-teal);
}

.disclaimer-section h3 {
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--color-text-secondary);
    margin: var(--space-6) 0 var(--space-2) 0;
}

.disclaimer-section p {
    color: var(--color-text-secondary);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-4);
}

.disclaimer-section ul {
    margin: var(--space-4) 0;
    padding-left: var(--space-6);
}

.disclaimer-section ul li {
    color: var(--color-text-secondary);
    margin-bottom: var(--space-2);
    line-height: var(--leading-relaxed);
}

/* Responsive Design for Disclaimer Page */
@media (max-width: 768px) {
    .disclaimer-page {
        padding: 100px 0 60px;
    }
    
    .disclaimer-header h1 {
        font-size: 2rem;
    }
    
    .disclaimer-section {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .disclaimer-section h2 {
        font-size: 1.3rem;
    }
    
    .disclaimer-section h3 {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .disclaimer-header h1 {
        font-size: 1.8rem;
    }
    
    .disclaimer-section {
        padding: 1rem;
    }
    
    .disclaimer-section h2 {
        font-size: 1.2rem;
    }
}

/* Contact Section */
.contact {
    padding: var(--section-padding-y) 0;
    background: var(--color-bg);
    scroll-margin-top: var(--nav-height);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: start;
}

.contact-info h2 {
    font-size: var(--text-3xl);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--color-text);
    margin-bottom: var(--space-4);
}

.contact-info p {
    font-size: var(--text-lg);
    line-height: var(--leading-relaxed);
    color: var(--color-text-secondary);
    margin-bottom: var(--space-8);
    max-width: 28rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    font-size: var(--text-base);
    color: var(--color-text-secondary);
}

.contact-item i {
    color: var(--color-teal);
    font-size: 1.125rem;
    width: 1.25rem;
    text-align: center;
}

.contact-visual {
    display: flex;
    justify-content: flex-end;
}

.contact-card {
    background: var(--color-surface);
    padding: var(--space-10);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border-soft);
    box-shadow: var(--shadow-sm);
    max-width: 360px;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.contact-card:hover {
    border-color: var(--color-border);
    box-shadow: var(--shadow-md);
}

.contact-card i {
    font-size: 2rem;
    color: var(--color-teal);
    margin-bottom: var(--space-5);
}

.contact-card h3 {
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: var(--space-3);
}

.contact-card p {
    font-size: var(--text-base);
    line-height: var(--leading-relaxed);
    color: var(--color-text-secondary);
}


/* Feature card highlight when targeted */
.service-card:target {
    animation: highlightCard 2s ease-out;
}

@keyframes highlightCard {
    0% {
        box-shadow: var(--shadow-sm);
    }
    50% {
        box-shadow: var(--shadow-accent);
    }
    100% {
        box-shadow: var(--shadow-md);
    }
} 