/* ============================================
   PT Makindo Sekuritas - Main Stylesheet
   Template 1: Classic Corporate Financial
   ============================================ */

:root {
  --primary: #0A1628;
  --primary-light: #152238;
  --secondary: #C8A951;
  --secondary-light: #D4B96A;
  --accent: #2E86AB;
  --bg-light: #F5F3EF;
  --bg-white: #FFFFFF;
  --text-dark: #1A1A2E;
  --text-muted: #5A6070;
  --text-light: #8B919E;
  --border: #E0DED9;
  --success: #2D8B4E;
  --danger: #C0392B;
  --warning: #D4A017;
  --radius: 6px;
  --shadow: 0 2px 16px rgba(10, 22, 40, 0.08);
  --shadow-lg: 0 8px 32px rgba(10, 22, 40, 0.12);
  --transition: 0.3s ease;
}

/* Google Fonts: Playfair Display + Lato */
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700;900&family=Playfair+Display:wght@400;600;700;800&display=swap');

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Lato', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-dark);
  background: var(--bg-white);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.3;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.2rem; }

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--secondary); }

p { margin-bottom: 1rem; color: var(--text-dark); }

.text-gold { color: var(--secondary); }
.text-muted { color: var(--text-muted); }
.bg-primary { background-color: var(--primary) !important; }
.bg-light { background-color: var(--bg-light) !important; }

/* ===== NAVBAR ===== */
.navbar {
  background: var(--primary);
  padding: 0;
  transition: all var(--transition);
  box-shadow: 0 1px 8px rgba(0,0,0,0.15);
}

.navbar .navbar-brand {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.4rem;
  color: #fff;
  padding: 16px 0;
}
.navbar .navbar-brand span { color: var(--secondary); }
.navbar .navbar-brand:hover { color: var(--secondary); }

.navbar .nav-link {
  color: rgba(255,255,255,0.85) !important;
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  padding: 20px 16px !important;
  transition: color var(--transition);
  text-transform: uppercase;
}
.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: var(--secondary) !important;
}
.navbar .nav-link.active {
  border-bottom: 2px solid var(--secondary);
}

.navbar-toggler {
  border-color: rgba(255,255,255,0.3);
  padding: 8px 12px;
}
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

@media (max-width: 991px) {
  .navbar .nav-link {
    padding: 12px 20px !important;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .navbar .nav-link.active {
    border-bottom: 1px solid var(--secondary);
  }
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, rgba(10,22,40,0.88) 0%, rgba(10,22,40,0.75) 100%);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.hero-content h1 {
  color: #fff;
  font-size: 3.2rem;
  margin-bottom: 1.2rem;
  line-height: 1.2;
}

.hero-content h1 span { color: var(--secondary); }

.hero-content p {
  color: rgba(255,255,255,0.85);
  font-size: 1.15rem;
  font-weight: 300;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero .btn-gold {
  background: var(--secondary);
  color: var(--primary);
  font-weight: 700;
  padding: 14px 36px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all var(--transition);
  border: none;
}
.hero .btn-gold:hover {
  background: var(--secondary-light);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(200, 169, 81, 0.3);
}

.hero .btn-outline {
  border: 2px solid rgba(255,255,255,0.6);
  color: #fff;
  font-weight: 700;
  padding: 12px 34px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all var(--transition);
  background: transparent;
}
.hero .btn-outline:hover {
  border-color: var(--secondary);
  color: var(--secondary);
  background: rgba(200,169,81,0.1);
}

/* ===== SECTIONS ===== */
.section {
  padding: 80px 0;
}
.section-sm {
  padding: 50px 0;
}
.section-title {
  text-align: center;
  margin-bottom: 50px;
}
.section-title h2 {
  font-size: 2.2rem;
  margin-bottom: 12px;
}
.section-title .divider {
  width: 60px;
  height: 3px;
  background: var(--secondary);
  margin: 0 auto 16px;
}
.section-title p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ===== CARDS ===== */
.card-service {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  transition: all var(--transition);
  height: 100%;
}
.card-service:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--secondary);
}
.card-service .icon-box {
  width: 72px;
  height: 72px;
  background: var(--bg-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.8rem;
  color: var(--secondary);
  transition: all var(--transition);
}
.card-service:hover .icon-box {
  background: var(--primary);
  color: var(--secondary);
}
.card-service h4 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}
.card-service p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 0;
}

/* Market stats cards */
.card-stat {
  background: #fff;
  border-left: 4px solid var(--secondary);
  padding: 24px 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
}
.card-stat h3 {
  font-size: 2rem;
  color: var(--secondary);
  margin-bottom: 4px;
}
.card-stat p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* Team cards */
.card-team {
  text-align: center;
  padding: 30px 20px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  transition: all var(--transition);
}
.card-team:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.card-team img {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 16px;
  border: 3px solid var(--secondary);
}
.card-team h4 { margin-bottom: 4px; font-size: 1.1rem; }
.card-team .role { color: var(--accent); font-size: 0.88rem; font-weight: 600; }

/* ===== ABOUT SECTION ===== */
.about-img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-img img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* ===== RISK DISCLOSURE BAR ===== */
.risk-bar {
  background: #FFF8E7;
  border-top: 2px solid var(--warning);
  border-bottom: 2px solid var(--warning);
  padding: 16px 0;
  font-size: 0.85rem;
  color: var(--text-dark);
  line-height: 1.6;
}
.risk-bar .risk-icon {
  color: var(--warning);
  font-size: 1.4rem;
  margin-right: 8px;
}
.risk-bar strong {
  color: var(--primary);
}

/* ===== CTA ===== */
.cta-section {
  background: var(--primary);
  padding: 64px 0;
  text-align: center;
}
.cta-section h2 {
  color: #fff;
  margin-bottom: 12px;
}
.cta-section p {
  color: rgba(255,255,255,0.75);
  max-width: 550px;
  margin: 0 auto 28px;
}
.cta-section .btn-gold {
  background: var(--secondary);
  color: var(--primary);
  font-weight: 700;
  padding: 14px 40px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all var(--transition);
  border: none;
}
.cta-section .btn-gold:hover {
  background: var(--secondary-light);
  transform: translateY(-2px);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--primary);
  color: rgba(255,255,255,0.92);
  padding: 60px 0 0;
}
.footer h5 {
  color: #fff;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
}
.footer p, .footer li {
  font-size: 0.9rem;
  line-height: 1.8;
  margin-bottom: 6px;
  color: rgba(255,255,255,0.9);
}
.footer a {
  color: rgba(255,255,255,0.82);
  transition: color var(--transition);
}
.footer a:hover { color: var(--secondary); }
.footer ul { list-style: none; padding: 0; }
.footer .company-info {
  font-size: 0.88rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.9);
}
.footer .company-info strong { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding: 20px 0;
  margin-top: 40px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.72);
}
.footer-bottom a {
  color: rgba(255,255,255,0.72);
  margin-left: 20px;
}
.footer-bottom a:hover { color: var(--secondary); }

/* Risk disclosure in footer */
.footer-risk {
  background: rgba(200,169,81,0.1);
  border: 1px solid rgba(200,169,81,0.3);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-top: 30px;
  font-size: 0.84rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.88);
}
.footer-risk strong {
  color: var(--secondary);
  display: block;
  margin-bottom: 8px;
}
.footer-risk span {
  color: rgba(255,255,255,0.88);
}

/* ===== LICENSE BADGE (in footer) ===== */
.license-box {
  background: rgba(200,169,81,0.1);
  border: 1px solid rgba(200,169,81,0.3);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-top: 16px;
}
.license-box h6 {
  color: var(--secondary);
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 10px;
}
.license-box .license-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 6px;
}
.license-box .license-item i {
  color: var(--secondary);
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 1px;
}
.license-box .license-item span {
  color: rgba(255,255,255,0.9);
  font-size: 0.85rem;
  line-height: 1.5;
}

/* Regulatory badge */
.regulatory-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius);
  padding: 10px 18px;
  margin-top: 14px;
  font-size: 0.85rem;
}
.regulatory-badge i { color: var(--secondary); font-size: 1.2rem; }
.regulatory-badge span { color: rgba(255,255,255,0.92); }

/* ===== PAGE HEADER ===== */
.page-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  padding: 100px 0 50px;
  text-align: center;
}
.page-header h1 {
  color: #fff;
  font-size: 2.5rem;
  margin-bottom: 10px;
}
.page-header p {
  color: rgba(255,255,255,0.7);
  font-size: 1.05rem;
}
.page-header .breadcrumb {
  justify-content: center;
  margin-top: 12px;
}
.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
}
.page-header .breadcrumb-item.active {
  color: var(--secondary);
}

/* ===== CONTACT PAGE ===== */
.contact-info-box {
  background: var(--bg-light);
  padding: 28px;
  border-radius: var(--radius);
  margin-bottom: 20px;
}
.contact-info-box i {
  color: var(--secondary);
  font-size: 1.6rem;
  margin-bottom: 10px;
}
.contact-info-box h5 {
  font-family: 'Lato', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.contact-info-box p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 0;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 16px;
  font-size: 0.95rem;
  transition: border-color var(--transition);
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(200,169,81,0.1);
  outline: none;
}
.contact-form .btn-submit {
  background: var(--secondary);
  color: var(--primary);
  font-weight: 700;
  padding: 14px 40px;
  border: none;
  border-radius: var(--radius);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  transition: all var(--transition);
}
.contact-form .btn-submit:hover {
  background: var(--secondary-light);
}

/* ===== CONTENT SECTIONS ===== */
.content-section {
  padding: 60px 0;
}
.content-section h3 {
  margin-bottom: 16px;
}
.feature-list {
  list-style: none;
  padding: 0;
}
.feature-list li {
  padding: 8px 0 8px 28px;
  position: relative;
  font-size: 0.95rem;
}
.feature-list li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--secondary);
  font-weight: 700;
}

/* ===== MARKET TABLE ===== */
.market-overview-table {
  width: 100%;
  border-collapse: collapse;
}
.market-overview-table th {
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 14px 16px;
}
.market-overview-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 0.92rem;
}
.market-overview-table tr:hover td {
  background: var(--bg-light);
}
.market-overview-table .positive { color: var(--success); font-weight: 600; }
.market-overview-table .negative { color: var(--danger); font-weight: 600; }

/* ===== FEE TABLE ===== */
.fee-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
}
.fee-table th {
  background: var(--primary);
  color: #fff;
  padding: 12px 16px;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.fee-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}

/* ===== LEGAL CONTENT ===== */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 0;
}
.legal-content h2 {
  font-size: 1.6rem;
  margin-top: 36px;
  margin-bottom: 16px;
}
.legal-content h3 {
  font-size: 1.2rem;
  margin-top: 28px;
  margin-bottom: 12px;
}
.legal-content p, .legal-content li {
  color: var(--text-dark);
  line-height: 1.8;
}
.legal-content ul {
  padding-left: 24px;
  margin-bottom: 16px;
}
.legal-content .last-updated {
  color: var(--text-muted);
  font-size: 0.88rem;
  font-style: italic;
  margin-bottom: 30px;
}

/* ===== COOKIE CONSENT (g2_example style) ===== */
#cookieConsent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.12);
  z-index: 9999;
  padding: 20px 0;
  display: none;
}
#cookieConsent .cookie-text {
  font-size: 0.9rem;
  color: var(--text-dark);
  line-height: 1.6;
}
#cookieConsent .cookie-text a {
  color: var(--accent);
  text-decoration: underline;
}
#cookieConsent .btn-accept {
  background: var(--secondary);
  color: var(--primary);
  border: none;
  font-weight: 700;
  padding: 10px 28px;
  border-radius: var(--radius);
  font-size: 0.88rem;
  transition: all var(--transition);
}
#cookieConsent .btn-accept:hover {
  background: var(--secondary-light);
}
#cookieConsent .btn-reject {
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--border);
  font-weight: 600;
  padding: 10px 28px;
  border-radius: var(--radius);
  font-size: 0.88rem;
  transition: all var(--transition);
}
#cookieConsent .btn-reject:hover {
  border-color: var(--primary);
}

/* ===== UTILITIES ===== */
.py-6 { padding: 64px 0; }
.mt-6 { margin-top: 64px; }
.btn-outline-gold {
  border: 2px solid var(--secondary);
  color: var(--secondary);
  font-weight: 700;
  padding: 12px 30px;
  border-radius: var(--radius);
  background: transparent;
  transition: all var(--transition);
}
.btn-outline-gold:hover {
  background: var(--secondary);
  color: var(--primary);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.8rem; }
  .hero-content h1 { font-size: 2.2rem; }
  .hero { min-height: 70vh; }
  .section { padding: 50px 0; }
  .page-header { padding: 80px 0 40px; }
  .page-header h1 { font-size: 1.8rem; }
}
