/* ===================================================
   PT Emtrade Teknologi Finansial - Main Stylesheet
   Template 4: Professional Fintech
   =================================================== */

:root {
  --primary: #0A1628;
  --primary-light: #152238;
  --accent: #C8963E;
  --accent-hover: #b88735;
  --accent-light: #f5ecd7;
  --white: #FFFFFF;
  --light: #F4F6F9;
  --gray: #6B7280;
  --gray-dark: #374151;
  --success: #10B981;
  --danger: #EF4444;
  --border: #E5E7EB;
  --shadow: 0 4px 24px rgba(10, 22, 40, 0.08);
  --shadow-lg: 0 12px 40px rgba(10, 22, 40, 0.12);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: all 0.3s ease;
}

* { box-sizing: border-box; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--gray-dark);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

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

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

/* Navbar */
.navbar {
  background: transparent;
  transition: var(--transition);
  padding: 1rem 0;
  z-index: 1030;
}
.navbar.scrolled {
  background: rgba(10, 22, 40, 0.97) !important;
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem 0;
}
.navbar .navbar-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white) !important;
  letter-spacing: -0.5px;
}
.navbar .nav-link {
  color: rgba(255,255,255,0.85) !important;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.5rem 1.2rem !important;
  transition: var(--transition);
  letter-spacing: 0.3px;
}
.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: var(--accent) !important;
}
.navbar .nav-link.btn-nav,
.navbar .nav-link.btn-nav.active,
.navbar .nav-link.btn-nav:hover {
  background: var(--accent);
  color: var(--white) !important;
  border-radius: 50px;
  padding: 0.5rem 1.5rem !important;
  font-weight: 600;
}
.navbar .nav-link.btn-nav:hover {
  background: var(--accent-hover);
}
.navbar-toggler {
  border-color: rgba(255,255,255,0.5);
}
.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.85)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: url('../images/hero-banner.jpg') center/cover no-repeat;
  overflow: hidden;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,22,40,0.92) 0%, rgba(10,22,40,0.7) 50%, rgba(10,22,40,0.55) 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 8rem 0 4rem;
}
.hero h1 {
  font-size: 3.5rem;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 1.5rem;
}
.hero .hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.8);
  max-width: 600px;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}
.hero .accent-line {
  width: 80px;
  height: 4px;
  background: var(--accent);
  margin-bottom: 1.5rem;
  border-radius: 2px;
}

/* Buttons */
.btn-primary {
  background: var(--accent);
  border: none;
  border-radius: 50px;
  padding: 0.8rem 2.2rem;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
  transition: var(--transition);
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(200, 150, 62, 0.3);
}
.btn-outline {
  border: 2px solid var(--white);
  color: var(--white);
  border-radius: 50px;
  padding: 0.8rem 2.2rem;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
  transition: var(--transition);
  background: transparent;
}
.btn-outline:hover {
  background: var(--white);
  color: var(--primary);
  transform: translateY(-2px);
}

/* Sections */
.section {
  padding: 6rem 0;
}
.section-header {
  margin-bottom: 4rem;
  text-align: center;
}
.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.section-header .accent-line {
  width: 60px;
  height: 3px;
  background: var(--accent);
  margin: 0 auto 1rem;
  border-radius: 2px;
}
.section-header p {
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* About Section */
.about-section {
  background: var(--light);
}
.about-section h3 {
  font-size: 1.8rem;
  margin-bottom: 1.2rem;
}
.about-section p {
  color: var(--gray-dark);
  margin-bottom: 1rem;
}
.about-stats { margin-top: 2rem; }
.stat-item {
  text-align: center;
  padding: 1.5rem;
}
.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
}
.stat-label {
  font-size: 0.85rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 0.3rem;
}

/* Services Section */
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
  height: 100%;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transition: var(--transition);
  transform-origin: left;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.service-card:hover::before { transform: scaleX(1); }
.service-card .icon-box {
  width: 60px;
  height: 60px;
  background: var(--accent-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  color: var(--accent);
}
.service-card h4 {
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
}
.service-card p {
  color: var(--gray);
  font-size: 0.95rem;
  margin: 0;
}

/* Performance Stats */
.performance-stats {
  background: var(--primary);
  color: var(--white);
  padding: 5rem 0;
}
.perf-item {
  text-align: center;
  padding: 2rem;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.perf-item:last-child { border-right: none; }
.perf-number {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent);
}
.perf-label {
  font-size: 0.9rem;
  opacity: 0.8;
  margin-top: 0.5rem;
  letter-spacing: 0.5px;
}

/* Testimonials */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  height: 100%;
  border: 1px solid var(--border);
}
.testimonial-card .quote-icon {
  color: var(--accent);
  font-size: 2rem;
  margin-bottom: 1rem;
  opacity: 0.5;
}
.testimonial-card .testimonial-text {
  font-style: italic;
  color: var(--gray-dark);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}
.testimonial-card .testimonial-author {
  font-weight: 600;
  color: var(--primary);
}
.testimonial-card .testimonial-role {
  font-size: 0.85rem;
  color: var(--gray);
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--white);
  text-align: center;
  padding: 5rem 0;
}
.cta-section h2 {
  color: var(--white);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.cta-section p {
  color: rgba(255,255,255,0.8);
  max-width: 600px;
  margin: 0 auto 2rem;
  font-size: 1.05rem;
}

/* Contact */
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 2rem;
}
.contact-info-item .icon-circle {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: var(--accent-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.2rem;
}
.contact-form .form-control {
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  padding: 0.8rem 1.2rem;
  font-size: 0.95rem;
  transition: var(--transition);
}
.contact-form .form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(200, 150, 62, 0.15);
}

/* Footer */
.footer {
  background: var(--primary);
  color: rgba(255,255,255,0.7);
  padding: 4rem 0 2rem;
}
.footer h5 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
}
.footer a {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  transition: var(--transition);
}
.footer a:hover {
  color: var(--accent);
}
.footer .footer-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--white);
  font-weight: 700;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
  margin-top: 3rem;
  text-align: center;
  font-size: 0.85rem;
}

/* Cookie Consent */
.cc-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--white);
  border-top: 3px solid var(--accent);
  box-shadow: 0 -4px 30px rgba(0,0,0,0.15);
  padding: 1.5rem 0;
}
.cc-banner .btn-accept {
  background: var(--accent);
  color: var(--white);
  border-radius: 50px;
  padding: 0.6rem 1.8rem;
  font-weight: 600;
  border: none;
  transition: var(--transition);
}
.cc-banner .btn-accept:hover {
  background: var(--accent-hover);
}
.cc-banner .btn-reject {
  border: 1px solid var(--gray);
  color: var(--gray-dark);
  border-radius: 50px;
  padding: 0.6rem 1.8rem;
  font-weight: 500;
  background: transparent;
  transition: var(--transition);
}
.cc-banner .btn-reject:hover {
  background: var(--light);
}

/* Mobile responsive */
@media (max-width: 991px) {
  .hero h1 { font-size: 2.5rem; }
  .section-header h2 { font-size: 2rem; }
  .navbar { background: rgba(10,22,40,0.98); }
  .perf-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
}
@media (max-width: 767px) {
  .hero h1 { font-size: 2rem; }
  .hero { min-height: 80vh; }
  .section { padding: 3rem 0; }
  .perf-number { font-size: 2rem; }
}
