/* GeoBorneo Professional Dark Cadastral Theme */
:root {
  --bg-dark: #0b0f17;
  --bg-card: #131a29;
  --bg-card-hover: #172235;
  --border: #1e293b;
  --border-light: #334155;
  --primary: #2563eb;
  --primary-hover: #3b82f6;
  --cyan: #38bdf8;
  --emerald: #10b981;
  --emerald-hover: #059669;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-subtle: #64748b;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

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

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: var(--cyan);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #7dd3fc;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.flex-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.text-center {
  text-align: center;
}

/* Announcement Bar */
.announcement-bar {
  background: linear-gradient(90deg, #1e3a8a 0%, #0369a1 100%);
  color: #e0f2fe;
  font-size: 13px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.announcement-link {
  color: #ffffff;
  font-weight: 700;
  margin-left: 12px;
  text-decoration: underline;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(11, 15, 23, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 8px;
}

.brand-title {
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.5px;
  display: block;
}

.brand-subtitle {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
  display: block;
  margin-top: -3px;
}

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

.nav-links a {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 14px;
}

.nav-links a:hover {
  color: #ffffff;
}

.nav-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-primary {
  background-color: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  color: #ffffff;
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: #047857;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(4, 120, 87, 0.35);
}

.btn-secondary:hover {
  background-color: var(--emerald-hover);
  color: #ffffff;
  transform: translateY(-1px);
}

.btn-outline {
  background-color: transparent;
  color: var(--text-main);
  border: 1px solid var(--border-light);
}

.btn-outline:hover {
  background-color: var(--border);
  color: #ffffff;
}

.btn-whatsapp {
  background-color: #25d366;
  color: #064e3b;
  font-weight: 800;
}

.btn-whatsapp:hover {
  background-color: #22c55e;
  color: #064e3b;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 15px;
}

.btn-block {
  width: 100%;
}

/* Hero Section */
.hero {
  padding: 80px 0 60px;
  background: radial-gradient(circle at 50% 10%, rgba(37, 99, 235, 0.15) 0%, transparent 60%);
}

.hero-container {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(30, 41, 59, 0.8);
  border: 1px solid var(--border-light);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 700;
  color: var(--cyan);
  margin-bottom: 20px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--emerald);
  box-shadow: 0 0 10px var(--emerald);
}

.hero-title {
  font-size: 42px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -1px;
  color: #ffffff;
  margin-bottom: 20px;
}

.hero-description {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 32px;
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.hero-trust-row {
  display: flex;
  gap: 24px;
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 600;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Mockup Frame */
.cad-mockup-frame {
  background-color: #0f141f;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.mockup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background-color: #162032;
  border-bottom: 1px solid var(--border);
}

.mockup-dots {
  display: flex;
  gap: 6px;
}

.mockup-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot.red { background-color: #ef4444; }
.dot.yellow { background-color: #f59e0b; }
.dot.green { background-color: #10b981; }

.mockup-title {
  font-size: 12px;
  font-weight: 700;
  color: #cbd5e1;
}

.mockup-tag {
  font-size: 10px;
  font-family: var(--font-mono);
  background-color: rgba(16, 185, 129, 0.2);
  color: #34d399;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 700;
}

.mockup-img {
  width: 100%;
  height: auto;
  display: block;
  background-color: #111317;
}

.mockup-tabs {
  display: flex;
  background-color: #0f141f;
  border-top: 1px solid var(--border);
}

.tab-btn {
  flex: 1;
  padding: 10px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tab-btn:hover {
  background-color: rgba(255, 255, 255, 0.05);
  color: #ffffff;
}

.tab-btn.active {
  background-color: #162032;
  color: var(--cyan);
  font-weight: 700;
  border-bottom: 2px solid var(--cyan);
}

/* Sections General */
.section {
  padding: 90px 0;
}

.section-header {
  margin-bottom: 60px;
}

.section-title {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--cyan);
}

.feature-icon-box {
  font-size: 32px;
  margin-bottom: 16px;
}

.feature-title {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
}

.feature-text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Pricing Cards */
.pricing-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.pricing-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.pricing-card.featured {
  border: 2px solid var(--primary);
  background: linear-gradient(180deg, #162032 0%, var(--bg-card) 100%);
  box-shadow: 0 10px 40px rgba(37, 99, 235, 0.25);
}

.pricing-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.pricing-badge.popular {
  color: #60a5fa;
}

.pricing-plan {
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 16px;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  margin-bottom: 16px;
}

.pricing-price .currency {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-muted);
  margin-right: 4px;
}

.pricing-price .amount {
  font-size: 48px;
  font-weight: 800;
  color: #ffffff;
}

.pricing-price .period {
  font-size: 14px;
  color: var(--text-muted);
  margin-left: 6px;
}

.pricing-desc {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.pricing-features {
  list-style: none;
  margin-bottom: 32px;
  flex-grow: 1;
}

.pricing-features li {
  font-size: 14px;
  color: #e2e8f0;
  margin-bottom: 10px;
}

/* Steps Grid */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.step-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  position: relative;
}

.step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 20px;
}

.step-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.step-text {
  font-size: 14px;
  color: var(--text-muted);
}

/* Download Section */
.download-card {
  background: linear-gradient(135deg, #131a29 0%, #1e293b 100%);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 60px 40px;
  max-width: 840px;
  margin: 0 auto;
}

.download-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.download-title {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 12px;
}

.download-subtitle {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.specs-meta {
  display: flex;
  justify-content: center;
  gap: 16px;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 24px;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
}

.modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
}

.modal-content {
  position: relative;
  background-color: #111726;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  max-width: 480px;
  width: 90%;
  padding: 28px;
  z-index: 1001;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.modal-title {
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
}

.modal-close {
  background: transparent;
  border: none;
  font-size: 24px;
  color: var(--text-muted);
  cursor: pointer;
}

.order-summary-box {
  background-color: #0b0f17;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 20px;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  margin-bottom: 8px;
  color: var(--text-muted);
}

.summary-line.total {
  border-top: 1px solid var(--border);
  padding-top: 10px;
  margin-top: 10px;
  color: #ffffff;
  font-weight: 700;
}

.price-highlight {
  color: var(--emerald);
  font-size: 18px;
  font-weight: 800;
}

.divider {
  text-align: center;
  position: relative;
  margin: 18px 0;
}

.divider::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: var(--border);
}

.divider span {
  position: relative;
  background-color: #111726;
  padding: 0 10px;
  font-size: 11px;
  color: var(--text-subtle);
  font-weight: 700;
}

.bank-details-box {
  background-color: #0b0f17;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px;
  font-size: 13px;
}

.bank-details-box p {
  margin-bottom: 6px;
}

.small-text {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 10px;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  background-color: #080b11;
  padding: 48px 0;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-tagline {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 8px;
}

.footer-credits {
  text-align: right;
  font-size: 13px;
  color: var(--text-muted);
}

.copyright {
  font-size: 11px;
  color: var(--text-subtle);
  margin-top: 6px;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-container,
  .features-grid,
  .pricing-cards,
  .steps-grid,
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-trust-row,
  .nav-links {
    display: none;
  }
  .footer-credits {
    text-align: center;
    margin-top: 24px;
  }
}
