/* HMD-3000 page-specific styles — loads after VH-2000.css, overrides by cascade */

body {
    font-family: 'Nunito Sans', sans-serif;
    background-color: #F8FAFC;
    color: #1E293B;
}

/* ── Heading hero ── */
.heading {
    background: linear-gradient(160deg, #0D1128 0%, #1E2448 50%, #2A3572 100%);
    margin: 0;
    padding: 60px 24px 48px;
}

.heading-accent {
    width: 56px;
    height: 4px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 2px;
    margin: 0 auto 20px;
}

.heading h1 {
    font-family: 'Rubik', sans-serif;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 3px;
    font-size: 3.5rem;
    position: relative;
}

.heading-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.45);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 16px;
    position: relative;
}

/* ── Variants strip ── */
.variants-strip {
    background-color: #ffffff;
    border-bottom: 1px solid #E2E8F0;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.variants-label {
    font-family: 'Rubik', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    color: #64748B;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin: 0;
}

.variants-cards {
    display: flex;
    gap: 12px;
}

.variant-card {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    padding: 10px 24px;
    font-family: 'Rubik', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    color: #272348;
    white-space: nowrap;
}

/* ── Stats bar ── */
.stats-bar {
    background: linear-gradient(160deg, #0D1128 0%, #1E2448 50%, #2A3572 100%);
    border-bottom: none;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
    flex-wrap: wrap;
    gap: 0;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 48px;
}

.stat-top {
    display: flex;
    align-items: baseline;
    gap: 4px;
    line-height: 1;
}

.stat-number {
    font-family: 'Rubik', sans-serif;
    font-size: 3.8rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
}

.stat-unit {
    font-family: 'Rubik', sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.75);
}

.stat-label {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.45);
    text-transform: uppercase;
    letter-spacing: 1.8px;
    margin-top: 8px;
}

.stat-divider {
    width: 1px;
    height: 60px;
    background: rgba(255, 255, 255, 0.15);
    flex-shrink: 0;
}

/* ── Feature highlights ── */
.features-section {
    background-color: #F8FAFC;
    padding: 48px 0;
}

.features-inner {
    width: 92%;
    max-width: 640px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.feature-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 22px 20px;
    border: 1px solid #E2E8F0;
    border-left: 4px solid #272348;
    box-shadow: 0 2px 16px rgba(39, 35, 72, 0.07);
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 18px;
    text-align: left;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 32px rgba(39, 35, 72, 0.13);
}

.feature-icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
    background: linear-gradient(135deg, #1E2448 0%, #2A3572 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.feature-title {
    font-family: 'Rubik', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #272348;
    margin: 0;
}

.feature-desc {
    font-size: 0.85rem;
    color: #64748B;
    margin: 0;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .stat-item {
        padding: 8px 24px;
    }

    .stat-number {
        font-size: 2.8rem;
    }

    .features-inner {
        grid-template-columns: 1fr;
    }
}

/* ── Product section ── */
.product-details {
    height: auto;
    padding: 48px 0 56px;
    background-color: #F8FAFC;
}

.product-details-inner {
    gap: 24px;
    width: 92%;
    max-width: 640px;
    margin: 0 auto;
    flex-direction: column;
}

.product-img-video {
    width: 100%;
    height: auto;
}

.product-details-table {
    width: 100%;
}

/* ── Carousel ── */
.product-img {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(39, 35, 72, 0.18);
    height: 360px;
    aspect-ratio: unset;
}

/* ── Video section ── */
.video-section {
    background-color: #F8FAFC;
    padding: 0 0 56px;
}

.video-section-inner {
    width: 92%;
    max-width: 640px;
    margin: 0 auto;
}

.video-label {
    font-family: 'Rubik', sans-serif;
    font-size: 1.4rem;
    font-weight: 500;
    color: #272348;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.video-label-bar {
    display: inline-block;
    width: 4px;
    height: 26px;
    background: #272348;
    border-radius: 2px;
    flex-shrink: 0;
}

.video-wrapper {
    position: relative;
    aspect-ratio: 16 / 9;
}

.video-wrapper iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: 14px;
    box-shadow: 0 6px 28px rgba(39, 35, 72, 0.15);
}

/* ── Specs table card ── */
.product-details-table {
    border-radius: 16px;
    box-shadow: 0 6px 28px rgba(39, 35, 72, 0.10);
    border: 1px solid #E2E8F0;
    background-color: #ffffff;
    padding: 28px 32px;
}

.product-details-table .table {
    margin-bottom: 0;
}

.product-details-table thead th {
    padding-bottom: 14px;
    border-bottom: 2px solid #272348;
}

.product-details-table thead th h3 {
    font-family: 'Rubik', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    color: #64748B;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

.product-details-table thead th h2 {
    font-family: 'Rubik', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    color: #272348;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

.product-details-table tbody tr {
    transition: background-color 0.15s ease;
    border-color: #F1F5F9;
}

.product-details-table tbody tr:nth-child(even) {
    background-color: #F8FAFC;
}

.product-details-table tbody tr:hover {
    background-color: #EFF6FF;
}

.product-details-table td {
    padding: 11px 8px;
    font-size: 0.92rem;
    vertical-align: middle;
    border-color: #F1F5F9;
}

#property-data {
    font-weight: 600;
    color: #272348;
    width: 44%;
}

/* ── CTA section ── */
.cta-section {
    background: linear-gradient(160deg, #0D1128 0%, #1E2448 50%, #2A3572 100%);
    padding: 56px 24px;
}

.cta-inner {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.cta-heading {
    font-family: 'Rubik', sans-serif;
    font-weight: 500;
    color: #ffffff;
    font-size: 1.6rem;
    margin-bottom: 8px;
}

.cta-sub {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.95rem;
    margin: 0;
}

.cta-buttons {
    display: flex;
    gap: 14px;
    flex-shrink: 0;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #ffffff;
    color: #272348;
    font-family: 'Rubik', sans-serif;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 13px 22px;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.15s ease;
    white-space: nowrap;
}

.cta-btn:hover {
    background-color: #EFF6FF;
    color: #272348;
    transform: translateY(-2px);
}

.cta-btn:active {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .cta-inner {
        flex-direction: column;
        text-align: center;
    }

    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    .cta-btn {
        justify-content: center;
    }
}

/* ── Floating call button (bottom-left) ── */
.call-float-wrapper {
    position: fixed;
    bottom: 28px;
    left: 24px;
    z-index: 9999;
}

.call-float {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: #272348;
    border-radius: 50px;
    padding: 14px 20px 14px 16px;
    box-shadow: 0 4px 20px rgba(39, 35, 72, 0.45);
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.call-float:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(39, 35, 72, 0.6);
}

.call-float-label {
    color: #ffffff;
    font-family: 'Rubik', sans-serif;
    font-weight: 500;
    font-size: 0.95rem;
    white-space: nowrap;
}

@media (max-width: 991px) {
    .call-float {
        padding: 15px;
        border-radius: 50%;
    }

    .call-float-label {
        display: none;
    }
}

/* ── Floating WhatsApp ── */
.whatsapp-wrapper {
    position: fixed;
    bottom: 28px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.whatsapp-popup {
    background: #ffffff;
    color: #1E293B;
    font-family: 'Nunito Sans', sans-serif;
    font-size: 0.88rem;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 20px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    white-space: nowrap;
    animation: popup-bob 3s ease-in-out infinite;
    transform-origin: bottom right;
}

.whatsapp-popup::after {
    content: '';
    position: absolute;
    bottom: -6px;
    right: 18px;
    width: 12px;
    height: 12px;
    background: #ffffff;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
}

@keyframes popup-bob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

.whatsapp-float {
    position: relative;
    bottom: auto;
    right: auto;
    left: auto;
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: #25D366;
    border-radius: 50px;
    padding: 14px 20px 14px 16px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
    z-index: 9999;
    text-decoration: none;
    animation: wa-pulse 2.2s infinite;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.whatsapp-float:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(37, 211, 102, 0.55);
}

.whatsapp-float:active {
    transform: scale(0.96);
}

.whatsapp-label {
    color: #ffffff;
    font-family: 'Rubik', sans-serif;
    font-weight: 500;
    font-size: 0.95rem;
    white-space: nowrap;
}

@keyframes wa-pulse {
    0%   { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45), 0 0 0 0    rgba(37, 211, 102, 0.35); }
    60%  { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45), 0 0 0 12px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45), 0 0 0 0    rgba(37, 211, 102, 0); }
}

/* Mobile: icon-only circle fixed to bottom-right */
@media (max-width: 991px) {
    .whatsapp-float {
        padding: 15px;
        border-radius: 50%;
    }

    .whatsapp-label {
        display: none;
    }
}

/* ── Footer ── */
footer {
    background: linear-gradient(160deg, #0D1128 0%, #1E2448 50%, #2A3572 100%);
    border-top: 3px solid rgba(255, 255, 255, 0.12);
}

/* ── Navbar colour override ── */
.navbar {
    background: linear-gradient(90deg, #0D1128 0%, #1E2448 50%, #2A3572 100%);
    height: 120px;
    min-height: 100px;
    overflow: hidden;
    align-items: center;
    padding: 0 28px;
    position: relative;
    z-index: 1000;
}

.navbar-brand {
    width: auto;
    padding: 0;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 1001;
    overflow: hidden;
    border-radius: 8px;
}

.navbar-brand img {
    height: 120px;
    width: 120px;
    object-fit: cover;
    object-position: center;
    filter: drop-shadow(0 4px 10px rgba(220, 216, 216, 0.35));
    transform: scale(1.6);
    transform-origin: center;
}

.navbar-brand img.logo-desktop {
    display: none;
}

@media (min-width: 1024px) {
    .logo-mobile {
        display: none;
    }

    .navbar-brand img.logo-desktop {
        display: block;
        width: 400px;
        height: auto;
        object-fit: contain;
        transform: none;
        filter: drop-shadow(0 4px 10px rgba(58, 58, 58, 0.35));
    }

    .navbar-brand {
        overflow: visible;
    }
}

/* ── Floating glass nav island ── */
.floating-nav {
    position: fixed;
    top: 95px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2000;
    display: flex;
    align-items: center;
    gap: 4px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50px;
    padding: 10px clamp(24px, 3vw, 56px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: top 0.12s ease-out;
}

.floating-nav-link {
    color: #000000;
    text-decoration: none;
    font-family: 'Rubik', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 6px clamp(14px, 1.8vw, 32px);
    border-radius: 30px;
    transition: background 0.2s ease, color 0.2s ease;
    white-space: nowrap;
}

.floating-nav-link:hover {
    background: rgba(255, 255, 255, 0.18);
    color: #1077ec;
}

.floating-nav-divider {
    width: 1px;
    height: 16px;
    background: rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
}

@media (max-width: 991px) {
    .navbar-brand img {
        height: 60px;
        width: 120px;
    }

    .heading {
        padding-top: 60px;
    }
}

/* ── Responsive ── */

@media (max-width: 768px) {
    .heading {
        padding: 36px 16px 32px;
    }

    .heading h1 {
        font-size: 1.9rem;
        letter-spacing: 2px;
    }

    .heading-tag {
        font-size: 0.72rem;
        letter-spacing: 1.5px;
    }

    .product-details-table td {
        font-size: 0.85rem;
        word-break: break-word;
    }

    #property-data {
        width: 42%;
    }
}

/* ── YouTube thumbnail facade ── */
.yt-facade {
    cursor: pointer;
}

.yt-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 14px;
    display: block;
}

.yt-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: none;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5));
}

.yt-play:hover {
    transform: translate(-50%, -50%) scale(1.12);
}

/* ── Desktop layout (1024px+) ── */
@media (min-width: 1024px) {

    .navbar {
        height: 96px;
        min-height: 96px;
    }

    .navbar-brand {
        overflow: visible;
    }

    .heading {
        padding: 80px 48px 64px;
    }

    .heading h1 {
        font-size: 4.5rem;
    }

    /* Stats: full row, more breathing room */
    .stat-item {
        padding: 8px 64px;
    }

    /* Product: side-by-side */
    .product-details {
        padding: 72px 0 80px;
    }

    .product-details-inner {
        flex-direction: row;
        align-items: flex-start;
        gap: 40px;
        max-width: 1280px;
        width: 90%;
    }

    .product-img-video {
        width: 58%;
        flex-shrink: 0;
    }

    .product-details-table {
        width: 42%;
        flex-shrink: 0;
        position: sticky;
        top: 120px;
    }

    .product-img {
        height: 620px;
    }

    /* Feature cards: 3 columns */
    .features-section {
        padding: 72px 0;
    }

    .features-inner {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
        max-width: 1100px;
        width: 88%;
    }

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

    /* Video: wider */
    .video-section-inner {
        max-width: 900px;
        width: 80%;
    }

    /* CTA: wider */
    .cta-inner {
        max-width: 1100px;
        width: 88%;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        text-align: left;
    }

    .cta-text {
        text-align: left;
    }

    /* Footer: wider */
    .contact-details,
    .address-head {
        max-width: 1100px;
        width: 88%;
        margin-left: auto;
        margin-right: auto;
    }
}
