/* ==========================================
   GO FAR — DESIGN SYSTEM
   Aesthetic: Vibrant, modern, free-spirited, bright
   ========================================== */

/* RESET & BASE */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors — Feng Shui 'Tương Sinh' (Water, Wood, Fire) */
    --bg-primary: #1A374D;      /* Water — Navy đậm, tin cậy */
    --bg-secondary: #162c3e;
    --bg-card: rgba(22, 44, 62, 0.85);
    --bg-glass: rgba(255, 255, 255, 0.05);

    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;

    --accent-warm: #FF8C32;     /* Fire — Cam san hô, năng lượng */
    --accent-nature: #2D5A27;   /* Wood — Xanh rừng, sinh sôi */
    --accent-gold: #fbbf24;
    --accent-teal: #22d3ee;

    --gradient-hero: linear-gradient(135deg, #FF8C32 0%, #fbbf24 50%, #2D5A27 100%);
    --gradient-warm: linear-gradient(135deg, #FF8C32, #f97316);
    --gradient-dark: linear-gradient(180deg, rgba(26,55,77,0) 0%, #1A374D 100%);

    /* Typography */
    --font-main: 'Space Grotesk', sans-serif;
    --font-accent: 'Caveat', cursive;
    --font-body: 'Inter', sans-serif;

    /* Spacing — "Khoảng thở" (Breathability) */
    --space-xs: 0.75rem;
    --space-sm: 1.5rem;
    --space-md: 3rem;
    --space-lg: 6rem;
    --space-xl: 9rem;
    --space-2xl: 14rem;
    --space-3xl: 10rem;

    --accent-bright: #fbbf24;

    /* Border */
    --border-subtle: 1px solid rgba(255, 255, 255, 0.1);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 999px;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 4vw, 4rem);
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

/* CURSOR GLOW */
.cursor-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.08) 0%, rgba(34, 211, 238, 0.03) 50%, transparent 70%);
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s;
    opacity: 0;
}

body:hover .cursor-glow {
    opacity: 1;
}

/* ==========================================
   NAVIGATION
   ========================================== */
.nav {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    background: linear-gradient(135deg, #1A374D 0%, #1e3f56 50%, #1A374D 100%);
    border-bottom: 2px solid;
    border-image: linear-gradient(90deg, transparent, #FF8C32, #fbbf24, #2D5A27, transparent) 1;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav.scrolled {
    background: linear-gradient(135deg, #162c3e 0%, #1A374D 100%);
    padding: 0.7rem 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.nav-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 4vw, 4rem);
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-logo {
    display: block;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    text-decoration: none;
    z-index: 1001;
    flex-shrink: 0;
    background-color: rgb(234, 234, 234); /* Đồng bộ màu nền của logo gốc để loại bỏ viền vuông */
    box-shadow: 0 4px 12px rgba(0,0,0,0.18);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s;
}

.logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Giữ nguyên tỷ lệ ảnh gốc, tuyệt đối không bị crop mất viền */
    padding: 3px; /* Tạo khoảng trống an toàn bên trong để không chạm vào mép cắt của container */
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    transform: scale(1.0);
}

.nav-logo:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.25), 0 0 12px rgba(255, 140, 50, 0.3);
}

.nav-logo:hover .logo-img {
    transform: scale(1.35); /* Phóng to mạnh phần trung tâm logo khi hover để đọc rõ chữ vàng */
}

.nav-links {
    display: flex;
    gap: 2rem;
    margin-left: auto;
}

.nav-link {
    font-family: var(--font-main);
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--text-secondary);
    letter-spacing: 0.02em;
    position: relative;
    transition: color 0.3s, text-shadow 0.3s;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-warm);
    transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 2px;
    box-shadow: 0 0 8px rgba(255, 107, 53, 0.4);
}

.nav-link:hover {
    color: var(--text-primary);
    text-shadow: 0 0 20px rgba(255, 107, 53, 0.3);
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-search {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.3s;
    display: flex;
}

.btn-search:hover {
    color: var(--accent-warm);
}

.btn-nav-cta {
    background: var(--gradient-warm);
    color: #fff;
    font-family: var(--font-main);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.55rem 1.25rem;
    border-radius: var(--radius-full);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    line-height: 1;
}

.btn-nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
    color: #fff;
}

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

@media (max-width: 768px) {
    .btn-nav-cta {
        display: none;
    }
}

.btn-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.btn-menu span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s;
    transform-origin: center;
}

.btn-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.btn-menu.active span:nth-child(2) {
    opacity: 0;
}

.btn-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ==========================================
   SEARCH MODAL
   ========================================== */
.search-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
    background: rgba(17, 24, 39, 0.95);
    backdrop-filter: blur(30px);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 15vh;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.search-modal.active {
    opacity: 1;
    visibility: visible;
}

.search-modal-inner {
    width: 90%;
    max-width: 640px;
    transform: translateY(20px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.search-modal.active .search-modal-inner {
    transform: translateY(0);
}

.search-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.3s;
}

.search-close:hover {
    color: var(--accent-warm);
}

.search-title {
    font-family: var(--font-accent);
    font-size: 2rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.search-box input {
    width: 100%;
    background: none;
    border: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    font-family: var(--font-main);
    font-size: 1.8rem;
    font-weight: 300;
    padding: 1rem 0;
    outline: none;
    transition: border-color 0.3s;
}

.search-box input::placeholder {
    color: var(--text-muted);
}

.search-box input:focus {
    border-color: var(--accent-warm);
}

.search-filters {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.filter-tag {
    background: var(--bg-glass);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-secondary);
    padding: 0.5rem 1.2rem;
    border-radius: var(--radius-full);
    font-family: var(--font-main);
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-tag:hover,
.filter-tag.active {
    background: var(--accent-warm);
    border-color: var(--accent-warm);
    color: #fff;
}

.search-results {
    margin-top: 2rem;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: var(--border-subtle);
    cursor: pointer;
    transition: opacity 0.3s;
}

.search-result-item:hover {
    opacity: 0.7;
}

.search-result-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: var(--radius-sm);
}

.search-result-item h4 {
    font-family: var(--font-main);
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.search-result-item span {
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* ==========================================
   SHOWCASE HERO (Horizontal Discovery)
   ========================================== */
.showcase-hero {
    position: relative;
    height: calc(100vh - 60px);
    width: 100%;
    overflow: hidden;
    background: #000;
}

.showcase-slider {
    display: flex;
    width: 100%;
    height: 100%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
}

.showcase-slider::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.showcase-item {
    flex: 0 0 100%;
    height: 100%;
    position: relative;
    scroll-snap-align: start;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-xl);
}

.showcase-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, 
        rgba(26, 55, 77, 0.4), 
        rgba(26, 55, 77, 0.85));
}

.showcase-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    text-align: center;
}

.showcase-tag-line {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--accent-warm);
    letter-spacing: 0.35em;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s;
}

.showcase-item.active .showcase-tag-line {
    opacity: 1;
    transform: translateY(0);
}

.showcase-title {
    font-family: var(--font-main);
    font-size: clamp(4rem, 12vw, 9rem);
    font-weight: 800;
    line-height: 0.9;
    margin-bottom: 2.5rem;
    background: linear-gradient(to bottom, #fff, #94a3b8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1) 0.4s;
}

.showcase-item.active .showcase-title {
    opacity: 1;
    transform: translateY(0);
}

.showcase-desc {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 3.5rem;
    line-height: 1.6;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.6s;
}

.showcase-item.active .showcase-desc {
    opacity: 1;
    transform: translateY(0);
}

.showcase-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.8s;
}

.showcase-item.active .showcase-actions {
    opacity: 1;
    transform: translateY(0);
}

.btn-showcase-view {
    padding: 1.25rem 2.5rem;
    background: var(--accent-warm);
    color: #fff;
    border: none;
    border-radius: var(--radius-full);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
}

.btn-showcase-view:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 107, 53, 0.5);
    background: #ff855e;
}

.showcase-rating-badge {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent-bright);
}

.showcase-rating-badge span {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 400;
}

/* NAVIGATION */
.showcase-nav {
    position: absolute;
    top: 50%;
    left: var(--space-xl);
    right: var(--space-xl);
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 10;
}

.showcase-arrow {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(12px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: auto;
}

.showcase-arrow:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--accent-warm);
    color: var(--accent-warm);
    transform: scale(1.1);
}

.showcase-pagination {
    position: absolute;
    bottom: 3.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1.2rem;
    pointer-events: auto;
    z-index: 10;
}

.dot {
    width: 32px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 2px;
}

.dot.active {
    background: var(--accent-warm);
    width: 64px;
}

/* SHOWCASE BOTTOM */
.showcase-bottom {
    position: absolute;
    bottom: 3rem;
    left: var(--space-xl);
    right: var(--space-xl);
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    pointer-events: none;
    z-index: 5;
}

.showcase-stats {
    display: flex;
    gap: 4rem;
}

.showcase-stats .stat {
    display: flex;
    flex-direction: column;
}

.stat-val {
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.stat-lab {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-top: 0.5rem;
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1.5rem;
}

.scroll-indicator span {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

.scroll-line {
    width: 1px;
    height: 100px;
    background: linear-gradient(to bottom, var(--accent-warm), transparent);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 40px;
    background: #fff;
    animation: scrollLine 2.5s infinite cubic-bezier(0.7, 0, 0.3, 1);
}

@keyframes scrollLine {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(250%); }
}

@media (max-width: 1024px) {
    .showcase-nav { display: none; }
    .showcase-stats { display: none; }
    .showcase-title { font-size: clamp(3.5rem, 15vw, 6rem); }
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--gradient-warm);
    color: #fff;
    font-family: var(--font-main);
    font-size: 0.9rem;
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #fbbf24, #ff6b35);
    opacity: 0;
    transition: opacity 0.3s;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 30px rgba(255, 107, 53, 0.5), 0 0 60px rgba(255, 107, 53, 0.15);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary span,
.btn-primary svg {
    position: relative;
    z-index: 1;
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    font-family: var(--font-main);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 1rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-full);
    transition: all 0.3s;
}

.btn-ghost:hover {
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.05);
    transform: translateY(-1px);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    font-family: var(--font-main);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--accent-warm);
    padding: 1rem 2rem;
    border: 1px solid var(--accent-warm);
    border-radius: var(--radius-full);
    transition: all 0.3s;
}

.btn-outline:hover {
    background: var(--accent-warm);
    color: #fff;
    transform: translateY(-2px);
}

/* Hero scroll hint */
.hero-scroll-hint {
    position: absolute;
    bottom: 3rem;
    left: clamp(1.5rem, 4vw, 4rem);
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 1;
}

.hero-scroll-hint span {
    font-family: var(--font-main);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
    writing-mode: vertical-lr;
    transform: rotate(180deg);
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(180deg, var(--accent-warm), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.5); }
    50% { opacity: 1; transform: scaleY(1); }
}

/* Hero stats */
.hero-stats {
    position: absolute;
    bottom: 3rem;
    right: clamp(1.5rem, 4vw, 4rem);
    display: flex;
    gap: 3rem;
    z-index: 1;
}

.stat {
    text-align: right;
}

.stat-num {
    display: block;
    font-family: var(--font-main);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    background: var(--gradient-warm);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.stat::after {
    content: '';
    display: block;
    width: 100%;
    height: 1px;
    background: var(--gradient-warm);
    margin-top: 0.5rem;
    opacity: 0.3;
}

/* ==========================================
   SECTION COMMON
   ========================================== */
.section-tag {
    font-family: var(--font-main);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent-warm);
    display: block;
    margin-bottom: 1rem;
    transition: letter-spacing 0.4s;
}

.section-tag:hover {
    letter-spacing: 0.3em;
}

.section-title {
    font-family: var(--font-main);
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.highlight {
    font-family: var(--font-accent);
    background: var(--gradient-warm);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.15em;
}

/* ==========================================
   MANIFESTO
   ========================================== */
.manifesto {
    padding: var(--space-2xl) 0;
    border-bottom: var(--border-subtle);
}

.manifesto-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: start;
}

.manifesto-title {
    font-family: var(--font-main);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.manifesto-text {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: 1.5rem;
}

.manifesto-quote {
    font-family: var(--font-accent);
    font-size: 1.5rem;
    color: var(--accent-gold);
    line-height: 1.6;
    margin-top: 2rem;
    padding-left: 1.5rem;
    border-left: 3px solid transparent;
    border-image: var(--gradient-warm) 1;
}

/* ==========================================
   HOW IT WORKS
   ========================================== */
.how-it-works {
    padding: var(--space-2xl) 0;
    background: var(--bg-secondary);
}

.hiw-pipeline {
    display: flex;
    align-items: flex-start;
    gap: 0;
    margin-top: var(--space-lg);
}

.hiw-step {
    flex: 1;
    padding: 2.5rem;
    background: var(--bg-card);
    border: var(--border-subtle);
    border-radius: var(--radius-md);
    position: relative;
    transition: all 0.3s;
}

.hiw-step:hover {
    border-color: rgba(255, 107, 53, 0.3);
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(255, 107, 53, 0.12), 0 0 0 1px rgba(255, 107, 53, 0.15);
}

.hiw-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-hero);
    opacity: 0;
    transition: opacity 0.3s;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.hiw-step:hover::before {
    opacity: 1;
}

.hiw-step-number {
    font-family: var(--font-main);
    font-size: 3rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.04);
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    line-height: 1;
}

.hiw-step-icon {
    font-size: 2.5rem;
    margin-bottom: 1.25rem;
}

.hiw-step-title {
    font-family: var(--font-main);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.hiw-step-desc {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.hiw-step-desc strong {
    color: var(--accent-warm);
    font-weight: 600;
}

.hiw-sources {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.25rem;
}

.source-badge {
    font-family: var(--font-main);
    font-size: 0.65rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-muted);
}

.source-badge.source-accent {
    background: rgba(255, 107, 53, 0.1);
    border-color: rgba(255, 107, 53, 0.2);
    color: var(--accent-warm);
}

.source-badge.source-teal {
    background: rgba(34, 211, 238, 0.08);
    border-color: rgba(34, 211, 238, 0.18);
    color: var(--accent-teal);
}

.hiw-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 1rem;
    min-height: 200px;
    color: var(--accent-warm);
    opacity: 0.5;
    animation: connectorPulse 2s ease-in-out infinite;
}

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

.hiw-note {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-top: var(--space-lg);
    padding: 1.5rem 2rem;
    background: rgba(34, 211, 238, 0.05);
    border: 1px solid rgba(34, 211, 238, 0.12);
    border-radius: var(--radius-md);
}

.hiw-note-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.hiw-note p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

@media (max-width: 1024px) {
    .hiw-pipeline {
        flex-direction: column;
        gap: 1rem;
    }

    .hiw-connector {
        min-height: auto;
        padding: 0.5rem 0;
        transform: rotate(90deg);
    }
}

/* ==========================================
   CREDITS & ATTRIBUTIONS
   ========================================== */
.img-credit {
    position: absolute;
    bottom: 6rem;
    right: clamp(1.5rem, 4vw, 4rem);
    z-index: 2;
    font-family: var(--font-main);
    font-size: 0.65rem;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.4);
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(8px);
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.dest-card-credits {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.6rem;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.credit-img,
.credit-author {
    font-family: var(--font-main);
    font-size: 0.6rem;
    letter-spacing: 0.03em;
    color: rgba(255, 255, 255, 0.35);
}

.credit-author {
    font-style: italic;
}

.content-attribution,
.section-attribution {
    font-family: var(--font-main);
    font-size: 0.7rem;
    letter-spacing: 0.03em;
    color: var(--text-muted);
    margin-top: 0.5rem;
    padding: 0.4rem 0.9rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-full);
    display: inline-block;
}

/* ==========================================
   HOME HERO HEADER
   ========================================== */
.home-hero {
    padding: 7rem 0 3rem 0;
    text-align: center;
    background: radial-gradient(circle at top, #1e3f56 0%, #1A374D 80%);
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.home-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('images/ninh_binh_home_hero_1784973670264.webp');
    background-size: cover;
    background-position: center 30%;
    opacity: 0.08;
    filter: blur(1px);
    z-index: 0;
}
.home-hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}
.home-hero-tag {
    font-family: var(--font-main);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent-warm);
    display: inline-block;
    margin-bottom: 1.25rem;
    background: rgba(255, 140, 50, 0.1);
    padding: 0.4rem 1rem;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 140, 50, 0.15);
}
.home-hero-title {
    font-family: var(--font-main);
    font-size: clamp(2.5rem, 6vw, 4.2rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: #fff;
    margin-bottom: 1.5rem;
}
.home-hero-subtitle {
    font-family: var(--font-body);
    font-size: clamp(0.95rem, 2vw, 1.15rem);
    color: var(--text-secondary);
    max-width: 650px;
    margin: 0 auto 3rem;
    line-height: 1.7;
    font-weight: 300;
}
.home-hero .category-tabs {
    display: inline-flex;
    justify-content: center;
    gap: 0.6rem;
    margin: 0 auto;
    padding: 0.4rem;
    background: rgba(22, 44, 62, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-full);
    flex-wrap: wrap;
}
.home-hero .cat-tab {
    border: none;
    background: transparent;
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
    padding: 0.6rem 1.2rem;
    border-radius: var(--radius-full);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.home-hero .cat-tab:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}
.home-hero .cat-tab.active {
    background: var(--accent-warm);
    color: #fff;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.destinations {
    padding: 3rem 0 var(--space-2xl) 0;
}

.category-tabs {
    display: flex;
    gap: 0.75rem;
    margin: var(--space-lg) 0;
    flex-wrap: wrap;
}

.cat-tab {
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    font-family: var(--font-main);
    font-size: 0.85rem;
    padding: 0.7rem 1.5rem;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all 0.3s;
}

.cat-tab:hover {
    border-color: rgba(255, 255, 255, 0.25);
    color: var(--text-primary);
}

.cat-tab.active {
    background: var(--accent-warm);
    border-color: var(--accent-warm);
    color: #fff;
}

.dest-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

/* Bento Grid — asymmetric magazine layout */
.bento-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(280px, auto);
}

.bento-grid .dest-card-large {
    grid-column: span 2;
    grid-row: span 2;
    aspect-ratio: auto;
    min-height: 580px;
}

.bento-grid .dest-card-large .dest-card-title {
    font-size: 2.2rem;
}

.bento-grid .dest-card-large .dest-card-desc {
    font-size: 1rem;
    max-width: 400px;
}

.dest-card {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 3/4;
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s;
}

.dest-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(255, 107, 53, 0.15), 0 0 0 1px rgba(255, 107, 53, 0.2);
}

.dest-card-large {
    grid-column: span 1;
    grid-row: span 1;
}

.dest-card-img {
    position: absolute;
    inset: 0;
}

.dest-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s;
    filter: brightness(0.9) saturate(1.15);
}

.dest-card:hover .dest-card-img img {
    transform: scale(1.08);
    filter: brightness(0.7) saturate(1.2);
}

.dest-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(17, 24, 39, 0.85) 100%);
}

.dest-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    z-index: 1;
}

.dest-card-tags {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.tag {
    font-family: var(--font-main);
    font-size: 0.65rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 0.3rem 0.7rem;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: var(--text-secondary);
}

.tag-hot {
    background: rgba(232, 115, 74, 0.2);
    color: var(--accent-warm);
}

.dest-card-title {
    font-family: var(--font-main);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.dest-card-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.dest-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1rem;
    padding-top: 0.75rem;
    border-top: var(--border-subtle);
}

.dest-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.stars {
    color: var(--accent-gold);
    font-size: 0.85rem;
    letter-spacing: 2px;
}

.dest-rating span:last-child {
    font-family: var(--font-main);
    font-size: 0.85rem;
    font-weight: 600;
}

.dest-reviews {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.dest-more {
    text-align: center;
    margin-top: var(--space-lg);
}

/* ==========================================
   FEATURED REVIEW
   ========================================== */
.featured-review {
    position: relative;
    padding: var(--space-2xl) 0;
    overflow: hidden;
}

.featured-review-bg {
    position: absolute;
    inset: 0;
}

.featured-review-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.25) blur(2px) saturate(1.1);
}

.featured-review-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(17,24,39,0.6), rgba(17,24,39,0.92));
}

.featured-review-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}

.featured-quote {
    font-family: var(--font-accent);
    font-size: clamp(1.4rem, 3vw, 2rem);
    line-height: 1.7;
    color: var(--text-primary);
    margin: 2rem 0;
    font-weight: 500;
}

.featured-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient-warm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-main);
    font-weight: 700;
    font-size: 0.85rem;
}

.author-info {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.author-name {
    font-family: var(--font-main);
    font-weight: 600;
    font-size: 0.9rem;
}

.author-detail {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ==========================================
   REVIEWS
   ========================================== */
.reviews {
    padding: var(--space-2xl) 0;
}

.reviews-masonry {
    column-count: 3;
    column-gap: 1.5rem;
    margin-top: var(--space-lg);
}

.reviews-masonry .review-card {
    break-inside: avoid;
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
}

@media (max-width: 1024px) {
    .reviews-masonry {
        column-count: 2;
    }
}

@media (max-width: 640px) {
    .reviews-masonry {
        column-count: 1;
    }
}

.review-card {
    background: var(--bg-card);
    border: var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}

.review-card:hover {
    border-color: rgba(255, 255, 255, 0.18);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.review-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.review-dest {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.review-dest-img {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    object-fit: cover;
}

.review-dest h4 {
    font-family: var(--font-main);
    font-size: 0.9rem;
    font-weight: 600;
}

.stars-sm {
    color: var(--accent-gold);
    font-size: 0.7rem;
    letter-spacing: 1px;
}

.review-date {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.review-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.8;
    font-style: italic;
    flex: 1;
}

.review-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: var(--border-subtle);
}

.review-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.avatar-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-glass);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-main);
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--accent-warm);
}

.review-author .author-name {
    font-size: 0.8rem;
    display: block;
}

.author-type {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.btn-helpful {
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-muted);
    padding: 0.4rem 0.8rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.3s;
    font-family: var(--font-main);
}

.btn-helpful:hover {
    color: var(--accent-warm);
    border-color: var(--accent-warm);
    background: rgba(255, 107, 53, 0.1);
}

/* Quote card */
.review-card-quote {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(251, 191, 36, 0.08));
    border-color: rgba(255, 107, 53, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2.5rem;
}

.big-quote {
    font-family: var(--font-accent);
    font-size: 6rem;
    line-height: 0.5;
    color: var(--accent-warm);
    opacity: 0.4;
    margin-bottom: 1rem;
}

.review-text-big {
    font-family: var(--font-accent);
    font-size: 1.4rem;
    line-height: 1.6;
    color: var(--text-primary);
    font-style: normal;
}

.quote-src {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 1.5rem;
}

/* ==========================================
   TIPS
   ========================================== */
.tips {
    padding: var(--space-2xl) 0;
    background: var(--bg-secondary);
}

.tips-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: var(--space-lg);
}

.carousel-nav {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.carousel-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.carousel-btn:hover {
    background: var(--accent-warm);
    border-color: var(--accent-warm);
    color: #fff;
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(255, 107, 53, 0.3);
}

.tips-carousel {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 2rem;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
}

.tips-carousel::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.tips-carousel .tip-card {
    flex: 0 0 350px;
    scroll-snap-align: start;
}

.tip-card {
    padding: 2rem;
    border-radius: var(--radius-md);
    border: var(--border-subtle);
    background: var(--bg-card);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.tip-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-warm);
    transform: scaleX(0);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    transform-origin: left;
}

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

.tip-card:hover {
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
}

.tip-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 1rem;
}

.tip-title {
    font-family: var(--font-main);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.tip-text {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.tip-tag {
    display: inline-block;
    margin-top: 1rem;
    font-family: var(--font-main);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-gold);
    padding: 0.3rem 0.8rem;
    border: 1px solid rgba(251, 191, 36, 0.25);
    border-radius: var(--radius-full);
}

/* ==========================================
   ABOUT
   ========================================== */
.about {
    padding: var(--space-2xl) 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}

.about-text {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-top: 1.5rem;
}

.about-values {
    display: flex;
    gap: 2rem;
    margin-top: 2.5rem;
}

.value {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-main);
    font-size: 0.85rem;
    font-weight: 500;
}

.value-icon {
    color: var(--accent-warm);
}

/* Photo stack */
.about-card-stack {
    position: relative;
    height: 450px;
}

.about-photo {
    position: absolute;
    width: 85%;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: rotate(var(--rotation));
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: 3px solid rgba(255, 255, 255, 0.08);
}

.about-photo:first-child {
    top: 0;
    left: 0;
    z-index: 1;
}

.about-photo:last-child {
    top: 60px;
    right: 0;
    left: auto;
    z-index: 2;
}

.about-photo:hover {
    transform: rotate(0deg) scale(1.02);
    z-index: 10;
}

.about-photo img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.photo-caption {
    display: block;
    padding: 0.75rem 1rem;
    font-family: var(--font-accent);
    font-size: 0.95rem;
    color: var(--text-muted);
    background: var(--bg-secondary);
}

/* NEWSLETTER HERO */
.newsletter-hero {
    padding: var(--space-3xl) 0;
    position: relative;
    overflow: hidden;
    background: #0f172a; /* Extra dark */
}

.newsletter-hero-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 70% 30%, rgba(255, 107, 53, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 30% 70%, rgba(34, 211, 238, 0.1) 0%, transparent 50%);
}

.newsletter-hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-hero-form {
    margin-top: 3rem;
    background: rgba(255, 255, 255, 0.03);
    padding: 0.5rem;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    display: flex;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.input-group {
    display: flex;
    width: 100%;
}

.hero-input {
    flex: 1;
    background: none;
    border: none;
    padding: 1rem 2rem;
    color: #fff;
    font-family: var(--font-body);
    font-size: 1rem;
}

.hero-input:focus {
    outline: none;
}

.hero-btn {
    background: var(--gradient-warm);
    color: #fff;
    border: none;
    padding: 0 2rem;
    border-radius: var(--radius-full);
    font-family: var(--font-main);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.hero-btn:hover {
    transform: scale(1.02);
    box-shadow: 0 0 30px rgba(255, 107, 53, 0.4);
}

.hero-meta {
    margin-top: 1.5rem;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.newsletter-input::placeholder {
    color: var(--text-muted);
}

.newsletter-input:focus {
    border-color: var(--accent-warm);
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
    padding: var(--space-xl) 0 var(--space-md);
    border-top: var(--border-subtle);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-lg);
    padding-bottom: var(--space-lg);
    border-bottom: var(--border-subtle);
}

.footer-tagline {
    font-family: var(--font-accent);
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-top: 0.75rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-main);
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: all 0.3s;
}

.social-link:hover {
    border-color: var(--accent-warm);
    color: var(--accent-warm);
    background: rgba(232, 115, 74, 0.1);
}

.footer-links h4 {
    font-family: var(--font-main);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.footer-links a {
    display: block;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--accent-warm);
}

.footer-bottom {
    padding-top: var(--space-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.footer-made {
    font-family: var(--font-accent);
    font-size: 0.9rem !important;
    color: var(--accent-warm) !important;
}

/* ==========================================
   SCROLL ANIMATIONS
   ========================================== */
[data-scroll] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-scroll].visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animations for grid items */
.dest-card:nth-child(1) { transition-delay: 0s; }
.dest-card:nth-child(2) { transition-delay: 0.1s; }
.dest-card:nth-child(3) { transition-delay: 0.2s; }
.dest-card:nth-child(4) { transition-delay: 0.3s; }
.dest-card:nth-child(5) { transition-delay: 0.4s; }
.dest-card:nth-child(6) { transition-delay: 0.5s; }

.review-card:nth-child(1) { transition-delay: 0s; }
.review-card:nth-child(2) { transition-delay: 0.1s; }
.review-card:nth-child(3) { transition-delay: 0.2s; }
.review-card:nth-child(4) { transition-delay: 0.15s; }
.review-card:nth-child(5) { transition-delay: 0.25s; }
.review-card:nth-child(6) { transition-delay: 0.35s; }

.tip-card:nth-child(1) { transition-delay: 0s; }
.tip-card:nth-child(2) { transition-delay: 0.1s; }
.tip-card:nth-child(3) { transition-delay: 0.2s; }
.tip-card:nth-child(4) { transition-delay: 0.15s; }
.tip-card:nth-child(5) { transition-delay: 0.25s; }
.tip-card:nth-child(6) { transition-delay: 0.35s; }

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 1024px) {
    .dest-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .reviews-masonry {
        grid-template-columns: repeat(2, 1fr);
    }

    .tips-carousel {
        grid-template-columns: repeat(2, 1fr);
    }

    .showcase-stats {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(12, 11, 15, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        z-index: 999;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-link {
        font-size: 1.5rem;
    }

    .btn-menu {
        display: flex;
    }

    .showcase-stats {
        position: relative;
        bottom: auto;
        right: auto;
        justify-content: flex-start;
        gap: 2.5rem;
        padding: 0 clamp(1.5rem, 4vw, 4rem);
        margin-top: 3rem;
    }

    .stat {
        text-align: left;
    }

    .scroll-indicator {
        display: none;
    }

    .manifesto-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .dest-grid {
        grid-template-columns: 1fr;
    }

    .dest-card {
        aspect-ratio: 4/3;
    }

    .reviews-masonry {
        grid-template-columns: 1fr;
    }

    .tips-carousel {
        grid-template-columns: 1fr;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-card-stack {
        height: 350px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-md);
    }

    .footer-brand {
        grid-column: span 2;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .newsletter-hero-form {
        flex-direction: column;
    }
}

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

    .title-accent {
        font-size: 3.8rem !important;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-brand {
        grid-column: span 1;
    }

    .showcase-stats {
        flex-wrap: wrap;
        gap: 1.5rem;
    }
}

/* ==========================================
   ARTICLE MODAL
   ========================================== */
.article-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-lg);
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.article-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 15, 26, 0.85);
    backdrop-filter: blur(12px);
}

.modal-container {
    position: relative;
    width: 100%;
    max-width: 1100px;
    height: 85vh;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transform: scale(0.95) translateY(20px);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.7);
}

.article-modal.active .modal-container {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    z-index: 10;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    backdrop-filter: blur(4px);
}

.modal-close:hover {
    background: var(--accent-warm);
    transform: rotate(90deg);
}

.modal-body {
    display: flex;
    width: 100%;
    height: 100%;
}

.modal-image-side {
    flex: 0 0 45%;
    position: relative;
}

.modal-image-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, transparent, rgba(15, 23, 42, 0.4));
}

.modal-content-side {
    flex: 1;
    padding: 3rem;
    overflow-y: auto;
    background: var(--bg-card);
    display: flex;
    flex-direction: column;
}

.modal-header {
    margin-bottom: 2rem;
}

.modal-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(255, 107, 53, 0.1);
    color: var(--accent-warm);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.modal-title {
    font-family: var(--font-main);
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1rem;
    background: linear-gradient(to bottom, #fff, #94a3b8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.modal-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.modal-meta .dot {
    opacity: 0.3;
}

.modal-review {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

.modal-tips-box {
    background: rgba(251, 191, 36, 0.05);
    border-left: 3px solid var(--accent-bright);
    padding: 1.5rem;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    margin-bottom: 3rem;
}

.modal-tips-box h4 {
    color: var(--accent-bright);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.modal-tips-box p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-style: italic;
}

.modal-footer {
    margin-top: auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.avatar-sm {
    width: 32px;
    height: 32px;
    background: var(--gradient-warm);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    color: #fff;
}

.author-name {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
}

.author-label {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.modal-attribution {
    font-size: 0.7rem;
    color: var(--text-muted);
    opacity: 0.6;
}

@media (max-width: 900px) {
    .modal-container {
        flex-direction: column;
        height: 90vh;
    }
    
    .modal-image-side {
        flex: 0 0 35%;
    }
    
    .modal-content-side {
        padding: 2rem;
    }
    
    .modal-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .article-modal {
        padding: 0;
    }
    
    .modal-container {
        height: 100vh;
        border-radius: 0;
        border: none;
    }
}

/* ==========================================
   ANIMATIONS (Feng Shui "Straight Ahead")
   ========================================== */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeRight {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ==========================================
   PAGE LOADER
   ========================================== */
.page-loader {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: radial-gradient(circle at center, #1e3f56 0%, #0c1a25 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                visibility 0.8s;
}

.page-loader::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 24px 24px;
    pointer-events: none;
    z-index: 1;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-content {
    position: relative;
    text-align: center;
    z-index: 2;
}

.loader-logo {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 0 auto 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader-logo::before {
    content: '';
    position: absolute;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(255, 140, 50, 0.25) 0%, transparent 70%);
    filter: blur(10px);
    z-index: -1;
    animation: glowPulse 2s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.3); opacity: 1; }
}

.loader-logo-ring {
    position: absolute;
    border-radius: 50%;
    border: 2px solid transparent;
    pointer-events: none;
}

.loader-logo-ring.ring-1 {
    width: 120px;
    height: 120px;
    border-top-color: rgba(255, 140, 50, 0.8);
    border-bottom-color: rgba(255, 140, 50, 0.8);
    animation: loaderSpin 2.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.loader-logo-ring.ring-2 {
    width: 144px;
    height: 144px;
    border-left-color: rgba(251, 191, 36, 0.4);
    border-right-color: rgba(251, 191, 36, 0.4);
    animation: loaderSpin 4s linear infinite reverse;
}

@keyframes loaderSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loader-logo-img {
    height: 85px;
    width: 85px;
    object-fit: cover;
    object-position: 51% 48.5%; /* Cân tâm vòng tròn logo chính xác dựa trên tọa độ thực */
    border-radius: 50%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(255, 140, 50, 0.15);
    z-index: 2;
    animation: logoPulse 2s ease-in-out infinite;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

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

.loader-bar {
    width: 220px;
    height: 4px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-full);
    overflow: hidden;
    margin: 0 auto 1.25rem;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.2);
}

.loader-progress {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--accent-warm), var(--accent-gold));
    border-radius: var(--radius-full);
    box-shadow: 0 0 10px rgba(255, 140, 50, 0.6), 0 0 4px rgba(255, 140, 50, 0.4);
    animation: loaderFill 1.5s cubic-bezier(0.1, 0.8, 0.2, 1) forwards;
}

@keyframes loaderFill {
    0% { width: 0; }
    50% { width: 65%; }
    100% { width: 100%; }
}

.loader-text {
    font-family: var(--font-main);
    font-size: 0.78rem;
    color: var(--text-secondary);
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    animation: textFade 1.5s ease-in-out infinite alternate;
}

@keyframes textFade {
    0% { opacity: 0.6; }
    100% { opacity: 1; }
}

/* ==========================================
   BACK TO TOP
   ========================================== */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient-warm);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 900;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 20px rgba(255, 107, 53, 0.4);
}

.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.back-to-top:hover {
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 8px 30px rgba(255, 107, 53, 0.6);
}

/* ==========================================
   HERO FLOATING PARTICLES
   ========================================== */
.hero-particles {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: var(--size, 4px);
    height: var(--size, 4px);
    background: radial-gradient(circle, rgba(255, 140, 50, var(--opacity, 0.4)), transparent);
    border-radius: 50%;
    animation: particleFloat var(--duration, 8s) ease-in-out infinite;
    animation-delay: var(--delay, 0s);
}

@keyframes particleFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0;
    }
    10% {
        opacity: var(--opacity, 0.4);
    }
    50% {
        transform: translate(var(--tx, 60px), var(--ty, -120px)) scale(1.5);
        opacity: var(--opacity, 0.4);
    }
    90% {
        opacity: 0;
    }
}

/* ==========================================
   ENHANCED SOCIAL HOVER
   ========================================== */
.social-link {
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-warm);
    opacity: 0;
    transition: opacity 0.3s;
    border-radius: 50%;
}

.social-link:hover::before {
    opacity: 1;
}

.social-link:hover {
    color: #fff;
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
}

/* ==========================================
   HERO TITLE SHIMMER
   ========================================== */
@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

.showcase-item.active .showcase-title {
    background: linear-gradient(90deg, #fff 0%, #fbbf24 25%, #fff 50%, #22d3ee 75%, #fff 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 6s linear infinite;
}


/* Custom overrides to remove reviews and ratings from cards */
.dest-card-meta, 
.dest-card-credits {
    display: none !important;
}

.dest-card-content {
    transform: none !important;
    padding-bottom: 2rem !important;
}

.dest-card:hover .dest-card-content {
    transform: none !important;
}
