:root {
    /* Color Palette - Cozy Natural Theme */
    --navy-blue: #0B192C; /* Deep Sage/Olive Green instead of Navy Blue */
    --navy-light: #607257;
    --navy-glossy: linear-gradient(135deg, #0B192C 0%, #06101E 100%);
    --gold: #C5A059;
    --gold-light: #DFBE7B;
    --green: #1A365D;
    --green-light: #D49B24;
    --white: #FFFFFF;
    --off-white: #FAF8F5; /* Cozy Off-White */
    --text-dark: #0B192C; /* Dark Green/Grey text */
    --text-gray: #334155;
    
    /* Variables */
    --transition: all 0.3s ease;
    --radius: 12px;
    --shadow: 0 10px 30px rgba(11, 25, 44, 0.12);
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Noto Sans Thai', 'Outfit', sans-serif; }
html { scroll-behavior: smooth; }
body { background-color: var(--white); color: var(--text-dark); line-height: 1.6; overflow-x: hidden; }

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

h1 { font-size: 3.5rem; font-weight: 700; line-height: 1.2; margin-bottom: 1.5rem; color: var(--navy-blue); }
h2 { font-size: 2.5rem; font-weight: 600; margin-bottom: 1rem; color: var(--navy-blue); }
.highlight-gold { color: var(--gold); }
.highlight-green { color: var(--green); }
.bg-light { background-color: var(--off-white); }
.text-center { text-align: center; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 12px 24px; border-radius: 50px; font-weight: 600; text-decoration: none; transition: var(--transition); cursor: pointer; border: 2px solid transparent; font-size: 1rem; }
.btn-large { padding: 16px 32px; font-size: 1.1rem; }
.btn-primary { background-color: var(--navy-blue); color: var(--white); border-color: var(--navy-blue); }
.btn-primary:hover { background-color: var(--gold); border-color: var(--gold); transform: translateY(-2px); box-shadow: 0 10px 20px rgba(197, 160, 89, 0.3); }
.btn-secondary { background-color: transparent; color: var(--navy-blue); border-color: var(--navy-blue); }
.btn-secondary:hover { background-color: var(--navy-blue); color: var(--white); }
.btn-outline { background-color: transparent; color: var(--gold); border-color: var(--gold); }
.btn-outline:hover { background-color: var(--gold); color: var(--white); }

/* Navbar */
.navbar { position: fixed; top: 0; left: 0; width: 100%; background-color: rgba(11, 25, 44, 0.95); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); z-index: 1000; border-bottom: 2px solid rgba(197, 168, 128, 0.45); transition: var(--transition); }
.navbar.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,0.15); }
.nav-container { display: flex; justify-content: space-between; align-items: center; height: 80px; }
.logo img { height: 50px; object-fit: contain; }
.nav-links a { text-decoration: none; color: rgba(250, 248, 245, 0.85); font-weight: 600; margin: 0 10px; transition: var(--transition); white-space: nowrap; }
.nav-links a:hover, .nav-links a.active { color: var(--white); }

/* Hero */
.hero { padding: 160px 0 80px; min-height: 80vh; display: flex; align-items: center; text-align: center; background: linear-gradient(135deg, #F8FAFC 0%, #E2E8F0 100%); position: relative; }
.hero-container { position: relative; z-index: 1; max-width: 800px; margin: 0 auto; }
.hero-text p { font-size: 1.2rem; color: var(--text-gray); margin-bottom: 40px; }
.hero-buttons { display: flex; justify-content: center; gap: 15px; }

/* Grids & Cards */
.section-title { max-width: 800px; margin: 0 auto 50px; }
.section-title p { font-size: 1.1rem; color: var(--text-gray); }

.image-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: var(--transition); }
.card:hover { transform: translateY(-10px); }
.card img { width: 100%; height: 250px; object-fit: cover; display: block; }
.card-body { padding: 25px; }
.card-body h3 { color: var(--navy-blue); margin-bottom: 10px; }
.card-body p { color: var(--text-gray); font-size: 0.95rem; }

.audience-card { position: relative; }
.audience-card img { height: 350px; filter: brightness(0.8); transition: var(--transition); }
.audience-card:hover img { filter: brightness(0.6); transform: scale(1.05); }
.card-overlay { position: absolute; bottom: 0; left: 0; width: 100%; padding: 30px 20px; background: linear-gradient(transparent, rgba(10, 25, 47, 0.9)); color: var(--white); text-align: center; }
.card-overlay h3 { color: var(--white); font-size: 1.5rem; margin: 0; }

/* Infographic & Features */
.infographic-container { background: var(--white); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); margin-bottom: 60px; text-align: center; }
.infographic-img { max-width: 100%; border-radius: 8px; }

.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.feature-card { padding: 30px; }
.icon-circle { width: 70px; height: 70px; background: rgba(197, 160, 89, 0.1); color: var(--gold); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 30px; margin: 0 auto 20px; }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; align-items: stretch; }
.pricing-card { background: var(--white); border-radius: var(--radius); padding: 40px 30px; box-shadow: var(--shadow); position: relative; border: 1px solid #E2E8F0; transition: var(--transition); display: flex; flex-direction: column; text-align: center; }
.pricing-card:hover { transform: translateY(-5px); border-color: var(--gold); }
.product-img-small { width: 150px; height: 150px; object-fit: contain; margin: 0 auto 20px; border-radius: 8px; }

.pricing-card.popular { background: var(--navy-blue); color: var(--white); transform: scale(1.05); border: none; box-shadow: 0 20px 40px rgba(10, 25, 47, 0.2); }
.pricing-card.popular:hover { transform: scale(1.05) translateY(-5px); }
.pricing-card.popular h3, .pricing-card.popular .subtitle { color: var(--white); }
.pricing-card.popular .price-item span { color: var(--white); }
.pricing-card.popular .btn { background: var(--gold); color: var(--navy-blue); border-color: var(--gold); }
.pricing-card.popular .btn:hover { background: var(--white); color: var(--navy-blue); }

.badge { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); background: var(--gold); color: var(--white); padding: 5px 15px; border-radius: 20px; font-size: 0.85rem; font-weight: 600; white-space: nowrap; }
.pricing-header { margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid rgba(0,0,0,0.1); }
.pricing-card.popular .pricing-header { border-bottom: 1px solid rgba(255,255,255,0.1); }
.pricing-header h3 { font-size: 1.5rem; color: var(--navy-blue); }
.subtitle { font-size: 0.9rem; color: var(--text-gray); }

.pricing-body { margin-bottom: 30px; flex-grow: 1; }
.price-item { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; margin-bottom: 5px; }
.price-item .size { font-weight: 500; color: var(--text-dark); }
.price-item .price { font-weight: 700; font-size: 1.2rem; color: var(--navy-blue); }
.highlight-price .size, .highlight-price .price { font-size: 1.4rem; color: var(--gold) !important; }

/* CTA & Footer */
.cta-section { background: var(--navy-glossy); color: var(--white); }
.cta-section h2 { color: var(--white); }
.cta-section p { font-size: 1.2rem; margin-bottom: 40px; opacity: 0.9; }

footer { background: #1E261C; color: rgba(255,255,255,0.7); padding: 40px 0; }
.footer-content h3 { font-size: 1.5rem; margin-bottom: 5px; }

/* Language Dropdown */
.lang-dropdown {
    position: relative;
    display: inline-block;
    margin-right: 15px;
}
.lang-dropdown-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(250, 248, 245, 0.95);
    padding: 6px 12px;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}
.lang-dropdown-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}
.lang-dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    background-color: #06101E;
    min-width: 90px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.25);
    border: 1px solid rgba(197, 168, 128, 0.3);
    border-radius: 8px;
    z-index: 1001;
    overflow: hidden;
}
.lang-dropdown-content a {
    color: rgba(250, 248, 245, 0.9);
    padding: 8px 16px;
    text-decoration: none;
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    text-align: center;
    transition: all 0.2s ease;
}
.lang-dropdown-content a:hover {
    background-color: var(--gold);
    color: #FFFFFF;
}
.lang-dropdown-content a.active {
    background-color: var(--gold);
    color: #FFFFFF;
}
.lang-dropdown:hover .lang-dropdown-content {
    display: block;
}


/* Storytelling Sections */
.bg-white { background-color: var(--white); }
.bg-dark { background-color: var(--navy-blue); }
.text-gold { color: var(--gold); }

.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; margin-bottom: 40px; }
.story-grid.reverse { direction: rtl; }
.story-grid.reverse .story-text { direction: ltr; }

.story-image img { width: 100%; border-radius: var(--radius); }
.img-rounded { border-radius: 20px; }
.shadow { box-shadow: 0 20px 40px rgba(0,0,0,0.1); }

.story-text h2 { margin-bottom: 0.5rem; }
.story-text h3 { font-size: 1.8rem; margin-bottom: 1.5rem; font-weight: 500; }
.story-text p { margin-bottom: 1rem; font-size: 1.1rem; }

.risk-list { list-style: none; margin-top: 20px; }
.risk-list li { margin-bottom: 15px; padding-left: 30px; position: relative; }
.risk-list li::before { content: '⚠️'; position: absolute; left: 0; top: 0; }
.risk-list li strong { color: var(--gold); display: block; margin-bottom: 5px; }

.bcg-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 30px 0; }
.bcg-item { background: rgba(76, 175, 80, 0.1); border-left: 4px solid var(--green); padding: 15px; border-radius: 8px; font-weight: 500; font-size: 0.9rem; }

/* Animations */
.fade-in { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 992px) {
    .image-grid, .features-grid, .pricing-grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; gap: 40px; }
    .hero-buttons { flex-direction: column; }
    .pricing-card.popular { transform: scale(1); }
    .pricing-card.popular:hover { transform: translateY(-5px); }
    h1 { font-size: 2.5rem; }
    
    .story-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .story-grid.reverse { direction: ltr; }
    .bcg-features { grid-template-columns: 1fr; }
}
@media (max-width: 1150px) {
    .nav-links { display: none; }
    #index-mobile-toggle { display: block !important; }
}
