
@import url('https://fonts.googleapis.com/css2?family=Kanit:wght@300;400;600;700;800;900&family=Prompt:wght@300;400;600;700;800&display=swap');

:root {
    --bg-dark: #050814;
    --card-bg: rgba(13, 22, 44, 0.85);
    --card-border: rgba(59, 130, 246, 0.25);
    --neon-blue: #3b82f6;
    --neon-cyan: #06b6d4;
    --gold: #ffd700;
    --gold-glow: #f59e0b;
    --text-light: #f8fafc;
    --text-muted: #94a3b8;
    --gradient-blue: linear-gradient(135deg, #1d4ed8 0%, #3b82f6 50%, #06b6d4 100%);
    --gradient-gold: linear-gradient(135deg, #d97706 0%, #f59e0b 50%, #ffd700 100%);
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Prompt', 'Kanit', sans-serif; }

body {
    background: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.8;
    overflow-x: hidden;
    background-image: 
        radial-gradient(circle at 10% 10%, rgba(59, 130, 246, 0.18) 0%, transparent 40%),
        radial-gradient(circle at 90% 20%, rgba(6, 182, 212, 0.15) 0%, transparent 45%),
        radial-gradient(circle at 50% 80%, rgba(245, 158, 11, 0.12) 0%, transparent 50%);
    background-attachment: fixed;
}

header {
    background: rgba(5, 8, 20, 0.92);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(59, 130, 246, 0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(0,0,0,0.8);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
}

.brand-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-logo span.badge-logo {
    background: var(--gradient-blue);
    color: #fff;
    font-weight: 900;
    font-size: 1.3rem;
    padding: 4px 14px;
    border-radius: 10px;
    letter-spacing: 1px;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
}

.brand-logo span.text-logo { font-size: 1.4rem; font-weight: 800; color: #fff; letter-spacing: 0.5px; }

.nav-menu { display: flex; gap: 12px; list-style: none; align-items: center; }
.nav-menu a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 8px 18px;
    border-radius: 50px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}
.nav-menu a:hover, .nav-menu a.active {
    background: rgba(59, 130, 246, 0.15);
    color: var(--gold);
    border-color: var(--card-border);
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.3);
}

.btn-header-cta {
    background: var(--gradient-gold) !important;
    color: #050814 !important;
    font-weight: 800 !important;
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.5) !important;
}

.hero {
    text-align: center;
    padding: 50px 20px 25px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid var(--neon-blue);
    color: #60a5fa;
    padding: 6px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.hero h1 {
    font-size: 2.6rem;
    font-weight: 900;
    margin-bottom: 16px;
    line-height: 1.25;
    background: linear-gradient(135deg, #ffffff 30%, #60a5fa 70%, var(--gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p.lead {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 850px;
    margin: 0 auto 25px auto;
}

/* Balanced Image Container */
.page-banner-container {
    max-width: 900px;
    margin: 25px auto;
    text-align: center;
    padding: 0 20px;
}

.page-banner-img {
    width: 100%;
    max-height: 380px;
    object-fit: cover;
    border-radius: 18px;
    border: 1px solid var(--card-border);
    box-shadow: 0 12px 35px rgba(0,0,0,0.6);
    aspect-ratio: 16 / 9;
}

.main-layout { max-width: 1240px; margin: 30px auto; padding: 0 20px; }

.content-box {
    background: var(--card-bg);
    backdrop-filter: blur(16px);
    border-radius: 24px;
    padding: 40px;
    border: 1px solid var(--card-border);
    margin-bottom: 40px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.6);
}

.content-box h2 {
    color: #fff;
    font-size: 1.8rem;
    font-weight: 800;
    margin: 35px 0 18px 0;
    border-left: 4px solid var(--gold);
    padding-left: 15px;
}

.content-box h3 {
    color: #60a5fa;
    font-size: 1.35rem;
    font-weight: 700;
    margin: 25px 0 12px 0;
}

.content-box p { margin-bottom: 18px; color: #cbd5e1; font-size: 1.05rem; }

.content-box ul, .content-box ol { margin: 15px 0 22px 25px; color: #cbd5e1; font-size: 1.05rem; }
.content-box li { margin-bottom: 10px; }

.faq-box {
    background: rgba(5, 8, 20, 0.7);
    border-radius: 16px;
    padding: 22px;
    border: 1px solid rgba(59, 130, 246, 0.2);
    margin-bottom: 18px;
}
.faq-q { color: var(--gold); font-weight: 800; font-size: 1.15rem; margin-bottom: 8px; }
.faq-a { color: #cbd5e1; font-size: 1rem; }

/* Interactive Calculator Widget */
.calc-container {
    background: rgba(5, 8, 20, 0.85);
    border: 1px solid var(--neon-blue);
    border-radius: 20px;
    padding: 30px;
    margin: 30px 0;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.2);
}

.calc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.calc-field label { display: block; font-weight: 700; color: #fff; margin-bottom: 6px; font-size: 0.95rem; }
.calc-field input, .calc-field select {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    background: #0d162c;
    border: 1px solid var(--card-border);
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
}

.calc-result {
    text-align: center;
    background: rgba(59, 130, 246, 0.15);
    border-radius: 12px;
    padding: 18px;
    border: 1px dashed var(--gold);
}

.calc-result span { font-size: 1.7rem; font-weight: 900; color: var(--gold); }

/* Table Styles */
.custom-table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    background: rgba(5, 8, 20, 0.7);
    border-radius: 14px;
    overflow: hidden;
}
.custom-table th { background: rgba(59, 130, 246, 0.3); color: #fff; padding: 14px; text-align: left; font-weight: 700; }
.custom-table td { padding: 14px; border-bottom: 1px solid rgba(255,255,255,0.06); color: #cbd5e1; }

.btn-cta {
    display: inline-block;
    background: var(--gradient-gold);
    color: #050814;
    font-weight: 800;
    padding: 14px 38px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
}
.btn-cta:hover { transform: translateY(-3px); box-shadow: 0 12px 35px rgba(245, 158, 11, 0.6); }

footer {
    background: rgba(3, 5, 12, 0.95);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 50px 20px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-top: 70px;
}
