/* LeadChirp Modern Aesthetic Design System */
:root {
  --bg-main: #07080a;
  --bg-card: #0e1117;
  --bg-card-hover: #141923;
  --accent-emerald: #00f59b;
  --accent-emerald-glow: rgba(0, 245, 155, 0.25);
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-emerald: rgba(0, 245, 155, 0.4);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.6);
}

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

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.5;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(0, 245, 155, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 85% 85%, rgba(0, 136, 204, 0.05) 0%, transparent 40%);
}

/* Hide scrollbars for clean UI */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Navbar */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 48px;
  border-bottom: 1px solid var(--border-subtle);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 8, 10, 0.85);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--accent-emerald) 0%, #00b374 100%);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 0 20px var(--accent-emerald-glow);
}

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

.brand-name span {
  color: var(--accent-emerald);
}

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

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

.nav-links a:hover {
  color: var(--accent-emerald);
}

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

.btn-ghost {
  background: transparent;
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-ghost:hover {
  border-color: var(--accent-emerald);
  color: var(--accent-emerald);
  background: rgba(0, 245, 155, 0.05);
}

.btn-primary {
  background: var(--accent-emerald);
  color: #07080a;
  border: none;
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  box-shadow: 0 4px 18px var(--accent-emerald-glow);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(0, 245, 155, 0.35);
  background: #05ffa3;
}

/* Hero Section */
.hero {
  max-width: 1280px;
  margin: 60px auto 100px;
  padding: 0 48px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 245, 155, 0.08);
  border: 1px solid rgba(0, 245, 155, 0.25);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-emerald);
  margin-bottom: 24px;
}

.hero-pill .dot {
  width: 8px;
  height: 8px;
  background: var(--accent-emerald);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-emerald);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

.hero h1 {
  font-size: 54px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
}

.hero h1 span.gradient-text {
  background: linear-gradient(135deg, #ffffff 0%, #a5f3fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p.hero-desc {
  font-size: 19px;
  color: var(--text-muted);
  margin-bottom: 32px;
  line-height: 1.6;
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 40px;
}

.latency-badge {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  width: fit-content;
}

.latency-item {
  display: flex;
  flex-direction: column;
}

.latency-label {
  font-size: 12px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.latency-val {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 700;
  color: var(--accent-emerald);
}

/* Mobile Phone Simulator */
.simulator-container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.phone-frame {
  width: 380px;
  max-width: 100%;
  height: 680px;
  background: #0b0c10;
  border-radius: 44px;
  border: 8px solid #212532;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
  padding: 16px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.phone-notch {
  width: 120px;
  height: 24px;
  background: #212532;
  border-radius: 0 0 16px 16px;
  margin: -16px auto 16px;
}

.phone-status-bar {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
  padding: 0 12px 12px;
  font-weight: 600;
}

.notification-banner {
  background: #141722;
  border: 1px solid rgba(0, 245, 155, 0.3);
  border-radius: 18px;
  padding: 14px 16px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
  transform: translateY(0);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  animation: slideDown 0.6s ease-out;
  margin-bottom: 12px;
}

@keyframes slideDown {
  0% { transform: translateY(-30px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

.notif-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.notif-app-info {
  display: flex;
  align-items: center;
  gap: 8px;
}

.notif-app-icon {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: #0088cc;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 11px;
}

.notif-app-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
}

.notif-time {
  font-size: 11px;
  color: var(--text-dim);
}

.notif-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-emerald);
  margin-bottom: 6px;
}

.notif-body {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 12px;
}

.notif-actions {
  display: flex;
  gap: 8px;
}

.notif-btn {
  flex: 1;
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
}

.notif-btn.call-btn {
  background: var(--accent-emerald);
  color: #07080a;
  border: none;
}

/* Sandbox Card inside simulator */
.sandbox-card {
  margin-top: auto;
  background: #11141e;
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 16px;
}

.sandbox-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.sandbox-title span {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
}

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

.form-control {
  width: 100%;
  padding: 9px 12px;
  background: #07080a;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  color: #fff;
  font-size: 13px;
  font-family: var(--font-sans);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-emerald);
  box-shadow: 0 0 10px var(--accent-emerald-glow);
}

/* Asymmetric Bento Grid */
.section {
  max-width: 1280px;
  margin: 0 auto 120px;
  padding: 0 48px;
}

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

.section-tag {
  color: var(--accent-emerald);
  font-family: var(--font-mono);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 12px;
}

.section-title {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 600px;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}

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

.bento-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(0, 245, 155, 0.2);
  transform: translateY(-2px);
}

.bento-col-7 { grid-column: span 7; min-height: 380px; }
.bento-col-5 { grid-column: span 5; min-height: 380px; }
.bento-col-4 { grid-column: span 4; min-height: 340px; }
.bento-col-8 { grid-column: span 8; min-height: 340px; }

.bento-label {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-dim);
  margin-bottom: 12px;
  display: block;
}

.bento-card h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #fff;
}

.bento-card p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
}

/* Pipeline Stream Visualizer */
.pipeline-visualizer {
  margin-top: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #07080a;
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

.pipeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
}

.pipeline-node {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #141923;
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.pipeline-node.active {
  border-color: var(--accent-emerald);
  box-shadow: 0 0 20px var(--accent-emerald-glow);
  background: rgba(0, 245, 155, 0.1);
}

.pipeline-step-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-main);
}

.pipeline-step-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent-emerald);
}

.pipeline-connector {
  flex: 1;
  height: 2px;
  background: var(--border-subtle);
  position: relative;
  margin: 0 16px;
}

.pipeline-pulse {
  position: absolute;
  top: -3px;
  left: 0;
  width: 8px;
  height: 8px;
  background: var(--accent-emerald);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-emerald);
  animation: pulseStream 2.5s infinite linear;
}

@keyframes pulseStream {
  0% { left: 0%; opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}

/* Terminal Payload Window */
.terminal-window {
  margin-top: 24px;
  background: #07080a;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  font-family: var(--font-mono);
}

.terminal-header {
  background: #0e1117;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 11px;
  color: var(--text-dim);
}

.terminal-dots {
  display: flex;
  gap: 6px;
}

.terminal-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #212532;
}

.terminal-content {
  padding: 16px;
  font-size: 12px;
  line-height: 1.7;
  color: #a5f3fc;
  white-space: pre;
  overflow-x: auto;
}

/* Savings Box */
.savings-box {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: #07080a;
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

.savings-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
}

.savings-val.zapier {
  color: #f43f5e;
  font-family: var(--font-mono);
  font-weight: 700;
  text-decoration: line-through;
}

.savings-val.leadchirp {
  color: var(--accent-emerald);
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 800;
}

/* Framework Pills */
.framework-pills {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.pill {
  padding: 8px 16px;
  background: #07080a;
  border: 1px solid var(--border-subtle);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}

.pill.active {
  border-color: rgba(0, 245, 155, 0.3);
  color: #fff;
  background: rgba(0, 245, 155, 0.05);
}

/* Code Snippet Box */
.code-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.code-tabs {
  display: flex;
  background: #07080a;
  border-bottom: 1px solid var(--border-subtle);
}

.code-tab {
  padding: 16px 24px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all 0.2s ease;
}

.code-tab.active {
  color: var(--accent-emerald);
  border-bottom-color: var(--accent-emerald);
  background: rgba(0, 245, 155, 0.03);
}

.code-content {
  padding: 24px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: #a5f3fc;
  line-height: 1.7;
  white-space: pre-wrap;
  overflow-x: auto;
}

/* Dashboard Workspace Container */
.dashboard-container {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.table-wrapper {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

th {
  padding: 14px 16px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-dim);
  text-transform: uppercase;
  border-bottom: 1px solid var(--border-subtle);
}

td {
  padding: 16px;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 14px;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: rgba(0, 245, 155, 0.1);
  border: 1px solid rgba(0, 245, 155, 0.2);
  border-radius: 100px;
  color: var(--accent-emerald);
  font-size: 12px;
  font-weight: 600;
}

.status-badge .dot {
  width: 6px;
  height: 6px;
  background: var(--accent-emerald);
  border-radius: 50%;
}

/* Pricing Section */
.pricing-box {
  background: var(--bg-card);
  border: 1px solid var(--border-emerald);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: 0 0 60px rgba(0, 245, 155, 0.1);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.price-tag {
  font-size: 56px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}

.price-tag span {
  font-size: 18px;
  color: var(--text-muted);
  font-weight: 500;
}

.pricing-features {
  list-style: none;
  margin: 24px 0 32px;
}

.pricing-features li {
  font-size: 15px;
  color: var(--text-main);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.pricing-features li::before {
  content: "✓";
  color: var(--accent-emerald);
  font-weight: 800;
}

/* Footer */
footer {
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px 48px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-dim);
  font-size: 14px;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-left {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-cta-group {
    justify-content: center;
  }

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

  .bento-col-7, .bento-col-5, .bento-col-4, .bento-col-8 {
    grid-column: span 1;
  }

  .pricing-box {
    grid-template-columns: 1fr;
  }
}
