:root{
  --bg:#0b1220;
  --card:#101a31;
  --muted:#93a4c7;
  --text:#e9eeff;
  --line:rgba(255,255,255,.10);
  --accent:#7c5cff;
  --accent2:#22d3ee;
  --shadow: 0 18px 50px rgba(0,0,0,.35);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  background:
    radial-gradient(900px 500px at 20% 10%, rgba(124,92,255,.25), transparent 60%),
    radial-gradient(900px 500px at 80% 20%, rgba(34,211,238,.18), transparent 60%),
    var(--bg);
}

a{color:inherit; text-decoration:none}
.container{width:min(1120px, 92%); margin:0 auto}

.header{
  position:sticky; top:0; z-index:50;
  backdrop-filter: blur(10px);
  background: rgba(11,18,32,.75);
  border-bottom:1px solid var(--line);
}
.nav-wrap{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 0;
}
.brand{display:flex; align-items:center; gap:10px; font-weight:700}
.brand-mark{
  width:36px; height:36px; display:grid; place-items:center;
  border-radius:10px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color:#061021;
  font-weight:800;
}
.brand-name{letter-spacing:.2px}

.nav{display:flex; align-items:center; gap:18px}
.nav a{
  color:var(--muted);
  font-weight:600;
  font-size:14px;
}
.nav a:hover{color:var(--text)}
.nav a.active{color:var(--text)}
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:10px;
  padding:12px 16px;
  border-radius:12px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color:#061021;
  font-weight:800;
  box-shadow: var(--shadow);
  border:0;
  cursor:pointer;
}
.btn:hover{transform: translateY(-1px)}
.btn:active{transform: translateY(0px)}
.btn-small{padding:10px 12px; border-radius:10px}
.btn-ghost{
  background:transparent;
  border:1px solid var(--line);
  box-shadow:none;
  color:var(--text);
  font-weight:700;
}
.btn-ghost:hover{border-color: rgba(255,255,255,.18)}

.nav-toggle{
  display:none;
  background:transparent;
  border:1px solid var(--line);
  border-radius:12px;
  padding:10px;
}
.nav-toggle span{
  display:block; width:22px; height:2px; background:var(--text);
  margin:5px 0; border-radius:2px;
}

/* Hero */
.hero{padding:68px 0 22px}
.hero-grid{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap:26px;
  align-items:center;
}
.pill{
  display:inline-flex;
  gap:8px;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid var(--line);
  color:var(--muted);
  font-weight:600;
  font-size:13px;
}
h1{font-size:44px; line-height:1.05; margin:16px 0 10px}
.muted{color:var(--muted)}
.lead{font-size:16px; color:var(--muted); line-height:1.65; max-width:56ch}

.hero-cta{display:flex; gap:12px; margin:18px 0 18px; flex-wrap:wrap}

.mini-stats{display:flex; gap:14px; margin-top:8px; flex-wrap:wrap}
.stat{
  padding:10px 12px;
  border:1px solid var(--line);
  border-radius:14px;
  background: rgba(255,255,255,.03);
}
.stat-num{font-weight:800}
.stat-label{font-size:13px; color:var(--muted)}

/* Phone mock */
.hero-card{
  border:1px solid var(--line);
  background: rgba(255,255,255,.03);
  border-radius:22px;
  padding:18px;
  box-shadow: var(--shadow);
}
.phone{
  width:min(320px, 90%);
  margin:0 auto;
  border-radius:26px;
  background:#050a14;
  border:1px solid rgba(255,255,255,.12);
  padding:10px;
  position:relative;
}
.phone-notch{
  position:absolute;
  top:12px; left:50%;
  transform:translateX(-50%);
  width:120px; height:18px;
  border-radius:999px;
  background:#03060f;
  border:1px solid rgba(255,255,255,.08);
}
.phone-screen{
  border-radius:20px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.10);
  background: linear-gradient(180deg, rgba(124,92,255,.18), rgba(34,211,238,.10));
  min-height:520px;
}
.mock-top{display:flex; gap:6px; padding:14px}
.dot{width:8px; height:8px; border-radius:50%; background: rgba(255,255,255,.35)}
.mock-body{padding:18px}
.mock-title{font-weight:900; font-size:18px; margin-bottom:14px}
.mock-row{
  display:flex; justify-content:space-between;
  padding:10px 12px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:14px;
  background: rgba(0,0,0,.18);
  margin-bottom:10px;
}
.mock-chart{
  height:120px;
  border-radius:16px;
  background: linear-gradient(135deg, rgba(124,92,255,.35), rgba(34,211,238,.25));
  border:1px dashed rgba(255,255,255,.18);
  margin:14px 0;
}
.mock-tags{display:flex; gap:8px; flex-wrap:wrap}
.mock-tags span{
  font-size:12px;
  padding:8px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.18);
}
.hero-note{
  margin:14px 0 0;
  color:var(--muted);
  font-size:13px;
  text-align:center;
}

/* Sections */
.section{padding:72px 0}
.section.alt{
  background: rgba(255,255,255,.02);
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}
.section-head{margin-bottom:22px}
.section-head h2{margin:0; font-size:30px}
.section-head p{margin:8px 0 0; color:var(--muted); max-width:70ch; line-height:1.6}

.grid.cards{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:14px;
}
.card{
  border:1px solid var(--line);
  background: rgba(255,255,255,.03);
  border-radius:18px;
  padding:16px 16px 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,.22);
}
.card h3{margin:0 0 6px; font-size:16px}
.card p{margin:0; color:var(--muted); line-height:1.6; font-size:14px}

.screen-row{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:14px;
}
.screen{
  border-radius:18px;
  border:1px dashed rgba(255,255,255,.18);
  background: rgba(0,0,0,.16);
  padding:42px 16px;
  text-align:center;
  color:var(--muted);
}
.hint{color:var(--muted)}
code{
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10);
  padding:2px 8px;
  border-radius:999px;
}

.steps{list-style:none; padding:0; margin:0; display:grid; gap:12px}
.step{
  display:flex; gap:12px;
  border:1px solid var(--line);
  border-radius:18px;
  padding:14px;
  background: rgba(255,255,255,.03);
}
.step-num{
  width:38px; height:38px;
  display:grid; place-items:center;
  border-radius:14px;
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.12);
  font-weight:900;
}
.step h3{margin:0 0 4px}
.step p{margin:0; color:var(--muted); line-height:1.6}

.cta-box{
  margin-top:18px;
  display:flex; justify-content:space-between; align-items:center;
  gap:14px;
  padding:16px;
  border-radius:20px;
  border:1px solid rgba(255,255,255,.14);
  background: linear-gradient(135deg, rgba(124,92,255,.20), rgba(34,211,238,.12));
}

.faq{display:grid; gap:10px}
details{
  border:1px solid var(--line);
  border-radius:16px;
  padding:12px 14px;
  background: rgba(255,255,255,.03);
}
summary{cursor:pointer; font-weight:700}
details p{margin:10px 0 0; color:var(--muted); line-height:1.6}

.contact-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:14px;
}
.contact-card{
  border:1px solid var(--line);
  border-radius:18px;
  padding:16px;
  background: rgba(255,255,255,.03);
}
.form{
  border:1px solid var(--line);
  border-radius:18px;
  padding:16px;
  background: rgba(255,255,255,.03);
}
label{display:grid; gap:8px; margin:10px 0; color:var(--muted); font-weight:600; font-size:13px}
input, textarea{
  width:100%;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.20);
  color:var(--text);
  padding:12px;
  outline:none;
}
input:focus, textarea:focus{border-color: rgba(124,92,255,.55)}
.footer{
  border-top:1px solid var(--line);
  padding:20px 0;
  background: rgba(0,0,0,.14);
}
.foot{
  display:flex; justify-content:space-between; align-items:center;
  gap:10px; flex-wrap:wrap;
  color:var(--muted);
  font-size:14px;
}

/* Toast */
.toast{
  position:fixed;
  left:50%;
  bottom:18px;
  transform: translateX(-50%) translateY(40px);
  opacity:0;
  pointer-events:none;
  transition: .25s ease;
  padding:12px 14px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(16,26,49,.95);
  color:var(--text);
  box-shadow: var(--shadow);
}
.toast.show{
  opacity:1;
  transform: translateX(-50%) translateY(0);
}

/* Reveal on scroll */
.reveal{
  opacity:0;
  transform: translateY(14px);
  transition: .6s ease;
}
.reveal.in{
  opacity:1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 900px){
  .hero-grid{grid-template-columns:1fr; gap:18px}
  h1{font-size:38px}
  .grid.cards{grid-template-columns:1fr 1fr}
  .screen-row{grid-template-columns:1fr}
  .contact-grid{grid-template-columns:1fr}
}
@media (max-width: 720px){
  .nav-toggle{display:block}
  .nav{
    position:absolute;
    right:4%;
    top:64px;
    width:min(420px, 92%);
    flex-direction:column;
    align-items:stretch;
    gap:10px;
    padding:12px;
    border-radius:16px;
    border:1px solid var(--line);
    background: rgba(11,18,32,.92);
    box-shadow: var(--shadow);
    display:none;
  }
  .nav.open{display:flex}
  .nav a{padding:10px 12px; border-radius:12px; background: rgba(255,255,255,.03)}
}

/* ===== CartKhata "real app look" inside phone ===== */
.ck-screen{
  background:#eef2f7;
  color:#1b2536;
  min-height:520px;
}

.ck-appbar{
  height:54px;
  display:flex;
  align-items:center;
  padding:0 16px;
  background:#ffffff;
  border-bottom:1px solid rgba(0,0,0,.06);
}

.ck-hamburger{
  width:28px;
  display:grid;
  gap:5px;
}
.ck-hamburger span{
  height:2px;
  background:#202a3a;
  border-radius:2px;
  display:block;
}

.ck-content{
  padding:18px 18px 20px;
}

.ck-title{
  margin:6px 0 2px;
  text-align:center;
  font-size:34px;
  font-weight:800;
  letter-spacing:.2px;
}

.ck-subtitle{
  margin:0;
  text-align:center;
  color:#6a768c;
  font-style:italic;
  font-weight:500;
}

.ck-divider{
  height:1px;
  background:rgba(0,0,0,.12);
  margin:14px 0 18px;
}

.ck-section-title{
  margin:0 0 12px;
  text-align:center;
  font-size:22px;
  font-weight:800;
  color:#202a3a;
}

.ck-chart-card{
  background:#ffffff;
  border-radius:10px;
  border:1px solid rgba(0,0,0,.06);
  padding:10px 10px 8px;
  box-shadow: 0 10px 22px rgba(0,0,0,.10);
}

.ck-chart{
  height:230px;
  display:flex;
  align-items:flex-end;
  gap:6px;
  padding:8px 6px 2px;
  overflow:hidden;
}

.ck-bar{
  width:10px;
  border-radius:4px 4px 0 0;
  background:#0a8a19;
  position:relative;
  box-shadow: inset 0 -2px 0 rgba(0,0,0,.08);
}
.ck-bar.neg{
  background:#e11212;
  border-radius:4px 4px 6px 6px;
}

.ck-days{
  display:flex;
  justify-content:space-between;
  gap:6px;
  color:#6a768c;
  font-size:11px;
  padding:6px 6px 0;
  user-select:none;
}

.ck-quick-title{
  margin:18px 0 12px;
  font-size:26px;
  font-weight:900;
  color:#202a3a;
}

.ck-actions{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:14px;
}

.ck-action{
  border-radius:18px;
  padding:18px 14px;
  border:2px solid rgba(0,0,0,.12);
  box-shadow: 0 10px 18px rgba(0,0,0,.12);
  text-align:center;
}

.ck-action-buy{ background:#dff0ff; }
.ck-action-sell{ background:#e2f3df; }

.ck-emoji{
  font-size:34px;
  margin-bottom:10px;
}

.ck-action-main{
  font-weight:900;
  font-size:18px;
  margin-bottom:6px;
  color:#1f355c;
}
.ck-action-sell .ck-action-main{ color:#1f5a2c; }

.ck-action-sub{
  font-size:14px;
  color:#6a768c;
}

/* Keep phone padding / border you already had */
.phone{
  padding:10px;
}

/* ===== Added fixes for chart look (override previous values) ===== */
.ck-days span{
  width: 12px;
  display: inline-flex;
  justify-content: center;
}

.ck-chart{
  gap: 5px;
}

.ck-bar{
  width: 9px;
}

/* =========================
   Mobile responsiveness upgrades
   Put this at the VERY END of style.css
========================= */

/* Prevent any accidental horizontal scrolling */
html, body { max-width: 100%; overflow-x: hidden; }

/* Make images/video always responsive if you add later */
img, video { max-width: 100%; height: auto; display: block; }

/* Improve hero spacing on tablets/phones */
@media (max-width: 900px){
  .hero{ padding: 48px 0 18px; }
  .hero-card{ padding: 14px; }
}

/* Phones */
@media (max-width: 600px){
  h1{ font-size: 32px; line-height: 1.1; }
  .lead{ font-size: 15px; }

  .pill{ font-size: 12px; }
  .hero-cta{ gap: 10px; }

  .mini-stats{ gap: 10px; }
  .stat{ padding: 10px; border-radius: 14px; }

  /* Phone mock should fit screen nicely */
  .phone{
    width: 100%;
    max-width: 360px;   /* keeps it nice on larger phones */
    padding: 10px;
  }
  .phone-screen{ min-height: 480px; } /* reduce height so it fits */

  /* CartKhata inside phone */
  .ck-content{ padding: 14px 14px 16px; }
  .ck-title{ font-size: 28px; }
  .ck-section-title{ font-size: 18px; }
  .ck-quick-title{ font-size: 22px; }

  /* Chart becomes a bit shorter on mobile */
  .ck-chart{ height: 170px; }
  .ck-days{ font-size: 10px; gap: 4px; }

  /* Quick action cards spacing */
  .ck-action{ padding: 14px 12px; border-radius: 16px; }
  .ck-emoji{ font-size: 28px; }
  .ck-action-main{ font-size: 16px; }
  .ck-action-sub{ font-size: 13px; }

  /* Cards grid becomes 1 column */
  .grid.cards{ grid-template-columns: 1fr; }
}

/* Very small phones (320–380px) */
@media (max-width: 420px){
  .container{ width: 92%; }
  h1{ font-size: 28px; }
  .hero{ padding: 40px 0 16px; }

  .phone{ max-width: 330px; }
  .phone-screen{ min-height: 460px; }

  /* Stack quick actions (2 cards -> 1 card per row) */
  .ck-actions{ grid-template-columns: 1fr; }

  /* Tighten chart */
  .ck-chart{ height: 150px; gap: 4px; }
  .ck-bar{ width: 7px; }
  .ck-days span{ width: 10px; }
}

.hero h1 {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.hero-sub {
  font-size: 0.55em;
  font-weight: 500;
  color: var(--muted);
  margin-top: 6px;
}

.logo-img{
  height:20px;   /* adjust if needed */
  width:auto;
  display:block;
}

