﻿/* ==========================================================================
   DIGITAL INVESTOR TEAM (DIT) - DESIGN SYSTEM 2.0 (HYBRID CONTRAST THEME)
   High-End Executive Light & Technical Dark Terminal for Traders
   ========================================================================== */

:root {
  /* Light Executive Theme (Human & Academic Sections) */
  --bg-light: #f8fafc;
  --bg-card-light: #ffffff;
  --text-dark: #0f172a;
  --text-muted: #64748b;
  --border-light: rgba(15, 23, 42, 0.08);
  --border-light-hover: rgba(16, 185, 129, 0.4);
  --shadow-subtle: 0 4px 20px -2px rgba(15, 23, 42, 0.05);
  --shadow-hover: 0 12px 32px -4px rgba(15, 23, 42, 0.12);

  /* Dark Terminal Theme (Technology & Analytics Sections) */
  --bg-dark: #090d16;
  --bg-surface-dark: #0f172a;
  --bg-card-dark: #131c31;
  --bg-card-dark-hover: #18233d;
  --text-light: #f8fafc;
  --text-dim: #94a3b8;
  --border-dark: rgba(255, 255, 255, 0.08);
  --border-dark-accent: rgba(0, 229, 153, 0.3);

  /* Brand Accents */
  --emerald-primary: #10b981;
  --emerald-glow: #00e599;
  --emerald-dark: #059669;
  --blue-accent: #2563eb;
  --cyan-accent: #06b6d4;
  --purple-accent: #8b5cf6;
  --danger: #ef4444;

  /* Typography */
  --font-heading: 'Plus Jakarta Sans', -apple-system, sans-serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Layout */
  --container-max: 1240px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 9999px;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, picture, svg, video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ==========================================================================
   NAVIGATION BAR
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  z-index: 1000;
  transition: var(--transition);
}

.navbar.scrolled {
  height: 70px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-logo img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-muted);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-dark);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--emerald-primary);
  border-radius: var(--radius-pill);
}

.nav-cta-group {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.4rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.92rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--emerald-primary), var(--emerald-dark));
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(16, 185, 129, 0.4);
}

.btn-secondary {
  background: #ffffff;
  color: var(--text-dark);
  border: 1px solid var(--border-light);
}

.btn-secondary:hover {
  background: #f1f5f9;
  border-color: rgba(15, 23, 42, 0.2);
  transform: translateY(-1px);
}

.btn-glow {
  background: linear-gradient(135deg, #00e599, #059669);
  color: #090d16;
  font-weight: 800;
  box-shadow: 0 0 25px rgba(0, 229, 153, 0.4);
}

.btn-glow:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 35px rgba(0, 229, 153, 0.6);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 0.95rem 2rem;
  font-size: 1.05rem;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-dark);
  cursor: pointer;
  padding: 0.5rem;
}

/* ==========================================================================
   HERO SECTION (LIGHT EXECUTIVE)
   ========================================================================== */
.hero-section {
  padding: 140px 0 80px 0;
  background: radial-gradient(circle at 50% -20%, rgba(16, 185, 129, 0.08) 0%, transparent 70%), var(--bg-light);
  border-bottom: 1px solid var(--border-light);
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: var(--emerald-dark);
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--text-dark);
  margin-bottom: 1.25rem;
}

.hero-title span {
  color: var(--emerald-primary);
}

.hero-lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.metrics-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-light);
}

.metric-item {
  display: flex;
  flex-direction: column;
}

.metric-val {
  font-family: var(--font-mono);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-dark);
}

.metric-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Hero Terminal Preview Box */
.terminal-preview {
  background: var(--bg-dark);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.35);
  color: var(--text-light);
  position: relative;
  overflow: hidden;
}

.terminal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-dark);
  margin-bottom: 1.25rem;
}

.terminal-dots {
  display: flex;
  gap: 6px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.terminal-status {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--emerald-glow);
  background: rgba(0, 229, 153, 0.1);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-pill);
}

.analytics-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.stat-box {
  background: var(--bg-card-dark);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 1rem;
}

.stat-title {
  font-size: 0.75rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.3rem;
}

.stat-num {
  font-family: var(--font-mono);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-light);
}

.stat-num.positive { color: var(--emerald-glow); }
.stat-num.blue { color: #60a5fa; }

.terminal-quote {
  padding: 1rem;
  background: rgba(255, 255, 255, 0.03);
  border-left: 3px solid var(--emerald-glow);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.85rem;
  color: var(--text-dim);
  font-style: italic;
}

/* ==========================================================================
   ACADEMIA & PSICOTRADING SECTION (LIGHT EXECUTIVE)
   ========================================================================== */
.section-light {
  padding: 100px 0;
  background: var(--bg-light);
}

.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 4rem auto;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--emerald-dark);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* 2-Phase Roadmap */
.roadmap-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 4rem;
}

.roadmap-card {
  background: var(--bg-card-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-subtle);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.roadmap-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--border-light-hover);
}

.phase-badge {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  display: inline-block;
  margin-bottom: 1.25rem;
}

.phase-1 .phase-badge {
  background: rgba(16, 185, 129, 0.12);
  color: var(--emerald-dark);
}

.phase-2 .phase-badge {
  background: rgba(37, 99, 235, 0.12);
  color: var(--blue-accent);
}

.roadmap-card h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
}

.roadmap-card p {
  color: var(--text-muted);
  font-size: 0.98rem;
  margin-bottom: 1.5rem;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.92rem;
  color: var(--text-dark);
  font-weight: 500;
}

.feature-icon {
  color: var(--emerald-primary);
  flex-shrink: 0;
  margin-top: 3px;
}

/* PsicoTrading Spotlight Banner */
.psico-spotlight {
  background: linear-gradient(135deg, #1e1b4b, #0f172a);
  border-radius: var(--radius-lg);
  padding: 3rem;
  color: #ffffff;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
}

.psico-content h3 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.psico-content p {
  color: #cbd5e1;
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1.75rem;
}

.author-badge {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.08);
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.author-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover; object-position: top center;
  border: 2px solid var(--emerald-glow);
}

.author-info h4 {
  font-size: 1rem;
  font-weight: 700;
}

.author-info span {
  font-size: 0.82rem;
  color: #94a3b8;
}

/* ==========================================================================
   TECHNOLOGY & ANALYTICS SECTION (DARK TERMINAL THEME)
   ========================================================================== */
.section-dark {
  padding: 110px 0;
  background: var(--bg-dark);
  color: var(--text-light);
  position: relative;
}

.section-dark .section-tag {
  color: var(--emerald-glow);
}

.section-dark .section-title {
  color: var(--text-light);
}

.section-dark .section-desc {
  color: var(--text-dim);
}

/* Tech Bento Grid */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-bottom: 3.5rem;
}

.tech-card {
  background: var(--bg-card-dark);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.tech-card:hover {
  transform: translateY(-5px);
  background: var(--bg-card-dark-hover);
  border-color: var(--border-dark-accent);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
}

.tech-card-featured {
  grid-column: span 2;
  background: linear-gradient(135deg, #131c31, #0d1527);
  border-color: rgba(0, 229, 153, 0.25);
}

.tech-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
}

.icon-emerald { background: rgba(0, 229, 153, 0.12); color: var(--emerald-glow); }
.icon-blue { background: rgba(37, 99, 235, 0.15); color: #60a5fa; }
.icon-purple { background: rgba(139, 92, 246, 0.15); color: #c084fc; }

.tech-card h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-light);
  margin-bottom: 0.75rem;
}

.tech-card p {
  color: var(--text-dim);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 1.75rem;
}

.tech-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--emerald-glow);
}

.tech-link:hover {
  gap: 0.75rem;
}

/* ==========================================================================
   LEAD CAPTURE FORM SECTION (CLEAN EXECUTIVE)
   ========================================================================== */
.section-form {
  padding: 100px 0;
  background: #ffffff;
  border-top: 1px solid var(--border-light);
}

.form-wrapper {
  max-width: 680px;
  margin: 0 auto;
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-subtle);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.1rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  background: #ffffff;
  color: var(--text-dark);
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--emerald-primary);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

.phone-group {
  display: flex;
  gap: 0.5rem;
}

.phone-code {
  width: 130px;
  flex-shrink: 0;
}

.form-submit-btn {
  width: 100%;
  padding: 1rem;
  font-size: 1.05rem;
  margin-top: 1rem;
}

.privacy-notice {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 1rem;
}

/* ==========================================================================
   FOOTER (DARK INSTITUTIONAL)
   ========================================================================== */
.footer {
  background: #060911;
  color: var(--text-dim);
  padding: 80px 0 40px 0;
  border-top: 1px solid var(--border-dark);
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand h4 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--text-light);
  margin-bottom: 1rem;
}

.footer-brand p {
  color: var(--text-dim);
  line-height: 1.7;
  max-width: 340px;
}

.footer-col h5 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a:hover {
  color: var(--emerald-glow);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.82rem;
}

/* ==========================================================================
   RESPONSIVE DESIGN (MOBILE & TABLET)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .tech-grid {
    grid-template-columns: 1fr;
  }
  .tech-card-featured {
    grid-column: span 1;
  }
  .roadmap-grid {
    grid-template-columns: 1fr;
  }
  .psico-spotlight {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-menu, .nav-cta-group {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  .hero-title {
    font-size: 2.3rem;
  }
  .metrics-strip {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
  .form-wrapper {
    padding: 2rem 1.25rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* Mobile Nav Overlay */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(15, 23, 42, 0.98);
  backdrop-filter: blur(20px);
  z-index: 2000;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 2rem;
}

.mobile-nav-drawer.open {
  display: flex;
}

.mobile-nav-drawer a {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: #ffffff;
}

.mobile-nav-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 2rem;
  cursor: pointer;
}
