/* ========================================
   yinduzhifu — India Payment System
   Fintech Design System
   ======================================== */

:root {
  --navy-950: #061018;
  --navy-900: #0a1a2e;
  --navy-800: #0f2744;
  --navy-700: #163a5f;
  --navy-600: #1e4d7b;
  --teal-400: #2dd4bf;
  --teal-500: #14b8a6;
  --teal-600: #0d9488;
  --cyan-400: #22d3ee;
  --accent: #14b8a6;
  --accent-hover: #0d9488;
  --accent-soft: rgba(20, 184, 166, 0.12);
  --saffron: #f59e0b;
  --white: #ffffff;
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --text: #1e293b;
  --text-muted: #64748b;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-sm: 0 1px 3px rgba(10, 26, 46, 0.06);
  --shadow: 0 4px 20px rgba(10, 26, 46, 0.08);
  --shadow-lg: 0 12px 40px rgba(10, 26, 46, 0.12);
  --shadow-glow: 0 0 40px rgba(20, 184, 166, 0.25);
  --font: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --container: 1120px;
  --header-h: 72px;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition), opacity var(--transition);
}

ul,
ol {
  list-style: none;
}

button,
input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.container--wide {
  width: min(100% - 2rem, 1280px);
}

/* ========== Typography ========== */
h1,
h2,
h3,
h4 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy-900);
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
}

h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.25rem);
}

h3 {
  font-size: clamp(1.15rem, 2vw, 1.35rem);
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 560px;
  margin-top: 0.75rem;
}

.text-center {
  text-align: center;
}

.text-center .section-desc {
  margin-inline: auto;
}

/* ========== Buttons ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  line-height: 1.2;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn--primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(20, 184, 166, 0.35);
}

.btn--primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(20, 184, 166, 0.45);
}

.btn--secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}

.btn--secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
}

.btn--outline {
  background: transparent;
  color: var(--navy-800);
  border-color: var(--slate-300);
}

.btn--outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}

.btn--ghost {
  background: var(--accent-soft);
  color: var(--accent);
}

.btn--ghost:hover {
  background: rgba(20, 184, 166, 0.2);
}

.btn--sm {
  padding: 0.55rem 1.1rem;
  font-size: 0.875rem;
}

.btn--lg {
  padding: 1rem 2rem;
  font-size: 1.05rem;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
}

/* ========== Header ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  transition: box-shadow var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--navy-900);
  letter-spacing: -0.03em;
  flex-shrink: 0;
}

.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--navy-800), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.logo-mark::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  border: 2.5px solid var(--white);
  border-radius: 50%;
  border-top-color: transparent;
  border-left-color: transparent;
  transform: rotate(-45deg);
}

.logo-mark span {
  width: 6px;
  height: 6px;
  background: var(--teal-400);
  border-radius: 50%;
  position: relative;
  z-index: 1;
}

.logo-text span {
  color: var(--accent);
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 0.25rem;
}

.nav-desktop a {
  padding: 0.5rem 0.9rem;
  font-size: 0.925rem;
  font-weight: 500;
  color: var(--slate-600);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.nav-desktop a:hover,
.nav-desktop a.active {
  color: var(--navy-900);
  background: var(--slate-100);
}

.nav-desktop a.active {
  color: var(--accent);
  background: var(--accent-soft);
}

.header-cta {
  display: none;
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: var(--radius-sm);
}

.menu-toggle:hover {
  background: var(--slate-100);
}

.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--navy-900);
  border-radius: 2px;
  transition: all var(--transition);
}

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

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

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

.nav-mobile {
  display: none;
  position: absolute;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--slate-200);
  padding: 1rem 1.25rem 1.5rem;
  box-shadow: var(--shadow-lg);
  flex-direction: column;
  gap: 0.25rem;
}

.nav-mobile.open {
  display: flex;
}

.nav-mobile a {
  padding: 0.85rem 1rem;
  font-weight: 500;
  color: var(--slate-700);
  border-radius: var(--radius-sm);
}

.nav-mobile a:hover,
.nav-mobile a.active {
  background: var(--accent-soft);
  color: var(--accent);
}

.nav-mobile .btn {
  margin-top: 0.75rem;
  width: 100%;
}

@media (min-width: 900px) {
  .nav-desktop {
    display: flex;
  }

  .header-cta {
    display: inline-flex;
  }

  .menu-toggle {
    display: none;
  }

  .nav-mobile {
    display: none !important;
  }
}

/* ========== Hero ========== */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
  display: flex;
  align-items: center;
  background: var(--navy-950);
  color: var(--white);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(6, 16, 24, 0.92) 0%, rgba(15, 39, 68, 0.75) 50%, rgba(6, 16, 24, 0.88) 100%),
    radial-gradient(ellipse at 70% 40%, rgba(20, 184, 166, 0.18) 0%, transparent 55%);
  z-index: 1;
}

.hero__grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(20, 184, 166, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 184, 166, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: 4rem 0 5rem;
  max-width: 720px;
  animation: fadeUp 0.8s ease both;
}

.hero__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  font-weight: 700;
  color: var(--teal-400);
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.hero__brand::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--teal-400);
  border-radius: 2px;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 1.25rem;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(90deg, var(--teal-400), var(--cyan-400));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--slate-300);
  max-width: 540px;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero .btn-group {
  margin-bottom: 0;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========== Page Hero (inner pages) ========== */
.page-hero {
  position: relative;
  padding: 4.5rem 0 3.5rem;
  background: var(--navy-900);
  color: var(--white);
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 90% 10%, rgba(20, 184, 166, 0.2) 0%, transparent 50%),
    linear-gradient(180deg, transparent, rgba(6, 16, 24, 0.3));
  pointer-events: none;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  color: var(--white);
  margin-bottom: 1rem;
}

.page-hero p {
  color: var(--slate-300);
  font-size: 1.1rem;
  max-width: 560px;
}

/* ========== Sections ========== */
.section {
  padding: 5rem 0;
}

.section--alt {
  background: var(--slate-50);
}

.section--dark {
  background: var(--navy-900);
  color: var(--white);
}

.section--dark h2,
.section--dark h3 {
  color: var(--white);
}

.section--dark .section-desc {
  color: var(--slate-400);
}

.section-header {
  margin-bottom: 3rem;
}

/* ========== Trust Bar ========== */
.trust-bar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .trust-bar {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
}

.trust-item {
  text-align: center;
  padding: 1.5rem 1rem;
}

.trust-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 1rem;
  border-radius: 14px;
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.trust-icon svg {
  width: 26px;
  height: 26px;
}

.trust-item h3 {
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.trust-item p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ========== Feature Cards ========== */
.features-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--cyan-400));
  opacity: 0;
  transition: opacity var(--transition);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-num {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--slate-100);
  line-height: 1;
  margin-bottom: 1rem;
  letter-spacing: -0.04em;
}

.feature-card:hover .feature-num {
  color: var(--accent-soft);
}

.feature-card h3 {
  margin-bottom: 0.65rem;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ========== Service Preview Cards ========== */
.cards-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .cards-grid--2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .cards-grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .cards-grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .cards-grid--4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.service-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  transition: all var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(20, 184, 166, 0.3);
}

.service-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-700));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal-400);
  margin-bottom: 1.25rem;
}

.service-card__icon svg {
  width: 24px;
  height: 24px;
}

.service-card h3 {
  margin-bottom: 0.6rem;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.925rem;
  flex-grow: 1;
  margin-bottom: 1.25rem;
}

.service-card .link-arrow {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.service-card .link-arrow:hover {
  gap: 0.6rem;
}

/* ========== Testimonials ========== */
.testimonials {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .testimonials {
    grid-template-columns: repeat(3, 1fr);
  }
}

.testimonial {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: all var(--transition);
}

.testimonial:hover {
  box-shadow: var(--shadow);
}

.testimonial__quote {
  font-size: 0.95rem;
  color: var(--slate-600);
  margin-bottom: 1.5rem;
  position: relative;
  padding-top: 0.5rem;
}

.testimonial__quote::before {
  content: "\201C";
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.35;
  position: absolute;
  top: -0.5rem;
  left: -0.25rem;
  line-height: 1;
  font-family: Georgia, serif;
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial__avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-700), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 0.85rem;
}

.testimonial__meta strong {
  display: block;
  font-size: 0.9rem;
  color: var(--navy-900);
}

.testimonial__meta span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ========== About Preview ========== */
.about-preview {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .about-preview {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.about-preview__img {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  position: relative;
}

.about-preview__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.about-preview__img:hover img {
  transform: scale(1.04);
}

.about-preview__text p {
  color: var(--text-muted);
  margin: 1rem 0 1.75rem;
}

/* ========== CTA Banner ========== */
.cta-banner {
  position: relative;
  border-radius: var(--radius-xl);
  padding: 3.5rem 2rem;
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 100%);
  text-align: center;
  overflow: hidden;
}

.cta-banner::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.cta-banner h2 {
  color: var(--white);
  margin-bottom: 0.75rem;
  position: relative;
}

.cta-banner p {
  color: var(--slate-300);
  margin-bottom: 1.75rem;
  max-width: 480px;
  margin-inline: auto;
  position: relative;
}

.cta-banner .btn {
  position: relative;
}

/* ========== About Page ========== */
.mission-block {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .mission-block {
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    align-items: start;
  }
}

.mission-card {
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  color: var(--white);
}

.mission-card h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.mission-card p {
  color: var(--slate-300);
}

.story-content p {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.uniques-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .uniques-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.unique-item {
  padding: 1.75rem;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}

.unique-item:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow);
}

.unique-item__icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.unique-item__icon svg {
  width: 22px;
  height: 22px;
}

.unique-item h3 {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.unique-item p {
  color: var(--text-muted);
  font-size: 0.925rem;
}

/* ========== Process Timeline ========== */
.process {
  display: grid;
  gap: 0;
  position: relative;
}

@media (min-width: 900px) {
  .process {
    grid-template-columns: repeat(6, 1fr);
    gap: 0.75rem;
  }

  .process::before {
    content: "";
    position: absolute;
    top: 28px;
    left: 8%;
    right: 8%;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--cyan-400));
    opacity: 0.3;
    z-index: 0;
  }
}

.process-step {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 0.5rem 2rem;
  display: flex;
  gap: 1rem;
  text-align: left;
}

@media (min-width: 900px) {
  .process-step {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 0.25rem;
  }
}

.process-step__num {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--accent);
  color: var(--accent);
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 6px var(--accent-soft);
}

.process-step h3 {
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
  margin-top: 0.25rem;
}

@media (min-width: 900px) {
  .process-step h3 {
    margin-top: 1rem;
  }
}

.process-step p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ========== FAQ ========== */
.faq-list {
  max-width: 760px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition);
}

.faq-item.active {
  border-color: var(--accent);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.35rem;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-weight: 600;
  color: var(--navy-900);
  font-size: 0.975rem;
}

.faq-question:hover {
  color: var(--accent);
}

.faq-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--slate-100);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.faq-item.active .faq-icon {
  background: var(--accent);
  color: var(--white);
  transform: rotate(45deg);
}

.faq-icon svg {
  width: 14px;
  height: 14px;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

.faq-answer p {
  padding: 0 1.35rem 1.25rem;
  color: var(--text-muted);
  font-size: 0.925rem;
}

/* ========== Showcase Filter ========== */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
  justify-content: center;
}

.filter-btn {
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  border: 1.5px solid var(--slate-200);
  background: var(--white);
  color: var(--slate-600);
  font-weight: 500;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all var(--transition);
}

.filter-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.filter-btn.active {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: var(--white);
}

.showcase-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .showcase-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .showcase-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.showcase-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.showcase-card.hidden {
  display: none;
}

.showcase-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.showcase-card__img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  position: relative;
}

.showcase-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.showcase-card:hover .showcase-card__img img {
  transform: scale(1.06);
}

.showcase-card__tag {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.3rem 0.7rem;
  background: rgba(10, 26, 46, 0.8);
  backdrop-filter: blur(8px);
  color: var(--teal-400);
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 6px;
}

.showcase-card__body {
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.showcase-card__body h3 {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.showcase-card__body p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

/* ========== Contact ========== */
.contact-layout {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 900px) {
  .contact-layout {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3.5rem;
    align-items: start;
  }
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--navy-900);
  margin-bottom: 0.45rem;
}

.form-group label .required {
  color: var(--accent);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius);
  background: var(--slate-50);
  color: var(--text);
  transition: all var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  background: var(--white);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-card {
  background: var(--navy-900);
  border-radius: var(--radius-xl);
  padding: 2rem;
  color: var(--white);
}

.contact-card h3 {
  color: var(--white);
  margin-bottom: 0.75rem;
}

.contact-card > p {
  color: var(--slate-400);
  font-size: 0.925rem;
  margin-bottom: 1.5rem;
}

.telegram-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  transition: all var(--transition);
  margin-bottom: 1.25rem;
}

.telegram-link:hover {
  background: rgba(20, 184, 166, 0.15);
  border-color: var(--accent);
}

.telegram-link__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #2aabee;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.telegram-link__icon svg {
  width: 26px;
  height: 26px;
  fill: white;
}

.telegram-link__text strong {
  display: block;
  font-size: 1.05rem;
  color: var(--white);
}

.telegram-link__text span {
  font-size: 0.85rem;
  color: var(--slate-400);
}

.qr-code {
  display: block;
  width: 160px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius);
  padding: 0.5rem;
  transition: transform var(--transition), box-shadow var(--transition);
}

.qr-code:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.qr-code img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
}

.map-visual {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  position: relative;
}

.map-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.map-visual__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10, 26, 46, 0.75));
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
}

.map-visual__overlay p {
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
}

/* Form Modal ========== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(6, 16, 24, 0.6);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  max-width: 420px;
  width: 100%;
  text-align: center;
  transform: translateY(16px) scale(0.96);
  transition: transform var(--transition);
}

.modal-overlay.open .modal {
  transform: translateY(0) scale(1);
}

.modal__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal__icon svg {
  width: 32px;
  height: 32px;
}

.modal h3 {
  margin-bottom: 0.75rem;
}

.modal p {
  color: var(--text-muted);
  font-size: 0.925rem;
  margin-bottom: 1.75rem;
}

.modal .btn-group {
  justify-content: center;
}

/* ========== Footer ========== */
.site-footer {
  background: var(--navy-950);
  color: var(--slate-400);
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

.footer-brand .logo {
  color: var(--white);
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 280px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 1.15rem;
  font-weight: 600;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-col a {
  font-size: 0.9rem;
  color: var(--slate-400);
  transition: color var(--transition);
}

.footer-col a:hover {
  color: var(--teal-400);
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--slate-300);
  transition: all var(--transition);
}

.social-btn:hover {
  background: #2aabee;
  border-color: #2aabee;
  color: var(--white);
}

.social-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.footer-bottom {
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.85rem;
  color: var(--slate-500);
}

/* ========== Utilities ========== */
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-2 { margin-bottom: 1rem; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Services page larger cards */
.services-full .service-card {
  padding: 2rem;
}

@media (min-width: 768px) {
  .services-full {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .services-full {
    grid-template-columns: repeat(3, 1fr);
  }

  .services-full .service-card:nth-child(4),
  .services-full .service-card:nth-child(5) {
    /* keep balanced */
  }
}

/* ========== UI chrome labels (CSS content) ==========
   Keeps nav/CTA/footer fluff out of HTML text nodes
   so keyword density favors 印度支付 body content.
   ================================================== */
.ui-home::before { content: "首页"; }
.ui-about::before { content: "关于我们"; }
.ui-services::before { content: "服务"; }
.ui-showcase::before { content: "展示"; }
.ui-contact::before { content: "联系我们"; }
.ui-quick::before { content: "快速链接"; }
.ui-contact-col::before { content: "联系方式"; }
.ui-tg::after { content: "Telegram 咨询"; }
.ui-tg-now::after { content: "立即咨询 @indianpayment07"; }
.ui-tg-handle::before { content: "Telegram @indianpayment07"; }
.ui-ask-now::before { content: "立即咨询"; }
.ui-learn-svc::before { content: "了解服务"; }
.ui-view-all::before { content: "查看全部服务"; }
.ui-learn-more::before { content: "了解更多"; }
.ui-detail::before { content: "咨询详情"; }
.ui-detail-arrow::before { content: "查看详情 →"; }
.ui-detail-tg::before { content: "咨询详情 →"; }
.ui-submit::before { content: "提交留言"; }
.ui-close::before { content: "关闭"; }
.ui-social::before { content: "社交媒体"; }
.ui-msg-label::before { content: "留言咨询"; }
.ui-about-label::before { content: "关于我们"; }
.ui-tg-support::before { content: "Telegram 客服"; }
.ui-tg-click::before { content: "t.me/indianpayment07 · 点击咨询"; }
.ui-filter-all::before { content: "全部"; }
.ui-filter-backend::before { content: "后台系统"; }
.ui-filter-api::before { content: "技术对接"; }
.ui-tg-mention::before { content: "Telegram @indianpayment07"; }
.ui-tg-word::before { content: "Telegram"; }

.btn.ui-tg,
.btn.ui-tg-now {
  gap: 0.5rem;
}

.btn.ui-tg svg + *,
.btn.ui-tg-now svg + * {
  display: none;
}

.link-arrow.ui-detail-arrow,
.link-arrow.ui-detail-tg {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--accent);
}

.footer-col h4.ui-quick,
.footer-col h4.ui-contact-col {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 1.15rem;
  font-weight: 600;
}

.section-label.ui-about-label,
.section-label.ui-msg-label {
  display: inline-block;
}

.telegram-link__text .ui-tg-click {
  display: block;
  font-size: 0.85rem;
  color: var(--slate-400);
}

.contact-card h3.ui-tg-support {
  color: var(--white);
  margin-bottom: 0.75rem;
}
