/**
 * Northstar Medical - Ocean Trust Theme
 * Style: Professional, Trustworthy, Clean, Modern
 * Color Palette: Ocean Trust
 */

:root {
    /* Typography */
    --font-heading: 'Merriweather', 'Georgia', serif;
    --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

    /* Colors - Ocean Trust Theme */
    --color-bg-main: #f1f5f9;
    /* Light Gray Background */
    --color-bg-card: #FFFFFF;
    /* White Card Background */

    --color-text-main: #1e293b;
    /* Dark Slate */
    --color-text-muted: #64748b;
    /* Slate Gray */

    --color-teal: #0f4c81;
    /* Ocean Trust - Deep Navy (Primary) */
    --color-teal-dark: #0a3a66;

    --color-coral: #0891b2;
    /* Ocean Trust - Cyan (Secondary) */
    --color-coral-dark: #0e7490;

    --color-accent: #67e8f9;
    /* Ocean Trust - Light Cyan */

    --color-nav-link: #334155;

    /* Spacing */
    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 24px;
    --space-lg: 48px;
    --space-xl: 80px;

    /* Shapes */
    --radius-btn: 24px;
    /* Pill buttons */
    --radius-card: 40px;
    /* Large rounded corners for hero image/card */

    /* Shadows */
    --shadow-soft: 0 10px 30px rgba(74, 59, 50, 0.08);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg-main);
    color: var(--color-text-main);
    line-height: 1.6;
}

h1,
h2,
h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-text-main);
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.2s ease;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* Header */
.header {
    padding: 20px 0;
    background: transparent;
    /* Blends with body bg */
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    color: #1e293b;
}

.logo-icon {
    font-size: 32px;
    color: var(--color-teal);
    /* Heart icon color */
}

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

.nav-link {
    font-size: 16px;
    font-weight: 500;
    color: var(--color-nav-link);
}

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

.auth-buttons {
    display: flex;
    gap: 16px;
}

.btn {
    padding: 10px 24px;
    border-radius: var(--radius-btn);
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    border: none;
    transition: transform 0.1s ease, box-shadow 0.2s ease;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-patient {
    background-color: var(--color-teal);
    color: white;
}

.btn-patient:hover {
    background-color: var(--color-teal-dark);
}

.btn-provider {
    background-color: var(--color-coral);
    color: white;
}

.btn-provider:hover {
    background-color: var(--color-coral-dark);
}

/* Hero Section */
.hero-section {
    padding: 40px 0 80px;
}

.hero-card {
    background: var(--color-bg-card);
    /* Could be an image in the mockup, but we'll use a container */
    border-radius: var(--radius-card);
    overflow: hidden;
    position: relative;
    min-height: 600px;
    display: flex;
    box-shadow: var(--shadow-soft);
}

/* Mockup shows image on right, text overlay on left/center */
/* We will simulate this with a background image or flex layout */
.hero-content {
    flex: 1;
    padding: 80px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 50%;
    z-index: 2;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.8) 100%);
}

.hero-image-container {
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background-color: #eee;
    /* Placeholder for image */
    background-image: url('https://images.unsplash.com/photo-1576091160399-112ba8d25d1d?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80');
    /* Doctor/Patient image */
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.hero-title {
    font-size: 56px;
    line-height: 1.1;
    margin-bottom: 24px;
    color: #1e293b;
}

.hero-text {
    font-size: 18px;
    color: var(--color-text-muted);
    margin-bottom: 32px;
    max-width: 480px;
}

.btn-cta {
    background-color: var(--color-teal);
    color: white;
    padding: 14px 32px;
    font-size: 18px;
    align-self: flex-start;
}

/* Features Section */
.features-section {
    padding: 60px 0 100px;
    background-color: var(--color-bg-main);
    /* Matches body */
}

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

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}

.feature-icon-box {
    width: 64px;
    height: 64px;
    border: 2px solid var(--color-teal);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--color-teal);
    margin-bottom: 8px;
    background: rgba(15, 76, 129, 0.1);
}

.feature-title {
    font-size: 22px;
    color: #1e293b;
}

.feature-desc {
    font-size: 16px;
    color: var(--color-text-muted);
    line-height: 1.5;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-content {
        max-width: 60%;
        background: rgba(255, 255, 255, 0.9);
    }
}

@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        gap: 20px;
    }

    .nav-links {
        display: none;
        /* Hide nav on mobile for simplicity */
    }

    .hero-card {
        flex-direction: column;
    }

    .hero-image-container {
        position: relative;
        width: 100%;
        height: 300px;
        order: -1;
    }

    .hero-content {
        max-width: 100%;
        padding: 40px 20px;
        background: white;
    }

    .hero-title {
        font-size: 36px;
    }

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