:root{
  --ink:#0f172a; --ink2:#334155; --muted:#64748b;
  --indigo:#4f46e5; --indigo-d:#4338ca; --indigo-soft:#eef2ff;
  --amber:#f59e0b; --line:#e6e8f0; --bg:#fafbfc; --card:#fff;
  --green:#16a34a; --red:#dc2626;
  --shadow:0 1px 2px rgba(15,23,42,.06),0 8px 24px rgba(15,23,42,.05);
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:Inter,system-ui,sans-serif;background:var(--bg);color:var(--ink);line-height:1.5}
h1,h2,h3,.brand{font-family:Sora,Inter,sans-serif}
a{color:var(--indigo);text-decoration:none}

/* ---- topbar (advanced: soft glass + gradient hairline, ID-card "front" feel) ---- */
.topbar{background-color:rgba(255,255,255,.86);
  background-image:linear-gradient(90deg,var(--indigo),#8b5cf6 55%,var(--amber));
  background-size:100% 2px;background-repeat:no-repeat;background-position:bottom left;
  border-bottom:1px solid var(--line);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);
  padding:13px 24px;
  display:flex;justify-content:space-between;align-items:center;position:sticky;top:0;z-index:20;
  flex-wrap:wrap;gap:10px}
.brand{font-weight:700;font-size:18px;display:flex;align-items:center;gap:10px;color:var(--ink);text-decoration:none;cursor:pointer}
.brand-logo{height:32px;width:auto;display:block;border-radius:9px;padding:3px;
  background:linear-gradient(135deg,#fff,var(--indigo-soft));
  box-shadow:0 0 0 1px rgba(79,70,229,.14),0 2px 6px rgba(79,70,229,.18)}
.topnav{display:flex;align-items:center;gap:18px;font-size:14px;flex-wrap:wrap}
.whoami{color:var(--ink2)}
.role-pill{font-size:11px;padding:2px 9px;border-radius:20px;margin-left:4px;font-weight:600}
.role-pill.superadmin{background:#fef3c7;color:#92400e}
.role-pill.vendor{background:var(--indigo-soft);color:#3730a3}
.role-pill.college{background:#dcfce7;color:#166534}

.wrap{max-width:1080px;margin:26px auto;padding:0 18px}

/* ================= SIDEBAR APP SHELL (pilot: college area) ================= */
.app-shell{display:flex;min-height:100vh}
.app-sidebar{width:230px;flex:none;background:#0f172a;color:#fff;display:flex;flex-direction:column;
  position:sticky;top:0;height:100vh;z-index:40}
.app-sidebar-brand{display:flex;align-items:center;gap:10px;padding:20px 18px;font-weight:700;
  font-size:15px;color:#fff;text-decoration:none;border-bottom:1px solid rgba(255,255,255,.08)}
.app-sidebar-logo{height:30px;width:auto;border-radius:8px;padding:2px;background:#fff;flex:none}
.app-sidebar-nav{flex:1;padding:14px 10px;display:flex;flex-direction:column;gap:4px;overflow-y:auto}
.app-nav-item{display:flex;align-items:center;gap:12px;padding:11px 14px;border-radius:10px;
  color:rgba(255,255,255,.72);text-decoration:none;font-size:14px;font-weight:500;transition:.15s ease}
.app-nav-item:hover{background:rgba(255,255,255,.07);color:#fff}
.app-nav-item.active{background:linear-gradient(135deg,var(--indigo),#7c3aed);color:#fff;font-weight:600;
  box-shadow:0 4px 14px rgba(79,70,229,.35)}
.app-nav-icon{font-size:16px;width:20px;text-align:center;flex:none}
.app-sidebar-footer{padding:14px 10px;border-top:1px solid rgba(255,255,255,.08)}
.app-user-chip{display:flex;align-items:center;gap:8px;padding:8px 12px 12px;font-size:12.5px;
  color:rgba(255,255,255,.65);flex-wrap:wrap}
.app-nav-logout{color:#fca5a5}
.app-nav-logout:hover{background:rgba(220,38,38,.16);color:#fecaca}
.app-sidebar-toggle{display:none;position:fixed;top:14px;left:14px;z-index:50;width:40px;height:40px;
  border-radius:10px;background:#0f172a;color:#fff;border:none;align-items:center;justify-content:center;
  cursor:pointer;box-shadow:0 4px 12px rgba(0,0,0,.22)}
.app-sidebar-overlay{display:none}
.app-main{flex:1;min-width:0;background:var(--bg)}
@media(max-width:900px){
  .app-sidebar{position:fixed;left:0;top:0;height:100vh;transform:translateX(-100%);transition:transform .25s ease}
  .app-sidebar.open{transform:translateX(0)}
  .app-sidebar-toggle{display:flex}
  .app-sidebar-overlay{display:none;position:fixed;inset:0;background:rgba(15,23,42,.5);z-index:39}
  .app-sidebar-overlay.show{display:block}
  .app-main{padding-top:56px}
}

.card{background:var(--card);border:1px solid var(--line);border-radius:16px;padding:22px;
  margin-bottom:20px;box-shadow:var(--shadow)}
.page-title{font-size:22px;margin-bottom:2px}
.sub{color:var(--muted);font-size:14px;margin-bottom:18px}
h2{font-size:16px;margin-bottom:14px}
.muted{color:var(--muted);font-size:14px}

/* ---- college cards (vendor's "your colleges" list) ---- */
.college-list{display:flex;flex-direction:column;gap:14px;margin-top:14px}
.college-card{border:1px solid var(--line);border-left:4px solid var(--indigo);border-radius:14px;
  padding:16px 18px;background:#fff;box-shadow:var(--shadow);transition:box-shadow .15s ease}
.college-card:hover{box-shadow:0 10px 24px rgba(15,23,42,.09)}
.college-card.is-off{border-left-color:#cbd5e1}
.cc-top{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;flex-wrap:wrap}
.cc-name b{font-size:15.5px}
.cc-username{color:var(--muted);font-size:12.5px;margin-left:8px;font-weight:500}
.cc-type-tag{background:var(--indigo-soft);color:#3730a3;font-size:10.5px;font-weight:700;
  padding:2px 9px;border-radius:20px;margin-left:8px;text-transform:uppercase;letter-spacing:.3px}
.cc-stats{display:flex;gap:26px;flex-wrap:wrap;margin:12px 0;padding:12px 0;
  border-top:1px dashed var(--line);border-bottom:1px dashed var(--line)}
.cc-stats>div{display:flex;flex-direction:column;gap:3px}
.cc-stat-n{font-size:17px;font-weight:700;color:var(--ink)}
.cc-stat-l{font-size:10.5px;color:var(--muted);text-transform:uppercase;letter-spacing:.4px}
.cc-stat-v{font-size:13px;color:var(--ink2);font-weight:600}
.cc-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.cc-access-form{display:none;gap:8px;align-items:center;margin-top:12px;
  background:#f8fafc;padding:10px 12px;border-radius:10px;border:1px solid var(--line);flex-wrap:wrap}
.cc-access-form.show{display:flex}
.cc-access-form input[type=date]{width:auto;flex:1;min-width:150px}
@media(max-width:480px){
  .cc-stats{gap:16px}
}

/* ---- stats ---- */
.stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:14px;margin-bottom:20px}
.stat{background:#fff;border:1px solid var(--line);border-radius:14px;padding:16px 18px;box-shadow:var(--shadow)}
.stat .n{font-family:Sora;font-size:26px;font-weight:700}
.stat .l{color:var(--muted);font-size:13px;margin-top:2px}
.stat.accent{background:linear-gradient(135deg,var(--indigo),#6366f1);color:#fff;border:0}
.stat.accent .l{color:#e0e7ff}

/* ---- forms ---- */
label{display:block;font-size:13px;font-weight:600;margin:10px 0 5px;color:var(--ink2)}
input,select,textarea{width:100%;padding:10px 12px;border:1px solid #cfd4e0;border-radius:10px;
  font-size:14px;font-family:inherit;background:#fff}
input:focus,select:focus{outline:2px solid var(--indigo-soft);border-color:var(--indigo)}
.grid{display:grid;grid-template-columns:1fr 1fr;gap:2px 16px}
.grid-3{display:grid;grid-template-columns:1fr 1fr 1fr;gap:2px 16px}

/* Add/Edit member form (#stuForm) — sirf isi form ke liye chhote/compact fields,
   taaki jagah kam le aur ek screen me zyada fields dikh sakein */
#stuForm label{font-size:11.5px;margin:6px 0 3px}
#stuForm input,#stuForm select,#stuForm textarea{padding:7px 9px;font-size:13px;border-radius:8px}
#stuForm .grid-3{gap:0 14px}
#stuFormCard{padding:16px}
#stuForm .photo-row{gap:8px 16px}
#stuForm .auto-no-toggle{margin:0}
#stuForm .btn:not(.btn-sm),#stuForm .btn-green:not(.btn-sm),#stuForm .btn-ghost:not(.btn-sm){padding:9px 16px;font-size:13.5px}
.btn{display:inline-flex;align-items:center;gap:8px;background:var(--indigo);color:#fff;border:0;
  padding:11px 20px;border-radius:10px;font-size:14px;font-weight:600;cursor:pointer;
  font-family:inherit;margin-top:14px}
.btn:hover{background:var(--indigo-d)}
.btn-green{background:var(--green)} .btn-green:hover{background:#15803d}
.btn-gray{background:#475569} .btn-gray:hover{background:#334155}
.btn-ghost{background:#fff;color:var(--ink2);border:1px solid var(--line)}
.btn-ghost:hover{background:#f8fafc}
.btn-sm{padding:6px 12px;font-size:12.5px;margin:0}
.btn-danger{background:#fee2e2;color:var(--red)} .btn-danger:hover{background:#fecaca}
.actions{display:flex;gap:8px;flex-wrap:wrap}

table{width:100%;border-collapse:collapse;font-size:13.5px}
th,td{text-align:left;padding:11px 12px;border-bottom:1px solid var(--line)}
th{background:#fafbff;color:var(--muted);font-size:11.5px;text-transform:uppercase;letter-spacing:.4px}
tr:hover td{background:#fafbff}
.thumb{width:40px;height:40px;object-fit:cover;border-radius:8px;border:1px solid var(--line)}
.thumb.ph{background:#eef2ff;display:grid;place-items:center;color:#a5b4fc;font-size:11px}

.alert{padding:12px 15px;border-radius:10px;margin-bottom:16px;font-size:14px}
.alert-ok{background:#dcfce7;color:#166534}
.alert-err{background:#fee2e2;color:#991b1b}
.alert-warn{background:#fef3c7;color:#92400e}

/* Vendor contact banner shown to college users, so they know who set them up */
.vendor-info-bar{display:flex;align-items:center;gap:14px;flex-wrap:wrap;
  background:linear-gradient(135deg,#eef2ff,#f5f3ff);border:1px solid #ddd6fe;
  border-radius:14px;padding:14px 18px;margin-bottom:16px;box-shadow:0 4px 14px rgba(79,70,229,.08)}
.vib-icon{width:42px;height:42px;border-radius:12px;background:linear-gradient(135deg,var(--indigo),#7c3aed);
  color:#fff;display:grid;place-items:center;font-size:20px;flex-shrink:0;box-shadow:0 4px 10px rgba(79,70,229,.3)}
.vib-text{display:flex;flex-direction:column;gap:1px;flex:1;min-width:140px}
.vib-label{font-size:11px;color:#6d28d9;font-weight:700;text-transform:uppercase;letter-spacing:.04em}
.vib-name{font-size:15px;font-weight:700;color:var(--ink)}
.vib-actions{display:flex;gap:8px}
.vib-btn{display:inline-flex;align-items:center;gap:6px;background:#fff;color:var(--indigo);
  border:1px solid #ddd6fe;padding:8px 14px;border-radius:20px;font-size:13px;font-weight:600;
  text-decoration:none;transition:.15s ease}
.vib-btn:hover{background:var(--indigo);color:#fff;border-color:var(--indigo)}
.vib-btn.wa:hover{background:#25d366;border-color:#25d366}

/* Small popup modal — demo-limit reached, delete confirmations, etc. */
.modal-overlay{position:fixed;inset:0;background:rgba(15,23,42,.55);display:flex;
  align-items:center;justify-content:center;z-index:999;padding:16px}
.modal-box{background:#fff;border-radius:16px;padding:26px 22px;max-width:360px;width:100%;
  text-align:center;box-shadow:0 20px 50px rgba(0,0,0,.25);animation:modalPop .16s ease}
@keyframes modalPop{from{transform:scale(.94);opacity:0}to{transform:scale(1);opacity:1}}
.modal-icon{font-size:32px;margin-bottom:6px}
.modal-box p{color:var(--ink2);font-size:14.5px;line-height:1.6;margin:6px 0 18px}
.modal-actions{display:flex;gap:10px;justify-content:center;flex-wrap:wrap}

.badge{font-size:11.5px;padding:3px 10px;border-radius:20px;font-weight:600}
.badge.ok{background:#dcfce7;color:#166534}
.badge.off{background:#fee2e2;color:#991b1b}

/* Auto-fade "Saved!" toast — koi OK click nahi karna padta, khud gayab ho jaata hai */
.toast-success{position:fixed;top:18px;right:18px;background:#16a34a;color:#fff;padding:12px 22px;
  border-radius:12px;font-weight:600;font-size:14px;box-shadow:0 10px 26px rgba(22,163,74,.4);
  z-index:200;animation:toastInOut 3s ease forwards;max-width:calc(100vw - 36px)}
@keyframes toastInOut{
  0%{opacity:0;transform:translateY(-12px)}
  10%{opacity:1;transform:translateY(0)}
  85%{opacity:1;transform:translateY(0)}
  100%{opacity:0;transform:translateY(-12px)}
}
@media(max-width:480px){
  .toast-success{left:14px;right:14px;top:70px;text-align:center}
}

/* "Yahan click/select karo" red highlight — jab koi zaroori field/dropdown chunna ho */
@keyframes fieldFlash{
  0%,100%{box-shadow:0 0 0 3px rgba(239,68,68,.45);border-color:#ef4444}
  50%{box-shadow:0 0 0 7px rgba(239,68,68,.2);border-color:#ef4444}
}
.field-flash{animation:fieldFlash .9s ease-in-out 2;border-color:#ef4444 !important}

/* abhi-abhi add/edit kiya hua member — 3-4 second ke liye highlight hoke fade out hota hai */
.row-highlight{animation:rowHighlightFade 3s ease forwards}
@keyframes rowHighlightFade{
  0%{background:#fef08a}
  70%{background:#fef08a}
  100%{background:transparent}
}

/* ---- photo preview ---- */
.photo-row{display:grid;grid-template-columns:96px auto 1fr;gap:10px 20px;align-items:start;
  grid-template-areas:"photobox name name" "photobox photobtns photoname";margin-top:6px}
.pr-photobox{grid-area:photobox}
.pr-name{grid-area:name}
.pr-photobtns{grid-area:photobtns;white-space:nowrap}
.pr-photoname{grid-area:photoname;min-width:180px}
.preview{width:96px;height:120px;border:2px dashed #cbd5e1;border-radius:12px;
  display:grid;place-items:center;color:#94a3b8;font-size:11px;text-align:center;overflow:hidden;flex:none;background:#f8fafc}
.preview img{width:100%;height:100%;object-fit:cover}
.auto-no-toggle{display:inline-flex;align-items:center;gap:5px;background:var(--indigo-soft);color:#3730a3;
  font-size:12px;font-weight:600;padding:8px 10px;border-radius:10px;cursor:pointer;white-space:nowrap;flex:none}
.auto-no-toggle input{width:15px;height:15px;flex:none}

/* ================= AUTH (login/register) ================= */
.auth{min-height:100vh;display:grid;grid-template-columns:1.05fr .95fr}
.auth-hero{background:radial-gradient(1200px 600px at 20% 0%,#6366f1 0%,#4f46e5 40%,#3730a3 100%);
  color:#fff;padding:54px 56px;display:flex;flex-direction:column;justify-content:space-between}
.auth-hero .brand{color:#fff}
.auth-hero .brand-logo{height:40px}
.hero-h{font-size:34px;line-height:1.15;font-weight:700;margin:36px 0 14px}
.hero-p{color:#dbe0ff;font-size:15px;max-width:400px}
.hero-list{margin-top:26px;display:flex;flex-direction:column;gap:12px}
.hero-list div{display:flex;align-items:center;gap:11px;font-size:14.5px;color:#eef2ff}
.hero-list .tick{width:22px;height:22px;border-radius:50%;background:rgba(255,255,255,.16);
  display:grid;place-items:center;font-size:12px;flex:none}
.hero-foot{color:#c7cbf5;font-size:12.5px}

/* floating ID card graphic */
.idcard{width:290px;filter:drop-shadow(0 20px 40px rgba(0,0,0,.35));margin:30px 0}

.auth-form{display:grid;place-items:center;padding:40px 30px}
.auth-box{width:100%;max-width:360px}
.auth-box h1{font-size:24px;margin-bottom:4px}
.auth-box .sub{margin-bottom:20px}
.switch{margin-top:16px;font-size:14px;color:var(--muted);text-align:center}

@media(max-width:860px){
  .auth{grid-template-columns:1fr}
  .auth-hero{display:none}
  .grid{grid-template-columns:1fr}
}
/* Add-member form ke extra fields (Enrollment No, Roll No, Class, ...) —
   tablet size par 2-per-row rakhte hain (3 columns bahut tight ho jaate the),
   sirf chhote mobile phone par hi 1-per-row karte hain. */
@media(max-width:900px){
  .grid-3{grid-template-columns:1fr 1fr}
}
@media(max-width:480px){
  .grid-3{grid-template-columns:1fr}
}

/* ================= LANDING PAGE ================= */
.site-header{position:sticky;top:0;z-index:30;background-color:rgba(249,248,255,.9);
  background-image:linear-gradient(90deg,var(--indigo),#8b5cf6 55%,var(--amber));
  background-size:100% 2px;background-repeat:no-repeat;background-position:bottom left;
  border-bottom:1px solid var(--line);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}
.land-nav{max-width:1080px;margin:0 auto;padding:14px 20px;display:flex;justify-content:space-between;align-items:center;position:relative}
.land-nav-links{display:flex;align-items:center;gap:22px;font-size:14px}
.land-nav-links a:not(.btn){color:var(--ink2);position:relative;padding-bottom:3px}
.land-nav-links a:not(.btn)::after{content:'';position:absolute;left:0;right:100%;bottom:0;height:2px;
  background:var(--indigo);transition:right .22s ease}
.land-nav-links a:not(.btn):hover::after{right:0}
.land-nav-links a:not(.btn):hover{color:var(--indigo-d)}
.nav-burger{display:none;background:none;border:1px solid var(--line);border-radius:8px;
  width:38px;height:38px;align-items:center;justify-content:center;color:var(--ink);cursor:pointer}
/* Superadmin ka upload kiya hua hero background — full-width, peeche halka
   overlay taaki text hamesha padhne layak rahe chahe photo kaisi bhi ho */
.hero-bg-wrap{background-size:cover;background-position:center;background-repeat:no-repeat;position:relative;
  padding-top:1px;margin-top:-1px}
.hero-bg-wrap::before{content:'';position:absolute;inset:0;
  background:rgba(246,247,251,.45);z-index:0}
.hero-bg-wrap .hero-sec{position:relative;z-index:1}

/* Default hero look (jab superadmin ne koi custom photo upload nahi ki) —
   dark gradient + halka circuit/grid pattern, colorful decorative blobs */
.hero-bg-default{background-color:#0b0f2e;background-image:
    radial-gradient(circle at 15% 20%, rgba(99,102,241,.4), transparent 45%),
    radial-gradient(circle at 88% 78%, rgba(20,184,166,.3), transparent 45%),
    linear-gradient(135deg,#0b0f2e 0%,#1e1b4b 55%,#312e81 100%)}
.hero-bg-default::before{background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size:34px 34px;background-color:transparent}
.hero-bg-default .hero-badge{background:rgba(255,255,255,.12);color:#fff;
  border:1px solid rgba(255,255,255,.22);box-shadow:none}
.hero-bg-default .hero-title{background:none;box-shadow:none;padding:0;white-space:normal;
  font-size:32px;color:#fff}
.hero-bg-default .hero-title-accent{color:#fbbf24}
.hero-bg-default .hero-left p{color:rgba(255,255,255,.78)}
.hero-bg-default .hero-hindi-line{color:#5eead4}
.hero-bg-default .hero-soft-link{background:rgba(255,255,255,.08);color:rgba(255,255,255,.9);
  border:1px solid rgba(255,255,255,.25);box-shadow:none}
.hero-bg-default .hero-soft-link:hover{background:rgba(255,255,255,.16);color:#fff}
.hero-bg-default .btn-hero-primary{background:linear-gradient(135deg,#f59e0b,#f97316);
  box-shadow:0 8px 20px rgba(245,158,11,.35)}
.hero-bg-default .btn-hero-primary:hover{box-shadow:0 12px 26px rgba(245,158,11,.45)}
.hero-bg-default .btn-hero-secondary{background:rgba(255,255,255,.08);color:#fff;
  border-color:rgba(255,255,255,.35);box-shadow:none}
.hero-bg-default .btn-hero-secondary:hover{background:rgba(255,255,255,.18);border-color:#fff;color:#fff}

.hero-sec{max-width:1080px;margin:20px auto 10px;padding:30px 20px;display:grid;grid-template-columns:1fr 1.05fr;gap:30px;align-items:center;
  position:relative;overflow:hidden}

.tag{display:inline-block;background:var(--indigo-soft);color:#3730a3;font-size:12.5px;font-weight:600;padding:5px 12px;border-radius:20px}
.hero-left .tag{margin-bottom:16px}
.hero-left h1{font-size:40px;line-height:1.12;margin-bottom:14px}
.hero-title{font-family:Poppins,Sora,Inter,sans-serif;font-size:22px;font-weight:600;line-height:1.3;
  margin-bottom:16px;letter-spacing:-0.2px;color:#fff;display:inline-block;white-space:nowrap;
  background:linear-gradient(135deg,#4f46e5,#7c3aed);padding:7px 15px;border-radius:12px;
  box-shadow:0 8px 18px rgba(79,70,229,.28)}
.hero-title-accent{color:#fff}
.hero-left p{color:var(--ink2);font-size:16px;max-width:520px}
.hero-hindi-line{font-family:'Noto Sans Devanagari',Inter,sans-serif;color:#16a34a;
  font-weight:700;font-size:13.5px;margin-top:8px}
.hero-cta{display:flex;gap:14px;flex-wrap:wrap;margin-top:24px}
.hero-badge{display:inline-flex;align-items:center;gap:6px;background:linear-gradient(135deg,#eef2ff,#fdf4ff);
  color:#4338ca;font-size:12.5px;font-weight:700;padding:7px 15px;border-radius:20px;margin-bottom:18px;
  box-shadow:0 2px 10px rgba(79,70,229,.14);border:1px solid #e0e7ff}
.btn-hero-primary{display:inline-flex;align-items:center;gap:8px;background:linear-gradient(135deg,var(--indigo),#7c3aed);
  color:#fff;padding:10px 18px;border-radius:11px;font-weight:700;font-size:14px;text-decoration:none;
  box-shadow:0 8px 18px rgba(79,70,229,.3);transition:transform .18s ease,box-shadow .18s ease}
.btn-hero-primary:hover{transform:translateY(-3px);box-shadow:0 12px 24px rgba(79,70,229,.38)}
.btn-hero-secondary{display:inline-flex;align-items:center;gap:8px;background:#fff;color:var(--ink);
  padding:10px 18px;border-radius:11px;font-weight:600;font-size:14px;text-decoration:none;
  border:1.5px solid var(--line);box-shadow:0 3px 10px rgba(15,23,42,.05);transition:transform .18s ease,border-color .18s ease,color .18s ease}
.btn-hero-secondary:hover{border-color:var(--indigo);color:var(--indigo);transform:translateY(-3px)}
.hero-soft-link{display:inline-flex;align-items:center;gap:6px;margin-top:16px;color:#fff;
  background:linear-gradient(135deg,#1e293b,#334155);font-size:12.5px;font-weight:600;
  text-decoration:none;padding:7px 14px;border-radius:20px;box-shadow:0 3px 10px rgba(15,23,42,.18);
  transition:transform .15s ease,box-shadow .15s ease}
.hero-soft-link:hover{transform:translateY(-2px);box-shadow:0 6px 16px rgba(15,23,42,.25)}
@media(max-width:480px){
  .hero-cta{flex-direction:column;align-items:stretch}
  .btn-hero-primary,.btn-hero-secondary{justify-content:center}
}
.hero-right{position:relative}
.hero-card{width:100%;max-width:480px;filter:drop-shadow(0 20px 40px rgba(79,70,229,.25));margin:0 auto;display:block;
  animation:heroCardIn .7s cubic-bezier(.2,.8,.2,1)}
@keyframes heroCardIn{from{opacity:0;transform:translateY(14px) rotate(-2deg)}to{opacity:1;transform:none}}
.hero-card svg{width:100%;height:auto;display:block}
.hero-video{width:100%;max-width:480px;margin:0 auto;position:relative;padding-top:62.5%;
  border-radius:16px;overflow:hidden;cursor:pointer;box-shadow:0 20px 40px rgba(15,23,42,.22)}
.hero-video .hero-video-thumb-svg{position:absolute;inset:0;width:100%;height:100%;max-width:none;filter:none;margin:0}
.hero-video .hero-video-thumb-svg svg{width:100%;height:100%;display:block}
.hero-video .hero-video-thumb-svg img{width:100%;height:100%;object-fit:cover;display:block}
.hero-video .play-btn{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);
  width:56px;height:56px;border-radius:50%;background:rgba(220,38,38,.92);display:grid;place-items:center;
  box-shadow:0 8px 24px rgba(0,0,0,.4);transition:transform .15s}
.hero-video:hover .play-btn{transform:translate(-50%,-50%) scale(1.08)}
.hero-video .video-caption{position:absolute;left:0;right:0;bottom:0;
  background:linear-gradient(transparent,rgba(15,23,42,.78));color:#fff;
  font-size:12.5px;font-weight:600;text-align:center;padding:20px 10px 8px}
.hero-video iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.sec{max-width:1080px;margin:36px auto;padding:0 20px}
.sec-eyebrow{display:block;text-align:center;font-size:12px;font-weight:700;letter-spacing:.1em;
  text-transform:uppercase;color:var(--indigo);margin-bottom:8px}
.sec-h{font-size:26px;text-align:center;margin-bottom:6px}
.sec-sub{text-align:center;color:var(--muted);margin-bottom:24px}

/* fade+rise reveal when a section scrolls into view (JS toggles .in-view) */
.reveal{opacity:0;transform:translateY(18px);transition:opacity .55s ease,transform .55s ease}
.reveal.in-view{opacity:1;transform:none}
@media(prefers-reduced-motion:reduce){.reveal{opacity:1;transform:none;transition:none}}

/* "How it works" — colorful full-bleed 4-segment strip (jaise reference image me tha) */
.how-strip{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;padding-top:14px}

/* Feature spotlight sections — "Designed for Colleges & Schools" / "Built for Vendors" —
   image ek side, text doosri side, alag-alag sections me side-alternate karte hain */
.feat-spot-sec{max-width:1080px}
.feat-spot-grid{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center}
.feat-spot-img-right .feat-spot-text{order:1}
.feat-spot-img-right .feat-spot-img{order:2}
.feat-spot-img-left .feat-spot-img{order:1}
.feat-spot-img-left .feat-spot-text{order:2}
.feat-spot-img img,.feat-spot-img svg{width:100%;height:auto;border-radius:18px;display:block}
.feat-spot-img img{box-shadow:0 18px 36px rgba(15,23,42,.14);object-fit:cover;aspect-ratio:4/3}
.fs-icon{width:52px;height:52px;border-radius:14px;background:var(--indigo-soft);
  display:flex;align-items:center;justify-content:center;font-size:24px;margin-bottom:16px}
.feat-spot-text h2{font-family:Sora,sans-serif;font-size:25px;font-weight:700;color:var(--ink);margin-bottom:12px}
.feat-spot-text p{font-size:14.5px;color:var(--ink2);line-height:1.7;margin-bottom:16px}
.fs-check{list-style:none}
.fs-check li{font-size:14px;color:var(--ink2);padding:6px 0;font-weight:500}
@media(max-width:820px){
  .feat-spot-grid{grid-template-columns:1fr;gap:24px}
  .feat-spot-img-right .feat-spot-text,.feat-spot-img-right .feat-spot-img,
  .feat-spot-img-left .feat-spot-img,.feat-spot-img-left .feat-spot-text{order:unset}
  .feat-spot-img{order:-1}
}

/* Stats banner — 500+ Schools / Students / Rating / Downloads (superadmin se editable) */
.stats-banner{background:linear-gradient(100deg,#4338ca,#4f46e5 55%,#6d28d9);padding:26px 20px}
.stats-banner-inner{max-width:1080px;margin:0 auto;display:flex;flex-wrap:wrap;
  justify-content:center;align-items:center;gap:36px}
.sb-item{display:flex;align-items:center;gap:12px;color:#fff}
.sb-item svg{width:26px;height:26px;flex:none;opacity:.9}
.sb-item b{display:block;font-family:Sora,sans-serif;font-size:20px;font-weight:700;line-height:1.2}
.sb-item span{display:block;font-size:12px;color:#e0e7ff;font-weight:500}
@media(max-width:600px){
  .stats-banner-inner{gap:20px 24px}
  .sb-item b{font-size:17px}
}

/* "Works great on mobile too" — phone mockup (left) + text (right) */
.mobile-feat-sec{max-width:1080px}
.mobile-feat-grid{display:grid;grid-template-columns:.85fr 1.15fr;gap:48px;align-items:center}
.mobile-feat-phone{max-width:230px;margin:0 auto;filter:drop-shadow(0 18px 34px rgba(15,23,42,.16))}
.mobile-feat-phone svg{width:100%;height:auto;display:block}
.mf-icon{width:52px;height:52px;border-radius:14px;background:var(--indigo-soft);
  display:flex;align-items:center;justify-content:center;font-size:24px;margin-bottom:16px}
.mobile-feat-text h2{font-family:Sora,sans-serif;font-size:26px;font-weight:700;color:var(--ink);margin-bottom:12px}
.mobile-feat-text p{font-size:15px;color:var(--ink2);line-height:1.7;max-width:480px}
.mf-link{display:inline-flex;align-items:center;gap:6px;margin-top:14px;color:var(--indigo);
  font-weight:700;font-size:14.5px;text-decoration:none}
.mf-link:hover{gap:10px}
.mf-link span{transition:transform .15s ease}
@media(max-width:820px){
  .mobile-feat-grid{grid-template-columns:1fr;text-align:center}
  .mf-icon{margin:0 auto 16px}
  .mobile-feat-text p{margin:0 auto}
}
.how-seg{padding:28px 22px;color:#fff;transition:transform .2s ease;border-radius:16px;
  display:flex;flex-direction:column;align-items:center;text-align:center;position:relative;
  box-shadow:0 14px 30px rgba(15,23,42,.16)}
.how-seg:hover{transform:translateY(-4px)}
.how-seg-num{position:absolute;top:-14px;left:20px;width:28px;height:28px;border-radius:8px;
  background:#fff;color:var(--ink);font-family:Sora,sans-serif;font-weight:800;font-size:13px;
  display:flex;align-items:center;justify-content:center;box-shadow:0 4px 10px rgba(0,0,0,.18)}
.how-seg-icon{width:46px;height:46px;border-radius:12px;background:#fff;
  display:flex;align-items:center;justify-content:center;font-size:21px;margin:0 auto 16px;
  box-shadow:0 4px 10px rgba(0,0,0,.15)}
.how-seg h3{font-size:15.5px;margin-bottom:6px;color:#fff;font-weight:700}
.how-seg p{font-size:12.5px;color:rgba(255,255,255,.8);line-height:1.55}
.how-seg-1{background:linear-gradient(160deg,#7c3aed,#6d28d9)}
.how-seg-2{background:linear-gradient(160deg,#0f172a,#0b1120)}
.how-seg-3{background:linear-gradient(160deg,#60a5fa,#3b82f6)}
.how-seg-4{background:#000}
@media(max-width:820px){
  .how-strip{grid-template-columns:1fr 1fr}
}
@media(max-width:520px){
  .how-strip{grid-template-columns:1fr}
}

.how-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;counter-reset:step}
.how-card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:22px;box-shadow:var(--shadow);
  position:relative;transition:transform .2s ease,box-shadow .2s ease}
.how-card:hover{transform:translateY(-4px);box-shadow:0 16px 32px rgba(15,23,42,.1)}
.how-card:nth-child(3n+1){background:linear-gradient(160deg,#e0e7ff,#f2f0ff 70%)}
.how-card:nth-child(3n+2){background:linear-gradient(160deg,#fef3c7,#fff8e6 70%)}
.how-card:nth-child(3n+3){background:linear-gradient(160deg,#d1fae5,#eafbf3 70%)}
.how-card .how-n{width:36px;height:36px;border-radius:10px;background:var(--indigo);color:#fff;display:grid;place-items:center;font-family:Sora;font-weight:700;margin-bottom:12px}
.how-card h3{font-size:16px;margin-bottom:6px}
.how-card p{color:var(--ink2);font-size:14px}
.how-grid .how-card:not(:last-child)::after{content:'';position:absolute;top:36px;right:-9px;width:18px;height:2px;
  background:repeating-linear-gradient(90deg,var(--line) 0 5px,transparent 5px 9px);z-index:1}
@media(max-width:820px){.how-grid .how-card::after{display:none}}
.price-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;align-items:stretch}
.price-card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:26px 22px;box-shadow:var(--shadow);display:flex;flex-direction:column;position:relative;
  transition:transform .2s ease,box-shadow .2s ease}
.price-card:hover{transform:translateY(-5px)}
.price-card.featured{border:2px solid var(--indigo);box-shadow:0 16px 40px rgba(79,70,229,.18)}
.price-card.featured-alt{border:2px solid var(--amber);box-shadow:0 16px 40px rgba(245,158,11,.18)}
.ribbon{position:absolute;top:-12px;right:20px;background:var(--indigo);color:#fff;font-size:11.5px;font-weight:600;padding:4px 12px;border-radius:20px}
.ribbon.ribbon-alt{background:var(--amber)}
.price-name{font-weight:600;color:var(--ink2)}
.price-amt{font-family:Sora;font-size:38px;font-weight:700;margin-top:4px}
.price-per{color:var(--muted);font-size:13px;margin-bottom:14px}
.price-card ul{list-style:none;margin:4px 0 20px;flex:1}
.price-card li{font-size:14px;color:var(--ink2);padding:7px 0 7px 24px;position:relative;border-bottom:1px dashed #eef0f5}
.price-card li:before{content:"✓";position:absolute;left:0;color:var(--green);font-weight:700}
@media(max-width:820px){
  .hero-sec{grid-template-columns:1fr}.hero-right{order:-1}
  .hero-left h1{font-size:30px}
  .hero-title{font-size:18px;white-space:normal}
  .hero-bg-default .hero-title{font-size:24px}
  .how-grid,.price-grid{grid-template-columns:1fr}
  .nav-burger{display:flex}
  .land-nav-links{position:absolute;top:100%;left:0;right:0;background:#fff;flex-direction:column;
    align-items:stretch;gap:0;padding:8px 20px;border-bottom:1px solid var(--line);box-shadow:0 12px 24px rgba(15,23,42,.08);
    display:none;z-index:40}
  .land-nav-links.open{display:flex}
  .land-nav-links a{padding:12px 4px;border-bottom:1px solid var(--line)}  .land-nav-links a:last-child{border-bottom:0}
  .land-nav-links .btn{margin:10px 0}
}

/* ================= FOOTER + WHATSAPP FLOAT =================
   Signature idea: header = front of an ID card (bright, logo, chip),
   footer = back of the card (dark stripe) — with a punched-perforation
   seam where the two "halves" meet, like a card being torn from a sheet. */
.site-footer{margin-top:44px;background:linear-gradient(180deg,#111827,#0b1220);color:#cbd5e1;position:relative}
.foot-perf{height:16px;background-color:#111827;
  background-image:radial-gradient(circle 7px at 12px 0, var(--bg) 7px, transparent 7.5px);
  background-size:24px 16px;background-repeat:repeat-x;background-position:top center}
.foot-inner{max-width:1080px;margin:0 auto;padding:30px 20px 6px;display:grid;
  grid-template-columns:1.4fr 1fr 1fr;gap:30px}
.foot-brand-name{font-family:Sora,Inter,sans-serif;font-weight:700;font-size:19px;color:#fff;margin-bottom:8px}
.foot-tag{color:#94a3b8;font-size:13.5px;line-height:1.7;max-width:320px}
.foot-col-h{color:#fff;font-weight:600;font-size:12.5px;text-transform:uppercase;letter-spacing:.07em;margin-bottom:12px}
.foot-col{display:flex;flex-direction:column;gap:10px}
.foot-col a{color:#94a3b8;font-size:14px}
.foot-col a:hover{color:#fff}
.foot-bottom{max-width:1080px;margin:14px auto 0;padding:16px 20px 26px;border-top:1px solid rgba(255,255,255,.08);
  display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap-reverse;gap:14px}
.foot-copy{color:#64748b;font-size:12.5px}
.foot-social{display:flex;gap:8px;flex-wrap:wrap}
.foot-icon{width:32px;height:32px;border-radius:50%;background:rgba(255,255,255,.07);color:#cbd5e1;
  display:inline-flex;align-items:center;justify-content:center;transition:.15s}
.foot-icon:hover{background:var(--indigo);color:#fff}
@media(max-width:760px){
  .foot-inner{grid-template-columns:1fr;gap:22px}
  .foot-bottom{justify-content:center;text-align:center}
}

.fab-wrap{position:fixed;right:16px;bottom:16px;display:flex;flex-direction:column;align-items:center;gap:10px;z-index:60}
.fab-group{display:flex;flex-direction:column;gap:10px}
.fab{width:50px;height:50px;border-radius:50%;display:grid;place-items:center;
  box-shadow:0 8px 22px rgba(0,0,0,.22);transition:transform .15s;border:0;cursor:pointer}
.fab:hover{transform:scale(1.06)}
.fab.wa{background:#25d366}
.fab.call{background:var(--indigo)}
.fab.fb{background:#1877f2}
.fab.ig{background:linear-gradient(135deg,#f58529,#dd2a7b,#8134af)}
.fab.yt{background:#ff0000}
.fab.toggle{background:#334155;width:36px;height:36px;transition:transform .2s}
.fab.toggle.is-closed{transform:rotate(180deg)}
@media(max-width:640px){
  .fab{width:44px;height:44px}
  .fab-group{gap:8px}
  .fab.toggle{width:32px;height:32px}
  .fab-wrap{right:12px;bottom:12px;gap:8px}
  /* mobile par hero ka text center me aur badge/buttons bhi center align */
  .hero-left{text-align:center;display:flex;flex-direction:column;align-items:center}
  .hero-left p{max-width:440px}
  .hero-cta{justify-content:center}

  /* Members: desktop table hide karo, mobile card-grid (2 per row) dikhao — reliable
     har phone/browser me, purane table-trick se better */
  .members-table-wrap{display:none}
  .members-cards-mobile{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:10px}
  .member-card{display:flex;flex-direction:column;background:#fff;border:1px solid var(--line);
    border-radius:12px;padding:10px;gap:5px}
  .mc-top{display:flex;justify-content:space-between;align-items:center}
  .mc-photo{width:60px !important;height:60px !important;object-fit:cover;border-radius:10px;
    margin:2px auto 4px;display:block}
  .mc-name{font-size:13px;margin-top:2px;text-align:center}
  .mc-field{font-size:11.5px;color:var(--ink2)}
  .mc-field .muted{font-weight:600}
  .mc-actions{display:flex;gap:6px;margin-top:6px}
  .mc-actions a{flex:1;justify-content:center;padding:8px 4px}

  /* "All" ke bagal wala class-select dropdown mobile par poori width le le */
  .chip-select{flex:1;min-width:0;max-width:none}
}
@media(max-width:380px){
  .members-cards-mobile{grid-template-columns:1fr}
}
@media(min-width:641px){
  .members-cards-mobile{display:none}
}
@media(max-width:480px){
  .topbar{padding:10px 14px}
  .whoami{display:none}
  .wrap{padding:0 14px}
  /* Mobile par: Member name upar poori width me, phir photo ke right me
     Choose/Take photo buttons aur Photo No. field (jagah use hoti hai) */
  .photo-row{grid-template-columns:80px 1fr;
    grid-template-areas:"name name" "photobox photobtns" "photobox photoname"}
  .preview{width:80px;height:100px}
  /* Members/Verified/Draft stat cards — bahut chhoti screen (jaise 312px) par bhi
     hamesha 2-per-row hi rahen, 1-per-row na ho jaaye */
  .stats{grid-template-columns:1fr 1fr;gap:10px}
  .stats .stat{padding:12px 14px}
}
@media(max-width:340px){
  /* Bahut hi narrow screen (jaise 312px) par safety ke liye column me stack ho
     jaaye, taaki kabhi bhi overflow na ho */
  .photo-row{grid-template-columns:1fr;
    grid-template-areas:"name" "photobox" "photobtns" "photoname"}
  .preview{width:96px;height:120px;margin:0 auto}
}

/* brand as link */
a.brand{text-decoration:none}
a.brand:hover{opacity:.9}

/* plan badges + row highlight (super admin) */
.planbadge{font-size:11.5px;padding:3px 10px;border-radius:20px;font-weight:700}
.planbadge.plan-m{background:#e0e7ff;color:#3730a3}
.planbadge.plan-y{background:#fef3c7;color:#92400e}
.planbadge.plan-d{background:#e2e8f0;color:#475569}
tr.row-yearly td{background:#fffbeb !important}
tr.row-monthly td{background:#eef2ff !important}

/* credentials box + pager */
.cred-box{background:#ecfdf5;border:1px solid #a7f3d0;border-radius:14px;padding:16px 18px;margin-bottom:18px}
.cred-box .cred-row{display:flex;gap:18px;flex-wrap:wrap;margin:8px 0}
.cred-box .cred-row span{background:#fff;border:1px solid #d1fae5;border-radius:8px;padding:6px 12px;font-size:14px}
.pager{display:flex;gap:6px;flex-wrap:wrap;margin-top:16px;justify-content:center}
.pager .pg{padding:7px 12px;border:1px solid var(--line);border-radius:8px;font-size:13px;color:var(--ink2);background:#fff}
.pager .pg.active{background:var(--indigo);color:#fff;border-color:var(--indigo)}
.pager .pg.disabled{opacity:.4;pointer-events:none}

/* legal/info pages */
.legal{max-width:820px;margin:26px auto;padding:0 20px 10px}
.legal h1{font-size:28px;margin-bottom:14px}
.legal h3{font-size:17px;margin:20px 0 6px}
.legal p,.legal li{color:var(--ink2);font-size:15px;line-height:1.7}
.legal ul{padding-left:20px;margin:8px 0}

/* FAQ accordion — collapse/expand */
.faq-list{display:flex;flex-direction:column;gap:10px;margin-top:18px}
/* ID card sample gallery — superadmin ke upload kiye samples, home page pe
   auto + manual scroll wali strip (FAQ section ke upar) */
.sample-gallery{display:flex;gap:16px;overflow-x:auto;padding:6px 2px 14px;scroll-behavior:smooth;
  -webkit-overflow-scrolling:touch;scrollbar-width:thin}
.sample-gallery-img{height:240px;width:auto;flex:none;border-radius:12px;box-shadow:var(--shadow);
  border:1px solid var(--line);object-fit:cover;background:#f8fafc}
@media(max-width:600px){ .sample-gallery-img{height:170px} }

/* superadmin settings: sample gallery thumbnail grid + delete button */
.sample-thumb-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(90px,1fr));gap:10px;margin-top:10px}
.sample-thumb{position:relative;border-radius:10px;overflow:hidden;border:1px solid var(--line);background:#f8fafc;aspect-ratio:1}
.sample-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.sample-thumb form{position:absolute;top:4px;right:4px;margin:0}
.sample-thumb-del{width:22px;height:22px;border-radius:50%;background:rgba(220,38,38,.9);color:#fff;border:none;
  font-size:12px;cursor:pointer;display:flex;align-items:center;justify-content:center;padding:0}

.faq-item{background:var(--card);border:1px solid var(--line);border-radius:12px;padding:4px 18px;transition:border-color .15s,background .15s}
.faq-item:nth-child(4n+1){background:linear-gradient(160deg,#f2f4ff,#fafaff 65%)}
.faq-item:nth-child(4n+2){background:linear-gradient(160deg,#fffaf0,#fffdf9 65%)}
.faq-item:nth-child(4n+3){background:linear-gradient(160deg,#f0fdf9,#f9fffd 65%)}
.faq-item:nth-child(4n+4){background:linear-gradient(160deg,#fef6fa,#fffbfd 65%)}
.faq-item[open]{border-color:#c7d2fe}
.faq-item summary{cursor:pointer;list-style:none;padding:14px 26px 14px 0;font-weight:600;font-size:15px;
  color:var(--ink);position:relative}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item summary::after{content:'+';position:absolute;right:0;top:50%;transform:translateY(-50%);
  font-size:20px;color:#4f46e5;font-weight:400;line-height:1}
.faq-item[open] summary::after{content:'−'}
.faq-item p{color:var(--ink2);font-size:14.5px;line-height:1.7;margin:0 0 16px}

/* crop modal */
.crop-modal{display:none;position:fixed;inset:0;background:rgba(15,23,42,.6);z-index:100;
  align-items:center;justify-content:center;padding:16px}
.crop-modal.show{display:flex}
.crop-box{background:#fff;border-radius:16px;padding:20px;max-width:520px;width:100%;box-shadow:0 20px 60px rgba(0,0,0,.3);max-height:92vh;overflow-y:auto}
.crop-box h3{margin-bottom:12px}
.crop-area{max-height:420px;overflow:hidden;background:#111;border-radius:10px}
.crop-area img{display:block;max-width:100%}
.crop-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:14px}

/* chips (batches) */
.chips{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.chip-select{flex-shrink:1;max-width:260px;width:100%;background:var(--indigo-soft);color:#3730a3;border:1px solid #c7d2fe;
  border-radius:20px;padding:7px 12px;font-size:13.5px;font-weight:600;cursor:pointer}
.chips .chip{flex-shrink:0}
.batch-toolbar{display:flex;align-items:center;gap:22px;flex-wrap:nowrap;overflow-x:auto;
  padding-bottom:4px;margin-bottom:14px}
.batch-toolbar-form{display:flex;gap:8px;align-items:center;flex-shrink:0}
.batch-toolbar-form input{width:220px;flex-shrink:0}
.batch-toolbar-manage{display:flex;gap:8px;align-items:center;flex-shrink:0;white-space:nowrap}
.batch-toolbar-manage select{width:170px;flex-shrink:0}
.manage-actions{display:flex;gap:8px}
@media(max-width:640px){
  .batch-toolbar{flex-wrap:wrap;overflow-x:visible}
  .batch-toolbar-form{flex-wrap:wrap;width:100%}
  .batch-toolbar-form input{width:auto;flex:1;min-width:160px}
  /* Manage a class: dropdown apni line me, Rename/Delete buttons uske NEECHE alag row me */
  .batch-toolbar-manage{flex-wrap:wrap;width:100%}
  .batch-toolbar-manage label{width:100%}
  .batch-toolbar-manage select{width:100%;flex:none;margin-bottom:8px}
  .batch-toolbar-manage .manage-actions{display:flex;gap:8px;width:100%}
  .batch-toolbar-manage .manage-actions .btn{flex:1;justify-content:center}
}

.chip{background:#f1f5f9;color:var(--ink2);padding:7px 14px;border-radius:20px;font-size:13.5px;font-weight:600;border:1px solid transparent}
.chip:hover{background:#e2e8f0}
.chip.active{background:var(--indigo);color:#fff}

/* colorful stat tiles with icons */
.stat{position:relative;overflow:hidden}
.stat .ic{font-size:20px;margin-bottom:4px}
.stat.green{background:linear-gradient(135deg,#ecfdf5,#d1fae5);border-color:#a7f3d0}
.stat.green .n{color:#166534}
.stat.amber{background:linear-gradient(135deg,#fffbeb,#fef3c7);border-color:#fde68a}
.stat.amber .n{color:#92400e}
.stat.teal{background:linear-gradient(135deg,#f0fdfa,#ccfbf1);border-color:#99f6e4}
.stat.teal .n{color:#0f766e}
.stat.rose{background:linear-gradient(135deg,#fff1f2,#ffe4e6);border-color:#fecdd3}
.stat.rose .n{color:#9f1239}

/* photo editor: single panel, always-compact canvas + right-side crop/rotate controls */
.crop-box-wide{max-width:760px}
.editor-grid{display:grid;grid-template-columns:280px 1fr;gap:22px;margin-top:4px}
.editor-left{min-width:0}
.editor-right{border-left:1px solid var(--line);padding-left:20px}
.editor-right h4{font-size:15px;margin-bottom:6px}
.bg-canvas-wrap{display:flex;justify-content:center;background:
  repeating-conic-gradient(#f1f5f9 0% 25%, #fff 0% 50%) 50% / 20px 20px;
  border-radius:10px;padding:8px}
#workCanvas{width:100%;max-width:260px;height:auto;border-radius:8px;box-shadow:0 2px 8px rgba(0,0,0,.12);touch-action:none;display:block;margin:0 auto;cursor:grab}
.swatch-row{display:flex;align-items:center;gap:10px;margin-top:12px;flex-wrap:wrap}
.swatch{width:30px;height:30px;border-radius:50%;border:2px solid #fff;box-shadow:0 0 0 1.5px #cbd5e1;cursor:pointer;padding:0;flex:none}
.swatch:hover{box-shadow:0 0 0 2px var(--indigo)}
#customColor{width:34px;height:30px;border:1px solid var(--line);border-radius:8px;padding:2px;cursor:pointer}

.tool-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:10px}
.tool-btn{background:#f1f5f9;color:var(--ink2)}
.tool-btn.active{background:var(--indigo);color:#fff}
.brush-size{display:flex;align-items:center;gap:8px;font-size:12.5px;color:var(--muted);font-weight:600}
.brush-size input[type=range]{width:100px}

@media(max-width:680px){
  .editor-grid{grid-template-columns:1fr}
  .editor-right{border-left:0;padding-left:0;border-top:1px solid var(--line);padding-top:14px;margin-top:6px}
}


/* manage fields: "Not shown in the form" toggle — ab ek plain full-width div hai
   (table ke andar nahi), isliye kabhi bhi squeeze/sankdi nahi hogi */
.hidden-fields-toggle{display:flex;align-items:center;gap:14px;cursor:pointer;user-select:none;
  background:linear-gradient(90deg,#1e293b,#334155);color:#fff;font-size:14px;font-weight:700;
  padding:16px 20px;border-radius:12px;margin:14px 0}
.hidden-fields-toggle:hover{background:linear-gradient(90deg,#0f172a,#1e293b)}
.hidden-toggle-btn{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;
  border-radius:10px;background:#fff;color:#1e293b;font-weight:800;font-size:24px;border:none;
  cursor:pointer;flex:none;line-height:1;padding:0}

/* Manage fields table -> mobile par ek-column card list (input boxes squeeze/cut nahi honge) */
@media(max-width:600px){
  .manage-fields-table thead{display:none}
  .manage-fields-table, .manage-fields-table tbody{display:block;width:100%}
  .manage-fields-table tr{display:flex;flex-direction:column;gap:8px;background:#fff;
    border:1px solid var(--line);border-radius:12px;padding:14px;margin-bottom:10px}
  .manage-fields-table td{display:flex;justify-content:space-between;align-items:center;gap:10px;
    border:0;padding:2px 0;font-size:13px}
  .manage-fields-table td[data-label]::before{content:attr(data-label);color:var(--muted);
    font-weight:600;font-size:11px;text-transform:uppercase;letter-spacing:.3px;flex:none}
  .manage-fields-table td[data-label=""]::before{content:none}
  .manage-fields-table td[data-label="Field label"]{flex-direction:column;align-items:stretch;gap:4px}
  .manage-fields-table td[data-label="Field label"] input{width:100%}
  .manage-fields-table td[data-label="Field label"] .muted{font-size:11px}
}

/* brush shape toggle */
.shape-btn{background:#f1f5f9;color:var(--ink2);width:34px;padding:6px 0;font-size:15px}
.shape-btn.active{background:var(--indigo);color:#fff}

/* hero subtitle line under main heading */
.hero-sub{display:block;font-size:19px;color:var(--indigo);font-weight:600;margin-top:6px}

/* downloadable-software promo box (below pricing) */
.software-promo{position:relative;max-width:820px;margin:34px auto 0;background:#fff;
  border:2px solid var(--green);border-radius:20px;box-shadow:0 16px 40px rgba(22,163,74,.15);
  padding-top:14px;transition:transform .2s ease,box-shadow .2s ease}
.software-promo:hover{transform:translateY(-3px);box-shadow:0 22px 48px rgba(22,163,74,.2)}
.software-ribbon{position:absolute;top:-13px;left:50%;transform:translateX(-50%);white-space:nowrap;
  background:var(--green);color:#fff;font-size:12px;font-weight:700;padding:5px 16px;border-radius:20px;
  box-shadow:0 2px 8px rgba(0,0,0,.15)}
.software-inner{display:grid;grid-template-columns:1fr 220px;gap:26px;padding:22px 30px 28px}
.software-eyebrow{display:inline-block;font-size:11.5px;font-weight:700;color:var(--green);background:#ecfdf5;
  padding:3px 10px;border-radius:20px;text-transform:uppercase;letter-spacing:.4px;margin-bottom:8px}
.software-inner h3{font-size:22px}
.software-list{list-style:none;margin-top:4px}
.software-list li{font-size:14px;color:var(--ink2);padding:6px 0 6px 26px;position:relative}
.software-list li:before{content:"✓";position:absolute;left:0;color:var(--green);font-weight:700}
.software-right{border-left:1px solid var(--line);padding-left:26px;display:flex;flex-direction:column;justify-content:center}
.software-price{font-family:Sora;font-size:34px;font-weight:700;color:var(--green)}
.software-per{color:var(--muted);font-size:12.5px}
@media(max-width:680px){
  .software-inner{grid-template-columns:1fr}
  .software-right{border-left:0;border-top:1px solid var(--line);padding-left:0;padding-top:18px;margin-top:6px}
}

/* training/demo video embed (responsive 16:9) */
.video-wrap{max-width:820px;margin:0 auto;position:relative;padding-top:56.25%;
  border-radius:16px;overflow:hidden;box-shadow:var(--shadow);background:#0f172a}
.video-wrap iframe{position:absolute;inset:0;width:100%;height:100%;border:0}

/* testimonials */
.testi-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;max-width:1080px;margin:0 auto;align-items:stretch}
/* Final CTA band — testimonials ke turant baad, poora indigo-purple gradient full-width */
.final-cta{background:linear-gradient(120deg,#4338ca,#4f46e5 50%,#6d28d9);padding:60px 20px;text-align:center}
.final-cta-inner{max-width:720px;margin:0 auto}
.final-cta h2{font-family:Sora,sans-serif;font-size:32px;font-weight:800;color:#fff;margin-bottom:12px}
.final-cta-inner>p{font-size:15px;color:#e0e7ff;line-height:1.6;margin-bottom:26px}
.cta-pills{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin-bottom:28px}
.cta-pill{background:rgba(255,255,255,.14);color:#fff;font-size:12.5px;font-weight:600;
  padding:7px 14px;border-radius:20px;border:1px solid rgba(255,255,255,.25)}
.cta-btns{display:flex;flex-wrap:wrap;justify-content:center;gap:12px}
.cta-btn-primary{display:inline-block;background:#fff;color:#4338ca;font-weight:700;font-size:14.5px;
  padding:13px 26px;border-radius:12px;text-decoration:none;box-shadow:0 8px 20px rgba(0,0,0,.15);
  transition:transform .15s ease}
.cta-btn-primary:hover{transform:translateY(-2px)}
.cta-btn-secondary{display:inline-block;background:transparent;color:#fff;font-weight:700;font-size:14.5px;
  padding:13px 26px;border-radius:12px;text-decoration:none;border:1.5px solid rgba(255,255,255,.5);
  transition:background .15s ease,border-color .15s ease}
.cta-btn-secondary:hover{background:rgba(255,255,255,.12);border-color:#fff}
@media(max-width:480px){
  .final-cta h2{font-size:23px}
  .cta-btns{flex-direction:column;align-items:stretch}
}

.testi-sec{position:relative;padding:44px 20px 50px;border-radius:28px;overflow:hidden}
.testi-sec::before{content:'';position:absolute;inset:0;z-index:-1;border-radius:28px;
  background:
    radial-gradient(circle at 10% 15%, rgba(99,102,241,.13), transparent 42%),
    radial-gradient(circle at 90% 12%, rgba(245,158,11,.13), transparent 38%),
    radial-gradient(circle at 20% 95%, rgba(16,185,129,.10), transparent 40%),
    radial-gradient(circle at 85% 90%, rgba(236,72,153,.11), transparent 42%),
    var(--bg)}
.testi-card{background:#fff;border:1px solid var(--line);border-top:4px solid var(--indigo);
  border-radius:18px;padding:26px 24px 22px;box-shadow:var(--shadow);
  display:flex;flex-direction:column;height:100%;
  position:relative;transition:transform .2s ease,box-shadow .2s ease}
.testi-card:hover{transform:translateY(-6px);box-shadow:0 20px 40px rgba(15,23,42,.13)}
.testi-card:nth-child(5n+2){border-top-color:#f59e0b}
.testi-card:nth-child(5n+3){border-top-color:#10b981}
.testi-card:nth-child(5n+4){border-top-color:#ec4899}
.testi-card:nth-child(5n+5){border-top-color:#0ea5e9}
.testi-quote-mark{width:34px;height:34px;border-radius:10px;background:var(--indigo-soft);
  display:flex;align-items:center;justify-content:center;margin-bottom:14px;flex:none}
.testi-quote-mark svg{width:16px;height:16px;fill:var(--indigo)}
.testi-card:nth-child(5n+2) .testi-quote-mark{background:#fef3c7}
.testi-card:nth-child(5n+2) .testi-quote-mark svg{fill:#d97706}
.testi-card:nth-child(5n+3) .testi-quote-mark{background:#d1fae5}
.testi-card:nth-child(5n+3) .testi-quote-mark svg{fill:#059669}
.testi-card:nth-child(5n+4) .testi-quote-mark{background:#fce7f3}
.testi-card:nth-child(5n+4) .testi-quote-mark svg{fill:#db2777}
.testi-card:nth-child(5n+5) .testi-quote-mark{background:#e0f2fe}
.testi-card:nth-child(5n+5) .testi-quote-mark svg{fill:#0284c7}
.testi-msg{font-size:14px;color:var(--ink2);line-height:1.65;position:relative;z-index:1;
  flex:1;display:-webkit-box;-webkit-line-clamp:6;line-clamp:6;-webkit-box-orient:vertical;overflow:hidden}
.testi-who{display:flex;align-items:center;gap:11px;margin-top:20px;padding-top:16px;border-top:1px dashed var(--line)}
.testi-avatar{width:42px;height:42px;border-radius:50%;object-fit:cover;flex:none;box-shadow:0 0 0 3px var(--indigo-soft)}
.testi-avatar-fallback{background:var(--indigo);color:#fff;display:grid;place-items:center;font-weight:700;font-size:15px}
.testi-card:nth-child(5n+2) .testi-avatar{box-shadow:0 0 0 3px #fef3c7}
.testi-card:nth-child(5n+2) .testi-avatar-fallback{background:#f59e0b}
.testi-card:nth-child(5n+3) .testi-avatar{box-shadow:0 0 0 3px #d1fae5}
.testi-card:nth-child(5n+3) .testi-avatar-fallback{background:#10b981}
.testi-card:nth-child(5n+4) .testi-avatar{box-shadow:0 0 0 3px #fce7f3}
.testi-card:nth-child(5n+4) .testi-avatar-fallback{background:#ec4899}
.testi-card:nth-child(5n+5) .testi-avatar{box-shadow:0 0 0 3px #e0f2fe}
.testi-card:nth-child(5n+5) .testi-avatar-fallback{background:#0ea5e9}
.testi-name{font-weight:700;font-size:13.5px;color:var(--ink)}
.testi-role{font-size:12px;color:var(--muted)}
@media(max-width:820px){
  .testi-grid{display:flex;grid-template-columns:none;overflow-x:auto;scroll-snap-type:x mandatory;
    gap:14px;padding-bottom:8px;-webkit-overflow-scrolling:touch;scrollbar-width:none}
  .testi-grid::-webkit-scrollbar{display:none}
  .testi-card{flex:0 0 84%;scroll-snap-align:center}
}
