/* ========================================
   FeelBetterFast - Modern CSS
   Color Palette: Orange (#F97316) & Light Blue (#0EA5E9)
======================================== */
@font-face {
    font-family: "Inter";
    src: url("/fonts/inter/Inter-Regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Inter";
    src: url("/fonts/inter/Inter-Medium.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Inter";
    src: url("/fonts/inter/Inter-SemiBold.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Inter";
    src: url("/fonts/inter/Inter-Bold.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Plus Jakarta Sans";
    src: url("/fonts/plus-jakarta/PlusJakartaSans-SemiBold.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Plus Jakarta Sans";
    src: url("/fonts/plus-jakarta/PlusJakartaSans-Bold.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Plus Jakarta Sans";
    src: url("/fonts/plus-jakarta/PlusJakartaSans-ExtraBold.woff2") format("woff2");
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

:root {
    --orange-50: #fff7ed;
    --orange-100: #ffedd5;
    --orange-200: #fed7aa;
    --orange-300: #fdba74;
    --orange-400: #fb923c;
    --orange-500: #f97316;
    --orange-600: #ea580c;
    --orange-700: #c2410c;
    
    --blue-50: #f0f9ff;
    --blue-100: #e0f2fe;
    --blue-200: #bae6fd;
    --blue-300: #7dd3fc;
    --blue-400: #38bdf8;
    --blue-500: #0ea5e9;
    --blue-600: #0284c7;
    --blue-700: #0369a1;
    
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    
    --green-500: #22c55e;
    --green-600: #16a34a;
    
    --white: #ffffff;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    
    --radius-sm: 0.375rem;
    --radius: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-700);
    background: var(--white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--gray-900);
}

a {
    color: var(--orange-500);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--orange-600);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    text-decoration: none;
    gap: 0.5rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--orange-500) 0%, var(--orange-600) 100%);
    color: var(--white);
    box-shadow: 0 4px 14px 0 rgba(249, 115, 22, 0.4);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--orange-600) 0%, var(--orange-700) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px 0 rgba(249, 115, 22, 0.5);
    color: var(--white);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--blue-500) 0%, var(--blue-600) 100%);
    color: var(--white);
    box-shadow: 0 4px 14px 0 rgba(14, 165, 233, 0.4);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, var(--blue-600) 0%, var(--blue-700) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px 0 rgba(14, 165, 233, 0.5);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    color: var(--blue-600);
    border: 2px solid var(--blue-200);
}

.btn-outline:hover {
    background: var(--blue-50);
    border-color: var(--blue-400);
    color: var(--blue-700);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: var(--shadow-sm);
}

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

.logo img {
    height: 50px;
    width: auto;
}

.nav-main {
    display: flex;
    align-items: center;
}

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

.nav-menu a {
    color: var(--gray-600);
    font-weight: 500;
    font-size: 0.9375rem;
    transition: color 0.2s ease;
}

.nav-menu a:hover {
    color: var(--orange-500);
}

.nav-buttons {
    display: flex;
    gap: 0.75rem;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gray-700);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, var(--blue-50) 0%, var(--orange-50) 100%);
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    max-width: 600px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--orange-100);
    color: var(--orange-700);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--blue-600) 0%, var(--orange-500) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray-600);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
}

.hero-image img {
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-xl);
}

/* Pharmacy Locator Section */
.pharmacy-locator {
    padding: 5rem 0;
    background: var(--white);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--blue-600);
}

.section-header p {
    font-size: 1.125rem;
    color: var(--gray-500);
}

.locator-container {
    background: var(--gray-50);
    border-radius: var(--radius-2xl);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
}

.search-box {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.search-input {
    flex: 1;
    display: flex;
    align-items: center;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 0.25rem;
    box-shadow: var(--shadow);
}

.search-input input {
    flex: 1;
    border: none;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    background: transparent;
    outline: none;
    font-family: inherit;
}

.search-input button {
    background: var(--orange-500);
    color: var(--white);
    border: none;
    padding: 1rem 2rem;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.search-input button:hover {
    background: var(--orange-600);
}

.province-filter {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.province-btn {
    padding: 0.5rem 1rem;
    border: 2px solid var(--gray-200);
    background: var(--white);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--gray-600);
}

.province-btn:hover,
.province-btn.active {
    border-color: var(--blue-500);
    background: var(--blue-50);
    color: var(--blue-600);
}

.pharmacy-results {
    max-height: 500px;
    overflow-y: auto;
}

.pharmacy-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    box-shadow: var(--shadow-sm);
    transition: all 0.2s ease;
    border: 1px solid var(--gray-100);
}

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

.pharmacy-info h4 {
    font-size: 1.125rem;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.pharmacy-info .city {
    display: inline-block;
    background: var(--blue-100);
    color: var(--blue-700);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.pharmacy-info .address {
    color: var(--gray-500);
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.pharmacy-info .phone {
    color: var(--orange-600);
    font-weight: 600;
}

.pharmacy-info .phone a {
    color: inherit;
}

.no-results {
    text-align: center;
    padding: 3rem;
    color: var(--gray-500);
}

/* How It Works Section */
.how-it-works {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--blue-500) 0%, var(--blue-600) 100%);
    color: var(--white);
}

.how-it-works .section-header h2 {
    color: var(--white);
}

.how-it-works .section-header p {
    color: var(--blue-100);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.step-card {
    text-align: center;
    padding: 2rem;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.step-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-icon img {
    width: 80px;
    height: auto;
}

.step-card h3 {
    font-size: 1.25rem;
    color: var(--white);
    margin-bottom: 0.75rem;
}

.step-card p {
    color: var(--blue-100);
    font-size: 1rem;
    line-height: 1.6;
}

.step-arrow {
    position: absolute;
    right: -2rem;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    opacity: 0.3;
}

/* Benefits Section */
.benefits {
    padding: 5rem 0;
    background: var(--white);
}

.benefits-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.benefits-intro h2 {
    font-size: 2.5rem;
    color: var(--orange-600);
    margin-bottom: 1rem;
}

.benefits-intro p {
    font-size: 1.25rem;
    color: var(--gray-600);
    line-height: 1.7;
}

.benefits-intro .highlight {
    color: var(--blue-600);
    font-weight: 600;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.benefit-card {
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    border: 1px solid var(--gray-100);
}

.benefit-card.employee {
    border-top: 4px solid var(--blue-500);
}

.benefit-card.employer {
    border-top: 4px solid var(--orange-500);
}

.benefit-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.benefit-card.employee h3 {
    color: var(--blue-600);
}

.benefit-card.employer h3 {
    color: var(--orange-600);
}

.benefit-list {
    list-style: none;
}

.benefit-list li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    font-size: 1.0625rem;
    color: var(--gray-700);
}

.benefit-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--green-500);
    font-weight: 700;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--orange-500) 0%, var(--orange-600) 100%);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 3rem;
}

.footer-main h3 {
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-main p {
    max-width: 500px;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.contact-info {
    display: flex;
    gap: 3rem;
}

.contact-item {
    display: flex;
    flex-direction: column;
}

.contact-label {
    font-size: 0.875rem;
    opacity: 0.7;
    margin-bottom: 0.25rem;
}

.contact-item a {
    color: var(--white);
    font-size: 1.25rem;
    font-weight: 600;
}

.contact-item a:hover {
    opacity: 0.8;
}

.footer-logo {
    opacity: 0.9;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    opacity: 0.8;
    font-size: 0.875rem;
}

/* Pharmacy List Page */
.pharmacy-list-page {
    padding: 8rem 0 4rem;
}

.pharmacy-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.pharmacy-table th {
    background: var(--blue-600);
    color: var(--white);
    padding: 1rem;
    text-align: left;
    font-weight: 600;
}

.pharmacy-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--gray-100);
}

.pharmacy-table tr:hover td {
    background: var(--blue-50);
}

.province-section {
    margin-bottom: 3rem;
}

.province-section h3 {
    font-size: 1.5rem;
    color: var(--orange-600);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--orange-200);
}

/* Articles Page */
.articles-page {
    padding: 8rem 0 4rem;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.article-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.article-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.article-card-content {
    padding: 1.5rem;
}

.article-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.article-card p {
    color: var(--gray-500);
    font-size: 0.9375rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-image {
        display: none;
    }
    
    .hero h1 {
        font-size: 2.75rem;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .step-arrow {
        display: none;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 1rem;
        box-shadow: var(--shadow-lg);
        gap: 0;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu li {
        border-bottom: 1px solid var(--gray-100);
    }
    
    .nav-menu a {
        display: block;
        padding: 1rem;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-buttons {
        display: none;
    }
    
    .hero {
        padding: 6rem 0 3rem;
        min-height: auto;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 1.75rem;
    }
    
    .search-box {
        flex-direction: column;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .contact-info {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-orange { color: var(--orange-500); }
.text-blue { color: var(--blue-500); }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
