:root {
    --ntj9-c-primary: #279d2d;
    --ntj9-c-primary-hover: #1f8024;
    --ntj9-c-accent: #ac1766;
    --ntj9-c-bg: #f4f7f5;
    --ntj9-c-surface: #ffffff;
    --ntj9-c-text-main: #1f2937;
    --ntj9-c-text-muted: #4b5563;
    --ntj9-c-border: #e5e7eb;
    
    --ntj9-f-head: 'Poppins', sans-serif;
    --ntj9-f-body: 'Nunito', sans-serif;
    
    --ntj9-sz-xs: 12px;
    --ntj9-sz-sm: 14px;
    --ntj9-sz-base: 16px;
    --ntj9-sz-lg: 18px;
    --ntj9-sz-xl: 22px;
    --ntj9-sz-2xl: 28px;
    --ntj9-sz-3xl: 36px;
    
    --ntj9-radius-sm: 8px;
    --ntj9-radius-md: 16px;
    --ntj9-radius-lg: 24px;
    --ntj9-radius-pill: 9999px;
    
    --ntj9-shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --ntj9-shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1);
    --ntj9-shadow-glow: 0 0 15px rgba(39, 157, 45, 0.4);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { background-color: var(--ntj9-c-bg); scroll-behavior: smooth; max-width: 100vw; overflow-x: hidden; }
body {
    font-family: var(--ntj9-f-body);
    color: var(--ntj9-c-text-main);
    line-height: 1.6;
    font-size: var(--ntj9-sz-base);
    max-width: 100vw;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.ntj9-container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }

/* Header & Nav */
.ntj9-header { background: var(--ntj9-c-surface); border-bottom: 2px solid var(--ntj9-c-primary); position: sticky; top: 0; z-index: 50; box-shadow: var(--ntj9-shadow-sm); }
.ntj9-header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.ntj9-logo { font-family: var(--ntj9-f-head); font-weight: 800; font-size: var(--ntj9-sz-2xl); color: var(--ntj9-c-accent); letter-spacing: -0.5px; }
.ntj9-nav-list { display: flex; gap: 24px; list-style: none; }
.ntj9-nav-link { font-weight: 700; font-size: var(--ntj9-sz-sm); color: var(--ntj9-c-text-main); text-transform: uppercase; transition: color 0.2s; }
.ntj9-nav-link:hover { color: var(--ntj9-c-primary); }

/* Ticker */
.ntj9-ticker-wrapper { background: var(--ntj9-c-primary); color: #fff; padding: 8px 0; overflow-x: hidden; display: flex; white-space: nowrap; font-size: var(--ntj9-sz-sm); font-weight: 600; }
.ntj9-ticker-track { display: flex; animation: ntj9-scroll 25s linear infinite; }
.ntj9-ticker-track:hover { animation-play-state: paused; }
.ntj9-ticker-content { display: flex; gap: 40px; padding-right: 40px; }
.ntj9-ticker-item { position: relative; color: #fff; }
.ntj9-ticker-item::after { content: "•"; position: absolute; right: -22px; color: rgba(255,255,255,0.5); }
@keyframes ntj9-scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* Main Typography */
.ntj9-title, .ntj9-slogan, .ntj9-page-title, .ntj9-section-title {
    font-family: var(--ntj9-f-head);
    color: var(--ntj9-c-text-main);
    font-weight: 800;
    line-height: 1.2;
}
.ntj9-title { font-size: var(--ntj9-sz-2xl); margin-bottom: 24px; }
.ntj9-text-center { text-align: center; }

/* Animations */
.ntj9-animate-fade { animation: ntj9-fadeIn 0.6s ease-out both; }
@keyframes ntj9-fadeIn { from { opacity: 0; transform: translateY(15px); } to { opacity: 1; transform: translateY(0); } }

/* Hero Section */
.ntj9-hero { padding: 48px 0; background: linear-gradient(135deg, var(--ntj9-c-surface) 0%, var(--ntj9-c-bg) 100%); }
.ntj9-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.ntj9-slogan { font-size: var(--ntj9-sz-3xl); margin-bottom: 16px; color: var(--ntj9-c-accent); }
.ntj9-hero-desc { font-size: var(--ntj9-sz-lg); color: var(--ntj9-c-text-muted); margin-bottom: 32px; }
.ntj9-stats-row { display: flex; gap: 16px; }
.ntj9-stat-box { background: var(--ntj9-c-surface); padding: 16px; border-radius: var(--ntj9-radius-lg); box-shadow: var(--ntj9-shadow-md); flex: 1; text-align: center; border: 1px solid var(--ntj9-c-border); }
.ntj9-stat-num { display: block; font-family: var(--ntj9-f-head); font-weight: 800; font-size: var(--ntj9-sz-xl); color: var(--ntj9-c-primary); }
.ntj9-stat-lbl { display: block; font-size: var(--ntj9-sz-xs); font-weight: 700; color: var(--ntj9-c-text-muted); text-transform: uppercase; }
.ntj9-hero-image-wrap img { border-radius: var(--ntj9-radius-lg); box-shadow: var(--ntj9-shadow-glow); }

/* Filter Chips */
.ntj9-filter-scroll { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; margin-bottom: 24px; padding-bottom: 8px; }
.ntj9-filter-scroll::-webkit-scrollbar { display: none; }
.ntj9-filter-chips { display: flex; gap: 12px; width: max-content; }
.ntj9-filter-chip { padding: 8px 20px; background: var(--ntj9-c-surface); border: 2px solid var(--ntj9-c-border); border-radius: var(--ntj9-radius-pill); font-size: var(--ntj9-sz-sm); font-weight: 700; color: var(--ntj9-c-text-muted); transition: all 0.2s; }
.ntj9-filter-chip:hover, .ntj9-filter-chip.ntj9-active { background: var(--ntj9-c-primary); border-color: var(--ntj9-c-primary); color: #fff; }

/* Gallery Wall */
.ntj9-gallery-section { padding: 40px 0; }
.ntj9-gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
.ntj9-gallery-card { background: var(--ntj9-c-surface); border-radius: var(--ntj9-radius-md); overflow: hidden; display: flex; flex-direction: column; transition: transform 0.3s, box-shadow 0.3s; text-decoration: none; border: 1px solid var(--ntj9-c-border); }
.ntj9-gallery-card:hover { transform: translateY(-6px); box-shadow: var(--ntj9-shadow-glow); }
.ntj9-card-thumb { position: relative; width: 100%; aspect-ratio: 4/3; background: #eaeaea; overflow: hidden; }
.ntj9-card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.ntj9-gallery-card:hover .ntj9-card-thumb img { transform: scale(1.08); }
.ntj9-badge-chip { position: absolute; top: 12px; right: 12px; background: var(--ntj9-c-accent); color: #fff; font-size: var(--ntj9-sz-xs); font-weight: 700; padding: 4px 10px; border-radius: var(--ntj9-radius-pill); z-index: 2; }
.ntj9-card-info { padding: 16px; }
.ntj9-card-title { font-family: var(--ntj9-f-head); font-size: var(--ntj9-sz-base); font-weight: 700; color: var(--ntj9-c-text-main); margin-bottom: 4px; }
.ntj9-card-sub { font-size: var(--ntj9-sz-sm); color: var(--ntj9-c-text-muted); }

/* Features Section */
.ntj9-features { padding: 60px 0; background: var(--ntj9-c-surface); }
.ntj9-features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 32px; margin-top: 32px; }
.ntj9-feature-card { padding: 32px; border-radius: var(--ntj9-radius-lg); background: var(--ntj9-c-bg); text-align: center; border: 1px solid var(--ntj9-c-border); transition: box-shadow 0.3s; }
.ntj9-feature-card:hover { box-shadow: var(--ntj9-shadow-md); }
.ntj9-feature-icon { font-size: 40px; margin-bottom: 16px; display: inline-block; }
.ntj9-feature-title { font-family: var(--ntj9-f-head); font-size: var(--ntj9-sz-lg); font-weight: 700; margin-bottom: 12px; }
.ntj9-feature-desc { font-size: var(--ntj9-sz-sm); color: var(--ntj9-c-text-muted); }

/* Steps Section */
.ntj9-steps { padding: 60px 0; }
.ntj9-steps-wrapper { display: flex; flex-direction: column; gap: 24px; margin-top: 32px; }
.ntj9-step-item { display: flex; align-items: center; gap: 24px; background: var(--ntj9-c-surface); padding: 24px; border-radius: var(--ntj9-radius-md); box-shadow: var(--ntj9-shadow-sm); }
.ntj9-step-num { width: 56px; height: 56px; flex-shrink: 0; background: var(--ntj9-c-primary); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--ntj9-f-head); font-size: var(--ntj9-sz-xl); font-weight: 800; }
.ntj9-step-title { font-family: var(--ntj9-f-head); font-size: var(--ntj9-sz-lg); font-weight: 700; margin-bottom: 4px; }
.ntj9-step-desc { font-size: var(--ntj9-sz-sm); color: var(--ntj9-c-text-muted); }

/* Payments */
.ntj9-payments { padding: 40px 0; background: var(--ntj9-c-surface); }
.ntj9-payment-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 24px; }
.ntj9-pay-badge { padding: 12px 24px; background: var(--ntj9-c-bg); border-radius: var(--ntj9-radius-sm); font-weight: 700; font-size: var(--ntj9-sz-sm); color: var(--ntj9-c-text-main); border: 1px dashed var(--ntj9-c-border); }

/* Article & Pages */
.ntj9-article-section { padding: 40px 0; }
.ntj9-article-content { background: var(--ntj9-c-surface); padding: 40px; border-radius: var(--ntj9-radius-lg); box-shadow: var(--ntj9-shadow-sm); }
.ntj9-article-content h1, .ntj9-article-content h2, .ntj9-article-content h3 { font-family: var(--ntj9-f-head); font-weight: 700; color: var(--ntj9-c-accent); margin: 32px 0 16px; line-height: 1.3; }
.ntj9-article-content h2 { font-size: var(--ntj9-sz-xl); }
.ntj9-article-content h3 { font-size: var(--ntj9-sz-lg); }
.ntj9-article-content p { margin-bottom: 16px; font-size: clamp(15px, 2vw, 16px); color: var(--ntj9-c-text-muted); }
.ntj9-article-content ul, .ntj9-article-content ol { margin: 0 0 24px 24px; font-size: clamp(15px, 2vw, 16px); color: var(--ntj9-c-text-muted); }
.ntj9-article-content li { margin-bottom: 8px; }
.ntj9-article-content a { color: var(--ntj9-c-primary); font-weight: 600; text-decoration: underline; }

/* Page Specifics */
.ntj9-page-main { padding-bottom: 60px; }
.ntj9-page-header { background: var(--ntj9-c-surface); padding: 40px 0; margin-bottom: 40px; border-bottom: 1px solid var(--ntj9-c-border); }
.ntj9-breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: var(--ntj9-sz-xs); margin-bottom: 16px; color: var(--ntj9-c-text-muted); font-weight: 600; }
.ntj9-crumb { text-decoration: none; transition: color 0.2s; }
.ntj9-crumb:hover { color: var(--ntj9-c-primary); }
.ntj9-page-title { font-size: var(--ntj9-sz-3xl); margin-bottom: 12px; }
.ntj9-page-meta { font-size: var(--ntj9-sz-base); color: var(--ntj9-c-text-muted); max-width: 800px; }
.ntj9-page-layout { display: grid; grid-template-columns: 1fr 300px; gap: 32px; }

/* FAQ Accordion */
.ntj9-faq-section { margin-top: 48px; }
.ntj9-faq-accordion { display: flex; flex-direction: column; gap: 16px; }
.ntj9-faq-item { background: var(--ntj9-c-surface); border: 1px solid var(--ntj9-c-border); border-radius: var(--ntj9-radius-sm); overflow: hidden; }
.ntj9-faq-q { padding: 16px 20px; font-family: var(--ntj9-f-head); font-weight: 700; font-size: var(--ntj9-sz-base); cursor: pointer; display: flex; justify-content: space-between; align-items: center; user-select: none; color: var(--ntj9-c-text-main); background: var(--ntj9-c-surface); }
.ntj9-faq-q::after { content: "+"; font-size: 20px; font-weight: 400; color: var(--ntj9-c-primary); transition: transform 0.3s; }
.ntj9-faq-item[open] .ntj9-faq-q::after { transform: rotate(45deg); }
.ntj9-faq-a { padding: 0 20px 20px; font-size: clamp(15px, 2vw, 16px); color: var(--ntj9-c-text-muted); border-top: 1px solid var(--ntj9-c-bg); }

/* Sidebar / Related */
.ntj9-sidebar-widget { background: var(--ntj9-c-surface); padding: 24px; border-radius: var(--ntj9-radius-lg); box-shadow: var(--ntj9-shadow-sm); border: 1px solid var(--ntj9-c-border); position: sticky; top: 100px; }
.ntj9-widget-title { font-family: var(--ntj9-f-head); font-size: var(--ntj9-sz-lg); font-weight: 700; margin-bottom: 16px; border-bottom: 2px solid var(--ntj9-c-bg); padding-bottom: 8px; }
.ntj9-related-list { display: flex; flex-direction: column; gap: 12px; }
.ntj9-related-list a { font-size: var(--ntj9-sz-sm); font-weight: 600; color: var(--ntj9-c-text-muted); display: block; padding: 8px; border-radius: var(--ntj9-radius-sm); transition: background 0.2s; }
.ntj9-related-list a:hover { background: var(--ntj9-c-bg); color: var(--ntj9-c-primary); }

/* Pagination */
.ntj9-pagination { display: flex; gap: 12px; margin-top: 32px; justify-content: center; }
.ntj9-pager-btn { padding: 10px 20px; background: var(--ntj9-c-primary); color: #fff; font-weight: 700; font-size: var(--ntj9-sz-sm); border-radius: var(--ntj9-radius-pill); transition: background 0.2s; }
.ntj9-pager-btn:hover { background: var(--ntj9-c-primary-hover); }

/* Footer */
.ntj9-footer { background: #111827; color: #d1d5db; padding: 60px 0 30px; margin-top: auto; }
.ntj9-footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; margin-bottom: 40px; }
.ntj9-footer-brand { max-width: 350px; }
.ntj9-logo-footer { font-family: var(--ntj9-f-head); font-weight: 800; font-size: var(--ntj9-sz-2xl); color: #fff; margin-bottom: 16px; }
.ntj9-footer-tagline { font-size: var(--ntj9-sz-sm); line-height: 1.6; }
.ntj9-footer-links { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 32px; }
.ntj9-footer-links a { font-size: var(--ntj9-sz-sm); font-weight: 600; transition: color 0.2s; }
.ntj9-footer-links a:hover { color: var(--ntj9-c-primary); }
.ntj9-footer-divider { height: 1px; background: rgba(255,255,255,0.1); margin-bottom: 24px; }
.ntj9-footer-bottom { display: flex; flex-direction: column; gap: 16px; text-align: center; }
.ntj9-legal-text { font-size: var(--ntj9-sz-xs); opacity: 0.7; max-width: 800px; margin: 0 auto; }
.ntj9-copyright { font-size: var(--ntj9-sz-xs); font-weight: 600; color: #fff; }

/* Media Queries */
@media (max-width: 900px) {
    .ntj9-hero-grid { grid-template-columns: 1fr; text-align: center; }
    .ntj9-stats-row { justify-content: center; }
    .ntj9-page-layout { grid-template-columns: 1fr; }
    .ntj9-sidebar-widget { position: relative; top: 0; }
    .ntj9-nav-list { display: none; } /* Kept simple for skeleton, real mobile menu needs JS toggle, handled outside if required */
}
@media (max-width: 600px) {
    .ntj9-stats-row { flex-direction: column; gap: 12px; }
    .ntj9-gallery-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
    .ntj9-card-info { padding: 12px; }
    .ntj9-card-title { font-size: var(--ntj9-sz-sm); }
    .ntj9-card-sub { font-size: var(--ntj9-sz-xs); }
    .ntj9-article-content { padding: 24px 16px; }
    .ntj9-slogan { font-size: var(--ntj9-sz-2xl); }
    .ntj9-page-title { font-size: var(--ntj9-sz-2xl); }
    .ntj9-footer-links { grid-template-columns: 1fr; }
}
