/* =============================================================
   clinic-landing.css  –  Styles for the Clinicora Pro Landing Page
   ============================================================= */

@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url('/fonts/outfit-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Plus Jakarta Sans';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('/fonts/plus-jakarta-sans-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --cm-primary: #0d9488;
    --cm-primary-hover: #0f766e;
    --cm-primary-light: #ccfbf1;
    --cm-dark: #0f172a;
    --cm-gray-dark: #1e293b;
    --cm-gray-light: #f8fafc;
    --cm-text-main: #334155;
    --cm-text-light: #64748b;
    --cm-accent: #f59e0b;
    --cm-border: #e2e8f0;
}

body {
    margin: 0;
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    background-color: var(--cm-gray-light);
    color: var(--cm-text-main);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .brand-text {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

/* ── Navbar ── */
.cm-navbar {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--cm-border);
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.cm-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--cm-dark);
}

.cm-brand-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--cm-primary), #5eead4);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.25rem;
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.25);
    overflow: hidden;
}

.cm-brand-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cm-brand-text {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--cm-dark), var(--cm-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.btn-cm-nav {
    background: var(--cm-primary);
    color: white !important;
    font-weight: 600;
    border-radius: 50px;
    padding: 0.5rem 1.25rem;
    font-size: 0.9rem;
    border: none;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.15);
    text-decoration: none;
}

.btn-cm-nav:hover {
    background: var(--cm-primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(13, 148, 136, 0.25);
}

/* ── Hero Section ── */
.cm-hero {
    background: radial-gradient(circle at 80% 20%, #ecfeff 0%, var(--cm-gray-light) 100%);
    padding: 100px 0 80px;
    position: relative;
}

.cm-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--cm-primary-light);
    color: var(--cm-primary);
    padding: 0.35rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(13, 148, 136, 0.1);
}

.cm-hero h1 {
    font-size: 3.25rem;
    font-weight: 800;
    line-height: 1.15;
    color: var(--cm-dark);
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.cm-hero h1 span {
    background: linear-gradient(135deg, var(--cm-primary), #14b8a6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cm-hero-text {
    font-size: 1.15rem;
    line-height: 1.6;
    color: var(--cm-text-light);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.cm-hero-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.cm-notice {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid rgba(13, 148, 136, 0.2);
    background: rgba(13, 148, 136, 0.07);
    color: #134e4a;
    border-radius: 999px;
    padding: 0.45rem 0.9rem;
    font-weight: 600;
    font-size: 0.9rem;
}

.btn-cm-primary {
    background: var(--cm-primary);
    color: white !important;
    font-weight: 700;
    font-size: 1.05rem;
    border-radius: 50px;
    padding: 1rem 2.25rem;
    border: none;
    transition: all 0.2s ease;
    box-shadow: 0 8px 20px rgba(13, 148, 136, 0.2);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-cm-primary:hover {
    background: var(--cm-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(13, 148, 136, 0.3);
}

.btn-cm-secondary {
    background: transparent;
    color: var(--cm-dark) !important;
    font-weight: 600;
    font-size: 1.05rem;
    border-radius: 50px;
    padding: 1rem 2rem;
    border: 2px solid var(--cm-border);
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-cm-secondary:hover {
    background: rgba(15, 23, 42, 0.04);
    border-color: var(--cm-dark);
}

/* ── Interactive Preview / Mockup Card ── */
.cm-mockup-wrapper {
    position: relative;
}

.cm-mockup {
    background: #ffffff;
    border-radius: 1.5rem;
    border: 1px solid var(--cm-border);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.cm-mockup:hover {
    transform: translateY(-4px);
}

.cm-mockup-header {
    background: var(--cm-dark);
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cm-mockup-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ef4444;
}
.cm-mockup-dot:nth-child(2) { background: #f59e0b; }
.cm-mockup-dot:nth-child(3) { background: #10b981; }

.cm-mockup-body {
    padding: 1.5rem;
    background: #fafafa;
}

.cm-mockup-page {
    background: #ffffff;
    border-radius: 1rem;
    border: 1px solid var(--cm-border);
    padding: 1.25rem;
    margin-bottom: 1rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
}

.cm-mockup-block {
    border: 1px dashed var(--cm-border);
    border-radius: 0.6rem;
    padding: 0.6rem 0.75rem;
    margin-bottom: 0.6rem;
    background: #f8fffe;
}

.cm-mockup-block:last-child { margin-bottom: 0; }

/* ── Features ── */
.cm-section-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--cm-dark);
    text-align: center;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.cm-section-subtitle {
    font-size: 1.1rem;
    color: var(--cm-text-light);
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3.5rem;
}

.cm-card {
    background: #ffffff;
    border: 1px solid var(--cm-border);
    border-radius: 1.25rem;
    padding: 2.25rem;
    height: 100%;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.cm-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--cm-primary);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.cm-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.06);
    border-color: rgba(13, 148, 136, 0.25);
}

.cm-card:hover::before {
    opacity: 1;
}

.cm-card-icon {
    width: 48px;
    height: 48px;
    background: var(--cm-primary-light);
    color: var(--cm-primary);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.cm-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--cm-dark);
    margin-bottom: 0.75rem;
}

.cm-card p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--cm-text-light);
    margin: 0;
}

/* ── CTA Banner ── */
.cm-cta {
    background: linear-gradient(135deg, var(--cm-dark) 0%, #042f2e 100%);
    color: white;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cm-cta::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(13, 148, 136, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.cm-cta h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.cm-cta p {
    font-size: 1.15rem;
    opacity: 0.8;
    margin-bottom: 2.25rem;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
}

/* ── Footer ── */
.cm-footer {
    background: #090d16;
    color: #64748b;
    padding: 2.5rem 0;
    font-size: 0.9rem;
    border-top: 1px solid #1e293b;
}

.cm-footer a {
    color: #94a3b8;
    text-decoration: none;
    font-weight: 550;
    margin-left: 1.5rem;
    transition: color 0.15s ease;
}

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

/* ── Responsive ── */
@media (max-width: 991px) {
    .cm-hero {
        padding: 60px 0 60px;
    }
    .cm-hero h1 {
        font-size: 2.5rem;
    }
    .cm-mockup-wrapper {
        margin-top: 3rem;
    }
}

@media (max-width: 576px) {
    .cm-hero-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .btn-cm-primary, .btn-cm-secondary {
        justify-content: center;
    }
}

/* ── Dashboard mockup (clinic-specific) ── */
.cm-stat {
    background: #ffffff;
    border: 1px solid var(--cm-border);
    border-radius: 0.75rem;
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.cm-stat-label {
    font-size: 0.75rem;
    color: var(--cm-text-light);
}

.cm-stat-value {
    font-family: 'Outfit', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--cm-dark);
}

.cm-stat-warn { color: var(--cm-accent); }

.cm-mockup-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid var(--cm-border);
    border-radius: 0.6rem;
    padding: 0.6rem 0.75rem;
    margin-bottom: 0.6rem;
    background: #ffffff;
}

/* ── Trust strip ── */
.cm-trust {
    background: var(--cm-gray-light);
    padding: 60px 0;
    border-top: 1px solid var(--cm-border);
}

.cm-trust i {
    font-size: 2rem;
    color: var(--cm-primary);
}

.cm-trust h5 {
    font-size: 1.05rem;
    color: var(--cm-dark);
    margin: 0.75rem 0 0.35rem;
}

.cm-trust p {
    font-size: 0.875rem;
    color: var(--cm-text-light);
    margin: 0;
}

/* =============================================================
   Landing v2 — highlights (booking, queue, WhatsApp), modules, partners
   ============================================================= */

/* ── Nav links ── */
.cm-nav-links { margin-left: auto; margin-right: 1.5rem; gap: 1.5rem; }
.cm-nav-links a { color: var(--cm-text-light); text-decoration: none; font-weight: 600; font-size: 0.92rem; }
.cm-nav-links a:hover { color: var(--cm-primary); }

/* ── Hero chips + mockup extras ── */
.cm-hero-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: -1rem 0 2rem; }
.cm-hero-chips span { display: inline-flex; align-items: center; gap: 0.4rem; background: #fff; border: 1px solid var(--cm-border);
                      border-radius: 999px; padding: 0.35rem 0.85rem; font-size: 0.85rem; font-weight: 600; color: var(--cm-dark); }
.cm-hero-chips i { color: var(--cm-primary); }
.cm-mini-token { display: inline-flex; align-items: center; justify-content: center; min-width: 24px; height: 20px; padding: 0 6px; margin-right: 6px;
                 border-radius: 6px; background: var(--cm-primary); color: #fff; font-size: 11px; font-weight: 800; }
.cm-badge-online { background: #ede9fe; color: #6d28d9; }

/* ── Highlight blocks ── */
.cm-highlights { padding: 90px 0 30px; background: linear-gradient(180deg, var(--cm-gray-light) 0%, #ffffff 100%); }
.cm-highlight { margin-bottom: 90px; }
.cm-eyebrow { display: inline-flex; align-items: center; gap: 0.45rem; color: var(--cm-primary); font-weight: 700; font-size: 0.85rem;
              text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.75rem; }
.cm-highlight h2, .cm-partners h2 { font-size: 2rem; font-weight: 800; color: var(--cm-dark); letter-spacing: -0.02em; margin-bottom: 1rem; }
.cm-highlight p, .cm-partners p { color: var(--cm-text-light); font-size: 1.05rem; line-height: 1.65; }
.cm-checks { list-style: none; padding: 0; margin: 1.25rem 0 0; }
.cm-checks li { position: relative; padding-left: 1.9rem; margin-bottom: 0.65rem; color: var(--cm-text-main); font-weight: 500; }
.cm-checks li::before { content: "\F26A"; font-family: "bootstrap-icons"; position: absolute; left: 0; top: 0; color: var(--cm-primary); font-size: 1.1rem; }

/* Phone mockup (online booking) */
.cm-phone { max-width: 330px; margin: 0 auto; background: #0f172a; border-radius: 34px; padding: 12px; box-shadow: 0 30px 60px rgba(15, 23, 42, 0.18); }
.cm-phone-top { background: #fff; border-radius: 24px 24px 0 0; padding: 14px 16px 10px; font-weight: 700; font-size: 0.9rem; color: var(--cm-dark); border-bottom: 1px solid var(--cm-border); }
.cm-phone-body { background: #f0fdfa; border-radius: 0 0 24px 24px; padding: 14px; }
.cm-phone-title { font-weight: 800; color: var(--cm-dark); margin-bottom: 10px; }
.cm-phone-doc { display: flex; align-items: center; gap: 10px; background: #fff; border: 2px solid var(--cm-border); border-radius: 12px; padding: 8px; margin-bottom: 8px; }
.cm-phone-doc.sel { border-color: var(--cm-primary); }
.cm-phone-doc strong { display: block; font-size: 0.85rem; color: var(--cm-dark); }
.cm-phone-doc small { color: var(--cm-text-light); font-size: 0.75rem; }
.cm-av { width: 34px; height: 34px; border-radius: 50%; background: var(--cm-primary-light); color: var(--cm-primary-hover); display: inline-flex;
         align-items: center; justify-content: center; font-weight: 800; font-size: 0.75rem; flex: 0 0 auto; }
.cm-phone-days { display: flex; gap: 6px; margin: 12px 0 10px; }
.cm-phone-days span { flex: 1; text-align: center; background: #fff; border: 2px solid var(--cm-border); border-radius: 10px; padding: 4px 0; font-weight: 800; color: var(--cm-dark); }
.cm-phone-days small { display: block; font-size: 0.65rem; font-weight: 600; color: var(--cm-text-light); text-transform: uppercase; }
.cm-phone-days span.sel { background: var(--cm-primary); border-color: var(--cm-primary); color: #fff; }
.cm-phone-days span.sel small { color: #ccfbf1; }
.cm-phone-slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.cm-phone-slots span { text-align: center; background: #fff; border: 2px solid var(--cm-border); border-radius: 8px; padding: 5px 0; font-weight: 700; font-size: 0.8rem; color: var(--cm-dark); }
.cm-phone-slots span.sel { background: var(--cm-primary); border-color: var(--cm-primary); color: #fff; }
.cm-phone-btn { margin-top: 12px; background: var(--cm-primary); color: #fff; text-align: center; font-weight: 800; border-radius: 10px; padding: 10px; }

/* TV mockup (queue) */
.cm-tv { max-width: 460px; margin: 0 auto; }
.cm-tv-screen { background: #0b1220; border: 10px solid #1e293b; border-radius: 18px; padding: 22px 26px; text-align: center; color: #e2e8f0;
                box-shadow: 0 30px 60px rgba(15, 23, 42, 0.25); }
.cm-tv-doc { font-weight: 700; font-size: 1.15rem; }
.cm-tv-label { color: #94a3b8; text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.7rem; margin-top: 12px; }
.cm-tv-token { font-size: 5rem; font-weight: 800; line-height: 1; color: #5eead4; animation: cm-tv-flash 3s ease-in-out infinite; }
@keyframes cm-tv-flash { 0%, 70%, 100% { text-shadow: none; } 80% { text-shadow: 0 0 30px #14b8a6; color: #fff; } }
.cm-tv-name { letter-spacing: 0.05em; margin-top: 2px; }
.cm-tv-next { display: flex; align-items: center; gap: 12px; text-align: left; border-top: 1px solid #1e2a44; padding: 7px 4px; letter-spacing: 0.05em; }
.cm-tv-label + .cm-tv-next { border-top: 0; }
.cm-tv-next span { min-width: 2.4em; text-align: center; background: #0f2a2a; border: 1px solid #134e4a; color: #5eead4; border-radius: 8px; font-weight: 800; padding: 1px 8px; }
.cm-tv-stand { width: 120px; height: 14px; margin: 0 auto; background: #1e293b; border-radius: 0 0 10px 10px; }

/* WhatsApp chat mockup */
.cm-chat { max-width: 400px; margin: 0 auto; border-radius: 18px; overflow: hidden; box-shadow: 0 30px 60px rgba(15, 23, 42, 0.15); }
.cm-chat-head { background: #075e54; color: #fff; padding: 12px 16px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.cm-chat-body { background: #ece5dd; padding: 18px 14px; display: flex; flex-direction: column; gap: 10px; }
.cm-bubble { align-self: flex-end; max-width: 85%; background: #dcf8c6; border-radius: 12px 12px 2px 12px; padding: 8px 12px 18px; position: relative; font-size: 0.9rem; color: #111827; }
.cm-bubble-in { align-self: flex-start; background: #fff; border-radius: 12px 12px 12px 2px; }
.cm-bubble-time { position: absolute; right: 10px; bottom: 3px; font-size: 0.68rem; color: #6b7280; }

/* ── Specialist modules ── */
.cm-subsection-title { font-size: 1.4rem; font-weight: 800; color: var(--cm-dark); text-align: center; margin: 4rem 0 1.75rem; }
.cm-module { display: flex; gap: 1rem; align-items: flex-start; background: var(--cm-gray-light); border: 1px solid var(--cm-border); border-radius: 1rem; padding: 1.25rem; height: 100%; }
.cm-module > i { font-size: 1.6rem; color: var(--cm-primary); background: #fff; border-radius: 0.75rem; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.cm-module h5 { font-weight: 700; color: var(--cm-dark); margin-bottom: 0.25rem; }
.cm-module p { margin: 0; color: var(--cm-text-light); font-size: 0.92rem; }

/* ── Perfect for ── */
.cm-for { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0.5rem; margin-top: 2.5rem; }
.cm-for span { background: #fff; border: 1px solid var(--cm-border); border-radius: 999px; padding: 0.3rem 0.85rem; font-size: 0.85rem; font-weight: 600; color: var(--cm-dark); }
.cm-for .cm-for-label { background: none; border: 0; color: var(--cm-text-light); text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.78rem; }

/* ── Partners ── */
.cm-partners { padding: 70px 0; background: #fff; border-top: 1px solid var(--cm-border); }
.cm-link-muted { color: var(--cm-text-light); text-decoration: none; font-size: 0.9rem; font-weight: 600; }
.cm-link-muted:hover { color: var(--cm-primary); }

@media (max-width: 991px) {
    .cm-highlight { margin-bottom: 60px; }
    .cm-highlight h2, .cm-partners h2 { font-size: 1.6rem; }
}
@media (max-width: 576px) {
    .cm-hero-chips { margin-top: -0.5rem; }
    .cm-tv-token { font-size: 3.8rem; }
}
