
/* =========================================
   INCOINPAY.NET.IN — COMPLETE STYLESHEET
   Theme: IncoinPay Blue-Purple
   Font: Plus Jakarta Sans
========================================= */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* ROOT VARIABLES */
:root {
  --amber: #5963EE;
  --amber-light: #E9EBFF;
  --amber-pale: #F5F6FF;
  --amber-dark: #424DD6;

  --primary: #5963EE;
  --primary-light: #E9EBFF;
  --primary-pale: #F5F6FF;
  --primary-dark: #424DD6;

  --black: #111827;
  --gray-900: #111827;
  --gray-800: #1F2937;
  --gray-700: #374151;
  --gray-600: #4B5563;
  --gray-500: #6B7280;
  --gray-400: #9CA3AF;
  --gray-300: #D1D5DB;
  --gray-200: #E5E7EB;
  --gray-100: #F3F4F6;

  --white: #FFFFFF;
  --page-bg: #F7F8FA;
  --green: #15803D;
  --red: #B91C1C;

  --radius: 14px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-xl: 28px;

  --shadow-sm: 0 3px 12px rgba(17,24,39,.04);
  --shadow-md: 0 8px 28px rgba(17,24,39,.07);

  --container-width: 520px;
}

/* RESET */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  min-height: 100vh;
  background: var(--page-bg);
  color: var(--gray-800);
  font-family: 'Plus Jakarta Sans', Arial, sans-serif;
  font-size: 14px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body,
button,
input,
textarea,
select {
  font-family: 'Plus Jakarta Sans', Arial, sans-serif;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

a {
  color: var(--primary-dark);
  text-decoration: none;
  transition: color .2s ease, background .2s ease,
    border-color .2s ease, transform .2s ease;
}

a:hover {
  color: var(--primary);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

ul,
ol {
  padding-left: 22px;
}

li {
  margin-bottom: 8px;
}

p {
  margin-bottom: 14px;
  color: var(--gray-600);
  overflow-wrap: anywhere;
}

p:last-child {
  margin-bottom: 0;
}

h1,
h2,
h3,
h4 {
  color: var(--gray-900);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -.035em;
  overflow-wrap: anywhere;
}

h2 {
  font-size: 21px;
  margin-bottom: 14px;
}

h3 {
  font-size: 16px;
  margin: 20px 0 9px;
}

::selection {
  background: var(--primary-light);
  color: var(--gray-900);
}

/* MAIN CONTAINER */
.shell {
  width: 100%;
  max-width: var(--container-width);
  min-height: 100vh;
  margin: 0 auto;
  padding: 0 16px;
  background: var(--white);
  box-shadow: 0 0 45px rgba(17,24,39,.035);
}

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 72px;
  margin: 0 -16px;
  padding: 12px 16px;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--gray-200);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: var(--gray-900);
}

.brand:hover {
  color: var(--gray-900);
}

.brand-mark {
  display: flex;
  flex: 0 0 42px;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: var(--primary);
  color: #FFFFFF;
  font-size: 25px;
  font-weight: 800;
  box-shadow: 0 5px 12px rgba(89,99,238,.20);
}

.brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.35;
}

.brand-text strong {
  color: var(--gray-900);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -.04em;
}

.brand-text small {
  margin-top: 3px;
  color: var(--gray-500);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .035em;
}

/* HAMBURGER */
.hamburger {
  display: flex;
  flex: 0 0 42px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  background: #FFFFFF;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease;
}

.hamburger:hover {
  background: var(--primary-pale);
  border-color: var(--primary);
}

.hamburger span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 5px;
  background: var(--gray-800);
  transition: transform .2s ease, opacity .2s ease;
}

.hamburger[aria-expanded="true"] span:first-child {
  transform: translateY(7px) rotate(45deg);
}

.hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.hamburger[aria-expanded="true"] span:last-child {
  transform: translateY(-7px) rotate(-45deg);
}

/* NAVIGATION */
.nav-menu {
  position: absolute;
  top: calc(100% + 7px);
  right: 12px;
  left: 12px;
  display: none;
  flex-direction: column;
  gap: 3px;
  max-height: min(72vh, 520px);
  padding: 10px;
  overflow-y: auto;
  border: 1px solid var(--gray-200);
  border-radius: 18px;
  background: #FFFFFF;
  box-shadow: var(--shadow-md);
}

.nav-menu.open {
  display: flex;
  animation: menuDrop .18s ease-out;
}

.nav-menu a {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 9px 13px;
  border-radius: 10px;
  color: var(--gray-700);
  font-size: 12px;
  font-weight: 700;
}

.nav-menu a:hover,
.nav-menu a:focus-visible {
  background: var(--primary-pale);
  color: var(--primary-dark);
  outline: none;
}

@keyframes menuDrop {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* HERO */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 28px 20px 24px;
  text-align: center;
  background: var(--primary);
  border-bottom: 1px solid var(--primary-light);
}

.hero::before {
  content: none;
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero-logo {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border-radius: 16px;
  margin-bottom: 14px;
  box-shadow: 0 4px 16px rgba(17,24,39,.12);
}

.hero h1 {
  font-size: 1.5rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 8px;
}

.hero p {
  font-size: .875rem;
  color: #F5F6FF;
  line-height: 1.7;
  max-width: 340px;
  margin-bottom: 22px;
}

.btn-row {
  display: flex;
  gap: 10px;
  width: 100%;
  margin-bottom: 10px;
}

.btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 45px;
  padding: 11px 14px;
  border-radius: var(--radius);
  font-size: .875rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: .2s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: #FFFFFF;
  color: var(--primary-dark);
  box-shadow: 0 3px 10px rgba(17,24,39,.12);
}

.btn-primary:hover {
  background: var(--primary-light);
  color: var(--primary-dark);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: #FFFFFF;
  border: 1.5px solid rgba(255,255,255,.85);
}

.btn-outline:hover {
  background: rgba(255,255,255,.12);
  color: #FFFFFF;
}

.btn-blue {
  background: #FFFFFF;
  color: var(--primary-dark);
  box-shadow: 0 2px 8px rgba(17,24,39,.12);
}

.btn-blue:hover {
  background: var(--primary-light);
  color: var(--primary-dark);
}

/* CONTENT CARDS */
.content-card {
  margin: 16px 0;
  padding: 21px 18px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  background: #FFFFFF;
  box-shadow: var(--shadow-sm);
  scroll-margin-top: 88px;
}

.content-card .section-label {
  margin-bottom: 10px;
}

.content-card h2 {
  margin-top: 2px;
  margin-bottom: 13px;
  font-size: 21px;
}

.content-card h3 {
  margin-top: 20px;
  margin-bottom: 8px;
  font-size: 15px;
}

.content-card p {
  font-size: 12.5px;
  line-height: 1.9;
}

.content-card ul,
.content-card ol {
  margin-top: 10px;
  margin-bottom: 15px;
  padding-left: 21px;
  color: var(--gray-600);
  font-size: 12.5px;
  line-height: 1.8;
}

.content-card li {
  padding-left: 2px;
  margin-bottom: 8px;
}

.content-card li::marker {
  color: var(--primary-dark);
  font-weight: 800;
}

/* FEATURE GRID */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
  margin-top: 19px;
}

.feature-card {
  min-width: 0;
  padding: 15px 13px;
  border: 1px solid var(--primary-light);
  border-radius: 15px;
  background: linear-gradient(145deg, #FFFFFF, var(--primary-pale));
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 10px;
  border-radius: 11px;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-size: 11px;
  font-weight: 800;
}

.feature-card h3 {
  margin: 0 0 7px;
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: -.02em;
}

.feature-card p {
  margin: 0;
  color: var(--gray-600);
  font-size: 11px;
  line-height: 1.75;
}

/* STEP LIST */
.steps-list {
  list-style: none;
  counter-reset: step-counter;
  padding-left: 0 !important;
}

.steps-list li {
  position: relative;
  min-height: 40px;
  margin-bottom: 14px;
  padding: 1px 0 0 43px;
  counter-increment: step-counter;
}

.steps-list li::before {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: var(--primary-light);
  color: var(--primary-dark);
  content: counter(step-counter, decimal-leading-zero);
  font-size: 10px;
  font-weight: 800;
}

.steps-list li strong {
  display: block;
  margin-bottom: 3px;
  color: var(--gray-800);
}

/* CHECK LIST */
.check-list {
  list-style: none;
  padding-left: 0 !important;
}

.check-list li {
  position: relative;
  padding-left: 26px;
}

.check-list li::before {
  position: absolute;
  top: 2px;
  left: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #DCFCE7;
  color: var(--green);
  content: "✓";
  font-size: 10px;
  font-weight: 800;
}

/* NOTICE BOX */
.notice-box {
  margin: 18px 0;
  padding: 15px;
  border: 1px solid var(--primary-light);
  border-left: 4px solid var(--primary);
  border-radius: 12px;
  background: var(--primary-pale);
}

.notice-box strong {
  display: block;
  margin-bottom: 6px;
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 800;
}

.notice-box p {
  margin: 0;
  color: var(--gray-700);
  font-size: 12px;
}

/* INTERNAL LINKS */
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 7px;
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.6;
}

.text-link:hover {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* QUICK LINK LIST */
.link-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 15px;
}

.link-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 46px;
  padding: 11px 13px;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  background: #FFFFFF;
  color: var(--gray-700);
  font-size: 11.5px;
  font-weight: 700;
}

.link-list a span:first-child {
  min-width: 0;
  overflow-wrap: anywhere;
}

.link-list a span:last-child {
  flex: 0 0 auto;
  color: var(--primary-dark);
  font-size: 17px;
}

.link-list a:hover {
  border-color: var(--primary);
  background: var(--primary-pale);
  color: var(--primary-dark);
  transform: translateX(2px);
}

/* FAQ ACCORDION */
.faq-item {
  margin: 10px 0;
  overflow: hidden;
  border: 1px solid var(--gray-200);
  border-radius: 13px;
  background: #FFFFFF;
}

.faq-item summary {
  position: relative;
  padding: 14px 38px 14px 14px;
  color: var(--gray-800);
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.65;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  position: absolute;
  top: 50%;
  right: 14px;
  color: var(--primary-dark);
  content: "+";
  font-size: 20px;
  font-weight: 500;
  transform: translateY(-50%);
}

.faq-item[open] summary {
  border-bottom: 1px solid var(--gray-200);
  background: var(--primary-pale);
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin: 0;
  padding: 13px 14px 15px;
  color: var(--gray-600);
  font-size: 12px;
  line-height: 1.85;
}

/* DISCLAIMER */
.disclaimer-card {
  border-color: var(--primary-light);
  background: linear-gradient(145deg, #FFFFFF, var(--primary-pale));
}

.disclaimer-card h2 {
  color: var(--primary-dark);
}

/* FOOTER */
.site-footer {
  margin: 22px -16px 0;
  padding: 25px 20px 21px;
  border-top: 1px solid var(--gray-200);
  background: var(--primary-pale);
  text-align: center;
}

.footer-brand {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--gray-900);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -.04em;
}

.footer-brand:hover {
  color: var(--primary-dark);
}

.site-footer > p {
  max-width: 370px;
  margin: 0 auto 14px;
  color: var(--gray-600);
  font-size: 11px;
  line-height: 1.8;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 15px;
  margin: 17px 0;
}

.footer-links a {
  color: var(--gray-600);
  font-size: 10.5px;
  font-weight: 700;
}

.footer-links a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer .copyright {
  margin-top: 17px;
  margin-bottom: 7px;
  padding-top: 14px;
  border-top: 1px solid var(--gray-200);
  color: var(--gray-700);
  font-size: 10px;
  font-weight: 700;
}

.site-footer .footer-note {
  margin-bottom: 0;
  color: var(--gray-500);
  font-size: 9.5px;
}

/* SCREENSHOTS */
.screenshot-section {
  overflow: hidden;
}

.section-label {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--primary-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.2px;
}

.section-description {
  color: var(--gray-600);
  font-size: 14px;
  line-height: 1.8;
  margin: 10px 0 20px;
}

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
  margin-top: 18px;
}

.screenshot-item {
  width: 100%;
  max-width: 170px;
  min-width: 0;
  justify-self: center;
  margin: 0;
  padding: 7px;
  border: 1px solid var(--primary-light);
  border-radius: 12px;
  background: #FFFFFF;
  text-align: center;
}

.screenshot-item img {
  display: block;
  width: 100%;
  height: 190px;
  object-fit: contain;
  border-radius: 8px;
  background: #F7F8FA;
}

.screenshot-item figcaption {
  padding: 8px 2px 3px;
  color: var(--gray-800);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
}

.screenshot-note {
  margin: 18px 0 0;
  padding: 12px;
  background: var(--primary-pale);
  border-left: 3px solid var(--primary);
  border-radius: 8px;
  color: var(--gray-700);
  font-size: 12px;
  line-height: 1.7;
}

/* ACCESSIBILITY */
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(89,99,238,.45);
  outline-offset: 3px;
}

/* TABLET AND DESKTOP */
@media (min-width: 600px) {
  body {
    padding: 24px 0;
  }

  .shell {
    min-height: auto;
    border: 1px solid var(--gray-200);
    border-radius: 25px;
    overflow: visible;
  }

  .site-header {
    border-radius: 24px 24px 0 0;
  }

  .hero {
    margin-top: 22px;
    padding: 32px 25px 27px;
    border-radius: 16px;
  }

  .content-card {
    padding: 24px 22px;
  }

  .site-footer {
    border-radius: 0 0 24px 24px;
  }
}

/* SMALL MOBILE */
@media (max-width: 360px) {
  .shell {
    padding-right: 12px;
    padding-left: 12px;
  }

  .site-header {
    margin-right: -12px;
    margin-left: -12px;
    padding-right: 12px;
    padding-left: 12px;
  }

  .brand-mark {
    flex-basis: 37px;
    width: 37px;
    height: 37px;
    border-radius: 11px;
    font-size: 22px;
  }

  .brand-text strong {
    font-size: 15px;
  }

  .brand-text small {
    font-size: 8px;
  }

  .hero {
    padding: 22px 15px;
  }

  .hero h1 {
    font-size: 26px;
  }

  .content-card {
    padding: 18px 14px;
  }

  .content-card h2 {
    font-size: 19px;
  }

  .feature-grid {
    gap: 8px;
  }

  .feature-card {
    padding: 12px 10px;
  }

  .screenshot-grid {
    gap: 8px;
  }

  .screenshot-item {
    padding: 6px;
  }

  .screenshot-item img {
    height: 160px;
  }

  .screenshot-item figcaption {
    font-size: 10px;
  }

  .site-footer {
    margin-right: -12px;
    margin-left: -12px;
    padding-right: 14px;
    padding-left: 14px;
  }
}

/* REDUCED MOTION */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
