/* ===================================================
   MUDRAX — AI Implementation Consultants
   Stylesheet
   =================================================== */

/* --- CSS Variables --- */
:root {
  --bg-primary: #0a0b0f;
  --bg-secondary: #111318;
  --bg-card: #161820;
  --bg-card-hover: #1c1e28;
  --bg-elevated: #1a1c26;

  --text-primary: #e8e9ed;
  --text-secondary: #9194a1;
  --text-muted: #5c5f6e;

  --accent: #00d4aa;
  --accent-dim: rgba(0, 212, 170, 0.15);
  --accent-glow: rgba(0, 212, 170, 0.3);
  --accent-secondary: #7b61ff;
  --accent-secondary-dim: rgba(123, 97, 255, 0.15);

  --danger: #ff4d6a;
  --danger-dim: rgba(255, 77, 106, 0.15);
  --warning: #ffb84d;
  --warning-dim: rgba(255, 184, 77, 0.15);
  --success: #00d4aa;

  --border: rgba(255, 255, 255, 0.06);
  --border-light: rgba(255, 255, 255, 0.1);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --container-max: 1200px;
  --section-pad: 120px;
  --section-pad-mobile: 72px;

  --nav-height: 72px;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }

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

/* --- Scrollbar --- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--text-muted); border-radius: 3px; }

/* ===========================================
   NAVIGATION
   =========================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  background: rgba(10, 11, 15, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s, box-shadow 0.3s;
}

.navbar.scrolled {
  background: rgba(10, 11, 15, 0.95);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  z-index: 1001;
}

.logo-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.65rem;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.logo-text .rupee {
  color: var(--accent);
  font-weight: 800;
}

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

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
}

.nav-link:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.04);
}

.nav-link.nav-cta {
  background: var(--accent);
  color: var(--bg-primary);
  font-weight: 600;
  margin-left: 8px;
  padding: 8px 20px;
}

.nav-link.nav-cta:hover {
  background: #00e6b8;
  color: var(--bg-primary);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 1001;
}

.hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle.active .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
}
.nav-toggle.active .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(10, 11, 15, 0.98);
  backdrop-filter: blur(30px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.mobile-menu.active {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.mobile-link {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 12px 24px;
  border-radius: var(--radius-md);
  transition: color 0.2s, background 0.2s;
}

.mobile-link:hover {
  color: var(--text-primary);
}

.mobile-cta {
  margin-top: 16px;
  background: var(--accent);
  color: var(--bg-primary) !important;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
}

/* ===========================================
   HERO SECTION
   =========================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: calc(var(--nav-height) + 40px) 24px 60px;
  overflow: hidden;
}

/* Grid Background */
.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 30%, transparent 100%);
}

/* Particle dots */
.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0;
  animation: particleFade 4s infinite;
}

@keyframes particleFade {
  0% { opacity: 0; transform: translateY(0) scale(0.5); }
  30% { opacity: 0.6; }
  100% { opacity: 0; transform: translateY(-80px) scale(0); }
}

.hero-content {
  position: relative;
  text-align: center;
  max-width: 860px;
  z-index: 2;
}

.hero-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  padding: 8px 20px;
  border-radius: 100px;
  border: 1px solid rgba(0, 212, 170, 0.2);
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeUp 0.8s 0.2s forwards;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp 0.8s 0.4s forwards;
}

.hero-line {
  display: block;
}

.hero-highlight {
  color: var(--accent);
  position: relative;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto 40px;
  line-height: 1.7;
  opacity: 0;
  animation: fadeUp 0.8s 0.6s forwards;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 64px;
  opacity: 0;
  animation: fadeUp 0.8s 0.8s forwards;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  transition: all 0.25s;
}

.btn-primary {
  background: var(--accent);
  color: var(--bg-primary);
}

.btn-primary:hover {
  background: #00e6b8;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--accent-glow);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border: 1px solid var(--border-light);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

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

/* Stats */
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  opacity: 0;
  animation: fadeUp 0.8s 1s forwards;
}

.stat {
  text-align: center;
}

.stat-number {
  font-family: var(--font-mono);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.stat-suffix {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  color: var(--accent);
}

.stat-label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: var(--border-light);
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: fadeIn 1s 1.5s forwards;
}

.scroll-indicator span {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollPulse 2s infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ===========================================
   SECTIONS — General
   =========================================== */
.section {
  padding: var(--section-pad) 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 72px;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}

.text-accent {
  color: var(--accent);
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ===========================================
   PROBLEMS SECTION
   =========================================== */
.problems {
  background: var(--bg-secondary);
}

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

.problem-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  transition: transform 0.3s, border-color 0.3s, background 0.3s;
  opacity: 0;
  transform: translateY(24px);
}

.problem-card.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease, border-color 0.3s, background 0.3s;
}

.problem-card:hover {
  border-color: rgba(255, 77, 106, 0.3);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
}

.problem-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--danger-dim);
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  color: var(--danger);
}

.problem-card h3 {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.problem-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

@media (max-width: 900px) {
  .problems-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .problems-grid { grid-template-columns: 1fr; }
}

/* ===========================================
   SERVICES SECTION
   =========================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s, border-color 0.3s;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-secondary));
  opacity: 0;
  transition: opacity 0.3s;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-glow);
}

.service-card:hover::before {
  opacity: 1;
}

.service-number {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.service-icon-wrap {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-dim);
  border-radius: var(--radius-md);
  margin-bottom: 24px;
  color: var(--accent);
}

.service-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
}

.service-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
  transition: gap 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.service-link:hover {
  gap: 8px;
}

@media (max-width: 900px) {
  .services-grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }
}

/* ===========================================
   DEMO SECTIONS
   =========================================== */
.demo-section {
  overflow: hidden;
}

.demo-dark {
  background: var(--bg-secondary);
}

.demo-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.demo-layout-reverse {
  direction: rtl;
}

.demo-layout-reverse > * {
  direction: ltr;
}

.demo-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 36px;
}

.demo-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.demo-feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.feature-dot {
  width: 8px;
  height: 8px;
  min-width: 8px;
  background: var(--accent);
  border-radius: 50%;
  margin-top: 8px;
}

.demo-feature strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.demo-feature p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

@media (max-width: 900px) {
  .demo-layout,
  .demo-layout-reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 48px;
  }
  .demo-visual { order: -1; }
}

/* ===========================================
   CHAT DEMO ANIMATION
   =========================================== */
.chat-demo {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.chat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}

.chat-avatar {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-dim);
  border-radius: 50%;
  color: var(--accent);
}

.chat-name {
  font-size: 0.9rem;
  font-weight: 600;
}

.chat-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.status-dot {
  width: 6px;
  height: 6px;
  background: var(--success);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.chat-messages {
  padding: 20px;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chat-msg {
  max-width: 85%;
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 0.85rem;
  line-height: 1.5;
  opacity: 0;
  transform: translateY(12px);
  animation: msgAppear 0.4s forwards;
}

.chat-msg.bot {
  background: rgba(0, 212, 170, 0.1);
  border: 1px solid rgba(0, 212, 170, 0.15);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.chat-msg.user {
  background: rgba(123, 97, 255, 0.12);
  border: 1px solid rgba(123, 97, 255, 0.15);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.chat-msg .doc-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 212, 170, 0.15);
  padding: 6px 12px;
  border-radius: 8px;
  margin-top: 8px;
  font-size: 0.78rem;
  color: var(--accent);
}

@keyframes msgAppear {
  to { opacity: 1; transform: translateY(0); }
}

.typing-indicator {
  display: flex;
  gap: 4px;
  padding: 12px 16px;
  align-self: flex-start;
}

.typing-dot {
  width: 7px;
  height: 7px;
  background: var(--text-muted);
  border-radius: 50%;
  animation: typingBounce 1.4s infinite;
}

.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingBounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-6px); opacity: 1; }
}

.chat-input-area {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  border-top: 1px solid var(--border);
  gap: 12px;
}

.chat-input-placeholder {
  flex: 1;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.chat-send-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  border-radius: 50%;
  color: var(--bg-primary);
}

/* Voice Demo */
.voice-demo {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-top: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.voice-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 20px;
}

.voice-waveform {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  height: 48px;
  margin-bottom: 16px;
}

.wave-bar {
  width: 4px;
  background: var(--accent);
  border-radius: 2px;
  animation: waveAnim 1.2s ease-in-out infinite;
}

.wave-bar:nth-child(1) { animation-delay: 0s; height: 12px; }
.wave-bar:nth-child(2) { animation-delay: 0.1s; height: 20px; }
.wave-bar:nth-child(3) { animation-delay: 0.15s; height: 32px; }
.wave-bar:nth-child(4) { animation-delay: 0.2s; height: 24px; }
.wave-bar:nth-child(5) { animation-delay: 0.25s; height: 40px; }
.wave-bar:nth-child(6) { animation-delay: 0.3s; height: 28px; }
.wave-bar:nth-child(7) { animation-delay: 0.35s; height: 16px; }
.wave-bar:nth-child(8) { animation-delay: 0.4s; height: 36px; }
.wave-bar:nth-child(9) { animation-delay: 0.45s; height: 20px; }
.wave-bar:nth-child(10) { animation-delay: 0.5s; height: 44px; }
.wave-bar:nth-child(11) { animation-delay: 0.55s; height: 28px; }
.wave-bar:nth-child(12) { animation-delay: 0.6s; height: 16px; }
.wave-bar:nth-child(13) { animation-delay: 0.65s; height: 36px; }
.wave-bar:nth-child(14) { animation-delay: 0.7s; height: 24px; }
.wave-bar:nth-child(15) { animation-delay: 0.75s; height: 20px; }
.wave-bar:nth-child(16) { animation-delay: 0.8s; height: 12px; }

@keyframes waveAnim {
  0%, 100% { transform: scaleY(0.4); opacity: 0.4; }
  50% { transform: scaleY(1); opacity: 1; }
}

.voice-transcript {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-style: italic;
  min-height: 20px;
  text-align: center;
  margin-bottom: 12px;
}

.voice-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.voice-pulse {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

/* ===========================================
   FRAUD DASHBOARD ANIMATION
   =========================================== */
.fraud-dashboard {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  position: relative;
}

.fraud-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}

.fraud-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
}

.fraud-live-dot {
  width: 8px;
  height: 8px;
  background: var(--danger);
  border-radius: 50%;
  animation: pulse 1s infinite;
}

.fraud-feed {
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 200px;
  max-height: 240px;
  overflow: hidden;
}

.tx-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  opacity: 0;
  transform: translateX(20px);
  animation: txSlide 0.5s forwards;
}

@keyframes txSlide {
  to { opacity: 1; transform: translateX(0); }
}

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

.tx-type {
  font-weight: 500;
  color: var(--text-primary);
}

.tx-amount {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.tx-status {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tx-status.clear {
  background: rgba(0, 212, 170, 0.12);
  color: var(--success);
}

.tx-status.review {
  background: var(--warning-dim);
  color: var(--warning);
}

.tx-status.blocked {
  background: var(--danger-dim);
  color: var(--danger);
}

/* Risk Meter */
.risk-meter {
  padding: 16px 20px;
  border-top: 1px solid var(--border);
}

.risk-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.risk-bar-track {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 3px;
  margin-bottom: 12px;
  overflow: hidden;
}

.risk-bar-fill {
  height: 100%;
  width: 18%;
  background: linear-gradient(90deg, var(--success), var(--warning));
  border-radius: 3px;
  transition: width 2s ease;
}

.risk-stats {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.risk-stat {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.risk-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.risk-dot.risk-low { background: var(--success); }
.risk-dot.risk-med { background: var(--warning); }
.risk-dot.risk-high { background: var(--danger); }

/* Fraud Alert Popup */
.fraud-alert {
  position: absolute;
  bottom: 100px;
  right: 20px;
  width: 260px;
  background: var(--bg-elevated);
  border: 1px solid rgba(255, 77, 106, 0.3);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(255, 77, 106, 0.15);
  opacity: 0;
  transform: translateY(16px) scale(0.95);
  transition: opacity 0.5s, transform 0.5s;
}

.fraud-alert.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.fraud-alert-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--danger-dim);
  color: var(--danger);
  font-size: 0.78rem;
  font-weight: 600;
}

.fraud-alert-body {
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.alert-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
}

.alert-label { color: var(--text-muted); }
.alert-value { color: var(--text-primary); font-weight: 500; }
.alert-high { color: var(--danger); }
.alert-blocked { color: var(--danger); font-weight: 700; }

/* ===========================================
   APPROACH / TIMELINE
   =========================================== */
.approach-timeline {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
}

.timeline-line {
  position: absolute;
  left: 28px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent), var(--accent-secondary), transparent);
}

.approach-step {
  display: flex;
  gap: 32px;
  margin-bottom: 48px;
  opacity: 0;
  transform: translateY(24px);
}

.approach-step.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.approach-step:last-child { margin-bottom: 0; }

.step-marker {
  width: 56px;
  min-width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-primary);
  border: 2px solid var(--accent);
  border-radius: 50%;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  position: relative;
  z-index: 2;
}

.step-content h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.step-content p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 10px;
}

.step-duration {
  font-size: 0.78rem;
  font-family: var(--font-mono);
  color: var(--accent);
  background: var(--accent-dim);
  padding: 4px 12px;
  border-radius: 100px;
}

@media (max-width: 600px) {
  .timeline-line { left: 20px; }
  .step-marker { width: 40px; min-width: 40px; height: 40px; font-size: 0.75rem; }
  .approach-step { gap: 20px; }
}

/* ===========================================
   CONTACT SECTION
   =========================================== */
.contact {
  background: var(--bg-secondary);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 36px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.contact-item svg {
  color: var(--accent);
  flex-shrink: 0;
}

/* Form */
.contact-form-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--text-primary);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%235c5f6e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-group select option {
  background: var(--bg-card);
  color: var(--text-primary);
}

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

@media (max-width: 900px) {
  .contact-layout { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 500px) {
  .contact-form-wrap { padding: 28px 20px; }
}

/* ===========================================
   FOOTER
   =========================================== */
.footer {
  padding: 28px 0;
  border-top: 1px solid var(--border);
}

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

.footer-copy {
  font-size: 0.8rem;
  color: var(--text-muted);
}

@media (max-width: 600px) {
  .footer-inner {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

/* ===========================================
   ANIMATIONS & UTILITIES
   =========================================== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Responsive section padding */
@media (max-width: 768px) {
  .section {
    padding: var(--section-pad-mobile) 0;
  }
  .section-header {
    margin-bottom: 48px;
  }
  .hero-stats {
    flex-direction: column;
    gap: 24px;
  }
  .stat-divider {
    width: 48px;
    height: 1px;
  }
}

/* ===========================================
   SUCCESS TOAST NOTIFICATION
   =========================================== */
.toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(calc(100% + 48px));
  z-index: 2000;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  width: min(540px, calc(100vw - 32px));
  background: var(--bg-elevated);
  border: 1px solid rgba(0, 212, 170, 0.25);
  border-radius: var(--radius-md);
  padding: 20px 20px 20px 24px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(0, 212, 170, 0.08);
  opacity: 0;
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.35s ease;
  pointer-events: none;
}

.toast.toast-visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.toast-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-dim);
  border-radius: 50%;
  color: var(--accent);
  margin-top: 2px;
}

.toast-body {
  flex: 1;
  min-width: 0;
}

.toast-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 6px;
  letter-spacing: 0.01em;
}

.toast-message {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.toast-message strong {
  color: var(--text-primary);
  font-weight: 600;
}

.toast-close {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  transition: color 0.2s, background 0.2s;
  margin-top: 1px;
}

.toast-close:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.06);
}

@media (max-width: 600px) {
  .toast {
    bottom: 16px;
    padding: 16px;
    gap: 12px;
  }
}
