/* ===================================
    OneCareLog - Family Health Tracking App
    Website v2 - Custom Design System
====================================== */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&display=swap');

:root {
    --alt-font: 'Manrope', sans-serif;
    --primary-font: 'DM Sans', sans-serif;
    --base-color: #0D9488;

    /* Brand Colors */
    --ocl-deep: #0C1D2E;
    --ocl-primary: #0F4C75;
    --ocl-primary-light: #1B6FA0;
    --ocl-teal: #0D9488;
    --ocl-teal-light: #14B8A6;
    --ocl-teal-glow: rgba(13,148,136,0.12);
    --ocl-coral: #F43F5E;
    --ocl-coral-light: #FB7185;
    --ocl-warm-surface: #FFF5F5;
    --ocl-text: #334155;
    --ocl-text-light: #64748B;
    --ocl-border: #E2E8F0;
    --ocl-surface: #F1F5F9;

    --dark-gray: #0F4C75;
    --medium-gray: #64748B;
}

/* ---- Base ---- */
body {
    font-family: var(--primary-font);
    font-size: 17px;
    line-height: 28px;
    color: var(--ocl-text);
    overflow-x: hidden;
}
.h1,.h2,.h3,.h4,.h5,.h6,h1,h2,h3,h4,h5,h6 {
    font-family: var(--alt-font);
    color: var(--ocl-primary);
}
a { color: var(--ocl-teal); text-decoration: none; }
a:hover { color: var(--ocl-primary); }

/* ---- Header ---- */
header .navbar > .container-fluid { align-items: center; }
header .header-icon { display: flex; align-items: center; height: 100%; }
header .navbar-brand img { max-height: 44px; }
.ocl-logo-text {
    font-family: var(--alt-font);
    font-weight: 800;
    font-size: 22px;
    margin-left: 8px;
    color: #1E3B55;
}
.ocl-logo-text .log { color: #3D1700; }
.navbar .navbar-nav .nav-link {
    font-family: var(--alt-font);
    font-weight: 600;
    font-size: 15px;
    color: var(--ocl-primary);
}
.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active { color: var(--ocl-teal) !important; }

/* ---- Buttons ---- */
.btn-ocl {
    font-family: var(--alt-font);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.3px;
    padding: 13px 30px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all 0.35s ease;
}
.btn-ocl-teal {
    background: var(--ocl-teal);
    color: #fff;
}
.btn-ocl-teal:hover {
    background: var(--ocl-teal-light);
    color: #fff;
    box-shadow: 0 12px 28px rgba(13,148,136,0.3);
    transform: translateY(-2px);
}
.btn-ocl-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.3);
}
.btn-ocl-outline:hover {
    background: #fff;
    color: var(--ocl-primary);
    border-color: #fff;
    transform: translateY(-2px);
}
.btn-ocl-dark {
    background: var(--ocl-primary);
    color: #fff;
}
.btn-ocl-dark:hover {
    background: var(--ocl-primary-light);
    color: #fff;
    transform: translateY(-2px);
}

/* ---- Watch Demo Button (Hero) ---- */
.btn-ocl-watch {
    background: #fff;
    color: var(--ocl-primary);
    text-decoration: none;
    padding: 10px 24px;
    border-radius: 50px;
    font-family: var(--alt-font);
    transition: all 0.3s;
    cursor: pointer;
}
.btn-ocl-watch:hover {
    background: var(--ocl-teal);
    color: #fff;
    box-shadow: 0 8px 20px rgba(13,148,136,0.3);
    transform: translateY(-2px);
}
.btn-ocl-watch .play-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.btn-ocl-watch .play-circle i {
    font-size: 14px;
    color: var(--ocl-teal);
    transition: color 0.3s;
}
.btn-ocl-watch:hover .play-circle i {
    color: #fff;
}

/* ---- Explainer Video ---- */
.ocl-video-wrap {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(15,76,117,0.15);
}
.ocl-video-thumbnail {
    position: relative;
    padding-bottom: 56.25%;
    background: #0a0a0a;
    border-radius: 16px;
    overflow: hidden;
}
.ocl-video-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.ocl-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}
.ocl-play-circle {
    width: 72px;
    height: 72px;
    background: rgba(255,255,255,0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
    transition: transform 0.3s;
}
.ocl-video-thumbnail:hover .ocl-play-circle { transform: scale(1.1); }
.ocl-play-circle i {
    font-size: 24px;
    color: var(--ocl-teal);
    margin-left: 4px;
}
.ocl-play-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    animation: ocl-pulse 2s ease-out infinite;
}
@keyframes ocl-pulse {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
    100% { transform: translate(-50%, -50%) scale(1.8); opacity: 0; }
}
.ocl-video-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--ocl-teal);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 20px;
    z-index: 2;
}
.ocl-video-thumbnail::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.3);
    pointer-events: none;
}

/* ---- 3D Phone Slider ---- */
.ocl-phone-slider {
    padding: 20px 0 40px;
}
.ocl-phone-frame {
    background: #1a1a2e;
    border-radius: 28px;
    padding: 10px 10px 0;
    border: 3px solid rgba(255,255,255,0.08);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    overflow: hidden;
    transition: transform 0.4s, box-shadow 0.4s;
}
.swiper-slide-active .ocl-phone-frame {
    border-color: var(--ocl-teal);
    box-shadow: 0 30px 70px rgba(13,148,136,0.25);
    transform: scale(1.02);
}
.ocl-phone-frame img {
    width: 100%;
    border-radius: 18px 18px 0 0;
    display: block;
}
.ocl-phone-label {
    text-align: center;
    color: rgba(255,255,255,0.7);
    font-family: var(--alt-font);
    font-weight: 600;
    font-size: 13px;
    padding: 10px 0;
    letter-spacing: 0.5px;
}
.swiper-slide-active .ocl-phone-label {
    color: var(--ocl-teal-light);
}

/* ---- Section Eyebrow ---- */
.ocl-eyebrow {
    font-family: var(--alt-font);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--ocl-teal);
    display: inline-block;
    margin-bottom: 12px;
}
.ocl-eyebrow-pill {
    background: var(--ocl-teal-glow);
    padding: 6px 18px;
    border-radius: 30px;
    border: 1px solid rgba(13,148,136,0.15);
}

/* ---- HERO ---- */
.ocl-hero {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(160deg, var(--ocl-deep) 0%, var(--ocl-primary) 50%, #0B3D5B 100%);
    display: flex;
    align-items: center;
    overflow: hidden;
}
.ocl-hero-glow {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 50% 50% at 70% 60%, rgba(13,148,136,0.15) 0%, transparent 70%),
        radial-gradient(ellipse 40% 40% at 20% 30%, rgba(244,63,94,0.06) 0%, transparent 60%);
    z-index: 1;
}
.ocl-hero h1 {
    color: #fff;
    font-family: var(--alt-font);
    line-height: 1.15;
    letter-spacing: -1px;
}
.ocl-hero h1 .highlight {
    background: linear-gradient(90deg, var(--ocl-teal-light), #5EEAD4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.ocl-hero p { color: rgba(255,255,255,0.65); }
.ocl-hero-phone {
    max-width: 280px;
    border-radius: 30px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.4);
    border: 6px solid rgba(255,255,255,0.1);
}
/* ---- Hero Device Mockup ---- */
.ocl-device-mockup {
    position: relative;
    display: inline-block;
    animation: ocl-float 4s ease-in-out infinite;
}
@keyframes ocl-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}
.ocl-device-frame {
    width: 260px;
    background: #111;
    border-radius: 36px;
    padding: 12px;
    position: relative;
    box-shadow:
        0 30px 80px rgba(0,0,0,0.5),
        0 0 0 1px rgba(255,255,255,0.08),
        inset 0 0 0 1px rgba(255,255,255,0.05);
    margin: 0 auto;
}
.ocl-device-notch {
    width: 100px;
    height: 22px;
    background: #111;
    border-radius: 0 0 16px 16px;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}
.ocl-device-screen {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    aspect-ratio: 9/19.5;
    background: #000;
}
.ocl-screen-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    opacity: 0;
    transition: opacity 0.8s ease;
}
.ocl-screen-slide.active {
    opacity: 1;
}
.ocl-device-indicator {
    width: 100px;
    height: 4px;
    background: rgba(255,255,255,0.25);
    border-radius: 4px;
    margin: 8px auto 0;
}

/* Floating badges */
.ocl-float-badge {
    position: absolute;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: 30px;
    font-family: var(--alt-font);
    font-size: 12px;
    font-weight: 700;
    color: var(--ocl-primary);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
}
.ocl-float-badge i { color: var(--ocl-teal); font-size: 14px; }
.ocl-float-1 {
    top: 20%;
    left: -30px;
    animation: ocl-badge-float 3s ease-in-out infinite 0.5s;
}
.ocl-float-2 {
    bottom: 25%;
    right: -25px;
    animation: ocl-badge-float 3s ease-in-out infinite 1.5s;
}
@keyframes ocl-badge-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.ocl-store-badge {
    height: 42px;
    transition: transform 0.3s, box-shadow 0.3s;
    border-radius: 6px;
}
.ocl-store-badge:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}
/* Store icon-only (hidden on desktop) */
.ocl-store-icon {
    display: none;
}
.ocl-hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}
@media (max-width: 991px) {
    .ocl-store-full { display: none !important; }
    .ocl-store-icon {
        display: flex;
        width: 48px;
        height: 48px;
        border-radius: 50%;
        border: 2px solid rgba(255,255,255,0.3);
        align-items: center;
        justify-content: center;
        color: #fff;
        font-size: 22px;
        transition: all 0.3s;
    }
    .ocl-store-link:hover .ocl-store-icon {
        border-color: #fff;
        background: rgba(255,255,255,0.1);
    }
    .ocl-hero-ctas {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
    .ocl-hero-ctas .ocl-store-row {
        display: flex;
        gap: 16px;
        justify-content: center;
    }
    .ocl-hero-ctas .ocl-demo-row {
        display: flex;
        justify-content: center;
    }
}

/* ---- Trust Bar ---- */
.ocl-trust-bar {
    background: #fff;
    border-bottom: 1px solid var(--ocl-border);
    position: relative;
    z-index: 5;
}
.ocl-trust-item {
    text-align: center;
    padding: 30px 15px;
    position: relative;
}
.ocl-trust-item + .ocl-trust-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 25%;
    height: 50%;
    width: 1px;
    background: var(--ocl-border);
}
.ocl-trust-icon {
    font-size: 28px;
    color: var(--ocl-teal);
    margin-bottom: 8px;
}
.ocl-trust-val {
    font-family: var(--alt-font);
    font-size: 24px;
    font-weight: 800;
    color: var(--ocl-primary);
    line-height: 1;
    margin-bottom: 4px;
}
.ocl-trust-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--ocl-text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ---- Feature Zigzag ---- */
.ocl-feature-row {
    padding: 50px 0;
}
.ocl-feature-row + .ocl-feature-row {
    border-top: 1px solid var(--ocl-border);
}
.ocl-feature-row .ocl-feat-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--ocl-teal-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}
.ocl-feature-row .ocl-feat-icon i {
    font-size: 24px;
    color: var(--ocl-teal);
}
.ocl-feature-row h3 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 12px;
}
.ocl-feature-row p {
    font-size: 16px;
    color: var(--ocl-text-light);
    line-height: 28px;
}
.ocl-feature-img {
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(15,76,117,0.12);
    max-width: 260px;
    border: 4px solid var(--ocl-border);
}

/* ---- How It Works ---- */
.ocl-step {
    text-align: center;
    position: relative;
    padding: 0 20px;
}
.ocl-step-num {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--ocl-teal);
    color: #fff;
    font-family: var(--alt-font);
    font-weight: 800;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}
.ocl-step h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}
.ocl-step p {
    font-size: 15px;
    color: var(--ocl-text-light);
    line-height: 26px;
}
.ocl-step-connector {
    position: absolute;
    top: 25px;
    left: 60%;
    width: 80%;
    height: 2px;
    background: linear-gradient(90deg, var(--ocl-teal), transparent);
    z-index: 0;
}

/* ---- Screenshot Swiper ---- */
.ocl-screenshot-card {
    background: var(--ocl-deep);
    border-radius: 24px;
    padding: 24px 24px 0;
    text-align: center;
    overflow: hidden;
}
.ocl-screenshot-card img {
    border-radius: 16px 16px 0 0;
    width: 100%;
    max-width: 220px;
    margin: 0 auto;
    display: block;
}
.ocl-screenshot-card h4 {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
    margin-top: 16px;
}
.ocl-screenshot-card p {
    color: rgba(255,255,255,0.5);
    font-size: 13px;
    margin-bottom: 16px;
}

/* ---- Use Case ---- */
.ocl-usecase {
    background: linear-gradient(135deg, var(--ocl-deep) 0%, var(--ocl-primary) 100%);
    border-radius: 20px;
    padding: 50px;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.ocl-usecase::before {
    content: '';
    position: absolute;
    right: -80px;
    top: -80px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(13,148,136,0.1);
}
.ocl-usecase h3 { color: #fff; }
.ocl-usecase-step {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 16px;
}
.ocl-usecase-step .dot {
    width: 8px;
    height: 8px;
    min-width: 8px;
    border-radius: 50%;
    background: var(--ocl-teal-light);
    margin-top: 8px;
}
.ocl-usecase-step span {
    color: rgba(255,255,255,0.75);
    font-size: 15px;
    line-height: 24px;
}

/* ---- Download ---- */
.ocl-download-card {
    background: #fff;
    border: 1px solid var(--ocl-border);
    border-radius: 16px;
    padding: 36px;
    text-align: center;
    transition: all 0.3s;
}
.ocl-download-card:hover {
    border-color: var(--ocl-teal);
    box-shadow: 0 15px 40px rgba(15,76,117,0.08);
}
.ocl-download-card .qr-wrap {
    width: 140px;
    height: 140px;
    margin: 0 auto 16px;
    position: relative;
}
.ocl-download-card .qr-wrap img {
    width: 100%;
    border-radius: 10px;
}
.ocl-download-card .qr-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 36px;
    height: 36px;
    background: #fff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.ocl-download-card .qr-icon i { font-size: 18px; color: var(--ocl-primary); }

/* ---- FAQ ---- */
.ocl-faq .accordion-item {
    background: #fff;
    border: 1px solid var(--ocl-border);
    border-radius: 10px !important;
    margin-bottom: 10px;
    overflow: hidden;
}
.ocl-faq .accordion-item:hover { border-color: var(--ocl-teal); }
.ocl-faq .accordion-button {
    font-family: var(--alt-font);
    font-weight: 600;
    font-size: 16px;
    color: var(--ocl-primary);
    padding: 20px 24px;
    background: #fff;
    box-shadow: none !important;
}
.ocl-faq .accordion-button:not(.collapsed) { color: var(--ocl-teal); background: #fff; }
.ocl-faq .accordion-button::after {
    background-image: none;
    content: '\2b';
    font-size: 18px;
    font-weight: 600;
    color: var(--ocl-text-light);
    width: auto; height: auto;
}
.ocl-faq .accordion-button:not(.collapsed)::after {
    content: '\2212';
    color: var(--ocl-teal);
    transform: none;
}
.ocl-faq .accordion-body {
    padding: 0 24px 20px;
    font-size: 15px;
    color: var(--ocl-text-light);
    line-height: 27px;
}

/* ---- CTA ---- */
.ocl-cta {
    background: linear-gradient(145deg, var(--ocl-deep) 0%, var(--ocl-primary) 100%);
    position: relative;
    overflow: hidden;
}
.ocl-cta::before {
    content: '';
    position: absolute;
    top: -150px;
    right: -100px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(13,148,136,0.12) 0%, transparent 70%);
}

/* ---- Footer ---- */
.ocl-footer {
    background: var(--ocl-deep);
    color: rgba(255,255,255,0.55);
}
.ocl-footer h4 {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
}
.ocl-footer a {
    color: rgba(255,255,255,0.55);
    font-size: 15px;
    transition: color 0.3s;
}
.ocl-footer a:hover { color: var(--ocl-teal-light); }
.ocl-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
}

/* ---- Notification ---- */
.ocl-notification {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 10000;
    padding: 16px 24px;
    border-radius: 10px;
    max-width: 400px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: ocl-notify-in 0.35s ease;
}
.ocl-notification-success { background: #059669; color: #fff; }
.ocl-notification-error { background: #DC2626; color: #fff; }
@keyframes ocl-notify-in {
    from { transform: translateX(110%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* ---- Responsive ---- */
@media (max-width: 991px) {
    .ocl-hero { min-height: auto; padding: 130px 0 80px; text-align: center; }
    .ocl-hero h1 { margin-bottom: 20px !important; }
    .ocl-hero p { margin-bottom: 25px !important; }
    .ocl-device-frame { width: 220px; }
    .ocl-float-badge { display: none; }
    .ocl-hero .d-flex.gap-3 { justify-content: center; }
    .ocl-step-connector { display: none; }
    .ocl-feature-row { text-align: center; }
    .ocl-feature-row .ocl-feat-icon { margin: 0 auto 18px; }
    .ocl-feature-img { margin: 20px auto 0; }
    .ocl-usecase { padding: 30px 24px; }
    .ocl-trust-item + .ocl-trust-item::before { display: none; }
    .ocl-footer { text-align: center; }
}
@media (max-width: 767px) {
    .ocl-hero { padding: 110px 0 50px; }
    .ocl-hero h1 { font-size: 32px !important; }
    .ocl-device-frame { width: 180px; border-radius: 28px; padding: 8px; }
    .ocl-usecase { padding: 24px 18px; }
    .ocl-download-card { padding: 24px; }
}
