/* ==========================================================================
   LinkFloo Design System & Enterprise Styling
   Matches mobile tokens: Navy (#1B2A4A), Teal (#0F8B8D), Cool Slate Neutrals
   ========================================================================== */

:root {
  /* Brand Primary */
  --brand-50:  #EEF1F6;
  --brand-100: #D6DCE7;
  --brand-200: #AEB9CD;
  --brand-500: #3D4F76;
  --brand-600: #263A5C;
  --brand-700: #1B2A4A; /* logoNavy */
  --brand-800: #142038;
  --brand-900: #0D1526;

  /* Brand Secondary */
  --secondary-50:  #E6F6F6;
  --secondary-100: #C1E9E9;
  --secondary-300: #5FC0C1;
  --secondary-500: #0F8B8D; /* logoTeal */
  --secondary-600: #0C7274;
  --secondary-700: #095A5B;

  /* Accents & States */
  --accent-50:  #FFF4E5;
  --accent-500: #FF9E2C; /* Sync Pending */
  --whatsapp:   #25D366;
  --whatsapp-bg:#E7FCE8;

  /* Neutrals */
  --neutral-0:   #FFFFFF;
  --neutral-50:  #F7F8FA;
  --neutral-100: #EEF0F3;
  --neutral-200: #DFE2E8;
  --neutral-300: #C5CAD3;
  --neutral-400: #9CA3B0;
  --neutral-500: #6E7684;
  --neutral-700: #363C46;
  --neutral-800: #22262E;
  --neutral-900: #14171C;

  /* Chat Colors */
  --chat-bg: #EFF3F5;
  --bubble-sent: var(--secondary-50);
  --bubble-received: #FFFFFF;

  /* Typography & Shadows */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --shadow-sm: 0 1px 2px 0 rgba(27, 42, 74, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(27, 42, 74, 0.08), 0 2px 4px -2px rgba(27, 42, 74, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(27, 42, 74, 0.12), 0 8px 10px -6px rgba(27, 42, 74, 0.08);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: var(--neutral-0);
  color: var(--neutral-800);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

/* ---------- Typography & Utility ---------- */
h1, h2, h3 {
  color: var(--brand-900);
  font-weight: 700;
  line-height: 1.2;
}

p {
  color: var(--neutral-500);
}

.bg-neutral-50 {
  background: var(--neutral-50);
}

.section-padded {
  padding: 96px 0;
}

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

.section-header {
  max-width: 680px;
  margin: 0 auto 56px;
}

.section-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--secondary-600);
  background: var(--secondary-50);
  padding: 6px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.section-tag-light {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--secondary-300);
  background: rgba(15, 139, 141, 0.15);
  padding: 6px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(28px, 4vw, 38px);
  margin-bottom: 16px;
}

.section-desc {
  font-size: 17px;
  line-height: 1.6;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  border-radius: 8px;
  padding: 13px 26px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.18s ease;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--secondary-500);
  color: var(--neutral-0);
  box-shadow: 0 4px 14px rgba(15, 139, 141, 0.3);
}

.btn-primary:hover {
  background: var(--secondary-600);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--brand-700);
  color: var(--neutral-0);
}

.btn-secondary:hover {
  background: var(--brand-800);
}

.btn-outline {
  border-color: var(--neutral-200);
  background: var(--neutral-0);
  color: var(--brand-700);
}

.btn-outline:hover {
  background: var(--neutral-50);
  border-color: var(--neutral-300);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 14px;
}

.btn-block {
  width: 100%;
}

/* ---------- Header / Navigation ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--neutral-100);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-size: 20px;
  font-weight: 800;
  color: var(--brand-700);
  letter-spacing: -0.02em;
}

.logo-mark {
  width: 32px;
  height: 32px;
}

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

.nav-links a {
  text-decoration: none;
  color: var(--neutral-500);
  font-size: 15px;
  font-weight: 500;
  transition: color 0.15s ease;
}

.nav-links a:hover {
  color: var(--brand-700);
}

/* ---------- Hero Section ---------- */
.hero-section {
  padding: 72px 0 88px;
  background: linear-gradient(180deg, #FFFFFF 0%, var(--brand-50) 100%);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--neutral-0);
  border: 1px solid var(--brand-100);
  padding: 6px 14px;
  border-radius: 24px;
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-700);
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--secondary-500);
}

.hero-title {
  font-size: clamp(38px, 4.5vw, 54px);
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: var(--brand-900);
}

.hero-subtitle {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 32px;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--brand-100);
}

.trust-stat {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 22px;
  font-weight: 800;
  color: var(--brand-700);
}

.stat-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--neutral-400);
}

.trust-divider {
  width: 1px;
  height: 32px;
  background: var(--brand-100);
}

/* ---------- Phone Mockup Frame ---------- */
.hero-visual {
  display: flex;
  justify-content: center;
}

.phone-frame {
  width: 100%;
  max-width: 360px;
  background: var(--neutral-0);
  border-radius: 36px;
  border: 10px solid var(--brand-900);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

.phone-notch {
  width: 120px;
  height: 18px;
  background: var(--brand-900);
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  margin: 0 auto;
}

.app-header {
  background: var(--brand-700);
  color: var(--neutral-0);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.app-lead-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.app-avatar {
  width: 36px;
  height: 36px;
  background: var(--secondary-500);
  color: var(--neutral-0);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
}

.app-lead-name {
  font-size: 14px;
  font-weight: 700;
}

.app-lead-meta {
  font-size: 11px;
  color: var(--brand-200);
}

.sync-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--secondary-300);
}

.app-timeline {
  background: var(--chat-bg);
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 380px;
}

.timeline-date {
  font-size: 11px;
  text-align: center;
  color: var(--neutral-400);
  font-weight: 600;
}

.chat-bubble {
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.4;
  position: relative;
  max-width: 85%;
}

.chat-in {
  background: var(--bubble-sent);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.bubble-time {
  display: block;
  font-size: 10px;
  color: var(--neutral-400);
  text-align: right;
  margin-top: 4px;
}

.chat-card {
  background: var(--neutral-0);
  border: 1px solid var(--neutral-200);
  border-radius: 10px;
  padding: 12px;
  width: 100%;
}

.card-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
}

.property-tag {
  font-size: 11px;
  font-weight: 700;
  color: var(--secondary-600);
}

.property-price {
  font-size: 12px;
  font-weight: 700;
  color: var(--brand-700);
}

.card-title {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
}

.card-action {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--neutral-500);
}

.pdf-icon {
  background: #E53E3E;
  color: white;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 800;
}

/* Assistant Post-Call Mockup */
.assistant-card {
  background: #FFFFFF;
  border-left: 4px solid var(--secondary-500);
  border-radius: 8px;
  padding: 12px;
  box-shadow: var(--shadow-md);
  margin-top: auto;
}

.assistant-badge {
  font-size: 9px;
  font-weight: 800;
  color: var(--secondary-600);
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.assistant-prompt {
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 8px;
}

.outcome-chips {
  display: flex;
  gap: 6px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.chip {
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 12px;
  border: 1px solid var(--neutral-200);
  background: var(--neutral-50);
  cursor: pointer;
}

.chip.active {
  background: var(--secondary-500);
  color: white;
  border-color: var(--secondary-500);
}

.assistant-note {
  font-size: 11px;
  color: var(--neutral-500);
}

.app-dock {
  background: var(--neutral-0);
  padding: 8px 12px;
  border-top: 1px solid var(--neutral-100);
  display: flex;
  align-items: center;
  gap: 8px;
}

.dock-input {
  flex: 1;
  background: var(--neutral-50);
  border-radius: 16px;
  padding: 6px 12px;
  font-size: 12px;
  color: var(--neutral-400);
}

.dock-call-btn {
  background: var(--secondary-500);
  border: none;
  color: white;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

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

.col-span-2 {
  grid-column: span 2;
}

.bento-card {
  background: var(--neutral-0);
  border: 1px solid var(--neutral-200);
  border-radius: 16px;
  padding: 32px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.bento-badge {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--brand-500);
  margin-bottom: 12px;
}

.bento-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

.bento-card p {
  font-size: 15px;
  margin-bottom: 24px;
}

.bento-chat-preview {
  margin-top: auto;
  background: var(--chat-bg);
  padding: 16px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.preview-bubble {
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 13px;
  max-width: 90%;
}

.preview-left {
  background: var(--neutral-0);
  align-self: flex-start;
}

.preview-right {
  background: var(--secondary-50);
  align-self: flex-end;
  color: var(--brand-900);
}

.call-chip-stack {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.chip-item {
  font-size: 13px;
  font-weight: 600;
  padding: 8px 12px;
  background: var(--neutral-50);
  border-radius: 6px;
  border: 1px solid var(--neutral-100);
}

.sync-banner {
  margin-top: auto;
  background: var(--accent-50);
  border: 1px solid var(--accent-500);
  border-radius: 8px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--neutral-800);
  font-weight: 600;
}

.sync-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-500);
}

.pdf-pill-row {
  margin-top: auto;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.tag-pill {
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  background: var(--brand-50);
  color: var(--brand-700);
  border-radius: 6px;
}

/* ---------- Architecture Section ---------- */
.arch-box {
  background: var(--brand-700);
  color: var(--neutral-0);
  border-radius: 24px;
  padding: 64px 48px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.arch-copy h2 {
  color: var(--neutral-0);
  font-size: 32px;
  margin-bottom: 16px;
}

.arch-copy p {
  color: var(--brand-100);
  margin-bottom: 24px;
  font-size: 16px;
}

.arch-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.arch-checklist li {
  font-size: 14px;
  color: var(--neutral-0);
}

.arch-checklist strong {
  color: var(--secondary-300);
}

.arch-terminal {
  background: var(--brand-900);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-xl);
}

.terminal-bar {
  background: var(--brand-800);
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.term-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.terminal-title {
  margin-left: 8px;
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--brand-200);
}

.terminal-code {
  padding: 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.6;
  color: #A5D6A7;
  overflow-x: auto;
}

/* ---------- Interest Form Section ---------- */
.interest-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: start;
}

.interest-info h2 {
  font-size: 36px;
  margin-bottom: 16px;
}

.interest-info p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 32px;
}

.contact-highlights {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  gap: 16px;
}

.contact-icon {
  font-size: 20px;
}

.contact-item strong {
  display: block;
  font-size: 15px;
  color: var(--brand-900);
  margin-bottom: 2px;
}

.contact-item p {
  font-size: 14px;
  margin-bottom: 0;
}

.interest-form-box {
  background: var(--neutral-0);
  border: 1px solid var(--neutral-200);
  border-radius: 16px;
  padding: 36px;
  box-shadow: var(--shadow-md);
}

.interest-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--neutral-700);
}

.form-group input,
.form-select {
  font-family: var(--font-sans);
  font-size: 15px;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid var(--neutral-200);
  background: var(--neutral-0);
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-group input:focus,
.form-select:focus {
  border-color: var(--secondary-500);
  box-shadow: 0 0 0 3px rgba(15, 139, 141, 0.15);
}

.form-status {
  font-size: 14px;
  margin-top: 8px;
  min-height: 20px;
}

.form-status.success {
  color: var(--secondary-600);
  font-weight: 600;
}

.form-status.error {
  color: #DC2626;
  font-weight: 600;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--brand-900);
  color: var(--brand-200);
  padding: 64px 0 48px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 36px;
}

.footer-brand {
  max-width: 320px;
}

.footer-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--neutral-0);
  display: block;
  margin-bottom: 8px;
}

.footer-brand p {
  color: var(--brand-200);
  font-size: 14px;
  margin-bottom: 16px;
}

.copyright {
  font-size: 12px;
  color: var(--neutral-400);
}

.footer-links-group {
  display: flex;
  gap: 64px;
}

.link-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.col-head {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--neutral-0);
}

.link-col a {
  text-decoration: none;
  color: var(--brand-200);
  font-size: 14px;
  transition: color 0.15s;
}

.link-col a:hover {
  color: var(--secondary-300);
}

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .bento-grid { grid-template-columns: 1fr; }
  .col-span-2 { grid-column: span 1; }
  .arch-box { grid-template-columns: 1fr; }
  .interest-wrapper { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .section-padded { padding: 64px 0; }
}