/* ============================================================================
 * VINCENTECH QUANT - CLEAN INSTITUTIONAL QUANT STYLESHEET (public/css/main.css)
 * ============================================================================ */

:root {
  --bg-main: #030712;
  --bg-surface: #0b1120;
  --bg-card: rgba(15, 23, 42, 0.78);
  --bg-card-hover: rgba(30, 41, 59, 0.9);
  --primary: #f59e0b;
  --primary-hover: #d97706;
  --accent-cyan: #06b6d4;
  --accent-green: #10b981;
  --accent-purple: #a855f7;
  --danger: #ef4444;
  --text-main: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #64748b;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-highlight: rgba(245, 158, 11, 0.35);
  --radius-md: 12px;
  --radius-lg: 18px;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-main);
  background-image:
    radial-gradient(circle at 15% 15%, rgba(6, 182, 212, 0.06), transparent 40%),
    radial-gradient(circle at 85% 20%, rgba(245, 158, 11, 0.06), transparent 40%),
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 48px 48px, 48px 48px;
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

/* STATUS BAR MINIMALIS */
.topbar-status {
  background: rgba(11, 17, 32, 0.95);
  border-bottom: 1px solid var(--border-subtle);
  padding: 8px 5%;
  font-size: 0.82rem;
  color: var(--text-secondary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'JetBrains Mono', monospace;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-green);
  box-shadow: 0 0 10px var(--accent-green);
}

.broadcast-banner {
  display: none;
  background: linear-gradient(90deg, rgba(245, 158, 11, 0.15), rgba(6, 182, 212, 0.12));
  border-bottom: 1px solid rgba(245, 158, 11, 0.35);
  color: #fde68a;
  padding: 10px 5%;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 500;
}

/* NAVBAR */
header.navbar {
  background: rgba(11, 17, 32, 0.82);
  backdrop-filter: blur(16px);
  padding: 14px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border-subtle);
}

.brand-logo {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.brand-title {
  color: var(--text-main);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.brand-subtitle {
  color: var(--primary);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
}

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

/* BUTTONS */
.btn {
  padding: 10px 20px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.22s ease;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(180deg, var(--primary) 0%, var(--primary-hover) 100%);
  color: #030712;
  font-weight: 700;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.35);
}

.btn-green {
  background: linear-gradient(180deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  font-weight: 700;
}

.btn-green:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.35);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.14);
  color: var(--text-main);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(245, 158, 11, 0.06);
}

.btn-cyan {
  background: rgba(6, 182, 212, 0.12);
  border-color: rgba(6, 182, 212, 0.4);
  color: #22d3ee;
}

.btn-cyan:hover {
  background: #06b6d4;
  color: #030712;
}

.btn-block {
  width: 100%;
}

/* HERO SECTION */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
}

.hero-section {
  padding: 4.5rem 0 3rem 0;
  text-align: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: #fbbf24;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -1px;
  max-width: 850px;
  margin: 0 auto 18px auto;
}

.hero-title span {
  background: linear-gradient(90deg, #fbbf24, #38bdf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  color: var(--text-secondary);
  max-width: 720px;
  margin: 0 auto 30px auto;
  font-size: 1.08rem;
}

.hero-cta-group {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

/* TRUST PILLARS */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  max-width: 980px;
  margin: 0 auto 3.5rem auto;
}

.trust-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 18px 20px;
  border-radius: var(--radius-md);
  text-align: left;
}

.trust-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  background: rgba(255, 255, 255, 0.04);
  flex-shrink: 0;
}

.trust-card strong {
  display: block;
  font-size: 0.98rem;
  color: var(--text-main);
}

.trust-card span {
  font-size: 0.83rem;
  color: var(--text-muted);
}

/* TEST DRIVE BANNER CLEAN */
.trial-strip {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.12) 0%, rgba(15, 23, 42, 0.92) 100%);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}

.trial-strip-info h3 {
  font-size: 1.35rem;
  margin-bottom: 6px;
  color: #ffffff;
}

.trial-strip-info h3 span {
  color: #34d399;
}

.trial-strip-info p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  max-width: 680px;
}

/* CATALOG SECTION */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 28px;
}

.section-header h2 {
  font-size: 1.9rem;
  font-weight: 800;
}

.section-header h2 span {
  color: var(--primary);
}

.filter-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s;
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--primary);
  color: #030712;
  border-color: var(--primary);
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
  margin-bottom: 4.5rem;
}

.ea-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.ea-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.22);
  background: var(--bg-card-hover);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

.ea-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.ea-cat-badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid currentColor;
}

.ea-verified-pill {
  font-size: 0.72rem;
  font-weight: 700;
  color: #fb923c;
  background: rgba(249, 115, 22, 0.12);
  border: 1px solid rgba(249, 115, 22, 0.35);
  padding: 3px 10px;
  border-radius: 999px;
}

.ea-card h3 {
  font-size: 1.35rem;
  margin-bottom: 8px;
  color: #ffffff;
}

.ea-card p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  margin-bottom: 20px;
  flex-grow: 1;
}

.ea-card-price-row {
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.ea-price-label {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.ea-price-value {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary);
}

.ea-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

/* FAQ SECTION */
.faq-section {
  margin-bottom: 5rem;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 14px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 18px 22px;
  background: transparent;
  border: none;
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.98rem;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s ease;
  background: rgba(0, 0, 0, 0.25);
}

.faq-answer-inner {
  padding: 16px 22px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  border-top: 1px solid var(--border-subtle);
}

/* MODALS */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(3, 7, 18, 0.86);
  backdrop-filter: blur(8px);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.modal-overlay.active {
  display: flex;
}

.modal-box {
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 620px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 28px;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
}

.modal-box.modal-lg {
  max-width: 860px;
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 20px;
  background: rgba(255, 255, 255, 0.06);
  border: none;
  color: var(--text-secondary);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
}

.modal-close:hover {
  background: rgba(239, 68, 68, 0.2);
  color: #f87171;
}

/* VIDEO & PRICING INSIDE DETAIL MODAL */
.video-frame {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #000;
  margin: 16px 0;
  border: 1px solid var(--border-subtle);
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.plan-card {
  background: rgba(2, 6, 23, 0.65);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 22px;
  display: flex;
  flex-direction: column;
}

.plan-card.popular {
  border-color: var(--primary);
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.08) 0%, rgba(2, 6, 23, 0.8) 100%);
}

.plan-badge {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 0.8px;
  margin-bottom: 6px;
}

.plan-price {
  font-size: 1.65rem;
  font-weight: 800;
  color: #ffffff;
  margin: 8px 0 14px 0;
}

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

.plan-features li {
  font-size: 0.86rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
  display: flex;
  gap: 8px;
}

.plan-features li::before {
  content: '✓';
  color: var(--accent-green);
  font-weight: bold;
}

/* FORMS */
.form-group {
  margin-bottom: 14px;
}

.form-group label {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 11px 14px;
  background: rgba(2, 6, 23, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  color: #ffffff;
  font-size: 0.95rem;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
}

/* PORTAL KLIEN CARDS */
.license-result-card {
  background: rgba(2, 6, 23, 0.75);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px;
  margin-top: 14px;
}

.code-box {
  background: #020617;
  border: 1px dashed rgba(56, 189, 248, 0.4);
  padding: 10px 14px;
  border-radius: 8px;
  font-family: monospace;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}

footer {
  border-top: 1px solid var(--border-subtle);
  padding: 36px 5%;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.15rem;
  }
  .trial-strip {
    padding: 22px;
  }
  .catalog-grid {
    grid-template-columns: 1fr;
  }
}
