/* ===========================================================
   ShinePay — Simple & Clean | Blue + Green Light Theme
   Flat icons · Next-level animations
   =========================================================== */

:root {
  --blue: #1d6fe0;
  --blue-dark: #1a56c4;
  --green: #10b981;
  --green-dark: #059669;
  --ink: #0e1c33;
  --muted: #64748b;
  --bg: #ffffff;
  --bg-soft: #f5faff;
  --line: #e8eef6;
  --grad: linear-gradient(120deg, var(--blue) 0%, var(--green) 100%);
  --shadow-sm: 0 4px 14px -6px rgba(15, 37, 68, .12);
  --shadow-lg: 0 24px 50px -24px rgba(15, 37, 68, .28);
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Poppins", "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
  line-height: 1.6;
}

/* ---------- Typography helpers ---------- */
.text-grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* section eyebrow pill (matches Device Blocking badge) */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--green-dark);
  background: #ecfdf5;
  border: 1px solid #d1fae5;
  border-radius: 999px;
  padding: .4rem 1rem .4rem .85rem;
}
.eyebrow svg {
  width: 1rem;
  height: 1rem;
  stroke-width: 2;
}

/* ===========================================================
   PRELOADER
   =========================================================== */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(700px 400px at 50% 40%, #eef7ff 0%, transparent 70%),
    linear-gradient(160deg, #ffffff 0%, #f0f8ff 55%, #ecfdf5 100%);
  transition: opacity .6s var(--ease), visibility .6s var(--ease);
}
#preloader.done {
  opacity: 0;
  visibility: hidden;
}
body.loading {
  overflow: hidden;
}

.pl-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* spinning gradient ring around the logo */
.pl-ring {
  position: relative;
  width: 132px;
  height: 132px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}
.pl-ring::before,
.pl-ring::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
}
.pl-ring::before {
  background: conic-gradient(from 0deg, var(--blue), var(--green), var(--blue));
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 5px), #000 calc(100% - 4px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 5px), #000 calc(100% - 4px));
  animation: plSpin 1.2s linear infinite;
}
.pl-ring::after {
  inset: 10px;
  background: radial-gradient(closest-side, rgba(72, 164, 246, .18), transparent 72%);
  animation: plGlow 1.8s ease-in-out infinite;
}
@keyframes plSpin {
  to { transform: rotate(360deg); }
}
@keyframes plGlow {
  0%, 100% { transform: scale(1); opacity: .7; }
  50% { transform: scale(1.08); opacity: 1; }
}

.pl-logo {
  position: relative;
  z-index: 1;
  width: 78px;
  height: 78px;
  object-fit: contain;
  animation: plBeat 1.8s ease-in-out infinite;
}
@keyframes plBeat {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

.pl-name {
  margin: 22px 0 0;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: .5px;
}

.pl-bar {
  margin-top: 16px;
  width: 180px;
  height: 5px;
  border-radius: 999px;
  background: #e2ecf7;
  overflow: hidden;
}
.pl-bar span {
  display: block;
  height: 100%;
  width: 40%;
  border-radius: 999px;
  background: var(--grad);
  animation: plLoad 1.4s var(--ease) infinite;
}
@keyframes plLoad {
  0%   { transform: translateX(-120%); width: 45%; }
  50%  { width: 65%; }
  100% { transform: translateX(320%); width: 45%; }
}

.pl-tag {
  margin-top: 14px;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Buttons (magnetic) ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease), color .3s var(--ease);
  will-change: transform;
}

.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 12px 26px -12px rgba(29, 111, 224, .6);
  background-size: 180% 180%;
  animation: gradShift 6s ease infinite;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 34px -12px rgba(16, 185, 129, .6);
}

.btn-ghost {
  background: #fff;
  color: var(--blue-dark);
  border: 2px solid var(--line);
}

.btn-ghost:hover {
  border-color: var(--blue);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

@keyframes gradShift {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

/* ---------- Header (next-level) ---------- */
#hdr { transition: box-shadow .3s var(--ease); }

/* top utility bar */
.hdr-top {
  max-height: 40px;
  overflow: hidden;
  background: rgba(255, 255, 255, .85);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
  transition: max-height .35s var(--ease), opacity .3s var(--ease), transform .35s var(--ease);
}
#hdr.solid .hdr-top {
  max-height: 0;
  opacity: 0;
  transform: translateY(-6px);
  border-color: transparent;
}
.top-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  transition: color .25s var(--ease);
}
.top-link:hover { color: var(--blue); }
.top-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 7px;
  color: #64748b;
  transition: color .25s var(--ease), background .25s var(--ease), transform .25s var(--ease);
}
.top-social svg { width: 13px; height: 13px; }
.top-social:hover {
  color: #fff;
  background: var(--grad);
  transform: translateY(-2px);
}

/* main nav bar */
.hdr-main {
  background: rgba(255, 255, 255, .72);
  backdrop-filter: blur(12px);
  transition: background .3s var(--ease), box-shadow .3s var(--ease);
}
#hdr.solid .hdr-main {
  background: rgba(255, 255, 255, .95);
  box-shadow: 0 10px 30px -18px rgba(15, 37, 68, .35);
}

/* nav links with animated gradient underline */
.nav-link {
  position: relative;
  padding: .35rem 0;
  color: #475569;
  font-weight: 500;
  transition: color .25s var(--ease);
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  height: 2px;
  width: 0;
  border-radius: 2px;
  background: var(--grad);
  transition: width .28s var(--ease);
}
.nav-link:hover { color: var(--blue-dark); }
.nav-link:hover::after,
.nav-link.active::after { width: 100%; }
.nav-link.active { color: var(--blue-dark); font-weight: 600; }

/* mobile menu links */
.m-link {
  display: block;
  padding: .7rem .9rem;
  border-radius: 12px;
  font-weight: 500;
  color: #334155;
  transition: background .2s var(--ease), color .2s var(--ease), padding-left .2s var(--ease);
}
.m-link:hover,
.m-link.active {
  background: var(--bg-soft);
  color: var(--blue-dark);
  padding-left: 1.2rem;
}

/* ---------- Hero decorative blobs ---------- */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: .45;
  z-index: 0;
  animation: float 9s ease-in-out infinite;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0) translateX(0);
  }

  50% {
    transform: translateY(-28px) translateX(14px);
  }
}

/* Floating phone card */
.float-slow {
  animation: float 7s ease-in-out infinite;
}

/* ===========================================================
   NEXT-LEVEL HERO
   =========================================================== */
.hero {
  background:
    radial-gradient(1000px 500px at 78% 8%, #eef7ff 0%, transparent 60%),
    radial-gradient(800px 500px at 12% 90%, #eafaf2 0%, transparent 55%),
    linear-gradient(180deg, #ffffff 0%, #f5faff 100%);
}

/* animated color mesh */
.hero-mesh {
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 120%;
  background:
    radial-gradient(closest-side, rgba(29, 111, 224, .16), transparent) 20% 30% / 45% 45% no-repeat,
    radial-gradient(closest-side, rgba(16, 185, 129, .16), transparent) 80% 20% / 40% 40% no-repeat,
    radial-gradient(closest-side, rgba(72, 164, 246, .14), transparent) 60% 80% / 50% 50% no-repeat;
  filter: blur(30px);
  animation: meshMove 16s ease-in-out infinite alternate;
  z-index: 0;
}

@keyframes meshMove {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  50% {
    transform: translate3d(2%, -2%, 0) scale(1.05);
  }

  100% {
    transform: translate3d(-2%, 2%, 0) scale(1.02);
  }
}

/* faint dotted grid */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(15, 37, 68, .06) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 40%, #000 0%, transparent 75%);
  mask-image: radial-gradient(70% 60% at 50% 40%, #000 0%, transparent 75%);
  z-index: 0;
}

/* shine sweep on gradient headline */
.hero-shine {
  background-size: 220% 100%;
  animation: shineMove 5s ease-in-out infinite;
}

@keyframes shineMove {

  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

/* hero stage + person */
.hero-stage {
  /* soft ground glow instead of a shadow that traces the hard image edge */
  position: relative;
}
.hero-stage::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2%;
  width: 60%;
  height: 40px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(15, 37, 68, .22), transparent 75%);
  filter: blur(6px);
  z-index: 0;
}

.hero-person {
  animation: personFloat 6s ease-in-out infinite;
  transform-origin: center bottom;
  /* fade the hard bottom crop of the source photo into the background */
  -webkit-mask-image: linear-gradient(to bottom, #000 74%, rgba(0, 0, 0, .55) 88%, transparent 99%);
  mask-image: linear-gradient(to bottom, #000 74%, rgba(0, 0, 0, .55) 88%, transparent 99%);
}

@keyframes personFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-16px);
  }
}

/* glowing rings behind person */
.hero-ring,
.hero-ring-2 {
  position: absolute;
  left: 50%;
  top: 52%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  z-index: 0;
}

.hero-ring {
  width: 78%;
  padding-bottom: 78%;
  background: conic-gradient(from 0deg, var(--blue), var(--green), var(--blue));
  filter: blur(2px);
  opacity: .9;
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 10px), #000 calc(100% - 9px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 10px), #000 calc(100% - 9px));
  animation: spin 14s linear infinite;
}

.hero-ring-2 {
  width: 92%;
  padding-bottom: 92%;
  background: radial-gradient(closest-side, rgba(72, 164, 246, .18), rgba(16, 185, 129, .10) 60%, transparent 72%);
  animation: pulse 5s ease-in-out infinite;
}

@keyframes spin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes pulse {

  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: .8;
  }

  50% {
    transform: translate(-50%, -50%) scale(1.06);
    opacity: 1;
  }
}

/* glass floating badges */
.glass {
  background: rgba(255, 255, 255, .72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, .7);
  box-shadow: 0 18px 40px -18px rgba(15, 37, 68, .35);
}

.float-badge {
  animation: badgeFloat 5s ease-in-out infinite;
}

.float-badge-2 {
  animation: badgeFloat 6s ease-in-out .4s infinite;
}

.float-badge-3 {
  animation: badgeFloat 5.5s ease-in-out .8s infinite;
}

@keyframes badgeFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

/* bottom wave divider */
.hero-wave {
  position: relative;
  z-index: 1;
  line-height: 0;
  margin-top: -1px;
}

.hero-wave svg {
  display: block;
  width: 100%;
  height: 60px;
}

.hero-wave path {
  fill: #ffffff;
}

@media (min-width: 1024px) {
  .hero-wave svg {
    height: 80px;
  }
}

/* ---------- Icon chips (flat) ---------- */
.icon-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  transition: transform .35s var(--ease), background .35s var(--ease);
}

.icon-chip svg {
  width: 26px;
  height: 26px;
  stroke-width: 1.8;
}

.card:hover .icon-chip {
  transform: rotate(-8deg) scale(1.12);
}

/* ---------- Cards + tilt ---------- */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
  transform-style: preserve-3d;
  will-change: transform;
}

.card:hover {
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

/* Brand pills */
.brand {
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), color .35s var(--ease);
}

.brand:hover {
  transform: translateY(-6px) scale(1.04);
  box-shadow: var(--shadow-sm);
  color: var(--blue);
}

/* ---------- Step connector line ---------- */
.step-badge {
  background: var(--grad);
  background-size: 180% 180%;
  animation: gradShift 6s ease infinite;
}

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(38px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

.reveal.d1 {
  transition-delay: .1s;
}

.reveal.d2 {
  transition-delay: .2s;
}

.reveal.d3 {
  transition-delay: .3s;
}

.reveal.d4 {
  transition-delay: .4s;
}

/* ---------- FAQ ---------- */
.faq .ans {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .4s var(--ease);
}

.faq[data-open="true"] .ans {
  grid-template-rows: 1fr;
}

.faq .ans>div {
  overflow: hidden;
}

.faq .plus {
  transition: transform .35s var(--ease);
}

.faq[data-open="true"] .plus {
  transform: rotate(135deg);
}

/* ---------- Testimonials ---------- */
.tslide {
  transition: transform .6s var(--ease);
}

/* ---------- Brand carousel (auto-scroll marquee) ---------- */
@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.marquee {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 1.25rem;
  animation: marquee 32s linear infinite;
  padding: 2rem;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

.brand-slide {
  flex: 0 0 auto;
  width: 170px;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}

.brand-slide:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.brand-slide img {
  max-width: 72%;
  max-height: 52px;
  object-fit: contain;
  opacity: .7;
  transition: filter .3s var(--ease), opacity .3s var(--ease);
}

.brand-slide:hover img {
  filter: grayscale(0);
  opacity: 1;
}

@media (max-width: 640px) {
  .brand-slide {
    width: 140px;
    height: 84px;
  }
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-soft);
}

::-webkit-scrollbar-thumb {
  background: var(--grad);
  border-radius: 999px;
}

/* ---------- Back to top ---------- */
#toTop {
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}

/* ---------- Scroll progress bar ---------- */
#progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: var(--grad);
  z-index: 60;
  transition: width .1s linear;
}

/* ---------- Ripple ---------- */
.ripple {
  position: relative;
  overflow: hidden;
}

.ripple span.r {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, .5);
  transform: scale(0);
  animation: rip .6s ease-out;
  pointer-events: none;
}

@keyframes rip {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: .001s !important;
    transition-duration: .001s !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
/* ===========================================================
   DEVICE BLOCKING / SECURITY SECTION (light theme)
   =========================================================== */
.sec-light {
  background:
    radial-gradient(900px 500px at 80% 0%, #eaf3ff 0%, transparent 60%),
    radial-gradient(700px 500px at 0% 100%, #e7fbf1 0%, transparent 55%),
    linear-gradient(160deg, #ffffff 0%, #f5faff 55%, #f2fbf7 100%);
}
.sec-glow {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .18;
  animation: float 10s ease-in-out infinite;
  z-index: 0;
}
.sec-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(15, 37, 68, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 37, 68, .05) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(80% 70% at 50% 30%, #000, transparent 80%);
  mask-image: radial-gradient(80% 70% at 50% 30%, #000, transparent 80%);
  z-index: 0;
}

/* status chips (light) */
.chip-glass {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .78rem;
  font-weight: 600;
  color: #334155;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .45rem .9rem;
  box-shadow: var(--shadow-sm);
}
.chip-glass .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

/* ---- phone lock mockup ---- */
.phone-mock {
  position: relative;
  width: 240px;
  height: 480px;
  border-radius: 40px;
  padding: 12px;
  background: linear-gradient(160deg, #243b63 0%, #14203a 100%);
  box-shadow:
    0 30px 60px -20px rgba(0, 0, 0, .6),
    inset 0 0 0 2px rgba(255, 255, 255, .06);
}
.phone-notch {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 22px;
  background: #0c1a30;
  border-radius: 0 0 14px 14px;
  z-index: 3;
}
.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 30px;
  background: radial-gradient(120% 80% at 50% 0%, #17325c 0%, #0c1a30 70%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 26px 22px;
  overflow: hidden;
}
.lock-badge {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--green));
  box-shadow: 0 0 0 8px rgba(255, 255, 255, .06), 0 12px 26px -8px rgba(16, 185, 129, .6);
  animation: lockPulse 2.4s ease-in-out infinite;
}
.lock-badge svg { width: 34px; height: 34px; }
@keyframes lockPulse {
  0%, 100% { box-shadow: 0 0 0 8px rgba(255, 255, 255, .06), 0 12px 26px -8px rgba(16, 185, 129, .55); }
  50% { box-shadow: 0 0 0 14px rgba(255, 255, 255, .03), 0 12px 30px -8px rgba(29, 111, 224, .7); }
}
.ps-title {
  margin-top: 22px;
  color: #fff;
  font-weight: 700;
  font-size: 1.15rem;
}
.ps-sub {
  margin-top: 8px;
  color: #9db4d6;
  font-size: .8rem;
  line-height: 1.5;
}
.ps-alert {
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .72rem;
  font-weight: 600;
  color: #ffd0a6;
  background: rgba(245, 158, 11, .14);
  border: 1px solid rgba(245, 158, 11, .3);
  padding: .4rem .8rem;
  border-radius: 999px;
}
.ps-alert-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #f59e0b;
  animation: blinkDot 1s steps(2, end) infinite;
}
@keyframes blinkDot {
  50% { opacity: .2; }
}
.ps-btn {
  margin-top: 26px;
  width: 100%;
  padding: .7rem 0;
  border-radius: 14px;
  color: #fff;
  font-weight: 600;
  font-size: .85rem;
  background: linear-gradient(90deg, var(--blue), var(--green));
  box-shadow: 0 10px 22px -10px rgba(16, 185, 129, .7);
}

/* ---- numbered feature cards (light) ---- */
.dcard {
  position: relative;
  padding: 1.6rem 1.5rem 1.5rem;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.dcard::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--green));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease);
}
.dcard:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.dcard:hover::before { transform: scaleX(1); }
.dcard-num {
  position: absolute;
  top: 12px;
  right: 18px;
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1;
  color: rgba(15, 37, 68, .06);
}
.dcard-ic {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  transition: transform .35s var(--ease), color .35s var(--ease);
}
.dcard-ic svg { width: 26px; height: 26px; }
.dcard:hover .dcard-ic {
  transform: rotate(-6deg) scale(1.08);
  color: var(--green);
}
.dcard-t {
  margin-top: 1.1rem;
  color: #0f2544;
  font-weight: 700;
  font-size: 1.05rem;
}
.dcard-p {
  margin-top: .5rem;
  color: var(--muted);
  font-size: .85rem;
  line-height: 1.6;
}

/* ===========================================================
   TESTIMONIALS (premium slider cards)
   =========================================================== */
.tcard {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 2.5rem 2rem 2rem;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  text-align: center;
}
.tcard::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: var(--grad);
}
.tquote {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 5rem;
  line-height: .8;
  height: 2.2rem;
  color: transparent;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  opacity: .28;
}
.tstars {
  margin-top: .75rem;
  color: #fbbf24;
  letter-spacing: 2px;
  font-size: 1rem;
}
.tquote-text {
  margin-top: 1rem;
  font-size: 1.15rem;
  line-height: 1.7;
  color: #334155;
  font-weight: 500;
}
.tperson {
  margin-top: 1.75rem;
  display: inline-flex;
  align-items: center;
  gap: .8rem;
}
.tavatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .5px;
  box-shadow: 0 8px 18px -8px rgba(29, 111, 224, .6);
}
.tname {
  font-weight: 700;
  color: #0f2544;
  line-height: 1.1;
}
.trole {
  font-size: .78rem;
  color: var(--muted);
  margin-top: 2px;
}

/* ===========================================================
   CONTACT SECTION
   =========================================================== */
.contact-card {
  background:
    radial-gradient(500px 300px at 100% 0%, #eff8ff 0%, transparent 60%),
    radial-gradient(500px 300px at 0% 100%, #ecfdf5 0%, transparent 60%),
    #ffffff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}
.cc-glow {
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  filter: blur(60px);
  opacity: .6;
  animation: float 9s ease-in-out infinite;
}
.ci-row {
  display: flex;
  align-items: center;
  gap: .9rem;
  padding: .55rem;
  border-radius: 16px;
  transition: background .25s var(--ease), transform .25s var(--ease);
}
.ci-row:hover {
  background: var(--bg-soft);
  transform: translateX(4px);
}
.ci-ic {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ci-ic svg { width: 22px; height: 22px; }
.ci-ic-blue { color: var(--blue); background: #eff8ff; border: 1px solid #dbeefe; }
.ci-ic-green { color: var(--green-dark); background: #ecfdf5; border: 1px solid #d1fae5; }
.ci-social {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  background: #fff;
  border: 1px solid var(--line);
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.ci-social:hover {
  transform: translateY(-3px);
  color: #fff;
  background: var(--grad);
  border-color: transparent;
}
.ci-social svg { width: 18px; height: 18px; }

/* form fields */
.field label {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: .35rem;
}
.field-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.field-ic {
  position: absolute;
  left: 14px;
  width: 20px;
  height: 20px;
  color: #94a3b8;
  pointer-events: none;
  transition: color .25s var(--ease);
}
.field-wrap input {
  width: 100%;
  padding: .8rem 1rem .8rem 2.75rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #f8fbff;
  font-size: .95rem;
  color: var(--ink);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
}
.field-wrap input::placeholder { color: #9aa8bd; }
.field-wrap input:focus {
  outline: none;
  background: #fff;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(29, 111, 224, .12);
}
.field-wrap input:focus + .field-ic,
.field-wrap:focus-within .field-ic { color: var(--blue); }

/* ===========================================================
   FOOTER (next-level)
   =========================================================== */
.ft {
  background:
    radial-gradient(700px 400px at 85% 0%, #10305e 0%, transparent 55%),
    radial-gradient(600px 400px at 0% 100%, #0c3b34 0%, transparent 55%),
    linear-gradient(160deg, #0b1c36 0%, #0e2444 60%, #0a1a33 100%);
}
.ft-glow {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  filter: blur(110px);
  opacity: .22;
  animation: float 11s ease-in-out infinite;
  z-index: 0;
}
.ft-cta {
  background: linear-gradient(120deg, var(--blue), var(--green));
  background-size: 160% 160%;
  animation: gradShift 7s ease infinite;
  box-shadow: 0 24px 50px -24px rgba(16, 185, 129, .55);
}
.ft-logo {
  background: #fff;
  padding: 8px 12px;
  border-radius: 12px;
  box-shadow: 0 10px 24px -14px rgba(0, 0, 0, .6);
}
.ft-link {
  color: #cbd5e1;
  position: relative;
  transition: color .25s var(--ease), padding-left .25s var(--ease);
}
.ft-link::before {
  content: "";
  position: absolute;
  left: -12px;
  top: 50%;
  width: 0;
  height: 1.5px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--blue), var(--green));
  transform: translateY(-50%);
  transition: width .25s var(--ease);
}
.ft-link:hover {
  color: #fff;
  padding-left: 6px;
}
.ft-link:hover::before { width: 10px; }
.ft-social {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #cbd5e1;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .12);
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.ft-social:hover {
  transform: translateY(-4px);
  color: #fff;
  background: var(--grad);
  border-color: transparent;
}
.ft-social svg { 
  width: 18px; height: 18px;
 }