/* Light visual refresh of the public home page (resources/views/homeV3.blade.php) — same layout and content,
   softer and more modern details. Loaded after homeV3.css / homeMenuV3.css and scoped to body.index, so no other page
   is affected. To go back to the previous look, remove the <link> to this file in homeV3.blade.php. */

body.index {
    --hr-brand: #002EFF;
    --hr-brand-light: #3d63ff;
    --hr-text: #0f172a;
    --hr-body: #475569;
    --hr-muted: #94a3b8;
    --hr-soft: #eef2ff;

    min-height: 100vh;
    background:
        radial-gradient(900px 520px at 22% 55%, rgba(61, 99, 255, 0.10), rgba(61, 99, 255, 0) 70%),
        radial-gradient(700px 420px at 85% 10%, rgba(0, 46, 255, 0.05), rgba(0, 46, 255, 0) 70%),
        #ffffff;
    background-attachment: fixed;
}
.index .right,
.index .left {
    background-color: transparent;
}

/* ---------- Desktop menu: pill links ---------- */
.index .menudesktop li {
    margin-right: 4px;
}
.index .menudesktop li a {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 999px;
    line-height: 20px;
    color: #64748b;
    transition: background-color .2s ease, color .2s ease;
}
.index .menudesktop li a:hover {
    background: #f1f5f9;
    color: var(--hr-text);
}
.index .menudesktop li.active a {
    background: var(--hr-soft);
    color: var(--hr-brand);
}
.index .menudesktop li:first-child {
    margin-left: -14px; /* keeps the first label lined up with the title */
}

/* ---------- Hero ---------- */
.index .right img.visuel_icon {
    border-radius: 24px;
    box-shadow: 0 12px 32px rgba(0, 46, 255, 0.16), 0 2px 6px rgba(15, 23, 42, 0.06);
}
.index h1 {
    color: var(--hr-text);
    letter-spacing: -0.02em;
}
.index h2 {
    color: var(--hr-body);
}

/* Store badges */
.index .link_store a {
    display: inline-block;
    border-radius: 12px;
    transition: transform .2s ease, box-shadow .2s ease;
}
.index .link_store a:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.18);
}
.index .link_store a img {
    display: block;
}

/* Donate */
.index .donate-btn {
    height: auto;
    padding: 12px 24px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--hr-brand-light), var(--hr-brand));
    box-shadow: 0 8px 20px rgba(0, 46, 255, 0.28);
    transition: transform .2s ease, box-shadow .2s ease;
}
.index .donate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(0, 46, 255, 0.34);
}

/* Footer links */
.index footer ul li a {
    color: var(--hr-muted);
    transition: color .2s ease;
}
.index footer ul li a:hover {
    color: var(--hr-brand);
}

/* ---------- Phone video: softer, deeper shadow ---------- */
.index .video-border {
    box-shadow: 0 32px 64px -16px rgba(15, 23, 42, 0.28), 0 18px 36px -18px rgba(15, 23, 42, 0.30);
}

/* ---------- Mobile menu ---------- */
.index .offcanvas-menu > label {
    border: 1px solid #dbe3ff;
    border-radius: 12px;
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
}
.index .offcanvas-menu nav {
    background: linear-gradient(180deg, var(--hr-brand-light), var(--hr-brand));
    border-radius: 0 20px 20px 0;
}
/* Shadow only while open, otherwise it shows at the edge of the screen while the menu is hidden off-screen */
.index .offcanvas-menu input[type=checkbox]:checked ~ nav {
    box-shadow: 12px 0 40px rgba(0, 46, 255, 0.25);
}

@media (prefers-reduced-motion: reduce) {
    .index .link_store a,
    .index .donate-btn {
        transition: none;
    }
    .index .link_store a:hover,
    .index .donate-btn:hover {
        transform: none;
    }
}
