/* style.css */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Barlow", sans-serif;
  line-height: 1.6;
  color: #eee; /* teks lebih terang agar kontras */
  background: #191919; /* background utama */
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* NAVBAR dengan efek glass */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(25, 25, 25, 0.6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

html {
  scroll-behavior: smooth;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 5px;
}

.nav-left ul,
.nav-right ul {
  list-style: none;
  display: flex;
  gap: 50px;
}

.nav-left a,
.nav-right a {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  transition: 0.3s;
}

.nav-left a:hover,
.nav-right a:hover {
  color: #9eff00;
}

/* Logo */
.logo img {
  height: 35px; /* tinggi logo */
  width: auto; /* biar proporsional */
  display: block;
}

.menu-toggle {
  font-size: 26px;
  color: #a4ff00;
  cursor: pointer;
  display: none; /* disembunyikan di desktop */
  margin-left: auto;
  align-items: right;
}

/* HERO */
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1; /* video di belakang */
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin-left: 60px; /* teks agak ke dalam dari kiri */
  color: #fff;
}

.hero h1 {
  font-size: 42px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 30px;
}

.hero h1 span {
  color: #a4ff00; /* highlight neon hijau */
}

.btn-primary {
  background: #a4ff00;
  color: #000;
  padding: 12px 28px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  transition: 0.3s;
}

.btn-primary:hover {
  opacity: 0.8;
}

/* MATERI */
.materi {
  color: #eee;
  padding: 0 20px 80px; /* hapus padding atas, pindahkan ke hero */
  text-align: center;
}

.materi-hero {
  background: url("backgroundjudul.png") no-repeat center center/cover;
  text-align: center;
  padding: 60px 20px;
  color: #fff;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  margin-top: 50px;
  margin-bottom: 60px;
}

.materi-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5); /* efek gelap transparan agar teks terbaca */
}

.materi-hero h2,
.materi-hero p {
  position: relative;
  z-index: 1;
}

.materi-hero h2 {
  font-size: 32px;
  margin-bottom: 5px;
  color: #ffffff;
}

.materi-hero p {
  font-size: 16px;
  opacity: 0.8;
}
/* Cards Layout */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-top: 10px;
  margin-bottom: 20px;
}

/* Card Style */
.card {
  background: #000;
  padding: 25px;
  border-radius: 12px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Header: ikon + judul */
.card-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.icon-box {
  width: 55px;
  height: 55px;
  border-radius: 12px;
  background: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-box i {
  font-size: 26px;
  color: #b2ff00;
}

.card h3 {
  font-size: 20px;
  font-weight: 600;
  margin: 0;
}

/* Deskripsi */
.card p {
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.9;
  text-align: left;
}

/* Buttons */
.btn {
  display: inline-block;
  width: 100%;
  height: 45px;
  line-height: 45px;
  text-align: center;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  margin-top: 20px;
}

.btn-green {
  background: #b2ff00;
  color: #000;
}

.btn-dark {
  background: #222;
  color: #fff;
}

/* Responsif: 2 kolom di tablet */
@media (max-width: 900px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Responsif: 1 kolom di HP */
@media (max-width: 600px) {
  .cards {
    grid-template-columns: 1fr;
  }
}

/* ===== TERMINAL SECTION ===== */
.terminal {
  color: #eee;
  padding: 0 20px 80px; /* hapus padding atas, pindahkan ke hero */
  text-align: center;
}

/* ===== TERMINAL SECTION ===== */
.terminal {
  color: #eee;
  text-align: center;
  padding-bottom: 80px; /* jarak bawah */
}

/* ===== HERO UNTUK JUDUL ===== */
.terminal-hero {
  background: url("backgroundjudul.png") no-repeat center center/cover;
  text-align: center;
  padding: 60px 20px;
  color: #fff;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  margin-bottom: 50px;
}

.terminal-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}
.terminal-hero h2,
.terminal-hero p {
  position: relative;
  z-index: 1;
}

.terminal-hero h2 {
  font-size: 32px;
  margin-bottom: 5px;
  color: #ffffff;
}

.terminal-hero p {
  font-size: 16px;
  opacity: 0.8;
}

/* ===== KALENDER ===== */
.calendar-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 40px;
}

@media (max-width: 900px) {
  .calendar-container {
    grid-template-columns: 1fr;
  }
}

.calendar-widget {
  background: #222;
  padding: 12px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  min-height: 500px;
  text-align: left;
}

.calendar-widget h3 {
  color: #9eff00;
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.calendar-widget .calendar-desc {
  color: #ccc;
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 20px;
}

.calendar-widget iframe {
  width: 100%;
  height: 467px;
  border: none;
  border-radius: 6px;
}

.calendar-widget .poweredBy {
  font-size: 11px;
  margin-top: 6px;
  text-align: center;
  color: #aaa;
  font-family: Arial, sans-serif;
}

.calendar-widget .poweredBy a {
  color: #9eff00;
  font-weight: bold;
  text-decoration: none;
}

/* BERITA */
.berita {
  background: #191919;
  padding: 10px 20px;
  color: #eee;
}

.berita-hero {
  background: url("backgroundjudul.png") no-repeat center center/cover;
  text-align: center;
  padding: 60px 20px;
  color: #fff;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  margin-bottom: 50px;
}

.berita-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.berita-hero h2,
.berita-hero p {
  position: relative;
  z-index: 1;
}

.berita-hero h2 {
  font-size: 32px;
  margin-bottom: 5px;
  color: #ffffff;
}

.berita-hero p {
  font-size: 16px;
  opacity: 0.8;
}
.tradingview-berita-container {
  background: #191919;
  border-radius: 10px;
  overflow: hidden;
  padding: 10px;
  transition: all 0.3s ease-in-out;
}
/* ANALISA */

.analisa {
  background: #191919;
  padding: 10px 20px;
  color: #eee;
}

.analisa-hero {
  background: url("backgroundjudul.png") no-repeat center center/cover;
  text-align: center;
  padding: 60px 20px;
  color: #fff;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  margin-top: 50px;
  margin-bottom: 50px;
}

.analisa-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.analisa-hero h2,
.analisa-hero p {
  position: relative;
  z-index: 1;
}

.analisa-hero h2 {
  font-size: 32px;
  margin-bottom: 5px;
  color: #ffffff;
}

.analisa-hero p {
  font-size: 16px;
  opacity: 0.8;
}
.analisa .container {
  max-width: 1200px;
  margin: 0 auto;
}

/* === Kotak Widget TradingView === */
.tradingview-analisa-container {
  background: #191919;
  border-radius: 10px;
  overflow: hidden;
  padding: 10px;
  transition: all 0.3s ease-in-out;
}
/* JOIN SEKARANG */
.join {
  background: #191919;
  padding: 10px 20px;
  color: #eee;
}

.join-hero {
  background: url("backgroundjudul.png") no-repeat center center/cover;
  text-align: center;
  padding: 60px 20px;
  color: #fff;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  margin-top: 50px;
  margin-bottom: 50px;
}

.join-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.join-hero h2,
.join-hero p {
  position: relative;
  z-index: 1;
}

.join-hero h2 {
  font-size: 32px;
  margin-bottom: 5px;
  color: #ffffff;
}

.join-hero p {
  font-size: 16px;
  opacity: 0.8;
}
/* Menu icon */
.join-link {
  text-decoration: none; /* menghilangkan garis biru */
  color: #fff; /* warna teks putih */
  display: inline-block;
  transition: transform 0.3s ease, color 0.3s ease;
}

.join-link:hover {
  transform: scale(1.05);
  color: #a4ff00; /* warna saat hover */
}
.join-menu {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 50px;
  padding: 40px 15px;
}

.join-item {
  text-align: center;
  width: 100px;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.join-item:hover {
  transform: translateY(-5px);
}

/* Icon kotak */
.iconjoin {
  position: relative;
  width: 80px;
  height: 80px;
  margin: 0 auto 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.icon {
  position: relative;
  font-size: 28px;
  color: #adff2f;
  z-index: 1;
}

.join-item p {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  margin: 0;
}

/* Logo bawah */
.join-logo {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 400px;
  margin: 20px auto;
  padding: 10px;
}

.logo-link {
  text-decoration: none;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.logo-link:hover {
  transform: scale(1.1);
  filter: brightness(1.2);
}

.logo.exness {
  height: 150px;
}

.logo.rfx {
  height: 60px;
}

/* ABOUT */

.tentangkami {
  background: #191919;
  padding: 10px 20px;
  color: #eee;
}

.tentangkami-hero {
  background: url("backgroundjudul.png") no-repeat center center/cover;
  text-align: center;
  padding: 60px 20px;
  color: #fff;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  margin-top: 50px;
  margin-bottom: 50px;
}

.tentangkami-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.tentangkami-hero h2,
.tentangkami-hero p {
  position: relative;
  z-index: 1;
}

.tentangkami-hero h2 {
  font-size: 32px;
  margin-bottom: 5px;
  color: #ffffff;
}

.tentangkami-hero p {
  font-size: 16px;
  opacity: 0.8;
}

.visi-misi {
  max-width: 1080px;
  margin: 0 auto 80px;
}
.visi-misi h3 {
  color: #a4ff00;
  margin-top: 30px;
  font-size: 1.6rem;
}
.visi-misi p,
.visi-misi ul {
  color: #ddd;
  line-height: 1.8;
}
.visi-misi ul {
  list-style: none;
  padding-left: 0;
}
.visi-misi li::before {
  content: "• ";
  color: #a4ff00;
}
.team-section {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
}

.team-card {
  background: linear-gradient(145deg, #0a0a0a, #111);
  border-radius: 14px;
  padding: 25px;
  width: 320px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 40px;
}
.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 25px;
  color: #9eff00;
}

.team-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 10px;
}
.team-photo {
  width: 60px;
  height: 60px;
  border-radius: 20%;
  object-fit: cover;
  border: 1px solid #a4ff00;
}
.team-info h4 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 3px;
}
.role {
  color: #a4ff00;
  font-size: 0.95rem;
  margin: 0;
}
.desc {
  color: #ccc;
  font-size: 0.92rem;
  line-height: 1.6;
  text-align: left;
  margin-top: 10px;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .team-section {
    flex-direction: column;
    align-items: center;
  }
}
/* FOOTER */
.footer {
  background: #000;
  color: #eee;
  padding: 30px 0;
  font-family: Arial, sans-serif;
}
.footer-container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}
/* === BAGIAN ATAS === */
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.footer-logo img {
  height: 45px;
  width: auto;
  display: block;
}
.footer-nav {
  list-style: none;
  display: flex;
  gap: 20px;
}
.footer-nav li a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  transition: 0.3s;
}
.footer-nav li a:hover {
  color: #a4ff00;
}

/* === SOSIAL MEDIA === */
.footer-social {
  text-align: right;
}
.footer-social a {
  color: #000;
  background: #a4ff00;
  width: 40px;
  height: 40px;
  margin: 0 5px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: 0.3s;
  border: 2px solid #a4ff00;
  text-decoration: none;
}
.footer-social a:hover {
  background: transparent;
  color: #a4ff00;
  transform: scale(1.05);
}

/* === KONTAK & COPYRIGHT === */
.footer-bottom-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  border-top: 1px solid #222;
  padding-top: 10px;
}

/* Kontak ke samping */
.footer-contact {
  display: flex;
  align-items: center;
  gap: 25px;
  font-size: 14px;
  text-align: left;
  flex-wrap: wrap;
}

.footer-contact p {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.footer-bottom {
  text-align: right;
  font-size: 13px;
  color: #aaa;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .footer-top {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  .footer-social {
    text-align: center;
  }

  .footer-bottom-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
  }

  .footer-contact {
    justify-content: center;
    text-align: center;
  }
}

/* === PERBAIKAN RESPONSIF & NAVBAR MOBILE === */

/* Tombol menu mobile (hamburger) */
.menu-toggle {
  display: none;
  font-size: 26px;
  color: #9eff00;
  cursor: pointer;
}

/* --- NAVBAR RESPONSIVE --- */
@media (max-width: 900px) {
  .navbar .container {
    flex-wrap: wrap;
  }

  .nav-left ul,
  .nav-right ul {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 15px;
    display: none;
    background: rgba(25, 25, 25, 0.9);
    padding: 15px 20px;
    border-radius: 10px;
  }

  .navbar.active .nav-left ul,
  .navbar.active .nav-right ul {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }
}

/* === HERO RESPONSIVE === */
@media (max-width: 768px) {
  .hero {
    height: 70vh;
    justify-content: center;
    text-align: center;
  }

  .hero-content {
    margin-left: 0;
    padding: 0 20px;
  }

  .hero h1 {
    font-size: 28px;
  }

  .btn-primary {
    padding: 10px 20px;
  }
}

/* === SECTION RESPONSIVE === */
@media (max-width: 768px) {
  .materi-hero h2,
  .terminal-hero h2,
  .berita-hero h2,
  .analisa-hero h2,
  .tentangkami-hero h2 {
    font-size: 24px;
  }

  .materi-hero p,
  .terminal-hero p,
  .berita-hero p,
  .analisa-hero p,
  .tentangkami-hero p {
    font-size: 14px;
  }

  .analisa-list {
    grid-template-columns: 1fr;
  }

  .team-card {
    width: 90%;
  }

  .calendar-widget iframe {
    height: 400px;
  }
}
/* === PERBAIKAN RESPONSIF & NAVBAR MOBILE === */

/* Tombol menu mobile (hamburger) */
.menu-toggle {
  display: none;
  font-size: 28px;
  color: #9eff00;
  cursor: pointer;
  margin-left: auto; /* dorong ke kanan */
}

/* Struktur dasar navbar */
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* --- NAVBAR RESPONSIVE --- */
@media (max-width: 900px) {
  .navbar .container {
    flex-wrap: wrap;
  }

  /* logo tetap di kiri */
  .navbar-logo {
    order: 1;
  }

  /* tombol hamburger di kanan */
  .menu-toggle {
    display: block;
    order: 2;
  }

  /* navigasi turun ke bawah ketika aktif */
  .nav-left ul,
  .nav-right ul {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 15px;
    display: none;
    background: rgba(25, 25, 25, 0.9);
    padding: 15px 20px;
    border-radius: 10px;
    order: 3;
  }

  .navbar.active .nav-left ul,
  .navbar.active .nav-right ul {
    display: flex;
  }
}

/* === HERO RESPONSIVE === */
@media (max-width: 768px) {
  .hero {
    height: 70vh;
    justify-content: center;
    text-align: center;
  }

  .hero-content {
    margin-left: 0;
    padding: 0 20px;
  }

  .hero h1 {
    font-size: 28px;
  }

  .btn-primary {
    padding: 10px 20px;
  }
}

/* === SECTION RESPONSIVE === */
@media (max-width: 768px) {
  .materi-hero h2,
  .terminal-hero h2,
  .berita-hero h2,
  .analisa-hero h2,
  .tentangkami-hero h2 {
    font-size: 24px;
  }

  .materi-hero p,
  .terminal-hero p,
  .berita-hero p,
  .analisa-hero p,
  .tentangkami-hero p {
    font-size: 14px;
  }

  .analisa-list {
    grid-template-columns: 1fr;
  }

  .team-card {
    width: 90%;
  }

  .calendar-widget iframe {
    height: 400px;
  }
}

/* === TAMBAHAN SMOOTH UI === */
.btn,
.footer-social a {
  transition: all 0.25s ease-in-out;
}

.card,
.team-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover,
.team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 20px rgba(158, 255, 0, 0.2);
}

/* === FIX PADDING DAN KONTAINER UMUM === */
section {
  padding: 60px 20px;
}

@media (max-width: 768px) {
  section {
    padding: 40px 15px;
  }
}
