@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    /* Color Palette - The Clinical Editorial */
    --surface: #f7f9ff;
    --surface-container-low: #edf4ff;
    --surface-container-lowest: #ffffff;
    --surface-container: #e3efff;
    --surface-container-highest: #d7e4f5;
    
    --primary: #00628e;
    --on-primary: #ffffff;
    --primary-container: rgba(0, 124, 179, 0.8);
    
    --secondary-container: #d3e0ff;
    
    --muted-rose: #bd6353;
    --on-surface: #101d29;
    --outline-variant: rgba(191, 199, 209, 0.15);
    
    --body-text: #494B59;
    --tertiary-fixed-dim: #ddc0bb;
    --error: #ba1a1a;
    
    /* Typography */
    --font-family: 'Inter', sans-serif;
    
    /* Shadows */
    --diffusion-shadow: 0 12px 32px rgba(16, 29, 41, 0.06);
}

/* Base reset & typography */
body {
    background-color: var(--surface);
    color: var(--body-text);
    font-family: var(--font-family);
    margin: 0;
    padding: 0;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .display-md, .headline-lg {
    color: var(--on-surface);
    letter-spacing: -0.02em;
    font-weight: 700;
}

h1, .display-md {
    font-size: 2.75rem;
    line-height: 1.1;
}

h2, .headline-lg {
    font-size: 2rem;
    line-height: 1.2;
}

.body-lg {
    font-size: 1rem;
    color: var(--body-text);
}

.label-md {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

/* The "No-Line" Rule */
.sidebar, .navbar, .card, .section {
    border: none !important;
}

/* Surface Hierarchy */
.bg-surface { background-color: var(--surface); }
.bg-low { background-color: var(--surface-container-low); }
.bg-lowest { background-color: var(--surface-container-lowest); }
.bg-container { background-color: var(--surface-container); }
.bg-highest { background-color: var(--surface-container-highest); }

/* Components */

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9375rem;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    border: none;
    font-family: var(--font-family);
}

.btn-primary {
    background-color: var(--primary);
    color: var(--on-primary) !important;
}

.btn-primary:hover {
    background-color: #004d70;
    transform: translateY(-1px);
}

.btn-secondary {
    background-color: var(--secondary-container);
    color: var(--primary) !important;
}

.btn-secondary:hover {
    background-color: #c0d1ff;
}

.btn-tertiary {
    background: transparent;
    color: var(--primary) !important;
    padding: 0;
}

.btn-tertiary:hover {
    color: var(--muted-rose) !important;
    text-decoration: underline;
}

.btn-ghost {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary) !important;
}

.btn-ghost:hover {
    background: rgba(0, 98, 142, 0.05);
}

.btn-white {
    background: #ffffff;
    color: var(--primary) !important;
    box-shadow: var(--diffusion-shadow);
}

.btn-white:hover {
    background: #f8faff;
}


/* Input Fields */
input[type="text"], input[type="email"], input[type="password"], textarea, select {
    width: 100%;
    padding: 12px 0;
    background-color: var(--surface-container-lowest);
    border: none;
    border-bottom: 2px solid var(--outline-variant);
    border-radius: 0;
    color: var(--on-surface);
    transition: border-color 0.2s ease;
    font-family: var(--font-family);
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-bottom-color: var(--primary);
}

/* Cards */
.card {
    background-color: var(--surface-container-lowest);
    padding: 24px;
    border-radius: 0; /* Pure editorial feel */
    box-shadow: none;
}

/* Glassmorphism */
.glass {
    background: var(--primary-container);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: var(--on-primary);
}

/* Hero Gradient */
.hero-cta-gradient {
    background: linear-gradient(135deg, #00628e 0%, #007cb3 100%);
    color: white !important;
}

/* Timeline Tracker */
.timeline {
    position: relative;
    padding-left: 32px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: #c9e6ff;
}

.timeline-item {
    position: relative;
    padding-bottom: 24px;
}

.timeline-node {
    position: absolute;
    left: -28px;
    top: 4px;
    width: 10px;
    height: 10px;
    background-color: var(--primary);
    border-radius: 50%;
}

.badge-pill {
    display: inline-flex;
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background-color: var(--muted-rose);
    color: white;
}


/* Utilities */
.ghost-border {
    border: 1px solid var(--outline-variant) !important;
}

.diffusion-shadow {
    box-shadow: var(--diffusion-shadow);
}

.icon-container svg, .feature-icon-wrapper svg, .timeline-item svg {
    width: 24px;
    height: 24px;
}

.icon-container svg {
    width: 28px;
    height: 28px;
}


@media (max-width: 768px) {
    .spacer-editorial {
        height: 64px;
    }
}
