/* =========================================
   LeadLoop AI — Landing Page CSS
   Dark tech aesthetic, teal accent
   ========================================= */

/* CSS Variables */
:root {
  --bg-primary: #0B0F14;
  --bg-secondary: #111520;
  --bg-card: #141C26;
  --teal: #00E5CC;
  --teal-dim: rgba(0, 229, 204, 0.12);
  --teal-glow: rgba(0, 229, 204, 0.25);
  --white: #F0F4F8;
  --white-dim: rgba(240, 244, 248, 0.65);
  --white-faint: rgba(240, 244, 248, 0.35);
  --border: rgba(240, 244, 248, 0.08);
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--bg-primary); color: var(--white); line-height: 1.6; overflow-x: hidden; }

/* ---- HERO ---- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 6rem 2rem 4rem;
}

/* Grid background */
.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 229, 204, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 204, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}

/* Mesh glow orbs */
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
}
.hero-glow-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0, 229, 204, 0.12) 0%, transparent 70%);
  top: -100px; right: -100px;
  animation: float1 8s ease-in-out infinite;
}
.hero-glow-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(0, 229, 204, 0.07) 0%, transparent 70%);
  bottom: 0; left: 20%;
  animation: float2 10s ease-in-out infinite;
}

@keyframes float1 {
  0%, 100% { transform: translateY(0) translateX(0); }
  50% { transform: translateY(-30px) translateX(-20px); }
}
@keyframes float2 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(20px); }
}

/* Geometric decorative shapes */
.hero-geo {
  position: absolute;
  border: 1px solid rgba(0, 229, 204, 0.15);
  pointer-events: none;
}
.hero-geo-1 {
  width: 280px; height: 280px;
  border-radius: 50%;
  top: 10%; right: 8%;
  animation: spin 30s linear infinite;
  border-style: dashed;
}
.hero-geo-2 {
  width: 80px; height: 80px;
  border-radius: 4px;
  bottom: 20%; right: 15%;
  background: rgba(0, 229, 204, 0.05);
  transform: rotate(30deg);
  animation: spin 20s linear infinite reverse;
}
.hero-geo-3 {
  width: 40px; height: 40px;
  border-radius: 50%;
  top: 25%; right: 20%;
  background: rgba(0, 229, 204, 0.08);
  animation: pulse 4s ease-in-out infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0%, 100% { opacity: 0.3; transform: scale(1); } 50% { opacity: 0.8; transform: scale(1.1); } }

/* Hero inner layout */
.hero-inner {
  max-width: 640px;
  position: relative;
  z-index: 2;
  flex: 1;
}
.hero-visual {
  flex: 0 0 auto;
  position: relative;
  z-index: 2;
  display: none;
}

/* Label */
.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1.5rem;
}
.label-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--teal);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

/* Headline */
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 1.5rem;
}
.hero-headline .teal { color: var(--teal); }

/* Sub */
.hero-sub {
  font-size: 1.125rem;
  color: var(--white-dim);
  max-width: 520px;
  margin-bottom: 3rem;
  line-height: 1.7;
}

/* Proof row */
.hero-proof {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.proof-stat { display: flex; flex-direction: column; }
.proof-number {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--teal);
  line-height: 1;
}
.proof-label {
  font-size: 0.75rem;
  color: var(--white-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
}
.proof-divider {
  width: 1px; height: 36px;
  background: var(--border);
}

/* Phone frame */
.phone-frame {
  width: 220px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 4px;
  box-shadow: 0 0 60px rgba(0, 229, 204, 0.1), 0 20px 60px rgba(0,0,0,0.5);
}
.phone-notch {
  width: 80px; height: 20px;
  background: var(--bg-secondary);
  border-radius: 0 0 10px 10px;
  margin: 0 auto;
}
.phone-screen {
  background: #0a0f14;
  border-radius: 20px;
  padding: 12px;
  font-size: 0.65rem;
}
.call-indicator {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--teal);
  font-weight: 600;
  margin-bottom: 10px;
}
.call-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--teal);
  animation: pulse-dot 1.5s ease-in-out infinite;
}
.call-info {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.caller-name {
  font-weight: 600;
  color: var(--white);
}
.caller-location {
  color: var(--white-dim);
  font-size: 0.6rem;
}
.ai-response {
  background: rgba(0, 229, 204, 0.08);
  border: 1px solid rgba(0, 229, 204, 0.2);
  border-radius: 8px;
  padding: 8px;
  margin-bottom: 8px;
}
.ai-badge {
  font-size: 0.55rem;
  font-weight: 700;
  color: var(--teal);
  background: rgba(0, 229, 204, 0.15);
  display: inline-block;
  padding: 1px 5px;
  border-radius: 3px;
  margin-bottom: 4px;
}
.ai-response p {
  color: var(--white-dim);
  line-height: 1.4;
  font-size: 0.6rem;
}
.call-transcript {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 8px;
}
.transcript-line {
  font-size: 0.58rem;
  color: var(--white-faint);
  line-height: 1.3;
}
.transcript-positive { color: var(--teal); }
.booking-confirmed {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--teal);
  font-size: 0.62rem;
  font-weight: 600;
  background: rgba(0, 229, 204, 0.08);
  padding: 4px 8px;
  border-radius: 6px;
  border: 1px solid rgba(0, 229, 204, 0.2);
}

/* ---- LEAD PROBLEM ---- */
.lead-problem {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 6rem 2rem;
}
.problem-inner { max-width: 960px; margin: 0 auto; }
.problem-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1.5rem;
}
.problem-headline {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--white);
  max-width: 700px;
  margin-bottom: 3.5rem;
}
.problem-headline .highlight { color: var(--teal); }
.problem-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}
.pstat {}
.pstat-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.pstat p {
  font-size: 0.9rem;
  color: var(--white-dim);
  line-height: 1.5;
  max-width: 260px;
}

/* ---- FEATURES ---- */
.features { padding: 6rem 2rem; }
.features-inner { max-width: 960px; margin: 0 auto; }
.features-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1rem;
}
.features-headline {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 3rem;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  transition: border-color 0.3s, transform 0.3s;
}
.feature-card:hover {
  border-color: rgba(0, 229, 204, 0.25);
  transform: translateY(-4px);
}
.feature-icon {
  width: 48px; height: 48px;
  background: var(--teal-dim);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.75rem;
}
.feature-card p {
  font-size: 0.9rem;
  color: var(--white-dim);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}
.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
}
.feature-tags li {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--teal);
  background: var(--teal-dim);
  padding: 3px 10px;
  border-radius: 20px;
}

/* ---- OUTCOMES ---- */
.outcomes {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 6rem 2rem;
}
.outcomes-inner { max-width: 960px; margin: 0 auto; }
.outcomes-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1rem;
}
.outcomes-headline {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 3rem;
}
.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}
.outcome {}
.outcome-number {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--teal);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.outcome-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
}
.outcome p {
  font-size: 0.9rem;
  color: var(--white-dim);
  line-height: 1.6;
}

/* ---- STACK ---- */
.stack { padding: 6rem 2rem; text-align: center; }
.stack-inner { max-width: 720px; margin: 0 auto; }
.stack-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1rem;
}
.stack-headline {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
}
.stack-sub {
  font-size: 0.95rem;
  color: var(--white-dim);
  margin-bottom: 2.5rem;
  line-height: 1.7;
}
.stack-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}
.stack-item {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--white-dim);
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 6px;
}
.stack-sep { color: var(--teal); font-weight: 700; }

/* ---- CLOSING ---- */
.closing {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 8rem 2rem;
  text-align: center;
}
.closing-inner { max-width: 760px; margin: 0 auto; position: relative; }
.closing-geo {
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px; height: 200px;
  border-radius: 50%;
  border: 1px dashed rgba(0, 229, 204, 0.15);
  animation: spin 40s linear infinite;
}
.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 1.5rem;
  position: relative;
}
.closing-sub {
  font-size: 1rem;
  color: var(--white-dim);
  line-height: 1.7;
  max-width: 580px;
  margin: 0 auto;
  position: relative;
}

/* ---- FOOTER ---- */
.footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 2rem;
}
.footer-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
}
.footer-tagline {
  font-size: 0.85rem;
  color: var(--white-dim);
  margin-left: 0.75rem;
}
.footer-links {
  font-size: 0.8rem;
  color: var(--white-faint);
}

/* ---- RESPONSIVE ---- */
@media (min-width: 768px) {
  .hero { display: flex; gap: 4rem; }
  .hero-visual { display: block; }
}

@media (max-width: 640px) {
  .hero { padding: 4rem 1.25rem 3rem; }
  .hero-headline { font-size: 2.25rem; }
  .problem-stats { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .outcomes-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

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