/* Annapurna OS - public website (landing / auth / guide) */
body.site { background: #fff; overflow-x: hidden; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 22px; }

/* nav */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 90; transition: .3s; }
.nav.scrolled { background: rgba(255, 255, 255, .88); backdrop-filter: blur(14px); box-shadow: 0 6px 30px -18px rgba(0, 0, 0, .3); }
.nav .wrap { display: flex; align-items: center; gap: 18px; height: 74px; }
.logo-mark { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; }
.logo-mark .lm { width: 40px; height: 40px; border-radius: 13px; background: var(--grad); display: grid; place-items: center; color: #fff; font-size: 18px; box-shadow: 0 8px 20px -6px rgba(255, 60, 60, .7); animation: wobble 6s ease-in-out infinite; }
.nav-links { display: flex; gap: 6px; margin-left: auto; align-items: center; }
.nav-links a:not(.btn) { white-space: nowrap; padding: 8px 12px; border-radius: 10px; font-weight: 500; font-size: 14px; transition: .2s; }
.nav-links a:not(.btn):hover { background: #fff1e6; color: var(--p1); }
.burger { display: none; margin-left: auto; }

/* hero */
.hero { position: relative; padding: 140px 0 90px; overflow: hidden; background: radial-gradient(1200px 600px at 80% -10%, #ffe6dc 0%, transparent 60%), radial-gradient(900px 500px at -10% 30%, #e3f8ea 0%, transparent 60%); }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; animation: blobMove 14s ease-in-out infinite; pointer-events: none; }
.blob.b1 { width: 380px; height: 380px; background: #ffb199; top: 60px; right: -80px; }
.blob.b2 { width: 300px; height: 300px; background: #9be7b4; bottom: -60px; left: -60px; animation-delay: -5s; }
.blob.b3 { width: 220px; height: 220px; background: #ffd36e; top: 45%; left: 42%; animation-delay: -9s; opacity: .35; }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px 7px 7px; border-radius: 40px; background: #fff; box-shadow: var(--sh); font-size: 13px; font-weight: 600; animation: fadeUp .8s both; }
.pill b { background: var(--grad); color: #fff; padding: 3px 10px; border-radius: 20px; font-size: 11.5px; }
.hero h1 { font-size: clamp(34px, 5.4vw, 62px); line-height: 1.07; margin: 22px 0 18px; letter-spacing: -.03em; animation: fadeUp .8s .1s both; }
.hero h1 .rot { display: inline-block; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; min-width: 4ch; }
.hero h1 .rot.swap { animation: wordSwap .6s var(--ease); }
.hero p.lead { font-size: 17px; color: var(--ink2); max-width: 540px; animation: fadeUp .8s .2s both; }
.hero .ctas { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; animation: fadeUp .8s .3s both; }
.hero .trust { display: flex; gap: 26px; margin-top: 38px; flex-wrap: wrap; animation: fadeUp .8s .4s both; }
.hero .trust div b { display: block; font-size: 26px; font-weight: 800; }
.hero .trust div span { font-size: 12.5px; color: var(--muted); }

/* phone mockup */
.phone-wrap { position: relative; display: grid; place-items: center; animation: fadeIn 1s .3s both; }
.phone { width: 290px; height: 590px; border-radius: 44px; background: #2a211e; padding: 12px; box-shadow: 0 50px 90px -30px rgba(40, 20, 90, .6); position: relative; animation: float 6s ease-in-out infinite; transform: rotate(-3deg); }
.phone::before { content: ''; position: absolute; width: 110px; height: 24px; background: #2a211e; border-radius: 0 0 16px 16px; top: 12px; left: 50%; transform: translateX(-50%); z-index: 3; }
.screen { width: 100%; height: 100%; border-radius: 34px; background: #fff8f4; overflow: hidden; position: relative; }
.screen .sc-h { background: var(--grad); color: #fff; padding: 40px 18px 18px; }
.screen .sc-h b { font-size: 17px; display: block; }
.screen .sc-h small { opacity: .85; font-size: 11.5px; }
.screen .sc-cats { display: flex; gap: 6px; padding: 12px 14px 4px; }
.screen .sc-cats span { font-size: 10.5px; padding: 5px 10px; background: #fff; border-radius: 20px; font-weight: 600; box-shadow: 0 2px 8px rgba(0, 0, 0, .06); }
.screen .sc-cats span:first-child { background: var(--ink); color: #fff; }
.sc-item { display: flex; gap: 10px; align-items: center; margin: 10px 14px; background: #fff; border-radius: 16px; padding: 10px; box-shadow: 0 4px 14px -8px rgba(0, 0, 0, .2); animation: slideIn .6s both; }
.sc-item .e { width: 50px; height: 50px; border-radius: 12px; display: grid; place-items: center; font-size: 26px; background: linear-gradient(135deg, #ffe3d3, #ffd1e3); flex: none; }
.sc-item b { font-size: 12.5px; display: block; }
.sc-item small { font-size: 11px; color: var(--p1); font-weight: 700; }
.sc-item .add { margin-left: auto; font-size: 10.5px; font-weight: 800; color: var(--ok); border: 1.5px solid var(--ok); padding: 3px 10px; border-radius: 8px; }
.sc-cart { position: absolute; left: 14px; right: 14px; bottom: 16px; background: var(--ok); color: #fff; border-radius: 16px; padding: 12px 14px; display: flex; justify-content: space-between; font-size: 12.5px; font-weight: 700; animation: bounceY 2.2s ease-in-out infinite; }
.float-card { position: absolute; background: #fff; border-radius: 18px; padding: 12px 16px; box-shadow: var(--sh2); display: flex; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 600; z-index: 4; }
.float-card .fi { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; color: #fff; font-size: 16px; }
.fc1 { top: 70px; left: -10px; animation: float 5s ease-in-out infinite; }
.fc2 { bottom: 110px; right: -20px; animation: float 5.5s -2s ease-in-out infinite; }
.fc3 { top: 250px; right: -30px; animation: float 6s -4s ease-in-out infinite; }
.emoji-rain span { position: absolute; font-size: 30px; animation: floatSpin 9s ease-in-out infinite; opacity: .85; pointer-events: none; }

/* sections */
.sec { padding: 96px 0; position: relative; }
.sec.alt { background: #fff8f1; }
.sec-h { text-align: center; max-width: 680px; margin: 0 auto 54px; }
.sec-h .eyebrow { display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--p1); background: #fff1eb; padding: 6px 14px; border-radius: 20px; margin-bottom: 14px; }
.sec-h h2 { font-size: clamp(28px, 4vw, 42px); letter-spacing: -.02em; }
.sec-h p { color: var(--ink2); margin-top: 12px; font-size: 16px; }
.feat { background: #fff; border-radius: 24px; padding: 28px; border: 1px solid var(--line); transition: .4s var(--ease); position: relative; overflow: hidden; }
.feat::after { content: ''; position: absolute; inset: auto -40% -60% auto; width: 200px; height: 200px; background: radial-gradient(circle, rgba(255, 90, 31, .12), transparent 70%); transition: .5s; }
.feat:hover { transform: translateY(-8px); box-shadow: var(--sh2); border-color: transparent; }
.feat:hover::after { inset: auto -10% -30% auto; }
.feat .fi { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; font-size: 24px; color: #fff; background: var(--grad); margin-bottom: 18px; transition: .4s var(--ease); }
.feat:hover .fi { transform: rotate(-8deg) scale(1.08); }
.feat h3 { font-size: 18px; margin-bottom: 8px; }
.feat p { color: var(--ink2); font-size: 14px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: st; }
.step { text-align: center; padding: 20px; position: relative; }
.step .n { width: 74px; height: 74px; margin: 0 auto 16px; border-radius: 50%; background: #fff; box-shadow: var(--sh); display: grid; place-items: center; font-size: 30px; position: relative; }
.step .n::after { counter-increment: st; content: counter(st); position: absolute; top: -4px; right: -4px; width: 26px; height: 26px; border-radius: 50%; background: var(--grad); color: #fff; font-size: 12px; font-weight: 800; display: grid; place-items: center; }
.step h4 { font-size: 16px; margin-bottom: 6px; }
.step p { font-size: 13.5px; color: var(--ink2); }

.explore-bar { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; justify-content: center; margin-bottom: 30px; }
.explore-bar .input-icon { flex: 1; min-width: 240px; max-width: 460px; }
.biz-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; }
.biz { background: #fff; border-radius: 22px; overflow: hidden; box-shadow: var(--sh); transition: .4s var(--ease); display: block; animation: fadeUp .5s var(--ease) both; }
.biz:hover { transform: translateY(-8px); box-shadow: var(--sh2); }
.biz .cv { height: 150px; position: relative; display: grid; place-items: center; font-size: 58px; overflow: hidden; }
.biz .cv img { width: 100%; height: 100%; object-fit: cover; transition: .6s var(--ease); }
.biz:hover .cv img { transform: scale(1.08); }
.biz .cv .st { position: absolute; top: 12px; left: 12px; }
.biz .cv .lg { position: absolute; bottom: -22px; left: 16px; width: 54px; height: 54px; border-radius: 16px; background: #fff; box-shadow: var(--sh); display: grid; place-items: center; font-size: 26px; overflow: hidden; border: 3px solid #fff; }
.biz .cv .lg img { width: 100%; height: 100%; object-fit: cover; }
.biz .bd { padding: 30px 18px 18px; }
.biz h3 { font-size: 17px; }
.biz .row { font-size: 12.5px; color: var(--muted); margin-top: 6px; }
.rating { background: var(--ok); color: #fff; font-weight: 700; font-size: 12px; padding: 2px 8px; border-radius: 8px; }

.cta-band { background: linear-gradient(120deg, #ff9500, #ff5a1a 45%, #e11d2e); background-size: 200% 200%; animation: gradMove 12s ease infinite; color: #fff; border-radius: 34px; padding: 60px 50px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; align-items: center; position: relative; overflow: hidden; }
.cta-band::before { content: ''; position: absolute; width: 400px; height: 400px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 230, 120, .45), transparent 65%); right: -100px; top: -150px; }
.cta-band h2 { font-size: clamp(26px, 3.6vw, 38px); }
.cta-band p { opacity: .8; margin-top: 10px; }
.footer { background: linear-gradient(160deg, #0f5c2e, #0b4424); color: #bfe6cc; padding: 60px 0 30px; margin-top: 90px; }
.footer .wrap { display: grid; grid-template-columns: 1.4fr repeat(5, minmax(0, 1fr)); gap: 26px; }
.footer h5 { color: #fff; font-size: 14px; margin: 0 0 14px; }
.footer a { display: block; padding: 4px 0; font-size: 13.5px; transition: .2s; }
.footer a:hover { color: #fff; transform: translateX(3px); }
.copy { text-align: center; font-size: 12.5px; color: #8cc7a1; margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .06); }

.loy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.loy-feat { background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .08); border-radius: 18px; padding: 16px; transition: .3s var(--ease); }
.loy-feat:hover { transform: translateY(-5px); background: rgba(255, 255, 255, .12); }
.loy-feat p { opacity: .75; }
@media (max-width: 900px) { .loy-grid { grid-template-columns: 1fr; } }

/* auth pages */
.auth { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.auth-art { position: relative; background: linear-gradient(135deg, #ff9500, #ff5a1a 50%, #e11d2e); background-size: 200% 200%; animation: gradMove 14s ease infinite; color: #fff; padding: 50px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; }
.auth-art h2 { font-size: 38px; line-height: 1.15; margin-top: 30px; }
.auth-art p { opacity: .8; margin-top: 14px; max-width: 420px; }
.auth-art .big-emoji { position: absolute; font-size: 90px; right: 50px; bottom: 90px; animation: float 5s ease-in-out infinite; filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .3)); }
.auth-art .ring { position: absolute; border: 1.5px solid rgba(255, 255, 255, .12); border-radius: 50%; animation: spin 40s linear infinite; }
.auth-form { display: grid; place-items: center; padding: 40px 22px; background: #fff; }
.auth-box { width: 100%; max-width: 430px; animation: fadeUp .7s var(--ease) both; }
.auth-box h1 { font-size: 30px; }
.role-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; background: #fff1e6; padding: 6px; border-radius: 16px; margin: 24px 0; }
.role-tabs button { border: 0; background: transparent; padding: 11px 6px; border-radius: 12px; cursor: pointer; font-weight: 600; font-size: 13px; color: var(--ink2); transition: .25s var(--ease); display: flex; flex-direction: column; align-items: center; gap: 4px; }
.role-tabs button i { font-size: 17px; }
.role-tabs button.on { background: #fff; color: var(--p1); box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .15); transform: translateY(-1px); }
.pw-eye { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); border: 0; background: none; color: var(--muted); cursor: pointer; padding: 6px; }
.type-pick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.type-pick label { border: 1.5px solid var(--line); border-radius: 14px; padding: 10px 4px; text-align: center; cursor: pointer; font-size: 11.5px; font-weight: 600; transition: .2s var(--ease); }
.type-pick label span { display: block; font-size: 24px; margin-bottom: 2px; transition: .3s var(--ease); }
.type-pick label:hover span { transform: scale(1.2) rotate(-8deg); }
.type-pick input { display: none; }
.type-pick input:checked + label { border-color: var(--p1); background: #fff5f0; color: var(--p1); box-shadow: 0 6px 16px -8px rgba(255, 90, 31, .6); }

@keyframes blobMove { 0%, 100% { transform: translate(0, 0) scale(1); } 33% { transform: translate(40px, -30px) scale(1.1); } 66% { transform: translate(-30px, 30px) scale(.95); } }
@keyframes wobble { 0%, 90%, 100% { transform: rotate(0); } 93% { transform: rotate(-12deg); } 96% { transform: rotate(10deg); } }
@keyframes wordSwap { 0% { opacity: 0; transform: translateY(60%); filter: blur(4px); } 100% { opacity: 1; transform: none; filter: none; } }
@keyframes bounceY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes floatSpin { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-26px) rotate(14deg); } }

@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: 1fr; text-align: center; }
  .hero p.lead { margin: 0 auto; }
  .hero .ctas, .hero .trust { justify-content: center; }
  .phone-wrap { margin-top: 20px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .cta-band { grid-template-columns: 1fr; padding: 40px 28px; text-align: center; }
  .footer .wrap { grid-template-columns: 1fr 1fr; }
  .auth { grid-template-columns: 1fr; }
  .auth-art { display: none; }
  .nav-links { display: none; position: absolute; top: 74px; left: 12px; right: 12px; background: #fff; flex-direction: column; align-items: stretch; padding: 12px; border-radius: 18px; box-shadow: var(--sh2); }
  .nav-links.open { display: flex; animation: fadeUp .3s both; }
  .burger { display: inline-flex; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .hero { padding: 116px 0 60px; }
  .phone { width: 250px; height: 510px; }
  .fc3 { display: none; }
  .fc1 { left: -6px; } .fc2 { right: -6px; }
  .sec { padding: 70px 0; }
  .steps { grid-template-columns: 1fr; }
  .type-pick { grid-template-columns: repeat(4, 1fr); }
  .footer .wrap { grid-template-columns: 1fr; }
}

/* .row.wrap = flex-wrap wali line (page container .wrap nahi) */
.row.wrap { width: auto; max-width: none; margin: 0; padding: 0; }
.cta-band > * { min-width: 0; }
@media (max-width: 420px) { .cta-band { padding: 32px 18px; border-radius: 26px; } .cta-band .btn-lg { width: 100%; } }
/* 3D reveal animation (tircha card) ki wajah se page side me na hile */
html:has(body.site), body.site { overflow-x: clip; }

.logo-mark .lm.lm-img { background: none; box-shadow: none; width: 56px; height: 56px; border-radius: 0; }
.lm.lm-img img { width: 100%; height: 100%; object-fit: contain; display: block; filter: drop-shadow(0 3px 6px rgba(0,0,0,.18)); }
.logo-mark .brand-logo { height: 78px; width: auto; display: block; filter: drop-shadow(0 2px 4px rgba(0,0,0,.12)); }
.logo-mark.on-color .brand-logo { height: 84px; background: #fff; padding: 6px 12px; border-radius: 16px; box-shadow: 0 10px 26px -12px rgba(0,0,0,.45); filter: none; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 640px) { .logo-mark .brand-logo { height: 62px; } .logo-mark.on-color .brand-logo { height: 70px; } }
.nav .wrap { height: 88px; }
@media (max-width: 640px) { .nav .wrap { height: 74px; } }
/* footer brand card (logo + tagline + feature icons) */
.footer a.foot-logo { display: block; width: 100%; max-width: 230px; padding: 0; background: #fff; border-radius: 18px; overflow: hidden; box-shadow: 0 14px 30px -14px rgba(0,0,0,.5); }
.footer a.foot-logo:hover { transform: translateY(-2px); }
.footer a.foot-logo img { display: block; width: 100%; height: auto; }
