﻿:root {
    --primary-navy: #051025;
    --primary-navy-light: #10284a;
    --primary-blue: #0d4d8c;
    --bright-blue: #1e88e5;
    --accent-cyan: #00d9ff;
    --accent-teal: #1de9b6;
    --text-primary: #122b4a;
    --text-secondary: #536884;
    --white: #ffffff;
    --line: #d7e5f7;
    --card-bg: rgba(255, 255, 255, 0.94);
    --success: #25d366;
    --shadow-soft: 0 14px 34px rgba(7, 27, 56, 0.1);
    --shadow-deep: 0 18px 40px rgba(7, 27, 56, 0.14);
    --ease-premium: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--text-primary);
    background:
        radial-gradient(900px 380px at -8% -14%, rgba(0, 217, 255, 0.14) 0%, rgba(0, 217, 255, 0) 60%),
        radial-gradient(900px 420px at 108% -16%, rgba(30, 136, 229, 0.16) 0%, rgba(30, 136, 229, 0) 60%),
        linear-gradient(180deg, #edf5ff 0%, #f7fbff 42%, #f4f8ff 100%);
    min-height: 100vh;
}

.detail-navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 0.58rem 0;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px) saturate(160%);
    -webkit-backdrop-filter: blur(16px) saturate(160%);
    border-bottom: 1px solid rgba(14, 40, 74, 0.12);
    box-shadow: 0 10px 26px rgba(7, 27, 56, 0.08);
    animation: slideDown 0.6s var(--ease-premium) both;
}

.detail-nav-container {
    max-width: 980px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
}

.detail-logo-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.detail-logo-img {
    height: 62px;
    width: auto;
    display: block;
    filter: drop-shadow(0 0 8px rgba(13, 77, 140, 0.18));
    transition: transform 0.34s var(--ease-premium), filter 0.34s var(--ease-premium);
}

.detail-logo-link:hover .detail-logo-img {
    transform: translateY(-1px) scale(1.02);
    filter: drop-shadow(0 0 12px rgba(13, 77, 140, 0.28));
}

.detail-nav-cta {
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: var(--white);
    background: linear-gradient(135deg, var(--primary-blue), var(--bright-blue));
    border-radius: 999px;
    min-height: 42px;
    padding: 0.56rem 0.98rem;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-weight: 700;
    font-size: 0.85rem;
    box-shadow: 0 8px 20px rgba(13, 77, 140, 0.22);
    transition: transform 0.26s var(--ease-premium), box-shadow 0.26s var(--ease-premium);
}

.detail-nav-cta::before {
    content: "";
    position: absolute;
    top: 0;
    left: -130%;
    width: 70%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,0.34), rgba(255,255,255,0));
    transform: skewX(-22deg);
    transition: left 0.55s ease;
}

.detail-nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(13, 77, 140, 0.28);
}

.detail-nav-cta:hover::before { left: 150%; }

.qr-page {
    max-width: 790px;
    margin: 0 auto;
    padding: 6.2rem 1rem 6rem;
}

.product-hero {
    background: var(--card-bg);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 1rem;
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(14px);
    animation: fadeUp 0.68s var(--ease-premium) 0.1s forwards;
    transition: transform 0.34s var(--ease-premium), box-shadow 0.34s var(--ease-premium), border-color 0.34s var(--ease-premium);
}

.product-hero::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-cyan), var(--bright-blue), var(--accent-teal));
}

.product-hero::after {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    right: -80px;
    top: -80px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 217, 255, 0.16) 0%, rgba(0, 217, 255, 0) 68%);
    pointer-events: none;
}

.product-image {
    width: 100%;
    border-radius: 14px;
    max-height: 320px;
    object-fit: contain;
    background: linear-gradient(180deg, #fcfdff, #f3f8ff);
    border: 1px solid #e4edfb;
}

.product-name {
    font-size: 1.68rem;
    line-height: 1.22;
    margin: 0.95rem 0 0.35rem;
    font-weight: 800;
    color: var(--primary-navy);
    letter-spacing: -0.2px;
}

.product-tagline {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.96rem;
    line-height: 1.55;
}

.detail-section {
    margin-top: 0.92rem;
    background: var(--card-bg);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 1rem;
    box-shadow: 0 8px 18px rgba(13, 77, 140, 0.06);
    position: relative;
    opacity: 0;
    transform: translateY(14px);
    animation: fadeUp 0.68s var(--ease-premium) 0.2s forwards;
    transition: transform 0.34s var(--ease-premium), box-shadow 0.34s var(--ease-premium), border-color 0.34s var(--ease-premium);
}

.detail-section::before {
    content: "";
    position: absolute;
    left: 0;
    top: 14px;
    bottom: 14px;
    width: 3px;
    border-radius: 3px;
    background: linear-gradient(180deg, var(--accent-cyan), var(--bright-blue));
}

.detail-section:nth-of-type(3) { animation-delay: 0.3s; }
.detail-section:nth-of-type(4) { animation-delay: 0.4s; }

.detail-title {
    margin: 0 0 0.52rem;
    font-size: 1rem;
    font-weight: 800;
    color: var(--primary-navy);
    padding-left: 0.55rem;
}

.detail-text {
    margin: 0;
    color: var(--text-primary);
    line-height: 1.58;
    font-size: 0.95rem;
    padding-left: 0.55rem;
}

.detail-list {
    margin: 0;
    padding: 0 0 0 0.55rem;
    list-style: none;
    display: grid;
    gap: 0.68rem;
}

.detail-list li {
    display: flex;
    gap: 0.6rem;
    align-items: flex-start;
    color: var(--text-primary);
    line-height: 1.5;
    font-size: 0.95rem;
}

.bullet {
    width: 1.35rem;
    height: 1.35rem;
    border-radius: 999px;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.1rem;
    color: var(--white);
    background: linear-gradient(135deg, var(--primary-blue), var(--bright-blue));
    font-size: 0.82rem;
    box-shadow: 0 6px 14px rgba(13, 77, 140, 0.24);
}

.action-bar {
    margin-top: 1rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.7rem;
    opacity: 0;
    transform: translateY(14px);
    animation: fadeUp 0.68s var(--ease-premium) 0.5s forwards;
}

.action-btn {
    min-height: 50px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem;
    transition: transform 0.24s var(--ease-premium), box-shadow 0.24s var(--ease-premium);
}

.action-btn.enquire {
    background: linear-gradient(135deg, var(--primary-blue), var(--bright-blue));
    color: var(--white);
    box-shadow: 0 10px 24px rgba(13, 77, 140, 0.26);
}

.action-btn.enquire:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 30px rgba(13, 77, 140, 0.34);
}

.note {
    margin-top: 0.95rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid #d8e6fb;
    border-radius: 12px;
    padding: 0.76rem 0.86rem;
    opacity: 0;
    transform: translateY(14px);
    animation: fadeUp 0.68s var(--ease-premium) 0.58s forwards;
}

.floating-whatsapp {
    position: fixed;
    right: 0.75rem;
    bottom: 1.25rem;
    width: 58px;
    height: 58px;
    border-radius: 999px;
    background: var(--success);
    color: var(--white);
    text-decoration: none;
    font-size: 1.6rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 24px rgba(37, 211, 102, 0.35);
    transition: transform 0.25s var(--ease-premium), box-shadow 0.25s var(--ease-premium);
    animation: floatBob 3.2s ease-in-out infinite;
}

.floating-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 28px rgba(37, 211, 102, 0.45);
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes floatBob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

@media (hover: hover) {
    .product-hero:hover {
        transform: translateY(-2px);
        border-color: #c9defb;
        box-shadow: var(--shadow-deep);
    }

    .detail-section:hover {
        transform: translateY(-2px);
        border-color: #c9defb;
        box-shadow: 0 14px 26px rgba(13, 77, 140, 0.1);
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation: none !important;
        transition: none !important;
    }

    .product-hero,
    .detail-section,
    .action-bar,
    .note,
    .detail-navbar {
        opacity: 1 !important;
        transform: none !important;
    }
}

@media (max-width: 420px) {
    .product-name { font-size: 1.42rem; }
    .qr-page { padding-bottom: 6.2rem; }
    .detail-logo-img { height: 52px; }
    .detail-nav-cta {
        font-size: 0.78rem;
        padding: 0.5rem 0.8rem;
        min-height: 40px;
    }
}
