/* ============================================================
   UPAY — Premium CRED-Style Light Theme Landing Styles v3
   ============================================================ */

/* ── SMOOTH SCROLL CONTAINERS ── */
#smooth-wrapper {
  overflow: hidden;
  position: fixed;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fafafc; /* Light warm alabaster base */
}

#smooth-content {
  overflow: visible;
  width: 100%;
  position: relative;
  background: #fafafc;
}

/* ── VIDEO BACKGROUND CONTAINER & OVERLAYS ── */
.video-bg-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
}

.video-bg-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6; /* Increased visibility */
  filter: grayscale(10%) contrast(100%);
}

.video-overlay-mask {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(250, 250, 252, 0.4) 0%, rgba(250, 250, 252, 0.65) 100%);
  z-index: 2;
  pointer-events: none;
}

/* ── CORE AESTHETICS & GRID OVERLAYS ── */
.grid-bg-overlay {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(0, 0, 0, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.015) 1px, transparent 1px);
  background-size: 80px 80px;
  background-position: center top;
  pointer-events: none;
  z-index: 2;
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  opacity: 0.55;
  z-index: 1;
}

.orb-primary {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.1) 0%, transparent 70%);
  top: -10%;
  left: -10%;
}

.orb-secondary {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.06) 0%, transparent 70%);
  bottom: 20%;
  right: -5%;
}

/* ── HERO SECTION ── */
.cred-hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  padding: 150px 24px 80px 24px;
  text-align: center;
  overflow: hidden;
  z-index: 3;
  opacity: 1 !important;
}
.hero-device-container{
    opacity: 1 !important;
}
.hero-content {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 4;
}

.cred-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(79, 70, 229, 0.05);
  border: 1px solid rgba(79, 70, 229, 0.1);
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #4f46e5;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 32px;
}

.cred-badge span {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 8px #10b981;
}

.hero-title-wrap {
  overflow: hidden;
  margin-bottom: 24px;
}

.cred-hero-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(2.5rem, 6.5vw, 5.5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #111827;
}

.cred-hero-title span.highlight,
.cred-hero-title span.highlight div,
.cred-hero-title span.highlight span {
  background: linear-gradient(135deg, #4f46e5 0%, #8b5cf6 50%, #10b981 100%) !important;
  background-attachment: fixed !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  display: inline-block !important;
}

.cred-hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 500;
  color: #4b5563;
  max-width: 680px;
  margin: 0 auto 48px auto;
  line-height: 1.6;
}

.cred-btn-group {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
  margin-bottom: 64px;
  flex-wrap: wrap;
  opacity: 1 !important;
}

.btn-cred-primary {
  background: #111827;
  color: #ffffff;
  border: 1px solid #111827;
  padding: 16px 36px;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 12px;
  letter-spacing: -0.01em;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.btn-cred-primary:hover {
  background: #1f2937;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.btn-cred-outline {
  background: transparent;
  color: #111827;
  border: 2px solid #e5e7eb;
  padding: 14px 34px;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.btn-cred-outline:hover {
  border-color: #111827;
  background: rgba(0, 0, 0, 0.02);
  transform: translateY(-2px);
}

/* ── FLOATING Parallax Device & Cards Mockups ── */
.hero-device-container {
  position: relative;
  width: 100%;
  max-width: 580px;
  height: 550px;
  margin: 40px auto 0 auto;
  perspective: 1200px;
  z-index: 5;
}

.device-shadow {
  position: absolute;
  width: 320px;
  height: 40px;
  background: radial-gradient(ellipse at center, rgba(15, 23, 42, 0.12) 0%, transparent 70%);
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

/* ── MOCK IPHONE PRO ── */
.mock-phone {
  position: absolute;
  width: 270px;
  height: 540px;
  background: #0f172a; /* Sleek dark frame */
  border: 10px solid #0f172a;
  border-radius: 44px;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 
    0 25px 60px rgba(0,0,0,0.15),
    0 0 0 2px rgba(255, 255, 255, 0.05) inset;
  overflow: hidden;
  z-index: 3;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: #f8fafc;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 16px 14px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  user-select: none;
}

/* ── PHONE STATUS BAR ── */
.phone-header-v2 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  z-index: 10;
  padding: 0 4px;
}
.phone-time {
  font-size: 0.72rem;
  font-weight: 800;
  color: #0f172a;
}
.phone-camera-island {
  width: 75px;
  height: 18px;
  background: #0f172a;
  border-radius: 12px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 14px;
  z-index: 11;
}
.phone-icons {
  display: flex;
  gap: 4px;
  font-size: 0.65rem;
  color: #0f172a;
  font-weight: bold;
}

/* ── IN-APP NAVBAR ── */
.app-navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.avatar-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}
.app-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1.5px solid #4f46e5;
  object-fit: cover;
}
.welcome-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}
.welcome-text .hello {
  font-size: 0.58rem;
  color: #64748b;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1;
}
.welcome-text .username {
  font-size: 0.78rem;
  font-weight: 800;
  color: #0f172a;
}
.app-notif-bell {
  font-size: 0.85rem;
  cursor: pointer;
  color: #475569;
}

/* ── APP BALANCE WIDGET ── */
.app-balance-widget {
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
  border-radius: 16px;
  padding: 14px 16px;
  color: #ffffff;
  margin-bottom: 12px;
  box-shadow: 0 8px 24px rgba(79, 70, 229, 0.15);
  position: relative;
  overflow: hidden;
  text-align: left;
}
.app-balance-widget::after {
  content: '';
  position: absolute;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, transparent 70%);
  right: -30px;
  bottom: -30px;
  pointer-events: none;
}
.app-balance-widget .widget-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.58rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #a5b4fc;
}
.app-balance-widget .shield-icon {
  background: rgba(16, 185, 129, 0.2);
  color: #10b981;
  padding: 2px 6px;
  border-radius: 10px;
}
.widget-balance {
  font-size: 1.45rem;
  font-weight: 900;
  margin: 6px 0;
  letter-spacing: -0.01em;
  color: #ffffff;
}
.app-balance-widget .widget-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.58rem;
  font-weight: 700;
  color: #cbd5e1;
}
.app-balance-widget .growth-text {
  color: #34d399;
}
.app-balance-widget .cta-link {
  color: #818cf8;
}

/* ── TRANSACTION WIDGET ── */
.app-transactions-widget {
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.03);
  border-radius: 18px;
  padding: 14px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.01);
  flex: 1;
  display: flex;
  flex-direction: column;
}
.widget-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 10px;
}
.widget-title-row .see-all {
  color: #4f46e5;
  font-size: 0.62rem;
  font-weight: 700;
}
.tx-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1.5px solid #f1f5f9;
  text-align: left;
}
.tx-item:last-child {
  border-bottom: none;
}
.tx-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}
.icon-starbucks { background: #e6f4ea; }
.icon-upi { background: #e0f2fe; }
.icon-netflix { background: #fee2e2; }
.tx-details {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.tx-name {
  font-size: 0.72rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
}
.tx-time {
  font-size: 0.55rem;
  color: #64748b;
  font-weight: 600;
}
.tx-amount {
  font-size: 0.72rem;
  font-weight: 800;
}
.tx-amount.negative { color: #0f172a; }
.tx-amount.positive { color: #10b981; }

.app-home-indicator-bar {
  width: 100px;
  height: 4px;
  background: #cbd5e1;
  border-radius: 10px;
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
}

/* ── PREMIUM MOCK CARDS ── */
.floating-glass-card {
  position: absolute;
  width: 180px;
  height: 260px;
  border-radius: 20px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  z-index: 4;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  text-align: left;
}

.card-inner-glow {
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 100%);
  pointer-events: none;
  z-index: 2;
}

.card-left {
  left: -75px;
  top: 100px;
  background: linear-gradient(135deg, #09090b 0%, #1e1b4b 100%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 
    0 25px 50px rgba(0,0,0,0.25),
    0 0 30px rgba(79, 70, 229, 0.12);
  transform: rotate(-12deg);
}

.card-right {
  right: -75px;
  top: 140px;
  background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
  border: 1px solid rgba(16, 185, 129, 0.3);
  box-shadow: 
    0 25px 50px rgba(0,0,0,0.06),
    0 0 30px rgba(16, 185, 129, 0.08);
  transform: rotate(15deg);
}

/* Card details styling */
.card-header-logo {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}
.card-header-logo .logo-text {
  font-size: 0.95rem;
  font-weight: 900;
  letter-spacing: -0.04em;
}
.card-left .logo-text { color: #ffffff; }
.card-right .logo-text { color: #111827; }

.card-badge-premium {
  font-size: 0.5rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 2px 6px;
  border-radius: 4px;
}
.card-left .card-badge-premium {
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.7);
}
.card-right .card-badge-premium {
  border: 1px solid rgba(16,185,129,0.3);
  color: #10b981;
}

/* realistic chips */
.card-chip-gold, .card-chip-silver {
  width: 36px;
  height: 26px;
  border-radius: 6px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  padding: 4px;
  box-shadow: inset 0 0 4px rgba(0,0,0,0.2);
  margin: 12px 0;
}
.card-chip-gold {
  background: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
  border: 1px solid #d97706;
}
.card-chip-silver {
  background: linear-gradient(135deg, #cbd5e1 0%, #94a3b8 100%);
  border: 1px solid #94a3b8;
}
.chip-line {
  height: 1px;
  background: rgba(0,0,0,0.15);
  width: 100%;
}

.card-number-wrapper {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.card-number-wrapper .card-dots {
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  line-height: 1;
}
.card-left .card-dots { color: rgba(255,255,255,0.45); }
.card-right .card-dots { color: #64748b; }

.card-number-wrapper .card-digits {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.card-left .card-digits { color: #ffffff; }
.card-right .card-digits { color: #1e293b; }

.card-footer-details {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  width: 100%;
}
.cardholder-name {
  display: flex;
  flex-direction: column;
}
.cardholder-name .label {
  font-size: 0.42rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.card-left .cardholder-name .label { color: #818cf8; }
.card-right .cardholder-name .label { color: #94a3b8; }

.cardholder-name .name {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.card-left .cardholder-name .name { color: #ffffff; }
.card-right .cardholder-name .name { color: #0f172a; }

.brand-logo-wrap {
  display: flex;
  align-items: center;
}
.logo-circle-1, .logo-circle-2 {
  width: 20px;
  height: 20px;
  border-radius: 50%;
}
.logo-circle-1 {
  background: #ef4444;
  margin-right: -8px;
}
.logo-circle-2 {
  background: #f59e0b;
  opacity: 0.95;
}
.visa-text {
  font-size: 0.85rem;
  font-weight: 900;
  font-style: italic;
  color: #1e3a8a;
  letter-spacing: -0.04em;
  line-height: 1;
}


/* ── LOGO MARQUEE (TRUST) ── */
.cred-marquee-section {
  padding: 40px 0;
  background: #ffffff;
  border-top: 1px solid #f3f4f6;
  border-bottom: 1px solid #f3f4f6;
  overflow: hidden;
  position: relative;
  z-index: 3;
}

.marquee-title {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #9ca3af;
  letter-spacing: 0.15em;
  margin-bottom: 24px;
}

.marquee-outer {
  overflow: hidden;
  width: 100%;
}

.marquee-inner {
  display: flex;
  width: max-content;
  animation: marquee-scroll 28s linear infinite;
  will-change: transform;
  backface-visibility: hidden;
}

.marquee-group {
  display: flex;
  align-items: center;
  gap: 80px;
  flex-shrink: 0;
  padding-right: 80px;
}

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.logo-item {
  font-size: 1.35rem;
  font-weight: 800;
  color: #9ca3af;
  letter-spacing: -0.02em;
  opacity: 0.6;
  transition: opacity 0.3s, color 0.3s;
}

.logo-item:hover {
  opacity: 0.95;
  color: #4f46e5;
}

/* ── STACKING CARDS SECTION (SCROLL TRIGGER) ── */
.stack-section-container {
  position: relative;
  background: #f9fafb;
  z-index: 3;
}

.stack-title-panel {
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 120px 24px 40px 24px;
  background: #ffffff;
}

.stack-title-panel h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 900;
  color: #111827;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  max-width: 800px;
}

.stack-title-panel p {
  font-size: 1.15rem;
  color: #6b7280;
  max-width: 550px;
  line-height: 1.6;
}

.stack-cards-wrapper {
  position: relative;
  width: 100%;
}

.stack-card {
  position: relative;
  min-height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 24px;
  box-sizing: border-box;
  transform-origin: center top;
}

/* Individual Panel Backgrounds & Neon Border Accents */
/* .stack-card:nth-child(1) { background: #ffffff; }
.stack-card:nth-child(2) { background: #fafafc; }
.stack-card:nth-child(3) { background: #f3f4f6; }
.stack-card:nth-child(4) { background: #ffffff; } */

.stack-card-inner {
  width: 100%;
  max-width: 1100px;
  background: #ffffff;
  border-radius: 32px;
  padding: 50px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.04);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

/* Neon Accent Borders based on features */
.stack-card.card-upi .stack-card-inner { border-top: 6px solid #10b981; }
.stack-card.card-cc .stack-card-inner { border-top: 6px solid #4f46e5; }
.stack-card.card-bills .stack-card-inner { border-top: 6px solid #f59e0b; }
.stack-card.card-savings .stack-card-inner { border-top: 6px solid #00b4d8; }

.stack-card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.stack-card-content .feature-tag {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #4f46e5;
  letter-spacing: 0.15em;
  margin-bottom: 16px;
}

.stack-card-content h3 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  color: #111827;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.stack-card-content p {
  font-size: 1.05rem;
  color: #4b5563;
  line-height: 1.65;
  margin-bottom: 32px;
}

.stack-card-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  height: 400px;
}

/* Card Mockup Graphic Assets */
.neo-card-graphic {
  width: 280px;
  height: 380px;
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: 24px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.03);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s;
}

.neo-card-graphic:hover {
  transform: translateY(-5px) rotate(1deg);
}

.neo-card-graphic::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, #4f46e5, #10b981);
}

.circle-bg-decor {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(79, 70, 229, 0.02);
  right: -50px;
  bottom: -50px;
  z-index: 1;
}

/* ── STACKING CARD PROGRESS NAVIGATION MENUS (DOTS) ── */
.stack-dots-nav {
  position: fixed;
  right: 32px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease-in-out;
}

.stack-dots-nav.visible {
  opacity: 1;
  pointer-events: auto;
}

.dot-nav-item {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #d1d5db;
  border: 2px solid transparent;
  cursor: pointer;
  position: relative;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.dot-nav-item:hover, .dot-nav-item.active {
  background: #111827;
  transform: scale(1.3);
}

.dot-nav-item.active {
  box-shadow: 0 0 12px rgba(17, 24, 39, 0.4);
}

.dot-nav-label {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%) translateX(8px);
  background: #111827;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 6px;
  opacity: 0;
  pointer-events: none;
  transition: all 0.2s;
  white-space: nowrap;
}

.dot-nav-item:hover .dot-nav-label {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

/* ── SMART STATEMENT & SCANNING SECTION ── */
.scan-section {
  padding: 140px 24px;
  background: #ffffff;
  position: relative;
  z-index: 3;
  overflow: hidden;
}

.scan-section .video-bg-container video {
  opacity: 0.45; /* Increased loop visibility */
  filter: grayscale(40%) hue-rotate(90deg) contrast(105%);
}

.scan-section .video-overlay-mask {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0.75) 100%);
}

.scan-container {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 3;
}

.scan-text h2 {
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  font-weight: 900;
  color: #111827;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  line-height: 1.15;
}

.scan-text p {
  font-size: 1.1rem;
  color: #4b5563;
  line-height: 1.7;
  margin-bottom: 32px;
}

.statement-box {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.03);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s;
}

.statement-box:hover {
  transform: scale(1.01);
}

/* Scan line animation overlay */
.scan-line {
  position: absolute;
  left: 0;
  width: 100%;
  height: 8px;
  background: linear-gradient(to bottom, transparent, rgba(16, 185, 129, 0.4), transparent);
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.6);
  z-index: 10;
  top: 0;
}

.statement-title {
  font-size: 0.9rem;
  font-weight: 800;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.status-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
}

.statement-item {
  display: flex;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  font-size: 0.95rem;
  font-weight: 700;
  color: #374151;
}

.statement-item:last-child {
  border-bottom: none;
}

.statement-item .charge-amount.zeroed {
  color: #10b981;
  text-decoration: line-through;
  opacity: 0.6;
  transition: all 0.5s ease;
}

.statement-item .charge-amount.highlight-zero {
  color: #10b981;
  font-weight: 800;
}

/* ── DOWNLOAD CTA SECTION ── */
.download-cred-section {
  padding: 140px 24px;
  background: #fafafc;
  position: relative;
  z-index: 3;
  overflow: hidden;
}

.download-cred-section .video-bg-container video {
  opacity: 0.5; /* Increased loop visibility */
  filter: grayscale(30%) hue-rotate(220deg) contrast(105%);
}

.download-cred-section .video-overlay-mask {
  background: linear-gradient(180deg, rgba(250, 250, 252, 0.45) 0%, rgba(250, 250, 252, 0.75) 100%);
}

.download-inner {
  max-width: 1100px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: 32px;
  padding: 60px 80px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.03);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 3;
}

.download-text h2 {
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  font-weight: 950;
  color: #111827;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  line-height: 1.1;
}

.download-text p {
  font-size: 1.1rem;
  color: #4b5563;
  line-height: 1.6;
  margin-bottom: 40px;
}

.qr-code-wrap {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 32px;
}

.qr-box {
  width: 110px;
  height: 110px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.qr-text {
  font-size: 0.85rem;
  font-weight: 700;
  color: #6b7280;
  line-height: 1.5;
}

.qr-text strong {
  color: #111827;
  display: block;
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.app-store-btns {
  display: flex;
  gap: 12px;
}

.store-btn {
  height: 48px;
  background: #111827;
  color: white;
  border-radius: 8px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.store-btn:hover {
  background: #1f2937;
  transform: translateY(-2px);
}

.store-btn i {
  font-size: 1.3rem;
}

.download-visual {
  display: flex;
  justify-content: center;
  position: relative;
}

.download-iphone {
  width: 240px;
  height: 460px;
  background: #ffffff;
  border: 9px solid #111827;
  border-radius: 36px;
  box-shadow: 0 20px 45px rgba(0,0,0,0.08);
  overflow: hidden;
  position: relative;
}

.download-iphone-screen {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #fafafc 0%, #ffffff 100%);
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
}

/* ── SPLIT TEXT CHAR ANIMATIONS ── */
.char {
  display: inline-block;
  transform: translateY(100%);
  opacity: 0;
}

/* ── RESPONSIVE DESIGN ADJUSTMENTS ── */
@media (max-width: 992px) {
  .stack-card-inner,
  .scan-container,
  .download-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .stack-card-inner {
    padding: 32px;
  }

  .qr-code-wrap {
    justify-content: center;
  }

  .app-store-btns {
    justify-content: center;
  }

  .download-inner {
    padding: 40px 24px;
  }

  .card-left, .card-right {
    display: none;
  }

  .stack-dots-nav {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .cred-hero {
    padding-top: 120px;
  }
  
  .cred-hero-title {
    font-size: 3.2rem;
  }
}

/* ── 3D SPINNING CARDS CAROUSEL ── */
.ring-section {
  padding: 140px 24px;
  background: #ffffff;
  overflow: hidden;
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 3;
}

.ring-title-wrap {
  text-align: center;
  max-width: 800px;
  margin-bottom: 80px;
  z-index: 4;
}

.ring-title-wrap h2 {
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  font-weight: 900;
  color: #111827;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  line-height: 1.15;
}

.ring-title-wrap p {
  font-size: 1.15rem;
  color: #6b7280;
  line-height: 1.6;
}

/* 3D Container */
.ring-3d-viewport {
  width: 100%;
  max-width: 800px;
  height: 400px;
  perspective: 1500px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 4;
}

.cards-ring-wrapper {
  width: 200px;
  height: 280px;
  position: relative;
  transform-style: preserve-3d;
  will-change: transform;
}

.ring-card-item {
  position: absolute;
  width: 200px;
  height: 280px;
  left: 0;
  top: 0;
  border-radius: 20px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.45);
  backface-visibility: visible;
  will-change: transform;
  transition: border-color 0.3s, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.ring-card-item:hover {
  border-color: rgba(255, 255, 255, 0.7);
}

/* 3D card item layout designs & neon glows */
.ring-card-item.card-c1 { 
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.6) 100%); 
  border-top: 5px solid #4f46e5; 
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06), 0 0 20px rgba(79, 70, 229, 0.12);
}
.ring-card-item.card-c2 { 
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.6) 100%); 
  border-top: 5px solid #10b981; 
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06), 0 0 20px rgba(16, 185, 129, 0.12);
}
.ring-card-item.card-c3 { 
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.6) 100%); 
  border-top: 5px solid #f59e0b; 
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06), 0 0 20px rgba(245, 158, 11, 0.12);
}
.ring-card-item.card-c4 { 
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.6) 100%); 
  border-top: 5px solid #00b4d8; 
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06), 0 0 20px rgba(0, 180, 216, 0.12);
}
.ring-card-item.card-c5 { 
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.6) 100%); 
  border-top: 5px solid #8b5cf6; 
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06), 0 0 20px rgba(139, 92, 246, 0.12);
}

/* Specular Reflection Gloss Sweep */
.card-gloss-shine {
  position: absolute;
  top: 0; left: -150%;
  width: 300%;
  height: 100%;
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0) 35%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0) 65%, rgba(255,255,255,0) 100%);
  transform: skewX(-25deg);
  transition: transform 0.75s ease;
  pointer-events: none;
  z-index: 5;
}

.ring-card-item:hover .card-gloss-shine {
  transform: translateX(85%) skewX(-25deg);
}

/* Gold/Silver Microchips styles */
.card-chip-gold {
  width: 36px;
  height: 26px;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  border-radius: 6px;
  position: relative;
  box-shadow: inset 0 1px 3px rgba(255,255,255,0.3), 0 2px 4px rgba(0,0,0,0.1);
  border: 1px solid rgba(0,0,0,0.1);
}
.card-chip-gold::before {
  content: '';
  position: absolute;
  inset: 4px;
  border: 1.5px solid rgba(255,255,255,0.25);
  border-radius: 3px;
  background-image: 
    linear-gradient(rgba(0,0,0,0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.1) 1px, transparent 1px);
  background-size: 8px 8px;
}

.card-chip-silver {
  width: 36px;
  height: 26px;
  background: linear-gradient(135deg, #e5e7eb, #9ca3af);
  border-radius: 6px;
  position: relative;
  box-shadow: inset 0 1px 3px rgba(255,255,255,0.3), 0 2px 4px rgba(0,0,0,0.1);
  border: 1px solid rgba(0,0,0,0.1);
}
.card-chip-silver::before {
  content: '';
  position: absolute;
  inset: 4px;
  border: 1.5px solid rgba(255,255,255,0.25);
  border-radius: 3px;
  background-image: 
    linear-gradient(rgba(0,0,0,0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.1) 1px, transparent 1px);
  background-size: 8px 8px;
}

/* Floating colorful orbs inside rewards section */
.ring-section .glow-orb.orb-r1 {
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.15) 0%, transparent 70%);
  left: 15%;
  top: 30%;
  animation: float-slow-1 8s infinite alternate ease-in-out;
  z-index: 1;
}
.ring-section .glow-orb.orb-r2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, transparent 70%);
  right: 15%;
  top: 40%;
  animation: float-slow-2 8s infinite alternate ease-in-out;
  z-index: 1;
}

@keyframes float-slow-1 {
  0% { transform: translate(0, 0); }
  100% { transform: translate(40px, -40px); }
}
@keyframes float-slow-2 {
  0% { transform: translate(0, 0); }
  100% { transform: translate(-40px, 40px); }
}


/* ── 3D REVOLVING TEXT CYLINDER ── */
.cylinder-section {
  padding: 140px 24px;
  background: #fafafc;
  overflow: hidden;
  position: relative;
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 3;
}

.cylinder-viewport {
  width: 100%;
  max-width: 1000px;
  height: 280px;
  perspective: 1200px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.cylinder-wrapper {
  width: 100%;
  height: 60px;
  position: relative;
  transform-style: preserve-3d;
  will-change: transform;
}

.cylinder-line {
  position: absolute;
  width: 100%;
  height: 60px;
  left: 0;
  top: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  backface-visibility: hidden;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(1.6rem, 4.5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #111827;
  text-align: center;
  will-change: transform;
}

.cylinder-line span.gradient-text {
  background: linear-gradient(90deg, #4f46e5, #10b981);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

