/* assets/css/style.css */

:root {
  --bg-main: #050814;
  --bg-secondary: #0a0f1f;
  --bg-card: #0f1629;
  --bg-card-soft: #12182b;
  --text-main: #f5f7ff;
  --text-muted: #a5b0d3;
  --accent: #a855ff;
  --accent-2: #38bdf8;
  --accent-soft: rgba(168, 85, 255, 0.2);
  --border-soft: rgba(255, 255, 255, 0.06);
  --radius-xl: 24px;
  --shadow-soft: 0 24px 60px rgba(0, 0, 0, 0.7);
  --transition-fast: 0.2s ease-out;
  --transition-med: 0.35s ease-out;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: radial-gradient(circle at top left, #1e293b 0, #020617 45%, #000 100%);
  color: var(--text-main);
}

/* NAVBAR */

.navbar {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: linear-gradient(to bottom, rgba(2, 6, 23, 0.9), rgba(2, 6, 23, 0.75), transparent);
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
}

.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 32px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-mark {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-radius: 999px;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 800;
  color: #0b1020;
  box-shadow: 0 0 0 2px rgba(15, 23, 42, 0.9);
}

.logo-text {
  font-weight: 700;
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  gap: 16px;
}

.nav-link {
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 999px;
  transition: color var(--transition-fast), background var(--transition-fast), transform var(--transition-fast);
}

.nav-link:hover {
  color: var(--text-main);
  background: rgba(148, 163, 184, 0.14);
  transform: translateY(-1px);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* BUTTONS */

.btn-primary,
.btn-outline,
.btn-ghost {
  font-size: 14px;
  font-weight: 600;
  border-radius: 999px;
  padding: 9px 18px;
  border: none;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #020617;
  box-shadow: 0 12px 30px rgba(56, 189, 248, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 18px 40px rgba(56, 189, 248, 0.45);
}

.btn-outline {
  border: 1px solid rgba(148, 163, 184, 0.5);
  color: var(--text-main);
  background: transparent;
}

.btn-outline:hover {
  background: rgba(148, 163, 184, 0.18);
  transform: translateY(-1px);
}

.btn-ghost {
  border-radius: 999px;
  color: var(--text-muted);
  background: rgba(148, 163, 184, 0.06);
}

.btn-ghost:hover {
  background: rgba(148, 163, 184, 0.16);
  color: var(--text-main);
}

.btn-lg {
  padding: 12px 24px;
  font-size: 15px;
}

.btn-primary.full,
.btn-outline.full {
  width: 100%;
}

/* HERO */

.hero {
  position: relative;
  padding: 72px 20px 72px;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(56, 189, 248, 0.25), transparent 55%),
    radial-gradient(circle at top right, rgba(168, 85, 255, 0.25), transparent 55%);
  opacity: 0.7;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.5);
  color: var(--text-muted);
  margin-bottom: 18px;
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.3);
}

.hero h1 {
  margin: 0 0 16px;
  font-size: 36px;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.gradient-text {
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  -webkit-background-clip: text;
  color: transparent;
}

.hero-subtitle {
  margin: 0 0 24px;
  color: var(--text-muted);
  font-size: 15px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.metric {
  padding: 12px 16px;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: rgba(15, 23, 42, 0.9);
}

.metric-value {
  font-size: 18px;
  font-weight: 700;
  display: block;
}

.metric-label {
  font-size: 12px;
  color: var(--text-muted);
}

/* HERO MEDIA (VIDEO) */

.hero-media {
  display: flex;
  justify-content: flex-end;
}

.video-card {
  background: radial-gradient(circle at top, rgba(148, 163, 184, 0.25), rgba(15, 23, 42, 1));
  border-radius: var(--radius-xl);
  padding: 14px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(148, 163, 184, 0.3);
}

.video-wrapper {
  border-radius: 18px;
  overflow: hidden;
  background: #020617;
}

.video-wrapper iframe {
  width: 100%;
  height: 260px;
  display: block;
}

.video-caption {
  margin-top: 12px;
}

.video-caption .pill {
  font-size: 11px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.4);
}

.video-caption p {
  margin: 8px 0 0;
  font-size: 13px;
  color: var(--text-muted);
}

/* SECTIONS */

.section {
  padding: 56px 20px;
}

.section-dark {
  background: radial-gradient(circle at top, #020617, #020617 35%, #000 100%);
}

.section-light {
  background: linear-gradient(to bottom, #020617, #020617 60%, #020617);
}

.section-cta {
  background: radial-gradient(circle at top center, rgba(56, 189, 248, 0.25), #020617 60%, #000);
}

.section-inner {
  max-width: 1120px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  margin: 0 0 10px;
  font-size: 28px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  text-align: center;
  margin: 0 auto 32px;
  max-width: 640px;
  color: var(--text-muted);
  font-size: 14px;
}

/* GRID */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.mt-32 {
  margin-top: 32px;
}

/* FEATURE CARD */

.feature-card {
  padding: 20px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.9));
  border: 1px solid var(--border-soft);
  box-shadow: 0 10px 32px rgba(15, 23, 42, 0.75);
  transition: transform var(--transition-med), box-shadow var(--transition-med), border-color var(--transition-med);
}

.feature-card h3 {
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 18px;
}

.feature-card p {
  margin: 0;
  font-size: 14px;
  color: var(--text-muted);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.9);
  border-color: rgba(148, 163, 184, 0.7);
}

/* CATEGORY TABS */

.category-tabs {
  display: inline-flex;
  justify-content: center;
  gap: 10px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.4);
  margin: 0 auto 28px;
}

.tab-button {
  padding: 7px 14px;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 13px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.tab-button.active {
  background: rgba(15, 23, 42, 1);
  color: #e5e7eb;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.9);
}

.tab-button:hover {
  color: #e5e7eb;
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

/* PRICING CARD */

.pricing-card {
  padding: 20px;
  border-radius: 22px;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.85);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  position: relative;
  overflow: hidden;
}

.pricing-card::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at top, rgba(56, 189, 248, 0.18), transparent 60%);
  opacity: 0;
  transition: opacity var(--transition-med);
  pointer-events: none;
}

.pricing-card.highlight::before {
  opacity: 0.95;
}

.pricing-card.highlight {
  border-color: rgba(56, 189, 248, 0.8);
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: rgba(15, 23, 42, 0.9);
  position: relative;
  z-index: 1;
}

.badge-hot {
  background: linear-gradient(135deg, rgba(248, 250, 252, 0.13), rgba(251, 113, 133, 0.3));
  border-color: rgba(248, 113, 113, 0.9);
}

.pricing-card h3 {
  margin: 6px 0 4px;
  font-size: 18px;
  position: relative;
  z-index: 1;
}

.pricing-desc {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
  position: relative;
  z-index: 1;
}

.pricing-list {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
  font-size: 13px;
  color: var(--text-muted);
  position: relative;
  z-index: 1;
}

.pricing-list li {
  margin-bottom: 6px;
}

.pricing-footer {
  margin-top: 10px;
  position: relative;
  z-index: 1;
}

.price {
  display: block;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
}

/* HINT CARD */

.hint-card {
  padding: 22px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(8, 47, 73, 0.95));
  border: 1px dashed rgba(148, 163, 184, 0.9);
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.9);
}

.hint-card h3 {
  margin-top: 0;
  margin-bottom: 10px;
}

.hint-card p {
  margin: 0 0 14px;
  font-size: 14px;
  color: var(--text-muted);
}

.btn-outline.light {
  border-color: rgba(226, 232, 240, 0.85);
  color: #e5e7eb;
}

/* TESTIMONIAL */

.testimonial-card {
  padding: 18px 18px 20px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.9));
  border: 1px solid rgba(148, 163, 184, 0.55);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.95);
}

.testimonial-text {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 0;
  margin-bottom: 12px;
}

.testimonial-meta {
  font-size: 12px;
  color: rgba(148, 163, 184, 0.9);
}

/* ACCORDION (FAQ) */

.accordion {
  max-width: 720px;
  margin: 0 auto;
  border-radius: 18px;
  border: 1px solid var(--border-soft);
  overflow: hidden;
  background: rgba(15, 23, 42, 0.9);
}

.accordion-item + .accordion-item {
  border-top: 1px solid rgba(30, 64, 175, 0.5);
}

.accordion-header {
  width: 100%;
  padding: 14px 18px;
  background: transparent;
  border: none;
  color: inherit;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 14px;
}

.accordion-header:hover {
  background: rgba(15, 23, 42, 0.95);
}

.accordion-icon {
  font-size: 18px;
  margin-left: 10px;
  transition: transform var(--transition-med);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  padding: 0 18px;
  transition: max-height var(--transition-med), padding var(--transition-med);
}

.accordion-body p {
  margin: 10px 0 16px;
  font-size: 13px;
  color: var(--text-muted);
}

.accordion-item.active .accordion-body {
  max-height: 200px;
  padding-top: 4px;
}

.accordion-item.active .accordion-icon {
  transform: rotate(45deg);
}

/* CTA */

.section-cta .cta-inner {
  display: flex;
  justify-content: center;
}

.cta-content {
  max-width: 720px;
  text-align: center;
}

.cta-content h2 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 26px;
  letter-spacing: -0.02em;
}

.cta-content p {
  margin: 0 auto 20px;
  max-width: 540px;
  font-size: 14px;
  color: var(--text-muted);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

/* FOOTER */

.footer {
  border-top: 1px solid rgba(30, 64, 175, 0.7);
  background: #020617;
  padding: 24px 20px 14px;
  color: var(--text-muted);
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto 12px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
}

.footer-text {
  max-width: 360px;
  font-size: 13px;
}

.footer-right {
  display: flex;
  gap: 32px;
}

.footer-column h4 {
  margin: 0 0 8px;
  font-size: 13px;
  color: #e5e7eb;
}

.footer-column a {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  margin-bottom: 5px;
}

.footer-column a:hover {
  color: #e5e7eb;
}

.footer-bottom {
  max-width: 1120px;
  margin: 0 auto;
  border-top: 1px solid rgba(15, 23, 42, 0.9);
  padding-top: 10px;
  font-size: 12px;
  color: rgba(148, 163, 184, 0.8);
}

/* REVEAL ANIMATION */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal.delay-1 {
  transition-delay: 0.15s;
}

/* RESPONSIVE */

@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-media {
    justify-content: center;
  }

  .video-wrapper iframe {
    height: 220px;
  }

  .grid-3 {
    grid-template-columns: minmax(0, 1fr);
  }

  .grid-2 {
    grid-template-columns: minmax(0, 1fr);
  }

  .nav-links {
    display: none;
  }

  .nav-inner {
    padding-inline: 16px;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 60px;
  }

  .hero h1 {
    font-size: 28px;
  }

  .section-title {
    font-size: 24px;
  }

  .navbar {
    background: rgba(2, 6, 23, 0.98);
  }

  .hero-metrics {
    gap: 10px;
  }

  .metric {
    padding: 10px 12px;
  }

  .nav-right .btn-outline {
    display: none;
  }
}

/* ============================
   FIX LOGO FIRSTGENCY (ALL DEVICE)
   ============================ */

.navbar .logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Paksa SVG logo selalu terang dan jelas */
.navbar .logo img {
  height: 26px;
  width: auto;
  display: block;

  opacity: 1 !important;
  filter: none !important;
  mix-blend-mode: normal !important;
}

/* Kalau masih ada teks gradient "firstgency", matikan saja */
.logo-text {
  display: none !important;
}

/* Pastikan di mobile tidak ada rule yang meredupkan lagi */
@media (max-width: 768px) {
  .navbar .logo img {
    height: 24px;           /* boleh disesuaikan */
    opacity: 1 !important;
    filter: none !important;
    mix-blend-mode: normal !important;
  }
}
