/* ==========================================================================
   VINHOMES SAIGON PARK - PREMIUM LANDING PAGE STYLING
   Color Palette: Deep Royal Slate & Champagne Gold (Vingroup Signature Luxury)
   Typography: Outfit (Headings) & Inter (Body Text)
   ========================================================================== */

/* Variables */
:root {
    --primary-color: #0d2840;      /* Deep Slate Navy */
    --primary-light: #163f64;     /* Secondary Navy */
    --accent-gold: #d4af37;        /* Metallic Gold */
    --accent-gold-dark: #b89324;   /* Deep Gold */
    --text-dark: #0f172a;          /* Slate 900 */
    --text-muted: #475569;         /* Slate 600 */
    --text-light: #f8fafc;         /* Slate 50 */
    --bg-white: #ffffff;
    --bg-light: #f8fafc;           /* Section alternate background */
    --border-color: #e2e8f0;       /* Slate 200 */
    --card-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    --hover-shadow: 0 20px 40px rgba(15, 23, 42, 0.15);
    --gold-glow: 0 0 15px rgba(212, 175, 55, 0.4);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-white);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

/* Typography elements */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
}

h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

h2 {
    font-size: 2.25rem;
    margin-bottom: 16px;
}

p {
    margin-bottom: 16px;
}

/* Gradient text */
.text-gradient {
    background: linear-gradient(135deg, var(--accent-gold) 0%, #f3e5ab 50%, var(--accent-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Utility buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: var(--border-radius-sm);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    gap: 8px;
    text-align: center;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.05rem;
    border-radius: var(--border-radius-sm);
}

.btn-block {
    display: flex;
    width: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-dark) 100%);
    color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
    background: linear-gradient(135deg, #f0c94c 0%, var(--accent-gold-dark) 100%);
}

.btn-secondary {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.btn-secondary:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
}

.btn-secondary-outline {
    background-color: transparent;
    color: var(--text-light);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

/* Pulsing micro-animation */
.animate-pulse {
    animation: pulse 2s infinite alternate;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.5);
    }
    100% {
        box-shadow: 0 0 0 12px rgba(212, 175, 55, 0);
    }
}

/* Header & Navigation styling */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition-smooth);
    background-color: rgba(13, 40, 64, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.main-header.scrolled {
    padding: 12px 0;
    background-color: var(--primary-color);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

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

.logo-area {
    display: flex;
    flex-direction: column;
}

.brand-vin {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--accent-gold);
}

.brand-project {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--text-light);
    margin-top: -2px;
}

.main-nav {
    display: flex;
    gap: 32px;
}

.main-nav a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    font-weight: 500;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--accent-gold);
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 16px;
}

.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.mobile-nav-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: var(--text-light);
    transition: var(--transition-smooth);
}

/* Mobile Nav Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 100%;
    width: 100%;
    height: 100vh;
    background-color: var(--primary-color);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.mobile-nav-overlay.active {
    left: 0;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.mobile-nav a {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-light);
}

.mobile-nav a:hover {
    color: var(--accent-gold);
}

/* Hero Section */
.hero-section {
    position: relative;
    padding-top: 180px;
    padding-bottom: 100px;
    background-color: var(--primary-color);
    background-image: url('hero-placeholder.jpg'); /* This gets dynamically configured or overridden */
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    min-height: 90vh;
    color: var(--text-light);
    overflow: hidden;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(13, 40, 64, 0.95) 0%, rgba(13, 40, 64, 0.7) 100%);
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: center;
}

.hero-content {
    max-width: 680px;
}

.badge {
    background-color: rgba(212, 175, 55, 0.15);
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 24px;
}

.hero-lead {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 40px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-gold);
    line-height: 1;
}

.stat-suffix {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--accent-gold);
}

.stat-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 8px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
}

/* Glassmorphism Hero Form Card */
.hero-form-wrapper {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-md);
    padding: 32px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.form-header {
    text-align: center;
    margin-bottom: 24px;
}

.form-header h3 {
    color: var(--accent-gold);
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.form-header p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
}

.lead-form .form-group {
    margin-bottom: 20px;
    position: relative;
}

.lead-form label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 8px;
}

.lead-form label i {
    color: var(--accent-gold);
    margin-right: 4px;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius-sm);
    color: var(--text-light);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.lead-form input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
    outline: none;
    border-color: var(--accent-gold);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
}

/* Custom styles for select tag option background */
.lead-form select option {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.lead-form .error-msg,
.lead-form-premium .error-msg {
    display: none;
    font-size: 0.75rem;
    color: #ef4444;
    margin-top: 4px;
}

.lead-form .form-group.has-error input,
.lead-form .form-group.has-error select,
.lead-form-premium .form-group.has-error input,
.lead-form-premium .form-group.has-error select,
.lead-form-premium .form-group.has-error textarea {
    border-color: #ef4444;
    background: rgba(239, 68, 68, 0.05);
}

.lead-form .form-group.has-error .error-msg,
.lead-form-premium .form-group.has-error .error-msg {
    display: block;
}

.form-footer {
    margin-top: 20px;
    text-align: center;
}

.form-footer p {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0;
}

.form-footer i {
    color: var(--accent-gold);
}

/* Section common styling */
.section-title-wrapper {
    margin-bottom: 56px;
}

.section-subtitle {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--accent-gold-dark);
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 12px;
}

.title-divider {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-gold), var(--accent-gold-dark));
    margin: 16px auto 0;
    border-radius: 2px;
}

.title-divider.align-left {
    margin: 16px 0 0;
}

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

/* Problem & Pain Points Section */
.problem-section {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.problem-card {
    background-color: var(--bg-white);
    border-radius: var(--border-radius-md);
    padding: 32px 24px;
    box-shadow: var(--card-shadow);
    transition: var(--transition-smooth);
    border-top: 4px solid var(--border-color);
}

.problem-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--hover-shadow);
    border-top-color: #ef4444; /* Alert color for problem */
}

.problem-icon {
    width: 56px;
    height: 56px;
    background-color: rgba(239, 68, 68, 0.08);
    color: #ef4444;
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 24px;
}

.problem-card h4 {
    font-size: 1.15rem;
    margin-bottom: 16px;
    font-weight: 700;
}

.problem-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 0;
}

/* Solution Section */
.solution-section {
    padding: 100px 0;
    background-color: var(--bg-white);
}

.solution-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 64px;
    align-items: center;
}

.solution-image-area .image-wrapper {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.15);
}

.solution-image-area img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.solution-image-area .image-wrapper:hover img {
    transform: scale(1.05);
}

.floating-badge {
    position: absolute;
    bottom: 32px;
    right: 32px;
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 16px 24px;
    border-radius: var(--border-radius-md);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    border-left: 4px solid var(--accent-gold);
    display: flex;
    flex-direction: column;
    z-index: 10;
}

.badge-num {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--accent-gold);
    line-height: 1;
}

.badge-txt {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 4px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.solution-text-area .lead-text {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 32px;
}

.solution-list {
    list-style: none;
}

.solution-list li {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.list-icon {
    color: var(--accent-gold-dark);
    font-size: 1.4rem;
    margin-top: 2px;
}

.list-content {
    font-size: 0.95rem;
}

.list-content strong {
    display: block;
    color: var(--text-dark);
    font-size: 1.05rem;
    margin-bottom: 4px;
}

/* Benefits Section */
.benefits-section {
    padding: 100px 0;
    background-color: var(--bg-light);
}

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

.benefit-card {
    background-color: var(--bg-white);
    border-radius: var(--border-radius-md);
    padding: 40px;
    box-shadow: var(--card-shadow);
    transition: var(--transition-smooth);
    border: 1px solid var(--border-color);
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--hover-shadow);
    border-color: var(--accent-gold);
}

.benefit-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.benefit-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: rgba(212, 175, 55, 0.2);
    transition: var(--transition-smooth);
}

.benefit-card:hover .benefit-number {
    color: var(--accent-gold);
}

.benefit-icon {
    width: 48px;
    height: 48px;
    background-color: rgba(13, 40, 64, 0.05);
    color: var(--primary-color);
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    transition: var(--transition-smooth);
}

.benefit-card:hover .benefit-icon {
    background-color: var(--primary-color);
    color: var(--accent-gold);
}

.benefit-card h4 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.benefit-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 0;
}

/* Subdivisions Section */
.subdivisions-section {
    padding: 100px 0;
    background-color: var(--bg-white);
}

.subdivisions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 48px;
}

.sub-card {
    background-color: var(--bg-light);
    border-radius: var(--border-radius-md);
    padding: 40px 32px;
    box-shadow: var(--card-shadow);
    transition: var(--transition-smooth);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.sub-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-light), var(--primary-color));
    transition: var(--transition-smooth);
}

.sub-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--hover-shadow);
    border-color: var(--accent-gold);
}

.sub-card:hover::before {
    background: linear-gradient(90deg, var(--accent-gold), var(--accent-gold-dark));
}

.sub-icon {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 24px;
    transition: var(--transition-smooth);
}

.sub-card:hover .sub-icon {
    color: var(--accent-gold-dark);
    transform: scale(1.1);
}

.sub-card h3 {
    font-size: 1.35rem;
    margin-bottom: 12px;
    color: var(--primary-color);
    font-weight: 800;
}

.sub-tag {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-gold-dark);
    background-color: rgba(212, 175, 55, 0.1);
    padding: 4px 12px;
    border-radius: 50px;
    display: inline-block;
    align-self: flex-start;
    margin-bottom: 16px;
}

.sub-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 0;
}

/* Highlight Phân Khu Thượng Lưu (Golf Park) */
.sub-card.highlight-gold {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: var(--text-light);
    border: 2px solid var(--accent-gold);
    box-shadow: 0 15px 35px rgba(212, 175, 55, 0.15);
}

.sub-card.highlight-gold::before {
    background: linear-gradient(90deg, var(--accent-gold), var(--accent-gold-dark));
}

.sub-card.highlight-gold h3 {
    color: var(--text-light);
}

.sub-card.highlight-gold .sub-icon {
    color: var(--accent-gold);
}

.sub-card.highlight-gold .sub-tag {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--accent-gold);
}

.sub-card.highlight-gold p {
    color: rgba(255, 255, 255, 0.8);
}

.sub-card.highlight-gold:hover {
    box-shadow: 0 20px 45px rgba(212, 175, 55, 0.3);
    border-color: #ffe082;
}

/* Timeline / Urgency Section */
.timeline-section {
    padding: 80px 0;
    background-color: var(--bg-white);
}

.timeline-banner {
    background: linear-gradient(135deg, var(--primary-color) 0%, #061524 100%);
    border-radius: var(--border-radius-lg);
    padding: 60px 48px;
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.timeline-banner::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.05) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
}

.timeline-content {
    position: relative;
    z-index: 2;
}

.timeline-banner h2 {
    font-size: 1.8rem;
    text-align: center;
    color: var(--accent-gold);
    letter-spacing: 1.5px;
    margin-bottom: 48px;
    font-weight: 800;
}

.steps-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    position: relative;
}

.steps-wrapper::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 15%;
    width: 70%;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 1;
}

.step-line {
    text-align: center;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.step-line::before {
    content: '';
    width: 24px;
    height: 24px;
    background-color: var(--primary-light);
    border: 3px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    margin-bottom: 24px;
    transition: var(--transition-smooth);
    display: block;
}

.step-line.active::before {
    background-color: var(--accent-gold);
    border-color: var(--accent-gold);
    box-shadow: var(--gold-glow);
}

.step-date {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--accent-gold);
    margin-bottom: 12px;
    text-transform: uppercase;
}

.step-desc {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    max-width: 260px;
}

.step-line.active .step-desc {
    color: var(--text-light);
    font-weight: 500;
}

/* Call to Action Section with registration Form */
.cta-form-section {
    position: relative;
    padding: 100px 0;
    background-color: var(--primary-color);
    color: var(--text-light);
    overflow: hidden;
}

.cta-form-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(13, 40, 64, 0.98) 0%, rgba(15, 23, 42, 0.95) 100%);
    z-index: 1;
}

.cta-form-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 64px;
    align-items: center;
}

.cta-form-text h2 {
    font-size: 2.25rem;
    line-height: 1.3;
    margin-bottom: 24px;
    color: var(--accent-gold);
}

.cta-form-text p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
}

.cta-highlights {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.highlight-item {
    display: flex;
    gap: 16px;
}

.highlight-icon {
    width: 48px;
    height: 48px;
    background-color: rgba(212, 175, 55, 0.15);
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold);
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.highlight-txt h5 {
    font-size: 1.05rem;
    margin-bottom: 4px;
}

.highlight-txt p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0;
}

/* Main Form Card */
.main-form-card {
    background-color: var(--bg-white);
    border-radius: var(--border-radius-md);
    padding: 40px;
    color: var(--text-dark);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.main-form-card h3 {
    font-size: 1.4rem;
    margin-bottom: 8px;
    text-align: center;
    color: var(--primary-color);
}

.form-sub-txt {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 28px;
}

.main-form-card .lead-form label {
    color: var(--text-dark);
}

.main-form-card .lead-form input,
.main-form-card .lead-form select,
.main-form-card .lead-form textarea {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    color: var(--text-dark);
}

.main-form-card .lead-form input::placeholder {
    color: #94a3b8;
}

.main-form-card .lead-form input:focus,
.main-form-card .lead-form select:focus,
.main-form-card .lead-form textarea:focus {
    border-color: var(--primary-color);
    background: var(--bg-white);
    box-shadow: 0 0 10px rgba(13, 40, 64, 0.1);
}

.main-form-card .lead-form select option {
    background-color: var(--bg-white);
    color: var(--text-dark);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

/* FAQ Section */
.faq-section {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background-color: var(--bg-white);
    border-radius: var(--border-radius-sm);
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.faq-question {
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.faq-question h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0;
}

.faq-toggle {
    font-size: 0.9rem;
    color: var(--accent-gold-dark);
    transition: var(--transition-smooth);
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    background-color: #fafbfc;
}

.faq-answer p {
    padding: 24px;
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 0;
    line-height: 1.7;
    border-top: 1px solid var(--border-color);
}

/* Footer Section */
.main-footer {
    background-color: #081a2b;
    color: rgba(255, 255, 255, 0.7);
    padding-top: 80px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 64px;
    padding-bottom: 60px;
}

.footer-brand-info h3 {
    color: var(--accent-gold);
    font-size: 1.3rem;
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.footer-slogan {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 24px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-links a:hover {
    background-color: var(--accent-gold);
    color: var(--primary-color);
    border-color: var(--accent-gold);
}

.social-links a.zalo-link {
    width: auto;
    padding: 0 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.8rem;
}

.footer-links-column h4 {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 24px;
}

.footer-links-column ul {
    list-style: none;
}

.footer-links-column ul li {
    margin-bottom: 12px;
}

.footer-links-column ul li a:hover {
    color: var(--accent-gold);
    padding-left: 4px;
}

.footer-links-column p {
    font-size: 0.9rem;
    margin-bottom: 12px;
    display: flex;
    gap: 8px;
}

.footer-links-column p i {
    color: var(--accent-gold);
    margin-top: 4px;
}

.footer-bottom {
    background-color: #040d16;
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.footer-bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
}

.footer-bottom-container p {
    margin-bottom: 0;
}

/* Success Modal styling */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(13, 40, 64, 0.85);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.modal-overlay.active {
    display: flex;
}

.modal-card {
    background-color: var(--bg-white);
    max-width: 560px;
    width: 100%;
    border-radius: var(--border-radius-md);
    padding: 40px;
    position: relative;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    animation: modalIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    color: var(--text-dark);
}

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

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: transparent;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-muted);
}

.modal-close:hover {
    color: var(--text-dark);
}

.modal-icon {
    width: 72px;
    height: 72px;
    background-color: rgba(16, 185, 129, 0.08);
    color: #10b981;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 24px;
}

.modal-card h3 {
    font-size: 1.5rem;
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.modal-thanks {
    text-align: center;
    font-size: 1.05rem;
    margin-bottom: 8px;
}

.modal-info {
    text-align: center;
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.modal-next-steps {
    background-color: var(--bg-light);
    border-radius: var(--border-radius-sm);
    padding: 20px;
    margin-bottom: 28px;
    border-left: 4px solid var(--accent-gold);
}

.modal-next-steps h5 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--primary-color);
}

.modal-next-steps ul {
    list-style: none;
}

.modal-next-steps ul li {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 8px;
    display: flex;
    gap: 8px;
}

.modal-next-steps ul li i {
    color: var(--accent-gold-dark);
    margin-top: 3px;
}

/* Floating Mobile CTA Bar */
.mobile-sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background-color: var(--bg-white);
    display: none;
    grid-template-columns: repeat(2, 1fr);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    z-index: 998;
}

.sticky-item {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    font-weight: 700;
    gap: 8px;
}

.sticky-item.call {
    background-color: var(--bg-white);
    color: var(--primary-color);
    border-top: 1px solid var(--border-color);
}

.sticky-item.register {
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-dark) 100%);
    color: var(--primary-color);
}

/* Media Queries for Responsiveness */

/* Large Tablets & Desktop */
@media (max-width: 1024px) {
    h1 {
        font-size: 2.5rem;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-form-wrapper {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .solution-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .solution-image-area img {
        height: 380px;
    }
    
    .cta-form-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .main-form-card {
        max-width: 600px;
        margin: 0 auto;
        width: 100%;
    }
    
    .subdivisions-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

/* Small Tablets & Mobile */
@media (max-width: 768px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .main-header {
        padding: 12px 0;
    }
    
    .main-nav,
    .header-cta {
        display: none;
    }
    
    .mobile-nav-toggle {
        display: flex;
    }
    
    .hero-section {
        padding-top: 120px;
        padding-bottom: 60px;
    }
    
    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .stat-suffix {
        font-size: 1rem;
    }
    
    .stat-label {
        font-size: 0.7rem;
    }
    
    .problem-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .benefit-card {
        padding: 24px;
    }
    
    .subdivisions-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .timeline-banner {
        padding: 40px 24px;
    }
    
    .steps-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .steps-wrapper::before {
        display: none;
    }
    
    .step-line {
        text-align: left;
        flex-direction: row;
        gap: 16px;
        align-items: flex-start;
    }
    
    .step-line::before {
        margin-bottom: 0;
        flex-shrink: 0;
        margin-top: 4px;
    }
    
    .step-date {
        margin-bottom: 4px;
    }
    
    .step-desc {
        max-width: 100%;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-bottom-container {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    
    body {
        padding-bottom: 60px; /* Space for sticky mobile bar */
    }
    
    .mobile-sticky-bar {
        display: grid;
    }
}

/* ==========================================================================
   UPDATED STYLES FOR CTA CARDS, FOMO SECTION, AND 2-STEP ANTI-BOT WEBHOOK
   ========================================================================== */

/* CTA Download Cards */
.cta-card {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.card-badge {
    background-color: rgba(212, 175, 55, 0.15);
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 12px;
}

.cta-action-area {
    width: 100%;
    margin-top: 16px;
}

.btn-download-trigger {
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-dark) 100%);
    color: var(--primary-color) !important;
    font-weight: 700;
    letter-spacing: 1px;
    border-radius: var(--border-radius-sm);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    margin-bottom: 12px;
    height: 52px;
    font-size: 1.05rem;
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-download-trigger:hover {
    transform: translateY(-2px);
    box-shadow: var(--gold-glow), 0 8px 25px rgba(212, 175, 55, 0.5);
    background: linear-gradient(135deg, #f0c94c 0%, var(--accent-gold-dark) 100%);
}

.btn-subtext-hint {
    font-size: 0.85rem;
    color: var(--accent-gold);
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-top: 8px;
    display: inline-block;
    border-bottom: 1px dashed rgba(212, 175, 55, 0.4);
    padding-bottom: 2px;
}

.main-form-card.cta-card .cta-pdf-icon {
    font-size: 3.5rem;
    color: var(--accent-gold);
    margin-bottom: 16px;
    animation: bounce 2s infinite alternate;
}

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

/* Project Info & FOMO Section */
.project-info-fomo {
    background-color: var(--bg-white);
    padding: 100px 0 60px;
}

.fomo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin: 40px 0 60px;
}

.fomo-card {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 32px;
    transition: var(--transition-smooth);
    box-shadow: var(--card-shadow);
    border-top: 4px solid var(--primary-light);
}

.fomo-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--hover-shadow);
    border-top-color: var(--accent-gold);
}

.fomo-icon-wrapper {
    width: 60px;
    height: 60px;
    background-color: rgba(13, 40, 64, 0.05);
    color: var(--primary-color);
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 24px;
    transition: var(--transition-smooth);
}

.fomo-card:hover .fomo-icon-wrapper {
    background-color: var(--primary-color);
    color: var(--accent-gold);
    box-shadow: var(--gold-glow);
}

.fomo-card h4 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 12px;
    font-weight: 700;
}

.fomo-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 0;
    line-height: 1.7;
}

.timeline-title-premium {
    text-align: center;
    color: var(--accent-gold) !important;
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 32px;
}

.timeline-title-premium i {
    margin-right: 8px;
}

/* Modals & Premium 2-Step Popup Flow */
.modal-overlay {
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    background-color: rgba(13, 40, 64, 0.8) !important;
    transition: var(--transition-smooth);
}

.modal-header-luxury {
    text-align: center;
    margin-bottom: 28px;
    border-bottom: 1px solid rgba(13, 40, 64, 0.08);
    padding-bottom: 20px;
}

.modal-header-luxury h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    font-weight: 800;
    margin-top: 8px;
}

.step-badge {
    background-color: rgba(13, 40, 64, 0.08);
    color: var(--primary-color);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.modal-subtitle {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 8px;
    margin-bottom: 0;
}

/* Step 1 Options Grid */
.intent-options-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    width: 100%;
}

.intent-option-card {
    background-color: var(--bg-light);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    padding: 20px 24px;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
}

.intent-option-card:hover {
    border-color: var(--accent-gold);
    background-color: var(--bg-white);
    box-shadow: 0 8px 20px rgba(13, 40, 64, 0.08);
    transform: translateX(4px);
}

.intent-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(13, 40, 64, 0.05);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
    transition: var(--transition-smooth);
}

.intent-option-card:hover .intent-icon {
    background-color: var(--primary-color);
    color: var(--accent-gold);
}

.intent-option-card h4 {
    font-size: 1rem;
    color: var(--primary-color);
    margin-bottom: 4px;
    font-weight: 700;
}

.intent-option-card p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0;
    line-height: 1.4;
}

/* Step 2 Form Premium Styling */
.lead-form-premium {
    width: 100%;
}

.lead-form-premium .form-group {
    margin-bottom: 20px;
}

.lead-form-premium label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.lead-form-premium label i {
    color: var(--accent-gold-dark);
    margin-right: 4px;
}

.lead-form-premium input,
.lead-form-premium textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    background-color: var(--bg-light);
    color: var(--text-dark);
    transition: var(--transition-smooth);
}

.lead-form-premium input:focus,
.lead-form-premium textarea:focus {
    outline: none;
    border-color: var(--accent-gold);
    background-color: var(--bg-white);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.15);
}

.lead-form-premium textarea {
    resize: none;
}

.btn-submit-premium {
    height: 54px;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 1px;
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-dark) 100%);
    color: var(--primary-color) !important;
    border-radius: var(--border-radius-sm);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    margin-top: 8px;
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-submit-premium:hover {
    transform: translateY(-2px);
    box-shadow: var(--gold-glow), 0 8px 25px rgba(212, 175, 55, 0.5);
    background: linear-gradient(135deg, #f0c94c 0%, var(--accent-gold-dark) 100%);
}

.btn-submit-premium:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

.modal-footer-hint {
    margin-top: 20px;
    text-align: center;
}

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

.modal-footer-hint i {
    color: var(--accent-gold-dark);
}

/* Tablet & Mobile tweaks for new elements */
@media (max-width: 1024px) {
    .fomo-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .fomo-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 40px;
    }
    
    .fomo-card {
        padding: 24px;
    }
    
    .modal-step-1,
    .modal-step-2 {
        padding: 32px 20px;
        max-height: 95vh;
        overflow-y: auto;
    }
    
    .intent-option-card {
        padding: 16px 20px;
        gap: 16px;
    }
    
    .intent-icon {
        width: 44px;
        height: 44px;
        font-size: 1.1rem;
    }
    
    .lead-form-premium input,
    .lead-form-premium textarea {
        padding: 12px 14px;
    }
    
    .btn-submit-premium {
        height: 48px;
        font-size: 0.95rem;
    }
}

/* ==========================================================================
   CUSTOM FORM COMPONENTS FOR VINHOMES 7-FIELD FORM (premium real estate standard)
   ========================================================================== */
.required-star {
    color: #ef4444;
    font-weight: bold;
    margin-left: 2px;
}

.form-label-bold {
    font-weight: 700 !important;
    font-size: 0.9rem !important;
}

/* Custom Radio Buttons for Salutation */
.custom-radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 6px;
    width: 100%;
}

.custom-radio-btn {
    flex: 1;
    min-width: 55px;
    cursor: pointer;
}

.custom-radio-btn input[type="radio"] {
    display: none; /* Hide standard radio input */
}

.radio-label-tile {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 12px;
    background-color: var(--bg-light);
    border: 1.5px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    color: var(--text-dark);
    font-size: 0.85rem;
    font-weight: 600;
    text-align: center;
    transition: var(--transition-smooth);
}

.custom-radio-btn input[type="radio"]:checked + .radio-label-tile {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--accent-gold);
    box-shadow: 0 4px 10px rgba(13, 40, 64, 0.15);
}

/* Custom Checkbox Buttons for Interest Product */
.custom-checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 6px;
    width: 100%;
}

.custom-checkbox-btn {
    flex: 1;
    min-width: 80px;
    cursor: pointer;
}

.custom-checkbox-btn input[type="checkbox"] {
    display: none; /* Hide standard checkbox */
}

.checkbox-label-tile {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 12px 14px;
    background-color: var(--bg-light);
    border: 1.5px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    color: var(--text-dark);
    font-size: 0.85rem;
    font-weight: 600;
    text-align: center;
    transition: var(--transition-smooth);
}

.custom-checkbox-btn input[type="checkbox"]:checked + .checkbox-label-tile {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--accent-gold);
    box-shadow: 0 4px 10px rgba(13, 40, 64, 0.15);
}

/* Custom Payment Method Cards */
.payment-method-options {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 6px;
    width: 100%;
}

.payment-option-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background-color: var(--bg-light);
    border: 1.5px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
}

.payment-option-card input[type="radio"] {
    width: auto !important;
    margin: 0 !important;
    flex-shrink: 0;
    cursor: pointer;
}

.payment-card-content {
    display: flex;
    flex-direction: column;
}

.payment-card-content strong {
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 700;
    transition: var(--transition-smooth);
}

.payment-option-card:hover {
    border-color: var(--accent-gold);
    background-color: var(--bg-white);
}

/* Checked styling for payment option card */
.payment-option-card:has(input[type="radio"]:checked) {
    background-color: rgba(13, 40, 64, 0.04);
    border-color: var(--primary-color);
}

/* Make step 2 modal highly scrollable with customized scrollbar */
.modal-step-2 {
    max-height: 80vh !important;
    overflow-y: auto !important;
}

/* Scrollbar optimization for modal step 2 */
.modal-step-2::-webkit-scrollbar {
    width: 5px;
}

.modal-step-2::-webkit-scrollbar-track {
    background: transparent;
}

.modal-step-2::-webkit-scrollbar-thumb {
    background: rgba(13, 40, 64, 0.2);
    border-radius: 4px;
}

.modal-step-2::-webkit-scrollbar-thumb:hover {
    background: rgba(13, 40, 64, 0.35);
}

.checkbox-error-msg {
    color: #ef4444;
    font-size: 0.75rem;
    margin-top: 6px;
}

/* Turnstile CAPTCHA Modal Styling */
.modal-captcha {
    max-width: 420px !important;
    text-align: center;
    padding: 32px 24px !important;
}

.captcha-widget-area {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
    min-height: 80px;
    background: rgba(13, 40, 64, 0.02);
    border: 1.5px dashed var(--border-color);
    border-radius: var(--border-radius-sm);
    padding: 12px;
}

/* Minimized Feedback Floating Button Style */
.feedback-floating-btn {
    position: fixed;
    bottom: 80px; /* Tránh đè lên mobile sticky bar */
    right: 20px;
    padding: 12px 24px;
    border-radius: 50px;
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(234, 88, 12, 0.4);
    display: none; /* Mặc định ẩn, hiện khi đóng popup góp ý */
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 0.95rem;
    font-weight: 700;
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    cursor: pointer;
    z-index: 1999;
    transition: var(--transition-smooth);
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    animation: feedback-pulse-blink 2s infinite ease-in-out;
    letter-spacing: 0.5px;
}

.feedback-floating-btn i {
    font-size: 1.15rem;
}

.feedback-floating-btn:hover {
    transform: scale(1.05);
    background: linear-gradient(135deg, #ff7e2e 0%, #f97316 100%);
    box-shadow: 0 6px 20px rgba(234, 88, 12, 0.6);
}

/* Hiệu ứng nhấp nháy tỏa sáng nhẹ chu kỳ 2 giây lặp lại liên tục */
@keyframes feedback-pulse-blink {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 12px rgba(234, 88, 12, 0.4);
        border-color: rgba(255, 255, 255, 0.4);
    }
    50% {
        transform: scale(1.04);
        box-shadow: 0 4px 22px rgba(234, 88, 12, 0.7), 0 0 0 8px rgba(234, 88, 12, 0.15);
        border-color: rgba(255, 255, 255, 0.85);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 4px 12px rgba(234, 88, 12, 0.4);
        border-color: rgba(255, 255, 255, 0.4);
    }
}

@media (max-width: 768px) {
    .feedback-floating-btn {
        bottom: 75px; /* Điều chỉnh vị trí tránh đè mobile bar */
        right: 15px;
        padding: 10px 18px;
        font-size: 0.85rem;
        gap: 8px;
    }
    .feedback-floating-btn i {
        font-size: 1rem;
    }
}

/* ==========================================================================
   SALES CHATBOT STYLES
   ========================================================================== */
.sales-chatbot-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 10000;
    font-family: var(--font-body);
}

.sales-chatbot-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-dark) 100%);
    color: var(--primary-color);
    border: none;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    position: relative;
    animation: pulse 2s infinite alternate;
}

.sales-chatbot-btn:hover {
    transform: scale(1.05);
}

.chatbot-tooltip {
    position: absolute;
    right: 75px;
    background-color: var(--bg-white);
    color: var(--text-dark);
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    box-shadow: var(--card-shadow);
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

.sales-chatbot-btn:hover .chatbot-tooltip {
    opacity: 1;
    visibility: visible;
}

.chatbot-tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 6px 0 6px 6px;
    border-style: solid;
    border-color: transparent transparent transparent var(--bg-white);
}

.chatbot-badge {
    position: absolute;
    top: 0;
    right: 0;
    background-color: #ef4444;
    color: white;
    font-size: 11px;
    font-weight: bold;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--bg-white);
}

.sales-chat-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    height: 500px;
    max-height: calc(100vh - 100px);
    background-color: var(--bg-white);
    border-radius: var(--border-radius-md);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: scale(0.8);
    opacity: 0;
    visibility: hidden;
    transform-origin: bottom right;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid var(--border-color);
}

.sales-chat-window.active {
    transform: scale(1);
    opacity: 1;
    visibility: visible;
}

.chat-header {
    background-color: var(--primary-color);
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--accent-gold);
}

.chat-agent-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.agent-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent-gold);
}

.agent-details h4 {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 2px;
}

.agent-status {
    color: #22c55e;
    font-size: 11px;
    font-weight: 600;
}

.close-chat-btn {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 20px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.close-chat-btn:hover {
    color: var(--text-light);
    transform: rotate(90deg);
}

.chat-messages {
    flex: 1;
    padding: 16px;
    overflow-y: auto;
    background-color: #f0f2f5;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.chat-message {
    max-width: 85%;
    padding: 12px 16px;
    border-radius: 16px;
    font-size: 13.5px;
    line-height: 1.5;
    animation: fadeIn 0.3s ease;
}

.chat-message.bot {
    background-color: var(--bg-white);
    color: var(--text-dark);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.chat-message.user {
    background-color: var(--primary-color);
    color: var(--text-light);
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.chat-input-area {
    padding: 12px;
    background-color: var(--bg-white);
    border-top: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.chat-input-wrapper {
    display: flex;
    gap: 8px;
    align-items: center;
}

.chat-input-wrapper input {
    flex: 1;
    border: 1px solid #cbd5e1;
    border-radius: 20px;
    padding: 10px 16px;
    font-size: 13px;
    outline: none;
    transition: var(--transition-smooth);
    font-family: var(--font-body);
}

.chat-input-wrapper input:focus {
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.2);
}

.chat-input-wrapper button {
    background-color: var(--primary-color);
    color: var(--accent-gold);
    border: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.chat-input-wrapper button:hover {
    background-color: var(--accent-gold);
    color: var(--primary-color);
}

.chat-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    max-height: 150px;
    overflow-y: auto;
    padding-right: 4px;
}

.chat-options::-webkit-scrollbar, .chat-messages::-webkit-scrollbar {
    width: 6px;
}
.chat-options::-webkit-scrollbar-thumb, .chat-messages::-webkit-scrollbar-thumb {
    background-color: #cbd5e1;
    border-radius: 10px;
}

.chat-option-btn {
    background-color: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--accent-gold);
    color: var(--primary-color);
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-align: left;
}

.chat-option-btn:hover {
    background-color: var(--accent-gold);
    color: var(--primary-color);
}

.chat-cta-btn {
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-dark) 100%);
    border: none;
    color: var(--primary-color);
    padding: 10px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    width: 100%;
    margin-top: 8px;
    cursor: pointer;
    text-align: center;
    display: block;
}

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

@media (max-width: 768px) {
    .sales-chat-window {
        width: 320px;
        right: -10px;
    }
}

