/* ========================================
   MINIFI - Studio Tượng Cá Nhân Hóa
   Landing Page Stylesheet
   ======================================== */

/* CSS Variables */
:root {
    --primary-cyan: #1a9e9e;
    --primary-purple: #7b5cb7;
    --gradient: linear-gradient(135deg, #1a9e9e, #7b5cb7);
    --gradient-reverse: linear-gradient(135deg, #7b5cb7, #1a9e9e);
    --text-dark: #2d3436;
    --text-light: #636e72;
    --text-white: #ffffff;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 20px 60px rgba(0, 0, 0, 0.15);
    --border-radius: 16px;
    --border-radius-sm: 8px;
    --transition: all 0.3s ease;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

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

img {
    max-width: 100%;
    height: auto;
}

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

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(26, 158, 158, 0.85), rgba(123, 92, 183, 0.85)), url('../images/hero-banner.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 50%);
    animation: float 15s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(30px, 30px) rotate(180deg); }
}

.hero-content {
    text-align: center;
    color: var(--text-white);
    z-index: 1;
    padding: 40px 20px;
}

.hero-logo-wrapper {
    display: inline-block;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
    animation: logoFloat 3s ease-in-out infinite;
}

.hero-logo {
    width: 180px;
    height: auto;
    display: block;
}

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

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.2);
}

.hero .tagline {
    font-size: 1.4rem;
    opacity: 0.95;
    margin-bottom: 20px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Stats */
.hero-stats-hidden {
    display: none !important;
}
.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stats .stat-item {
    padding: 15px 10px;
    text-align: center;
}

.hero-stats .stat-icon {
    font-size: 1.8rem;
    margin-bottom: 10px;
    opacity: 0.9;
}

.hero-stats .stat-number {
    font-size: 2rem;
    font-weight: 700;
    display: block;
    margin-bottom: 5px;
}

.hero-stats .stat-label {
    font-size: 0.85rem;
    opacity: 0.85;
}

@media (max-width: 768px) {
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 20px;
    }
    
    .hero-stats .stat-number {
        font-size: 1.6rem;
    }
    
    .hero-stats .stat-label {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 15px;
    }
    
    .hero-stats .stat-icon {
        font-size: 1.4rem;
    }
    
    .hero-stats .stat-number {
        font-size: 1.4rem;
    }
}

/* Hero Quick Nav - Slide đến section nhanh */
.hero-quick-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    margin-top: 35px;
    padding: 0 10px;
}

.hero-quick-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 22px 28px;
    min-width: 180px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 16px;
    color: var(--text-white);
    text-decoration: none;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.hero-quick-nav-item:hover {
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-cyan);
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.9);
}

.hero-quick-nav-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.hero-quick-nav-item:hover .hero-quick-nav-icon {
    background: var(--gradient);
    color: white;
}

.hero-quick-nav-label {
    font-size: 0.95rem;
    font-weight: 600;
    text-align: center;
    line-height: 1.3;
}

.hero-quick-nav-arrow {
    font-size: 0.75rem;
    opacity: 0.7;
    transition: transform 0.3s ease;
}

.hero-quick-nav-item:hover .hero-quick-nav-arrow {
    opacity: 1;
    transform: translateY(3px);
}

@media (max-width: 900px) {
    .hero-quick-nav {
        gap: 12px;
        margin-top: 28px;
    }
    .hero-quick-nav-item {
        padding: 18px 22px;
        min-width: 155px;
    }
    .hero-quick-nav-icon {
        width: 44px;
        height: 44px;
        font-size: 1.25rem;
    }
    .hero-quick-nav-label {
        font-size: 0.88rem;
    }
}

@media (max-width: 768px) {
    .hero-quick-nav {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding: 20px 16px;
        margin-top: 28px;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    .hero-quick-nav-item {
        padding: 18px 16px;
        min-width: 0;
    }
    .hero-quick-nav-icon {
        width: 42px;
        height: 42px;
        font-size: 1.2rem;
    }
    .hero-quick-nav-label {
        font-size: 0.82rem;
    }
    .hero-quick-nav-arrow {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-quick-nav {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 16px 12px;
        margin-top: 24px;
    }
    .hero-quick-nav-item {
        padding: 14px 12px;
    }
    .hero-quick-nav-icon {
        width: 38px;
        height: 38px;
        font-size: 1.1rem;
    }
    .hero-quick-nav-label {
        font-size: 0.78rem;
    }
}

.cta-button {
    display: inline-block;
    padding: 18px 50px;
    background: var(--bg-white);
    color: var(--primary-purple);
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 50px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    background: var(--text-white);
}

.cta-button.gradient {
    background: var(--gradient);
    color: var(--text-white);
}

/* ========================================
   SECTION COMMON STYLES
   ======================================== */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* ========================================
   ABOUT / FEATURES SECTION
   ======================================== */
.about {
    background: var(--bg-light);
}

/* Unique Highlight Badge */
.unique-highlight {
    margin-bottom: 50px;
}

.unique-badge {
    display: flex;
    align-items: center;
    gap: 30px;
    background: linear-gradient(135deg, rgba(26, 158, 158, 0.08), rgba(123, 92, 183, 0.08));
    border: 2px solid transparent;
    background-clip: padding-box;
    border-radius: var(--border-radius);
    padding: 35px 40px;
    position: relative;
    overflow: hidden;
}

.unique-badge::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--border-radius);
    padding: 2px;
    background: var(--gradient);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

.unique-badge-icon {
    width: 90px;
    height: 90px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 10px 30px rgba(26, 158, 158, 0.3);
    animation: uniquePulse 2s ease-in-out infinite;
}

@keyframes uniquePulse {
    0%, 100% { transform: scale(1); box-shadow: 0 10px 30px rgba(26, 158, 158, 0.3); }
    50% { transform: scale(1.05); box-shadow: 0 15px 40px rgba(26, 158, 158, 0.4); }
}

.unique-badge-content {
    flex: 1;
}

.unique-badge-label {
    display: inline-block;
    background: var(--gradient);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.unique-badge-title {
    font-size: 1.6rem;
    color: var(--text-dark);
    margin-bottom: 10px;
    font-weight: 700;
}

.unique-badge-desc {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {
    .unique-highlight {
        margin-bottom: 25px;
    }
    
    .unique-badge {
        flex-direction: column;
        text-align: center;
        padding: 20px 15px;
        gap: 12px;
    }
    
    .unique-badge-icon {
        width: 55px;
        height: 55px;
        font-size: 1.5rem;
    }
    
    .unique-badge-label {
        padding: 4px 12px;
        font-size: 0.75rem;
        margin-bottom: 3px;
    }
    
    .unique-badge-title {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }
    
    .unique-badge-desc {
        display: none;
    }
    
    /* Features - 1 column on mobile for detailed content */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .feature-card {
        padding: 20px 16px;
        text-align: left;
        display: flex;
        align-items: flex-start;
        gap: 15px;
    }
    
    .feature-icon {
        width: 50px;
        height: 50px;
        min-width: 50px;
        font-size: 1.2rem;
        margin-bottom: 0;
    }
    
    .feature-card-content {
        flex: 1;
    }
    
    .feature-card h3 {
        font-size: 1rem;
        margin-bottom: 8px;
        text-align: left;
    }
    
    .feature-card p {
        display: block;
        font-size: 0.9rem;
        line-height: 1.6;
        margin: 0;
        text-align: left;
    }
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.feature-card {
    background: var(--bg-white);
    padding: 50px 30px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient);
    border-radius: 50%;
    font-size: 2rem;
    color: var(--text-white);
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.8;
}

.feature-card-content {
    /* Desktop: no special styling needed */
}

/* ========================================
   GALLERY SECTION
   ======================================== */
.gallery {
    background: var(--bg-white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    aspect-ratio: 1414/2000;
    cursor: pointer;
    box-shadow: var(--shadow);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient);
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover::after {
    opacity: 0.3;
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    z-index: 2;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    font-size: 2rem;
    color: var(--text-white);
}

/* ========================================
   PRICING SECTION
   ======================================== */
.pricing {
    background: var(--bg-light);
}

/* Intro: ảnh + nội dung cân đối, cùng style với bảng giá */
.pricing-intro-grid {
    display: grid;
    grid-template-columns: minmax(260px, 400px) minmax(280px, 1fr);
    gap: 28px;
    align-items: start;
    margin-bottom: 32px;
}

@media (max-width: 900px) {
    .pricing-intro-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-bottom: 28px;
    }
    
    .pricing-visual-block {
        max-width: 320px;
        margin: 0 auto;
    }
}

.pricing-visual-block {
    position: sticky;
    top: 100px;
}

.pricing-visual-frame {
    background: #fff;
    border-radius: 15px;
    padding: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    border: 1px solid #e8e0f0;
}

.pricing-figurines-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}

.pricing-visual-caption {
    text-align: center;
    margin-top: 12px;
    margin-bottom: 0;
    color: var(--text-light);
    font-size: 0.85rem;
}

/* Khung text - đồng bộ với bảng giá */
.pricing-intro-card {
    background: #fff;
    border-radius: 15px;
    padding: 28px 28px 24px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    border: 1px solid #e8e0f0;
    position: relative;
    overflow: hidden;
}

.pricing-intro-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #4EB79C, #613F8B);
}

.pricing-intro-content {
    min-width: 0;
}

.pricing-special-inline {
    margin-top: 20px;
    margin-bottom: 0;
}

/* Bảng giá mới - teal-purple gradient */
.pricing-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid #e8e0f0;
}

.pricing-table thead {
    background: linear-gradient(90deg, #4EB79C, #613F8B);
    color: #fff;
}

.pricing-table th,
.pricing-table td {
    padding: 18px 24px;
    text-align: left;
}

.pricing-table th {
    font-weight: 600;
    font-size: 1rem;
}

.pricing-table tbody tr {
    border-bottom: 1px solid #eee;
    transition: var(--transition);
}

.pricing-table tbody tr:last-child {
    border-bottom: none;
}

.pricing-table tbody tr:hover {
    background: rgba(78, 183, 156, 0.06);
}

.pricing-table .price {
    font-weight: 700;
    color: #613F8B;
    font-size: 1.1rem;
}

.pricing-table-wrap {
    margin-top: 24px;
}

.pricing-features-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.pricing-features-list li {
    margin-bottom: 12px;
    padding-left: 24px;
    position: relative;
    color: var(--text);
    font-size: 0.92rem;
    line-height: 1.5;
}

.pricing-features-list .pricing-star {
    position: absolute;
    left: 0;
    color: #613F8B;
    font-size: 0.75rem;
}

.bestseller-badge {
    display: inline-block;
    margin-left: 8px;
    font-size: 0.85rem;
    color: #e74c3c;
    font-weight: 600;
}

.pricing-special-offer {
    padding: 14px 18px;
    background: linear-gradient(135deg, rgba(78, 183, 156, 0.06), rgba(97, 63, 139, 0.06));
    border: 1px solid rgba(97, 63, 139, 0.2);
    border-radius: 10px;
    color: #2d3436;
    font-size: 0.9rem;
    line-height: 1.5;
}

.pricing-special-offer i {
    color: #613F8B;
    margin-right: 8px;
}

.pricing-note {
    text-align: center;
    margin-top: 24px;
    margin-bottom: 28px;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Pricing Messenger CTA */
.pricing-messenger-cta {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 30px;
    background: linear-gradient(135deg, #0084ff, #00c6ff);
    border-radius: var(--border-radius);
    color: white;
    text-decoration: none;
    margin: 30px auto 0;
    max-width: 550px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 30px rgba(0, 132, 255, 0.35);
    position: relative;
    overflow: hidden;
}

.pricing-messenger-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
    animation: pricingShine 2.5s infinite;
}

@keyframes pricingShine {
    0% { left: -100%; }
    50%, 100% { left: 100%; }
}

.pricing-messenger-cta:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 40px rgba(0, 132, 255, 0.45);
}

.pricing-messenger-icon {
    width: 55px;
    height: 55px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    flex-shrink: 0;
}

.pricing-messenger-content {
    flex: 1;
}

.pricing-messenger-title {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 3px;
}

.pricing-messenger-subtitle {
    display: block;
    font-size: 0.85rem;
    opacity: 0.9;
}

.pricing-messenger-arrow {
    font-size: 1.2rem;
    animation: priceArrowBounce 1s ease-in-out infinite;
}

/* Báo giá thử — AI (dưới CTA Messenger) */
.pricing-trial-cta {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 18px 28px;
    background: linear-gradient(135deg, #1a9e9e, #7b5cb7);
    border-radius: var(--border-radius);
    color: white;
    text-decoration: none;
    margin: 16px auto 0;
    max-width: 550px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 24px rgba(26, 158, 158, 0.3);
    position: relative;
    overflow: hidden;
}

.pricing-trial-cta:hover {
    transform: translateY(-3px) scale(1.01);
    box-shadow: 0 10px 32px rgba(123, 92, 183, 0.35);
    color: white;
}

.pricing-trial-icon {
    width: 52px;
    height: 52px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    flex-shrink: 0;
}

.pricing-trial-content {
    flex: 1;
}

.pricing-trial-title {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.pricing-trial-note {
    display: block;
    font-size: 0.82rem;
    opacity: 0.92;
    font-weight: 400;
    line-height: 1.35;
}

.pricing-trial-arrow {
    font-size: 1.15rem;
    animation: priceArrowBounce 1s ease-in-out infinite;
}

@keyframes priceArrowBounce {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(5px); }
}

/* AI Smart Quote Card */
.pricing-ai-card {
    background: #fff;
    border-radius: 15px;
    border: 1px solid #e8e0f0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    margin: 30px 0 20px;
    overflow: hidden;
}

.pricing-ai-card::before {
    content: '';
    display: block;
    height: 4px;
    background: linear-gradient(90deg, #4EB79C, #613F8B);
}

.pricing-ai-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px 28px 20px;
}

.pricing-ai-card-title-wrap .pricing-ai-title {
    font-size: 1.15rem;
    color: var(--text);
    margin: 0 0 4px 0;
}

.pricing-ai-card-title-wrap .pricing-ai-subtitle {
    font-size: 0.88rem;
    color: var(--text-light);
    margin: 0;
}

.pricing-ai-form {
    padding: 0 28px 24px;
}

.pricing-ai-package-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 12px;
}

.pricing-ai-packages {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.pricing-ai-pkg-option {
    display: flex;
    flex-direction: column;
    padding: 12px 18px;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
}

.pricing-ai-pkg-option:hover {
    border-color: #4EB79C;
    background: rgba(78, 183, 156, 0.08);
}

.pricing-ai-pkg-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.pricing-ai-pkg-option:has(input:checked) {
    border-color: #4EB79C;
    background: rgba(78, 183, 156, 0.12);
}

.pricing-ai-pkg-option .pkg-name {
    font-weight: 600;
    color: var(--text);
    margin-bottom: 2px;
}

.pricing-ai-pkg-option .pkg-meta {
    font-size: 0.82rem;
    color: var(--text-light);
}

.pricing-ai-pkg-option.is-bestseller .pkg-name::after {
    content: ' 🔥';
}

.pricing-ai-pkg-option.is-bestseller .pkg-name::after {
    content: ' 🔥';
    font-size: 0.85em;
}

.pricing-ai-submit {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    background: linear-gradient(135deg, #4EB79C, #613F8B);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.pricing-ai-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(78, 183, 156, 0.4);
}

.pricing-ai-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #4EB79C, #613F8B);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #fff;
    flex-shrink: 0;
}

.pricing-ai-header-text h3 {
    font-size: 1.15rem;
    color: var(--text);
    margin: 0 0 4px 0;
}

.pricing-ai-header-text p {
    font-size: 0.88rem;
    color: var(--text-light);
    margin: 0;
}

.pricing-ai-package-select {
    margin-bottom: 20px;
}

.pricing-ai-package-select label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 12px;
}

.pricing-ai-selector {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.pricing-ai-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 16px;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
}

.pricing-ai-option:hover {
    border-color: #4EB79C;
    background: rgba(78, 183, 156, 0.08);
}

.pricing-ai-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.pricing-ai-option.checked {
    border-color: #4EB79C;
    background: rgba(78, 183, 156, 0.12);
    box-shadow: 0 0 0 1px #4EB79C;
}

.pricing-ai-option-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text);
}

.pricing-ai-option-size {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 2px;
}

.pricing-ai-option-price {
    font-size: 0.85rem;
    font-weight: 700;
    color: #613F8B;
    margin-top: 4px;
}

.pricing-ai-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 24px;
    background: linear-gradient(135deg, #4EB79C, #613F8B);
    border: none;
    border-radius: 10px;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s;
}

.pricing-ai-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(78, 183, 156, 0.4);
}

.pricing-ai-cta i {
    font-size: 1.1rem;
}

@media (max-width: 480px) {
    .pricing-ai-cta {
        flex-direction: column;
        text-align: center;
        padding: 20px;
        gap: 12px;
    }
    
    .pricing-ai-icon {
        width: 50px;
        height: 50px;
        font-size: 1.4rem;
    }
    
    .pricing-ai-title {
        font-size: 1rem;
    }
    
    .pricing-ai-subtitle {
        font-size: 0.8rem;
    }
    
    .pricing-ai-arrow {
        display: none;
    }
    
    .pricing-messenger-cta {
        flex-direction: column;
        text-align: center;
        padding: 20px;
        gap: 12px;
    }
    
    .pricing-messenger-icon {
        width: 50px;
        height: 50px;
        font-size: 1.4rem;
    }
    
    .pricing-messenger-title {
        font-size: 1rem;
    }
    
    .pricing-messenger-subtitle {
        font-size: 0.8rem;
    }
    
    .pricing-messenger-arrow {
        display: none;
    }
    
    .pricing-trial-cta {
        flex-direction: column;
        text-align: center;
        padding: 18px 20px;
        gap: 12px;
    }
    
    .pricing-trial-icon {
        width: 48px;
        height: 48px;
        font-size: 1.3rem;
    }
    
    .pricing-trial-title {
        font-size: 1rem;
    }
    
    .pricing-trial-note {
        font-size: 0.78rem;
    }
    
    .pricing-trial-arrow {
        display: none;
    }
}

/* ========================================
   PROCESS SECTION
   ======================================== */
.process {
    background: var(--bg-white);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 50px;
    left: 15%;
    right: 15%;
    height: 3px;
    background: var(--gradient);
    z-index: 0;
}

.process-step {
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 100px;
    height: 100px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient);
    border-radius: 50%;
    font-size: 2.5rem;
    color: var(--text-white);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.process-step:hover .step-number {
    transform: scale(1.1);
}

.step-icon {
    font-size: 2rem;
}

.process-step h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.process-step p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ========================================
   TESTIMONIALS SECTION
   ======================================== */
.testimonials {
    background: var(--gradient);
    color: var(--text-white);
}

.testimonials .section-header h2 {
    -webkit-text-fill-color: var(--text-white);
    background: none;
}

.testimonials .section-header p {
    color: rgba(255,255,255,0.8);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
}

.testimonial-card:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-5px);
}

.testimonial-avatar {
    width: 80px;
    height: 80px;
    min-width: 80px;
    min-height: 80px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    margin: 0 auto 20px;
    border: 3px solid var(--text-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    background: rgba(255,255,255,0.2);
    overflow: hidden;
    flex-shrink: 0;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-name {
    font-weight: 600;
    font-size: 1.1rem;
}

.testimonial-role {
    opacity: 0.8;
    font-size: 0.9rem;
}

.testimonial-stars {
    margin-top: 15px;
    color: #ffd700;
}

/* ========================================
   FAQ SECTION
   ======================================== */
.faq {
    background: var(--bg-light);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-white);
    margin-bottom: 15px;
    border-radius: var(--border-radius-sm);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    text-align: left;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--primary-cyan);
}

.faq-question i {
    transition: var(--transition);
    color: var(--primary-purple);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 30px 25px;
    color: var(--text-light);
    line-height: 1.8;
}

/* ========================================
   CONTACT SECTION
   ======================================== */
.contact {
    background: var(--bg-white);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-info p {
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.8;
}

.contact-details {
    list-style: none;
}

.contact-details li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.contact-details i {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient);
    border-radius: 50%;
    color: var(--text-white);
    font-size: 1.2rem;
}

/* Messenger CTA nổi bật */
.messenger-cta {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 25px;
    background: linear-gradient(135deg, #0084ff, #00a8ff);
    border-radius: var(--border-radius);
    color: white;
    text-decoration: none;
    margin: 25px 0;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 132, 255, 0.35);
    position: relative;
    overflow: hidden;
}

.messenger-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: messengerShine 2s infinite;
}

@keyframes messengerShine {
    0% { left: -100%; }
    50%, 100% { left: 100%; }
}

.messenger-cta:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 35px rgba(0, 132, 255, 0.45);
}

.messenger-cta-icon {
    width: 55px;
    height: 55px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    flex-shrink: 0;
}

.messenger-cta-content {
    flex: 1;
}

.messenger-cta-title {
    display: block;
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.messenger-cta-subtitle {
    display: block;
    font-size: 0.85rem;
    opacity: 0.9;
}

.messenger-cta-arrow {
    font-size: 1.3rem;
    animation: arrowBounce 1s ease-in-out infinite;
}

@keyframes arrowBounce {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(5px); }
}

@media (max-width: 480px) {
    .messenger-cta {
        padding: 15px 18px;
        gap: 12px;
    }
    
    .messenger-cta-icon {
        width: 45px;
        height: 45px;
        font-size: 1.4rem;
    }
    
    .messenger-cta-title {
        font-size: 1rem;
    }
    
    .messenger-cta-subtitle {
        font-size: 0.75rem;
    }
}

.contact-form {
    background: var(--bg-light);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e0e0e0;
    border-radius: var(--border-radius-sm);
    font-size: 1rem;
    transition: var(--transition);
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-cyan);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-button {
    width: 100%;
    padding: 18px;
    background: var(--gradient);
    color: var(--text-white);
    border: none;
    border-radius: var(--border-radius-sm);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* ========================================
   BACK TO TOP - Nằm trên nút Tư vấn
   ======================================== */
.back-to-top {
    position: fixed;
    bottom: 90px;
    right: 20px;
    z-index: 999;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient);
    color: #fff;
    border-radius: 50%;
    box-shadow: 0 6px 25px rgba(26, 158, 158, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.35s ease;
}

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

.back-to-top:hover {
    color: #fff;
    transform: translateY(-4px);
    box-shadow: 0 10px 35px rgba(26, 158, 158, 0.5);
}

.back-to-top i {
    font-size: 1.1rem;
}

@media (max-width: 480px) {
    .back-to-top {
        bottom: 78px;
        right: 15px;
        width: 44px;
        height: 44px;
    }
}

/* ========================================
   FLOATING CHAT BUTTON - COMBINED
   ======================================== */
.chat-float-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(3px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.chat-float-overlay.active {
    opacity: 1;
    visibility: visible;
}

.chat-float-container {
    position: fixed;
    bottom: 25px;
    right: 20px;
    z-index: 1000;
}

.chat-float-toggle {
    display: flex;
    align-items: center;
    height: 55px;
    padding-left: 55px;
    padding-right: 18px;
    border-radius: 50px;
    border: none;
    background: linear-gradient(135deg, #1a9e9e, #7b5cb7);
    color: #fff;
    cursor: pointer;
    position: relative;
    box-shadow: 0 8px 30px rgba(123, 92, 183, 0.5);
    transition: all 0.3s ease;
    animation: floatBounce 2s ease-in-out infinite;
}

.chat-float-label {
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    margin-left: 8px;
}

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

.chat-float-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 40px rgba(123, 92, 183, 0.6);
    animation: none;
}

.chat-float-pulse {
    position: absolute;
    inset: -5px;
    border-radius: 50px;
    background: linear-gradient(135deg, #1a9e9e, #7b5cb7);
    opacity: 0.5;
    animation: pulse 1.5s ease-out infinite;
    z-index: -1;
}

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

.chat-float-icon,
.chat-float-close {
    position: absolute;
    left: 0;
    top: 0;
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    color: #fff;
}

.chat-float-close {
    opacity: 0;
    transform: rotate(-90deg) scale(0.5);
}

.chat-float-container.active .chat-float-icon {
    opacity: 0;
    transform: rotate(90deg) scale(0.5);
}

.chat-float-container.active .chat-float-close {
    opacity: 1;
    transform: rotate(0) scale(1);
}

.chat-float-container.active .chat-float-toggle {
    animation: none;
    background: linear-gradient(135deg, #666, #888);
}

.chat-float-container.active .chat-float-pulse {
    display: none;
}

/* Options popup */
.chat-float-options {
    position: absolute;
    bottom: 75px;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.8);
    transition: all 0.3s ease;
}

.chat-float-container.active .chat-float-options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.chat-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    border-radius: 50px;
    color: var(--text-white);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    white-space: nowrap;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    transform: translateX(20px);
    opacity: 0;
}

.chat-float-container.active .chat-option {
    transform: translateX(0);
    opacity: 1;
}

.chat-float-container.active .chat-option:nth-child(1) {
    transition-delay: 0.1s;
}

.chat-float-container.active .chat-option:nth-child(2) {
    transition-delay: 0.05s;
}

.chat-option:hover {
    transform: translateX(-5px) scale(1.05);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
}

.chat-option i,
.chat-option svg {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.chat-option-logo {
    width: 32px;
    height: 32px;
    padding: 4px;
    background: #fff;
    border-radius: 50%;
    object-fit: contain;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.chat-option-messenger {
    background: linear-gradient(135deg, #0084ff, #00c6ff);
}

.chat-option-zalo {
    background: linear-gradient(135deg, #0068ff, #00a1ff);
}

/* Mobile */
@media (max-width: 480px) {
    .chat-float-container {
        bottom: 20px;
        right: 15px;
    }
    
    .chat-float-toggle {
        height: 48px;
        padding-left: 48px;
        padding-right: 14px;
    }
    
    .chat-float-icon,
    .chat-float-close {
        width: 48px;
        height: 48px;
        font-size: 1.2rem;
    }
    
    .chat-float-label {
        font-size: 0.8rem;
        margin-left: 6px;
    }
    
    .chat-float-options {
        bottom: 60px;
    }
    
    .chat-option {
        padding: 10px 16px;
        font-size: 0.9rem;
        gap: 10px;
    }
    
    .chat-option i,
    .chat-option svg {
        width: 24px;
        height: 24px;
        font-size: 1.2rem;
    }
    
    .chat-option-logo {
        width: 28px;
        height: 28px;
        padding: 3px;
    }
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: var(--text-dark);
    color: var(--text-white);
    padding: 50px 0 30px;
    text-align: center;
}

.footer-logo {
    width: 120px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
}

.footer-text {
    opacity: 0.8;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

.footer-social a {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--gradient);
    transform: translateY(-3px);
}

/* Facebook Page Plugin in Footer */
.footer-facebook {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.footer-facebook .fb-page {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

@media (max-width: 380px) {
    .footer-facebook .fb-page,
    .footer-facebook .fb-page span,
    .footer-facebook .fb-page iframe {
        width: 100% !important;
        max-width: 300px;
    }
}

.footer-copyright {
    opacity: 0.6;
    font-size: 0.9rem;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* ========================================
   LIGHTBOX
   ======================================== */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.95);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.lightbox.active {
    opacity: 1;
    pointer-events: all;
}

.lightbox-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 20px;
}

.lightbox-media-container {
    position: relative;
    max-width: 100%;
    max-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 70vh;
    border-radius: var(--border-radius);
    transform: scale(0.9);
    transition: var(--transition);
    object-fit: contain;
}

.lightbox.active .lightbox-content {
    transform: scale(1);
}

.lightbox-video {
    max-width: 90vw;
    max-height: 70vh;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 2.5rem;
    color: var(--text-white);
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
}

.lightbox-close:hover {
    transform: rotate(90deg);
}

/* Navigation arrows */
.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.15);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: var(--transition);
    z-index: 10;
}

.lightbox-nav:hover {
    background: rgba(255,255,255,0.3);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

/* Thumbnails */
.lightbox-thumbnails {
    display: flex;
    gap: 10px;
    padding: 15px;
    background: rgba(0,0,0,0.5);
    overflow-x: auto;
    max-width: 100%;
    justify-content: center;
}

.lightbox-thumb {
    width: 60px;
    height: 90px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.5;
    transition: var(--transition);
    flex-shrink: 0;
    position: relative;
    border: 2px solid transparent;
}

.lightbox-thumb:hover {
    opacity: 0.8;
}

.lightbox-thumb.active {
    opacity: 1;
    border-color: var(--primary-cyan);
}

.lightbox-thumb img,
.lightbox-thumb video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lightbox-thumb .thumb-video-icon {
    position: absolute;
    bottom: 3px;
    left: 3px;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 2px 5px;
    border-radius: 3px;
    font-size: 8px;
}

/* Counter */
.lightbox-counter {
    position: absolute;
    bottom: 120px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.6);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
}

/* Gallery item media count badge */
.gallery-item .media-count {
    display: block;
    margin-top: 8px;
    font-size: 0.85rem;
    opacity: 0.9;
}

/* Gallery source thumb - ảnh thực góc trái */
.gallery-source-thumb {
    position: absolute;
    bottom: 10px;
    left: 10px;
    width: 80px;
    height: 112px;
    border-radius: 6px;
    overflow: hidden;
    border: 2px solid rgba(255,255,255,0.9);
    box-shadow: 0 2px 10px rgba(0,0,0,0.4);
    z-index: 2;
}

.gallery-source-thumb.landscape {
    width: 112px;
    height: 80px;
}

.gallery-source-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Lightbox source thumb - ảnh thực góc trái khi zoom */
.lightbox-source-thumb {
    position: absolute;
    bottom: 15px;
    left: 15px;
    width: 100px;
    height: 140px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid rgba(255,255,255,0.9);
    box-shadow: 0 2px 12px rgba(0,0,0,0.5);
    z-index: 5;
}

.lightbox-source-thumb.landscape {
    width: 140px;
    height: 100px;
}

.lightbox-source-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 768px) {
    .lightbox-nav {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .lightbox-prev {
        left: 10px;
    }
    
    .lightbox-next {
        right: 10px;
    }
    
    .lightbox-thumb {
        width: 50px;
        height: 75px;
    }
    
    .lightbox-counter {
        bottom: 110px;
    }
    
    .lightbox-content,
    .lightbox-video {
        max-height: 60vh;
    }
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-dark);
    cursor: pointer;
    padding: 10px;
    z-index: 1700;
    position: relative;
}

.mobile-nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1550;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-nav-overlay.active {
    opacity: 1;
}

@media (max-width: 1024px) {
    .features-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-steps::before {
        display: none;
    }
    
    /* Sticky header on tablet */
    .sticky-header nav {
        gap: 20px;
    }
    
    .sticky-header nav a {
        font-size: 0.9rem;
    }
    
    .sticky-header .header-cta {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
    
    /* Artisan section */
    .artisan-wrapper {
        gap: 40px;
    }
    
    /* Comparison grid */
    .comparison-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    /* Hero adjustments - Fix background on mobile */
    .hero {
        background-attachment: scroll;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero .tagline {
        font-size: 1rem;
        padding: 0 20px;
    }
    
    .hero-logo-wrapper {
        padding: 20px;
    }
    
    .hero-logo {
        width: 140px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .section-header h2 {
        font-size: 1.6rem;
    }
    
    .section-header p {
        font-size: 1rem;
        padding: 0 15px;
    }
    
    /* Sticky header mobile - hamburger menu */
    .mobile-menu-toggle {
        display: block;
    }
    
    .sticky-header .container {
        position: relative;
    }
    
    .sticky-header nav {
        position: fixed;
        top: 0;
        right: -280px;
        width: 280px;
        height: 100vh;
        background: var(--bg-white);
        flex-direction: column;
        padding: 80px 30px 30px;
        gap: 0;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 1650;
    }
    
    .sticky-header nav.active {
        right: 0;
    }
    
    .sticky-header nav a {
        padding: 15px 0;
        border-bottom: 1px solid #eee;
        font-size: 1.1rem;
    }
    
    .sticky-header nav .mobile-cta {
        display: block;
        margin-top: 20px;
        padding: 15px 30px;
        background: var(--gradient);
        color: var(--text-white) !important;
        border-radius: 50px;
        text-align: center;
        font-weight: 600;
        border-bottom: none;
    }
    
    .sticky-header .header-cta {
        display: none;
    }
    
    .mobile-nav-overlay {
        display: block;
        pointer-events: none;
    }
    
    .mobile-nav-overlay.active {
        pointer-events: all;
    }
    
    /* Features */
    .features-grid,
    .testimonials-grid,
    .process-steps {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .feature-card {
        padding: 35px 25px;
    }
    
    /* Gallery */
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
    
    .gallery-filter {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .gallery-filter-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    /* Artisan */
    .artisan-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .artisan-content h2 {
        font-size: 1.6rem;
    }
    
    .artisan-quote {
        padding: 20px;
        font-size: 0.95rem;
    }
    
    /* Contact */
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    /* Pricing */
    .pricing-table {
        font-size: 0.85rem;
    }
    
    .pricing-table th,
    .pricing-table td {
        padding: 12px 10px;
    }
    
    .pricing-table td i {
        display: none;
    }
    
    /* Trust badges - keep 2x2 grid on small mobile */
    .trust-badges {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .trust-badge {
        padding: 12px 8px;
    }
    
    .trust-badge i {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .trust-badge span {
        font-size: 0.75rem;
    }
    
    /* Testimonials */
    .testimonial-card {
        padding: 30px 20px;
    }
    
    .testimonial-video {
        margin-top: 30px;
    }
    
    /* Process */
    .process-step {
        padding: 0 20px;
    }
    
    .step-number {
        width: 80px;
        height: 80px;
    }
    
    .step-icon {
        font-size: 1.6rem;
    }
    
    /* Messenger float */
    .messenger-float {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
    }
    
    .messenger-float .tooltip {
        display: none;
    }
    
    /* Stats */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .stat-label {
        font-size: 0.95rem;
    }
    
    /* Logo bar */
    .logo-bar-grid {
        gap: 30px;
    }
    
    .logo-bar-item img {
        height: 30px;
    }
    
    /* Exit popup */
    .exit-popup-content {
        width: 95%;
        max-width: 400px;
    }
    
    .exit-popup-header {
        padding: 30px 20px;
    }
    
    .exit-popup-header h3 {
        font-size: 1.4rem;
    }
    
    .exit-popup-body {
        padding: 25px 20px;
    }
    
    .exit-popup-form {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-logo-wrapper {
        padding: 15px;
    }
    
    .hero-logo {
        width: 120px;
    }
    
    .hero h1 {
        font-size: 1.5rem;
    }
    
    .hero .tagline {
        font-size: 0.95rem;
    }
    
    .cta-button {
        padding: 14px 30px;
        font-size: 0.95rem;
    }
    
    section {
        padding: 50px 0;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .section-header h2 {
        font-size: 1.4rem;
    }
    
    /* Stats - Compact 2x2 grid */
    .stats {
        padding: 30px 0;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .stat-item {
        padding: 12px 8px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 10px;
    }
    
    .stat-icon {
        font-size: 1.5rem;
        margin-bottom: 6px;
    }
    
    .stat-number {
        font-size: 1.6rem;
        margin-bottom: 2px;
    }
    
    .stat-label {
        font-size: 0.75rem;
        line-height: 1.2;
    }
    
    /* Features */
    .feature-card {
        padding: 30px 20px;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .feature-card h3 {
        font-size: 1.2rem;
    }
    
    /* Gallery */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .gallery-filter-btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
    
    /* Pricing - Intro mobile */
    .pricing-visual-block {
        max-width: 300px;
    }
    
    .pricing-visual-frame {
        padding: 12px;
    }
    
    .pricing-intro-card {
        padding: 20px 20px 18px;
    }
    
    .pricing-table-wrap {
        margin-top: 20px;
    }
    
    .pricing-visual-caption {
        font-size: 0.8rem;
    }
    
    /* Pricing - Mobile Card Layout */
    .pricing-table {
        display: block;
    }
    
    .pricing-table thead {
        display: none;
    }
    
    .pricing-table tbody {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
    
    .pricing-table tbody tr {
        display: flex;
        flex-direction: column;
        background: var(--bg-white);
        border-radius: var(--border-radius);
        padding: 20px;
        box-shadow: var(--shadow);
        border: none;
    }
    
    .pricing-table tbody tr:hover {
        transform: translateY(-3px);
    }
    
    .pricing-table td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 8px 0;
        border-bottom: 1px solid #eee;
        white-space: normal;
    }
    
    .pricing-table td:last-child {
        border-bottom: none;
        padding-top: 12px;
    }
    
    .pricing-table td::before {
        content: attr(data-label);
        font-weight: 600;
        color: var(--text-dark);
        font-size: 0.85rem;
    }
    
    .pricing-table td i {
        display: none;
    }
    
    .pricing-table .price {
        font-size: 1.2rem;
    }
    
    .pricing-note {
        font-size: 0.85rem;
        padding: 0 10px;
    }
    
    /* Process - Vertical Timeline */
    .process-steps {
        grid-template-columns: 1fr;
        gap: 0;
        position: relative;
        padding-left: 30px;
    }
    
    .process-steps::before {
        display: block;
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        left: 14px;
        width: 3px;
        height: 100%;
        background: var(--gradient);
    }
    
    .process-step {
        position: relative;
        padding-left: 40px;
        padding-bottom: 30px;
        text-align: left;
    }
    
    .process-step:last-child {
        padding-bottom: 0;
    }
    
    .step-number {
        position: absolute;
        left: -30px;
        top: 0;
        width: 60px;
        height: 60px;
    }
    
    .step-icon {
        font-size: 1.3rem;
    }
    
    .process-step h3 {
        font-size: 1.1rem;
        margin-top: 5px;
    }
    
    .process-step p {
        font-size: 0.9rem;
    }
    
    /* Contact */
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-info {
        text-align: center;
    }
    
    .contact-info h3 {
        font-size: 1.5rem;
    }
    
    .contact-info > p {
        font-size: 0.95rem;
    }
    
    .contact-form {
        padding: 25px 20px;
    }
    
    .form-group label {
        font-size: 0.9rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 12px 15px;
        font-size: 0.95rem;
    }
    
    .submit-button {
        width: 100%;
        padding: 15px;
        font-size: 1rem;
    }
    
    .contact-details {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .contact-details li {
        flex-direction: column;
        text-align: center;
        gap: 8px;
        padding: 15px 10px;
        background: rgba(26, 158, 158, 0.05);
        border-radius: var(--border-radius-sm);
    }
    
    .contact-details i {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .contact-details span {
        font-size: 0.85rem;
        line-height: 1.3;
    }
    
    /* Messenger CTA mobile */
    .messenger-cta {
        margin: 20px 0;
    }
    
    /* FAQ */
    .faq-question {
        padding: 20px;
        font-size: 1rem;
    }
    
    .faq-answer p {
        padding: 0 20px 20px;
        font-size: 0.95rem;
    }
    
    /* Testimonials */
    .testimonial-avatar {
        width: 60px;
        height: 60px;
        min-width: 60px;
        min-height: 60px;
        aspect-ratio: 1 / 1;
    }
    
    .testimonial-text {
        font-size: 0.95rem;
    }
    
    .testimonial-name {
        font-size: 1rem;
    }
    
    /* Footer */
    .footer {
        padding: 40px 0 25px;
    }
    
    .footer-logo {
        width: 100px;
    }
    
    .footer-social {
        gap: 12px;
    }
    
    .footer-social a {
        width: 40px;
        height: 40px;
    }
    
    /* Artisan */
    .artisan-badge {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    
    .artisan-content .lead {
        font-size: 1.05rem;
    }
    
    .artisan-signature img {
        width: 50px;
        height: 50px;
    }
    
    /* Comparison */
    .comparison-caption {
        padding: 15px;
    }
    
    .comparison-caption h4 {
        font-size: 1rem;
    }
    
    .comparison-labels span {
        padding: 6px 12px;
        font-size: 0.75rem;
    }
}

/* ========================================
   STICKY HEADER
   ======================================== */
.sticky-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 15px 0;
    z-index: 1600;
    transform: translateY(-100%);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.sticky-header.visible {
    transform: translateY(0);
}

.sticky-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sticky-header .logo-small {
    height: 40px;
    width: auto;
}

.sticky-header .header-cta {
    padding: 12px 30px;
    background: var(--gradient);
    color: var(--text-white);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
}

.sticky-header .header-cta:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow);
}

.sticky-header nav {
    display: flex;
    gap: 30px;
}

.sticky-header nav a {
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
}

.sticky-header nav a:hover {
    color: var(--primary-cyan);
}

.sticky-header nav .mobile-cta {
    display: none;
}

/* ========================================
   STATS COUNTER SECTION
   ======================================== */
.stats {
    background: var(--gradient);
    padding: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
    color: var(--text-white);
}

.stat-item {
    padding: 20px;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    display: block;
    margin-bottom: 10px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   BEFORE/AFTER COMPARISON SLIDER
   ======================================== */
.before-after {
    background: var(--bg-white);
    padding: 100px 0;
}

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.comparison-item {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.comparison-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    cursor: ew-resize;
    user-select: none;
}

.comparison-slider img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.comparison-before {
    z-index: 1;
}

.comparison-after {
    z-index: 2;
    clip-path: inset(0 50% 0 0);
}

.comparison-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background: var(--text-white);
    z-index: 10;
    cursor: ew-resize;
    transform: translateX(-50%);
}

.comparison-handle::before,
.comparison-handle::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: var(--text-white);
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.comparison-handle::before {
    top: 50%;
    transform: translate(-50%, -50%);
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
}

.comparison-handle::after {
    display: none;
}

.comparison-handle-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: var(--text-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
    z-index: 11;
}

.comparison-handle-icon i {
    color: var(--primary-purple);
    font-size: 1.2rem;
}

.comparison-labels {
    position: absolute;
    bottom: 15px;
    left: 15px;
    right: 15px;
    display: flex;
    justify-content: space-between;
    z-index: 5;
    pointer-events: none;
}

.comparison-labels span {
    background: rgba(0, 0, 0, 0.7);
    color: var(--text-white);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.comparison-caption {
    padding: 20px;
    background: var(--bg-light);
}

.comparison-caption h4 {
    margin-bottom: 5px;
    color: var(--text-dark);
}

.comparison-caption p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
}

@media (max-width: 768px) {
    .comparison-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   ARTISAN STORYTELLING SECTION
   ======================================== */
.artisan {
    background: var(--bg-light);
    padding: 100px 0;
}

/* Artisan Slider Container */
.artisan-slider-container {
    position: relative;
}

.artisan-slider {
    position: relative;
    overflow: hidden;
}

.artisan-slide {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.artisan-slide.active {
    display: block;
    opacity: 1;
}

/* Section Header cho mỗi slide */
.artisan-section-header {
    text-align: center;
    margin-bottom: 40px;
}

.artisan-section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 15px;
}

.artisan-section-desc {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .artisan-section-title {
        font-size: 1.6rem;
    }
    
    .artisan-section-desc {
        font-size: 1rem;
    }
    
    .artisan-section-header {
        margin-bottom: 30px;
    }
}

/* Slider Controls */
.artisan-slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.artisan-slider-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    background: transparent;
    color: var(--primary);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.artisan-slider-btn:hover {
    background: var(--primary);
    color: var(--text-white);
    transform: scale(1.1);
}

.artisan-slider-dots {
    display: flex;
    gap: 12px;
}

.artisan-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 3px solid var(--primary);
    background: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    box-shadow: 0 2px 8px rgba(26, 158, 158, 0.3);
}

.artisan-dot:hover {
    background: rgba(26, 158, 158, 0.4);
    transform: scale(1.2);
    box-shadow: 0 4px 12px rgba(26, 158, 158, 0.5);
}

.artisan-dot.active {
    background: var(--primary);
    transform: scale(1.3);
    box-shadow: 0 4px 15px rgba(26, 158, 158, 0.6);
}

.artisan-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.artisan-image {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-hover);
}

.artisan-image img {
    width: 100%;
    height: auto;
    display: block;
}

.artisan-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: var(--gradient);
    color: var(--text-white);
    padding: 15px 25px;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
}

.artisan-badge i {
    margin-right: 8px;
}

/* Responsive cho slider controls */
@media (max-width: 768px) {
    .artisan-slider-controls {
        margin-top: 30px;
        gap: 15px;
    }
    
    .artisan-slider-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .artisan-dot {
        width: 12px;
        height: 12px;
    }
    
    .artisan-slider-dots {
        gap: 10px;
    }
}

.artisan-content h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.artisan-content .lead {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 25px;
    line-height: 1.8;
}

.artisan-content p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
}

.artisan-quote {
    background: var(--bg-white);
    padding: 25px 30px;
    border-left: 4px solid var(--primary-cyan);
    border-radius: 0 var(--border-radius-sm) var(--border-radius-sm) 0;
    margin: 30px 0;
    font-style: italic;
    color: var(--text-dark);
}

.artisan-signature {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 30px;
}

.artisan-signature img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-cyan);
}

.artisan-signature-text strong {
    display: block;
    color: var(--text-dark);
}

.artisan-signature-text span {
    color: var(--text-light);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .artisan-wrapper {
        grid-template-columns: 1fr;
    }
    
    .artisan-content h2 {
        font-size: 1.8rem;
    }
}

/* ========================================
   TRUST BADGES
   ======================================== */
.trust-badges {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid #eee;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-light);
}

.trust-badge i {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient);
    border-radius: 50%;
    color: var(--text-white);
    font-size: 1.1rem;
}

.trust-badge span {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .trust-badges {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding-top: 25px;
        margin-top: 25px;
    }
    
    .trust-badge {
        flex-direction: column;
        text-align: center;
        gap: 8px;
        padding: 15px 10px;
        background: rgba(26, 158, 158, 0.05);
        border-radius: var(--border-radius-sm);
    }
    
    .trust-badge i {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .trust-badge span {
        font-size: 0.8rem;
        line-height: 1.3;
    }
}

/* ========================================
   GALLERY FILTER
   ======================================== */
.gallery-filter {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.gallery-filter-btn {
    padding: 12px 28px;
    background: var(--bg-light);
    border: 2px solid transparent;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-dark);
    transition: var(--transition);
}

.gallery-filter-btn:hover,
.gallery-filter-btn.active {
    background: var(--gradient);
    color: var(--text-white);
}

.gallery-item {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Gallery Pagination */
.gallery-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
}

.gallery-page-btn {
    width: 45px;
    height: 45px;
    border: 2px solid var(--primary-cyan);
    background: transparent;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-cyan);
    font-size: 1rem;
    transition: var(--transition);
}

.gallery-page-btn:hover:not(:disabled) {
    background: var(--gradient);
    color: white;
    border-color: transparent;
}

.gallery-page-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.gallery-page-numbers {
    display: flex;
    gap: 8px;
}

.gallery-page-num {
    width: 40px;
    height: 40px;
    border: 2px solid #ddd;
    background: white;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--text-dark);
    transition: var(--transition);
}

.gallery-page-num:hover {
    border-color: var(--primary-cyan);
    color: var(--primary-cyan);
}

.gallery-page-num.active {
    background: var(--gradient);
    border-color: transparent;
    color: white;
}

@media (max-width: 480px) {
    .gallery-pagination {
        gap: 6px;
        margin-top: 30px;
    }
    
    .gallery-page-btn {
        width: 38px;
        height: 38px;
    }
    
    .gallery-page-num {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
}

/* ========================================
   SCARCITY BANNER
   ======================================== */
.scarcity-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(90deg, #ff6b6b, #ee5a24);
    color: var(--text-white);
    text-align: center;
    padding: 12px 20px;
    z-index: 2000;
    font-weight: 600;
    transform: translateY(-100%);
    animation: slideDown 0.5s ease 2s forwards;
}

@keyframes slideDown {
    to {
        transform: translateY(0);
    }
}

.scarcity-banner i {
    margin-right: 10px;
}

.scarcity-banner .scarcity-slots {
    background: var(--text-white);
    color: #ee5a24;
    padding: 2px 10px;
    border-radius: 20px;
    margin: 0 5px;
    font-weight: 800;
}

.scarcity-banner .scarcity-close {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-white);
    cursor: pointer;
    font-size: 1.2rem;
    opacity: 0.8;
}

.scarcity-banner .scarcity-close:hover {
    opacity: 1;
}

/* ========================================
   EXIT INTENT POPUP
   ======================================== */
.exit-popup {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.exit-popup.active {
    opacity: 1;
    pointer-events: all;
}

.exit-popup-content {
    background: var(--bg-white);
    max-width: 500px;
    width: 90%;
    border-radius: var(--border-radius);
    overflow: hidden;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    position: relative;
}

.exit-popup.active .exit-popup-content {
    transform: scale(1);
}

.exit-popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 35px;
    height: 35px;
    background: var(--bg-light);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--text-light);
    transition: var(--transition);
    z-index: 10;
}

.exit-popup-close:hover {
    background: var(--text-dark);
    color: var(--text-white);
}

.exit-popup-header {
    background: var(--gradient);
    color: var(--text-white);
    padding: 40px 30px;
    text-align: center;
}

.exit-popup-header i {
    font-size: 3rem;
    margin-bottom: 15px;
}

.exit-popup-header h3 {
    font-size: 1.6rem;
    margin-bottom: 10px;
}

.exit-popup-header p {
    opacity: 0.9;
}

.exit-popup-body {
    padding: 30px;
    text-align: center;
}

.exit-popup-offer {
    background: #fff3cd;
    border: 2px dashed #ffc107;
    padding: 20px;
    border-radius: var(--border-radius-sm);
    margin-bottom: 25px;
}

.exit-popup-offer .offer-value {
    font-size: 2rem;
    font-weight: 800;
    color: #ee5a24;
    display: block;
}

.exit-popup-offer .offer-text {
    color: var(--text-dark);
    font-weight: 600;
}

.exit-popup-form {
    display: flex;
    gap: 10px;
}

.exit-popup-form input {
    flex: 1;
    padding: 15px 20px;
    border: 2px solid #e0e0e0;
    border-radius: var(--border-radius-sm);
    font-size: 1rem;
}

.exit-popup-form input:focus {
    outline: none;
    border-color: var(--primary-cyan);
}

.exit-popup-form button {
    padding: 15px 30px;
    background: var(--gradient);
    color: var(--text-white);
    border: none;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.exit-popup-form button:hover {
    transform: scale(1.05);
}

@media (max-width: 480px) {
    .exit-popup-form {
        flex-direction: column;
    }
}

/* ========================================
   NOTIFICATION TOAST
   ======================================== */
.notification {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--text-dark);
    color: var(--text-white);
    padding: 15px 30px;
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 4000;
    opacity: 0;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.notification.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.notification-success {
    background: #27ae60;
}

.notification i {
    font-size: 1.2rem;
}

/* ========================================
   SCROLL ANIMATIONS
   ======================================== */
.section-animate {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.section-animate.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children animation */
.stagger-children > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.stagger-children.animate-in > *:nth-child(1) { transition-delay: 0.1s; }
.stagger-children.animate-in > *:nth-child(2) { transition-delay: 0.2s; }
.stagger-children.animate-in > *:nth-child(3) { transition-delay: 0.3s; }
.stagger-children.animate-in > *:nth-child(4) { transition-delay: 0.4s; }

.stagger-children.animate-in > * {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   3D HOVER EFFECTS
   ======================================== */
.card-3d {
    transform-style: preserve-3d;
    perspective: 1000px;
}

.card-3d:hover {
    transform: rotateY(5deg) rotateX(5deg);
}

/* ========================================
   RIPPLE EFFECT FOR BUTTONS
   ======================================== */
.ripple {
    position: relative;
    overflow: hidden;
}

.ripple::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 50%;
    left: 50%;
    pointer-events: none;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 60%);
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    transition: transform 0.5s ease, opacity 0.5s ease;
}

.ripple:active::after {
    transform: translate(-50%, -50%) scale(2);
    opacity: 1;
    transition: transform 0s, opacity 0s;
}

/* ========================================
   TYPING CURSOR
   ======================================== */
.tagline-typed::after {
    content: '|';
    animation: blink 0.7s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* ========================================
   LOGO BAR
   ======================================== */
.logo-bar {
    background: var(--bg-white);
    padding: 40px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.logo-bar-title {
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.logo-bar-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

.logo-bar-item {
    filter: grayscale(100%);
    opacity: 0.5;
    transition: var(--transition);
}

.logo-bar-item:hover {
    filter: grayscale(0%);
    opacity: 1;
}

.logo-bar-item img {
    height: 40px;
    width: auto;
}

/* ========================================
   VIDEO TESTIMONIAL
   ======================================== */
.testimonial-video {
    aspect-ratio: 16/9;
    border-radius: var(--border-radius);
    overflow: hidden;
    margin-top: 40px;
    box-shadow: var(--shadow);
}

.testimonial-video iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ========================================
   ENHANCED TESTIMONIAL CARDS
   ======================================== */
.testimonial-card-enhanced {
    position: relative;
}

.testimonial-date {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 0.8rem;
    opacity: 0.7;
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

/* ========================================
   TESTIMONIALS AUTO SLIDER (3 cards per slide)
   ======================================== */
.testimonials-slider-container {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
}

.testimonials-slider {
    position: relative;
    min-height: 400px;
}

.testimonial-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transform: translateX(30px);
    transition: all 0.5s ease;
}

.testimonial-slide.active {
    position: relative;
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.testimonials-slide-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.testimonials-slide-grid .testimonial-card {
    text-align: center;
}

.testimonials-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.testimonial-nav-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.3);
    background: transparent;
    color: var(--text-white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.testimonial-nav-btn:hover {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.5);
}

.testimonials-dots {
    display: flex;
    gap: 10px;
}

.testimonial-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.5);
    background: transparent;
    cursor: pointer;
    transition: var(--transition);
}

.testimonial-dot:hover {
    background: rgba(255,255,255,0.3);
}

.testimonial-dot.active {
    background: var(--text-white);
    border-color: var(--text-white);
}

@media (max-width: 1024px) {
    .testimonials-slide-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-slider {
        min-height: 450px;
    }
}

@media (max-width: 768px) {
    .testimonials-slide-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .testimonials-slider {
        min-height: auto;
    }
    
    .testimonial-nav-btn {
        width: 40px;
        height: 40px;
    }
    
    .testimonials-controls {
        gap: 15px;
    }
}

/* ========================================
   LOADING STATE
   ======================================== */
body:not(.loaded) {
    overflow: hidden;
}

body:not(.loaded)::before {
    content: '';
    position: fixed;
    inset: 0;
    background: var(--bg-white);
    z-index: 9999;
}

body:not(.loaded)::after {
    content: '';
    position: fixed;
    top: 50%;
    left: 50%;
    width: 50px;
    height: 50px;
    border: 4px solid var(--bg-light);
    border-top-color: var(--primary-cyan);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 10000;
    transform: translate(-50%, -50%);
}

@keyframes spin {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* ========================================
   WATERMARK & COPY PROTECTION
   ======================================== */
/* Watermark overlay for gallery items - using Minifi logo */
.gallery-item {
    position: relative;
}

.gallery-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('../assets/Logo_mocmien.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 50%;
    opacity: 0.25;
    z-index: 3;
    pointer-events: none;
    filter: brightness(0) invert(1) drop-shadow(0 0 2px rgba(0,0,0,0.5));
}

/* Watermark for lightbox */
.lightbox-media-container {
    position: relative;
}

.lightbox-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 25%;
    max-width: 180px;
    opacity: 0.35;
    pointer-events: none;
    z-index: 10;
    filter: brightness(0) invert(1) drop-shadow(0 0 3px rgba(0,0,0,0.7));
}

/* Disable right-click, drag & select on protected elements */
.protected-media {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
    pointer-events: none;
}

.gallery-item img,
.gallery-item video,
.lightbox-content,
.lightbox-video {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
}

/* Disable context menu hint */
.no-save-hint {
    position: absolute;
    inset: 0;
    z-index: 5;
    cursor: default;
}

/* Lightbox video controls - allow interaction but hide volume */
.lightbox-video {
    pointer-events: auto !important;
}

/* Hide volume controls on video */
.lightbox-video::-webkit-media-controls-volume-slider,
.lightbox-video::-webkit-media-controls-mute-button {
    display: none !important;
}

video::-webkit-media-controls-volume-slider,
video::-webkit-media-controls-mute-button {
    display: none !important;
}

/* Artisan image - không có watermark */

/* ========================================
   PRICING WIZARD STYLES
   ======================================== */

/* Page Layout */
.wizard-page {
    min-height: 100vh;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

/* Cảm ứng: tránh double-tap zoom chờ; hover chỉ áp dụng chuột — xem khối @media bên dưới wizard */
.wizard-page .btn,
.wizard-page button,
.wizard-page .wizard-pkg-card,
.wizard-page .upload-zone,
.wizard-page label.upload-btn,
.wizard-page .upload-btn,
.wizard-page .wizard-back,
.wizard-page .qty-btn,
.wizard-page .add-pet-btn,
.wizard-page .add-accessory-btn,
.wizard-page .btn-messenger,
.wizard-page .btn-send-quote,
.wizard-page .modal-close,
.wizard-page .result-option,
.wizard-page .remove-item {
    touch-action: manipulation;
}

.wizard-header {
    background: var(--bg-white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.wizard-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.wizard-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--primary-cyan);
}

.wizard-logo img {
    height: 40px;
    width: auto;
}

.wizard-back {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    font-size: 0.9rem;
    transition: var(--transition);
}

.wizard-main {
    padding: 40px 0 60px;
}

.wizard-title {
    text-align: center;
    margin-bottom: 40px;
}

.wizard-title h1 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.wizard-title h1 i {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.wizard-title p {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* Progress Bar */
.wizard-progress {
    max-width: 700px;
    margin: 0 auto 40px;
}

.progress-bar {
    height: 6px;
    background: #e0e0e0;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 20px;
}

.progress-fill {
    height: 100%;
    background: var(--gradient);
    border-radius: 3px;
    transition: width 0.4s ease;
    width: 0%;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.step-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #e0e0e0;
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

.progress-step.active .step-circle {
    background: var(--gradient);
    color: white;
    box-shadow: 0 4px 15px rgba(26, 158, 158, 0.4);
}

.progress-step.completed .step-circle {
    background: var(--primary-cyan);
    color: white;
}

.progress-step span {
    font-size: 0.8rem;
    color: var(--text-light);
    text-align: center;
}

.progress-step.active span {
    color: var(--primary-cyan);
    font-weight: 600;
}

/* Wizard Form */
.wizard-form {
    max-width: 700px;
    margin: 0 auto;
}

.wizard-step {
    display: none;
}

.wizard-step.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

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

.step-content {
    background: var(--bg-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 40px;
}

.step-header {
    text-align: center;
    margin-bottom: 30px;
}

.step-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--gradient);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 15px;
}

.step-icon.success {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
}

.step-header h2 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.step-header p {
    color: var(--text-light);
}

/* Báo giá sau "Xem trước AI" trên index: không hiện dòng upload, ảnh lên đầu bước 2 */
body.wizard-from-figure-preview .wizard-step[data-step="2"] .wizard-step2-intro {
    display: none;
}

body.wizard-from-figure-preview .wizard-step[data-step="2"] .preview-grid {
    margin-bottom: 28px;
}

/* Form Groups */
.wizard-form .form-group {
    margin-bottom: 20px;
}

.wizard-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-dark);
}

.wizard-form label i {
    color: var(--primary-cyan);
    margin-right: 5px;
}

.required {
    color: #e74c3c;
}

.optional {
    color: #888;
    font-weight: normal;
    font-size: 0.85em;
}

.wizard-form input[type="text"],
.wizard-form input[type="tel"],
.wizard-form input[type="email"],
.wizard-form input[type="number"],
.wizard-form select,
.wizard-form textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e0e0e0;
    border-radius: var(--border-radius-sm);
    font-size: 1rem;
    transition: var(--transition);
}

.wizard-form input:focus,
.wizard-form select:focus,
.wizard-form textarea:focus {
    outline: none;
    border-color: var(--primary-cyan);
    box-shadow: 0 0 0 3px rgba(26, 158, 158, 0.1);
}

/* Upload Zone */
.upload-zone {
    border: 3px dashed #1a9e9e;
    border-radius: var(--border-radius);
    padding: 40px 25px;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    background: #f8fffe;
}

.upload-zone.dragover {
    border-color: var(--primary-purple);
    background: rgba(26, 158, 158, 0.08);
    transform: scale(1.01);
}

.upload-content i {
    font-size: 3rem;
    color: var(--primary-cyan);
    margin-bottom: 12px;
}

.upload-content h3 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-weight: 600;
}

.upload-content p {
    color: #666;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.upload-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #1a9e9e, #8b5cf6);
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(26, 158, 158, 0.25);
}

.upload-btn i {
    font-size: 1rem;
}

/* Wizard Step 2 - Hướng dẫn kích thước & Chọn gói tượng */
.wizard-size-guide {
    margin-bottom: 24px;
    padding: 20px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(26, 158, 158, 0.05) 0%, rgba(123, 92, 183, 0.05) 100%);
    border: 1px solid rgba(26, 158, 158, 0.2);
}

.wizard-size-guide-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.wizard-size-guide-header i {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: linear-gradient(135deg, #1a9e9e, #7b5cb7);
    color: #fff;
    font-size: 0.9rem;
}

.wizard-size-guide-header span {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text);
}

.wizard-size-guide-content {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: flex-start;
}

.wizard-size-guide-image {
    flex: 0 0 auto;
}

.wizard-size-guide-image img {
    max-width: 180px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.wizard-size-guide-caption {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 8px;
    text-align: center;
}

.wizard-size-guide-list {
    flex: 1;
    min-width: 200px;
    margin: 0;
    padding: 0 0 0 20px;
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.8;
}

.wizard-size-guide-list strong {
    color: var(--text);
}

.wizard-package-block {
    margin-bottom: 28px;
}

.wizard-package-frame {
    padding: 24px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(26, 158, 158, 0.06) 0%, rgba(123, 92, 183, 0.06) 100%);
    border: 1px solid rgba(26, 158, 158, 0.25);
    box-shadow: 0 4px 20px rgba(26, 158, 158, 0.08);
}

.wizard-package-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
}

.wizard-package-header i {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: linear-gradient(135deg, #1a9e9e, #7b5cb7);
    color: #fff;
    font-size: 1rem;
}

.wizard-package-header span {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
}

.wizard-package-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

@media (max-width: 500px) {
    .wizard-package-grid {
        grid-template-columns: 1fr;
    }
}

.wizard-pkg-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 16px 18px;
    background: #fff;
    border: 2px solid #e8ecf0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.wizard-pkg-card input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.wizard-pkg-card:has(input:checked) {
    border-color: #1a9e9e;
    background: linear-gradient(135deg, rgba(26, 158, 158, 0.1), rgba(123, 92, 183, 0.06));
    box-shadow: 0 0 0 1px rgba(26, 158, 158, 0.3);
}

.wizard-pkg-card.is-bestseller {
    padding-right: 52px;
}

.wizard-pkg-card.is-bestseller::before {
    content: 'Bán chạy';
    position: absolute;
    top: 8px;
    right: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 20px;
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
    color: #fff;
}

.wizard-pkg-card.is-bestseller:has(input:checked) {
    border-color: #d97706;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(251, 191, 36, 0.06));
}

.wizard-pkg-card .wizard-pkg-name {
    font-weight: 600;
    font-size: 1rem;
    color: var(--text);
    margin-bottom: 4px;
}

.wizard-pkg-card .wizard-pkg-meta {
    font-size: 0.9rem;
    color: var(--text-light);
}

.wizard-pkg-card .wizard-pkg-detail {
    font-size: 0.82rem;
    color: var(--text-light);
    margin-top: 4px;
}

.wizard-pkg-card:has(input:checked) .wizard-pkg-name {
    color: #1a9e9e;
}

.upload-note {
    font-size: 0.8rem;
    color: #888;
    margin-top: 12px;
    padding: 8px 15px;
    background: #f0f0f0;
    border-radius: 20px;
    display: inline-block;
}

/* Preview Grid */
.preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.preview-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.preview-remove {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(0,0,0,0.6);
    color: white;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.preview-remove:hover {
    background: #e74c3c;
}

.upload-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    color: var(--primary-cyan);
}

/* AI Loading Animation */
.ai-loading {
    text-align: center;
    padding: 40px;
}

.ai-animation {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
}

.ai-brain {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--primary-cyan);
    animation: pulse 1.5s ease-in-out infinite;
}

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

.ai-waves {
    position: absolute;
    inset: 0;
}

.ai-waves span {
    position: absolute;
    inset: 0;
    border: 3px solid var(--primary-cyan);
    border-radius: 50%;
    opacity: 0;
    animation: wave 2s ease-out infinite;
}

.ai-waves span:nth-child(2) { animation-delay: 0.5s; }
.ai-waves span:nth-child(3) { animation-delay: 1s; }

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

.ai-loading p {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* Analysis Result */
.ai-result h3 {
    color: #27ae60;
    margin-bottom: 25px;
    font-size: 1.2rem;
}

.result-section {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.result-section:last-child {
    border-bottom: none;
}

.result-section > label {
    display: block;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.result-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.result-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    background: #f8f9fa;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.result-option input:checked + span {
    color: var(--primary-cyan);
    font-weight: 600;
}

.result-option input:checked ~ span,
.result-option:has(input:checked) {
    border-color: var(--primary-cyan);
    background: rgba(26, 158, 158, 0.05);
}

.result-input {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 150px;
}

.result-input input {
    text-align: center;
    width: 60px;
    padding: 10px;
}

.qty-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid var(--primary-cyan);
    background: white;
    color: var(--primary-cyan);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
}

.result-note {
    font-size: 0.85rem;
    color: #999;
    margin-top: 8px;
}

/* Accessories & Pets List */
.accessories-list,
.pets-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
}

.accessory-item,
.pet-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(26, 158, 158, 0.1), rgba(123, 92, 183, 0.1));
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
}

.accessory-size,
.pet-size {
    color: var(--primary-purple);
    font-weight: 500;
}

.remove-item {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: none;
    background: rgba(0,0,0,0.2);
    color: white;
    cursor: pointer;
    font-size: 0.8rem;
    transition: var(--transition);
}

.add-accessory-btn,
.add-pet-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 15px;
    border: 2px dashed var(--primary-cyan);
    background: transparent;
    color: var(--primary-cyan);
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: var(--transition);
}

/* Quote Summary */
.quote-summary {
    padding: 0;
}

.quote-images {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.quote-image-wrapper {
    max-width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    border: 3px solid #fff;
    background: #f5f5f5;
}

.quote-image {
    display: block;
    max-width: 100%;
    max-height: 350px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.quote-breakdown {
    margin-bottom: 20px;
}

.breakdown-table {
    width: 100%;
    border-collapse: collapse;
    background: #fafafa;
    border-radius: var(--border-radius-sm);
    overflow: hidden;
}

.breakdown-table th,
.breakdown-table td {
    padding: 12px 15px;
    text-align: left;
}

.breakdown-table th {
    background: var(--gradient);
    color: white;
    font-weight: 600;
}

.breakdown-table th:last-child,
.breakdown-table td:last-child {
    text-align: right;
}

.breakdown-table tr:not(:last-child) td {
    border-bottom: 1px solid #e0e0e0;
}

.quote-options {
    margin-bottom: 20px;
}

.quote-option {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    background: #fff3cd;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.quote-option.urgent {
    background: #fce4ec;
}

.quote-option:has(input:checked) {
    border-color: #e74c3c;
    background: #ffebee;
}

.option-content {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.option-content i {
    color: #e74c3c;
}

.option-price {
    color: #e74c3c;
    font-weight: 600;
    margin-left: auto;
}

.quote-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: var(--gradient);
    color: white;
    border-radius: var(--border-radius-sm);
    margin-bottom: 25px;
}

.quote-total span {
    font-size: 1.1rem;
}

.quote-total strong {
    font-size: 1.5rem;
}

/* Messenger CTA in Quote */
.messenger-cta {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid #eee;
    text-align: center;
}

.btn-messenger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #0084ff, #00b2ff);
    color: white;
    padding: 15px 35px;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 132, 255, 0.3);
}

.btn-messenger i {
    font-size: 1.3rem;
}

/* Quote Actions */
.quote-actions {
    display: flex;
    gap: 15px;
    margin-top: 25px;
    flex-wrap: wrap;
    justify-content: center;
}

.btn-send-quote {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    padding: 15px 30px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
    border: none;
    cursor: pointer;
}

.btn-send-quote:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.quote-sent-message {
    margin-top: 20px;
    padding: 20px;
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    border-radius: 15px;
    text-align: center;
    animation: fadeIn 0.5s ease;
}

.quote-sent-message i {
    font-size: 3rem;
    color: #28a745;
    margin-bottom: 10px;
}

.quote-sent-message p {
    font-size: 1.2rem;
    font-weight: 600;
    color: #155724;
    margin: 10px 0 5px;
}

.quote-sent-message span {
    color: #155724;
    font-size: 0.95rem;
}

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

/* Navigation Buttons */
.wizard-nav {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-top: 30px;
}

.wizard-nav .btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 30px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.wizard-nav .btn-primary {
    background: var(--gradient);
    color: white;
    margin-left: auto;
}

.wizard-nav .btn-secondary {
    background: #e0e0e0;
    color: var(--text-dark);
}

.wizard-nav .btn-success {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: white;
    margin-left: auto;
}

/* Success Message */
.wizard-success {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    background: var(--bg-white);
    padding: 60px 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.success-icon {
    font-size: 5rem;
    color: #27ae60;
    margin-bottom: 20px;
    animation: bounceIn 0.6s ease;
}

@keyframes bounceIn {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.wizard-success h2 {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.wizard-success p {
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.8;
}

.success-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.success-actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.success-actions .btn-primary {
    background: var(--gradient);
    color: white;
}

.success-actions .btn-secondary {
    background: #f0f0f0;
    color: var(--text-dark);
}

/* Modal */
.wizard-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
}

.modal-content {
    background: white;
    border-radius: var(--border-radius);
    max-width: 400px;
    width: 100%;
    animation: slideUp 0.3s ease;
}

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

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.modal-header h3 {
    margin: 0;
    color: var(--text-dark);
}

.modal-close {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: none;
    background: #f0f0f0;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.modal-body {
    padding: 20px;
}

.modal-footer {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    padding: 15px 20px;
    border-top: 1px solid #f0f0f0;
}

.modal-footer .btn {
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.modal-footer .btn-secondary {
    background: #f0f0f0;
    color: var(--text-dark);
}

.modal-footer .btn-primary {
    background: var(--gradient);
    color: white;
}

/* Hover / transform chỉ khi có chuột thật — tránh iOS coi tap đầu là “hover”, tap sau mới click */
@media (hover: hover) and (pointer: fine) {
    .wizard-page .wizard-back:hover {
        color: var(--primary-cyan);
    }

    .wizard-page .upload-zone:hover {
        border-color: var(--primary-purple);
        background: rgba(26, 158, 158, 0.08);
        transform: scale(1.01);
    }

    .wizard-page .upload-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 25px rgba(26, 158, 158, 0.35);
        background: linear-gradient(135deg, #17a5a5, #7c4ddb);
    }

    .wizard-page .wizard-pkg-card:hover {
        border-color: rgba(26, 158, 158, 0.5);
        background: linear-gradient(135deg, rgba(26, 158, 158, 0.04), rgba(123, 92, 183, 0.04));
        box-shadow: 0 4px 12px rgba(26, 158, 158, 0.12);
    }

    .wizard-page .result-option:hover {
        background: #f0f0f0;
    }

    .wizard-page .qty-btn:hover {
        background: var(--primary-cyan);
        color: white;
    }

    .wizard-page .remove-item:hover {
        background: #e74c3c;
    }

    .wizard-page .add-accessory-btn:hover,
    .wizard-page .add-pet-btn:hover {
        background: var(--primary-cyan);
        color: white;
    }

    .wizard-page .btn-messenger:hover {
        background: linear-gradient(135deg, #0073e6, #009ee6);
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(0, 132, 255, 0.4);
        color: white;
    }

    .wizard-page .btn-send-quote:hover {
        background: linear-gradient(135deg, #218838, #1aa179);
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
    }

    .wizard-page .wizard-nav .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 20px rgba(26, 158, 158, 0.4);
    }

    .wizard-page .wizard-nav .btn-secondary:hover {
        background: #d0d0d0;
    }

    .wizard-page .wizard-nav .btn-success:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 20px rgba(39, 174, 96, 0.4);
    }

    .wizard-page .modal-close:hover {
        background: #e0e0e0;
    }
}

/* AI Analysis Grid */
.ai-analysis-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 25px;
}

.analysis-card {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 18px;
    background: linear-gradient(135deg, rgba(26, 158, 158, 0.08), rgba(123, 92, 183, 0.08));
    border-radius: var(--border-radius-sm);
    border-left: 4px solid var(--primary-cyan);
}

.analysis-icon {
    width: 44px;
    height: 44px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.analysis-content {
    flex: 1;
}

.analysis-label {
    font-size: 0.8rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.analysis-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
}

.analysis-price {
    font-size: 0.9rem;
    color: var(--primary-cyan);
    font-weight: 500;
    margin-top: 2px;
}

.analysis-note {
    font-size: 0.8rem;
    color: #27ae60;
    margin-top: 4px;
}

/* AI Notes */
.ai-notes {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 15px 18px;
    background: #f8f9fa;
    border-radius: var(--border-radius-sm);
    margin-bottom: 25px;
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.5;
}

.ai-notes i {
    color: var(--primary-purple);
    font-size: 1.2rem;
    margin-top: 2px;
}

/* Add More Section */
.add-more-section {
    border-top: 1px dashed #ddd;
    padding-top: 20px;
}

.add-more-label {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 12px;
}

.add-more-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 768px) {
    .wizard-main {
        padding: 20px 0 40px;
    }
    
    .wizard-title h1 {
        font-size: 1.5rem;
    }
    
    .progress-step span {
        display: none;
    }
    
    .step-content {
        padding: 25px 20px;
    }
    
    .step-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .step-header h2 {
        font-size: 1.3rem;
    }
    
    .upload-zone {
        padding: 30px 20px;
    }
    
    .upload-content i {
        font-size: 3rem;
    }
    
    .wizard-nav {
        flex-direction: column;
    }
    
    .wizard-nav .btn {
        justify-content: center;
        margin-left: 0;
    }
    
    .quote-option {
        flex-wrap: wrap;
    }
    
    .option-price {
        width: 100%;
        text-align: right;
        margin-top: 5px;
    }
    
    .wizard-back span {
        display: none;
    }
    
    .ai-analysis-grid {
        grid-template-columns: 1fr;
    }
    
    .analysis-card {
        padding: 15px;
    }
}

/* Quote Analysis Summary (Step 4) */
.quote-analysis-summary {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 25px;
    border: 1px solid #dee2e6;
}

.quote-analysis-summary h3 {
    color: #27ae60;
    margin: 0 0 15px 0;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.quote-analysis-summary h3 i {
    color: #27ae60;
}

.quote-analysis-summary .ai-analysis-grid {
    gap: 12px;
}

.quote-analysis-summary .analysis-card {
    padding: 12px 15px;
    background: #fff;
}

.quote-analysis-summary .analysis-icon {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
}

.quote-analysis-summary .analysis-label {
    font-size: 0.75rem;
}

.quote-analysis-summary .analysis-value {
    font-size: 0.95rem;
}

.quote-analysis-summary .analysis-note,
.quote-analysis-summary .analysis-price {
    font-size: 0.75rem;
}

.quote-analysis-summary .ai-notes {
    margin-top: 15px;
    padding: 12px 15px;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .quote-analysis-summary {
        padding: 15px;
        margin-bottom: 20px;
    }
    
    .quote-analysis-summary .analysis-card {
        padding: 10px 12px;
    }
}

/* ========================================
   FIGURE PREVIEW AI SECTION
   ======================================== */
.figure-preview {
    padding: 50px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.figure-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.figure-preview .section-header {
    color: #fff;
    margin-bottom: 25px;
}

.figure-preview .section-header h2 {
    font-size: 1.6rem;
    color: #fff !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: #fff !important;
    background-clip: unset !important;
}

.figure-preview .section-header h2 i {
    margin-right: 8px;
    color: #fff;
}

.figure-preview .section-header p {
    font-size: 0.95rem;
    margin-top: 5px;
    color: rgba(255, 255, 255, 0.9) !important;
}

.figure-preview-content {
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

.figure-upload-wrapper {
    position: relative;
    margin-bottom: 20px;
}

.figure-upload-zone {
    border: 2px dashed #ddd;
    border-radius: 12px;
    padding: 25px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #fafafa;
}

.figure-upload-zone:hover,
.figure-upload-zone.dragover {
    border-color: #667eea;
    background: rgba(102, 126, 234, 0.05);
}

.figure-upload-content i.fa-cloud-upload-alt {
    font-size: 2.5rem;
    color: #667eea;
    margin-bottom: 10px;
    display: block;
}

.figure-upload-content h3 {
    font-size: 1rem;
    color: #333;
    margin-bottom: 5px;
}

.figure-upload-content p {
    color: #888;
    margin-bottom: 10px;
    font-size: 0.85rem;
}

.figure-upload-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.figure-upload-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
}

.figure-upload-note {
    font-size: 0.75rem;
    color: #999;
    margin-top: 10px;
}

.figure-original-preview {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.figure-original-preview img {
    width: 100%;
    max-height: 400px;
    object-fit: contain;
    background: #f5f5f5;
}

.figure-remove-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.figure-remove-btn:hover {
    background: #e74c3c;
    transform: scale(1.1);
}

.figure-style-selector-compact {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.style-select-label {
    font-weight: 600;
    color: #333;
    font-size: 0.9rem;
    white-space: nowrap;
}

.figure-style-select {
    flex: 1;
    min-width: 200px;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 0.95rem;
    color: #333;
    background: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23667eea' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

.figure-style-select:hover,
.figure-style-select:focus {
    border-color: #667eea;
    outline: none;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.15);
}

.figure-style-select optgroup {
    font-weight: 600;
    color: #667eea;
}

.figure-style-select option {
    font-weight: 400;
    color: #333;
    padding: 8px;
}

.figure-generate-btn {
    width: 100%;
    padding: 16px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.figure-generate-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

.figure-generate-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    opacity: 0.7;
}

.figure-loading {
    text-align: center;
    padding: 40px 20px;
}

.figure-loading-animation {
    margin-bottom: 20px;
}

.figure-loading-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid #e0e0e0;
    border-top-color: #667eea;
    border-radius: 50%;
    animation: figureSpinRotate 1s linear infinite;
    margin: 0 auto;
}

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

.figure-loading p {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 10px;
}

.figure-loading-note {
    font-size: 0.9rem;
    color: #888;
}

.figure-result {
    text-align: center;
}

.figure-result h4 {
    font-size: 1.2rem;
    color: #27ae60;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.figure-comparison {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.figure-comparison-item {
    flex: 1;
    min-width: 200px;
    max-width: 300px;
}

.figure-comparison-item .comparison-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #666;
    margin-bottom: 10px;
}

.figure-comparison-item img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.figure-comparison-item img:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.figure-comparison-arrow {
    font-size: 2rem;
    color: #667eea;
}

.figure-remaining-note {
    text-align: center;
    font-size: 0.85rem;
    color: #667eea;
    margin-bottom: 15px;
    padding: 8px 15px;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 8px;
}

.figure-result-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.figure-retry-btn {
    padding: 12px 24px;
    border: 2px solid #667eea;
    background: transparent;
    color: #667eea;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.figure-retry-btn:hover {
    background: #667eea;
    color: #fff;
}

.figure-order-btn {
    padding: 12px 24px;
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    color: #fff;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.figure-order-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(39, 174, 96, 0.4);
}

.figure-error {
    text-align: center;
    padding: 30px;
    background: #fff5f5;
    border-radius: 12px;
    border: 1px solid #ffcdd2;
}

.figure-error i {
    font-size: 3rem;
    color: #e74c3c;
    margin-bottom: 15px;
}

.figure-error p {
    color: #c0392b;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .figure-preview {
        padding: 35px 0;
    }
    
    .figure-preview-content {
        padding: 20px 15px;
        margin: 0 15px;
        border-radius: 12px;
    }
    
    .figure-upload-zone {
        padding: 20px 15px;
    }
    
    .figure-upload-content i.fa-cloud-upload-alt {
        font-size: 2rem;
    }
    
    .figure-style-selector-compact {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }
    
    .style-select-label {
        font-size: 0.85rem;
    }
    
    .figure-style-select {
        min-width: 100%;
        padding: 10px 14px;
        font-size: 0.9rem;
    }
    
    .figure-comparison {
        flex-direction: column;
    }
    
    .figure-comparison-arrow {
        transform: rotate(90deg);
    }
    
    .figure-comparison-item {
        max-width: 100%;
    }
    
    .figure-result-actions {
        flex-direction: column;
    }
    
    .figure-retry-btn,
    .figure-order-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ========================================
   RATE LIMIT POPUP
   ======================================== */
.rate-limit-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 20px;
}

.rate-limit-overlay.active {
    opacity: 1;
    visibility: visible;
}

.rate-limit-popup {
    background: #fff;
    border-radius: 24px;
    padding: 40px 35px;
    max-width: 400px;
    width: 100%;
    text-align: center;
    transform: scale(0.9) translateY(20px);
    transition: all 0.3s ease;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
}

.rate-limit-overlay.active .rate-limit-popup {
    transform: scale(1) translateY(0);
}

.rate-limit-icon {
    margin-bottom: 20px;
}

.rate-limit-icon-bg {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #fff;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

.rate-limit-popup h3 {
    font-size: 1.4rem;
    color: #333;
    margin-bottom: 12px;
    font-weight: 700;
}

.rate-limit-popup > p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

.rate-limit-benefits {
    background: #f8f9ff;
    border-radius: 12px;
    padding: 18px 20px;
    margin-bottom: 25px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #333;
    font-size: 0.9rem;
    padding: 6px 0;
}

.benefit-item i {
    color: #667eea;
    font-size: 1rem;
}

.rate-limit-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px 24px;
    background: linear-gradient(135deg, #0084ff 0%, #0066cc 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 132, 255, 0.35);
}

.rate-limit-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(0, 132, 255, 0.45);
}

.rate-limit-cta i {
    font-size: 1.3rem;
}

.rate-limit-close {
    margin-top: 15px;
    background: none;
    border: none;
    color: #999;
    font-size: 0.9rem;
    cursor: pointer;
    padding: 8px 20px;
    transition: color 0.3s ease;
}

.rate-limit-close:hover {
    color: #666;
}

@media (max-width: 480px) {
    .rate-limit-popup {
        padding: 30px 25px;
        border-radius: 20px;
    }
    
    .rate-limit-icon-bg {
        width: 70px;
        height: 70px;
        font-size: 1.7rem;
    }
    
    .rate-limit-popup h3 {
        font-size: 1.2rem;
    }
    
    .rate-limit-cta {
        padding: 14px 20px;
        font-size: 1rem;
    }
}
