:root{
  --bg:#050507;
  --bg-2:#0a0b10;
  --panel:#0f1118;
  --panel-2:#151926;
  --text:#f3f4f8;
  --muted:#a0abc0;
  --primary:#ff2e63;
  --secondary:#6a8dff;
  --border:#272d3d;
  --ring:rgba(106,141,255,.35);
  --shadow:0 20px 50px rgba(0,0,0,.35);
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif;
  color:var(--text);
  background:radial-gradient(900px 480px at -10% -15%,rgba(255,46,99,.26),transparent 60%),radial-gradient(780px 460px at 100% -12%,rgba(106,141,255,.22),transparent 65%),var(--bg);
  line-height:1.6;
  overflow-x:hidden;
}

.bg-orb{
  position:fixed;
  width:440px;
  height:440px;
  border-radius:999px;
  filter:blur(80px);
  z-index:-1;
  opacity:.35;
}
.orb-a{left:-170px;top:180px;background:#ff2e63}
.orb-b{right:-180px;top:320px;background:#6a8dff}

.container{max-width:1160px;margin:0 auto;padding:0 22px}
.section{padding-top:72px}
.section-heading{margin-bottom:10px}
.section-heading h2{font-size:36px;line-height:1.2;margin:0 0 8px}

.row{display:flex;gap:16px}
.between{justify-content:space-between}
.center{align-items:center}
.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:18px}

.site-header{
  position:sticky;
  top:0;
  z-index:20;
  background:rgba(7,8,12,.72);
  backdrop-filter:blur(12px) saturate(130%);
  border-bottom:1px solid rgba(255,255,255,.07);
}

.site-header .container{
  min-height:86px;
}

.logo img{
  height:44px;
  width:auto;
  display:block;
}

/* Hamburger */
.hamburger {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: var(--muted);
  transition: 0.3s;
}

/* MOBILE */
@media (max-width: 768px) {

  .nav {
    display: none;
    flex-direction: column;
    width: 100%;
    
    gap: 12px;                 /* 🔥 spacing fix */
    padding: 10px 0;           /* 🔥 top-bottom space */
    margin-top: 10px;
  }

  .nav.show {
    display: flex;
  }

  .nav a {
    padding: 12px;
    width: auto;               /* 🔥 full width hata diya */
    margin: 0 12px;            /* 🔥 side spacing */
    
    border-radius: 10px;       /* 🔥 card look */
    text-align: center;

    background: rgba(255,255,255,.05); /* 🔥 separate look */
    border: 1px solid rgba(255,255,255,.08);
  }

  /* ❌ ye hata diya (chipak raha tha) */
  .nav a {
    border-bottom: none;
  }

  .hamburger {
    display: block;
  }

  .container.row.between.center {
    flex-wrap: wrap;
  }
}

/* Hover */
.nav a:hover{
  color:var(--text);
  background:rgba(255,255,255,.1);
  transform: translateY(-2px);
}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:11px 16px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.2);
  text-decoration:none;
  color:var(--text);
  background:rgba(255,255,255,.03);
  font-weight:600;
  transition:.2s ease;
}

.btn:hover{
  transform:translateY(-1px);
  border-color:rgba(255,255,255,.35);
  box-shadow:0 14px 30px rgba(0,0,0,.3);
}

.btn.primary{
  border-color:transparent;
  color:#fff;
  background:linear-gradient(135deg,var(--primary),#ff4d7a 54%,#b830ff);
  box-shadow:0 14px 30px rgba(255,46,99,.28);
}

.btn:focus{
  outline:2px solid var(--ring);
  outline-offset:2px;
}
.hero{
  padding:86px 0 26px;
  background:linear-gradient(120deg,rgba(5,5,7,.92),rgba(5,5,7,.76)),url("../img/img9.avif") center/cover no-repeat;
  border-bottom:1px solid rgba(255,255,255,.08);
}
.hero-wrap{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:24px;
}
.chip{
  display:inline-flex;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.16);
  border-radius:999px;
  padding:7px 12px;
  font-size:13px;
  font-weight:600;
}
.hero-copy h1{
  margin:12px 0 12px;
  font-size:54px;
  line-height:1.08;
  letter-spacing:.2px;
}
.hero-copy p{
  margin:0;
  color:var(--muted);
  max-width:680px;
  font-size:18px;
}
.cta{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}
.hero-stats{
  margin-top:24px;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
}
.stat{
  background:rgba(255,255,255,.03);
  border:1px solid rgba(255,255,255,.09);
  border-radius:12px;
  padding:14px;
}
.stat strong{display:block;font-size:17px}
.stat span{color:var(--muted);font-size:14px}

.panel,
.card,
.plan,
.faq details{
  background:linear-gradient(180deg,rgba(255,255,255,.06),rgba(255,255,255,.02));
  border:1px solid var(--border);
  border-radius:16px;
  box-shadow:var(--shadow);
}

.hero-visual{
  padding:18px;
  align-self:start;
}
.hero-visual img{
  width:100%;
  height:260px;
  border-radius:12px;
  background:rgba(0,0,0,.35);
  border:1px solid rgba(255,255,255,.1);
  object-fit:cover;
}
.visual-badges{
  margin-top:14px;
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.visual-badges span{
  background:rgba(106,141,255,.18);
  border:1px solid rgba(106,141,255,.42);
  color:#d8e1ff;
  border-radius:999px;
  padding:6px 10px;
  font-size:13px;
}

.feature-grid{margin-top:18px}
.card{padding:18px}
.feature img{
  width:100%;
  height:96px;
  object-fit:cover;
  border-radius:10px;
  margin-bottom:10px;
  border:1px solid rgba(255,255,255,.1);
  background:rgba(0,0,0,.25);
}
.feature h3{margin:0 0 6px}
.feature p{margin:0;color:var(--muted)}

.templates-grid{margin-top:16px}
.template-card{padding:18px}
.template-card img{
  width:100%;
  height:150px;
  object-fit:cover;
  border-radius:12px;
  background:rgba(0,0,0,.35);
  border:1px solid rgba(255,255,255,.1);
  margin-bottom:10px;
}
.template-card h3{margin:0 0 6px}
.template-card p{margin:0 0 10px;color:var(--muted)}
.template-card a{color:#c9d5ff;text-decoration:none;font-weight:600}
.template-card a:hover{text-decoration:underline;color:#e6ebff}

.showcase-grid{
  margin-top:16px;
  display:grid;
  grid-template-columns:repeat(12,minmax(0,1fr));
  gap:12px;
}
.showcase-grid img{
  width:100%;
  height:100%;
  min-height:150px;
  object-fit:cover;
  border-radius:14px;
  background:linear-gradient(160deg,rgba(255,255,255,.08),rgba(255,255,255,.02));
  border:1px solid var(--border);
}
.showcase-grid img:nth-child(1){grid-column:span 4}
.showcase-grid img:nth-child(2){grid-column:span 4}
.showcase-grid img:nth-child(3){grid-column:span 4}
.showcase-grid img:nth-child(4){grid-column:span 6}
.showcase-grid img:nth-child(5){grid-column:span 3}
.showcase-grid img:nth-child(6){grid-column:span 3}
.showcase-grid img:nth-child(7){grid-column:span 4}
.showcase-grid img:nth-child(8){grid-column:span 4}
.showcase-grid img:nth-child(9){grid-column:span 4}

.timeline{
  margin-top:16px;
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
}
.timeline .card{
  padding:18px;
  display:flex;
  gap:10px;
  align-items:flex-start;
}
.timeline strong{
  width:30px;
  height:30px;
  border-radius:999px;
  background:rgba(255,46,99,.2);
  border:1px solid rgba(255,46,99,.45);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
}

.plans{margin-top:16px}
.plan{padding:20px;display:flex;flex-direction:column;gap:10px}
.plan h3{margin:0}
.plan p{margin:0}
.featured{
  border-color:rgba(255,46,99,.5);
  box-shadow:0 22px 44px rgba(255,46,99,.24);
}

.calculator{margin-top:18px;padding:18px}
.calc-row{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(150px,1fr));
  gap:10px;
  align-items:end;
}

.faq details{padding:14px;margin-bottom:10px}
.faq summary{cursor:pointer;font-weight:600}
.faq p{color:var(--muted);margin:10px 0 0}

.register-wrap{
  margin-top:14px;
  padding:18px;
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  gap:16px;
}
.register-wrap > img{
  width:100%;
  height:100%;
  min-height:260px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.09);
  background:rgba(0,0,0,.3);
  object-fit:cover;
}

.field{display:flex;flex-direction:column;margin-bottom:12px}
.field label{margin-bottom:6px;color:var(--muted)}
.field input,.field select,.field textarea{
  padding:11px 12px;
  border-radius:10px;
  border:1px solid var(--border);
  background:var(--panel-2);
  color:var(--text);
}
.field input:focus,.field select:focus,.field textarea:focus{
  outline:2px solid var(--ring);
  outline-offset:1px;
  border-color:var(--secondary);
}

.hidden{display:none}
.notice{
  margin-top:6px;
  padding:12px;
  border-radius:10px;
  border:1px solid rgba(94,234,212,.38);
  background:rgba(13,148,136,.12);
  color:#a5f3e5;
}
.danger{
  border-color:rgba(248,113,113,.38);
  background:rgba(248,113,113,.12);
  color:#ffd2d2;
}

.site-footer{margin-top:64px;padding:30px 0;border-top:1px solid rgba(255,255,255,.08)}
.footer-wrap{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  flex-wrap:wrap;
}
.footer-wrap img{
  width:110px;
  height:auto;
  display:block;
}
.site-footer p{margin:0;color:var(--muted)}
.site-footer nav{display:flex;gap:10px;flex-wrap:wrap}
.site-footer nav a{color:var(--muted);text-decoration:none}
.site-footer nav a:hover{color:var(--text)}


.muted{color:var(--muted)}
.list{margin:12px 0;padding:0;list-style:none}
.list li{padding:8px 0;border-bottom:1px solid rgba(255,255,255,.1)}

.panel{padding:16px}
.row-actions{display:flex;gap:8px;flex-wrap:wrap}
.table{width:100%;border-collapse:collapse}
.table th,.table td{padding:10px;border-bottom:1px solid var(--border);text-align:left}
.auth{display:flex;gap:24px;flex-wrap:wrap}
.auth .panel{flex:1;min-width:280px}
.uploader{border:2px dashed var(--border);border-radius:12px;padding:16px;text-align:center}
.uploader input{margin-top:8px}

@media (max-width:980px){
  .hero-wrap{grid-template-columns:1fr}
  .hero-copy h1{font-size:44px}
  .hero-stats{grid-template-columns:1fr}
  .timeline{grid-template-columns:1fr}
  .register-wrap{grid-template-columns:1fr}
}

@media (max-width:720px){
  .site-header .container{min-height:74px}
  .logo img{height:42px}
  .section{padding-top:58px}
  .section-heading h2{font-size:30px}
  .hero{padding-top:70px}
  .hero-copy h1{font-size:36px}
  .hero-copy p{font-size:16px}
  .showcase-grid{grid-template-columns:1fr 1fr}
  .showcase-grid img{grid-column:span 1 !important;min-height:140px}
}
