/* ============================================
   MedKitt Landing Page - Glassmorphism Design
   ============================================ */

/* CSS Variables */
:root {
    --bg-primary: #0f0f1a;
    --bg-secondary: #16162c;
    --glass-bg: rgba(22, 22, 44, 0.6);
    --glass-border: rgba(255, 255, 255, 0.1);
    --primary: #3CB371;
    --primary-dark: #2E8B57;
    --accent-umber: #8B6914;
    --accent-umber-light: #D4A574;
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.5);
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --transition-slow: 0.5s ease;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    /* Premium Brand Colors */
    --color-pearl: #F8F8FF;
    --color-teal-rich: #4ADE80;
    --color-forest: #1B5E20;
    --color-umber-light: #B87333;
    --color-umber-deep: #8B6914;
}

/* ============================================
   PREMIUM 3D LOGO TEXT EFFECTS
   ============================================ */

/* 3D Gradient Text for "Med" - Pearl white to pure white */
.logo-med {
    background: linear-gradient(to left, #F8F8FF, #FFFFFF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

/* 3D Gradient Text for "Kitt" - Rich teal to forest green */
.logo-kitt {
    background: linear-gradient(to right, #4ADE80, #1B5E20);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

/* Burnt Umber Accent Line */
.accent-line {
    background: linear-gradient(to right, #B87333, #8B6914);
    height: 4px;
    border-radius: 2px;
    box-shadow: 0 2px 4px rgba(184, 115, 51, 0.3);
    position: relative;
    overflow: hidden;
}

.accent-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: accent-shine 3s ease-in-out infinite;
}

.accent-line-sm {
    height: 3px;
    width: 100%;
}

@keyframes accent-shine {
    0%, 100% { transform: translateX(-100%); }
    50% { transform: translateX(100%); }
}

/* Enhanced 3D Button Elevation */
.btn-3d {
    background: linear-gradient(135deg, #3CB371, #2E8B57);
    border: none;
    border-radius: 12px;
    box-shadow: 
        0 4px 6px rgba(60, 179, 113, 0.3),
        0 8px 20px rgba(60, 179, 113, 0.2),
        inset 0 1px 0 rgba(255,255,255,0.2);
    transition: all 0.3s ease;
}

.btn-3d:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 6px 12px rgba(60, 179, 113, 0.4),
        0 12px 24px rgba(60, 179, 113, 0.3);
}

.btn-3d:active {
    transform: translateY(0);
}

/* Premium Glass Card with Shine */
.glass-card-premium {
    background: rgba(22, 22, 44, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    box-shadow: 
        0 4px 6px rgba(0, 0, 0, 0.1),
        0 10px 20px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.glass-card-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg, rgba(255,255,255,0.08), transparent);
    border-radius: inherit;
    pointer-events: none;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

a {
    color: inherit;
    text-decoration: none;
}

/* Background Effects */
.bg-gradient {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 20% 20%, rgba(60, 179, 113, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(184, 115, 51, 0.05) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(22, 22, 44, 0.5) 0%, transparent 70%);
    pointer-events: none;
    z-index: -2;
}

.bg-grid {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: -1;
}

/* Glassmorphism */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
}

.glass-card-sm {
    background: rgba(22, 22, 44, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
}

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

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 16px 0;
    transition: var(--transition-medium);
}

.nav.scrolled {
    background: rgba(15, 15, 26, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo-img {
    height: 32px;
    width: auto;
}

.nav-logo-badge {
    height: 36px;
    width: 36px;
    border-radius: 50%;
    object-fit: cover;
}

.nav-logo-text {
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: -0.5px;
    display: flex;
    gap: 0;
}

.nav-logo-text .logo-med,
.nav-logo-text .logo-kitt {
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.3));
}

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

.nav-link {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

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

.nav-link-cta {
    background: var(--primary);
    color: var(--bg-primary) !important;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-weight: 600;
}

.nav-link-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

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

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition-fast);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    width: 100%;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(60, 179, 113, 0.1);
    border: 1px solid rgba(60, 179, 113, 0.2);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 24px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.hero-logo {
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.hero-logo-img {
    height: 200px;
    width: 200px;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.4));
}

.hero-logo-text {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    display: flex;
    gap: 0;
}

.hero-logo-text .logo-med,
.hero-logo-text .logo-kitt {
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.4));
}

.hero-logo .accent-line {
    width: 200px;
    margin-top: 4px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1.5px;
    margin-bottom: 20px;
}

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

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 32px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
    border: none;
}

.btn-icon, .btn-icon-right {
    width: 18px;
    height: 18px;
}

.btn-primary {
    background: var(--primary);
    color: var(--bg-primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(60, 179, 113, 0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary);
}

.btn-full {
    width: 100%;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
}

.hero-stat {
    display: flex;
    flex-direction: column;
}

.hero-stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.hero-stat-label {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: var(--glass-border);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-card {
    width: 320px;
    padding: 24px;
    position: relative;
    z-index: 2;
}

.hero-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--glass-border);
}

.hero-card-dots {
    display: flex;
    gap: 6px;
}

.hero-card-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
}

.hero-card-dots span:nth-child(1) { background: #ff5f57; }
.hero-card-dots span:nth-child(2) { background: #febc2e; }
.hero-card-dots span:nth-child(3) { background: #28c840; }

.hero-card-title {
    font-size: 0.9375rem;
    font-weight: 600;
}

.hero-card-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hero-card-step {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-sm);
    opacity: 0.6;
    transition: var(--transition-fast);
}

.hero-card-step.active {
    opacity: 1;
    background: rgba(60, 179, 113, 0.1);
    border: 1px solid rgba(60, 179, 113, 0.2);
}

.step-number {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: var(--bg-primary);
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 700;
}

.step-text {
    font-size: 0.875rem;
}

.hero-card-arrow {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.875rem;
}

.hero-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--glass-border);
    font-size: 0.8125rem;
}

.badge {
    background: rgba(60, 179, 113, 0.15);
    color: var(--primary);
    padding: 4px 10px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
}

.nodes {
    color: var(--text-muted);
}

.float-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    font-size: 0.875rem;
    font-weight: 500;
    animation: float 6s ease-in-out infinite;
}

.float-card svg {
    width: 18px;
    height: 18px;
}

.float-card-1 {
    top: 20%;
    right: 0;
    animation-delay: 0s;
}

.float-card-2 {
    bottom: 25%;
    right: -20px;
    animation-delay: -2s;
}

.float-card-3 {
    bottom: 10%;
    left: 0;
    animation-delay: -4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ECG Animation */
.ecg-container {
    position: absolute;
    bottom: 40px;
    left: 0;
    right: 0;
    height: 100px;
    overflow: hidden;
    opacity: 0.3;
}

.ecg-line {
    width: 200%;
    height: 100%;
}

.ecg-path {
    fill: none;
    stroke: var(--primary);
    stroke-width: 2;
    stroke-dasharray: 2000;
    stroke-dashoffset: 2000;
    animation: drawECG 4s linear infinite;
}

@keyframes drawECG {
    to { stroke-dashoffset: 0; }
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-tag {
    display: inline-block;
    background: rgba(184, 115, 51, 0.15);
    color: var(--accent-umber-light);
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 12px;
}

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

.section-subtitle {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto;
}

/* Problem/Solution Section */
.problem-solution {
    padding: 100px 0;
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 32px;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.comparison-card {
    padding: 32px;
}

.comparison-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
}

.comparison-icon svg {
    width: 24px;
    height: 24px;
}

.problem-card .comparison-icon {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.solution-icon {
    background: rgba(60, 179, 113, 0.15) !important;
    color: var(--primary) !important;
}

.comparison-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.comparison-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.comparison-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.comparison-list li::before {
    content: '';
    flex-shrink: 0;
    width: 5px;
    height: 5px;
    margin-top: 8px;
    border-radius: 50%;
    background: var(--text-muted);
}

.solution-card .comparison-list li {
    color: var(--text-primary);
}

.solution-card .comparison-list li::before {
    background: var(--primary);
}

.comparison-connector {
    color: var(--primary);
    width: 60px;
}

.comparison-connector svg {
    width: 100%;
    height: auto;
}

/* Live Consults Section */
.consults {
    padding: 100px 0;
}

.consults-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.consult-card {
    position: relative;
    padding: 28px;
    display: flex;
    flex-direction: column;
    transition: var(--transition-medium);
    overflow: hidden;
}

.consult-card:hover {
    transform: translateY(-4px);
    border-color: rgba(60, 179, 113, 0.3);
}

.consult-card-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 0%, rgba(60, 179, 113, 0.1), transparent 70%);
    opacity: 0;
    transition: var(--transition-medium);
}

.consult-card:hover .consult-card-glow {
    opacity: 1;
}

.consult-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(60, 179, 113, 0.1);
    border-radius: var(--radius-md);
    margin-bottom: 20px;
}

.consult-icon svg {
    width: 24px;
    height: 24px;
    color: var(--primary);
}

.consult-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.consult-description {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.consult-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.consult-badge {
    background: rgba(184, 115, 51, 0.2);
    color: var(--accent-umber-light);
    padding: 4px 10px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
}

.consult-nodes {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.consult-nodes svg {
    width: 14px;
    height: 14px;
}

.consults-cta {
    text-align: center;
}

/* Community Idea Board Section */
.idea-board {
    padding: 100px 0;
    background: linear-gradient(180deg, transparent 0%, rgba(60, 179, 113, 0.03) 50%, transparent 100%);
}

.idea-board-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.idea-board-filter {
    display: flex;
    align-items: center;
    gap: 12px;
}

.idea-board-filter label {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.specialty-select {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    padding: 10px 36px 10px 14px;
    color: var(--text-primary);
    font-size: 0.875rem;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
}

.specialty-select:focus {
    outline: none;
    border-color: var(--primary);
}

.idea-board-sort {
    display: flex;
    gap: 8px;
}

.sort-btn {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    padding: 10px 18px;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-fast);
}

.sort-btn:hover {
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.2);
}

.sort-btn.active {
    background: rgba(60, 179, 113, 0.1);
    color: var(--primary);
    border-color: rgba(60, 179, 113, 0.3);
}

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

.idea-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 24px;
    display: flex;
    flex-direction: column;
    transition: var(--transition-medium);
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.idea-card:hover {
    transform: translateY(-2px);
    border-color: rgba(60, 179, 113, 0.2);
}

.idea-card.built {
    border-color: rgba(60, 179, 113, 0.3);
}

.idea-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.idea-specialty {
    background: rgba(184, 115, 51, 0.2);
    color: var(--accent-umber-light);
    padding: 4px 10px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
}

.idea-specialty.em { background: rgba(239, 68, 68, 0.15); color: #f87171; }
.idea-specialty.cards { background: rgba(236, 72, 153, 0.15); color: #f472b6; }
.idea-specialty.pulm { background: rgba(59, 130, 246, 0.15); color: #60a5fa; }
.idea-specialty.id { background: rgba(34, 197, 94, 0.15); color: #4ade80; }
.idea-specialty.neuro { background: rgba(168, 85, 247, 0.15); color: #c084fc; }
.idea-specialty.nephro { background: rgba(14, 165, 233, 0.15); color: #38bdf8; }
.idea-specialty.gi { background: rgba(245, 158, 11, 0.15); color: #fbbf24; }
.idea-specialty.obgyn { background: rgba(232, 121, 249, 0.15); color: #e879f9; }
.idea-specialty.peds { background: rgba(99, 102, 241, 0.15); color: #818cf8; }
.idea-specialty.surgery { background: rgba(100, 116, 139, 0.15); color: #94a3b8; }
.idea-specialty.anesthesia { background: rgba(20, 184, 166, 0.15); color: #2dd4bf; }

.idea-built-badge {
    background: rgba(60, 179, 113, 0.15);
    color: var(--primary);
    padding: 4px 10px;
    border-radius: 100px;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.idea-title {
    font-size: 1.0625rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.idea-description {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1;
}

.idea-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid var(--glass-border);
}

.idea-votes {
    display: flex;
    align-items: center;
    gap: 8px;
}

.vote-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
}

.vote-btn:hover {
    background: rgba(60, 179, 113, 0.1);
    border-color: rgba(60, 179, 113, 0.3);
    color: var(--primary);
}

.vote-btn.voted {
    background: rgba(60, 179, 113, 0.15);
    border-color: rgba(60, 179, 113, 0.4);
    color: var(--primary);
    box-shadow: 0 0 15px rgba(60, 179, 113, 0.2);
}

.vote-btn svg {
    width: 18px;
    height: 18px;
}

.vote-count {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--text-primary);
    min-width: 24px;
}

.idea-date {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.ideas-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-secondary);
}

.ideas-empty svg {
    width: 64px;
    height: 64px;
    margin-bottom: 16px;
    opacity: 0.5;
}

.ideas-empty p {
    font-size: 1rem;
    margin-bottom: 20px;
}

/* Features Section */
.features {
    padding: 100px 0;
}

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

.feature-card {
    padding: 28px;
    transition: var(--transition-medium);
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(60, 179, 113, 0.2);
}

.feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(60, 179, 113, 0.1);
    border-radius: var(--radius-md);
    margin-bottom: 20px;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    color: var(--primary);
}

.feature-title {
    font-size: 1.0625rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.feature-description {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* How It Works Section */
.how-it-works {
    padding: 100px 0;
}

.steps-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 600px;
    margin: 0 auto;
}

.step-card {
    display: flex;
    align-items: center;
    gap: 24px;
    width: 100%;
    padding: 24px;
}

.step-number-large {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--bg-primary);
    border-radius: var(--radius-md);
    font-size: 1.5rem;
    font-weight: 800;
    flex-shrink: 0;
}

.step-content {
    flex-grow: 1;
}

.step-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.step-description {
    font-size: 0.9375rem;
    color: var(--text-secondary);
}

.step-visual {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.step-visual svg {
    width: 28px;
    height: 28px;
    color: var(--primary);
}

.step-connector {
    color: var(--primary);
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-connector svg {
    width: 60px;
    height: auto;
}

/* Trust Section */
.trust {
    padding: 100px 0;
    background: linear-gradient(180deg, transparent 0%, rgba(184, 115, 51, 0.03) 50%, transparent 100%);
}

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

.trust-card {
    padding: 32px;
    text-align: center;
    transition: var(--transition-medium);
}

.trust-card:hover {
    transform: translateY(-4px);
    border-color: rgba(184, 115, 51, 0.2);
}

.trust-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(184, 115, 51, 0.1);
    border-radius: var(--radius-md);
    margin: 0 auto 20px;
}

.trust-icon svg {
    width: 28px;
    height: 28px;
    color: var(--accent-umber-light);
}

.trust-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.trust-description {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* FAQ Section */
.faq {
    padding: 100px 0;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    overflow: hidden;
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.0625rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: var(--transition-fast);
}

.faq-question:hover {
    color: var(--primary);
}

.faq-icon {
    width: 20px;
    height: 20px;
    transition: var(--transition-medium);
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-medium);
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 0 24px 24px;
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Install Guide */
.install-guide {
    padding: 100px 0;
}

.install-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.install-card {
    padding: 32px 28px;
}

.install-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--glass-border);
}

.install-platform-icon {
    width: 32px;
    height: 32px;
    color: var(--primary);
    flex-shrink: 0;
}

.install-card-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
}

.install-steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.install-step {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.install-step-num {
    width: 28px;
    height: 28px;
    min-width: 28px;
    border-radius: 50%;
    background: rgba(60, 179, 113, 0.15);
    color: var(--primary);
    font-size: 0.8125rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.install-step-content p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.install-step-content strong {
    color: var(--text-primary);
}

.install-icon-hint {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    padding: 8px 12px;
    background: rgba(60, 179, 113, 0.08);
    border-radius: 8px;
    border: 1px solid rgba(60, 179, 113, 0.15);
}

.install-icon-hint svg {
    width: 20px;
    height: 20px;
    color: var(--primary);
    flex-shrink: 0;
}

.install-icon-hint span {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.install-cta {
    text-align: center;
}

.install-hint {
    margin-top: 12px;
    font-size: 0.875rem;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .install-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .install-card {
        padding: 24px 20px;
    }
}

/* Footer */
.footer {
    padding: 80px 0 40px;
    position: relative;
}

.footer-accent-line {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 4px;
    background: linear-gradient(to right, #B87333, #8B6914);
    border-radius: 0 0 2px 2px;
    box-shadow: 0 2px 8px rgba(184, 115, 51, 0.4);
}

.footer-accent-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
}

.footer-logo-wrap {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-logo {
    height: 40px;
    width: auto;
}

.footer-logo-badge {
    height: 40px;
    width: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.footer-logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    gap: 0;
}

.footer-tagline {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.footer-description {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 300px;
}

.footer-heading {
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    color: var(--text-muted);
}

.footer-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-list a {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.footer-list a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid var(--glass-border);
}

.footer-disclaimer {
    font-size: 0.8125rem;
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto 20px;
    line-height: 1.6;
}

.footer-copyright {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 15, 26, 0.8);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-medium);
    padding: 20px;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    width: 100%;
    max-width: 480px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    padding: 32px;
    transform: scale(0.95);
    transition: transform var(--transition-medium);
}

.modal-overlay.active .modal {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition-fast);
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

.modal-close svg {
    width: 18px;
    height: 18px;
}

.modal-header {
    margin-bottom: 24px;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.modal-subtitle {
    font-size: 0.9375rem;
    color: var(--text-secondary);
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    color: var(--text-primary);
    font-size: 0.9375rem;
    font-family: inherit;
    transition: var(--transition-fast);
}

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

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-coming-soon {
    background: rgba(60, 179, 113, 0.1);
    border: 1px dashed rgba(60, 179, 113, 0.3);
    border-radius: var(--radius-sm);
    padding: 16px;
    text-align: center;
}

.coming-soon-badge {
    display: inline-block;
    background: rgba(60, 179, 113, 0.2);
    color: var(--primary);
    padding: 4px 10px;
    border-radius: 100px;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.form-coming-soon p {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.form-coming-soon a {
    color: var(--primary);
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-logo-img {
        height: 150px;
        width: 150px;
    }
    
    .hero-title {
        font-size: 2.75rem;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-visual {
        display: none;
    }
    
    .consults-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .ideas-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .trust-grid {
        grid-template-columns: 1fr;
    }
    
    .comparison-grid {
        grid-template-columns: 1fr;
    }
    
    .comparison-connector {
        transform: rotate(90deg);
        margin: 16px 0;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(15, 15, 26, 0.95);
        backdrop-filter: blur(12px);
        padding: 20px;
        flex-direction: column;
        gap: 16px;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-title {
        font-size: 2.25rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .hero-stat-divider {
        display: none;
    }
    
    .section-title {
        font-size: 1.875rem;
    }
    
    .consults-grid,
    .ideas-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .idea-board-controls {
        flex-direction: column;
        align-items: stretch;
    }
    
    .idea-board-filter {
        flex-direction: column;
        align-items: stretch;
    }
    
    .specialty-select {
        width: 100%;
    }
    
    .idea-board-sort {
        justify-content: center;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-description {
        max-width: 100%;
    }
    
    .step-card {
        flex-direction: column;
        text-align: center;
    }
    
    .step-connector {
        transform: rotate(90deg);
    }
}

/* Scroll Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ============================================
   LIVE CONSULT DEMO WIDGET
   ============================================ */

.demo-widget-section {
    padding: 80px 0;
    background: linear-gradient(180deg, rgba(0, 212, 170, 0.03) 0%, transparent 100%);
}

.medkitt-demo-widget {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(22, 22, 44, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.demo-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: rgba(0, 212, 170, 0.1);
    border-bottom: 1px solid rgba(0, 212, 170, 0.2);
}

.demo-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.demo-logo .logo-icon {
    width: 32px;
    height: 32px;
}

.demo-logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    background: linear-gradient(to right, #4ADE80, #1B5E20);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.demo-badge {
    background: linear-gradient(135deg, #00d4aa, #00a884);
    color: #0f0f1a;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.scenario-selector {
    padding: 20px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.selector-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 10px;
}

.scenario-dropdown {
    width: 100%;
    padding: 14px 18px;
    background: rgba(15, 15, 26, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: white;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.scenario-dropdown:hover,
.scenario-dropdown:focus {
    border-color: rgba(0, 212, 170, 0.5);
    outline: none;
}

.patient-card {
    padding: 20px 24px;
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.patient-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.patient-tag {
    background: rgba(0, 212, 170, 0.15);
    color: #00d4aa;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.patient-demographics {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
}

.vitals-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    margin-bottom: 16px;
}

.vital-item {
    background: rgba(255, 255, 255, 0.03);
    padding: 12px;
    border-radius: 10px;
    text-align: center;
}

.vital-label {
    display: block;
    font-size: 0.6875rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.vital-value {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: white;
}

.history-section {
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.history-title {
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.history-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.history-list li {
    position: relative;
    padding-left: 16px;
    margin-bottom: 6px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
}

.history-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #00d4aa;
}

.chat-container {
    height: 320px;
    overflow-y: auto;
    padding: 20px 24px;
    background: rgba(15, 15, 26, 0.5);
}

.welcome-message {
    text-align: center;
    padding: 40px 20px;
}

.welcome-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.welcome-message h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: white;
}

.welcome-message p {
    color: rgba(255, 255, 255, 0.6);
    max-width: 400px;
    margin: 0 auto;
}

.chat-message {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    animation: messageSlide 0.3s ease;
}

@keyframes messageSlide {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chat-message.user-message {
    justify-content: flex-end;
}

.message-avatar {
    width: 36px;
    height: 36px;
    background: rgba(0, 212, 170, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.message-content {
    background: rgba(255, 255, 255, 0.08);
    padding: 14px 18px;
    border-radius: 16px;
    max-width: 80%;
    line-height: 1.6;
}

.user-message .message-content {
    background: linear-gradient(135deg, rgba(0, 212, 170, 0.2), rgba(0, 212, 170, 0.1));
    border: 1px solid rgba(0, 212, 170, 0.3);
}

.message-content strong {
    color: #00d4aa;
}

.message-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 12px 0;
    font-size: 0.875rem;
}

.message-content th,
.message-content td {
    padding: 10px 12px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.message-content th {
    color: #00d4aa;
    font-weight: 600;
}

.message-prompt {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5) !important;
    font-size: 0.875rem;
}

.typing-dots {
    display: flex;
    gap: 4px;
}

.typing-dots span {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    animation: typingBounce 1.4s infinite ease-in-out both;
}

.typing-dots span:nth-child(1) { animation-delay: -0.32s; }
.typing-dots span:nth-child(2) { animation-delay: -0.16s; }

@keyframes typingBounce {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1); }
}

.input-container {
    display: flex;
    gap: 12px;
    padding: 16px 24px;
    background: rgba(22, 22, 44, 0.9);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.consult-input {
    flex: 1;
    padding: 14px 18px;
    background: rgba(15, 15, 26, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: white;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.consult-input:focus {
    outline: none;
    border-color: rgba(0, 212, 170, 0.5);
}

.consult-input:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.send-btn {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #00d4aa, #00a884);
    border: none;
    border-radius: 12px;
    color: #0f0f1a;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.send-btn:hover:not(:disabled) {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 212, 170, 0.3);
}

.send-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.send-btn svg {
    width: 20px;
    height: 20px;
}

.demo-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 24px;
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.75rem;
}

.powered-by {
    color: rgba(255, 255, 255, 0.5);
}

.powered-by::before {
    content: '⚡ ';
}

.demo-disclaimer {
    color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 640px) {
    .vitals-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .chat-container {
        height: 280px;
        padding: 16px;
    }
    
    .input-container {
        padding: 12px 16px;
    }
    
    .message-content {
        max-width: 90%;
    }
}

/* ============================================
   VERIFICATION BADGE COMPONENT
   ============================================ */

.medkitt-verification-badge {
    text-align: center;
}

.verification-hero {
    margin-bottom: 48px;
}

.hero-badge {
    width: 80px;
    height: 80px;
    background: rgba(0, 212, 170, 0.1);
    border: 2px solid rgba(0, 212, 170, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.shield-icon {
    width: 40px;
    height: 40px;
}

.trust-badges-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.trust-badge-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 24px 20px;
    transition: all 0.3s ease;
}

.trust-badge-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(0, 212, 170, 0.3);
    transform: translateY(-4px);
}

.badge-icon {
    font-size: 1.75rem;
    margin-bottom: 12px;
}

.badge-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: white;
    margin-bottom: 6px;
}

.badge-content p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
}

.clinical-team-preview {
    margin-bottom: 40px;
}

.team-card {
    display: flex;
    align-items: center;
    gap: 24px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 32px;
    max-width: 600px;
    margin: 0 auto;
    cursor: pointer;
    transition: all 0.3s ease;
}

.team-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(0, 212, 170, 0.3);
}

.team-photo-placeholder {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.team-photo-placeholder svg {
    width: 50px;
    height: 50px;
    color: rgba(255, 255, 255, 0.3);
}

.team-info {
    text-align: left;
}

.team-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    margin-bottom: 4px;
}

.team-name .creds {
    color: #00d4aa;
    font-weight: 500;
}

.team-title {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 12px;
}

.team-affiliations {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.affiliation-tag {
    background: rgba(0, 212, 170, 0.1);
    color: #00d4aa;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
}

.meet-team-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(0, 212, 170, 0.15), rgba(0, 212, 170, 0.05));
    border: 1px solid rgba(0, 212, 170, 0.3);
    border-radius: 10px;
    padding: 12px 20px;
    color: #00d4aa;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.meet-team-btn:hover {
    background: linear-gradient(135deg, rgba(0, 212, 170, 0.25), rgba(0, 212, 170, 0.1));
    transform: translateX(4px);
}

.meet-team-btn svg {
    width: 18px;
    height: 18px;
}

.certifications-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    padding: 24px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 16px;
}

.cert-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.cert-abbr {
    font-size: 1.25rem;
    font-weight: 700;
    color: #00d4aa;
}

.cert-name {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cert-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
}

/* Team Modal */
.team-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
}

.team-modal {
    background: rgba(22, 22, 44, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    max-width: 700px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 10;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.modal-close svg {
    width: 20px;
    height: 20px;
}

.modal-content {
    padding: 40px;
}

.modal-team-member {
    display: flex;
    gap: 32px;
}

.modal-photo-section {
    flex-shrink: 0;
}

.modal-photo-placeholder {
    width: 140px;
    height: 140px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.modal-photo-placeholder svg {
    width: 70px;
    height: 70px;
    color: rgba(255, 255, 255, 0.3);
}

.modal-credentials-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.cred-badge {
    background: rgba(0, 212, 170, 0.15);
    color: #00d4aa;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.modal-info-section {
    flex: 1;
    text-align: left;
}

.modal-name {
    font-size: 1.75rem;
    font-weight: 700;
    color: white;
    margin-bottom: 6px;
}

.modal-role {
    font-size: 1rem;
    color: #00d4aa;
    font-weight: 500;
    margin-bottom: 16px;
}

.modal-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin-bottom: 16px;
}

.modal-bio {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: 24px;
}

.modal-affiliations h4,
.modal-certifications h4 {
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.affiliation-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.affiliation-name {
    color: white;
    font-weight: 500;
}

.affiliation-type {
    background: rgba(0, 212, 170, 0.1);
    color: #00d4aa;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
}

.affiliation-location {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

.certifications-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.certification-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.cert-abbr-small {
    background: rgba(0, 212, 170, 0.15);
    color: #00d4aa;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    min-width: 60px;
    text-align: center;
}

.cert-full-name {
    flex: 1;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9375rem;
}

.cert-year {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

@media (max-width: 768px) {
    .trust-badges-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .team-card {
        flex-direction: column;
        text-align: center;
        padding: 24px;
    }
    
    .team-info {
        text-align: center;
    }
    
    .team-affiliations {
        justify-content: center;
    }
    
    .certifications-strip {
        gap: 16px;
    }
    
    .cert-divider {
        display: none;
    }
    
    .modal-team-member {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .modal-info-section {
        text-align: center;
    }
    
    .affiliation-item {
        justify-content: center;
    }
    
    .certification-item {
        flex-direction: column;
        gap: 6px;
    }
}

@media (max-width: 480px) {
    .trust-badges-grid {
        grid-template-columns: 1fr;
    }
}

/* Response Sources */
.response-sources {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ============================================
   PWA INSTALL HERO COMPONENT
   ============================================ */

.pwa-install-hero {
    background: linear-gradient(135deg, rgba(0, 212, 170, 0.1), rgba(0, 212, 170, 0.05));
    border: 1px solid rgba(0, 212, 170, 0.2);
    border-radius: 24px;
    padding: 32px;
    margin: 24px 0;
    position: relative;
    overflow: hidden;
}

.pwa-install-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 170, 0.5), transparent);
}

.pwa-hero-content {
    display: flex;
    gap: 32px;
    align-items: center;
    margin-bottom: 24px;
}

.pwa-app-preview {
    position: relative;
    flex-shrink: 0;
}

.pwa-app-icon-large {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #00d4aa, #00a884);
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 40px rgba(0, 212, 170, 0.3);
    position: relative;
    z-index: 2;
}

.pwa-app-icon-large svg {
    width: 60px;
    height: 60px;
}

.pwa-app-icon-shadow {
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    bottom: -10px;
    background: rgba(0, 212, 170, 0.3);
    border-radius: 22px;
    filter: blur(30px);
    z-index: 1;
}

.pwa-icon-label {
    text-align: center;
    margin-top: 12px;
}

.pwa-icon-label-text {
    font-size: 0.875rem;
    font-weight: 600;
    color: white;
}

.pwa-hero-text {
    flex: 1;
}

.pwa-hero-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 8px;
}

.pwa-hero-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
    line-height: 1.5;
}

.pwa-features {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.pwa-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.9);
}

.pwa-feature svg {
    width: 18px;
    height: 18px;
}

.pwa-hero-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.pwa-install-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    background: linear-gradient(135deg, #00d4aa, #00a884);
    border: none;
    border-radius: 16px;
    padding: 16px 32px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 240px;
}

.pwa-install-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0, 212, 170, 0.4);
}

.pwa-install-btn-icon {
    width: 32px;
    height: 32px;
    margin-bottom: 4px;
}

.pwa-install-btn-text {
    font-size: 1rem;
    font-weight: 700;
    color: #0f0f1a;
}

.pwa-install-btn-subtext {
    font-size: 0.75rem;
    color: rgba(15, 15, 26, 0.7);
}

.pwa-install-btn-ios {
    background: linear-gradient(135deg, #007AFF, #0051D5);
}

.pwa-install-btn-ios:hover {
    box-shadow: 0 12px 30px rgba(0, 122, 255, 0.4);
}

.pwa-install-btn-ios .pwa-install-btn-text,
.pwa-install-btn-ios .pwa-install-btn-subtext {
    color: white;
}

.pwa-qr-section {
    text-align: center;
}

.pwa-qr-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 12px;
}

.pwa-qr-code {
    background: white;
    padding: 12px;
    border-radius: 12px;
    display: inline-block;
    margin-bottom: 8px;
}

.pwa-qr-code img {
    display: block;
}

.pwa-qr-hint {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
}

.pwa-dismiss-btn {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
    cursor: pointer;
    padding: 8px 16px;
    transition: color 0.2s ease;
}

.pwa-dismiss-btn:hover {
    color: rgba(255, 255, 255, 0.8);
}

.pwa-close-hero {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.pwa-close-hero:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.pwa-close-hero svg {
    width: 18px;
    height: 18px;
}

/* Minimized State */
.pwa-install-minimized {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 100;
}

.pwa-minimized-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #00d4aa, #00a884);
    border: none;
    border-radius: 50px;
    padding: 12px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(0, 212, 170, 0.3);
}

.pwa-minimized-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0, 212, 170, 0.4);
}

.pwa-minimized-icon {
    width: 24px;
    height: 24px;
}

.pwa-minimized-text {
    font-size: 0.875rem;
    font-weight: 600;
    color: #0f0f1a;
}

/* Installed State */
.pwa-install-installed {
    background: rgba(0, 212, 170, 0.1);
    border: 1px solid rgba(0, 212, 170, 0.2);
    border-radius: 16px;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pwa-installed-content {
    display: flex;
    align-items: center;
    gap: 16px;
}

.pwa-installed-icon {
    width: 40px;
    height: 40px;
    background: rgba(0, 212, 170, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pwa-installed-icon svg {
    width: 24px;
    height: 24px;
}

.pwa-installed-text {
    display: flex;
    flex-direction: column;
}

.pwa-installed-title {
    font-size: 1rem;
    font-weight: 600;
    color: white;
}

.pwa-installed-subtitle {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

/* iOS Modal */
.pwa-ios-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pwa-ios-modal.visible {
    opacity: 1;
}

.pwa-ios-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.pwa-ios-modal-content {
    background: rgba(22, 22, 44, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 32px;
    max-width: 400px;
    width: 100%;
    position: relative;
}

.pwa-ios-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.pwa-ios-modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.pwa-app-icon-preview {
    text-align: center;
    margin-bottom: 24px;
}

.pwa-app-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #00d4aa, #00a884);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    box-shadow: 0 8px 30px rgba(0, 212, 170, 0.3);
}

.pwa-app-icon svg {
    width: 48px;
    height: 48px;
}

.pwa-app-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
}

.pwa-ios-instructions h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
    text-align: center;
    margin-bottom: 8px;
}

.pwa-ios-instructions p {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    margin-bottom: 24px;
}

.pwa-ios-steps {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pwa-ios-step {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 16px;
}

.step-number {
    width: 28px;
    height: 28px;
    background: rgba(0, 212, 170, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 700;
    color: #00d4aa;
    flex-shrink: 0;
}

.step-text {
    flex: 1;
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.9);
}

.step-text strong {
    color: white;
    font-weight: 600;
}

.step-icon {
    width: 20px;
    height: 20px;
    color: rgba(255, 255, 255, 0.5);
    flex-shrink: 0;
}

/* Responsive */
@media (max-width: 640px) {
    .pwa-install-hero {
        padding: 24px;
        margin: 16px;
    }
    
    .pwa-hero-content {
        flex-direction: column;
        text-align: center;
    }
    
    .pwa-app-icon-large {
        width: 80px;
        height: 80px;
    }
    
    .pwa-app-icon-large svg {
        width: 48px;
        height: 48px;
    }
    
    .pwa-hero-title {
        font-size: 1.25rem;
    }
    
    .pwa-features {
        justify-content: center;
    }
    
    .pwa-install-minimized {
        bottom: 16px;
        right: 16px;
    }
    
    .pwa-minimized-text {
        display: none;
    }
    
    .pwa-minimized-btn {
        padding: 12px;
        border-radius: 50%;
    }
}
