/* Tool cards (tools page + home page): rangeen card, upar daaye number ka pill, neeche gol teer wala button */
.tc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.tc-card { --c1: #6366f1; --c2: #8b5cf6; position: relative; overflow: hidden; display: flex; flex-direction: column; min-height: 300px; text-align: left; text-decoration: none; color: inherit;
  background: #fff; border: 1px solid #e8ecf5; border-radius: 28px; padding: 24px; cursor: pointer; font: inherit; box-shadow: 0 10px 30px rgba(15, 27, 45, .08); transition: transform .18s, box-shadow .18s, border-color .18s; }
.tc-card::before { content: ""; position: absolute; right: -46px; top: -46px; width: 170px; height: 170px; border-radius: 50%; background: var(--c1); opacity: .12; }
.tc-card:hover, .tc-card.on { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(15, 27, 45, .16); border-color: var(--c1); }
.tc-ic { position: relative; width: 60px; height: 60px; border-radius: 19px; background: linear-gradient(135deg, var(--c1), var(--c2)); color: #fff; display: grid; place-items: center; font-size: 1.6rem; box-shadow: 0 10px 22px rgba(15, 27, 45, .22); }
.tc-pill { position: absolute; right: 22px; top: 22px; font-size: .75rem; font-weight: 800; color: var(--c1); background: rgba(255, 255, 255, .75); border: 1px solid rgba(15, 27, 45, .08); padding: 4px 12px; border-radius: 999px; }
.tc-card h3 { margin: 18px 0 4px; font-family: var(--font-head, inherit); font-size: 1.3rem; font-weight: 800; color: #0f172a; line-height: 1.2; }
.tc-sub { display: block; font-size: .92rem; font-weight: 800; color: var(--c1); }
.tc-card p { margin: 12px 0 0; color: #64748b; font-size: .95rem; font-weight: 500; line-height: 1.5; flex: 1; }
.tc-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 18px; }
.tc-chip { display: inline-flex; align-items: center; gap: 7px; background: #f1f5f9; color: #475569; font-weight: 800; font-size: .8rem; padding: 8px 14px; border-radius: 999px; }
.tc-go { width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(135deg, var(--c1), var(--c2)); color: #fff; display: grid; place-items: center; font-size: 1.2rem; box-shadow: 0 8px 18px rgba(15, 27, 45, .25); }
@media (max-width: 520px) { .tc-grid { grid-template-columns: 1fr; } .tc-card { min-height: 0; } }

/* ===== Header: safed patti (hero se alag dikhe), logo bayen kone me, buttons daayen kone me ===== */
.so-header, .so-header.is-solid, .so-header.nav-open { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; border-bottom: 1px solid #e3e9f3; box-shadow: 0 6px 24px rgba(15, 27, 45, .10); }
.so-header .so-brand, .so-header .so-brand b { color: #0b1f3a; }
.so-header .so-brand b { font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif; letter-spacing: -.01em; }
.so-header .so-brand small { color: #a8841a; font-weight: 700; }
.so-header .so-brand img { border: 1px solid rgba(201, 162, 39, .55); box-shadow: 0 4px 12px rgba(15, 27, 45, .18); }
.so-header .so-nav a.so-link { color: #1f2f4a; }
.so-header .so-nav a.so-link:hover { background: #f1f5fb; color: #0b1f3a; }
.so-header .so-btn-ghost { background: #fff; color: #0b1f3a; border: 1.5px solid #c9d3e3; }
.so-header .so-btn-ghost:hover { background: #f1f5fb; border-color: #9fb0cb; }
.so-header .so-burger { background: #fff; color: #0b1f3a; border-color: #c9d3e3; }
@media (max-width: 820px) {
  .so-header .so-nav { background: #fff; border-bottom: 1px solid #e3e9f3; box-shadow: 0 18px 30px rgba(15, 27, 45, .12); }
}
@media (min-width: 821px) {
  .so-header-in { height: 88px; max-width: none; padding-left: 40px; padding-right: 40px; }
  .so-brand { gap: 14px; }
  .so-brand img { width: 56px; height: 56px; border-radius: 15px; }
  .so-brand b { font-size: 1.55rem; font-weight: 800; }
  .so-brand small { margin-top: 5px; font-size: .72rem; letter-spacing: .16em; }
  .so-nav { gap: 8px; }
  .so-nav a.so-link { font-size: 1.02rem; font-weight: 600; padding: 11px 18px; border-radius: 12px; }
  .so-nav .so-cta { gap: 12px; margin-left: 16px; padding-left: 20px; border-left: 1px solid #dbe3ef; }
  .so-btn-sm { padding: 12px 26px; font-size: .98rem; border-radius: 12px; }
  .so-hero { padding-top: 164px; }
}
/* poore page ki chaudai: bade parde par kinaron tak */
@media (min-width: 1200px) { .so-wrap { max-width: 1440px; padding-left: 48px; padding-right: 48px; } }

/* ===== Pehli screen (hero): bada, saaf, bharose wala ===== */
.so-hero { min-height: 700px; display: flex; align-items: center; padding: 172px 0 112px; border-radius: 0 0 56px 56px; }
.so-hero::before { background:
  radial-gradient(900px 520px at 80% 6%, rgba(201, 162, 39, .28), transparent 60%),
  radial-gradient(820px 560px at 4% 92%, rgba(40, 90, 170, .36), transparent 62%),
  radial-gradient(620px 420px at 50% 58%, rgba(70, 120, 210, .14), transparent 70%),
  linear-gradient(180deg, #07162e 0%, #0a1d3a 100%); }
.so-hero-grid { width: 100%; }
.so-kicker { font-size: .88rem; padding: 10px 22px; letter-spacing: .12em; }
.so-hero h1 { font-size: clamp(2.7rem, 5.8vw, 4.9rem); line-height: 1.06; max-width: 1040px; margin: 24px auto 24px; letter-spacing: -.03em; }
.so-hero p.lead { font-size: clamp(1.1rem, 1.7vw, 1.4rem); line-height: 1.65; max-width: 740px; margin: 0 auto 40px; color: rgba(247, 244, 238, .88); }
.so-hero-cta { gap: 16px; }
.so-hero-cta .so-btn { padding: 18px 40px; font-size: 1.1rem; border-radius: 14px; }
.so-assure { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 44px 0 0; padding: 0; }
.so-assure li { display: inline-flex; align-items: center; gap: 9px; padding: 11px 20px; border-radius: 999px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .17); color: #e8eefb; font-weight: 600; font-size: .96rem; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.so-assure i { color: #f0dc9a; font-size: 1.05rem; }
@keyframes so-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.so-hero-grid > div > * { animation: so-rise .7s ease both; }
.so-hero-grid > div > *:nth-child(2) { animation-delay: .08s; } .so-hero-grid > div > *:nth-child(3) { animation-delay: .16s; } .so-hero-grid > div > *:nth-child(4) { animation-delay: .24s; } .so-hero-grid > div > *:nth-child(5) { animation-delay: .32s; }
@media (prefers-reduced-motion: reduce) { .so-hero-grid > div > * { animation: none; } }
@media (max-width: 820px) {
  .so-hero { min-height: 0; padding: 130px 0 84px; border-radius: 0 0 34px 34px; }
  .so-hero-cta .so-btn { padding: 16px 28px; width: 100%; }
  .so-assure { margin-top: 32px; gap: 10px; }
  .so-assure li { font-size: .9rem; padding: 10px 16px; }
}

/* ===== Home aur tools page 10% chhota (sirf bade parde par) ===== */
@media (min-width: 992px) { html { zoom: .9; } }
