/* ============================================
   PT Mirae Asset Sekuritas Indonesia
   Template 11 - Professional Financial Services
   ============================================ */

:root {
  --primary: #0D1B3E;
  --primary-light: #1A3A5C;
  --accent: #C8963E;
  --accent-light: #E8C97A;
  --dark: #0A0F1F;
  --light: #F8F9FA;
  --gray-100: #F1F3F5;
  --gray-200: #E9ECEF;
  --gray-300: #DEE2E6;
  --gray-400: #ADB5BD;
  --gray-500: #6C757D;
  --gray-600: #495057;
  --gray-700: #343A40;
  --gray-800: #212529;
  --text: #2C3E50;
  --text-light: #5A6C7D;
  --white: #FFFFFF;
  --danger: #DC3545;
  --success: #198754;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
  --radius: 8px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  background: var(--white);
}

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

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; margin-bottom: 1.5rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

a { color: var(--accent); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--primary-light); }

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

/* ===== NAVBAR ===== */
.navbar {
  background: var(--primary);
  padding: 0.75rem 0;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
}

.navbar .navbar-brand {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--white) !important;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.navbar .navbar-brand span {
  color: var(--accent);
}

.navbar .nav-link {
  color: rgba(255,255,255,0.85) !important;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.5rem 1rem !important;
  transition: color 0.3s;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: var(--accent) !important;
}

.navbar .navbar-toggler {
  border-color: rgba(255,255,255,0.3);
}

.navbar .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");
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--primary);
}

.hero-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.35;
}

.hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, rgba(13,27,62,0.92) 0%, rgba(10,15,31,0.85) 100%);
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero h1 {
  color: var(--white);
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.15;
}

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

.hero .lead {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.8);
  max-width: 600px;
  margin-bottom: 2rem;
}

.hero .btn-primary {
  background: var(--accent);
  border: none;
  padding: 0.85rem 2.5rem;
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s;
}

.hero .btn-primary:hover {
  background: #B8862D;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(200,150,62,0.4);
}

.hero .btn-outline {
  border: 2px solid var(--accent);
  color: var(--accent);
  background: transparent;
  padding: 0.85rem 2.5rem;
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s;
}

.hero .btn-outline:hover {
  background: var(--accent);
  color: var(--white);
}

.hero-stats {
  display: flex;
  gap: 3rem;
  margin-top: 3rem;
}

.hero-stat {
  text-align: left;
}

.hero-stat .number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--accent);
  font-weight: 700;
}

.hero-stat .label {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ===== SECTIONS ===== */
.section {
  padding: 5rem 0;
}

.section-dark {
  background: var(--primary);
  color: var(--white);
}

.section-dark h2,
.section-dark h3 { color: var(--white); }

.section-dark p { color: rgba(255,255,255,0.75); }

.section-light {
  background: var(--gray-100);
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  position: relative;
  display: inline-block;
  padding-bottom: 1rem;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--accent);
}

.section-title p {
  font-size: 1.1rem;
  max-width: 650px;
  margin: 1rem auto 0;
}

/* ===== SERVICES CARDS ===== */
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  border: 1px solid var(--gray-200);
  height: 100%;
  text-align: center;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}

.service-card .icon-box {
  width: 70px;
  height: 70px;
  background: rgba(200,150,62,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.75rem;
  color: var(--accent);
}

.service-card h4 {
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

/* ===== ABOUT / TEAM ===== */
.team-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s;
  border: 1px solid var(--gray-200);
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.team-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.team-card .team-info {
  padding: 1.5rem;
  text-align: center;
}

.team-card .team-info h5 {
  margin-bottom: 0.25rem;
}

.team-card .team-info .role {
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
}

/* ===== IMAGE TEXT SECTION ===== */
.img-text-img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.img-text-img img {
  width: 100%;
  height: auto;
  display: block;
}

/* ===== RISK DISCLOSURE BANNER ===== */
.risk-banner {
  background: var(--gray-100);
  border-top: 3px solid var(--accent);
  padding: 2rem 0;
}

.risk-banner-content {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.risk-banner-content i {
  font-size: 1.5rem;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.risk-banner-content p {
  font-size: 0.9rem;
  color: var(--gray-600);
  margin: 0;
}

/* ===== LICENSE SECTION ===== */
.license-box {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1rem;
}

.license-box h5 {
  color: var(--accent);
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.license-box p {
  font-size: 0.9rem;
  margin-bottom: 0;
  color: rgba(255,255,255,0.8);
}

/* ===== FEES TABLE ===== */
.fees-table {
  width: 100%;
  border-collapse: collapse;
}

.fees-table th {
  background: var(--primary);
  color: var(--white);
  padding: 0.85rem 1.25rem;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.fees-table td {
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid var(--gray-200);
  font-size: 0.95rem;
}

.fees-table tr:hover td {
  background: var(--gray-100);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  padding-top: 4rem;
}

.footer h5 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  font-family: var(--font-heading);
}

.footer p, .footer li {
  font-size: 0.9rem;
  line-height: 1.8;
}

.footer a {
  color: rgba(255,255,255,0.6);
  transition: color 0.3s;
}

.footer a:hover {
  color: var(--accent);
}

.footer ul {
  list-style: none;
  padding: 0;
}

.footer ul li {
  margin-bottom: 0.5rem;
}

.footer .footer-brand {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 1rem;
  display: block;
}

.footer .footer-brand span {
  color: var(--accent);
}

.footer-licenses {
  background: rgba(200,150,62,0.05);
  border: 1px solid rgba(200,150,62,0.2);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}

.footer-licenses h6 {
  color: var(--accent);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.75rem;
}

.footer-licenses p {
  font-size: 0.8rem;
  margin-bottom: 0.25rem;
  color: rgba(255,255,255,0.6);
}

.footer-risk {
  background: rgba(220,53,69,0.08);
  border: 1px solid rgba(220,53,69,0.2);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}

.footer-risk p {
  font-size: 0.85rem;
  margin-bottom: 0;
  color: rgba(255,255,255,0.75);
}

.footer-risk strong {
  color: #F8A5AE;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.5rem 0;
  margin-top: 3rem;
  text-align: center;
  font-size: 0.85rem;
}

.footer-bottom p {
  color: rgba(255,255,255,0.4);
  margin: 0;
}

/* ===== COOKIE CONSENT ===== */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
  z-index: 9999;
  padding: 1.25rem 0;
  display: none;
}

.cookie-consent.show {
  display: block;
}

.cookie-consent p {
  font-size: 0.9rem;
  margin: 0;
  color: var(--text);
}

.cookie-consent .btn-accept {
  background: var(--primary);
  color: var(--white);
  border: none;
  padding: 0.5rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.85rem;
  transition: all 0.3s;
}

.cookie-consent .btn-accept:hover {
  background: var(--primary-light);
}

.cookie-consent .btn-reject {
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
  padding: 0.5rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.85rem;
  transition: all 0.3s;
}

.cookie-consent .btn-reject:hover {
  background: var(--gray-100);
}

/* ===== PAGE BANNER ===== */
.page-banner {
  background: var(--primary);
  padding: 8rem 0 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-banner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, rgba(13,27,62,0.95), rgba(10,15,31,0.9));
  z-index: 1;
}

.page-banner .container {
  position: relative;
  z-index: 2;
}

.page-banner h1 {
  color: var(--white);
  font-size: 2.75rem;
  margin-bottom: 0.5rem;
}

.page-banner p {
  color: rgba(255,255,255,0.7);
  font-size: 1.1rem;
  margin: 0;
}

/* ===== CONTACT ===== */
.contact-info-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  height: 100%;
}

.contact-info-card i {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

.contact-info-card h5 {
  margin-bottom: 0.75rem;
}

.contact-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.contact-form .form-control {
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
}

.contact-form .form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 0.2rem rgba(200,150,62,0.15);
}

.contact-form .btn-submit {
  background: var(--primary);
  color: var(--white);
  border: none;
  padding: 0.85rem 2rem;
  border-radius: var(--radius);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s;
}

.contact-form .btn-submit:hover {
  background: var(--primary-light);
}

/* ===== CTA ===== */
.cta-section {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  padding: 4rem 0;
  text-align: center;
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.cta-section p {
  color: rgba(255,255,255,0.8);
  max-width: 600px;
  margin: 0 auto 2rem;
}

.cta-section .btn-primary {
  background: var(--accent);
  border: none;
  padding: 0.85rem 2.5rem;
  font-weight: 600;
  border-radius: var(--radius);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ===== LEGAL PAGE STYLES ===== */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-size: 1.35rem;
}

.legal-content p,
.legal-content li {
  color: var(--text-light);
  line-height: 1.8;
}

.legal-content ul {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.legal-content ul li {
  margin-bottom: 0.5rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
  .navbar .nav-link {
    padding: 0.75rem 1rem !important;
  }

  h1 { font-size: 2.25rem; }
  h2 { font-size: 1.75rem; }

  .hero h1 { font-size: 2.5rem; }
  .hero-stats { gap: 1.5rem; flex-wrap: wrap; }
  .hero-stat .number { font-size: 1.75rem; }

  .section { padding: 3rem 0; }

  .page-banner h1 { font-size: 2rem; }
}

@media (max-width: 767px) {
  .hero { min-height: 70vh; }
  .hero h1 { font-size: 2rem; }
  .hero .lead { font-size: 1rem; }
  .hero-stats { gap: 1rem; }
  .hero-stat .number { font-size: 1.5rem; }
  .btn-outline, .btn-primary { padding: 0.7rem 1.5rem; font-size: 0.9rem; }
  .service-card, .team-card { margin-bottom: 1.5rem; }
}
