/* =============================================================
   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;
}
