/* ============================================
   MHDI Cam Ranh Landing Page — Design System
   Premium Real Estate Theme
   ============================================ */

/* === Google Fonts === */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Playfair+Display:wght@400;500;600;700&display=swap');

/* === CSS Variables — Design Tokens === */
:root {
    /* Colors — Premium Gold & Navy */
    --primary: #C9A227;
    --primary-dark: #A8841A;
    --primary-light: #E8D48B;
    --primary-glow: rgba(201, 162, 39, 0.15);

    --navy: #0A1628;
    --navy-light: #1B2D4A;
    --navy-lighter: #2A3F5F;

    --success: #10B981;
    --success-bg: rgba(16, 185, 129, 0.1);
    --warning: #F59E0B;
    --danger: #EF4444;
    --info: #3B82F6;

    --white: #FFFFFF;
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-800: #1F2937;
    --gray-900: #111827;

    /* Backgrounds */
    --bg-body: #FAFBFC;
    --bg-card: #FFFFFF;
    --bg-card-hover: #FFFDF5;
    --bg-section-alt: #F5F3EE;
    --bg-dark: #0A1628;
    --bg-dark-card: rgba(255, 255, 255, 0.05);

    /* Typography */
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;

    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 2rem;
    --text-4xl: 2.5rem;
    --text-5xl: 3.5rem;

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;

    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-xl: 20px;
    --radius-2xl: 28px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.15);
    --shadow-gold: 0 4px 20px rgba(201, 162, 39, 0.25);
    --shadow-gold-lg: 0 8px 40px rgba(201, 162, 39, 0.3);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Layout */
    --container-max: 1200px;
    --navbar-height: 72px;
}

/* === Reset & Base === */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--navbar-height);
}

body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: 1.7;
    color: var(--gray-800);
    background: var(--bg-body);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

ul,
ol {
    list-style: none;
}

/* === Container === */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

/* === Section Base === */
.section {
    padding: var(--space-4xl) 0;
}

.section-alt {
    background: var(--bg-section-alt);
}

.section-dark {
    background: var(--bg-dark);
    color: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.section-header h2 {
    font-family: var(--font-display);
    font-size: var(--text-3xl);
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--space-md);
    line-height: 1.3;
}

.section-dark .section-header h2 {
    color: var(--white);
}

.section-header .subtitle {
    font-size: var(--text-lg);
    color: var(--gray-500);
    max-width: 650px;
    margin: 0 auto;
}

.section-dark .section-header .subtitle {
    color: var(--gray-400);
}

.section-header .accent-line {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
    margin: var(--space-md) auto 0;
    border-radius: var(--radius-full);
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 22, 40, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: all var(--transition-normal);
}

.navbar.scrolled {
    background: rgba(10, 22, 40, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--navbar-height);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.nav-brand img {
    height: 40px;
    width: auto;
}

.nav-brand span {
    font-weight: 700;
    font-size: var(--text-lg);
    color: var(--white);
    letter-spacing: -0.02em;
}

.nav-brand .brand-gold {
    color: var(--primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.nav-links a {
    color: rgba(255, 255, 255, 0.75);
    font-size: var(--text-sm);
    font-weight: 500;
    transition: color var(--transition-fast);
    position: relative;
    padding: 4px 0;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width var(--transition-normal);
    border-radius: var(--radius-full);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-cta {
    background: var(--primary) !important;
    color: var(--navy) !important;
    padding: 8px 20px !important;
    border-radius: var(--radius-full) !important;
    font-weight: 600 !important;
    font-size: var(--text-sm) !important;
    transition: all var(--transition-fast) !important;
}

.nav-cta:hover {
    background: var(--primary-light) !important;
    transform: translateY(-1px);
    box-shadow: var(--shadow-gold);
}

.nav-cta::after {
    display: none !important;
}

.mobile-toggle {
    display: block;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
    background: none;
    border: none;
}

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all var(--transition-normal);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--navy);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    will-change: transform;
}

.hero-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 70%;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(10, 22, 40, 0.7) 0%,
            rgba(10, 22, 40, 0.5) 40%,
            rgba(10, 22, 40, 0.8) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 900px;
    padding: 0 var(--space-xl);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    background: rgba(201, 162, 39, 0.15);
    border: 1px solid rgba(201, 162, 39, 0.3);
    padding: 8px 24px;
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--primary-light);
    margin-bottom: var(--space-xl);
    backdrop-filter: blur(10px);
    animation: fadeInDown 0.8s ease;
}

.hero-badge .pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.hero-title {
    font-family: var(--font-display);
    font-size: var(--text-5xl);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: var(--space-lg);
    animation: fadeInUp 0.8s ease 0.2s both;
    color: var(--white);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-title .gold {
    color: var(--primary);
    display: block;
}

.hero-subtitle {
    font-size: var(--text-xl);
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--space-md);
    animation: fadeInUp 0.8s ease 0.4s both;
    font-weight: 300;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: var(--space-2xl);
    margin: var(--space-2xl) 0;
    animation: fadeInUp 0.8s ease 0.5s both;
}

.hero-stat {
    text-align: center;
}

.hero-stat .stat-value {
    font-family: var(--font-display);
    font-size: var(--text-3xl);
    font-weight: 700;
    color: var(--primary);
    display: block;
}

.hero-stat .stat-label {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.6);
    margin-top: 4px;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    margin-top: var(--space-2xl);
    animation: fadeInUp 0.8s ease 0.6s both;
}

/* Trust Badges Strip */
.trust-strip {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    background: rgba(10, 22, 40, 0.9);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(201, 162, 39, 0.2);
    padding: var(--space-md) 0;
}

.trust-badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--space-xl);
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.trust-badge .badge-icon {
    font-size: var(--text-lg);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 14px 32px;
    border-radius: var(--radius-full);
    font-family: var(--font-body);
    font-size: var(--text-base);
    font-weight: 600;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all var(--transition-normal);
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--navy);
    box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold-lg);
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
}

.btn-outline {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--white);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

.btn-outline-dark {
    background: transparent;
    border-color: var(--gray-300);
    color: var(--gray-700);
}

.btn-outline-dark:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

.btn-block {
    width: 100%;
}

.btn-sm {
    padding: 8px 20px;
    font-size: var(--text-sm);
}

.btn-lg {
    padding: 18px 40px;
    font-size: var(--text-lg);
}

/* ============================================
   USP SECTION
   ============================================ */
.usp-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.usp-card {
    background: var(--bg-card);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.usp-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-normal);
}

.usp-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-glow);
}

.usp-card:hover::before {
    transform: scaleX(1);
}

.usp-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-glow);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: var(--space-lg);
}

.usp-card h3 {
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--space-sm);
}

.usp-card p {
    color: var(--gray-500);
    font-size: var(--text-sm);
    line-height: 1.7;
}

/* ============================================
   PRODUCTS SECTION
   ============================================ */
.product-tabs-nav {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-2xl);
    background: var(--gray-100);
    padding: 6px;
    border-radius: var(--radius-full);
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.product-tab-btn {
    padding: 12px 28px;
    border: none;
    background: transparent;
    border-radius: var(--radius-full);
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--gray-600);
    cursor: pointer;
    transition: all var(--transition-normal);
    white-space: nowrap;
}

.product-tab-btn.active {
    background: var(--primary);
    color: var(--navy);
    box-shadow: var(--shadow-gold);
}

.product-tab-btn:not(.active):hover {
    color: var(--gray-900);
    background: var(--gray-200);
}

.product-pane {
    display: block;
    animation: fadeIn 0.5s ease;
}

.product-pane.active {
    display: block;
}

.featured-product {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 0;
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-100);
}

.fp-visual {
    position: relative;
    overflow: hidden;
    min-height: 450px;
}

.fp-visual img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform var(--transition-slow);
    background-color: var(--gray-50);
    /* Add background for letterboxing */
}

.fp-visual:hover img {
    transform: scale(1.03);
}

.fp-badge {
    position: absolute;
    top: var(--space-lg);
    left: var(--space-lg);
    background: var(--primary);
    color: var(--navy);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.fp-badge.coming-soon {
    background: var(--gray-700);
    color: var(--white);
}

.fp-view-toggle {
    position: absolute;
    bottom: var(--space-lg);
    left: var(--space-lg);
    display: flex;
    gap: var(--space-sm);
}

.fp-view-toggle button {
    padding: 8px 16px;
    border: none;
    background: rgba(10, 22, 40, 0.7);
    color: var(--white);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 600;
    cursor: pointer;
    backdrop-filter: blur(10px);
    transition: all var(--transition-fast);
}

.fp-view-toggle button.active {
    background: var(--primary);
    color: var(--navy);
}

.fp-info {
    padding: var(--space-2xl);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.fp-info h3 {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--space-sm);
}

.fp-info .fp-desc {
    color: var(--gray-500);
    font-size: var(--text-sm);
    margin-bottom: var(--space-xl);
}

.fp-specs {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    margin-bottom: var(--space-xl);
}

.fp-spec-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: 10px 0;
    border-bottom: 1px solid var(--gray-100);
}

.fp-spec-item:last-child {
    border-bottom: none;
}

.fp-spec-item .spec-icon {
    font-size: var(--text-lg);
    width: 28px;
    text-align: center;
}

.fp-spec-item .spec-label {
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gray-400);
    font-weight: 600;
}

.fp-spec-item .spec-value {
    font-weight: 600;
    color: var(--gray-800);
    font-size: var(--text-sm);
}

.fp-price-box {
    background: linear-gradient(135deg, var(--navy), var(--navy-light));
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-lg);
}

.fp-price-box .price-label {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.6);
}

.fp-price-box .price-value {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--primary);
}

.fp-actions {
    display: flex;
    gap: var(--space-sm);
}

/* ============================================
   MASTERPLAN SECTION
   ============================================ */

/* --- Stats Strip --- */
.mp-stats-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
    margin-bottom: var(--space-2xl);
}

.mp-stat-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-lg);
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-100);
    transition: all var(--transition-fast);
}

.mp-stat-item:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}

.mp-stat-icon {
    font-size: 1.6rem;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-glow);
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

.mp-stat-item .mp-stat-value {
    font-weight: 800;
    font-size: var(--text-lg);
    color: var(--primary-dark);
    line-height: 1.2;
}

.mp-stat-item .mp-stat-label {
    font-size: var(--text-xs);
    color: var(--gray-500);
    margin-top: 2px;
}

/* --- Masterplan Image --- */
.mp-image-container {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
    cursor: pointer;
    margin-bottom: var(--space-2xl);
}

.mp-image-container img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform var(--transition-slow);
}

.mp-image-container:hover img {
    transform: scale(1.02);
}

.mp-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 22, 40, 0.5) 0%, transparent 40%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: var(--space-xl);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.mp-image-container:hover .mp-image-overlay {
    opacity: 1;
}

.mp-zoom-hint {
    background: rgba(255, 255, 255, 0.95);
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--navy);
    box-shadow: var(--shadow-md);
}

/* --- Legend Grid --- */
.mp-legend-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.mp-legend-card {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-lg);
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-100);
    transition: all var(--transition-fast);
}

.mp-legend-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}

.mp-legend-badge {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-xs);
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: var(--shadow-gold);
}

.mp-legend-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.mp-legend-info strong {
    font-size: var(--text-sm);
    color: var(--gray-900);
}

.mp-legend-info span {
    font-size: var(--text-xs);
    color: var(--gray-500);
}

@media (max-width: 991px) {
    .mp-stats-strip {
        grid-template-columns: repeat(2, 1fr);
    }

    .mp-legend-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .mp-stats-strip {
        grid-template-columns: 1fr;
    }

    .mp-legend-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   LOCATION SECTION
   ============================================ */
/* ============================================
   LOCATION SECTION
   ============================================ */
.location-top-row {
    display: grid;
    grid-template-columns: 4fr 6fr;
    /* Asymmetrical grid: 40% List, 60% Map */
    gap: var(--space-xl);
    align-items: stretch;
    /* Stretch to equal height */
    margin-bottom: 0;
}

/* Left Column: Connectivity List */
.location-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    height: 100%;
    justify-content: center;
}

.location-list .highlight-card {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-lg);
    background: rgba(255, 255, 255, 0.8);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--radius-lg);
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-sm);
    cursor: default;
}

.location-list .highlight-card:hover {
    transform: translateX(10px);
    background: white;
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.location-list .highlight-icon {
    font-size: 2rem;
    background: var(--primary-glow);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.location-list .highlight-content h4 {
    font-size: var(--text-md);
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 4px;
}

.location-list .highlight-content p {
    font-size: var(--text-sm);
    color: var(--gray-600);
    margin-bottom: 0;
}

/* Right Column: Grand Map */
.location-map {
    height: 100%;
    min-height: 500px;
    /* Ensure height on desktop */
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
    border: 4px solid white;
    position: relative;
}

.location-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* Mobile Responsive */
@media (max-width: 991px) {
    .location-top-row {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .location-map {
        min-height: 400px;
        order: -1;
        /* Show map first on mobile */
    }
}

/* ============================================
   PROGRESS SECTION
   ============================================ */
.progress-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.progress-item {
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    position: relative;
}

.progress-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.progress-item:hover img {
    transform: scale(1.05);
}



.hidden-item {
    display: block;
}

@media (max-width: 768px) {
    .progress-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .progress-gallery {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   AQI SECTION
   ============================================ */
.aqi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
    margin-bottom: var(--space-2xl);
}

.aqi-card {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    text-align: center;
    border: 2px solid var(--gray-100);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.aqi-card.highlight-card {
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(201, 162, 39, 0.15);
    transform: scale(1.05);
    z-index: 1;
}

.card-badge {
    position: absolute;
    top: 15px;
    right: -30px;
    background: var(--primary);
    color: var(--navy);
    font-size: var(--text-xs);
    font-weight: 800;
    text-transform: uppercase;
    padding: 5px 30px;
    transform: rotate(45deg);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.live-dot {
    color: var(--danger);
    animation: pulse-red 1.5s infinite;
    font-size: 1.2em;
    vertical-align: middle;
}

@keyframes pulse-red {
    0% {
        opacity: 1;
        text-shadow: 0 0 0 rgba(239, 68, 68, 0.4);
    }

    50% {
        opacity: 0.5;
        text-shadow: 0 0 10px rgba(239, 68, 68, 0);
    }

    100% {
        opacity: 1;
        text-shadow: 0 0 0 rgba(239, 68, 68, 0.4);
    }
}

.aqi-city {
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--space-md);
}

.aqi-value {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: var(--space-sm);
    transition: color 0.5s ease;
}

.aqi-status {
    font-weight: 700;
    text-transform: uppercase;
    font-size: var(--text-sm);
    margin-bottom: var(--space-md);
    letter-spacing: 1px;
}

/* Status Colors */
.aqi-good .aqi-value,
.aqi-good .aqi-status {
    color: var(--success);
}

.aqi-moderate .aqi-value,
.aqi-moderate .aqi-status {
    color: var(--warning);
}

.aqi-bad .aqi-value,
.aqi-bad .aqi-status {
    color: var(--danger);
}

.aqi-bar {
    height: 8px;
    background: var(--gray-100);
    border-radius: var(--radius-full);
    margin-bottom: var(--space-md);
    overflow: hidden;
}

.aqi-bar-fill {
    height: 100%;
    border-radius: var(--radius-full);
    transition: width 1s ease-out, background-color 0.5s ease;
}

.aqi-comment {
    font-size: var(--text-sm);
    color: var(--gray-500);
    font-style: italic;
}



.aqi-bad .aqi-label {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
}

.aqi-bar {
    width: 100%;
    height: 6px;
    background: var(--gray-100);
    border-radius: var(--radius-full);
    margin-top: var(--space-lg);
    overflow: hidden;
}

.aqi-bar-fill {
    height: 100%;
    border-radius: var(--radius-full);
    transition: width 1.5s ease;
}

.aqi-quote {
    text-align: center;
    padding: var(--space-2xl);
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    border: 1px solid var(--gray-100);
}

.aqi-quote blockquote {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-style: italic;
    color: var(--gray-700);
    line-height: 1.6;
}

.aqi-quote cite {
    display: block;
    font-style: normal;
    font-family: var(--font-body);
    font-size: var(--text-sm);
    color: var(--primary-dark);
    margin-top: var(--space-md);
    font-weight: 600;
}

/* ============================================
   INVENTORY TABLE
   ============================================ */
.inventory-table-wrapper {
    overflow-x: auto;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
}

.inventory-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-card);
    font-size: var(--text-sm);
}

.inventory-table thead {
    background: var(--navy);
    color: var(--white);
}

.inventory-table th {
    padding: 16px 20px;
    text-align: left;
    font-weight: 600;
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    white-space: nowrap;
}

.inventory-table td {
    padding: 14px 20px;
    border-bottom: 1px solid var(--gray-100);
    white-space: nowrap;
}

.inventory-table tbody tr:hover {
    background: var(--bg-card-hover);
}

.inventory-table tbody tr:last-child td {
    border-bottom: none;
}

.badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 600;
}

.badge-primary {
    background: var(--primary-glow);
    color: var(--primary-dark);
}

.badge-secondary {
    background: rgba(59, 130, 246, 0.1);
    color: var(--info);
}

.status-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 600;
}

.status-active {
    background: var(--success-bg);
    color: var(--success);
}

.status-hot {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
}

.status-sold {
    background: var(--gray-100);
    color: var(--gray-400);
    text-decoration: line-through;
}

.inventory-controls {
    text-align: center;
    margin-top: var(--space-xl);
}

.inventory-cta-hook {
    margin-top: var(--space-2xl);
    background: linear-gradient(135deg, var(--navy), var(--navy-light));
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-xl);
    position: relative;
    overflow: hidden;
    color: var(--white);
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(201, 162, 39, 0.3);
}

.inventory-cta-hook::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
}

.hook-content {
    flex: 1;
}

.hook-badge {
    display: inline-block;
    background: var(--danger);
    color: var(--white);
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-md);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
    animation: pulse 2s infinite;
}

.inventory-cta-hook h3 {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: 700;
    margin-bottom: var(--space-sm);
    color: var(--white);
}

.inventory-cta-hook p {
    color: rgba(255, 255, 255, 0.8);
    font-size: var(--text-base);
}

.hook-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    flex-shrink: 0;
}

.pulse-btn {
    animation: pulse-gold 2s infinite;
    box-shadow: 0 0 0 0 rgba(201, 162, 39, 0.7);
}

.hook-note {
    font-size: var(--text-xs);
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
}

@media (max-width: 768px) {
    .inventory-cta-hook {
        flex-direction: column;
        text-align: center;
        padding: var(--space-xl);
    }

    .hook-action {
        width: 100%;
    }

    .hook-action button {
        width: 100%;
    }
}

/* ============================================
   PAYMENT SECTION
   ============================================ */
.payment-process {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    max-width: 900px;
    margin: 0 auto;
}

.process-step {
    background: var(--bg-card);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    display: flex;
    gap: var(--space-xl);
    align-items: flex-start;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.process-step:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.process-marker {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: var(--primary-glow);
    border-radius: var(--radius-full);
    border: 2px solid var(--primary);
    color: var(--primary-dark);
    font-weight: 800;
    font-size: var(--text-xl);
    flex-shrink: 0;
}

.process-content {
    flex: 1;
}

.process-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-sm);
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.process-title {
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--gray-900);
}

.process-amount {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    padding: 6px 18px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: var(--text-sm);
}

.process-details p {
    color: var(--gray-500);
    font-size: var(--text-sm);
}

.process-details strong {
    color: var(--gray-700);
}

.payment-note {
    max-width: 900px;
    margin: var(--space-xl) auto 0;
    background: var(--primary-glow);
    border: 1px solid rgba(201, 162, 39, 0.2);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    font-size: var(--text-sm);
    color: var(--gray-700);
}

.payment-note strong {
    color: var(--primary-dark);
}

/* ============================================
   LEGAL SECTION
   ============================================ */
.legal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
}

.legal-item {
    text-align: center;
    padding: var(--space-xl);
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    border: 1px solid var(--gray-100);
    transition: all var(--transition-normal);
}

.legal-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.legal-item .legal-icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-md);
}

.legal-item h4 {
    font-size: var(--text-sm);
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 4px;
}

.legal-item p {
    font-size: var(--text-xs);
    color: var(--gray-500);
}

.legal-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-xl);
    padding: var(--space-2xl);
    background: linear-gradient(135deg, var(--navy), var(--navy-light));
    border-radius: var(--radius-xl);
    color: var(--white);
}

.legal-cta-content h3 {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: 700;
    margin-bottom: var(--space-sm);
}

.legal-cta-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--text-sm);
}

.legal-cta-list {
    margin-top: var(--space-md);
    font-size: var(--text-sm);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.legal-cta-list li {
    color: rgba(255, 255, 255, 0.8);
}

.legal-cta-list li::before {
    content: '✓ ';
    color: var(--primary);
    font-weight: 700;
}

/* ============================================
   ABOUT / DEVELOPER SECTION
   ============================================ */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--space-2xl);
    align-items: center;
}

.about-logo {
    text-align: center;
    padding: var(--space-2xl);
}

.about-logo img {
    max-width: 280px;
    margin: 0 auto var(--space-xl);
}

.about-info h3 {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--space-md);
}

.about-info p {
    color: var(--gray-600);
    margin-bottom: var(--space-lg);
    line-height: 1.8;
}

.about-checks {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-sm);
}

.about-check {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    font-size: var(--text-sm);
    color: var(--gray-700);
    padding: var(--space-sm) 0;
}

.about-check .check-icon {
    color: var(--success);
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 2px;
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-normal);
}

.faq-item.active {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-lg) var(--space-xl);
    cursor: pointer;
    gap: var(--space-md);
}

.faq-question h4 {
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--gray-800);
}

.faq-toggle {
    width: 32px;
    height: 32px;
    background: var(--gray-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all var(--transition-normal);
    font-size: var(--text-lg);
    color: var(--gray-500);
}

.faq-item.active .faq-toggle {
    background: var(--primary);
    color: var(--navy);
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal);
}

.faq-answer-inner {
    padding: 0 var(--space-xl) var(--space-lg);
    color: var(--gray-600);
    font-size: var(--text-sm);
    line-height: 1.8;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: start;
}

.contact-form-wrapper {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-100);
}

.form-group {
    margin-bottom: var(--space-lg);
}

.form-group label {
    display: block;
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: var(--space-sm);
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: var(--text-base);
    color: var(--gray-800);
    transition: all var(--transition-fast);
    background: var(--white);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

.form-control::placeholder {
    color: var(--gray-400);
}

.radio-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-sm);
}

.radio-option {
    position: relative;
}

.radio-option input {
    position: absolute;
    opacity: 0;
}

.radio-option label {
    display: block;
    padding: 12px 16px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    cursor: pointer;
    text-align: center;
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--gray-600);
    transition: all var(--transition-fast);
}

.radio-option input:checked+label {
    border-color: var(--primary);
    background: var(--primary-glow);
    color: var(--primary-dark);
    font-weight: 600;
}

.contact-info-side {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.contact-card {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    padding: var(--space-xl);
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    border: 1px solid var(--gray-100);
    transition: all var(--transition-normal);
}

.contact-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.contact-card-icon {
    width: 56px;
    height: 56px;
    background: var(--primary-glow);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-card-content h4 {
    font-size: var(--text-sm);
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 2px;
}

.contact-card-content p {
    font-size: var(--text-sm);
    color: var(--gray-500);
}

.contact-card-content a {
    color: var(--primary-dark);
    font-weight: 600;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--navy);
    color: rgba(255, 255, 255, 0.7);
    padding: var(--space-3xl) 0 var(--space-xl);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.2fr;
    gap: var(--space-2xl);
    margin-bottom: var(--space-2xl);
}

.footer-brand h3 {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    color: var(--white);
    margin-bottom: var(--space-md);
}

.footer-brand h3 span {
    color: var(--primary);
}

.footer-brand p {
    font-size: var(--text-sm);
    margin-bottom: var(--space-lg);
    line-height: 1.7;
}

/* Social Links */
.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social-link {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    transition: all var(--transition-fast);
}

.footer-social-link:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--navy);
    transform: translateY(-2px);
}

.footer-social-zalo {
    font-weight: 800;
    font-size: 0.95rem;
}

.footer h4 {
    color: var(--white);
    font-size: var(--text-sm);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-lg);
    position: relative;
    padding-bottom: var(--space-sm);
}

.footer h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
}

/* Quick Links */
.footer-links a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 0;
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.6);
    transition: color var(--transition-fast), padding-left var(--transition-fast);
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 4px;
}

.footer-link-icon {
    font-size: 0.55rem;
    color: var(--primary);
    opacity: 0.5;
    transition: opacity var(--transition-fast);
}

.footer-links a:hover .footer-link-icon {
    opacity: 1;
}

/* Contact Items */
.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.65);
    transition: all var(--transition-fast);
    text-decoration: none;
}

a.footer-contact-item:hover {
    background: rgba(255, 255, 255, 0.06);
    color: var(--white);
}

.footer-contact-icon {
    width: 16px;
    text-align: center;
    color: var(--primary);
    font-size: 0.82rem;
    flex-shrink: 0;
    opacity: 0.7;
}

a.footer-contact-item:hover .footer-contact-icon {
    opacity: 1;
}

.footer-address {
    margin-top: 4px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.8rem;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: var(--space-xl);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: var(--text-xs);
    color: rgba(255, 255, 255, 0.4);
}

/* ============================================
   FOMO NOTIFICATION
   ============================================ */
.fomo-toast {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 900;
    background: var(--bg-card);
    border-radius: 12px;
    padding: 10px 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 12px;
    transform: translateX(-120%);
    transition: transform 0.5s ease-out;
    max-width: 300px;
}

.fomo-toast.show {
    transform: translateX(0);
}

.fomo-avatar {
    width: 32px;
    height: 32px;
    background: var(--primary-glow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.fomo-text {
    font-size: 0.85rem;
    color: var(--gray-700);
    line-height: 1.3;
}

.fomo-text strong {
    color: var(--gray-900);
}

.fomo-time {
    font-size: 0.7rem;
    color: var(--gray-400);
    margin-top: 1px;
}

/* ============================================
   FLOATING CTA
   ============================================ */
.floating-cta {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 900;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.float-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    border: none;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-normal);
}

.float-btn:hover {
    transform: scale(1.1);
}

.float-btn-phone {
    background: var(--success);
    color: var(--white);
    animation: pulse 2s infinite;
}

.float-btn-zalo {
    background: #0068FF;
    color: var(--white);
}

/* ============================================
   MODAL
   ============================================ */
.modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    padding: var(--space-xl);
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.modal-container {
    position: relative;
    z-index: 1;
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    max-width: 500px;
    width: 100%;
    padding: var(--space-2xl);
    box-shadow: var(--shadow-xl);
    max-height: 90vh;
    overflow-y: auto;
}

.modal-close {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    width: 36px;
    height: 36px;
    border: none;
    background: var(--gray-100);
    border-radius: 50%;
    font-size: var(--text-xl);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-600);
    transition: all var(--transition-fast);
}

.modal-close:hover {
    background: var(--gray-200);
    color: var(--gray-900);
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5);
    }

    70% {
        box-shadow: 0 0 0 12px rgba(16, 185, 129, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

@keyframes pulse-gold {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(201, 162, 39, 0.7);
    }

    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(201, 162, 39, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(201, 162, 39, 0);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* --- Tablet (≤1024px) --- */
@media (max-width: 1024px) {
    .usp-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* --- Mobile (≤768px) — Main Breakpoint --- */
@media (max-width: 768px) {
    :root {
        --text-5xl: 2rem;
        --text-4xl: 1.6rem;
        --text-3xl: 1.35rem;
        --text-2xl: 1.25rem;
        --space-4xl: 2.5rem;
        --space-3xl: 2rem;
    }

    /* --- General Spacing --- */
    .section {
        padding: var(--space-2xl) 0;
    }

    .section-header {
        margin-bottom: var(--space-xl);
    }

    .section-header .subtitle {
        font-size: var(--text-sm);
    }

    /* --- Navbar (handled by inline styles, but ensure toggle works) --- */
    .nav-links {
        display: block;
    }

    .mobile-toggle {
        display: flex;
    }

    .nav-links.mobile-open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: var(--navbar-height);
        left: 0;
        right: 0;
        background: rgba(10, 22, 40, 0.98);
        padding: var(--space-xl);
        gap: var(--space-md);
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    /* --- Hero Section --- */
    .hero {
        min-height: 75vh;
    }

    .hero-content {
        padding: 0 var(--space-md);
        padding-bottom: 80px;
        /* space for trust-strip */
    }

    .hero-badge {
        font-size: 0.7rem;
        padding: 5px 14px;
    }

    .hero-title {
        font-size: 2rem;
        margin-bottom: var(--space-md);
    }

    .hero-stats {
        gap: var(--space-lg);
        flex-wrap: wrap;
        justify-content: center;
        margin: var(--space-lg) 0;
    }

    .hero-stat .stat-value {
        font-size: var(--text-xl);
    }

    .hero-stat .stat-label {
        font-size: var(--text-xs);
    }

    .hero-subtitle {
        font-size: var(--text-base);
        margin-bottom: var(--space-sm);
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: var(--space-sm);
        margin-top: var(--space-lg);
    }

    .hero-actions .btn {
        width: 100%;
        max-width: 320px;
        justify-content: center;
    }

    .trust-badges {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: var(--space-sm) var(--space-md);
        padding: 0 var(--space-md);
    }

    .trust-badge {
        font-size: 0.72rem;
        gap: 5px;
        justify-content: center;
    }

    .trust-badge .badge-icon {
        font-size: 0.85rem;
    }

    .trust-strip {
        padding: var(--space-sm) 0;
    }

    /* --- Buttons --- */
    .btn {
        padding: 12px 24px;
        font-size: var(--text-sm);
    }

    .btn-lg {
        padding: 14px 28px;
        font-size: var(--text-base);
    }

    /* --- USP Section --- */
    .usp-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .usp-card {
        padding: var(--space-xl);
    }

    .usp-card:hover {
        transform: none;
    }

    /* --- Products Section --- */
    .featured-product {
        grid-template-columns: 1fr;
    }

    .fp-visual {
        min-height: 240px;
    }

    .fp-info {
        padding: var(--space-xl);
    }

    .fp-price-box {
        flex-direction: column;
        gap: var(--space-sm);
        text-align: center;
    }

    .fp-actions {
        flex-direction: column;
    }

    .fp-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .fp-view-toggle {
        bottom: var(--space-sm);
        left: var(--space-sm);
    }

    .fp-view-toggle button {
        padding: 6px 12px;
        font-size: 0.7rem;
    }

    /* --- Location Section --- */
    .location-top-row {
        grid-template-columns: 1fr;
    }

    .location-map {
        min-height: 280px;
    }

    .location-list .highlight-card {
        padding: var(--space-sm) var(--space-md);
    }

    .location-list .highlight-card:hover {
        transform: none;
    }

    .location-list .highlight-icon {
        width: 40px;
        height: 40px;
        font-size: 1.4rem;
    }

    /* --- AQI Section --- */
    .aqi-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .aqi-card {
        padding: var(--space-xl);
    }

    .aqi-card.highlight-card {
        transform: none;
        order: -1;
    }

    .aqi-value {
        font-size: 2.5rem;
    }

    /* --- Inventory Table --- */
    .inventory-table-wrapper {
        position: relative;
        border-radius: var(--radius-lg);
    }

    /* Scroll hint gradient on right edge */
    .inventory-table-wrapper::after {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        width: 30px;
        background: linear-gradient(to left, rgba(255, 255, 255, 0.9), transparent);
        pointer-events: none;
        border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
        z-index: 1;
    }

    .inventory-table {
        font-size: var(--text-xs);
    }

    .inventory-table th {
        padding: 10px 12px;
        font-size: 0.65rem;
    }

    .inventory-table td {
        padding: 10px 12px;
        font-size: var(--text-xs);
    }

    .inventory-cta-hook {
        flex-direction: column;
        text-align: center;
        padding: var(--space-xl);
    }

    .inventory-cta-hook h3 {
        font-size: var(--text-xl);
    }

    .hook-action {
        width: 100%;
    }

    .hook-action .btn,
    .hook-action button {
        width: 100%;
    }

    /* --- Payment / Process Section --- */
    .process-step {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: var(--space-lg);
        gap: var(--space-md);
    }

    .process-step:hover {
        transform: none;
    }

    .process-marker {
        width: 44px;
        height: 44px;
        font-size: var(--text-lg);
    }

    .process-header {
        justify-content: center;
        flex-direction: column;
        gap: var(--space-xs);
    }

    .process-amount {
        font-size: var(--text-xs);
    }

    /* --- Legal Section --- */
    .legal-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-md);
    }

    .legal-item {
        padding: var(--space-lg);
    }

    .legal-item:hover {
        transform: none;
    }

    .legal-item .legal-icon {
        font-size: 1.8rem;
    }

    .legal-cta {
        flex-direction: column;
        text-align: center;
        padding: var(--space-xl);
        gap: var(--space-md);
    }

    .legal-cta-content h3 {
        font-size: var(--text-xl);
    }

    /* --- About Section --- */
    .about-logo img {
        max-width: 200px;
    }

    .about-info h3 {
        font-size: var(--text-xl);
    }

    /* --- FAQ Section --- */
    .faq-question {
        padding: var(--space-md) var(--space-lg);
    }

    .faq-question h4 {
        font-size: var(--text-sm);
    }

    .faq-answer-inner {
        padding: 0 var(--space-lg) var(--space-md);
        font-size: var(--text-xs);
    }

    /* --- Contact Section --- */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .contact-form-wrapper {
        padding: var(--space-xl);
    }

    .contact-card {
        padding: var(--space-lg);
    }

    .contact-card-icon {
        width: 44px;
        height: 44px;
        font-size: 1.2rem;
    }

    /* --- Footer --- */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--space-md);
        text-align: center;
    }

    /* --- Floating Elements --- */
    .fomo-toast {
        left: 12px;
        right: auto;
        width: fit-content;
        max-width: 85%;
        bottom: 80px;
    }

    .floating-cta {
        bottom: 80px;
        right: 12px;
    }

    .float-btn {
        width: 48px;
        height: 48px;
        font-size: 1.2rem;
    }

    /* --- Radio Group --- */
    .radio-group {
        grid-template-columns: 1fr;
    }

    /* --- Modal --- */
    .modal {
        padding: var(--space-md);
    }

    .modal-container {
        padding: var(--space-xl);
    }
}

/* --- Small Mobile (≤480px) --- */
@media (max-width: 480px) {
    :root {
        --text-5xl: 1.7rem;
        --text-4xl: 1.4rem;
        --text-3xl: 1.2rem;
    }

    .container {
        padding: 0 var(--space-md);
    }

    .hero {
        min-height: unset;
        padding-top: 100px;
        padding-bottom: 0;
    }

    .hero-content {
        padding-bottom: 90px;
    }

    .hero-badge {
        font-size: 0.65rem;
        padding: 4px 12px;
        margin-bottom: var(--space-md);
    }

    .hero-title {
        font-size: 1.5rem;
        line-height: 1.25;
    }

    .hero-subtitle {
        font-size: 0.85rem;
    }

    .hero-stats {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: var(--space-md);
        margin: var(--space-md) 0;
    }

    .hero-stat .stat-value {
        font-size: 1.1rem;
    }

    .hero-stat .stat-label {
        font-size: 0.65rem;
    }

    .hero-actions {
        margin-top: var(--space-md);
    }

    .hero-actions .btn {
        max-width: none;
        padding: 12px 20px;
        font-size: 0.85rem;
    }

    .trust-strip {
        display: block;
    }

    .product-tabs-nav {
        flex-direction: column;
        border-radius: var(--radius-lg);
    }

    .product-tab-btn {
        padding: 10px 20px;
        font-size: var(--text-xs);
    }

    .about-checks {
        grid-template-columns: 1fr;
    }

    .legal-grid {
        grid-template-columns: 1fr;
    }

    .aqi-value {
        font-size: 2rem;
    }

    .section-header h2 {
        font-size: 1.2rem;
    }

    /* Ensure all tap targets ≥ 44px */
    .btn,
    .btn-sm,
    a,
    button {
        min-height: 44px;
    }

    .btn-sm {
        padding: 10px 16px;
    }
}

/* ============================================
   STICKY MOBILE CTA BAR
   ============================================ */
.mobile-sticky-cta {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: rgba(10, 22, 40, 0.97);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border-top: 1px solid rgba(201, 162, 39, 0.3);
    padding: 10px 16px;
    padding-bottom: max(10px, env(safe-area-inset-bottom));
    gap: 10px;
}

@media (max-width: 768px) {
    .mobile-sticky-cta {
        display: flex;
    }
}

.sticky-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 16px;
    border-radius: 10px;
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.sticky-btn-call {
    background: transparent;
    border: 1.5px solid rgba(39, 174, 96, 0.5);
    color: #27ae60;
}

.sticky-btn-call:hover {
    background: rgba(39, 174, 96, 0.1);
    border-color: #27ae60;
}

.sticky-btn-call i {
    animation: phone-ring-sticky 2s infinite;
}

@keyframes phone-ring-sticky {

    0%,
    100% {
        transform: rotate(0);
    }

    10% {
        transform: rotate(12deg);
    }

    20% {
        transform: rotate(-12deg);
    }

    30% {
        transform: rotate(8deg);
    }

    40% {
        transform: rotate(0);
    }
}

.sticky-btn-price {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    box-shadow: 0 2px 12px rgba(201, 162, 39, 0.3);
}

.sticky-btn-price:hover {
    box-shadow: 0 4px 20px rgba(201, 162, 39, 0.5);
    transform: translateY(-1px);
}
/* Fix hero background mobile */
@media (max-width: 480px) {
    .hero {
        min-height: 100vh;
    }
    .hero-bg-img {
        object-position: center center;
    }
}

/* ============ LIGHTBOX ============ */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 99999;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.lightbox.active {
    display: flex;
}
.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
    z-index: 100000;
    transition: color 0.3s;
}
.lightbox-close:hover {
    color: #d4a017;
}
.lightbox-content {
    max-width: 90%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
}
.lightbox-caption {
    color: #fff;
    text-align: center;
    padding: 15px;
    font-size: 0.95rem;
    max-width: 90%;
}

/* === DESKTOP CTA FIX — Hiện nút tròn nhỏ trên desktop === */
@media (min-width: 769px) {
    .floating-cta {
        position: fixed !important;
        bottom: 24px !important;
        right: 24px !important;
        left: auto !important;
        top: auto !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
        padding: 0 !important;
        background: transparent !important;
        border: none !important;
        border-top: none !important;
        box-shadow: none !important;
        width: auto !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }
    .float-btn {
        width: 56px !important;
        height: 56px !important;
        border-radius: 50% !important;
        font-size: 1.5rem !important;
        padding: 0 !important;
        flex: none !important;
        box-shadow: 0 4px 15px rgba(0,0,0,0.3) !important;
        font-style: normal !important;
        letter-spacing: normal !important;
    }
    .float-btn:hover {
        transform: scale(1.1) !important;
    }
    .float-btn-phone {
        background: #27ae60 !important;
        color: #fff !important;
        border: none !important;
    }
    .float-btn-zalo,
    .float-btn-quote {
        background: #0068FF !important;
        color: #fff !important;
        border: none !important;
    }
    .float-text {
        display: none !important;
    }
    .float-btn i {
        font-style: normal !important;
    }
}
