:root {
    --blue-950: #06183d;
    --blue-900: #08275c;
    --blue-800: #0b3f91;
    --blue-700: #075bbb;
    --blue-600: #0866d8;
    --blue-500: #1683ff;
    --blue-100: #eaf4ff;
    --blue-50: #f6fbff;
    --text: #071b46;
    --muted: #5f6f89;
    --line: rgba(8, 42, 101, .11);
    --shadow: 0 26px 70px rgba(8, 42, 101, .16);
    --shadow-soft: 0 18px 46px rgba(8, 42, 101, .10);
    --radius: 24px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', Arial, sans-serif;
    color: var(--text);
    background: #fff;
    padding-top: 92px;
    -webkit-font-smoothing: antialiased;
}

.public-container {
    max-width: 1540px;
    padding-left: 64px;
    padding-right: 64px;
}

/* =========================================================
   NAVBAR
========================================================= */

.public-navbar {
    min-height: 92px;
    border-bottom: 1px solid rgba(8, 42, 101, .08);
    box-shadow: 0 10px 30px rgba(8, 42, 101, .045);
}

.brand-block {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--blue-950);
    text-decoration: none;
}

.brand-block:hover {
    color: var(--blue-950);
}

.brand-icon {
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
}

.brand-icon img {
    max-width: 58px;
    max-height: 58px;
}

.brand-text {
    line-height: 1.15;
    font-size: 15px;
}

.brand-text strong {
    display: block;
    font-weight: 850;
    letter-spacing: -.025em;
}

.brand-text small {
    display: block;
    margin-top: 4px;
    color: #68758c;
    font-weight: 600;
}

.navbar .nav-link {
    color: var(--blue-950);
    font-weight: 750;
    font-size: 15px;
    padding: 12px 6px;
    position: relative;
}

.navbar .nav-link:after {
    content: '';
    position: absolute;
    left: 6px;
    right: 6px;
    bottom: 6px;
    height: 3px;
    border-radius: 8px;
    background: linear-gradient(90deg, var(--blue-600), var(--blue-500));
    transform: scaleX(0);
    transition: transform .22s ease;
}

.navbar .nav-link:hover:after,
.navbar .nav-link.active:after {
    transform: scaleX(1);
}

.navbar .nav-link.active {
    color: var(--blue-600);
}

.nav-cta {
    font-weight: 800;
    padding: 12px 22px;
    box-shadow: 0 14px 30px rgba(8, 102, 216, .24);
}

/* =========================================================
   BUTTONS
========================================================= */

.btn {
    transition: all .22s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--blue-700), var(--blue-600));
    border-color: var(--blue-700);
    box-shadow: 0 14px 32px rgba(8, 102, 216, .24);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--blue-800), var(--blue-700));
    border-color: var(--blue-800);
    transform: translateY(-2px);
}

.btn-outline-primary {
    color: var(--blue-700);
    border-color: rgba(8, 102, 216, .55);
    background: rgba(255,255,255,.72);
    backdrop-filter: blur(10px);
}

.btn-outline-primary:hover {
    background: var(--blue-700);
    border-color: var(--blue-700);
    transform: translateY(-2px);
}

/* =========================================================
   HERO
========================================================= */

.hero-section {
    min-height: 620px;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 10% 18%, rgba(22, 131, 255, .12), transparent 28%),
        radial-gradient(circle at 62% 0%, rgba(8, 102, 216, .08), transparent 26%),
        linear-gradient(90deg, #f8fbff 0%, #eef7ff 48%, #ffffff 100%);
}

/* soft bottom fade, ca hero-ul să nu se rupă drept */
.hero-section::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 150px;
    z-index: 4;
    pointer-events: none;
    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,0) 0%,
            rgba(255,255,255,.76) 58%,
            #ffffff 100%
        );
}

.hero-bg {
    position: absolute;
    inset: 0 0 0 auto;
    width: 78%;
    background-size: cover;
    background-position: center right;
    z-index: 1;
    filter: saturate(1.08) contrast(1.03) brightness(.99);
    transform: scale(1.015);
}

/* fade lateral pentru imagine */
.hero-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            #f8fbff 0%,
            rgba(248,251,255,.98) 13%,
            rgba(248,251,255,.82) 28%,
            rgba(248,251,255,.48) 46%,
            rgba(248,251,255,.18) 64%,
            rgba(248,251,255,0) 82%
        ),
        linear-gradient(
            180deg,
            rgba(255,255,255,0) 58%,
            rgba(255,255,255,.74) 88%,
            #fff 100%
        );
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        radial-gradient(circle at 15% 46%, rgba(255,255,255,.92), rgba(255,255,255,0) 52%),
        linear-gradient(
            90deg,
            #f8fbff 0%,
            rgba(248,251,255,.99) 23%,
            rgba(248,251,255,.86) 39%,
            rgba(248,251,255,.48) 56%,
            rgba(248,251,255,.14) 72%,
            rgba(248,251,255,0) 90%
        );
}

.hero-content {
    position: relative;
    z-index: 5;
}

.min-vh-hero {
    min-height: 620px;
}

.hero-copy {
    padding: 52px 0 150px;
    max-width: 680px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 9px 15px;
    border: 1px solid rgba(8, 102, 216, .18);
    border-radius: 999px;
    color: var(--blue-700);
    background: rgba(255,255,255,.78);
    backdrop-filter: blur(12px);
    font-size: 13px;
    font-weight: 850;
    margin-bottom: 18px;
    box-shadow: 0 8px 22px rgba(8, 42, 101, .06);
}

.hero-copy h1 {
    font-size: clamp(46px, 5vw, 76px);
    line-height: .96;
    letter-spacing: -.07em;
    font-weight: 850;
    color: var(--blue-950);
    margin: 0 0 24px;
}

.hero-lead {
    font-size: clamp(19px, 2vw, 25px);
    line-height: 1.45;
    font-weight: 850;
    color: var(--blue-950);
    margin-bottom: 20px;
}

.hero-text {
    font-size: 18px;
    line-height: 1.75;
    color: #3d4b63;
    margin-bottom: 32px;
}

.hero-actions {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.hero-actions .btn {
    padding: 16px 28px;
    font-size: 16px;
    font-weight: 850;
}

/* =========================================================
   FEATURE CARDS
========================================================= */

.feature-cards-section {
    position: relative;
    z-index: 8;
    margin-top: -86px;
    padding-bottom: 34px;
}

.feature-cards-row > [class*="col-"] {
    display: flex;
}

.feature-card {
    width: 100%;
    min-height: 176px;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 30px;
    border: 1px solid rgba(8, 42, 101, .09);
    border-radius: 22px;
    background: rgba(255,255,255,.90);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(18px);
    transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}

.feature-card:hover {
    transform: translateY(-7px);
    box-shadow: var(--shadow);
    border-color: rgba(8, 102, 216, .20);
}

.feature-icon {
    flex: 0 0 70px;
    width: 70px;
    height: 70px;
    border-radius: 22px;
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at 30% 20%, #fff 0%, transparent 34%),
        linear-gradient(135deg, #eff8ff, #dceeff);
    box-shadow: inset 0 0 0 1px rgba(8, 102, 216, .08);
}

.feature-icon img {
    width: 42px;
    height: 42px;
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 850;
    margin: 0 0 8px;
    color: var(--blue-950);
}

.feature-card p {
    font-size: 15px;
    line-height: 1.55;
    color: var(--muted);
    margin: 0;
}

/* =========================================================
   STATS
========================================================= */

.stats-section {
    padding: 0 0 34px;
}

.stats-panel {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    gap: 24px;
    align-items: center;
    padding: 24px 38px;
    border-radius: 18px;
    background:
        linear-gradient(90deg, rgba(246,251,255,.95), rgba(234,244,255,.95));
    border: 1px solid rgba(8,42,101,.08);
    box-shadow: 0 12px 36px rgba(8,42,101,.06);
}

.stat-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
}

.stat-item img {
    width: 50px;
    height: 50px;
}

.stat-item strong {
    display: block;
    font-size: 31px;
    line-height: 1;
    color: var(--blue-700);
    font-weight: 850;
    letter-spacing: -.045em;
}

.stat-item span {
    display: block;
    margin-top: 8px;
    font-size: 15px;
    color: var(--blue-950);
    font-weight: 650;
}

.stat-separator {
    width: 1px;
    height: 58px;
    background: rgba(8,42,101,.16);
}

/* =========================================================
   AUDIENCE
========================================================= */

.audience-section {
    padding: 0 0 26px;
}

.audience-section .row > [class*="col-"] {
    display: flex;
}

.audience-card {
    width: 100%;
    min-height: 196px;
    display: grid;
    grid-template-columns: 45% 55%;
    align-items: stretch;
    text-decoration: none;
    color: var(--text);
    border: 1px solid rgba(8, 42, 101, .10);
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 10px 28px rgba(8,42,101,.055);
    transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}

.audience-card:hover {
    transform: translateY(-5px);
    border-color: rgba(8,102,216,.28);
    box-shadow: var(--shadow-soft);
    color: var(--text);
}

.audience-img {
    min-height: 196px;
    background-size: cover;
    background-position: center;
}

.patient-img {
    background-image:
        linear-gradient(rgba(245,250,255,.10), rgba(245,250,255,.10)),
        url('https://images.unsplash.com/photo-1584515933487-779824d29309?auto=format&fit=crop&w=800&q=80');
}

.doctor-img {
    background-image:
        linear-gradient(rgba(245,250,255,.08), rgba(245,250,255,.08)),
        url('https://images.unsplash.com/photo-1624727828489-a1e03b79bba8?auto=format&fit=crop&w=800&q=80');
}

.research-img {
    background-image:
        linear-gradient(rgba(245,250,255,.08), rgba(245,250,255,.08)),
        url('https://images.unsplash.com/photo-1532187863486-abf9dbad1b69?auto=format&fit=crop&w=800&q=80');
}

.audience-body {
    padding: 28px;
}

.audience-body h3 {
    font-size: 20px;
    font-weight: 850;
    margin-bottom: 10px;
    color: var(--blue-950);
}

.audience-body p {
    font-size: 15px;
    line-height: 1.65;
    color: var(--muted);
    margin-bottom: 14px;
}

.audience-body span {
    color: var(--blue-600);
    font-weight: 850;
}

/* =========================================================
   CTA
========================================================= */

.cta-strip {
    background: #fff;
    padding: 8px 0 30px;
}

.cta-inner {
    display: flex;
    align-items: center;
    gap: 26px;
    color: #fff;
    padding: 30px 42px;
    border-radius: 22px;
    background:
        radial-gradient(circle at 10% 20%, rgba(255,255,255,.18), transparent 28%),
        linear-gradient(90deg, var(--blue-800), var(--blue-700));
    box-shadow: 0 24px 64px rgba(8, 42, 101, .20);
}

.cta-icon {
    width: 68px;
    height: 68px;
    flex: 0 0 68px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255,255,255,.15);
    border: 1px solid rgba(255,255,255,.22);
    font-size: 28px;
}

.cta-copy {
    flex: 1;
}

.cta-copy h2 {
    font-size: 30px;
    font-weight: 850;
    margin: 0 0 5px;
    letter-spacing: -.04em;
}

.cta-copy p {
    margin: 0;
    opacity: .88;
    font-size: 16px;
}

.cta-inner .btn {
    color: var(--blue-700);
    font-weight: 850;
    padding: 16px 34px;
}

/* =========================================================
   SIMPLE PAGES
========================================================= */

.simple-page-header {
    padding: 90px 0;
    background: linear-gradient(135deg, #f6fbff, #ffffff);
}

.simple-page-header h1 {
    font-size: 54px;
    font-weight: 850;
    letter-spacing: -.06em;
    color: var(--blue-950);
}

.simple-page-header p {
    font-size: 19px;
    color: var(--muted);
}

/* =========================================================
   PUBLIC FOOTER - FINAL CLEAN COMPACT
========================================================= */

.public-footer {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 15% 0%, rgba(22, 131, 255, .18), transparent 32%),
        linear-gradient(135deg, var(--blue-950) 0%, #08275c 58%, #051326 100%);
    color: #fff;
    padding: 32px 0 18px;
    border-top: 1px solid rgba(255,255,255,.08);
}

.public-footer::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    width: min(720px, 80vw);
    height: 1px;
    transform: translateX(-50%);
    background: linear-gradient(90deg, transparent, rgba(22,131,255,.95), transparent);
    box-shadow: 0 0 26px rgba(22,131,255,.55);
    pointer-events: none;
}

.public-footer .public-container {
    position: relative;
    z-index: 2;
}

.footer-inner {
    display: grid;
    grid-template-columns: minmax(280px, 1fr) auto;
    gap: 28px;
    align-items: center;
}

.footer-brand-area {
    min-width: 0;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    color: #fff;
    text-decoration: none;
}

.footer-brand:hover {
    color: #fff;
}

.footer-logo-mark {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    display: grid;
    place-items: center;
    border-radius: 17px;
    background: rgba(255,255,255,.10);
    border: 1px solid rgba(255,255,255,.14);
}

.footer-logo-mark img {
    width: 28px;
    height: 28px;
}

.footer-brand-text strong {
    display: block;
    color: #fff;
    font-size: 18px;
    line-height: 1.05;
    font-weight: 850;
    letter-spacing: -.035em;
}

.footer-brand-text small {
    display: block;
    color: rgba(255,255,255,.62);
    font-size: 13px;
    margin-top: 4px;
    font-weight: 650;
}

.footer-brand-area p {
    color: rgba(255,255,255,.62);
    font-size: 13.5px;
    line-height: 1.55;
    margin: 10px 0 0 61px;
    max-width: 520px;
}

.footer-nav {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.footer-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,.70);
    text-decoration: none;
    font-size: 14px;
    font-weight: 750;
    padding: 8px 10px;
    border-radius: 999px;
    margin: 0;
    transition: all .18s ease;
}

.footer-nav a:hover {
    color: #fff;
    background: rgba(255,255,255,.09);
}

.footer-line {
    height: 1px;
    margin: 22px 0 14px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.14), transparent);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
    margin: 0;
    padding: 0;
    border: 0;
    color: rgba(255,255,255,.48);
    font-size: 12.5px;
    line-height: 1.5;
}

.footer-bottom span:last-child {
    text-align: right;
}

/* =========================================================
   ANIMATION
========================================================= */

.reveal-up {
    animation: revealUp .65s ease both;
}

.delay-1 {
    animation-delay: .08s;
}

.delay-2 {
    animation-delay: .16s;
}

.delay-3 {
    animation-delay: .24s;
}

.delay-4 {
    animation-delay: .32s;
}

@keyframes revealUp {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1199px) {
    .public-container {
        padding-left: 32px;
        padding-right: 32px;
    }

    .brand-text {
        font-size: 13px;
    }

    .hero-bg {
        width: 88%;
    }

    .stats-panel {
        grid-template-columns: 1fr 1fr;
    }

    .stat-separator {
        display: none;
    }

    .stat-item {
        justify-content: flex-start;
    }
}

@media (max-width: 991px) {
    body {
        padding-top: 84px;
    }

    .public-navbar {
        min-height: 84px;
    }

    .brand-icon {
        width: 52px;
        height: 52px;
    }

    .brand-icon img {
        max-width: 48px;
    }

    .hero-bg {
	    width: 100%;
	    opacity: .36;
	}
	
	.hero-bg::before {
	    background:
	        linear-gradient(90deg, rgba(248,251,255,.96), rgba(248,251,255,.86)),
	        linear-gradient(180deg, rgba(255,255,255,0) 46%, #fff 100%);
	}
	
	.hero-overlay {
	    background:
	        linear-gradient(90deg, rgba(248,251,255,.98), rgba(248,251,255,.90)),
	        radial-gradient(circle at 20% 36%, rgba(255,255,255,.86), rgba(255,255,255,0) 56%);
	}
	
	.min-vh-hero {
	    min-height: 640px;
	}
	
	.feature-cards-section {
	    margin-top: -60px;
	}

    .feature-card {
        min-height: 160px;
    }

    .audience-card {
        grid-template-columns: 1fr;
    }

    .audience-img {
        min-height: 220px;
    }

    .cta-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .footer-contact {
        text-align: left;
    }

    .footer-brand-area p {
        margin-left: 0;
    }
    
    .footer-nav {
	    justify-content: flex-start;
	}
}

@media (max-width: 767px) {
    .public-container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .brand-text strong {
        max-width: 220px;
    }

    .hero-copy {
	    padding: 42px 0 120px;
	}

    .hero-copy h1 {
        font-size: 44px;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .feature-card {
        padding: 24px;
        align-items: flex-start;
    }

    .stats-panel {
        grid-template-columns: 1fr;
        padding: 26px;
    }

    .stat-item strong {
        font-size: 27px;
    }

    .footer-bottom {
        display: block;
    }

    .footer-bottom span {
        display: block;
    }

    .footer-bottom span:last-child {
        text-align: left;
        margin-top: 6px;
    }
}

@media (max-width: 575px) {
    .public-footer {
        padding: 28px 0 18px;
    }

    .footer-brand {
        align-items: flex-start;
    }

    .footer-logo-mark {
        width: 44px;
        height: 44px;
        flex-basis: 44px;
        border-radius: 16px;
    }

    .footer-logo-mark img {
        width: 25px;
        height: 25px;
    }

    .footer-brand-text strong {
        font-size: 17px;
    }

    .footer-nav {
        gap: 4px;
    }

    .footer-nav a {
        font-size: 13.5px;
        padding: 7px 9px;
    }
}

.public-navbar .dropdown-menu.public-dropdown {
    min-width: 320px;
    border-radius: 16px;
    padding: 10px;
    margin-top: 12px;
}

.public-navbar .dropdown-item {
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 0.94rem;
    line-height: 1.35;
    white-space: normal;
}

.public-navbar .dropdown-item:hover,
.public-navbar .dropdown-item:focus {
    background-color: rgba(13, 110, 253, 0.08);
    color: #0d6efd;
}