/* Landing Page Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #244B94;
    --primary-dark: #1E40AF;
    --primary-light: #3B82F6;
    --secondary-color: #F26017;
    --secondary-dark: #E04E0E;
    --text-dark: #1F2937;
    --text-gray: #6B7280;
    --text-light: #9CA3AF;
    --bg-light: #F9FAFB;
    --bg-white: #FFFFFF;
    --border-color: #E5E7EB;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --gradient-primary: linear-gradient(135deg, #244B94 0%, #1E40AF 100%);
    --gradient-secondary: linear-gradient(135deg, #F26017 0%, #E04E0E 100%);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
    /* Optimize rendering */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.landing-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.landing-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    /* Reduced backdrop-filter for better performance */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    /* GPU acceleration */
    will-change: transform;
    transform: translateZ(0);
}

.landing-nav.scrolled {
    box-shadow: var(--shadow-md);
}

.landing-nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.landing-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-dark);
}

.landing-logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.landing-logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
}

.landing-nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.landing-nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.landing-nav-link:hover {
    color: var(--primary-color);
}

.landing-nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.landing-nav-link:hover::after {
    width: 100%;
}

.landing-nav-btn {
    background: var(--gradient-primary);
    color: white;
    padding: 0.625rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.landing-nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    background: var(--gradient-secondary);
}

.landing-nav-btn-primary {
    background: var(--gradient-secondary);
    font-size: 0.9375rem;
    padding: 0.75rem 1.75rem;
}

.landing-nav-btn-primary:hover {
    background: linear-gradient(135deg, #E04E0E 0%, #F26017 100%);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 20px rgba(242, 96, 23, 0.4);
}

.landing-nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-dark);
    cursor: pointer;
}

/* Hero Section */
.landing-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 20px 80px;
    background: var(--gradient-primary);
    color: white;
    overflow: hidden;
}

.landing-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(36, 75, 148, 0.9) 0%, rgba(30, 64, 175, 0.95) 50%, rgba(36, 75, 148, 0.9) 100%);
    overflow: hidden;
    z-index: 0;
    /* GPU acceleration */
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* Astro Stars Container */
.astro-stars-container {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    /* GPU acceleration */
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* Base Star Style */
.astro-star {
    position: absolute;
    background: white;
    border-radius: 50%;
    pointer-events: none;
    /* GPU acceleration */
    will-change: transform, opacity;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* Large Bright Stars */
.star-large {
    width: 6px;
    height: 6px;
    /* Reduced box-shadow for better performance */
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
    animation: twinkleLarge 3s infinite ease-in-out;
    /* Use transform instead of scale for better performance */
    transform: translateZ(0) scale(1);
}

/* Medium Stars */
.star-medium {
    width: 3px;
    height: 3px;
    /* Reduced box-shadow for better performance */
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.7);
    animation: twinkleMedium 2s infinite ease-in-out;
    transform: translateZ(0) scale(1);
}

/* Small Twinkling Stars */
.star-small {
    width: 2px;
    height: 2px;
    /* Reduced box-shadow for better performance */
    box-shadow: 0 0 4px rgba(255, 255, 255, 0.7);
    animation: twinkleSmall 1.5s infinite ease-in-out;
    transform: translateZ(0) scale(1);
}

/* Star Positions - Large Stars */
.star-1 { top: 15%; left: 20%; animation-delay: 0s; }
.star-2 { top: 25%; right: 15%; animation-delay: 0.5s; }
.star-3 { top: 45%; left: 10%; animation-delay: 1s; }
.star-4 { bottom: 30%; right: 25%; animation-delay: 1.5s; }
.star-5 { bottom: 20%; left: 50%; animation-delay: 2s; }

/* Star Positions - Medium Stars */
.star-6 { top: 10%; left: 40%; animation-delay: 0.2s; }
.star-7 { top: 20%; left: 60%; animation-delay: 0.7s; }
.star-8 { top: 30%; right: 30%; animation-delay: 1.2s; }
.star-9 { top: 35%; left: 30%; animation-delay: 0.4s; }
.star-10 { top: 50%; right: 40%; animation-delay: 0.9s; }
.star-11 { top: 55%; left: 70%; animation-delay: 1.4s; }
.star-12 { bottom: 40%; left: 15%; animation-delay: 0.6s; }
.star-13 { bottom: 35%; right: 50%; animation-delay: 1.1s; }
.star-14 { bottom: 25%; left: 35%; animation-delay: 0.3s; }
.star-15 { bottom: 15%; right: 10%; animation-delay: 0.8s; }

/* Star Positions - Small Stars */
.star-16 { top: 5%; left: 25%; animation-delay: 0.1s; }
.star-17 { top: 8%; right: 20%; animation-delay: 0.6s; }
.star-18 { top: 12%; left: 55%; animation-delay: 1.1s; }
.star-19 { top: 18%; right: 45%; animation-delay: 0.4s; }
.star-20 { top: 22%; left: 75%; animation-delay: 0.9s; }
.star-21 { top: 28%; right: 60%; animation-delay: 1.4s; }
.star-22 { top: 38%; left: 45%; animation-delay: 0.2s; }
.star-23 { top: 42%; right: 25%; animation-delay: 0.7s; }
.star-24 { top: 48%; left: 25%; animation-delay: 1.2s; }
.star-25 { bottom: 45%; right: 35%; animation-delay: 0.5s; }
.star-26 { bottom: 40%; left: 60%; animation-delay: 1s; }
.star-27 { bottom: 35%; right: 15%; animation-delay: 0.3s; }
.star-28 { bottom: 28%; left: 50%; animation-delay: 0.8s; }
.star-29 { bottom: 22%; right: 55%; animation-delay: 1.3s; }
.star-30 { bottom: 12%; left: 80%; animation-delay: 0.6s; }

/* Twinkling Animations - Optimized for performance */
@keyframes twinkleLarge {
    0%, 100% {
        opacity: 0.8;
        transform: translateZ(0) scale(1);
    }
    50% {
        opacity: 1;
        transform: translateZ(0) scale(1.15);
    }
}

@keyframes twinkleMedium {
    0%, 100% {
        opacity: 0.6;
        transform: translateZ(0) scale(1);
    }
    50% {
        opacity: 1;
        transform: translateZ(0) scale(1.2);
    }
}

@keyframes twinkleSmall {
    0%, 100% {
        opacity: 0.4;
        transform: translateZ(0) scale(1);
    }
    50% {
        opacity: 0.9;
        transform: translateZ(0) scale(1.3);
    }
}

/* Shooting Stars */
.shooting-star {
    position: absolute;
    width: 2px;
    height: 80px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.8), transparent);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
    transform: rotate(-45deg);
    opacity: 0;
}

.shooting-star-1 {
    top: 10%;
    right: 20%;
    animation: shootStar1 8s infinite;
}

.shooting-star-2 {
    top: 30%;
    left: 15%;
    animation: shootStar2 12s infinite;
    animation-delay: 3s;
}

.shooting-star-3 {
    top: 60%;
    right: 30%;
    animation: shootStar3 10s infinite;
    animation-delay: 6s;
}

@keyframes shootStar1 {
    0% {
        opacity: 0;
        transform: translate(0, 0) rotate(-45deg) scale(0);
    }
    5% {
        opacity: 1;
        transform: translate(-200px, 200px) rotate(-45deg) scale(1);
    }
    10% {
        opacity: 0;
        transform: translate(-400px, 400px) rotate(-45deg) scale(0.5);
    }
    100% {
        opacity: 0;
        transform: translate(-400px, 400px) rotate(-45deg) scale(0);
    }
}

@keyframes shootStar2 {
    0% {
        opacity: 0;
        transform: translate(0, 0) rotate(-45deg) scale(0);
    }
    5% {
        opacity: 1;
        transform: translate(250px, 250px) rotate(-45deg) scale(1);
    }
    10% {
        opacity: 0;
        transform: translate(500px, 500px) rotate(-45deg) scale(0.5);
    }
    100% {
        opacity: 0;
        transform: translate(500px, 500px) rotate(-45deg) scale(0);
    }
}

@keyframes shootStar3 {
    0% {
        opacity: 0;
        transform: translate(0, 0) rotate(-45deg) scale(0);
    }
    5% {
        opacity: 1;
        transform: translate(-300px, 300px) rotate(-45deg) scale(1);
    }
    10% {
        opacity: 0;
        transform: translate(-600px, 600px) rotate(-45deg) scale(0.5);
    }
    100% {
        opacity: 0;
        transform: translate(-600px, 600px) rotate(-45deg) scale(0);
    }
}

/* Star Clusters */
.star-cluster {
    position: absolute;
    width: 100px;
    height: 100px;
}

.cluster-1 {
    top: 20%;
    right: 30%;
    animation: floatCluster 20s infinite ease-in-out;
}

.cluster-2 {
    bottom: 25%;
    left: 40%;
    animation: floatCluster 25s infinite ease-in-out;
    animation-delay: 5s;
}

.cluster-star {
    position: absolute;
    width: 1.5px;
    height: 1.5px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 0 3px rgba(255, 255, 255, 0.8);
    animation: clusterTwinkle 2s infinite ease-in-out;
}

.cluster-1 .cluster-star:nth-child(1) {
    top: 20%;
    left: 30%;
    animation-delay: 0s;
}

.cluster-1 .cluster-star:nth-child(2) {
    top: 40%;
    left: 50%;
    animation-delay: 0.4s;
}

.cluster-1 .cluster-star:nth-child(3) {
    top: 60%;
    left: 25%;
    animation-delay: 0.8s;
}

.cluster-1 .cluster-star:nth-child(4) {
    top: 75%;
    left: 65%;
    animation-delay: 1.2s;
}

.cluster-1 .cluster-star:nth-child(5) {
    top: 45%;
    left: 10%;
    animation-delay: 1.6s;
}

.cluster-2 .cluster-star:nth-child(1) {
    top: 15%;
    left: 40%;
    animation-delay: 0.2s;
}

.cluster-2 .cluster-star:nth-child(2) {
    top: 35%;
    left: 60%;
    animation-delay: 0.6s;
}

.cluster-2 .cluster-star:nth-child(3) {
    top: 55%;
    left: 35%;
    animation-delay: 1s;
}

.cluster-2 .cluster-star:nth-child(4) {
    top: 70%;
    left: 75%;
    animation-delay: 1.4s;
}

.cluster-2 .cluster-star:nth-child(5) {
    top: 50%;
    left: 20%;
    animation-delay: 1.8s;
}

@keyframes floatCluster {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(20px, -15px) scale(1.05);
    }
    50% {
        transform: translate(-15px, 20px) scale(0.95);
    }
    75% {
        transform: translate(25px, 10px) scale(1.02);
    }
}

@keyframes clusterTwinkle {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.5);
    }
}

/* Numerology Numbers Animation */
.numerology-numbers {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 2;
}

.num-item {
    position: absolute;
    font-size: 8rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.08);
    font-family: 'Inter', sans-serif;
    animation: floatNumber 20s infinite ease-in-out;
    /* Reduced text-shadow for better performance */
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.08);
    user-select: none;
    pointer-events: none;
    /* GPU acceleration */
    will-change: transform, opacity;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.num-item[data-num="1"] {
    top: 10%;
    left: 15%;
    animation-delay: 0s;
    animation-duration: 18s;
}

.num-item[data-num="2"] {
    top: 25%;
    right: 20%;
    animation-delay: 2s;
    animation-duration: 22s;
}

.num-item[data-num="3"] {
    bottom: 30%;
    left: 10%;
    animation-delay: 4s;
    animation-duration: 20s;
}

.num-item[data-num="4"] {
    top: 50%;
    right: 15%;
    animation-delay: 1s;
    animation-duration: 19s;
}

.num-item[data-num="5"] {
    bottom: 20%;
    right: 30%;
    animation-delay: 3s;
    animation-duration: 21s;
}

.num-item[data-num="6"] {
    top: 15%;
    left: 50%;
    animation-delay: 5s;
    animation-duration: 17s;
}

.num-item[data-num="7"] {
    bottom: 40%;
    left: 40%;
    animation-delay: 2.5s;
    animation-duration: 23s;
}

.num-item[data-num="8"] {
    top: 60%;
    left: 25%;
    animation-delay: 1.5s;
    animation-duration: 18s;
}

.num-item[data-num="9"] {
    bottom: 15%;
    right: 10%;
    animation-delay: 3.5s;
    animation-duration: 20s;
}

@keyframes floatNumber {
    0%, 100% {
        transform: translateZ(0) translate(0, 0) rotate(0deg) scale(1);
        opacity: 0.08;
    }
    25% {
        transform: translateZ(0) translate(30px, -40px) rotate(5deg) scale(1.1);
        opacity: 0.12;
    }
    50% {
        transform: translateZ(0) translate(-20px, 30px) rotate(-5deg) scale(0.95);
        opacity: 0.06;
    }
    75% {
        transform: translateZ(0) translate(40px, 20px) rotate(3deg) scale(1.05);
        opacity: 0.1;
    }
}

/* Sacred Geometry Shapes */
.numerology-geometry {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 2;
}

.geo-circle {
    position: absolute;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: rotateCircle 30s infinite linear;
}

.geo-circle.geo-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    left: 5%;
    animation-duration: 25s;
}

.geo-circle.geo-2 {
    width: 200px;
    height: 200px;
    bottom: 20%;
    right: 10%;
    animation-duration: 35s;
    animation-direction: reverse;
}

.geo-circle.geo-3 {
    width: 150px;
    height: 150px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-duration: 20s;
    border-width: 1px;
}

.geo-hexagon {
    position: absolute;
    width: 120px;
    height: 120px;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.08);
    clip-path: polygon(30% 0%, 70% 0%, 100% 50%, 70% 100%, 30% 100%, 0% 50%);
    animation: rotateHexagon 40s infinite linear;
}

.geo-hexagon.geo-1 {
    top: 30%;
    right: 25%;
    animation-duration: 30s;
}

.geo-hexagon.geo-2 {
    bottom: 30%;
    left: 30%;
    animation-duration: 45s;
    animation-direction: reverse;
    width: 80px;
    height: 80px;
}

.geo-star {
    position: absolute;
    width: 0;
    height: 0;
    border-left: 25px solid transparent;
    border-right: 25px solid transparent;
    border-bottom: 18px solid rgba(255, 255, 255, 0.1);
    transform: rotate(35deg);
    animation: twinkleStar 4s infinite ease-in-out;
}

.geo-star::before {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-left: 25px solid transparent;
    border-right: 25px solid transparent;
    border-bottom: 18px solid rgba(255, 255, 255, 0.1);
    transform: rotate(-70deg);
    top: -12px;
    left: -25px;
}

.geo-star.geo-1 {
    top: 20%;
    left: 60%;
    animation-delay: 0s;
}

.geo-star.geo-2 {
    bottom: 25%;
    right: 35%;
    animation-delay: 2s;
    transform: rotate(35deg) scale(0.7);
}

@keyframes rotateCircle {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes rotateHexagon {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes twinkleStar {
    0%, 100% {
        opacity: 0.1;
        transform: rotate(35deg) scale(1);
    }
    50% {
        opacity: 0.3;
        transform: rotate(35deg) scale(1.2);
    }
}

/* Floating Particles */
.numerology-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 2;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
    animation: floatParticle 15s infinite ease-in-out;
}

.particle:nth-child(1) {
    left: 10%;
    top: 20%;
    animation-delay: 0s;
    animation-duration: 12s;
}

.particle:nth-child(2) {
    left: 30%;
    top: 60%;
    animation-delay: 2s;
    animation-duration: 18s;
}

.particle:nth-child(3) {
    left: 70%;
    top: 30%;
    animation-delay: 4s;
    animation-duration: 14s;
}

.particle:nth-child(4) {
    left: 50%;
    top: 80%;
    animation-delay: 1s;
    animation-duration: 16s;
}

.particle:nth-child(5) {
    left: 80%;
    top: 70%;
    animation-delay: 3s;
    animation-duration: 13s;
}

.particle:nth-child(6) {
    left: 20%;
    top: 10%;
    animation-delay: 5s;
    animation-duration: 17s;
}

.particle:nth-child(7) {
    left: 60%;
    top: 50%;
    animation-delay: 2.5s;
    animation-duration: 15s;
}

.particle:nth-child(8) {
    left: 90%;
    top: 40%;
    animation-delay: 1.5s;
    animation-duration: 19s;
}

@keyframes floatParticle {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.6;
    }
    25% {
        transform: translate(50px, -80px) scale(1.5);
        opacity: 1;
    }
    50% {
        transform: translate(-30px, 60px) scale(0.8);
        opacity: 0.4;
    }
    75% {
        transform: translate(70px, 40px) scale(1.2);
        opacity: 0.8;
    }
}

/* Glow Effect */
.numerology-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: radial-gradient(
        ellipse at center,
        rgba(255, 255, 255, 0.1) 0%,
        rgba(255, 255, 255, 0.05) 30%,
        transparent 70%
    );
    animation: pulseGlow 8s infinite ease-in-out;
    pointer-events: none;
    z-index: 1;
}

@keyframes pulseGlow {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}

/* Hero inner: text + tra cứu form */
.landing-hero-inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
}

.landing-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    text-align: center;
}

.landing-hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    line-height: 1.2;
    color: #ffffff;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.landing-hero-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #ffffff;
    opacity: 0.95;
}

.landing-hero-description {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    opacity: 0.9;
    line-height: 1.8;
    text-align: justify;
}

.landing-hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
}

.landing-hero-buttons .landing-btn {
    width: 224px;
    justify-content: center;
    flex-shrink: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Hero tra cứu card */
.landing-hero-tracuu {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
    margin-top: 0;
}

.landing-hero-tracuu-card {
    width: 100%;
    max-width: 500px;
    background: rgba(255, 255, 255, 0.98);
    /* Reduced backdrop-filter for better performance */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.4);
    /* GPU acceleration */
    will-change: transform;
    transform: translateZ(0);
}

.landing-hero-tracuu-header {
    margin-bottom: 1.5rem;
}

.landing-hero-tracuu-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.landing-hero-tracuu-header p {
    font-size: 0.875rem;
    color: var(--text-gray);
    margin: 0;
}

.landing-hero-tracuu-form {
    text-align: left;
}

.landing-hero-tracuu-form .landing-hero-tracuu-field {
    margin-bottom: 1rem;
}

.landing-hero-tracuu-form label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--text-dark);
    margin-bottom: 0.2rem;
    text-align: left;
}

.landing-hero-tracuu-form label i {
    font-size: 1.125rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 4px rgba(36, 75, 148, 0.2));
}

.landing-hero-tracuu-form label .required {
    color: var(--secondary-color);
}

.landing-hero-tracuu-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.landing-hero-tracuu-input-icon {
    position: absolute;
    left: 1rem;
    font-size: 1rem;
    color: var(--primary-color);
    z-index: 1;
    pointer-events: none;
    transition: color 0.2s ease, transform 0.2s ease;
}

.landing-hero-tracuu-form input {
    width: 100%;
    padding: 0.7rem 1rem 0.7rem 2.75rem;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 0.9375rem;
    font-family: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.landing-hero-tracuu-form .landing-hero-tracuu-input-wrapper:focus-within .landing-hero-tracuu-input-icon {
    color: var(--primary-light);
    transform: scale(1.1);
}

/* Chỉ áp dụng padding-left cho input có icon (không phải date input) */
.landing-hero-tracuu-form input:focus:not(.landing-hero-tracuu-date-input input) {
    padding-left: 2.75rem;
}

.landing-hero-tracuu-form input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(36, 75, 148, 0.12);
}

.landing-hero-tracuu-form input::placeholder {
    color: var(--text-light);
}

.landing-hero-tracuu-date-inputs {
    display: flex;
    gap: 0.75rem;
    align-items: stretch;
}

.landing-hero-tracuu-date-input {
    flex: 1;
    min-width: 0;
}

.landing-hero-tracuu-date-input input {
    text-align: center;
    padding-left: 1rem;
    padding-right: 1rem;
}

/* Đảm bảo date input giữ padding đều và text-align center khi focus */
.landing-hero-tracuu-date-input input:focus {
    text-align: center;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
}

.landing-hero-tracuu-date-input .landing-hero-tracuu-input-icon {
    display: none;
}

.landing-hero-tracuu-btn {
    width: 100%;
    justify-content: center;
    padding: 0.85rem 1.25rem;
    margin-top: 0.25rem;
    font-size: 0.9375rem;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 50%, var(--secondary-color) 100%);
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
}

.landing-hero-tracuu-btn:hover {
    background-position: right center;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(36, 75, 148, 0.3);
}

.landing-hero-tracuu-btn i {
    margin-right: 0.5rem;
    font-size: 1rem;
    filter: drop-shadow(0 2px 4px rgba(255, 255, 255, 0.3));
    animation: iconPulse 2s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@keyframes iconPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.15);
        opacity: 0.9;
    }
}

.landing-hero-tracuu-error {
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.25);
    color: #b91c1c;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
}

.landing-hero-tracuu-result {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border-color);
}

.landing-hero-tracuu-result-header {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    margin-bottom: 1rem;
}

.landing-hero-tracuu-result-name {
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-dark);
}

.landing-hero-tracuu-result-birth {
    font-size: 0.8125rem;
    color: var(--text-gray);
}

.landing-hero-tracuu-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.landing-hero-tracuu-result-item {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 0.6rem;
    text-align: center;
}

.landing-hero-tracuu-result-value {
    display: block;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1.2;
}

.landing-hero-tracuu-result-label {
    display: block;
    font-size: 0.6875rem;
    color: var(--text-gray);
    margin-top: 0.2rem;
    line-height: 1.2;
}

.landing-hero-tracuu-more {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
    transition: gap 0.2s ease;
}

.landing-hero-tracuu-more:hover {
    gap: 0.6rem;
    color: var(--primary-dark);
}

.landing-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    white-space: nowrap;
}

.landing-btn-primary {
    background: var(--gradient-secondary);
    color: white;
    box-shadow: var(--shadow-lg);
}

.landing-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.landing-btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.landing-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

.landing-btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
}

.landing-hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    z-index: 2;
}

.landing-scroll-down {
    color: white;
    font-size: 1.5rem;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.landing-scroll-down:hover {
    opacity: 1;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Section Styles */
.landing-section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.landing-section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.landing-section-subtitle {
    font-size: 1.125rem;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.landing-about {
    padding: 100px 20px;
    background: linear-gradient(135deg, #FFF5E6 0%, #FFE8CC 50%, #FFD9B3 100%);
    position: relative;
    z-index: 1;
    border-top: 1px solid rgba(255, 183, 77, 0.3);
}

.landing-about .landing-section-title {
    color: #B45309;
}

.landing-about .landing-section-subtitle {
    color: #92400E;
}

.landing-about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.landing-about-text h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #B45309;
    margin-bottom: 1.5rem;
}

.landing-about-text p {
    font-size: 1.125rem;
    color: #78350F;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.landing-about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.landing-feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-dark);
}

.landing-about .landing-feature-item {
    color: #78350F;
}

.landing-about .landing-feature-item i {
    color: #F97316;
}

.landing-feature-item i {
    color: var(--primary-color);
    font-size: 1.25rem;
}

.landing-about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.landing-image-placeholder {
    width: 100%;
    max-width: 400px;
    height: 400px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-xl);
    overflow: hidden;
}

.landing-about-img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover; /* desktop */
    border-radius: 20px;
}

.landing-image-placeholder i {
    font-size: 6rem;
    color: white;
    opacity: 0.8;
}

/* Products Section */
.landing-products {
    padding: 100px 20px;
    background: #FFFFFF;
    position: relative;
    border-top: 1px solid rgba(229, 231, 235, 0.5);
}

.landing-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.landing-product-card {
    background: var(--bg-white);
    padding: 0;
    border-radius: 18px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(17, 24, 39, 0.06);
}

.landing-product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.landing-product-cover {
    /* width: 100%; */
    height: 500px;
    background: linear-gradient(180deg, rgba(36, 75, 148, 0.06), rgba(36, 75, 148, 0.02));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0px;
}

.landing-product-cover-img {
    height: 100%;
    object-fit: contain; /* full ảnh, không crop */
    border-radius: 14px; /* bo tròn góc ảnh */
    background: #fff;
    box-shadow: 0 10px 24px rgba(17, 24, 39, 0.10);
    display: block;
}

.landing-product-body {
    padding: 1.75rem 2rem 2rem;
}

.landing-product-icon {
    width: 64px;
    height: 64px;
    margin: -40px auto 1.1rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 24px rgba(36, 75, 148, 0.22);
    border: 6px solid var(--bg-white);
}

.landing-product-icon i {
    font-size: 1.6rem;
    color: white;
}

.landing-product-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.landing-product-description {
    color: var(--text-gray);
    line-height: 1.6;
}

/* Packages Section */
.landing-packages {
    padding: 100px 20px;
    background: linear-gradient(180deg, #F9FAFB 0%, #FFFFFF 50%, #F9FAFB 100%);
    position: relative;
    overflow: hidden;
}

.landing-packages::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.landing-packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.landing-package-card {
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: 24px;
    padding: 0;
    text-align: center;
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.landing-package-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.landing-package-card:hover::before {
    transform: scaleX(1);
}

.landing-package-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(36, 75, 148, 0.15);
    border-color: var(--primary-color);
}

.landing-package-hot {
    border-color: var(--secondary-color);
    border-width: 3px;
    box-shadow: 0 8px 30px rgba(242, 96, 23, 0.2);
}

.landing-package-hot::before {
    background: var(--gradient-secondary);
    height: 5px;
}

.landing-package-hot:hover {
    box-shadow: 0 20px 50px rgba(242, 96, 23, 0.3);
    border-color: var(--secondary-dark);
}

.landing-package-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--gradient-secondary);
    color: white;
    padding: 0.625rem 1.25rem;
    border-radius: 50px;
    font-size: 0.8125rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(242, 96, 23, 0.4);
    z-index: 10;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.landing-package-badge i {
    animation: fire 1.5s infinite;
}

@keyframes fire {
    0%, 100% {
        transform: scale(1) rotate(0deg);
    }
    25% {
        transform: scale(1.1) rotate(-5deg);
    }
    75% {
        transform: scale(1.1) rotate(5deg);
    }
}

.landing-package-icon {
    width: 80px;
    height: 80px;
    margin: 2.5rem auto 1.5rem;
    background: linear-gradient(135deg, #244B94 0%, #3B82F6 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(36, 75, 148, 0.25);
    transition: all 0.4s ease;
}

.landing-package-card:hover .landing-package-icon {
    transform: rotate(5deg) scale(1.1);
    box-shadow: 0 12px 30px rgba(36, 75, 148, 0.35);
}

.landing-package-hot .landing-package-icon {
    background: var(--gradient-secondary);
    box-shadow: 0 8px 20px rgba(242, 96, 23, 0.25);
}

.landing-package-icon i {
    font-size: 2.5rem;
    color: white;
}

.landing-package-header {
    margin-bottom: 2rem;
    padding: 0 1.5rem;
}

.landing-package-code {
    color: var(--primary-color);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
    display: block;
    opacity: 0.8;
}

.landing-package-name {
    font-size: 1.625rem;
    font-weight: 800;
    color: var(--text-dark);
    margin: 0;
    line-height: 1.3;
    min-height: 69px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--text-dark) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.landing-package-hot .landing-package-name {
    background: linear-gradient(135deg, var(--text-dark) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.landing-package-points {
    margin: 2rem 0;
    padding: 0 1.5rem;
}

.landing-package-point-wrapper {
    background: linear-gradient(135deg, #F0F4FF 0%, #E0EBFF 100%);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    border: 2px solid rgba(36, 75, 148, 0.1);
    position: relative;
    overflow: hidden;
}

.landing-package-point-wrapper::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(36, 75, 148, 0.05) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.landing-package-hot .landing-package-point-wrapper {
    background: linear-gradient(135deg, #FFF4F0 0%, #FFE8E0 100%);
    border-color: rgba(242, 96, 23, 0.2);
}

.landing-package-point-value {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--primary-color);
    display: block;
    line-height: 1;
    position: relative;
    z-index: 1;
    background: linear-gradient(135deg, #244B94 0%, #3B82F6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.landing-package-hot .landing-package-point-value {
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.landing-package-point-label {
    font-size: 1.125rem;
    color: var(--text-gray);
    margin-top: 0.75rem;
    display: block;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.landing-package-price {
    margin: 2rem 0 1.5rem;
    padding: 0 1.5rem;
}

.landing-package-price-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.landing-package-price-old {
    font-size: 1.125rem;
    color: var(--text-light);
    text-decoration: line-through;
    font-weight: 500;
}

.landing-package-price-new {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--secondary-color);
    line-height: 1;
    position: relative;
}

.landing-package-price-new::before {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gradient-secondary);
    border-radius: 2px;
}

.landing-package-discount {
    margin-top: 0.75rem;
    padding: 0.5rem 1rem;
    background: rgba(242, 96, 23, 0.1);
    color: var(--secondary-color);
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.landing-package-discount i {
    font-size: 0.75rem;
}

.landing-package-description {
    color: var(--text-gray);
    margin: 1.5rem 0;
    padding: 0 1.5rem;
    line-height: 1.7;
    min-height: 60px;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    text-align: left;
    flex-shrink: 0;
}

.landing-package-description i {
    color: var(--primary-color);
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.landing-package-description p {
    margin: 0;
    flex: 1;
}

.landing-package-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: calc(100% - 3rem);
    margin: auto 1.5rem 2rem 1.5rem;
    padding: 1.125rem 1.5rem;
    background: var(--gradient-primary);
    color: white;
    text-decoration: none;
    border-radius: 14px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px rgba(36, 75, 148, 0.3);
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
    margin-top: auto;
}

.landing-package-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.landing-package-btn:hover::before {
    width: 300px;
    height: 300px;
}

.landing-package-btn span,
.landing-package-btn i {
    position: relative;
    z-index: 1;
}

.landing-package-btn:hover {
    background: var(--gradient-secondary);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(242, 96, 23, 0.4);
}

.landing-package-btn:active {
    transform: translateY(-1px);
}

.landing-package-hot .landing-package-btn {
    background: var(--gradient-secondary);
    box-shadow: 0 4px 15px rgba(242, 96, 23, 0.4);
}

.landing-package-hot .landing-package-btn:hover {
    background: linear-gradient(135deg, #E04E0E 0%, #F26017 100%);
    box-shadow: 0 8px 30px rgba(242, 96, 23, 0.5);
}

/* Contact Section */
.landing-contact {
    padding: 100px 20px;
    background: linear-gradient(135deg, #1E3A5F 0%, #244B94 50%, #1E3A5F 100%);
    color: white;
    position: relative;
    border-top: 2px solid rgba(255, 255, 255, 0.1);
}

.landing-contact .landing-section-title,
.landing-contact .landing-section-subtitle {
    color: white;
}

.landing-contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.landing-contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.landing-contact-item {
    display: flex;
    gap: 1.5rem;
    align-items: start;
}

.landing-contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.landing-contact-icon i {
    font-size: 1.5rem;
    color: white;
}

.landing-contact-details h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.landing-contact-details p {
    opacity: 0.9;
    line-height: 1.6;
}

.landing-contact-details a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.landing-contact-details a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.landing-contact-cta {
    background: rgba(255, 255, 255, 0.15);
    /* Reduced backdrop-filter for better performance */
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.landing-contact-cta h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.landing-contact-cta p {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

/* Footer */
.landing-footer {
    background: var(--text-dark);
    color: white;
    padding: 3rem 20px;
}

.landing-footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.landing-footer-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.landing-footer-logo {
    height: 40px;
    width: auto;
    border-radius: 10px;
    display: block;
}

.landing-footer-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
}

.landing-footer-links {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
}

.landing-footer-link {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.1) 100%);
    color: white;
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.landing-footer-link:nth-child(1) {
    background: linear-gradient(135deg, rgba(36, 75, 148, 0.8) 0%, rgba(36, 75, 148, 0.6) 100%);
    border-color: rgba(36, 75, 148, 0.4);
}

.landing-footer-link:nth-child(2) {
    background: linear-gradient(135deg, rgba(242, 96, 23, 0.8) 0%, rgba(242, 96, 23, 0.6) 100%);
    border-color: rgba(242, 96, 23, 0.4);
}

.landing-footer-link:nth-child(3) {
    background: linear-gradient(135deg, rgba(139, 69, 19, 0.8) 0%, rgba(139, 69, 19, 0.6) 100%);
    border-color: rgba(139, 69, 19, 0.4);
}

.landing-footer-link:nth-child(4) {
    background: linear-gradient(135deg, rgba(75, 0, 130, 0.8) 0%, rgba(75, 0, 130, 0.6) 100%);
    border-color: rgba(75, 0, 130, 0.4);
}

.landing-footer-link:nth-child(5) {
    background: linear-gradient(135deg, rgba(0, 128, 128, 0.8) 0%, rgba(0, 128, 128, 0.6) 100%);
    border-color: rgba(0, 128, 128, 0.4);
}

.landing-footer-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    opacity: 1;
    border-color: rgba(255, 255, 255, 0.4);
}

/* Empty State */
.landing-empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-gray);
}

.landing-empty-state i {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.landing-empty-state p {
    font-size: 1.125rem;
}

/* Tra cứu thần số */
.landing-tracuu-hero {
    position: relative;
    padding: 120px 20px 80px;
    min-height: 60vh;
    background: var(--gradient-primary);
    overflow: hidden;
}

.landing-tracuu-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(36, 75, 148, 0.9) 0%, rgba(30, 64, 175, 0.95) 50%, rgba(36, 75, 148, 0.9) 100%);
    overflow: hidden;
    z-index: 0;
}

.landing-tracuu-hero .landing-section-header {
    position: relative;
    z-index: 1;
}

.landing-tracuu-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.landing-tracuu-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
}

.landing-tracuu-card {
    position: relative;
    z-index: 1;
    max-width: 480px;
    margin: 2rem auto 0;
    background: var(--bg-white);
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
    padding: 2rem;
}

.landing-tracuu-form .landing-tracuu-field {
    margin-bottom: 1.25rem;
}

.landing-tracuu-form label {
    display: block;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 0.9375rem;
}

.landing-tracuu-form label .required {
    color: var(--secondary-color);
}

.landing-tracuu-form input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.landing-tracuu-form input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(36, 75, 148, 0.15);
}

.landing-tracuu-form input::placeholder {
    color: var(--text-light);
}

.landing-tracuu-btn {
    width: 100%;
    justify-content: center;
    padding: 1rem 1.5rem;
    margin-top: 0.5rem;
}

.landing-tracuu-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #b91c1c;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.9375rem;
    margin-bottom: 1rem;
}

.landing-tracuu-result {
    position: relative;
    z-index: 1;
    max-width: 720px;
    margin: 2rem auto 0;
    background: var(--bg-white);
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
    padding: 2rem;
}

.landing-tracuu-result-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-align: center;
}

.landing-tracuu-result-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 0.25rem;
}

.landing-tracuu-result-birth {
    font-size: 0.9375rem;
    color: var(--text-gray);
    text-align: center;
    margin-bottom: 1.5rem;
}

.landing-tracuu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 1rem;
}

.landing-tracuu-result-item {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.landing-tracuu-result-item:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-md);
}

.landing-tracuu-result-value {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1.2;
}

.landing-tracuu-result-label {
    display: block;
    font-size: 0.8125rem;
    color: var(--text-gray);
    margin-top: 0.25rem;
}

.landing-tracuu-note {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    font-size: 0.9375rem;
    color: var(--text-gray);
    text-align: center;
}

.landing-tracuu-about {
    padding: 80px 20px 100px;
    background: #F9FAFB;
    position: relative;
    border-top: 1px solid rgba(229, 231, 235, 0.8);
}

.landing-tracuu-scroll-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.75rem;
    font-size: 0.9375rem;
    color: var(--primary-color);
    font-weight: 500;
}

.landing-tracuu-scroll-hint i {
    font-size: 1rem;
    animation: scrollHintPulse 2s ease-in-out infinite;
}

@keyframes scrollHintPulse {
    0%, 100% { opacity: 1; transform: translateX(0); }
    50% { opacity: 0.7; transform: translateX(4px); }
}

.landing-tracuu-meaning-rows {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.landing-tracuu-meaning-scroll {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: none; /* Tắt snap khi auto-scroll để mượt hơn */
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) rgba(36, 75, 148, 0.15);
    padding-bottom: 0.5rem;
    scroll-behavior: auto; /* Tắt smooth scroll để JavaScript control hoàn toàn */
    /* Optimized GPU acceleration */
    will-change: scroll-position;
    transform: translate3d(0, 0, 0);
    -webkit-transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    /* Reduce repaints */
    contain: layout style paint;
}

.landing-tracuu-meaning-scroll.auto-scrolling {
    scroll-behavior: auto;
    scroll-snap-type: none;
}

.landing-tracuu-meaning-scroll::-webkit-scrollbar {
    height: 8px;
}

.landing-tracuu-meaning-scroll::-webkit-scrollbar-track {
    background: rgba(36, 75, 148, 0.08);
    border-radius: 4px;
}

.landing-tracuu-meaning-scroll::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

.landing-tracuu-meaning-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 1.5rem;
    padding: 0.25rem 0;
    min-width: min-content;
    /* Optimized rendering performance */
    will-change: transform;
    transform: translate3d(0, 0, 0);
    -webkit-transform: translate3d(0, 0, 0);
    /* Reduce repaints */
    contain: layout style paint;
}

.landing-tracuu-meaning-item {
    flex: 0 0 320px;
    width: 320px;
    max-width: 320px;
    background: var(--bg-white);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 12px;
    padding: 0;
    border: 1px solid var(--border-color);
    /* Optimized transitions - only transform, no box-shadow initially */
    transition: transform 0.2s ease-out;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    min-height: 200px;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    /* GPU acceleration and rendering optimization */
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    /* Reduce repaints - isolate rendering */
    contain: layout style paint;
    /* Lazy load optimization - don't render until visible */
    content-visibility: auto;
    contain-intrinsic-size: auto 200px;
}

.landing-tracuu-meaning-item:hover {
    transform: translateY(-4px) translateZ(0);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    /* Only add will-change on hover to avoid constant repaints */
    will-change: transform, box-shadow;
}

.landing-tracuu-meaning-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(36, 75, 148, 0.85) 0%, rgba(20, 40, 80, 0.75) 100%);
    z-index: 1;
    transition: opacity 0.3s ease;
}

.landing-tracuu-meaning-item:hover .landing-tracuu-meaning-overlay {
    opacity: 0.9;
}

/* Optimize background image loading */
.landing-tracuu-meaning-item:not(.bg-loaded) {
    background-color: var(--bg-white);
    background-image: none;
}

.landing-tracuu-meaning-item.bg-loaded {
    background-image: var(--bg-image-url);
}

.landing-tracuu-meaning-content-wrapper {
    position: relative;
    z-index: 2;
    padding: 1.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    color: white;
}

.landing-tracuu-meaning-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid rgba(36, 75, 148, 0.1);
}

.landing-tracuu-meaning-label {
    font-size: 1.125rem;
    font-weight: 600;
    color: white;
    flex: 1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.landing-tracuu-meaning-value {
    font-size: 1rem;
    font-weight: 700;
    color: white;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    padding: 0.375rem 0.875rem;
    border-radius: 6px;
    white-space: nowrap;
    margin-left: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.landing-tracuu-meaning-content {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
    margin: 0;
    flex: 1;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.landing-nav-link.active {
    color: var(--primary-color);
    font-weight: 600;
}

.landing-nav-link.active::after {
    width: 100%;
}

/* Responsive Design */
@media (max-width: 768px) {
    .landing-image-placeholder {
        height: auto;
        aspect-ratio: 1 / 1;
    }

    .landing-about-img {
        object-fit: contain; /* mobile: không bị cắt */
        background: #fff;
        padding: 12px;
        box-sizing: border-box;
    }

    .landing-nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow-lg);
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 999;
    }

    .landing-nav-links.active {
        transform: translateX(0);
    }

    .landing-nav-toggle {
        display: block;
    }

    .landing-hero-title {
        font-size: 1.5rem;
    }

    .landing-hero-subtitle {
        font-size: 1rem;
    }

    .landing-hero-description {
        font-size: 0.8rem;
    }

    .landing-hero-tracuu-card {
        max-width: 100%;
        padding: 1.5rem;
        font-size: 0.875rem;
    }

    .landing-hero-tracuu-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .landing-hero-tracuu-date-inputs {
        gap: 0.5rem;
    }

    .landing-hero-buttons {
        margin-bottom: 2rem;
        flex-direction: column;
        width: 100%;
    }

    .landing-hero-buttons .landing-btn {
        width: 100%;
        max-width: 100%;
    }

    .landing-tracuu-title {
        font-size: 1.875rem;
    }

    .landing-tracuu-card,
    .landing-tracuu-result {
        padding: 1.5rem;
        margin-left: 0;
        margin-right: 0;
    }

    .landing-tracuu-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .landing-tracuu-result-value {
        font-size: 1.5rem;
    }

    .landing-tracuu-meaning-scroll {
        margin-left: -1rem;
        margin-right: -1rem;
        padding-left: 1rem;
        padding-right: 1rem;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-x: contain;
        scroll-behavior: auto;
        /* Optimized GPU acceleration cho mobile */
        transform: translate3d(0, 0, 0);
        -webkit-transform: translate3d(0, 0, 0);
        contain: layout style paint;
        /* Reduce motion for better performance on low-end devices */
        will-change: scroll-position;
    }

    .landing-tracuu-meaning-item {
        flex: 0 0 280px;
        width: 280px;
        max-width: 280px;
        min-height: 180px;
    }

    .landing-tracuu-scroll-hint {
        font-size: 0.875rem;
    }

    /* Astro Stars - Mobile Optimization */
    .star-large {
        width: 4px;
        height: 4px;
    }
    
    .star-medium {
        width: 2.5px;
        height: 2.5px;
    }
    
    .star-small {
        width: 1.5px;
        height: 1.5px;
    }
    
    .shooting-star {
        height: 60px;
    }
    
    .star-cluster {
        width: 80px;
        height: 80px;
    }
    
    .cluster-star {
        width: 1px;
        height: 1px;
    }

    /* Numerology Effects - Mobile Optimization */
    .num-item {
        font-size: 4rem;
    }

    .geo-circle.geo-1 {
        width: 200px;
        height: 200px;
    }

    .geo-circle.geo-2 {
        width: 150px;
        height: 150px;
    }

    .geo-circle.geo-3 {
        width: 100px;
        height: 100px;
    }

    .geo-hexagon.geo-1 {
        width: 80px;
        height: 80px;
    }

    .particle {
        width: 3px;
        height: 3px;
    }

    .landing-section-title {
        font-size: 1.75rem;
    }

    .landing-section-subtitle {
        font-size: 1rem;
    }

    .landing-about {
        padding: 60px 20px;
    }

    .landing-about-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .landing-about-text {
        order: 1;
    }

    .landing-about-text h3 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .landing-about-text p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        line-height: 1.7;
    }

    .landing-about-features {
        grid-template-columns: 1fr;
        gap: 0.875rem;
    }

    .landing-feature-item {
        font-size: 0.9375rem;
    }

    .landing-about-image {
        order: 2;
    }

    .landing-image-placeholder {
        max-width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
    }

    .landing-contact {
        padding: 60px 20px;
    }

    .landing-contact-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .landing-contact-info {
        gap: 1.5rem;
    }

    .landing-contact-item {
        gap: 1rem;
        flex-direction: row;
        align-items: flex-start;
    }

    .landing-contact-icon {
        width: 45px;
        height: 45px;
    }

    .landing-contact-icon i {
        font-size: 1.25rem;
    }

    .landing-contact-details h4 {
        font-size: 1rem;
    }

    .landing-contact-details p {
        font-size: 0.9375rem;
    }

    .landing-contact-cta {
        padding: 2rem 1.5rem;
        border-radius: 16px;
    }

    .landing-contact-cta h3 {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }

    .landing-contact-cta p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .landing-about {
        padding: 50px 15px;
    }

    .landing-about-content {
        gap: 2rem;
    }

    .landing-about-text h3 {
        font-size: 1.375rem;
        margin-bottom: 0.875rem;
    }

    .landing-about-text p {
        font-size: 0.9375rem;
        margin-bottom: 1.25rem;
    }

    .landing-about-features {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .landing-feature-item {
        font-size: 0.875rem;
        padding: 0.5rem 0;
    }

    .landing-image-placeholder {
        max-width: 100%;
    }

    .landing-products-grid,
    .landing-packages-grid {
        grid-template-columns: 1fr;
    }

    .landing-footer-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .landing-hero-title {
        font-size: 1.5rem;
    }

    /* Astro Stars - Small Mobile */
    .star-large {
        width: 3px;
        height: 3px;
    }
    
    .star-medium {
        width: 2px;
        height: 2px;
    }
    
    .star-small {
        width: 1px;
        height: 1px;
    }
    
    .shooting-star {
        height: 50px;
        width: 1.5px;
    }
    
    .star-cluster {
        width: 60px;
        height: 60px;
    }

    /* Numerology Effects - Small Mobile */
    .num-item {
        font-size: 3rem;
    }

    .geo-circle.geo-1 {
        width: 150px;
        height: 150px;
    }

    .geo-circle.geo-2 {
        width: 100px;
        height: 100px;
    }

    .geo-circle.geo-3 {
        width: 80px;
        height: 80px;
    }

    .geo-hexagon.geo-1,
    .geo-hexagon.geo-2 {
        width: 60px;
        height: 60px;
    }

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

    .landing-hero-buttons .landing-btn {
        width: 100%;
        max-width: 100%;
    }

    .landing-btn {
        width: 100%;
        justify-content: center;
    }

    .landing-packages-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .landing-contact {
        padding: 50px 15px;
    }

    .landing-contact-content {
        gap: 2rem;
        justify-content: center;
    }

    .landing-contact-info {
        gap: 1.25rem;
    }

    .landing-contact-item {
        flex-direction: row;
        align-items: flex-start;
        gap: 1rem;
    }

    .landing-contact-icon {
        width: 40px;
        height: 40px;
    }

    .landing-contact-icon i {
        font-size: 1.125rem;
    }

    .landing-contact-details h4 {
        font-size: 0.9375rem;
        margin-bottom: 0.25rem;
    }

    .landing-contact-details p {
        font-size: 0.875rem;
    }

    .landing-contact-cta {
        padding: 1.5rem 1.25rem;
        border-radius: 12px;
    }

    .landing-contact-cta h3 {
        font-size: 1.25rem;
        margin-bottom: 0.5rem;
    }

    .landing-contact-cta p {
        font-size: 0.9375rem;
        margin-bottom: 1.25rem;
    }

    .landing-section-title {
        font-size: 1.5rem;
    }

    .landing-section-subtitle {
        font-size: 0.9375rem;
    }

    .landing-tracuu-indices-detailed {
        padding: 0.75rem 0;
    }

    .landing-tracuu-indices-columns {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }

    .landing-tracuu-indices-col {
        width: 100%;
        min-width: 0;
    }

    .landing-tracuu-index-item {
        padding: 0.625rem 0;
        gap: 0.2rem;
        width: 100%;
        max-width: 100%;
    }

    .landing-tracuu-index-content {
        flex: 1;
        min-width: 0;
        align-items: flex-end;
    }

    .landing-tracuu-index-icon {
        width: 28px;
        height: 28px;
        font-size: 0.75rem;
        margin-top: 0;
    }

    .landing-tracuu-index-label-text {
        font-size: 0.875rem;
        margin-bottom: 0.2rem;
        white-space: normal;
        word-break: break-word;
    }

    .landing-tracuu-index-value-text {
        font-size: 1.0625rem;
    }

    .landing-tracuu-life-stages {
        padding: 1rem 0;
        overflow-x: auto;
    }

    .landing-tracuu-stages-container {
        display: flex;
        flex-wrap: nowrap;
        gap: 0.2rem;
        padding: 0 0.5rem 0.5rem;
        width: 100%;
        max-width: 100%;
        justify-content: space-between;
        align-items: center;
    }

    .landing-tracuu-stage-hex {
        flex: 0 0 auto;
        width: 120px;
        height: 140px;
    }

    .landing-tracuu-stage-hex::before {
        border: none;
        box-shadow: 
            inset 0 0 15px rgba(36, 75, 148, 0.1),
            0 2px 6px rgba(0, 0, 0, 0.08);
    }

    .landing-tracuu-stage-peak {
        font-size: 0.625rem;
        margin-bottom: 0.5rem;
        line-height: 1.2;
    }

    .landing-tracuu-stage-age {
        font-size: 0.5625rem;
        margin: 0.5rem 0;
        line-height: 1.3;
    }

    .landing-tracuu-stage-challenge {
        font-size: 0.625rem;
        margin-top: 0.5rem;
        line-height: 1.2;
    }

    .landing-tracuu-stage-icon {
        width: 28px;
        height: 28px;
        font-size: 0.8125rem;
        top: -10px;
    }

    .landing-tracuu-stage-number {
        width: 16px;
        height: 16px;
        font-size: 0.625rem;
        top: -5px;
        right: -5px;
        border-width: 1.5px;
    }

    .landing-tracuu-stage-connector {
        display: none;
    }

    .landing-tracuu-charts {
        padding: 1rem 0;
    }

    .landing-tracuu-charts-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        width: 100%;
    }

    .landing-tracuu-chart {
        width: 100%;
        max-width: 100%;
    }

    .landing-tracuu-chart-grid {
        max-width: 100%;
        width: 100%;
        aspect-ratio: 1;
        padding: 1rem;
    }

    .landing-tracuu-chart-grid-inner {
        width: 100%;
        height: 100%;
    }

    .landing-tracuu-chart-icon-wrapper {
        width: 45px;
        height: 45px;
        margin-bottom: 0.625rem;
    }

    .landing-tracuu-chart-icon {
        font-size: 1.25rem;
    }

    .landing-package-card {
        padding: 0;
    }

    .landing-package-icon {
        width: 70px;
        height: 70px;
        margin: 2rem auto 1.25rem;
    }

    .landing-package-icon i {
        font-size: 2rem;
    }

    .landing-package-header {
        margin-bottom: 1.5rem;
        padding: 0 1.25rem;
    }

    .landing-package-name {
        font-size: 1.375rem;
    }

    .landing-package-points {
        margin: 1.5rem 0;
        padding: 0 1.25rem;
    }

    .landing-package-point-wrapper {
        padding: 1.5rem 1rem;
    }

    .landing-package-point-value {
        font-size: 2.75rem;
    }

    .landing-package-price {
        margin: 1.5rem 0 1rem;
        padding: 0 1.25rem;
    }

    .landing-package-price-new {
        font-size: 1.875rem;
    }

    .landing-package-description {
        margin: 1.25rem 0;
        padding: 0 1.25rem;
    }

    .landing-package-btn {
        width: calc(100% - 2.5rem);
        margin: 0 1.25rem 1.75rem;
        padding: 1rem 1.25rem;
    }

    .landing-package-badge {
        top: 15px;
        right: 15px;
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
    }
}

/* Tra cứu Result Section - Large */
.landing-tracuu-result-section {
    padding: 4rem 0 6rem;
    background: linear-gradient(180deg, rgba(36, 75, 148, 0.02) 0%, rgba(255, 255, 255, 1) 100%);
    min-height: 600px;
    position: relative;
    z-index: 1;
}

.landing-tracuu-result-container {
    max-width: 960px;
    margin: 0 auto;
    background: var(--bg-white);
    border-radius: 24px;
    box-shadow: 0 20px 60px -12px rgba(0, 0, 0, 0.15);
    padding: 3rem;
    position: relative;
    overflow: hidden;
}

.landing-tracuu-result-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-secondary);
}

.landing-tracuu-result-header-large {
    text-align: center;
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--border-color);
}

.landing-tracuu-result-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 12px rgba(36, 75, 148, 0.3);
}

.landing-tracuu-result-badge i {
    font-size: 0.875rem;
}

.landing-tracuu-result-title-large {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.landing-tracuu-result-subtitle-large {
    font-size: 1.125rem;
    color: var(--text-gray);
    font-weight: 500;
}

.landing-tracuu-result-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.landing-tracuu-action-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.landing-tracuu-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.landing-tracuu-action-btn i {
    font-size: 1.5rem;
}

.landing-tracuu-scroll-hint {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-gray);
    font-size: 0.875rem;
    font-style: italic;
}

.landing-tracuu-scroll-hint i {
    animation: bounce 2s infinite;
    color: var(--primary-color);
}

.landing-tracuu-result-brand {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(36, 75, 148, 0.05) 0%, rgba(242, 96, 23, 0.05) 100%);
    border-radius: 16px;
}

.landing-tracuu-result-brand p {
    font-size: 0.9375rem;
    color: var(--text-gray);
    margin-bottom: 0.5rem;
}

.landing-tracuu-result-brand h3 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.landing-tracuu-result-tagline {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.landing-tracuu-result-description {
    font-size: 1rem;
    color: var(--text-gray);
    font-style: italic;
}

.landing-tracuu-result-indices {
    margin-bottom: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(36, 75, 148, 0.03) 0%, rgba(242, 96, 23, 0.03) 100%);
    border-radius: 20px;
    border: 1px solid rgba(36, 75, 148, 0.1);
}

.landing-tracuu-indices-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 1rem;
}

.landing-tracuu-indices-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--gradient-secondary);
    border-radius: 2px;
}

.landing-tracuu-indices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1.75rem;
}

.landing-tracuu-index-card {
    background: var(--bg-white);
    border: 2px solid rgba(36, 75, 148, 0.2);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.landing-tracuu-index-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.landing-tracuu-index-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 30px rgba(36, 75, 148, 0.25);
    border-color: var(--primary-color);
}

.landing-tracuu-index-card:hover::before {
    transform: scaleX(1);
}

.landing-tracuu-index-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    font-size: 3rem;
    font-weight: 900;
    color: white;
    background: var(--gradient-primary);
    border-radius: 50%;
    line-height: 1;
    margin-bottom: 1rem;
    box-shadow: 0 8px 20px rgba(36, 75, 148, 0.3);
    position: relative;
    z-index: 1;
    transition: all 0.4s ease;
}

.landing-tracuu-index-card:hover .landing-tracuu-index-number {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 30px rgba(36, 75, 148, 0.4);
}

.landing-tracuu-index-label {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.landing-tracuu-result-cta {
    text-align: center;
    padding-top: 2rem;
    border-top: 2px solid var(--border-color);
}

.landing-tracuu-cta-text {
    font-size: 1.125rem;
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.landing-tracuu-cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
}

.landing-tracuu-cta-buttons .landing-btn {
    min-width: 220px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .landing-tracuu-result-container {
        padding: 0.2rem 0.2rem;
        border-radius: 16px;
    }

    .landing-tracuu-result-title-large {
        font-size: 1.5rem;
    }

    .landing-tracuu-result-brand h3 {
        font-size: 1.375rem;
    }

    .landing-tracuu-result-indices {
        padding: 1.5rem;
    }

    .landing-tracuu-indices-title {
        font-size: 1.375rem;
        margin-bottom: 2rem;
    }

    .landing-tracuu-indices-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }

    .landing-tracuu-index-card {
        padding: 1.5rem 1rem;
    }

    .landing-tracuu-index-number {
        width: 65px;
        height: 65px;
        font-size: 2.25rem;
    }

    .landing-tracuu-index-label {
        font-size: 0.875rem;
    }

    .landing-tracuu-cta-buttons {
        flex-direction: column;
    }

    .landing-tracuu-cta-buttons .landing-btn {
        width: 100%;
    }

    .landing-tracuu-indices-detailed {
        padding: 1rem 0;
    }

    .landing-tracuu-indices-columns {
        grid-template-columns: 1fr !important;
        gap: 1.25rem !important;
    }

    .landing-tracuu-indices-col {
        width: 100%;
        min-width: 0;
    }

    .landing-tracuu-index-item {
        padding: 0.2rem 0;
        gap: 0.75rem;
        width: 100%;
        max-width: 100%;
        font-size: 0.875rem;
    }

    .landing-tracuu-index-content {
        align-items: flex-end;
    }

    .landing-tracuu-index-icon {
        width: 30px;
        height: 30px;
        font-size: 0.8125rem;
        margin-top: 0;
    }

    .landing-tracuu-index-label-text {
        font-size: 0.9375rem;
        margin-bottom: 0.25rem;
        white-space: normal;
        word-break: break-word;
    }

    .landing-tracuu-index-value-text {
        font-size: 1.125rem;
    }

    .landing-tracuu-stage-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
        top: -12px;
    }

    .landing-tracuu-stage-number {
        width: 18px;
        height: 18px;
        font-size: 0.6875rem;
        top: -6px;
        right: -6px;
        border-width: 1.5px;
    }

    .landing-tracuu-chart-icon-wrapper {
        width: 50px;
        height: 50px;
        margin-bottom: 0.75rem;
    }

    .landing-tracuu-chart-icon {
        font-size: 1.5rem;
    }

    .landing-tracuu-charts-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        width: 100%;
    }

    .landing-tracuu-chart {
        width: 100%;
        max-width: 100%;
    }

    .landing-tracuu-chart-grid {
        max-width: 100%;
        width: 100%;
        aspect-ratio: 1;
        padding: 1rem;
    }

    .landing-tracuu-chart-grid-inner {
        width: 100%;
        height: 100%;
    }

    .landing-tracuu-life-stages {
        padding: 1.5rem 0;
    }

    .landing-tracuu-stages-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 0 1rem;
        max-width: 100%;
        justify-items: center;
        align-items: start;
    }

    .landing-tracuu-stage-hex {
        width: 100%;
        max-width: 160px;
        height: 180px;
    }

    .landing-tracuu-stage-hex::before {
        border: none;
        box-shadow: 
            inset 0 0 18px rgba(36, 75, 148, 0.1),
            0 3px 8px rgba(0, 0, 0, 0.1);
    }

    .landing-tracuu-stage-peak {
        font-size: 0.6875rem;
        margin-bottom: 0.5rem;
        line-height: 1.2;
    }

    .landing-tracuu-stage-age {
        font-size: 0.625rem;
        margin: 0.5rem 0;
        line-height: 1.3;
    }

    .landing-tracuu-stage-challenge {
        font-size: 0.6875rem;
        margin-top: 0.5rem;
        line-height: 1.2;
    }

    .landing-tracuu-stage-icon {
        width: 32px;
        height: 32px;
        font-size: 0.9375rem;
        top: -12px;
    }

    .landing-tracuu-stage-number {
        width: 18px;
        height: 18px;
        font-size: 0.6875rem;
        top: -6px;
        right: -6px;
        border-width: 1.5px;
    }

    .landing-tracuu-stage-connector {
        display: none;
    }

    .landing-tracuu-charts {
        padding: 1.5rem 0;
    }

    .landing-tracuu-charts-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        width: 100%;
    }

    .landing-tracuu-chart {
        width: 100%;
        max-width: 100%;
    }

    .landing-tracuu-chart-grid {
        max-width: 100%;
        width: 100%;
        aspect-ratio: 1;
        padding: 0.875rem;
    }

    .landing-tracuu-chart-grid-inner {
        width: 100%;
        height: 100%;
    }
}

/* Detailed Indices Section - 2 Columns */
.landing-tracuu-indices-detailed {
    margin-bottom: 1rem;
    padding: 0;
}

.landing-tracuu-indices-columns {
    display: flex;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 100%;
    margin: 0 auto;
    width: 100%;
    /* GPU acceleration and rendering optimization */
    will-change: contents;
    contain: layout style paint;
    transform: translateZ(0);
}

/* 2 cột tự động gộp 1 cột trên tablet/mobile */
@media (max-width: 992px) {
    .landing-tracuu-indices-columns {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
        width: 100% !important;
        max-width: 100% !important;
        contain: none;
    }
    .landing-tracuu-indices-col {
        min-width: 0;
        width: 100%;
        contain: none;
    }
}

.landing-tracuu-indices-col {
    display: flex;
    flex-direction: column;
    gap: 0;
    /* Optimize rendering - isolate this container */
    contain: layout style;
    transform: translateZ(0);
    flex: 1 1 50%;
}

.landing-tracuu-index-item {
    display: flex;
    align-items: flex-start;
    padding: 0.2rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    gap: 0.75rem;
    transition: background-color 0.2s ease;
}

.landing-tracuu-index-item:hover {
    background-color: rgba(36, 75, 148, 0.02);
    border-radius: 6px;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    margin-left: -0.5rem;
    margin-right: -0.5rem;
}

.landing-tracuu-index-item:last-child {
    border-bottom: none;
}

.landing-tracuu-index-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    border-radius: 8px;
    color: white;
    font-size: 0.875rem;
    box-shadow: 0 2px 8px rgba(36, 75, 148, 0.2);
    transition: all 0.3s ease;
    margin-top: 0.125rem;
}

.landing-tracuu-index-item:hover .landing-tracuu-index-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 4px 12px rgba(36, 75, 148, 0.3);
}

.landing-tracuu-index-content {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    flex: 1;
    text-align: right;
}

.landing-tracuu-index-label-text {
    font-size: 0.9375rem;
    font-weight: 400;
    color: #000;
    text-align: right;
    margin-bottom: 0.25rem;
    line-height: 1.2;
    white-space: nowrap;
}

.landing-tracuu-index-value-text {
    font-size: 1.125rem;
    font-weight: 600;
    color: #dc2626;
    text-align: right;
    line-height: 1;
}

@media (max-width: 960px) {
    .landing-tracuu-index-label-text {
        font-size: 0.75rem;
    }

    .landing-tracuu-index-value-text {
        font-size: 1rem;
    }

    .landing-tracuu-index-icon {
        width: 24px;
        height: 24px;
        font-size: 0.625rem;
    }

    .landing-tracuu-index-content {
        flex: 1;
        min-width: 0;
        align-items: flex-end;
    }

    /* Life stages: sắp xếp đều, chữ nhỏ */
    .landing-tracuu-life-stages {
        padding: 1.25rem 0;
    }

    .landing-tracuu-stages-container {
        display: flex;
        flex-wrap: nowrap;
        justify-content: space-between;
        align-items: center;
        gap: 0.5rem;
        padding: 0 0.5rem;
        width: 100%;
        max-width: 100%;
    }

    .landing-tracuu-stage-hex {
        flex: 0 0 auto;
        width: 140px;
        height: 160px;
    }

    .landing-tracuu-stage-peak {
        font-size: 0.625rem;
        margin-bottom: 0.4rem;
        line-height: 1.2;
    }

    .landing-tracuu-stage-age {
        font-size: 0.5625rem;
        margin: 0.4rem 0;
        line-height: 1.25;
    }

    .landing-tracuu-stage-challenge {
        font-size: 0.625rem;
        margin-top: 0.4rem;
        line-height: 1.2;
    }

    .landing-tracuu-stage-icon {
        width: 32px;
        height: 32px;
        font-size: 0.875rem;
    }

    .landing-tracuu-stage-number {
        width: 18px;
        height: 18px;
        font-size: 0.625rem;
    }

    .landing-hero-tracuu-form input {
        font-size: 0.75rem;
    }

    .landing-hero-tracuu-form button {
        font-size: 0.75rem;
    }
    
    
}

/* Life Stages Section - Hexagons */
.landing-tracuu-life-stages {
    margin-bottom: 0.2rem;
    padding: 2.2rem 0;
}

.landing-tracuu-stages-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 0.5rem;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 0.5rem;
}

.landing-tracuu-stage-hex {
    width: 60px;
    height: 70px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: transparent;
}

.landing-tracuu-stage-icon {
    position: absolute;
    top: -15px;
    z-index: 2;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    border-radius: 50%;
    color: white;
    font-size: 1.125rem;
    box-shadow: 0 4px 12px rgba(36, 75, 148, 0.3);
    animation: iconFloat 3s ease-in-out infinite;
}

.landing-tracuu-stage-icon i {
    position: relative;
    z-index: 1;
}

.landing-tracuu-stage-number {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
    border-radius: 50%;
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    border: 2px solid white;
    box-shadow: 0 2px 6px rgba(220, 38, 38, 0.4);
    z-index: 3;
    line-height: 1;
}

@keyframes iconFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-5px) rotate(10deg);
    }
}

.landing-tracuu-stage-hex::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(135deg, rgba(36, 75, 148, 0.08) 0%, rgba(36, 75, 148, 0.03) 100%);
    border: none;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    box-shadow: 
        inset 0 0 20px rgba(36, 75, 148, 0.1),
        0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 0;
    filter: none;
    box-sizing: border-box;
}

/* Sparkle effects around hexagon */
.landing-tracuu-stage-hex::after {
    content: '';
    position: absolute;
    width: 120%;
    height: 120%;
    top: -10%;
    left: -10%;
    background: radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.6) 1px, transparent 1px),
                radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.6) 1px, transparent 1px),
                radial-gradient(circle at 50% 10%, rgba(255, 255, 255, 0.4) 1px, transparent 1px);
    background-size: 20px 20px, 25px 25px, 15px 15px;
    z-index: -1;
    animation: sparkle 3s ease-in-out infinite;
    pointer-events: none;
}

@keyframes sparkle {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.7; }
}

.landing-tracuu-stage-peak,
.landing-tracuu-stage-age,
.landing-tracuu-stage-challenge {
    position: relative;
    z-index: 1;
    text-align: center;
    line-height: 1.4;
}

.landing-tracuu-stage-peak {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
    margin-bottom: 0.75rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: #dc2626;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.landing-tracuu-stage-label {
    display: block;
    line-height: 1.2;
    color: #000;
    white-space: nowrap;
}

.landing-tracuu-stage-age {
    margin: 0.75rem 0;
    font-size: 0.6875rem;
    font-weight: 500;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.landing-tracuu-stage-challenge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
    margin-top: 0.75rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: #dc2626;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.landing-tracuu-stage-connector {
    width: 5px;
    height: 2px;
    border-top: 2px dashed rgba(0, 0, 0, 0.25);
    margin: 0 0.75rem;
}

@media (max-width: 960px) {
    .landing-tracuu-stage-peak,
    .landing-tracuu-stage-challenge {
        font-size: 0.5rem;
        color: #000000;
    }

    .landing-tracuu-stage-text-number {
        color: #dc2626;
        font-size: 0.75rem;
        font-weight: 700;
    }

    /* Charts: smaller numbers on mobile/tablet */
    .landing-tracuu-chart-number {
        font-size: 1rem !important;
    }
    .landing-tracuu-chart-bg-number {
        font-size: 1.5rem !important;
    }
}

/* Charts Section - Grids */
.landing-tracuu-charts {
    margin-bottom: 0rem;
    padding: 0rem 0;
}

.landing-tracuu-charts-container {
    display: flex;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 100%;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .landing-tracuu-charts-container {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
        width: 100% !important;
    }
}

.landing-tracuu-chart {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    width: 100%;
}

.landing-tracuu-chart-icon-wrapper {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 50%;
    margin-bottom: 1rem;
    box-shadow: 0 6px 20px rgba(36, 75, 148, 0.3);
    position: relative;
    animation: chartIconPulse 2s ease-in-out infinite;
}

.landing-tracuu-chart-icon-wrapper::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    opacity: 0.5;
    animation: chartIconRipple 2s ease-out infinite;
}

@keyframes chartIconPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes chartIconRipple {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.landing-tracuu-chart-icon {
    font-size: 1.75rem;
    color: white;
    z-index: 1;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.landing-tracuu-chart-grid {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1;
    position: relative;
    background: var(--bg-white);
    border: 2px solid rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    padding: 0rem;
    margin-bottom: 0rem;
    min-height: 0;
}

.landing-tracuu-chart-grid-inner {
    width: 100%;
    height: 100%;
    position: relative;
    background-image: 
        linear-gradient(to right, rgba(0, 0, 0, 0.15) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(0, 0, 0, 0.15) 1px, transparent 1px);
    background-size: 33.333% 33.333%;
    background-position: 0 0, 0 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 0;
}

.landing-tracuu-chart-cell {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid rgba(0, 0, 0, 0.15);
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

/* Background number in each cell - faded */
.landing-tracuu-chart-bg-number {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    font-weight: 300;
    color: rgba(0, 0, 0, 0.08);
    line-height: 1;
    z-index: 0;
    user-select: none;
    pointer-events: none;
}

.landing-tracuu-chart-cell:nth-child(3n) {
    border-right: none;
}

.landing-tracuu-chart-cell:nth-child(n+7) {
    border-bottom: none;
}

.landing-tracuu-chart-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: #dc2626;
    position: absolute;
    line-height: 1.2;
}

.landing-tracuu-chart-circle {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.3);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.landing-tracuu-chart-label {
    font-size: 0.875rem;
    font-weight: 700;
    color: #000;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.5rem;
}

/* Skeleton Loading Styles - Optimistic UI */
.landing-result-loading {
    opacity: 0.95;
}

.landing-result-title-loading,
.landing-result-subtitle-loading {
    position: relative;
    overflow: hidden;
}

.landing-result-title-loading::after,
.landing-result-subtitle-loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: skeleton-shimmer 1.5s infinite;
}

.landing-skeleton-index {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s ease-in-out infinite;
    border-radius: 12px;
    height: 80px;
    margin-bottom: 1rem;
    opacity: 0.7;
}

@keyframes skeleton-shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Faster button loading animation */
.landing-hero-tracuu-btn--loading {
    position: relative;
    overflow: hidden;
}

.landing-hero-tracuu-btn--loading::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: button-shimmer 1s infinite;
}

@keyframes button-shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* Smooth fade-in for result section */
.landing-tracuu-result-section {
    animation: fadeInUp 0.4s ease-out;
}

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

/* Optimized: No animation delays - show immediately for fastest rendering */
.landing-tracuu-index-item {
    opacity: 1;
    transform: scale(1);
    /* Removed animation for instant display - much faster */
    /* If animation needed, use CSS transition instead (faster than keyframes) */
    transition: opacity 0.1s ease-out, transform 0.1s ease-out;
}

/* ========== Modal: Xem luận giải 6 chỉ số (nội dung từ content.json) ========== */
.landing-modal-luan-giai-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.55);
    padding: 1rem;
    overflow-y: auto;
}
.landing-modal-luan-giai-overlay.landing-modal-open {
    display: flex;
}
.landing-modal-luan-giai-container {
    background: var(--bg-light, #fff);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    max-width: 720px;
    width: 100%;
    max-height: calc(100vh - 2rem);
    display: flex;
    flex-direction: column;
    margin: auto;
}
.landing-modal-luan-giai-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    border-bottom: 2px solid var(--border-color, #e5e7eb);
    flex-shrink: 0;
}
.landing-modal-luan-giai-title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark, #1f2937);
}
.landing-modal-luan-giai-close {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 10px;
    background: transparent;
    color: var(--text-gray, #6b7280);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
}
.landing-modal-luan-giai-close:hover {
    background: rgba(0, 0, 0, 0.06);
    color: var(--text-dark, #1f2937);
}
.landing-modal-luan-giai-body {
    padding: 1rem 1.25rem 1.5rem;
    overflow-y: auto;
    flex: 1;
    min-height: 0;
}
.landing-modal-luan-giai-card {
    border: 1px solid var(--border-color, #e5e7eb);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1rem;
}
.landing-modal-luan-giai-card:last-child {
    margin-bottom: 0;
}
.landing-modal-luan-giai-card-header {
    position: relative;
    padding: 1rem 1.25rem;
    background-size: cover;
    background-position: center;
    background-color: var(--primary-light, #f0f4ff);
    overflow: hidden;
}
/* Lớp phủ màu giống section #indices (landing-tracuu-meaning-overlay) */
.landing-modal-luan-giai-card-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(36, 75, 148, 0.85) 0%, rgba(20, 40, 80, 0.75) 100%);
    z-index: 1;
}
.landing-modal-luan-giai-card-header-top,
.landing-modal-luan-giai-card-desc {
    position: relative;
    z-index: 2;
    color: white;
}
.landing-modal-luan-giai-card-header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}
.landing-modal-luan-giai-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: white;
    letter-spacing: 0.5px;
}
.landing-modal-luan-giai-card-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.95);
}
.landing-modal-luan-giai-card-desc {
    margin: 0.5rem 0 0;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.4;
}
.landing-modal-luan-giai-card-body {
    padding: 1rem 1.25rem;
    background: #fff;
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--text-dark, #1f2937);
}
.landing-modal-luan-giai-dinh-nghia,
.landing-modal-luan-giai-noi-dung {
    margin-bottom: 0.75rem;
}
.landing-modal-luan-giai-dinh-nghia:last-child,
.landing-modal-luan-giai-noi-dung:last-child {
    margin-bottom: 0;
}
.landing-modal-luan-giai-subheading {
    font-weight: 600;
    color: var(--text-dark, #1f2937);
}
.landing-modal-luan-giai-empty,
.landing-modal-luan-giai-khong-noi-dung {
    text-align: center;
    color: var(--text-gray, #6b7280);
    padding: 1.5rem;
    margin: 0;
}

/* Modal footer: liên hệ đặt mua + nút Zalo */
.landing-modal-luan-giai-footer {
    flex-shrink: 0;
    padding: 1.25rem 1.5rem 1.5rem;
    border-top: 2px solid var(--border-color, #e5e7eb);
    background: var(--bg-light, #f9fafb);
}
.landing-modal-luan-giai-footer-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 0 1rem;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark, #1f2937);
}
.landing-modal-luan-giai-footer-title i {
    color: var(--primary, #4f46e5);
    font-size: 1.125rem;
}
.landing-modal-luan-giai-contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem 1.5rem;
    margin-bottom: 1.25rem;
}
.landing-modal-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.875rem;
    min-width: 0;
}
.landing-modal-contact-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(79, 70, 229, 0.12);
    color: var(--primary, #4f46e5);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.landing-modal-contact-icon i {
    font-size: 0.9375rem;
}
.landing-modal-contact-text {
    min-width: 0;
    flex: 1;
}
.landing-modal-contact-label {
    display: block;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--text-gray, #6b7280);
    margin-bottom: 0.25rem;
}
.landing-modal-contact-item p {
    margin: 0;
    line-height: 1.45;
    color: var(--text-dark, #1f2937);
    font-size: 0.8rem;
    word-break: break-word;
}
.landing-modal-contact-item a {
    color: var(--primary, #4f46e5);
    text-decoration: none;
}
.landing-modal-contact-item a:hover {
    text-decoration: underline;
}
.landing-modal-luan-giai-footer-cta {
    text-align: center;
    padding-top: 0.5rem;
    border-top: 1px solid var(--border-color, #e5e7eb);
}
.landing-modal-zalo-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    background: #0068ff;
    color: white;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9375rem;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s;
    border: none;
    cursor: pointer;
}
.landing-modal-zalo-btn:hover {
    background: #0052cc;
    color: white;
    transform: translateY(-1px);
}
.landing-modal-zalo-btn i {
    font-size: 1.25rem;
}

@media (max-width: 560px) {
    .landing-modal-luan-giai-contact {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
}

/* Nút cố định góc dưới phải: Zalo + Hotline - hiệu ứng thu hút */
@keyframes landing-float-glow {
    0%, 100% {
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2), 0 0 0 0 rgba(0, 104, 255, 0.4);
    }
    50% {
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25), 0 0 0 12px rgba(0, 104, 255, 0);
    }
}
@keyframes landing-float-glow-hotline {
    0%, 100% {
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2), 0 0 0 0 rgba(16, 185, 129, 0.4);
    }
    50% {
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25), 0 0 0 12px rgba(16, 185, 129, 0);
    }
}
@keyframes landing-float-ring {
    0% {
        transform: scale(1);
        opacity: 0.5;
        border-width: 2px;
    }
    100% {
        transform: scale(1.8);
        opacity: 0;
        border-width: 1px;
    }
}
@keyframes landing-float-soft-bounce {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.landing-float-contact {
    position: fixed;
    bottom: 1.25rem;
    right: 1.25rem;
    z-index: 9998;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    pointer-events: none;
}
.landing-float-contact .landing-float-btn {
    pointer-events: auto;
}
.landing-float-btn {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    color: #fff;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
    position: relative;
    overflow: visible;
}
.landing-float-btn::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid currentColor;
    opacity: 0;
    pointer-events: none;
}
.landing-float-btn:hover {
    transform: scale(1.12);
    color: #fff;
    animation: none;
}
.landing-float-btn:hover::before {
    animation: none;
    opacity: 0;
}
.landing-float-zalo {
    background: #0068ff;
    animation: landing-float-glow 2.2s ease-in-out infinite;
}
.landing-float-zalo::before {
    border-color: #0068ff;
    animation: landing-float-ring 2.2s ease-out infinite;
}
.landing-float-zalo:hover {
    box-shadow: 0 8px 24px rgba(0, 104, 255, 0.45), 0 4px 16px rgba(0, 0, 0, 0.2);
    background: #0052cc;
}
.landing-float-zalo-icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
    display: block;
    position: relative;
    z-index: 1;
}
.landing-float-hotline {
    background: #10b981;
    animation: landing-float-glow-hotline 2.2s ease-in-out infinite 0.5s;
}
.landing-float-hotline::before {
    border-color: #10b981;
    animation: landing-float-ring 2.2s ease-out infinite 0.5s;
}
.landing-float-hotline:hover {
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.45), 0 4px 16px rgba(0, 0, 0, 0.2);
    background: #059669;
}
.landing-float-hotline i {
    font-size: 1.35rem;
    position: relative;
    z-index: 1;
}
.landing-float-tooltip {
    position: absolute;
    right: calc(100% + 10px);
    top: 50%;
    transform: translateY(-50%);
    white-space: nowrap;
    background: rgba(0, 0, 0, 0.85);
    color: #fff;
    padding: 0.4rem 0.65rem;
    border-radius: 8px;
    font-size: 0.8125rem;
    font-weight: 500;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s;
    pointer-events: none;
    z-index: 2;
}
.landing-float-btn:hover .landing-float-tooltip {
    opacity: 1;
    visibility: visible;
}
.landing-float-tooltip::after {
    content: '';
    position: absolute;
    right: -5px;
    top: 50%;
    transform: translateY(-50%);
    border: 5px solid transparent;
    border-left-color: rgba(0, 0, 0, 0.85);
}
