/* ===================================================================
   JTR Trading - Public Landing Page Styles
   =================================================================== */
:root { --primary: #2563eb; --dark: #0f172a; }
* { box-sizing: border-box; }
body { font-family: 'Segoe UI', system-ui, -apple-system, sans-serif; color: #1e293b; scroll-behavior: smooth; }
html { scroll-behavior: smooth; }

.brand-badge { background: var(--primary); color: #fff; padding: 3px 8px; border-radius: 6px; font-weight: 800; margin-right: 4px; }

/* Navbar */
#mainNav { transition: all .3s; padding: 16px 0; background: transparent; }
#mainNav.scrolled { background: var(--dark); padding: 10px 0; box-shadow: 0 4px 20px rgba(0,0,0,.15); }
#mainNav .nav-link { color: rgba(255,255,255,.85); font-weight: 500; }
#mainNav .nav-link:hover { color: #fff; }
#mainNav .navbar-brand { font-size: 22px; color: #fff; }

/* Hero */
.hero {
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 60%, #3b82f6 100%);
    color: #fff; padding: 160px 0 90px; position: relative; overflow: hidden;
}
.hero::after {
    content: ''; position: absolute; right: -120px; top: -120px; width: 400px; height: 400px;
    background: rgba(255,255,255,.06); border-radius: 50%;
}
.hero-tag { display: inline-block; background: rgba(255,255,255,.15); padding: 6px 16px; border-radius: 30px; font-size: 13px; font-weight: 600; margin-bottom: 20px; }
.hero h1 { font-size: 48px; font-weight: 800; line-height: 1.15; margin-bottom: 18px; }
.hero h1 span { color: #fbbf24; }
.hero p { font-size: 18px; opacity: .92; max-width: 520px; margin-bottom: 28px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 40px; margin-top: 48px; }
.hero-stats strong { display: block; font-size: 32px; font-weight: 800; }
.hero-stats span { opacity: .85; font-size: 14px; }
.hero-illustration { font-size: 260px; color: rgba(255,255,255,.9); }

/* Sections */
.section { padding: 80px 0; }
.section.bg-light { background: #f8fafc !important; }
.section-head { text-align: center; margin-bottom: 50px; }
.section-head.text-start { text-align: left; }
.section-head h2 { font-size: 34px; font-weight: 800; margin-bottom: 8px; }
.section-head p { color: #64748b; font-size: 17px; }

/* Service cards */
.service-card { background: #fff; border-radius: 16px; padding: 32px 26px; height: 100%; box-shadow: 0 2px 12px rgba(0,0,0,.06); transition: transform .2s, box-shadow .2s; }
.service-card:hover { transform: translateY(-6px); box-shadow: 0 12px 30px rgba(37,99,235,.15); }
.service-icon { width: 60px; height: 60px; border-radius: 14px; background: linear-gradient(135deg,#3b82f6,#2563eb); color: #fff; display: grid; place-items: center; font-size: 26px; margin-bottom: 18px; }
.service-card h5 { font-weight: 700; margin-bottom: 10px; }
.service-card p { color: #64748b; margin: 0; font-size: 15px; }

/* Product cards */
.product-card { background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,.06); transition: transform .2s, box-shadow .2s; height: 100%; display: flex; flex-direction: column; }
.product-card:hover { transform: translateY(-5px); box-shadow: 0 12px 28px rgba(0,0,0,.12); }
.product-img { background: linear-gradient(135deg,#eff6ff,#dbeafe); height: 130px; display: grid; place-items: center; font-size: 52px; color: #2563eb; position: relative; }
.product-img .badge { position: absolute; top: 10px; right: 10px; }
.product-body { padding: 16px; flex: 1; display: flex; flex-direction: column; }
.product-body h6 { font-weight: 700; margin: 4px 0 8px; min-height: 42px; }
.product-price { font-size: 18px; font-weight: 800; color: #2563eb; margin-top: auto; }
.product-price small { font-size: 12px; color: #94a3b8; font-weight: 500; }

/* About */
.about-point { font-weight: 600; color: #334155; }
.about-point i { color: #22c55e; margin-right: 6px; }
.about-box { background: linear-gradient(135deg,#1e3a8a,#2563eb); color: #fff; border-radius: 20px; padding: 50px 40px; text-align: center; }
.about-box i { font-size: 70px; margin-bottom: 16px; }
.about-box h4 { font-weight: 700; }
.about-box p { opacity: .9; margin: 0; }

/* CTA / kontak */
.cta-section { background: var(--dark); color: #fff; }
.cta-section h2 { font-weight: 800; }
.cta-section p { opacity: .85; font-size: 18px; }
.contact-grid { display: flex; justify-content: center; gap: 36px; flex-wrap: wrap; margin-top: 26px; opacity: .9; }
.contact-grid i { color: #fbbf24; margin-right: 6px; }

/* Inner page hero (Layanan, Produk, Tentang, Kontak) */
.page-hero {
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%); color: #fff;
    padding: 130px 0 60px; text-align: center;
}
.page-hero h1 { font-size: 40px; font-weight: 800; margin-bottom: 8px; }
.page-hero p { font-size: 18px; opacity: .9; margin: 0; }
/* Beranda hero sudah punya padding-top sendiri; halaman lain pakai .page-hero */
.page-main { min-height: 60vh; }

/* Footer */
.site-footer { background: #0a0f1d; color: #fff; padding: 40px 0 24px; }
.site-footer a { display: block; color: rgba(255,255,255,.65); text-decoration: none; padding: 3px 0; font-size: 14px; }
.site-footer a:hover { color: #fff; }
.service-icon.mx-auto { margin-left: auto; margin-right: auto; }

@media (max-width: 991px) {
    .hero { padding: 120px 0 60px; }
    .hero h1 { font-size: 34px; }
    #mainNav { background: var(--dark); }
    .hero-stats { gap: 24px; }
}
