/* ========================================
   CapitalTrust — Dark Luxury Landing Page
   ======================================== */

:root {
  --bg: #070b14;
  --bg-card: rgba(255,255,255,0.04);
  --bg-card-hover: rgba(255,255,255,0.07);
  --border: rgba(255,255,255,0.08);
  --border-hover: rgba(255,255,255,0.15);
  --text: #e2e8f0;
  --text-muted: #8a95a8;
  --text-heading: #f1f5f9;
  --accent: #3b82f6;
  --accent-hover: #2563eb;
  --gold: #c9a84c;
  --radius: 12px;
  --radius-lg: 16px;
  --container: 1120px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

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

/* Background slideshow */
.bg-slideshow {
  position: fixed;
  inset: 0;
  z-index: 0;
}

.bg-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 2s ease;
}

.bg-slide.active {
  opacity: 1;
}

.bg-overlay {
  position: fixed;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(7,11,20,0.88) 0%,
    rgba(7,11,20,0.82) 30%,
    rgba(7,11,20,0.92) 70%,
    rgba(7,11,20,0.98) 100%
  );
}

/* Container */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(7,11,20,0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-heading);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-name {
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.02em;
  color: var(--text-heading);
}

.logo-sub {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 400;
}

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

.nav a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

.nav a:hover { color: var(--text-heading); }

.nav-cta {
  background: var(--accent);
  color: #fff !important;
  padding: 8px 20px;
  border-radius: 8px;
  font-weight: 600;
  transition: background 0.2s !important;
}

.nav-cta:hover { background: var(--accent-hover) !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: 0.2s;
}

/* Hero */
.hero {
  position: relative;
  z-index: 2;
  padding: 100px 0 40px;
}

.hero-content {
  max-width: 680px;
}

.hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text-heading);
  margin-bottom: 16px;
}

.hero-sub {
  font-size: clamp(18px, 2.5vw, 22px);
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.hero-desc {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 540px;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  font-family: var(--font);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 2px 16px rgba(59,130,246,0.25);
}

.btn-primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 4px 24px rgba(59,130,246,0.35);
  transform: translateY(-1px);
}

.btn-secondary {
  background: rgba(255,255,255,0.06);
  color: var(--text);
  border: 1px solid var(--border);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--border-hover);
}

.btn-full { width: 100%; justify-content: center; }

/* Stats */
.stats {
  position: relative;
  z-index: 2;
  padding: 32px 0 48px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  backdrop-filter: blur(8px);
}

.stat-number {
  font-size: 36px;
  font-weight: 800;
  color: var(--text-heading);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Section common */
.section {
  position: relative;
  z-index: 2;
  padding: 64px 0;
}

.section-alt {
  background: rgba(255,255,255,0.015);
}

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

.section-kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 8px;
}

.section-header h2 {
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 800;
  color: var(--text-heading);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: all 0.3s;
}

.service-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.service-num {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 12px;
  font-variant-numeric: tabular-nums;
}

.service-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.service-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Process */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.process-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  position: relative;
}

.process-step {
  font-size: 32px;
  font-weight: 800;
  color: rgba(255,255,255,0.06);
  margin-bottom: 12px;
  line-height: 1;
}

.process-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.process-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.contact-info {
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(8px);
}

.contact-info h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 12px;
}

.contact-info > p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

.contact-lines {
  margin-bottom: 24px;
}

.contact-line {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.contact-line:last-child { border-bottom: none; }

.contact-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  font-weight: 500;
}

.contact-line a {
  color: var(--text-heading);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
}

.contact-line a:hover { color: var(--accent); }

.contact-wa-btn { margin-top: 8px; }

/* Form */
.contact-form-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  backdrop-filter: blur(8px);
}

.form-label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.form-label input,
.form-label textarea {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 16px;
  color: var(--text-heading);
  font-size: 15px;
  font-family: var(--font);
  transition: border-color 0.2s;
  outline: none;
}

.form-label input:focus,
.form-label textarea:focus {
  border-color: var(--accent);
}

.form-label input::placeholder,
.form-label textarea::placeholder {
  color: rgba(255,255,255,0.2);
}

.form-label textarea {
  resize: vertical;
  min-height: 100px;
}

.optional {
  color: rgba(255,255,255,0.25);
  font-weight: 400;
}

.contact-form-wrap .btn-full {
  margin-top: 8px;
}

.form-success {
  text-align: center;
  padding: 48px 24px;
}

.form-success p {
  font-size: 18px;
  color: var(--text-heading);
  font-weight: 600;
}

/* Footer */
.footer {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--border);
  padding: 32px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-brand {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

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

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

/* Floating WhatsApp */
.floating-wa {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 99;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.35);
  transition: all 0.2s;
  text-decoration: none;
}

.floating-wa:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(37,211,102,0.45);
}

/* ========================================
   Responsive
   ======================================== */

@media (max-width: 900px) {
  .services-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; gap: 12px; }

  .stat-card {
    display: flex;
    align-items: center;
    gap: 16px;
    text-align: left;
    padding: 16px 20px;
  }

  .stat-number { margin-bottom: 0; font-size: 28px; }
}

@media (max-width: 640px) {
  .nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(7,11,20,0.95);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 16px 24px;
    gap: 16px;
    border-bottom: 1px solid var(--border);
  }

  .nav.open { display: flex; }

  .nav-toggle { display: flex; }

  .hero { padding: 84px 0 32px; }

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

  .process-grid { grid-template-columns: 1fr; }

  .section { padding: 48px 0; }

  .contact-info,
  .contact-form-wrap { padding: 24px; }

  .footer-inner { flex-direction: column; align-items: flex-start; }
}
