/* Warm Tamarind Brown Palette (โทนน้ำตาล มินิมอล อบอุ่น สไตล์ Nine Tamarind) */

html {
    scroll-behavior: smooth;
    -webkit-tap-highlight-color: transparent;
}

html, body {
    overflow-x: clip;
    max-width: 100%;
}

body {
    font-family: 'Prompt', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
    background-color: #FFFFFF;
    color: #334155;
    line-height: 1.5;
}

/* Touch targets and responsive polish for mobile & tablet */
#mobile-menu a {
    min-height: 44px;
    display: flex;
    align-items: center;
}

img, video, iframe {
    max-width: 100%;
}

@layer utilities {
    .glass-green {
        background: rgba(255, 255, 255, 0.94);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
    }
}

/* Prevent text wrapping on navbar & headers */
.no-wrap, .nav-item, .logo-title, .logo-tagline {
    white-space: nowrap !important;
    word-break: keep-all !important;
}

/* Warm Tamarind Brown Color Palette */
.bg-white {
    background-color: #FFFFFF; /* Airy minimal soft sage */
}

.bg-slate-50 {
    background-color: #FFFFFF;
}

.bg-ninegreen-800 {
    background-color: #5C361A; /* Softer, lighter deep green */
}

.bg-ninegreen-700 {
    background-color: #734725;
}

.bg-ninered-600 {
    background-color: #dc2626; /* Soft gentle matcha green */
}

.text-ninered-600 {
    color: #dc2626;
}

/* Custom Soft Minimal Scrollbar */
::-webkit-scrollbar {
    width: 7px;
}
::-webkit-scrollbar-track {
    background: #FFFFFF;
}
::-webkit-scrollbar-thumb {
    background: #C2966B;
    border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover {
    background: #dc2626;
}

/* Subtle & Minimal Card Transitions */
.img-zoom-container {
    overflow: hidden;
    position: relative;
    border-radius: 1.25rem;
}

.img-zoom-container img {
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.img-zoom-container:hover img {
    transform: scale(1.03);
}

/* Soothing Minimal Card */
.eco-card {
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    background: #ffffff;
    border: 1px solid #E5EBE2;
    border-radius: 1.5rem;
}

.eco-card:hover {
    transform: translateY(-3px);
    border-color: #C2966B;
    box-shadow: 0 12px 24px -8px rgba(92, 54, 26, 0.08);
}

/* Feature Soft Card */
.feature-card {
    transition: all 0.3s ease;
    border-radius: 1.25rem;
}

.feature-card:hover {
    transform: translateY(-2px);
}

/* Category Filter Tabs */
.product-card.hidden-card {
    display: none !important;
}

/* Curved Section Divider */
.curved-banner {
    border-radius: 2rem;
}

.bg-nature-gradient {
    background: linear-gradient(180deg, #FFFFFF 0%, #FFFFFF 100%);
}

.text-nature-gradient {
    color: #8C5A32;
}

/* Language Switcher */
.lang-switcher {
    user-select: none;
}

.lang-switcher button {
    cursor: pointer;
    line-height: 1.25;
    outline: none;
}

.lang-switcher button:focus-visible {
    outline: 2px solid #8C5A32;
    outline-offset: 1px;
}

/* Section 2: Business Ecosystem Mobile Typography */
.ecosystem-title {
    font-size: clamp(12.5px, 3.8vw, 15px);
    line-height: 1.4;
    white-space: nowrap;
}
@media (min-width: 640px) {
    .ecosystem-title {
        font-size: 1.5rem;
        white-space: normal;
    }
}
@media (min-width: 768px) {
    .ecosystem-title {
        font-size: 1.875rem;
    }
}
@media (min-width: 1024px) {
    .ecosystem-title {
        font-size: 2.25rem;
    }
}

.ecosystem-desc {
    font-size: clamp(10px, 2.8vw, 12px);
    line-height: 1.6;
}
@media (min-width: 640px) {
    .ecosystem-desc {
        font-size: 0.875rem;
    }
}

