* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #0b0b0b;
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 50%, #ffffff 100%);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Background sparkle to match theme */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
        radial-gradient(circle at 25% 25%, rgba(0,0,0,0.05) 1px, transparent 1px),
        radial-gradient(circle at 75% 75%, rgba(0,0,0,0.03) 1px, transparent 1px);
    background-size: 50px 50px, 80px 80px;
    z-index: -1;
    animation: sparkle 12s linear infinite;
}

@keyframes sparkle {
    0%, 100% { opacity: 0.9; }
    50% { opacity: 0.6; }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header (shared look with lab.html) */
header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}









/* Floating diamonds */
.floating-diamond {
    position: absolute;
    opacity: 0.12;
    animation: float-diamond 10s ease-in-out infinite;
    font-size: 2.2rem;
    color: #ffffff;
    filter: drop-shadow(0 0 4px rgba(255,255,255,0.4)) brightness(0) saturate(100%) invert(1);
}

.floating-diamond:nth-child(1) { top: 15%; left: 8%; animation-delay: 0s; font-size: 2.5rem; }
.floating-diamond:nth-child(2) { top: 65%; right: 10%; animation-delay: 4s; font-size: 2rem; }
.floating-diamond:nth-child(3) { bottom: 25%; left: 15%; animation-delay: 7s; font-size: 2.8rem; }

@keyframes float-diamond {
    0%, 100% { transform: translateY(0px) rotate(0deg); opacity: 0.12; }
    50% { transform: translateY(-35px) rotate(180deg); opacity: 0.25; }
}

/* Page header */
.page-header {
    padding: 120px 0 60px;
    background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
    position: relative;
}

.page-title {
    font-size: 2.8rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #222222;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.1);
}

.page-subtitle {
    margin-top: 0.8rem;
    color: #444444;
}

/* Main content */
.main-content { padding: 40px 0 80px; }

.content-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f7f7f7 100%);
    position: relative;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 2.5rem;
    color: #222222;
    position: relative;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.1);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 5px;
    background: linear-gradient(45deg, #e0e0e0, #ffffff, #e0e0e0);
    border-radius: 3px;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.content-card {
    background: linear-gradient(135deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.02) 100%);
    padding: 2rem;
    border-radius: 22px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1), inset 0 2px 0 rgba(255,255,255,0.2);
    border: 1px solid rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(6px);
}

.content-card h3 { font-size: 1.3rem; margin-bottom: 0.8rem; color: #333333; }
.content-card p { color: #555555; }

.highlight-box {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 14px;
    background: rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.05);
}

/* Gallery */
.product-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.8rem;
}

.gallery-item {
    background: linear-gradient(135deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.02) 100%);
    border-radius: 22px;
    padding: 1.2rem;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.gallery-image {
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    background: linear-gradient(45deg, #444444, #2a2a2a);
    color: #ffffff;
    border-radius: 16px;
    margin-bottom: 0.8rem;
}

.gallery-caption h4 { margin-bottom: 0.3rem; color: #333333; }
.gallery-caption p { color: #555555; }

/* Tips */
.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.tip-card {
    background: linear-gradient(135deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.02) 100%);
    padding: 1.4rem;
    border-radius: 18px;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 10px 22px rgba(0,0,0,0.08);
}

.tip-card h4 { margin-bottom: 0.5rem; color: #333333; }
.tip-card p { color: #555555; }

/* CTA panel */
.cta-panel {
    margin-top: 3rem;
    margin-bottom: 3rem;
    text-align: center;
    background: linear-gradient(135deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.02) 100%);
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 22px;
    padding: 2.4rem;
    box-shadow: 0 12px 30px rgba(0,0,0,0.1);
}

.cta-button {
    display: inline-block;
    background: linear-gradient(45deg, #222222, #444444, #222222);
    background-size: 300% 300%;
    color: #ffffff;
    padding: 14px 32px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.3s ease;
    margin-right: 10px;
}

.cta-panel p:last-child { margin-top: 1rem; }
.cta-panel .cta-button + .cta-link { margin-left: 14px; }

.cta-button:hover { transform: translateY(-3px); }

.cta-link { color: #222222; text-decoration: none; font-weight: 700; }
.cta-link:hover { text-decoration: underline; }

/* FAQ */
.faq-list { display: grid; gap: 1rem; margin-top: 1.5rem; }
.faq-item { background: rgba(0,0,0,0.03); border: 1px solid rgba(0,0,0,0.05); border-radius: 16px; padding: 1rem 1.2rem; }
.faq-item h4 { margin-bottom: 0.4rem; color: #333333; }
.faq-item p { color: #555555; }

/* Footer (match theme) */
footer {
    background: linear-gradient(135deg, #f0f0f0 0%, #ffffff 100%);
    color: #333333;
    padding: 60px 0 35px;
    text-align: center;
    position: relative;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2.5rem;
    margin-bottom: 2.5rem;
    text-align: left;
    position: relative;
    z-index: 2;
}

.footer-section h3 {
    margin-bottom: 1.2rem;
    color: #222222;
    text-shadow: 0 0 2px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-section h3::before {
    content: '💎';
    font-size: 1.3rem;
    filter: brightness(0) saturate(100%) invert(1); /* เพิ่ม filter ขาว */
}

.footer-section p, .footer-section a {
    color: #555555;
    text-decoration: none;
    line-height: 1.9;
    text-shadow: 0 0 1px rgba(0,0,0,0.05);
}

.footer-section a:hover {
    color: #444444;
    text-shadow: 0 0 3px rgba(0,0,0,0.2);
}

.footer-bottom {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 25px;
    text-align: center;
    color: #666666;
    text-shadow: 0 0 1px rgba(0,0,0,0.05);
}
/* Responsive */
@media (max-width: 768px) {
    .nav-menu { gap: 1.2rem; }
    .section-title { font-size: 1.9rem; }
    .page-header { padding: 100px 0 50px; }
}

@media (max-width: 480px) {
    .cta-button { padding: 12px 24px; }
}



/* ===== Nav styles copied from home.css to ensure parity ===== */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
}

.logo img {
    height: 72px;
    width: auto;
    border-radius: 12px;
    padding: 4px;
    background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(255,255,255,0.7));
    border: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 6px 18px rgba(0,0,0,0.08), inset 0 1px 0 rgba(255,255,255,0.8);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.logo:hover img {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 10px 28px rgba(0,0,0,0.12), inset 0 1px 0 rgba(255,255,255,0.9);
}

.diamond-emoji {
    filter: brightness(0) saturate(100%) invert(1);
}

.logo::before {
    content: '💎';
    font-size: 2.2rem;
    animation: rotate 8s linear infinite;
    filter: drop-shadow(0 0 6px rgba(255,255,255,0.7)) brightness(0) saturate(100%) invert(1);
    transition: filter 0.3s ease;
}

/* Mobile behavior (from home.css) */
@media (max-width: 992px) {
    .nav-toggle { display: inline-flex; }
    .nav-menu {
        position: absolute;
        top: 100%;
        right: 20px;
        left: 20px;
        display: none;
        flex-direction: column;
        gap: 1rem;
        padding: 16px;
        background: rgba(255,255,255,0.9);
        border: 1px solid rgba(0,0,0,0.06);
        border-radius: 16px;
        box-shadow: 0 12px 30px rgba(0,0,0,0.08);
        backdrop-filter: blur(8px);
    }
    .nav-menu.is-open { display: flex; }
}

/* ===== Navbar (exact from home.css) ===== */
header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
}

.logo {
    font-size: 2rem;
    font-weight: 700;
    color: #000000;
    text-shadow: 0 0 4px rgba(255,255,255,0.4);
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.logo img {
    height: 72px;
    width: auto;
    border-radius: 12px;
    padding: 4px;
    background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(255,255,255,0.7));
    border: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 6px 18px rgba(0,0,0,0.08), inset 0 1px 0 rgba(255,255,255,0.8);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.logo:hover img {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 10px 28px rgba(0,0,0,0.12), inset 0 1px 0 rgba(255,255,255,0.9);
}

.diamond-emoji { filter: brightness(0) saturate(100%) invert(1); }

.logo::before {
    content: '💎';
    font-size: 2.2rem;
    animation: rotate 8s linear infinite;
    filter: drop-shadow(0 0 6px rgba(255,255,255,0.7)) brightness(0) saturate(100%) invert(1);
    transition: filter 0.3s ease;
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 12px;
    background: rgba(255,255,255,0.9);
    box-shadow: 0 4px 12px rgba(0,0,0,0.06), inset 0 1px 0 rgba(255,255,255,0.7);
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.nav-toggle:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,0.1), inset 0 1px 0 rgba(255,255,255,0.8); }
.nav-toggle:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(0,0,0,0.1), inset 0 1px 0 rgba(255,255,255,0.8); }

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
    display: block;
    width: 20px;
    height: 2px;
    background: #222222;
    border-radius: 2px;
    position: relative;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle span::before,
.nav-toggle span::after { content: ''; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

.nav-toggle[aria-expanded="true"] span { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::before { transform: rotate(90deg) translateX(-6px); }
.nav-toggle[aria-expanded="true"] span::after { opacity: 0; }

@keyframes rotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.nav-menu { display: flex; list-style: none; gap: 2.5rem; align-items: center; }

@media (min-width: 993px) {
    .nav-menu {
        gap: 0.5rem;
        padding: 6px;
        background: rgba(255,255,255,0.7);
        border: 1px solid rgba(0,0,0,0.06);
        border-radius: 999px;
        box-shadow: 0 8px 24px rgba(0,0,0,0.06), inset 0 1px 0 rgba(255,255,255,0.8);
        backdrop-filter: blur(8px);
    }
    .nav-menu li { margin: 0 6px; }
}

/* Icons */
.nav-menu a::before {
    content: '';
    display: inline-block;
    font-size: 1.1rem;
    line-height: 1;
    margin-right: 8px;
    filter: drop-shadow(0 0 2px rgba(0,0,0,0.1));
}
.nav-menu a[href*="#home"]::before { content: '🏠'; }
.nav-menu a[href*="#products"]::before { content: '🛒'; }
.nav-menu a[href*="#contact"]::before { content: '✉️'; }
.nav-menu a[href$="home.html"]::before { content: '🏠'; }
.nav-menu a[href$="content.html"]::before { content: '🛒'; }
.nav-menu a[href$="contact.html"]::before { content: '✉️'; }

/* Link visuals */
.nav-menu li { position: relative; }
.nav-menu a {
    text-decoration: none;
    color: #333333;
    font-weight: 600;
    position: relative;
    transition: color 0.25s ease, text-shadow 0.25s ease, transform 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    letter-spacing: 0.02em;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 14px;
    background: transparent;
}

.nav-menu a:hover {
    color: #222222;
    text-shadow: 0 0 3px rgba(0,0,0,0.2);
    background: rgba(0, 0, 0, 0.04);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255,255,255,0.6);
}

.nav-menu a:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(0,0,0,0.1), inset 0 1px 0 rgba(255,255,255,0.7); background: rgba(0,0,0,0.05); }

.nav-menu a.active { color: #111111; background: linear-gradient(135deg, rgba(0,0,0,0.06), rgba(0,0,0,0.03)); box-shadow: 0 8px 20px rgba(0,0,0,0.10), inset 0 1px 0 rgba(255,255,255,0.8); }
.nav-menu a.active::after { width: calc(100% - 24px); }

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: -6px;
    left: 12px;
    right: 12px;
    background: linear-gradient(90deg, #d9d9d9, #ffffff);
    transition: width 0.35s ease;
    border-radius: 2px;
}

.nav-menu a:hover::after { width: calc(100% - 24px); }

@media (max-width: 992px) {
    .nav-toggle { display: inline-flex; }
    .nav-menu {
        position: absolute;
        top: 100%;
        right: 20px;
        left: 20px;
        display: none;
        flex-direction: column;
        gap: 1rem;
        padding: 16px;
        background: rgba(255,255,255,0.9);
        border: 1px solid rgba(0,0,0,0.06);
        border-radius: 16px;
        box-shadow: 0 12px 30px rgba(0,0,0,0.08);
        backdrop-filter: blur(8px);
    }
    .nav-menu.is-open { display: flex; }
}

/* ===== Footer (exact from home.css) ===== */
footer {
    background: linear-gradient(135deg, #f0f0f0 0%, #ffffff 100%);
    color: #333333;
    padding: 60px 0 35px;
    text-align: center;
    position: relative;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2.5rem;
    margin-bottom: 2.5rem;
    text-align: left;
    position: relative;
    z-index: 2;
}

.footer-section h3 {
    margin-bottom: 1.2rem;
    color: #222222;
    text-shadow: 0 0 2px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-section h3::before {
    content: '💎';
    font-size: 1.3rem;
    filter: brightness(0) saturate(100%) invert(1);
}

.footer-section p, .footer-section a { color: #555555; text-decoration: none; line-height: 1.9; text-shadow: 0 0 1px rgba(0,0,0,0.05); }
.footer-section a:hover { color: #444444; text-shadow: 0 0 3px rgba(0,0,0,0.2); }

.footer-bottom { border-top: 1px solid rgba(0, 0, 0, 0.05); padding-top: 25px; text-align: center; color: #666666; text-shadow: 0 0 1px rgba(0,0,0,0.05); }


