/* Nabawi Legal Pages & Landing Page — Shared Styles */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --green-deep: #0B3D2E;
  --green-primary: #064c39;
  --green-light: #e8f5f0;
  --gold: #D4AF37;
  --gold-light: #fdf8f0;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --bg-page: #f8faf9;
  --bg-card: #ffffff;
  --border: rgba(6, 76, 57, 0.08);
  --radius: 16px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--bg-page);
  color: var(--text-primary);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* Header / Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--green-deep);
}

.navbar-brand .logo {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.navbar-brand span {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.3px;
}

.lang-toggle {
  display: flex;
  background: var(--green-light);
  border-radius: 10px;
  padding: 3px;
  gap: 2px;
}

.lang-btn {
  padding: 6px 14px;
  border: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  background: transparent;
  color: var(--text-secondary);
}

.lang-btn.active {
  background: var(--green-deep);
  color: #fff;
  box-shadow: 0 2px 8px rgba(11, 61, 46, 0.2);
}

/* Container */
.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}

/* Page Title */
.page-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--green-deep);
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.page-subtitle {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 36px;
}

/* Sections */
.section {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 20px;
  border: 1px solid var(--border);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
}

.section-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--green-deep);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-title .icon {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--green-light);
  border-radius: 6px;
  font-size: 14px;
}

.section p,
.section li {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.75;
}

.section ul,
.section ol {
  padding-left: 20px;
  margin-top: 10px;
}

.section li {
  margin-bottom: 8px;
}

.section li::marker {
  color: var(--green-primary);
}

.section p+p {
  margin-top: 12px;
}

/* Data Table */
.data-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 14px;
  font-size: 13.5px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.data-table th {
  background: var(--green-deep);
  color: #fff;
  font-weight: 600;
  padding: 12px 16px;
  text-align: left;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.data-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
  vertical-align: top;
}

.data-table tr:last-child td {
  border-bottom: none;
}

.data-table tr:nth-child(even) td {
  background: rgba(6, 76, 57, 0.02);
}

/* Highlight box */
.highlight-box {
  background: var(--gold-light);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 12px;
  padding: 16px 20px;
  margin-top: 16px;
  font-size: 14px;
  color: #78621e;
  line-height: 1.6;
}

.highlight-box strong {
  color: #5a490f;
}

/* Contact Card */
.contact-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-secondary);
}

.contact-item a {
  color: var(--green-primary);
  text-decoration: none;
  font-weight: 500;
}

.contact-item a:hover {
  text-decoration: underline;
}

/* Footer (Legal) */
.footer {
  text-align: center;
  padding: 32px 24px;
  color: var(--text-muted);
  font-size: 13px;
  border-top: 1px solid var(--border);
  margin-top: 40px;
}

.footer a {
  color: var(--green-primary);
  text-decoration: none;
  font-weight: 500;
}

.footer a:hover {
  text-decoration: underline;
}

/* Language visibility */
[lang="id"] .lang-en {
  display: none !important;
}

[lang="en"] .lang-id {
  display: none !important;
}

[lang="id"] .lang-id-inline {
  display: inline;
}

[lang="en"] .lang-en-inline {
  display: inline;
}

[lang="id"] .lang-en-inline {
  display: none;
}

[lang="en"] .lang-id-inline {
  display: none;
}

[lang="id"] tr.lang-en {
  display: none !important;
}

[lang="en"] tr.lang-id {
  display: none !important;
}

@media (max-width: 600px) {
  .container {
    padding: 24px 16px 60px;
  }

  .page-title {
    font-size: 24px;
  }

  .section {
    padding: 20px 18px;
    border-radius: 14px;
  }

  .data-table th,
  .data-table td {
    padding: 10px 12px;
    font-size: 12.5px;
  }

  .navbar {
    padding: 12px 16px;
  }
}

/* ==========================================================================
   LANDING PAGE STYLES
   ========================================================================== */

.landing-page .container {
  max-width: 1000px;
  padding: 0 24px;
  margin: 0 auto;
}

.landing-navbar {
  max-width: 1000px;
  margin: 0 auto;
  border: none;
  background: transparent;
  padding: 24px;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.landing-navbar .navbar-brand {
  color: #fff;
}

.nav-links {
  display: flex;
  gap: 24px;
}

.nav-link {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  transition: color 0.2s;
}

.nav-link:hover {
  color: #fff;
}

/* Hero Section */
.lp-hero {
  background: linear-gradient(135deg, #063d2e 0%, #0B1814 100%);
  color: #fff;
  padding: 160px 0 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.lp-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.05) 0%, transparent 60%);
  z-index: 0;
}

.lp-hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.lp-badge {
  display: inline-block;
  background: rgba(212, 175, 55, 0.2);
  color: var(--gold);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid rgba(212, 175, 55, 0.3);
  margin-bottom: 16px;
}

.lp-headline {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -1px;
  max-width: 800px;
  margin: 0 auto;
}

.lp-headline .highlight {
  color: var(--gold);
}

.lp-subheadline {
  font-size: 18px;
  color: #cbd5e1;
  max-width: 650px;
  margin: 0 auto;
  line-height: 1.6;
}

.lp-cta-group {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 16px;
}

.lp-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.lp-btn-primary {
  background: var(--gold);
  color: #0B1814;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.lp-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.lp-btn-outline {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.lp-btn-outline:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.lp-btn-light {
  background: #fff;
  color: var(--green-deep);
}

.lp-btn-light:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Hero Visual */
.lp-hero-visual {
  margin-top: 60px;
  position: relative;
}

.lp-hero-app-icon {
  width: 140px;
  height: 140px;
  border-radius: 32px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  position: relative;
  z-index: 2;
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.glow-effect {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 200px;
  height: 200px;
  background: var(--gold);
  filter: blur(80px);
  opacity: 0.3;
  z-index: 1;
}

/* Sections */
.lp-section-title {
  text-align: center;
  font-size: 36px;
  font-weight: 800;
  color: var(--green-deep);
  margin-bottom: 16px;
}

.lp-section-subtitle {
  text-align: center;
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 60px;
}

/* Solution Section */
.lp-solution {
  padding: 100px 0;
  background: var(--bg-page);
}

.lp-grid-4 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 60px;
}

.lp-value-prop {
  background: #fff;
  padding: 40px 30px;
  border-radius: 24px;
  text-align: left;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  border: 1px solid var(--border);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.lp-value-prop:hover {
  transform: translateY(-5px);
}

.lp-value-prop .icon-circle {
  width: 60px;
  height: 60px;
  background: var(--green-light);
  color: var(--green-primary);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 24px;
  margin-left: 0;
}

.lp-value-prop h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--green-deep);
  margin-bottom: 12px;
}

.lp-value-prop p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.6;
}

/* Features */
.lp-features {
  padding: 100px 0;
  background: #fff;
}

.lp-feature-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.lp-feature-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 32px;
  background: var(--bg-page);
  border-radius: 24px;
  border: 1px solid var(--border);
  transition: background 0.3s ease;
}

.lp-feature-card:hover {
  background: var(--green-light);
}

.feat-icon {
  font-size: 28px;
  color: var(--gold);
  background: #fff;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  flex-shrink: 0;
}

.feat-text h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--green-deep);
  margin-bottom: 8px;
}

.feat-text p {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Episodes Grid */
.lp-episodes {
  padding: 100px 0;
  background: var(--bg-page);
}

.episodes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.episode-card {
  background: #fff;
  border-radius: 20px;
  padding: 28px;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.01);
}

.episode-card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transform: translateY(-3px);
  border-color: rgba(212, 175, 55, 0.3);
}

.ep-badge {
  display: inline-block;
  background: var(--green-light);
  color: var(--green-primary);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 12px;
  margin-bottom: 12px;
}

.ep-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.ep-desc {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Lineage Specific Section */
.lp-lineage-section {
  padding: 80px 0;
  background: #fff;
}

.lineage-box {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  border-radius: 32px;
  padding: 60px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.1);
}

.lineage-title {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--gold);
}

.lineage-desc {
  font-size: 16px;
  color: #cbd5e1;
  line-height: 1.7;
  max-width: 500px;
}

.lineage-deco {
  width: 200px;
  height: 200px;
  opacity: 0.1;
  transform: scale(2);
  position: absolute;
  right: 40px;
  top: 0;
}

/* Bottom CTA */
.lp-bottom-cta {
  padding: 80px 0;
  background: var(--bg-page);
}

.cta-box {
  background: linear-gradient(135deg, var(--green-deep) 0%, var(--green-primary) 100%);
  border-radius: 32px;
  padding: 80px 40px;
  text-align: center;
  color: #fff;
  box-shadow: 0 20px 40px rgba(6, 76, 57, 0.2);
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: var(--gold);
  filter: blur(150px);
  opacity: 0.2;
  top: -150px;
  right: -150px;
}

.cta-box h2 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
}

.cta-box p {
  font-size: 18px;
  color: #e2e8f0;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 2;
}

/* Footer */
.lp-footer {
  background: #0B1814;
  color: #94a3b8;
  padding: 80px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand .footer-logo {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  margin-bottom: 20px;
}

.footer-brand h3 {
  color: #fff;
  font-size: 20px;
  margin-bottom: 16px;
}

.footer-brand p {
  max-width: 300px;
  line-height: 1.6;
}

.footer-links h4 {
  color: #fff;
  font-size: 16px;
  margin-bottom: 24px;
}

.footer-links a {
  display: block;
  color: #94a3b8;
  text-decoration: none;
  margin-bottom: 16px;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  text-align: center;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Landing Page */
@media (max-width: 768px) {
  .lp-headline {
    font-size: 36px;
  }

  .lp-cta-group {
    flex-direction: column;
    width: 100%;
    max-width: 300px;
  }

  .lp-btn {
    justify-content: center;
    width: 100%;
  }

  .lp-grid-4 {
    grid-template-columns: 1fr;
  }

  .lp-feature-list {
    grid-template-columns: 1fr;
  }

  .episodes-grid {
    grid-template-columns: 1fr;
  }

  .lineage-box {
    flex-direction: column;
    padding: 40px 24px;
    text-align: center;
  }

  .lineage-deco {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .cta-box {
    padding: 60px 24px;
  }

  .cta-box h2 {
    font-size: 28px;
  }

  .nav-links {
    display: none;
    /* Hide links on very small mobile for simplicity */
  }
}