:root{
  --bg:#FAF8F3; --card:#FFFFFF; --ink:#1C2B22; --muted:#4E5A53; --soft:#6E7A73;
  --line:#E8E3D7; --line2:#D9D4C7; --green:#1F5C3F; --green2:#24684A; --mint:#E3EEE7;
  --mint-ink:#1F4A35; --turmeric:#E8A317; --cream:#FCEFD0; --cream-ink:#5A4A1E; --sand:#F4F1EA; --error:#B3261E;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--ink);font-family:Inter,system-ui,sans-serif;line-height:1.5;overflow-x:hidden}
a{color:var(--green)}
img,svg{max-width:100%}
.wrap{max-width:1180px;margin:0 auto;padding:0 24px}
.display{font-family:'Baloo 2',sans-serif;font-weight:800;letter-spacing:-0.015em;line-height:1.05;margin:0}
.eyebrow{font-size:12px;font-weight:700;color:var(--green);letter-spacing:.08em;text-transform:uppercase}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;height:52px;padding:0 24px;border-radius:12px;border:none;font:600 16px Inter,sans-serif;cursor:pointer;text-decoration:none;transition:transform .2s,background-color .2s}
.btn:hover{transform:translateY(-1px)}
.btn:disabled{opacity:.6;cursor:not-allowed;transform:none}
.btn-primary{background:var(--green);color:#fff}
.btn-primary:hover{background:#174A32}
.btn-ghost{background:#fff;color:var(--ink);border:1px solid var(--line2)}
.btn-gold{background:var(--turmeric);color:var(--ink);font-weight:700}
.btn-block{width:100%}

/* Header */
.header{position:sticky;top:0;z-index:20;background:rgba(250,248,243,.92);backdrop-filter:blur(8px);border-bottom:1px solid var(--line)}
.header .wrap{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;padding-top:14px;padding-bottom:14px}
.brand{display:flex;align-items:center;gap:10px;font-family:'Baloo 2',sans-serif;font-size:21px;font-weight:800;color:var(--ink);text-decoration:none}
.nav{display:flex;flex-wrap:wrap;align-items:center;gap:22px;font-size:14px;font-weight:500}
.nav a{color:#3B4740;text-decoration:none}
.nav .btn{height:40px;padding:0 16px;font-size:14px;color:#fff}

/* Hero */
.hero{display:flex;flex-wrap:wrap;gap:56px;align-items:center;padding-top:72px;padding-bottom:64px}
.hero-text{flex:999 1 480px;min-width:0;display:flex;flex-direction:column;gap:22px}
.hero h1{font-size:clamp(40px,5.2vw,64px)}
.hero h1 span{color:var(--green)}
.lead{margin:0;font-size:18px;line-height:1.6;color:var(--muted);max-width:520px}
.pill{align-self:flex-start;display:inline-flex;align-items:center;gap:8px;height:30px;padding:0 12px;border-radius:15px;background:var(--mint);color:var(--mint-ink);font-size:13px;font-weight:600}
.row{display:flex;flex-wrap:wrap;gap:12px}
.ticks{display:flex;flex-wrap:wrap;gap:20px;font-size:13px;color:var(--muted)}
.ticks span{display:inline-flex;align-items:center;gap:8px}
.hero-art{flex:1 1 400px;min-width:0;position:relative}
.art-frame{aspect-ratio:4/5;border-radius:28px;overflow:hidden;background:#6A3F22;box-shadow:0 30px 60px rgba(28,43,34,.18)}
.art-frame svg{width:100%;height:100%;display:block}
.float-card{position:absolute;left:-16px;bottom:36px;width:250px;background:#fff;border:1px solid var(--line);border-radius:18px;padding:16px;box-shadow:0 20px 40px rgba(28,43,34,.12);display:flex;flex-direction:column;gap:10px;animation:float 6s ease-in-out infinite}
.mini-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.mini-grid div{background:var(--sand);border-radius:10px;padding:8px 4px;text-align:center;font-size:15px;font-weight:700}
.mini-grid small{display:block;font-size:10px;font-weight:400;color:#5B6660}

/* Sections */
.section{padding-top:80px;padding-bottom:80px}
.section-head{display:flex;flex-direction:column;gap:6px;margin-bottom:36px}
.section-head.center{align-items:center;text-align:center}
.section h2{font-size:clamp(28px,3.6vw,40px)}
.band{background:#fff;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.grid3{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:20px}
.card{background:#fff;border:1px solid var(--line);border-radius:20px;padding:24px;display:flex;flex-direction:column;gap:12px}
.icon-box{width:44px;height:44px;border-radius:12px;display:flex;align-items:center;justify-content:center}
.card h3{margin:0;font-size:18px}
.card p{margin:0;font-size:15px;color:var(--muted)}
.trust{background:var(--green);color:#fff}
.trust .eyebrow{color:var(--turmeric)}
.trust .card{background:var(--green2);border:none}
.trust .card p{color:#DCEAE1}

/* Pricing */
.prices{display:flex;flex-wrap:wrap;gap:20px;justify-content:center}
.price{flex:1 1 300px;max-width:420px;border-radius:22px;padding:30px;display:flex;flex-direction:column;gap:16px}
.price.free{background:#fff;border:1px solid var(--line)}
.price.pro{background:var(--ink);color:#fff;box-shadow:0 24px 48px rgba(28,43,34,.18)}
.amount{font-size:44px;font-weight:700;line-height:1;letter-spacing:-0.02em}
.amount small{font-size:15px;font-weight:500;opacity:.75}
.price ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px;font-size:15px}
.price li{display:flex;gap:10px}
.price li::before{content:"";flex:none;width:20px;height:20px;background:no-repeat center/18px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F5C3F' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E")}
.price.pro li::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E8A317' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E")}
.tag{height:26px;padding:0 10px;border-radius:13px;background:var(--turmeric);color:var(--ink);font-size:12px;font-weight:700;display:inline-flex;align-items:center}

/* FAQ */
.faq{max-width:820px;margin:0 auto;display:flex;flex-direction:column;gap:10px}
.faq details{background:#fff;border:1px solid var(--line);border-radius:16px;padding:0 20px}
.faq summary{list-style:none;cursor:pointer;min-height:60px;display:flex;align-items:center;justify-content:space-between;gap:16px;font-weight:600;font-size:16px}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";font-size:22px;color:var(--green);transition:transform .2s}
.faq details[open] summary::after{transform:rotate(45deg)}
.faq details p{margin:0 0 18px;color:var(--muted)}

/* Install */
.install{background:var(--cream);border-radius:28px;padding:40px;display:flex;flex-wrap:wrap;align-items:center;gap:28px}
.install h2{font-size:30px}
.install p{margin:0;color:var(--cream-ink)}

/* Footer */
.footer{background:var(--ink);color:#C9D3CD;font-size:14px}
.footer .wrap{padding-top:56px;padding-bottom:28px;display:flex;flex-direction:column;gap:32px}
.footer-cols{display:flex;flex-wrap:wrap;gap:40px}
.footer-cols>div{flex:1 1 160px;display:flex;flex-direction:column;gap:10px}
.footer-cols>div:first-child{flex:2 1 260px}
.footer a{color:#C9D3CD;text-decoration:none}
.footer h4{margin:0;color:#fff;font-size:12px;letter-spacing:.08em}
.footer-bottom{border-top:1px solid #34453B;padding-top:20px;display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px;font-size:13px;color:#A9B5AE}

/* App overlay */
.app{position:fixed;inset:0;z-index:50;background:rgba(28,43,34,.55);display:flex;align-items:flex-start;justify-content:center;padding:24px 12px;overflow-y:auto}
.app[hidden]{display:none}
.panel{width:100%;max-width:520px;background:var(--bg);border-radius:24px;padding:28px;display:flex;flex-direction:column;gap:18px;box-shadow:0 30px 80px rgba(0,0,0,.3);animation:pop .35s ease both}
.panel-top{display:flex;align-items:center;justify-content:space-between}
.close{width:40px;height:40px;border-radius:20px;border:1px solid var(--line);background:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center}
.view{display:flex;flex-direction:column;gap:16px}
.view[hidden]{display:none}
.view h2{font-size:28px}
.view p{margin:0;color:var(--muted);font-size:14px}
label.field{display:flex;flex-direction:column;gap:6px;font-size:13px;font-weight:600;color:#3B4740}
.input,select.input,textarea.input{height:50px;border:1px solid var(--line2);border-radius:12px;padding:0 14px;font:16px Inter,sans-serif;background:#fff;color:var(--ink);width:100%}
textarea.input{height:110px;padding:12px 14px;resize:vertical}
.input:focus{outline:2px solid var(--green);outline-offset:1px}
.grid2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.chips{display:flex;flex-wrap:wrap;gap:8px}
.chip{height:40px;padding:0 14px;border-radius:20px;border:1px solid var(--line2);background:#fff;color:var(--ink);font:500 14px Inter,sans-serif;cursor:pointer}
.chip[aria-pressed="true"]{background:var(--green);border-color:var(--green);color:#fff;font-weight:600}
.notice{display:flex;gap:10px;align-items:flex-start;background:var(--sand);border-radius:12px;padding:12px;font-size:13px;color:var(--muted)}
.error{color:var(--error);font-size:13px;margin:0}
.divider{display:flex;align-items:center;gap:12px;font-size:12px;color:var(--soft)}
.divider::before,.divider::after{content:"";flex:1;height:1px;background:var(--line)}
.small{font-size:12px;color:var(--soft);text-align:center}
.targets{display:flex;gap:10px}
.targets div{flex:1;border-radius:12px;padding:12px}
.targets b{display:block;font-family:'Baloo 2',sans-serif;font-size:24px;line-height:1}
.modes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.mode{display:flex;flex-direction:column;align-items:flex-start;gap:2px;text-align:start;padding:12px;border-radius:14px;border:1px solid var(--line2);background:#fff;color:var(--ink);font:500 14px Inter,sans-serif;cursor:pointer}
.mode small{font-size:12px;font-weight:400;color:var(--soft)}
.mode[aria-checked="true"]{border:2px solid var(--green);background:var(--mint);padding:11px}
.mode[aria-checked="true"] small{color:var(--mint-ink)}
.photo-row{display:flex;align-items:center;gap:10px}
.photo-btn{flex:1;display:flex;align-items:center;gap:12px;min-height:56px;padding:10px 14px;border-radius:14px;border:1px dashed var(--green);background:#fff;color:var(--green);cursor:pointer}
.photo-btn span{display:flex;flex-direction:column;line-height:1.3}
.photo-btn b{font-size:15px;color:var(--ink)}
.photo-btn small{font-size:12px;color:var(--soft)}
.photo-preview{position:relative;flex:none;width:56px;height:56px}
.photo-preview[hidden]{display:none}
.photo-preview img{width:56px;height:56px;object-fit:cover;border-radius:12px;border:1px solid var(--line2)}
.photo-preview button{position:absolute;top:-8px;right:-8px;width:24px;height:24px;border-radius:12px;border:none;background:var(--ink);color:#fff;font-size:16px;line-height:1;cursor:pointer}
.detected{background:var(--mint);color:var(--mint-ink);border-radius:12px;padding:12px;font-size:14px}
.examples{display:flex;flex-wrap:wrap;gap:6px}
.examples button{height:32px;padding:0 12px;border-radius:16px;border:1px dashed var(--line2);background:transparent;font:13px Inter,sans-serif;color:var(--muted);cursor:pointer}

/* Result */
.macros{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.macros div{background:var(--sand);border-radius:12px;padding:10px 4px;text-align:center;font-size:18px;font-weight:700}
.macros div:first-child{background:var(--green);color:#fff}
.macros small{display:block;font-size:11px;font-weight:400}
.bar{height:6px;border-radius:3px;background:#EEEAE0;overflow:hidden}
.bar i{display:block;height:100%;background:var(--turmeric);border-radius:3px;transition:width 1s ease}
.box{background:#fff;border:1px solid var(--line);border-radius:16px;padding:14px;display:flex;flex-direction:column;gap:6px;font-size:14px}
.box h4{margin:0;font-size:12px;letter-spacing:.06em;color:#5B6660}
.steps{margin:0;padding-left:22px;display:flex;flex-direction:column;gap:8px;font-size:14px}
.buy{background:var(--cream);color:var(--cream-ink);border-radius:12px;padding:12px;font-size:14px}
.health{background:#FDECEA;color:#7A1C16;border-radius:12px;padding:12px;font-size:14px}
.skel{border-radius:8px;background:linear-gradient(90deg,#EEEAE0 0%,#F8F6F0 50%,#EEEAE0 100%);background-size:640px 100%;animation:shimmer 1.2s linear infinite}

@keyframes float{0%,100%{transform:translateY(0)}50%{transform:translateY(-8px)}}
@keyframes rise{0%{opacity:0;transform:translateY(14px)}35%{opacity:1}100%{opacity:0;transform:translateY(-36px)}}
@keyframes shimmer{from{background-position:-320px 0}to{background-position:320px 0}}
@keyframes pop{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
.rise{animation:rise 3.2s ease-out infinite;transform-box:fill-box}
@media (max-width:560px){
  .float-card{left:12px;bottom:12px;width:220px}
  .install{padding:28px}
  .panel{padding:20px}
  .nav a{display:none}
  .header .wrap{flex-wrap:nowrap}
}
@media (prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}

/* Homepage: dish cards + Chef Handi demo */
.lift{transition:transform .3s cubic-bezier(.2,.7,.2,1),box-shadow .3s}
.lift:hover{transform:translateY(-4px);box-shadow:0 16px 32px rgba(28,43,34,.08)}
@supports (animation-timeline: view()){
  .reveal{animation:pop linear both;animation-timeline:view();animation-range:entry 0% cover 25%}
}
.try-link{color:var(--green);font-weight:600;font-size:14px;text-decoration:none;margin-top:4px}
.try-link:hover{text-decoration:underline}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.demo-row{display:flex;flex-wrap:wrap;gap:40px;align-items:center;justify-content:center}
.demo-left{flex:1 1 360px;min-width:0;max-width:470px;display:flex;flex-direction:column;gap:18px}
.demo-chef{display:flex;align-items:flex-end;gap:14px}
.demo-chef svg{flex:none}
.demo-bubble{flex:1;margin-bottom:70px;background:var(--sand);border-radius:16px 16px 16px 4px;padding:12px 14px;font-size:15px;line-height:1.45}
.demo-input{background:#fff;border:1px solid var(--line2);border-radius:14px;padding:6px;display:flex;gap:6px;box-shadow:0 8px 24px rgba(28,43,34,.06)}
.demo-input label{flex:1;display:flex;min-width:0;position:static;width:auto;height:auto;clip:auto;overflow:visible}
.demo-input input{flex:1;min-width:0;height:46px;border:none;outline:none;padding:0 10px;font:16px Inter,sans-serif;background:transparent;color:var(--ink)}
.demo-input .btn{height:46px;padding:0 18px;font-size:15px}
.demo-card{flex:1 1 340px;min-width:0;max-width:400px;background:#fff;border:1px solid var(--line);border-radius:22px;padding:22px;box-shadow:0 24px 48px rgba(28,43,34,.08);display:flex;flex-direction:column;gap:12px}
.demo-card.swap{animation:pop .5s ease both}
.demo-title{font-size:21px;font-weight:700;line-height:1.2}
.demo-meta,.demo-share{margin:0;font-size:13px;color:#5B6660}
.demo-share{margin-top:-6px;font-size:12px}
.bob{animation:float 3s ease-in-out infinite}
.blink{animation:blink 5s ease-in-out infinite;transform-box:fill-box;transform-origin:center}
.wave{animation:wave 2.4s ease-in-out infinite;transform-box:fill-box;transform-origin:0% 100%}
@keyframes blink{0%,92%,100%{transform:scaleY(1)}95%{transform:scaleY(.1)}}
@keyframes wave{0%,100%{transform:rotate(0)}30%{transform:rotate(-16deg)}70%{transform:rotate(8deg)}}
@media (max-width:560px){.demo-bubble{margin-bottom:60px;font-size:14px}}

/* Homepage recipe cards */
.home-rec-head{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:24px}
.home-grid{margin:0}
.home-card{text-decoration:none}
.home-grid .home-card.hide{display:none}
.home-grid .home-card.show{animation:pop .5s ease both}
.home-rot{display:flex;align-items:center;justify-content:center;gap:14px;margin-top:18px;font-size:13px;color:var(--soft)}
.home-rot[hidden]{display:none}
.rot-btn{width:40px;height:40px;border-radius:20px;border:1px solid var(--line2);background:#fff;font-size:22px;line-height:1;cursor:pointer;color:var(--ink)}
.rot-btn:hover{border-color:var(--green);color:var(--green)}
.r-grid.home-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
@media (max-width:900px){.r-grid.home-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:600px){.r-grid.home-grid{grid-template-columns:1fr}}

/* AI Chef (inline) */
.chef-sec{scroll-margin-top:72px}
.chef-head{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:28px}
.chef-head .section-head{max-width:620px}
#siteLang{flex:none}
#siteLang button{height:34px;padding:0 12px;border:0;border-radius:8px;background:transparent;font:600 13px Inter,sans-serif;color:#3B4740;cursor:pointer;white-space:nowrap}
#siteLang button[aria-pressed="true"]{background:#fff;color:var(--ink);box-shadow:0 1px 2px rgba(0,0,0,.08)}
#siteLang button[lang="ur"]{font-family:'Noto Nastaliq Urdu',serif;font-size:14px;line-height:1}
.chef-row{display:flex;flex-wrap:wrap;gap:40px;align-items:flex-start;justify-content:center}
.chef-left{flex:1 1 320px;min-width:0;max-width:420px;display:flex;flex-direction:column;gap:20px;padding-top:12px}
.chef-points{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}
.chef-points li{display:flex;align-items:center;gap:10px;font-size:15px;font-weight:500}
.chef-points li::before{content:"✓";flex:none;width:26px;height:26px;border-radius:13px;background:var(--mint);color:var(--mint-ink);display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:700}
.panel.chef-panel{flex:1 1 380px;min-width:0;max-width:540px;background:#fff;border:1px solid var(--line);box-shadow:0 24px 48px rgba(28,43,34,.08);animation:none}
.chef-panel .view:not([hidden]){animation:pop .35s ease both}
.chef-sec[class~="lang-ur"] .chef-row,.chef-sec.lang-ur .chef-head{font-family:'Noto Nastaliq Urdu',Inter,serif}
.chef-sec.lang-ur h2.display,.chef-sec.lang-ur .eyebrow{font-family:'Noto Nastaliq Urdu',serif;font-weight:700;line-height:1.9;letter-spacing:0}
.chef-sec.lang-ur p,.chef-sec.lang-ur li,.chef-sec.lang-ur .field span,.chef-sec.lang-ur .demo-bubble,.chef-sec.lang-ur .box,.chef-sec.lang-ur .buy,.chef-sec.lang-ur .detected,.chef-sec.lang-ur .health{line-height:2.1}
.chef-sec.lang-ur .btn,.chef-sec.lang-ur .chip,.chef-sec.lang-ur .mode,.chef-sec.lang-ur select,.chef-sec.lang-ur textarea,.chef-sec.lang-ur input{font-family:'Noto Nastaliq Urdu',Inter,serif}
.chef-sec.lang-ur .macros div,.chef-sec.lang-ur .target b,.chef-sec.lang-ur #siteLang button:not([lang="ur"]){font-family:Inter,system-ui,sans-serif}
.chef-sec.lang-ur .macros small{font-family:'Noto Nastaliq Urdu',serif}
[dir="rtl"] .demo-bubble{border-radius:16px 16px 4px 16px}
[dir="rtl"] .steps{padding-inline-start:22px;padding-left:0}
@media (max-width:560px){
  .chef-row{gap:20px}
  .chef-left{padding-top:0}
  .chef-left .chef-points{display:none}
  .chef-head{margin-bottom:18px}
}

/* Poori site ki zubaan */
.l-block{display:contents}
[data-l="ur"],[data-l="en"]{display:none}
html[data-lang="ur"] [data-l="roman"],html[data-lang="en"] [data-l="roman"]{display:none}
html[data-lang="ur"] [data-l="ur"],html[data-lang="en"] [data-l="en"]{display:contents}
.site-lang .ls-short{display:none}
.nav .site-lang{padding:3px}
a.hero-art{display:block;text-decoration:none;color:inherit;border-radius:28px}
a.hero-art:hover .art-frame{transform:scale(1.01)}
.art-frame{transition:transform .3s ease}
a.hero-art:focus-visible{outline:3px solid var(--green);outline-offset:4px}
.float-card .r-read{font-size:13px}
.float-card.swap{animation:pop .45s ease both,float 6s ease-in-out .45s infinite}
[dir="rtl"] .float-card{left:auto;right:-16px}
body.lang-ur .display,body.lang-ur h1,body.lang-ur h2,body.lang-ur h3,body.lang-ur h4,body.lang-ur .pill,body.lang-ur .eyebrow,body.lang-ur .btn,body.lang-ur summary,body.lang-ur .nav a,body.lang-ur .tag{font-family:'Noto Nastaliq Urdu',serif;letter-spacing:0}
body.lang-ur h1.display{line-height:1.7;font-size:clamp(34px,5vw,54px)}
body.lang-ur h2.display{line-height:1.8}
body.lang-ur p,body.lang-ur li,body.lang-ur .ticks span,body.lang-ur summary,body.lang-ur .footer div{line-height:2.1}
body.lang-ur .eyebrow{text-transform:none}
body.lang-ur .brand,body.lang-ur .amount,body.lang-ur .mini-grid div{font-family:'Baloo 2',Inter,sans-serif}
body.lang-ur .site-lang button:not([lang="ur"]){font-family:Inter,system-ui,sans-serif}
@media (max-width:560px){
  [dir="rtl"] .float-card{right:12px}
  .site-lang .ls-long{display:none}
  .site-lang .ls-short{display:inline}
  #siteLang button{padding:0 8px;font-size:12px;height:30px}
  .nav{gap:8px}
  .nav .btn{padding:0 12px;font-size:13px;height:36px}
}
@media (max-width:380px){ .header .brand{font-size:0;gap:0} }
.home-rot{direction:ltr}
