/* VIVAYZIO Main Styles */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    color: #333;
    background-color: #FFFFFF;
}

/* Color Variables */
:root {
    --primary-orange: #FF8A65;
    --morning-blue: #64B5F6;
    --clean-white: #FFFFFF;
    --gentle-gray: #F5F5F5;
    --success-green: #81C784;
    --warm-beige: #EFEBE9;
    --deep-navy: #1565C0;
    --max-width: 1200px;
    --section-padding: 80px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 48px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

h2 {
    font-size: 36px;
    font-weight: 600;
}

h3 {
    font-size: 28px;
    font-weight: 600;
}

h4 {
    font-size: 24px;
    font-weight: 500;
}

p {
    margin-bottom: 1rem;
}

.emphasis {
    font-size: 18px;
    font-weight: 500;
    color: var(--primary-orange);
}

/* Brand Name */
.brand-name {
    color: var(--primary-orange);
    font-weight: 700;
    font-size: 52px;
}

.generic-name {
    color: #666;
    font-size: 14px;
    font-weight: 400;
    margin-left: 8px;
}

/* Layout */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: var(--section-padding) 0;
}

.section-white {
    background-color: var(--clean-white);
}

.section-gray {
    background-color: var(--gentle-gray);
}

.section-orange {
    background: linear-gradient(135deg, var(--primary-orange) 0%, #FF7043 100%);
    color: white;
}

.content-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.content-col {
    display: flex;
    flex-direction: column;
}

/* Navigation */
.navbar {
    background: var(--clean-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo .brand-name {
    font-size: 32px;
}

.logo .generic-name {
    display: block;
    margin-left: 0;
    margin-top: -8px;
}

.nav-menu {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-orange);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

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

.hamburger .bar {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--morning-blue) 0%, var(--primary-orange) 100%);
    color: white;
    padding: 120px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
    max-width: var(--max-width);
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

.hero-content h1 {
    margin-bottom: 20px;
}

.hero-subhead {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.95;
}

.hero-ctas {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-image .image-placeholder {
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-radius: 12px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    font-style: italic;
    opacity: 0.9;
}

/* Buttons / CTAs */
.cta-primary, .cta-secondary {
    display: inline-block;
    padding: 16px 32px;
    text-decoration: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    background: none;
}

.cta-primary {
    background-color: var(--success-green);
    color: white;
    box-shadow: 0 4px 8px rgba(129, 199, 132, 0.3);
}

.cta-primary:hover {
    background-color: #66BB6A;
    box-shadow: 0 6px 12px rgba(129, 199, 132, 0.4);
    transform: translateY(-2px);
}

.cta-secondary {
    background: transparent;
    border: 2px solid var(--primary-orange);
    color: var(--primary-orange);
    padding: 14px 28px;
    font-size: 16px;
}

.cta-secondary:hover {
    background-color: var(--primary-orange);
    color: white;
}

.cta-white {
    border-color: white;
    color: white;
}

.cta-white:hover {
    background-color: white;
    color: var(--primary-orange);
}

/* Image Placeholders */
.image-placeholder {
    background: linear-gradient(135deg, var(--gentle-gray) 0%, #E0E0E0 100%);
    border-radius: 8px;
    padding: 40px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-style: italic;
    color: #666;
    min-height: 300px;
    border: 2px dashed #ccc;
}

.mechanism-diagram {
    min-height: 400px;
    background: linear-gradient(135deg, var(--morning-blue) 0%, var(--primary-orange) 100%);
    color: white;
    font-weight: 500;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.stat-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-orange);
    margin-bottom: 10px;
}

.stat-highlight {
    font-size: 36px;
    font-weight: 700;
    color: var(--success-green);
    margin-bottom: 10px;
}

.stat-text {
    font-size: 14px;
    color: #666;
    line-height: 1.4;
}

.section-intro {
    font-size: 18px;
    text-align: center;
    margin-bottom: 40px;
    color: #555;
}

.disclaimer {
    font-size: 14px;
    color: #666;
    font-style: italic;
    text-align: center;
    margin: 30px 0 20px;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin: 40px 0;
}

.testimonial {
    background: var(--warm-beige);
    border-radius: 12px;
    padding: 30px;
}

.testimonial-image .image-placeholder {
    height: 150px;
    margin-bottom: 20px;
}

.testimonial blockquote {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 15px;
    font-style: italic;
}

.testimonial cite {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-orange);
    font-style: normal;
}

.testimonial-disclaimer {
    font-size: 12px;
    color: #666;
    text-align: center;
    margin-top: 30px;
}

/* Features */
.feature-list {
    margin: 30px 0;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.feature-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--morning-blue) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.icon-placeholder {
    filter: brightness(0) invert(1);
}

.feature-text h4 {
    margin-bottom: 8px;
    color: var(--primary-orange);
}

.feature-text p {
    margin-bottom: 0;
    color: #666;
}

/* Savings Section */
.savings-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: center;
}

.savings-content h2 {
    color: white;
}

.savings-disclaimer {
    font-size: 12px;
    opacity: 0.9;
    margin-top: 20px;
}

.savings-image .image-placeholder {
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 40px;
    border-radius: 12px;
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    top: 20px;
    right: 30px;
}

.close:hover {
    color: var(--primary-orange);
}

.question {
    margin: 30px 0;
    padding: 20px;
    background: var(--gentle-gray);
    border-radius: 8px;
}

.question p {
    margin-bottom: 15px;
}

.question label {
    display: block;
    margin: 10px 0;
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.question label:hover {
    background-color: rgba(255, 138, 101, 0.1);
}

.question input[type="radio"] {
    margin-right: 10px;
}

.assessment-results {
    background: linear-gradient(135deg, var(--morning-blue) 0%, var(--primary-orange) 100%);
    color: white;
    padding: 30px;
    border-radius: 12px;
    margin-top: 30px;
}

.assessment-disclaimer {
    font-size: 12px;
    color: #666;
    margin-top: 20px;
    font-style: italic;
}

/* Footer */
.footer {
    background: var(--deep-navy);
    color: white;
    padding: 60px 0 40px;
}

.footer-content {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 40px;
    justify-content: center;
}

.footer-links a {
    color: #B3E5FC;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.footer-legal {
    text-align: center;
    font-size: 12px;
    line-height: 1.6;
    opacity: 0.9;
}

.footer-legal p {
    margin-bottom: 15px;
}

/* Sticky ISI Bar */
.isi-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--deep-navy);
    color: white;
    padding: 16px 20px;
    font-size: 14px;
    z-index: 1500;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.1);
}

.isi-content {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.isi-link {
    color: #81C784;
    text-decoration: none;
    font-weight: 600;
    flex-shrink: 0;
}

.isi-link:hover {
    color: white;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-40 {
    margin-bottom: 40px;
}

/* Form Styles */
form button[type="submit"] {
    margin-top: 30px;
    width: 100%;
}

/* Page Hero (inner pages) */
.page-hero {
    background: linear-gradient(135deg, var(--morning-blue) 0%, var(--primary-orange) 100%);
    color: white;
    padding: 100px 0 80px;
}

.page-hero h1 {
    margin-bottom: 16px;
}

.page-hero-navy {
    background: linear-gradient(135deg, var(--deep-navy) 0%, #1976D2 100%);
}

/* Active nav link */
.nav-link.active {
    color: var(--primary-orange);
}

.nav-link.active::after {
    width: 100%;
}

/* Savings Features */
.savings-features {
    margin: 32px 0;
}

.savings-feature {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 24px;
}

.savings-icon {
    flex-shrink: 0;
}

.savings-text h4 {
    margin-bottom: 4px;
    font-size: 18px;
    color: #333;
}

.savings-text p {
    margin-bottom: 0;
    color: #666;
    font-size: 15px;
}

/* Check List */
.check-list {
    list-style: none;
    padding: 0;
    margin: 20px 0 32px;
}

.check-list li {
    padding: 12px 0 12px 36px;
    position: relative;
    font-size: 16px;
    border-bottom: 1px solid #eee;
}

.check-list li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--success-green);
    font-weight: 700;
    font-size: 18px;
}

/* Support Grid */
.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.support-card {
    background: white;
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.support-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.support-icon {
    margin-bottom: 16px;
}

.support-card h4 {
    font-size: 18px;
    margin-bottom: 8px;
    color: #333;
}

.support-card p {
    font-size: 14px;
    color: #666;
    margin-bottom: 0;
}

/* Phone Number */
.phone-number {
    margin: 24px 0;
}

/* HCP Gate */
.hcp-gate {
    min-height: 60vh;
    display: flex;
    align-items: center;
}

/* Clinical Trial Cards */
.clinical-trial {
    background: white;
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 32px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    border-left: 4px solid var(--primary-orange);
}

.trial-type {
    font-size: 16px;
    font-weight: 400;
    color: #666;
}

.trial-meta {
    display: grid;
    gap: 16px;
    margin: 20px 0;
}

.meta-item {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 16px;
}

.meta-label {
    font-weight: 600;
    color: var(--deep-navy);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.meta-value {
    color: #444;
}

/* Chart */
.chart-container {
    background: var(--gentle-gray);
    border-radius: 8px;
    padding: 32px;
    margin: 24px 0;
}

.chart-header h4 {
    font-size: 16px;
    color: #333;
    margin-bottom: 24px;
}

.chart-row {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}

.chart-label {
    width: 160px;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    flex-shrink: 0;
}

.chart-bar-container {
    flex: 1;
    background: #E0E0E0;
    border-radius: 6px;
    height: 40px;
    overflow: hidden;
}

.chart-bar {
    height: 100%;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 12px;
    transition: width 1s ease;
}

.chart-bar-primary {
    background: linear-gradient(90deg, var(--primary-orange), #FF7043);
}

.chart-bar-placebo {
    background: #BDBDBD;
}

.chart-value {
    color: white;
    font-weight: 700;
    font-size: 16px;
}

.chart-note {
    font-size: 12px;
    color: #666;
    margin-top: 16px;
    font-style: italic;
}

/* Data Table */
.data-table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    font-size: 14px;
}

.data-table thead {
    background: var(--deep-navy);
    color: white;
}

.data-table th {
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
}

.data-table td {
    padding: 12px 16px;
    border-bottom: 1px solid #eee;
}

.data-table tbody tr:hover {
    background: #FAFAFA;
}

.table-highlight {
    background: #FFF3E0 !important;
}

.table-highlight td {
    border-top: 2px solid var(--primary-orange);
}

.trial-notes {
    margin-top: 20px;
}

.trial-notes ul {
    list-style: none;
    padding: 0;
}

.trial-notes li {
    padding: 8px 0 8px 24px;
    position: relative;
    color: #555;
    font-size: 14px;
}

.trial-notes li::before {
    content: '\2022';
    position: absolute;
    left: 0;
    color: var(--success-green);
    font-size: 18px;
}

/* Resources Grid */
.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin: 32px 0;
}

.resource-card {
    background: white;
    border-radius: 12px;
    padding: 32px;
    text-decoration: none;
    color: #333;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    border: 1px solid #eee;
}

.resource-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    border-color: var(--deep-navy);
}

.resource-icon {
    margin-bottom: 16px;
}

.resource-card h4 {
    font-size: 16px;
    margin-bottom: 8px;
    color: var(--deep-navy);
}

.resource-type {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #999;
    font-weight: 600;
}

/* Prior Auth Box */
.prior-auth-box {
    background: white;
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    margin-top: 40px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    border: 2px solid var(--deep-navy);
}

.prior-auth-box h3 {
    color: var(--deep-navy);
    margin-bottom: 12px;
}

/* Add space for sticky ISI bar */
body {
    padding-bottom: 80px;
}