/* IntegrateUPI landing page – brand teal/cyan, Ubuntu. No content depends on animation to be visible. */
:root {
  --teal: #15715a;
  --teal-2: #0f5a47;
  --teal-soft: #e6f4f1;
  --cyan: #2eacc8;
  --sky: #f0f8ff;
  --ink: #0f2a3a;
  --text: #2c3e50;
  --muted: #5f7385;
  --line: #e2ebf2;
  --card: #ffffff;
  --grad: linear-gradient(135deg, #2eacc8 0%, #15715a 100%);
  --shadow-sm: 0 1px 2px rgba(15, 42, 58, .06), 0 2px 8px rgba(15, 42, 58, .05);
  --shadow: 0 2px 6px rgba(15, 42, 58, .06), 0 18px 40px rgba(15, 42, 58, .10);
  --radius: 16px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: "Ubuntu", system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--text); background: #fff; font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .9em; background: var(--teal-soft); color: var(--teal-2); padding: 1px 6px; border-radius: 6px; }
h1, h2, h3 { color: var(--ink); line-height: 1.15; margin: 0; letter-spacing: -.01em; }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 12px; font-weight: 600; font-size: 15px; color: #fff; background: var(--grad); box-shadow: 0 6px 18px rgba(21, 113, 90, .25); border: 0; cursor: pointer; transition: filter .15s, box-shadow .15s, transform .05s; white-space: nowrap; }
.btn:hover { filter: brightness(1.06); box-shadow: 0 8px 22px rgba(21, 113, 90, .32); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible, a:focus-visible, summary:focus-visible, button:focus-visible { outline: 3px solid rgba(46, 172, 200, .45); outline-offset: 2px; }
.btn-sm { height: 38px; padding: 0 16px; font-size: 14px; border-radius: 10px; }
.btn-lg { height: 52px; padding: 0 24px; font-size: 16px; border-radius: 14px; }
.btn-ghost { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-sm); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1px #c9d7e2, var(--shadow-sm); filter: none; }
.btn-white { background: #fff; color: var(--teal); box-shadow: 0 8px 24px rgba(0, 0, 0, .15); }
.btn-outline-white { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .7); }
.btn-outline-white:hover { background: rgba(255, 255, 255, .1); filter: none; }
.btn-block { width: 100%; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .85); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.nav.scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 20px rgba(15, 42, 58, .05); }
.nav-in { display: flex; align-items: center; height: 70px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; color: var(--ink); }
.brand-mark { width: 34px; height: 34px; border-radius: 10px; background: var(--grad); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 17px; box-shadow: 0 4px 12px rgba(21, 113, 90, .3); }
.nav-links { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.nav-links a:not(.btn) { padding: 8px 12px; border-radius: 10px; color: var(--muted); font-weight: 500; font-size: 15px; }
.nav-links a:not(.btn):hover { color: var(--ink); background: #f3f8fb; }
.nav-links .nav-login { color: var(--ink); margin-left: 8px; }
.nav-toggle { display: none; margin-left: auto; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: 18px; }

/* Hero */
.hero { position: relative; overflow: hidden; background: radial-gradient(1200px 500px at 85% -10%, rgba(46, 172, 200, .18), transparent 60%), radial-gradient(900px 500px at -10% 20%, rgba(21, 113, 90, .10), transparent 60%), var(--sky); }
.hero-in { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; padding: 72px 24px 88px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: #fff; color: var(--teal); font-weight: 600; font-size: 13px; box-shadow: var(--shadow-sm); }
.hero h1 { font-size: clamp(36px, 5.2vw, 58px); font-weight: 700; margin: 20px 0 18px; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 19px; color: var(--muted); max-width: 560px; margin: 0 0 30px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.ticks { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--muted); font-size: 15px; font-weight: 500; }
.ticks i { color: var(--teal); margin-right: 6px; }

/* Hero mock-up */
.hero-visual { position: relative; display: flex; justify-content: center; padding: 20px 0; }
.pay-card { width: 330px; background: #fff; border-radius: 22px; padding: 22px; box-shadow: 0 30px 60px rgba(15, 42, 58, .16), 0 2px 6px rgba(15, 42, 58, .06); position: relative; z-index: 2; }
.pay-head { display: flex; align-items: center; justify-content: space-between; }
.pay-store { display: flex; align-items: center; gap: 10px; }
.pay-store b { display: block; color: var(--ink); font-size: 15px; }
.pay-store small { color: var(--muted); font-size: 12px; }
.store-dot { width: 38px; height: 38px; border-radius: 11px; background: var(--teal-soft); color: var(--teal); font-weight: 700; display: flex; align-items: center; justify-content: center; font-size: 14px; }
.pay-secure { font-size: 12px; color: var(--teal); background: var(--teal-soft); padding: 4px 10px; border-radius: 999px; font-weight: 600; }
.pay-amount { text-align: center; margin: 18px 0 14px; font-size: 32px; font-weight: 700; color: var(--ink); }
.pay-amount small { display: block; font-size: 12px; color: var(--muted); font-weight: 500; letter-spacing: .04em; text-transform: uppercase; }
.qr { display: grid; grid-template-columns: repeat(21, 1fr); gap: 0; width: 196px; height: 196px; margin: 0 auto; padding: 10px; background: #fff; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--line); }
.qr i { display: block; }
.qr i.on { background: var(--ink); border-radius: 1.5px; }
.pay-hint { text-align: center; color: var(--muted); font-size: 13px; margin: 12px 0 10px; }
.apps { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; }
.apps span { font-size: 11px; font-weight: 600; color: var(--muted); background: #f3f7fa; padding: 4px 9px; border-radius: 999px; }
.pay-timer { height: 5px; background: #edf2f6; border-radius: 99px; margin-top: 16px; overflow: hidden; }
.pay-timer span { display: block; width: 62%; height: 100%; background: var(--grad); border-radius: 99px; }
.float-card { position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; background: #fff; padding: 11px 15px 11px 11px; border-radius: 14px; box-shadow: var(--shadow); }
.float-card b { display: block; font-size: 14px; color: var(--ink); line-height: 1.3; }
.float-card small { color: var(--muted); font-size: 12px; }
.fc-ic { width: 34px; height: 34px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 15px; }
.fc-ic.ok { background: #e8f8ef; color: #128a4a; }
.fc-ic.hook { background: #e7f6fb; color: #1b84a0; }
.fc-1 { left: -54px; top: 196px; }
.fc-2 { right: -44px; bottom: -18px; }

/* Connect strip */
.connect { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.connect .wrap { padding-top: 28px; padding-bottom: 28px; }
.connect-title { text-align: center; color: var(--muted); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 18px; }
.connect-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.connect-item { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 14px; background: #f8fbfd; border: 1px solid var(--line); }
.connect-item i { font-size: 22px; color: var(--teal); width: 28px; text-align: center; }
.connect-item b { display: block; color: var(--ink); }
.connect-item small { color: var(--muted); font-size: 13px; }

/* Sections */
.section { padding: 96px 0; }
.section.alt { background: var(--sky); }
.sec-head { text-align: center; max-width: 680px; margin: 0 auto 52px; }
.sec-head.left { text-align: left; margin: 0; }
.kicker { display: inline-block; color: var(--teal); font-weight: 700; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 12px; }
.sec-head h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 700; }
.sec-head p { color: var(--muted); font-size: 18px; margin: 14px 0 0; }

.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); transition: box-shadow .2s, border-color .2s; }
.feature:hover { box-shadow: var(--shadow); border-color: #d3e2ec; }
.f-ic { width: 46px; height: 46px; border-radius: 13px; background: var(--teal-soft); color: var(--teal); display: inline-flex; align-items: center; justify-content: center; font-size: 19px; margin-bottom: 18px; }
.feature h3 { font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.feature p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: s; position: relative; }
.step { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); border: 1px solid var(--line); position: relative; }
.step-n { width: 40px; height: 40px; border-radius: 12px; background: var(--grad); color: #fff; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 16px; box-shadow: 0 6px 14px rgba(21, 113, 90, .25); }
.step h3 { font-size: 19px; margin-bottom: 8px; }
.step p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* Developers */
.dev { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.dev-copy h2 { font-size: clamp(28px, 3.4vw, 38px); margin-bottom: 14px; }
.dev-copy > p { color: var(--muted); font-size: 18px; margin: 0 0 22px; }
.dev-list { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 12px; }
.dev-list li { display: flex; gap: 10px; align-items: baseline; color: var(--text); }
.dev-list i { color: var(--teal); }
.code-card { background: #0d1f2b; border-radius: 18px; box-shadow: 0 30px 60px rgba(15, 42, 58, .25); overflow: hidden; min-width: 0; }
.code-tabs { display: flex; align-items: center; gap: 7px; padding: 14px 18px; background: #0a1822; border-bottom: 1px solid #16303f; }
.dot { width: 11px; height: 11px; border-radius: 50%; }
.dot.r { background: #ff5f57; } .dot.y { background: #febc2e; } .dot.g { background: #28c840; }
.code-title { margin-left: 10px; color: #8fb3c7; font-size: 13px; font-family: ui-monospace, Menlo, Consolas, monospace; }
.code-card pre { margin: 0; padding: 18px 20px; overflow-x: auto; color: #d6e6ef; font-size: 13.5px; line-height: 1.65; }
.code-card code { background: none; color: inherit; padding: 0; font-size: inherit; }
.code-sep { color: #6e93a8; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; padding: 4px 20px; border-top: 1px solid #16303f; border-bottom: 1px solid #16303f; background: #0a1822; }
.code-card .k { color: #7fd1e6; } .code-card .s { color: #a6e3a1; } .code-card .p { color: #9ecbff; } .code-card .b { color: #f5a97f; } .code-card .n { color: #f5a97f; }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; align-items: stretch; }
.plan { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 28px 24px 24px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.plan-hl { border: 2px solid var(--teal); box-shadow: var(--shadow); }
.plan-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--grad); color: #fff; font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 999px; white-space: nowrap; }
.plan h3 { font-size: 18px; color: var(--teal); }
.price { font-size: 40px; font-weight: 700; color: var(--ink); margin: 10px 0 4px; line-height: 1.1; }
.price small { font-size: 15px; color: var(--muted); font-weight: 500; margin-left: 4px; }
.plan-qr { margin: 0 0 18px; color: var(--text); }
.plan-qr span { color: var(--muted); font-size: 14px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 9px; flex: 1; }
.plan li { display: flex; gap: 10px; align-items: baseline; font-size: 15px; color: var(--text); }
.plan li i { color: var(--teal); font-size: 13px; }
.fine { text-align: center; color: var(--muted); font-size: 13px; margin: 26px 0 0; }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 0 20px; box-shadow: var(--shadow-sm); }
.faq details[open] { border-color: #cfe0ea; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 28px 18px 0; font-weight: 600; color: var(--ink); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 22px; font-weight: 400; color: var(--teal); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 18px; color: var(--muted); }

/* CTA */
.cta { background: var(--grad); color: #fff; }
.cta-in { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-top: 64px; padding-bottom: 64px; }
.cta h2 { color: #fff; font-size: clamp(26px, 3.2vw, 36px); }
.cta p { color: rgba(255, 255, 255, .88); margin: 10px 0 0; font-size: 17px; }
.cta-btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* Footer */
.foot { background: #0b2230; color: #a9bfcd; }
.foot-in { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; padding-top: 56px; padding-bottom: 32px; }
.foot .brand { color: #fff; }
.foot-brand p { margin: 14px 0 0; font-size: 15px; max-width: 340px; }
.foot-col h4 { color: #fff; font-size: 14px; margin: 6px 0 14px; letter-spacing: .04em; }
.foot-col a { display: block; padding: 4px 0; font-size: 15px; color: #a9bfcd; }
.foot-col a:hover { color: #fff; }
.foot-note { border-top: 1px solid #17384a; padding-top: 22px; padding-bottom: 28px; font-size: 13px; }
.foot-note p { margin: 0 0 8px; }
.foot-note b { color: #d9e6ee; }

/* Responsive */
@media (max-width: 1024px) {
  .hero-in { grid-template-columns: 1fr; gap: 40px; padding-top: 56px; text-align: center; }
  .hero-copy { display: flex; flex-direction: column; align-items: center; }
  .lead { margin-left: auto; margin-right: auto; }
  .cta-row, .ticks { justify-content: center; }
  .dev, .faq-wrap { grid-template-columns: 1fr; gap: 36px; }
  .sec-head.left { text-align: center; margin: 0 auto; }
  .grid3 { grid-template-columns: repeat(2, 1fr); }
  .foot-in { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav-links { display: none; position: absolute; top: 70px; left: 12px; right: 12px; flex-direction: column; align-items: stretch; gap: 2px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 10px; box-shadow: var(--shadow); }
  .nav-links.open { display: flex; }
  .nav-links a:not(.btn) { padding: 12px 14px; }
  .nav-links .nav-login { margin-left: 0; }
  .nav-links .btn { margin-top: 6px; height: 46px; }
  .connect-row, .steps { grid-template-columns: 1fr; }
  .cta-in { flex-direction: column; text-align: center; }
  .cta-btns { justify-content: center; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .hero-in { padding: 40px 16px 64px; }
  .lead { font-size: 17px; }
  .section { padding: 68px 0; }
  .grid3 { grid-template-columns: 1fr; }
  .float-card { display: none; }
  .pay-card { width: 100%; max-width: 330px; }
  .btn-lg { width: 100%; }
  .cta-row { width: 100%; }
  .foot-in { grid-template-columns: 1fr; }
}
