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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--text-main);
    background-color: var(--bg-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-main);
}

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

ul {
    list-style: none;
}

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

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

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

.text-gradient {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-white {
    color: var(--text-light);
}

.text-gray-300 {
    color: #d1d5db;
}

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

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

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

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

.bg-white {
    background-color: white;
}

.mt-4 {
    margin-top: 1rem;
}

.full-width {
    width: 100%;
}

.rounded-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
}

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

/* .shadow-lg {
    box-shadow: var(--shadow-lg);
} */

/* Grid System */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

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

.align-center {
    align-items: center;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

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

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

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: var(--gradient-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

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

.btn-white:hover {
    background: #f0fdf4;
    transform: translateY(-2px);
}

.btn-outline-white {
    background: transparent;
    border-color: white;
    color: white;
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

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

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

.nav-link {
    font-weight: 500;
    color: var(--text-main);
}

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background-color: var(--text-main);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    padding-top: calc(var(--header-height) + 4rem);
    padding-bottom: 4rem;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at top right, rgba(16, 185, 129, 0.1), transparent 40%);
    overflow: hidden;
}

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

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 90%;
}

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

/* Dynamic Mockup */
.mockup-placeholder {
    position: relative;
    width: 100%;
    height: 450px;
    perspective: 1000px;
}

.mockup-screen {
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-color);
    width: 90%;
    height: 400px;
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transform: rotateY(-5deg) rotateX(2deg);
    transition: transform 0.5s ease;
}

.mockup-placeholder:hover .mockup-screen {
    transform: rotateY(0) rotateX(0);
}

.mockup-header {
    background: #f3f4f6;
    padding: 10px 15px;
    display: flex;
    gap: 6px;
    border-bottom: 1px solid var(--border-color);
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.red {
    background: #ef4444;
}

.yellow {
    background: #f59e0b;
}

.green {
    background: #10b981;
}

.mockup-body {
    display: flex;
    flex: 1;
}

.mockup-sidebar {
    width: 60px;
    background: var(--bg-light);
    border-right: 1px solid var(--border-color);
}

.mockup-main {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    background: #f8fafc;
}

/* Abstract Dashboard UI */
.dashboard-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.dash-title {
    width: 120px;
    height: 16px;
    background: #e2e8f0;
    border-radius: 4px;
}

.dash-user {
    width: 32px;
    height: 32px;
    background: #cbd5e1;
    border-radius: 50%;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 15px;
    grid-template-rows: 150px 100px;
}

.dash-card {
    background: white;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    border: 1px solid #e2e8f0;
}

.dash-card.large {
    grid-column: 1 / -1;
    background: linear-gradient(180deg, white 0%, #f0fdf4 100%);
    position: relative;
    overflow: hidden;
}

.dash-card.large::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%2310b981" fill-opacity="0.2" d="M0,192L48,197.3C96,203,192,213,288,229.3C384,245,480,267,576,250.7C672,235,768,181,864,181.3C960,181,1056,235,1152,234.7C1248,235,1344,181,1392,154.7L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    background-position: bottom;
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    padding: 15px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: float 6s ease-in-out infinite;
}

.card-1 {
    bottom: 40px;
    right: -20px;
    width: 180px;
    z-index: 10;
}

.icon-circle {
    width: 40px;
    height: 40px;
    background: var(--primary-light);
    border-radius: 50%;
    opacity: 0.2;
}

.text-lines .line {
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    margin-bottom: 6px;
}

.w-70 {
    width: 70%;
}

.w-40 {
    width: 40%;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

/* Sections General */
.section {
    padding: 6rem 0;
}

.section-header {
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
}

/* Benefits Cards */
.card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.icon-box {
    width: 50px;
    height: 50px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

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

.benefit-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Clinical Intelligence (Transcription) */
.badge-pill {
    display: inline-block;
    background: #dcfce7;
    color: #166534;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.feature-list-large {
    margin-top: 2rem;
}

.feature-list-large li {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.icon-check {
    width: 24px;
    height: 24px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.ci-visual {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.audio-card {
    width: 280px;
    height: 160px;
    background: #1f2937;
    border-radius: 16px;
    padding: 20px;
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 1;
    box-shadow: var(--shadow-xl);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.audio-wave {
    display: flex;
    gap: 4px;
    height: 40px;
    align-items: center;
}

.audio-wave span {
    width: 4px;
    background: var(--primary-color);
    border-radius: 2px;
    animation: wave 1s ease-in-out infinite;
}

.audio-wave span:nth-child(odd) {
    animation-duration: 0.8s;
}

.audio-wave span:nth-child(2n) {
    animation-duration: 1.1s;
}

.audio-wave span:nth-child(3n) {
    animation-duration: 1.3s;
}

@keyframes wave {

    0%,
    100% {
        height: 10px;
        opacity: 0.5;
    }

    50% {
        height: 30px;
        opacity: 1;
    }
}

.processing-status {
    margin-top: 15px;
    color: #9ca3af;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.spinner {
    width: 12px;
    height: 12px;
    border: 2px solid #9ca3af;
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.result-card {
    width: 300px;
    position: absolute;
    bottom: 40px;
    right: 20px;
    z-index: 2;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.result-header {
    background: #f0fdf4;
    padding: 10px 15px;
    border-bottom: 1px solid #dcfce7;
}

.tag {
    font-size: 0.7rem;
    font-weight: 700;
    color: #166534;
    text-transform: uppercase;
}

.result-body {
    padding: 15px;
}

.highlight-box {
    margin-top: 10px;
    background: #fef3c7;
    color: #92400e;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
}

/* How it Works */
.steps-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.step-item {
    text-align: center;
    flex: 1;
    position: relative;
    z-index: 2;
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    box-shadow: 0 0 0 8px rgba(16, 185, 129, 0.1);
}

.step-connector {
    flex: 1;
    height: 2px;
    background: var(--border-color);
    margin-top: 20px;
}

.step-content h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.step-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Doctor's Assistant (WhatsApp Style) */
.phone-frame {
    width: 320px;
    height: 580px;
    background: #111827;
    border-radius: 30px;
    border: 8px solid #374151;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.phone-notch {
    width: 120px;
    height: 20px;
    background: #374151;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    z-index: 10;
}

.chat-screen {
    height: 100%;
    background: #0b141a;
    /* WhatsApp Dark BG */
    display: flex;
    flex-direction: column;
}

.chat-header {
    background: #202c33;
    padding: 35px 15px 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid #374045;
}

.avatar-bot {
    width: 36px;
    height: 36px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.bot-info {
    display: flex;
    flex-direction: column;
}

.bot-name {
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
}

.bot-status {
    color: var(--primary-color);
    font-size: 0.75rem;
}

.chat-messages {
    flex: 1;
    padding: 20px 10px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    overflow-y: auto;
}

.message {
    max-width: 85%;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.9rem;
    position: relative;
    line-height: 1.4;
}

.message.user {
    align-self: flex-end;
    background: #005c4b;
    color: white;
    border-top-right-radius: 0;
}

.message.bot {
    align-self: flex-start;
    background: #202c33;
    color: white;
    border-top-left-radius: 0;
}

.message .time {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.6);
    float: right;
    margin-top: 4px;
    margin-left: 8px;
}

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

.typing-dots span {
    width: 6px;
    height: 6px;
    background: #8696a0;
    border-radius: 50%;
    animation: bounce 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 bounce {

    0%,
    80%,
    100% {
        transform: scale(0);
    }

    40% {
        transform: scale(1);
    }
}

.doctor-assistant {
    overflow: hidden;
}

.assistant-demo {
    display: flex;
    gap: 4rem;
    align-items: center;
    justify-content: center;
    margin-top: 4rem;
    flex-wrap: wrap;
}

.assistant-features {
    max-width: 400px;
}

.feature-box {
    margin-bottom: 2rem;
}

.feature-box h3 {
    color: var(--primary-light);
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.feature-box p {
    color: #9ca3af;
}

/* Patient AI Attendance */
.patient-ai {
    background: white;
}

.chat-interface-clean {
    background: #f3f4f6;
    border-radius: 20px;
    padding: 2rem;
    max-width: 400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    box-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.4);
}

.chat-bubble-left {
    background: white;
    padding: 1rem;
    border-radius: 12px;
    border-bottom-left-radius: 2px;
    box-shadow: var(--shadow-sm);
    align-self: flex-start;
    max-width: 90%;
}

.chat-bubble-right {
    background: var(--primary-color);
    color: white;
    padding: 1rem;
    border-radius: 12px;
    border-bottom-right-radius: 2px;
    box-shadow: var(--shadow-sm);
    align-self: flex-end;
    max-width: 90%;
}

/* Telemedicine */
.image-placeholder {
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: center;
    color: var(--text-muted);
    font-style: italic;
    min-height: 300px;
    border: 1px dashed var(--border-color);
    position: relative;
}

.floating-badge {
    position: absolute;
    bottom: 2rem;
    right: -1rem;
    background: white;
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--primary-dark);
}

.feature-list {
    margin: 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
}

.check-icon {
    width: 20px;
    height: 20px;
    color: var(--primary-color);
}

/* AI Section */
.ai-features {
    margin-top: 3rem;
    display: grid;
    gap: 2rem;
}

.ai-feature-item h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: white;
}

.ai-feature-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.glass-effect {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
}

/* Target Audience */
.audience-card {
    padding: 0;
    overflow: hidden;
}

.card-image-top {
    height: 200px;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-style: italic;
    border-bottom: 1px solid var(--border-color);
}

.card-body {
    padding: 2rem;
}

.card-body h3 {
    margin-bottom: 1rem;
}

/* Testimonials */
.testimonial-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-text {
    font-style: italic;
    color: var(--text-main);
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 48px;
    height: 48px;
    background: var(--bg-light);
    border-radius: 50%;
}

.author-info h4 {
    font-size: 1rem;
    margin-bottom: 0.1rem;
}

.author-info span {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Plans */
.plan-card {
    text-align: center;
    position: relative;
}

.featured {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
    z-index: 10;
}

.featured-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.plan-name {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.plan-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.plan-price span {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 400;
}

.plan-desc {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.plan-features {
    margin-bottom: 2rem;
    text-align: left;
}

.plan-features li {
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
}

.plan-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* FAQ */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    border: 1px solid var(--border-color);
}

.faq-item summary {
    padding: 1.5rem;
    cursor: pointer;
    font-weight: 600;
    list-style: none;
    position: relative;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    position: absolute;
    right: 1.5rem;
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--primary-color);
}

.faq-item details[open] summary::after {
    content: "-";
}

.faq-item p {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-muted);
}

/* CTA Final */
.cta-final {
    background: linear-gradient(120deg, #047857, #10b981, #34d399);
    color: white;
    text-align: center;
    /* Floating Effect */
    max-width: 1200px;
    margin: 0 auto 4rem auto;
    /* Center and push from bottom */
    border-radius: 25px;
    padding: 3rem 20px;
    /* Generous vertical, requested horizontal */
    box-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.4);
    position: relative;
    z-index: 10;
}

/* Ensure it doesn't touch edges on mobile */
@media (max-width: 1240px) {
    .cta-final {
        margin-left: 20px;
        margin-right: 20px;
    }
}

.cta-title {
    color: white;
    margin-bottom: 1rem;
}

.cta-subtitle {
    color: var(--text-light);
    margin-bottom: 2.5rem;
    font-size: 1.25rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* Footer */
.footer {
    background: #0f172a;
    color: white;
    padding: 4rem 0 2rem;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-logo {
    color: white;
    margin-bottom: 1rem;
    display: block;
}

.footer-brand p {
    color: #94a3b8;
    max-width: 300px;
}

.footer-links h4,
.footer-contact h4 {
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

.footer-links ul li {
    margin-bottom: 0.75rem;
}

.footer-links ul li a {
    color: #94a3b8;
}

.footer-links ul li a:hover {
    color: var(--primary-color);
}

.footer-contact p {
    color: #94a3b8;
    margin-bottom: 0.5rem;
}

.social-links {
    margin-top: 1.5rem;
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: white;
    font-weight: 500;
}

.footer-bottom {
    border-top: 1px solid #1e293b;
    padding-top: 2rem;
    color: #64748b;
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }

    .hero-title {
        font-size: 3rem;
    }

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

    .steps-container {
        flex-direction: column;
        gap: 2rem;
        align-items: center;
    }

    .step-connector {
        display: none;
    }

    .step-item {
        width: 100%;
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    .header-height {
        height: 70px;
    }

    .nav-menu {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background: white;
        padding: 2rem;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        border-top: 1px solid var(--border-color);
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .nav-link {
        font-size: 1.25rem;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .header-actions .btn {
        display: none;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero-subtitle {
        margin: 0 auto 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-brand p {
        margin: 0 auto;
    }

    .social-links {
        justify-content: center;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .featured {
        transform: scale(1);
    }

    .assistant-demo {
        gap: 2rem;
    }
}

/* --- New Visual Polish (Round 3) --- */

/* Colorful Charts in Mockup */
.chart-colorful {
    background: white;
    position: relative;
    overflow: hidden;
}

.chart-colorful::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70%;
    /* Multi-color gradient wave */
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><defs><linearGradient id="grad1" x1="0%" y1="0%" x2="100%" y2="0%"><stop offset="0%" style="stop-color:%233b82f6;stop-opacity:1" /><stop offset="50%" style="stop-color:%238b5cf6;stop-opacity:1" /><stop offset="100%" style="stop-color:%23ec4899;stop-opacity:1" /></linearGradient></defs><path fill="url(%23grad1)" fill-opacity="0.3" d="M0,128L48,144C96,160,192,192,288,186.7C384,181,480,139,576,144C672,149,768,203,864,224C960,245,1056,235,1152,202.7C1248,171,1344,117,1392,90.7L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    background-position: bottom;
}

.chart-blue {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border: 1px solid #bfdbfe;
    position: relative;
}

.chart-blue::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 4px solid #3b82f6;
    border-top-color: transparent;
}

.chart-purple {
    background: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 100%);
    border: 1px solid #e9d5ff;
    position: relative;
}

.chart-purple::after {
    content: '';
    position: absolute;
    bottom: 15px;
    left: 15px;
    right: 15px;
    height: 8px;
    background: #d8b4fe;
    border-radius: 4px;
}

.chart-purple::before {
    content: '';
    position: absolute;
    bottom: 15px;
    left: 15px;
    width: 60%;
    height: 8px;
    background: #a855f7;
    border-radius: 4px;
    z-index: 1;
}

/* Red Heart Icon */
.bg-red-100 {
    background-color: #fee2e2;
}

.text-red {
    color: #ef4444;
}

/* Stethoscope Decoration */
.stethoscope-deco {
    position: absolute;
    top: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    z-index: -1;
    animation: rotateSlow 20s linear infinite;
}

@keyframes rotateSlow {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Heartbeat Divider */
.heartbeat-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    overflow: hidden;
    z-index: 5;
    pointer-events: none;
}

.heartbeat-line {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: #ee7878;
    /* Red Pulse */
    stroke-width: 1;
    /* Traveling beam effect: 300px visible line, 1600px gap */
    stroke-dasharray: 300 1600;
    stroke-dashoffset: 300;
    animation: pulseFlow 3s linear infinite;
    filter: drop-shadow(0 0 4px rgba(239, 68, 68, 0.5));
}

@keyframes pulseFlow {
    0% {
        stroke-dashoffset: 300;
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        stroke-dashoffset: -1600;
        opacity: 0;
    }
}

/* Add some colorful accents to existing cards */
.benefit-card:nth-child(1) .icon-box {
    color: #3b82f6;
    background: #eff6ff;
}

/* Blue */
.benefit-card:nth-child(2) .icon-box {
    color: #8b5cf6;
    background: #f5f3ff;
}

/* Purple */
.benefit-card:nth-child(3) .icon-box {
    color: #ec4899;
    background: #fdf2f8;
}

/* Pink */
.benefit-card:nth-child(4) .icon-box {
    color: #10b981;
    background: #ecfdf5;
}

/* Green */
.benefit-card:nth-child(5) .icon-box {
    color: #f59e0b;
    background: #fffbeb;
}

/* Amber */
.benefit-card:nth-child(6) .icon-box {
    color: #ef4444;
    background: #fef2f2;
}

/* Red */
.benefit-card:nth-child(7) .icon-box {
    color: #06b6d4;
    background: #ecfeff;
}

/* Cyan */
.benefit-card:nth-child(8) .icon-box {
    color: #6366f1;
    background: #eef2ff;
}

/* Indigo */
.benefit-card:nth-child(9) .icon-box {
    color: #14b8a6;
    background: #f0fdfa;
}

/* Teal */

/* Telemedicine Image Positioning */
.telemedicine-image {
    position: relative;
}

/* Financial Image Positioning */
.financial-image {
    position: relative;
}

/* Video Section */
.video-section {
    padding: 6rem 0;
    background: white;
    text-align: center;
}

.video-container {
    max-width: 900px;
    margin: 3rem auto 0;
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    background: black;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    color: white;
    flex-direction: column;
    gap: 1rem;
    cursor: pointer;
}

.play-button {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    transition: transform 0.3s ease, background 0.3s ease;
}

.video-placeholder:hover .play-button {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.3);
}

.play-icon {
    width: 0;
    height: 0;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-left: 25px solid white;
    margin-left: 5px;
}