/* ==========================================================================
   IndiaMart Lead Extractor — Design Tokens
   Palette: deep navy surface + teal "scan" accent + warm gold for price/CTA
   Type: Space Grotesk (display) / Inter (body) / JetBrains Mono (data)
   ========================================================================== */

:root{
  --bg: #0a0f1a;
  --surface: #10192b;
  --surface-2: #16223a;
  --border: #223252;
  --text: #e8edf6;
  --text-muted: #93a0b8;
  --accent: #24d3b5;      /* teal - scan / extraction */
  --accent-dim: #16866f;
  --gold: #f2b544;        /* price / pro highlight */
  --danger: #ef5a5a;

  --font-display: 'Space Grotesk', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 20px 50px -20px rgba(0,0,0,0.6);
  --wrap: 1160px;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }

body{
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img{ max-width: 100%; display: block; }

h1,h2,h3{
  font-family: var(--font-display);
  line-height: 1.15;
  margin: 0 0 .5em;
  font-weight: 600;
  letter-spacing: -0.01em;
}

p{ margin: 0 0 1em; color: var(--text-muted); }

a{ color: inherit; text-decoration: none; }

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

.skip-link{
  position:absolute; left:-999px; top:0;
  background:var(--accent); color:#04211c; padding:10px 16px; z-index:999;
}
.skip-link:focus{ left: 12px; top: 12px; }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.4em;
  padding: 14px 26px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover{ transform: translateY(-2px); }
.btn:focus-visible{ outline: 2px solid var(--accent); outline-offset: 3px; }

.btn-primary{
  background: var(--accent);
  color: #04211c;
  box-shadow: 0 10px 30px -10px rgba(36,211,181,.55);
}
.btn-primary:hover{ background: #38e6c8; }

.btn-ghost{
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover{ border-color: var(--accent); color: var(--accent); }

.btn-outline{
  background: transparent;
  border-color: var(--border);
  color: var(--text);
  width: 100%;
}
.btn-outline:hover{ border-color: var(--accent); color: var(--accent); }

.btn-small{ padding: 9px 18px; font-size: 14px; }

/* ---------- Header ---------- */
.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10,15,26,.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 16px 24px;
}
.brand{ display:flex; align-items:center; gap:10px; font-family: var(--font-display); font-weight:700; }
.brand-mark{
  background: var(--accent);
  color:#04211c;
  font-size: 13px;
  padding: 5px 8px;
  border-radius: 6px;
  font-family: var(--font-mono);
}
.brand-name{ font-size: 17px; }

.main-nav{ display:flex; gap: 28px; }
.main-nav a{ color: var(--text-muted); font-size: 14.5px; font-weight:500; transition: color .15s; }
.main-nav a:hover{ color: var(--accent); }

@media (max-width: 820px){
  .main-nav{ display:none; }
}

/* ---------- Hero ---------- */
.hero{
  padding: 76px 0 60px;
  background:
    radial-gradient(600px 300px at 85% -10%, rgba(36,211,181,.14), transparent 60%),
    var(--bg);
}
.hero-inner{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items:center;
}
@media (max-width: 920px){
  .hero-inner{ grid-template-columns: 1fr; }
}

.badge{
  display:inline-block;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--accent);
  background: rgba(36,211,181,.1);
  border: 1px solid rgba(36,211,181,.35);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 20px;
}

h1{ font-size: clamp(32px, 4.4vw, 48px); color:#fff; margin-bottom: 18px; }
.hero-sub{ font-size: 17px; max-width: 54ch; }
.hero-line{ font-weight: 600; color: var(--text); }

.hero-actions{ display:flex; gap: 14px; flex-wrap: wrap; margin: 24px 0 26px; }

.trust-row{
  list-style:none;
  padding:0; margin:0;
  display:flex; flex-wrap:wrap; gap: 10px 18px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--text-muted);
}
.trust-row li{ position: relative; padding-left: 16px; }
.trust-row li::before{
  content:''; position:absolute; left:0; top:6px;
  width:7px; height:7px; border-radius:50%; background: var(--accent);
}

/* ---------- Hero visual: scanning panel (signature element) ---------- */
.scan-panel{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.scan-panel-head{
  display:flex; align-items:center; gap:8px;
  padding: 12px 16px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}
.dot{ width:9px; height:9px; border-radius:50%; }
.dot-red{ background:#ef5a5a; } .dot-amber{ background:#f2b544; } .dot-green{ background:#24d3b5; }
.scan-panel-title{
  margin-left: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
}

.scan-status{
  display:flex; align-items:center; gap:8px;
  padding: 12px 16px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--accent);
  border-bottom: 1px dashed var(--border);
}
.scan-pulse{
  width:8px; height:8px; border-radius:50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(36,211,181,.6);
  animation: pulse 1.6s infinite;
}
@keyframes pulse{
  0%{ box-shadow: 0 0 0 0 rgba(36,211,181,.55); }
  70%{ box-shadow: 0 0 0 10px rgba(36,211,181,0); }
  100%{ box-shadow: 0 0 0 0 rgba(36,211,181,0); }
}

.scan-table{ padding: 10px 8px; }
.scan-row{
  position: relative;
  margin: 6px 8px;
  padding: 12px 12px;
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  border: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
  opacity: .5;
  transition: opacity .4s ease, border-color .4s ease, background .4s ease;
}
.scan-row::before{ content: attr(data-name); display:block; color: var(--text); font-size: 12.5px; margin-bottom: 4px; font-weight: 600;}
.scan-row::after{ content: attr(data-phone) " · " attr(data-req) " · " attr(data-city) " · " attr(data-time); display:block; }
.scan-row.is-active{
  opacity: 1;
  border-color: var(--accent);
  background: rgba(36,211,181,.08);
}

.scan-foot{
  display:flex; align-items:center; justify-content:space-between;
  padding: 12px 16px;
  border-top: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 12.5px;
}
#scanCount{ color: var(--text-muted); }
.scan-foot-btn{ color: var(--accent); font-weight:600; }

/* ---------- Why ---------- */
.why{ padding: 50px 0; border-top: 1px solid var(--border); }
.why h2{ font-size: 26px; color:#fff; }
.why p{ font-size: 16px; }

/* ---------- Section head ---------- */
.section-head{ text-align:center; max-width: 640px; margin: 0 auto 44px; }
.eyebrow{
  display:inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.section-head h2{ font-size: clamp(24px, 3vw, 32px); color:#fff; }

/* ---------- Features ---------- */
.features{ padding: 70px 0; background: var(--surface); border-top:1px solid var(--border); border-bottom:1px solid var(--border);}
.feature-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 900px){ .feature-grid{ grid-template-columns: repeat(2,1fr); } }
@media (max-width: 600px){ .feature-grid{ grid-template-columns: 1fr; } }

.feature-card{
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  transition: transform .2s ease, border-color .2s ease;
}
.feature-card:hover{ transform: translateY(-4px); border-color: var(--accent); }
.feature-icon{ font-size: 26px; display:block; margin-bottom: 12px; }
.feature-card h3{ font-size: 17px; color:#fff; margin-bottom: 8px; }
.feature-card p{ font-size: 14.5px; margin: 0; }

.info-row{
  margin-top: 44px;
  display:grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow:hidden;
}
@media (max-width: 780px){ .info-row{ grid-template-columns: repeat(2,1fr); } }
.info-row > div{
  background: var(--surface-2);
  padding: 18px 16px;
  display:flex; flex-direction:column; gap:6px;
}
.info-label{ font-family: var(--font-mono); font-size: 11px; text-transform:uppercase; letter-spacing:.06em; color: var(--text-muted); }
.info-value{ font-size: 14px; font-weight:600; color:#fff; }

/* ---------- How it works ---------- */
.how{ padding: 74px 0; }
.steps{ list-style:none; margin:0; padding:0; max-width: 680px; margin:0 auto; }
.steps li{
  display:flex; gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
}
.steps li:last-child{ border-bottom:none; }
.step-num{
  flex: none;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--accent);
  color: var(--accent);
  font-family: var(--font-mono);
  font-weight:600;
  display:flex; align-items:center; justify-content:center;
}
.steps h3{ font-size: 16.5px; color:#fff; margin-bottom:4px; }
.steps p{ margin:0; font-size:14.5px; }

/* ---------- Pricing ---------- */
.pricing{ padding: 74px 0; background: var(--surface); border-top:1px solid var(--border); border-bottom:1px solid var(--border); }
.price-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 760px;
  margin: 0 auto;
}
@media (max-width: 700px){ .price-grid{ grid-template-columns: 1fr; } }

.price-card{
  position: relative;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  display:flex; flex-direction:column;
}
.price-card h3{ color:#fff; font-size: 18px; }
.price-tag{ font-family: var(--font-display); font-size: 38px; color:#fff; margin: 6px 0 18px; }
.price-tag span{ font-size: 14px; color: var(--text-muted); font-family: var(--font-body); font-weight:400; }
.price-card ul{ list-style:none; padding:0; margin: 0 0 24px; flex:1; }
.price-card li{ padding: 8px 0; font-size: 14.5px; color: var(--text-muted); border-bottom: 1px dashed var(--border); }
.price-card li:last-child{ border-bottom:none; }

.price-card-pro{ border-color: var(--gold); background: linear-gradient(180deg, rgba(242,181,68,.08), var(--surface-2) 40%); }
.price-flag{
  position:absolute; top: -12px; right: 24px;
  background: var(--gold);
  color:#241a02;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight:700;
  padding: 5px 12px;
  border-radius: 999px;
}
.price-card-pro .price-tag{ color: var(--gold); }

.pricing-note{ text-align:center; max-width: 620px; margin: 30px auto 6px; font-size: 14.5px; }
.pricing-secure{ text-align:center; font-family: var(--font-mono); font-size: 12.5px; color: var(--text-muted); }

/* ---------- Who ---------- */
.who{ padding: 70px 0; }
.who h2{ text-align:center; font-size: 26px; color:#fff; margin-bottom: 30px; }
.who-list{
  list-style:none; margin:0; padding:0;
  display:grid; grid-template-columns: 1fr 1fr; gap: 14px;
  max-width: 780px; margin:0 auto;
}
@media (max-width: 680px){ .who-list{ grid-template-columns: 1fr; } }
.who-list li{
  background: var(--surface);
  border:1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  font-size: 14.5px;
  color: var(--text);
  position: relative;
  padding-left: 40px;
}
.who-list li::before{
  content:'✓'; position:absolute; left:16px; top:15px; color: var(--accent); font-weight:700;
}

/* ---------- FAQ ---------- */
.faq{ padding: 74px 0; background: var(--surface); border-top:1px solid var(--border); border-bottom:1px solid var(--border); }
.accordion{ display:flex; flex-direction:column; gap: 10px; }
.acc-item{ background: var(--surface-2); border:1px solid var(--border); border-radius: var(--radius-sm); overflow:hidden; }
.acc-trigger{
  width:100%;
  background:none; border:none;
  color: var(--text);
  font-family: var(--font-body);
  font-weight:600;
  font-size: 15px;
  text-align:left;
  padding: 16px 18px;
  cursor:pointer;
  display:flex; align-items:center; justify-content:space-between; gap: 12px;
}
.acc-trigger:hover{ color: var(--accent); }
.acc-icon{ font-family: var(--font-mono); color: var(--accent); transition: transform .2s ease; flex:none; }
.acc-trigger[aria-expanded="true"] .acc-icon{ transform: rotate(45deg); }

.acc-panel{
  max-height:0;
  overflow:hidden;
  transition: max-height .3s ease;
}
.acc-panel p{ padding: 0 18px 18px; margin:0; font-size: 14.5px; }

/* ---------- Support ---------- */
.support{ padding: 74px 0; text-align:center; }
.support h2{ font-size: 26px; color:#fff; }
.support p{ max-width: 520px; margin: 0 auto 24px; }
.support-links{ display:flex; justify-content:center; gap: 22px; flex-wrap:wrap; margin-bottom: 26px; }
.support-link{
  display:flex; align-items:center; gap:8px;
  font-family: var(--font-mono);
  font-size: 14.5px;
  color: var(--text);
  background: var(--surface);
  border:1px solid var(--border);
  padding: 10px 16px;
  border-radius: 999px;
}
.support-link:hover{ border-color: var(--accent); color: var(--accent); }

/* ---------- Footer ---------- */
.site-footer{ padding: 32px 0; border-top: 1px solid var(--border); }
.footer-inner{ text-align:center; color: var(--text-muted); font-size: 13px; }
.footer-brand{ color:#fff; font-family: var(--font-display); font-weight:600; margin-bottom: 6px; }
.footer-support{ font-family: var(--font-mono); }

/* ---------- Payment modal ---------- */
.pay-modal{
  position: fixed; inset: 0;
  background: rgba(5,8,14,.72);
  display:flex; align-items:center; justify-content:center;
  z-index: 200;
  padding: 20px;
}
.pay-modal[hidden]{ display:none; }
.pay-modal-card{
  background: var(--surface);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  padding: 32px;
  max-width: 420px;
  width: 100%;
  text-align:center;
  box-shadow: var(--shadow);
}
.pay-modal-card h3{ color:#fff; }
.pay-id{
  font-family: var(--font-mono);
  background: var(--surface-2);
  border:1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px;
  word-break: break-all;
  color: var(--accent);
}
.pay-modal-actions{ display:flex; gap: 10px; justify-content:center; margin-top: 20px; flex-wrap:wrap; }

/* ---------- Scroll reveal ---------- */
.reveal{
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.is-visible{
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce){
  *{ animation: none !important; transition: none !important; }
  html{ scroll-behavior: auto; }
  .reveal{ opacity:1; transform:none; }
}

/* ==========================================================================
   Humanised visual pass - calmer, less synthetic, same layout
   ========================================================================== */

:root{
  --bg: #0b1220;
  --surface: #101827;
  --surface-2: #151f31;
  --surface-3: #1b2639;
  --border: #29364d;
  --text: #eef3f8;
  --text-muted: #a8b3c4;
  --accent: #35c9aa;
  --accent-dim: #23977f;
  --gold: #e9b24b;
  --orange: #ff7b45;
  --shadow: 0 18px 42px -28px rgba(0,0,0,.65);
  --glow: none;
}

body{
  min-height: 100vh;
  background:
    linear-gradient(180deg, #0b1220 0%, #0d1524 46%, #0b1220 100%);
}

body::before{
  display: none;
}

.site-header{
  background: rgba(11, 18, 32, .94);
  border-bottom-color: #202b3d;
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
}

.brand-mark{
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 8px;
  background: #35c9aa;
  color: #06261f;
  box-shadow: none;
}

.main-nav a{
  position: relative;
}

.btn{
  min-height: 48px;
  border-radius: 10px;
  letter-spacing: -.01em;
}

.btn-primary{
  background: #2aa98f;
  box-shadow: 0 10px 24px -20px rgba(53,201,170,.62);
}

.btn-primary:hover{
  background: #31b79c;
}

.btn-ghost,
.btn-outline{
  background: rgba(255,255,255,.035);
  border-color: rgba(157,183,222,.18);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}

.hero{
  position: relative;
  overflow: hidden;
  padding: 78px 0 68px;
  background: transparent;
}

.hero::before{
  display: none;
}

.badge,
.eyebrow{
  color: #9bf6dc;
}

.badge{
  background: rgba(53,201,170,.11);
  border-color: rgba(53,201,170,.25);
  box-shadow: none;
}

h1{
  max-width: 12.6em;
  letter-spacing: -.035em;
}

.hero-sub{
  color: #b6c2d4;
}

.hero-line{
  color: #f5f9ff;
}

.trust-row li{
  padding: 7px 12px 7px 26px;
  border: 1px solid #243149;
  border-radius: 999px;
  background: #111b2b;
}

.trust-row li::before{
  left: 13px;
  top: 15px;
  background: var(--accent);
  box-shadow: none;
}

.scan-panel{
  position: relative;
  border-color: #2b3a54;
  background: #101827;
  box-shadow: var(--shadow);
}

.scan-panel::before{
  display: none;
}

.scan-panel-head{
  background: #151f31;
}

.scan-row{
  border-color: #27364f;
  background: #151f31;
}

.scan-row.is-active{
  border-color: #35c9aa;
  background: #142b35;
  box-shadow: none;
}

.why,
.how,
.who,
.support{
  position: relative;
}

.features,
.pricing,
.faq{
  background: #101827;
  backdrop-filter: none;
}

.feature-card,
.price-card,
.acc-item,
.who-list li,
.support-link,
.info-row > div{
  background: #151f31;
  border-color: #29364d;
  box-shadow: 0 12px 32px -26px rgba(0,0,0,.72);
}

.feature-card{
  min-height: 232px;
}

.feature-card:hover,
.price-card:hover,
.who-list li:hover{
  transform: translateY(-3px);
  border-color: #35c9aa;
  box-shadow: 0 16px 34px -26px rgba(0,0,0,.78);
}

.feature-icon{
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #102a35;
  border: 1px solid #244557;
}

.info-row{
  background: #29364d;
  border-color: #29364d;
}

.step-num{
  background: #102a35;
  box-shadow: none;
}

.price-card{
  overflow: hidden;
}

.price-card::before{
  content:'';
  position:absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: rgba(109,242,207,.28);
}

.price-card-pro{
  border-color: #b98b36;
  background: #172235;
}

.price-card-pro::before{
  background: linear-gradient(90deg, var(--gold), var(--orange));
}

.price-card-pro .btn-primary,
#pricingBuyBtn{
  background: #d96f3c;
  color: #271504;
  box-shadow: 0 10px 24px -22px rgba(255,122,61,.54);
}

.price-flag{
  box-shadow: none;
}

.support-link{
  border-radius: 14px;
}

.pay-modal-card{
  background: #111c30;
}

.pay-id-row{
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: stretch;
}

.btn-copy{
  min-width: 88px;
}

.pay-help{
  margin-top: 12px;
  font-size: 14px;
}

.pay-form{
  display: grid;
  gap: 10px;
  margin-top: 18px;
  text-align: left;
}

.pay-form label{
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
}

.pay-form input{
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  color: var(--text);
  padding: 10px 12px;
  font: inherit;
}

.pay-form input:focus{
  outline: 2px solid rgba(53,201,170,.28);
  outline-offset: 2px;
}

.pay-form-status{
  min-height: 20px;
  margin: 0;
  color: var(--text-muted);
  font-size: 13px;
  text-align: center;
}

@media (max-width: 920px){
  .hero{
    padding-top: 58px;
  }
  h1{
    max-width: none;
  }
}

@media (max-width: 560px){
  .wrap{
    padding: 0 18px;
  }
  .hero-actions .btn{
    width: 100%;
  }
  .trust-row li{
    width: 100%;
  }
  .scan-foot{
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}
