/* ============================================================
   SiSTech Summer Training 2026 — Unified Stylesheet
   ============================================================ */

/* ─── DESIGN TOKENS ──────────────────────────────────────── */
:root {
  --primary: #e5720d;
  --primary-dark: #c55a0a;
  --secondary: #017337;
  --dark: #0a192f;
  --gradient: linear-gradient(135deg, #e5720d 0%, #f59e0b 50%, #017337 100%);
  --shadow-glow: 0 20px 40px -12px rgba(229, 114, 13, .28);
  --radius-xl: 28px;
  --radius-lg: 20px;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden !important;
  position: relative;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Space Grotesk', sans-serif;
  background: #fff;
  color: #1e293b;
  overflow-x: hidden;
}

a {
  text-decoration: none;
}

::-webkit-scrollbar {
  width: 4px;
}

::-webkit-scrollbar-track {
  background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
  background: var(--primary);
}

/* ─── ANIMATIONS ─────────────────────────────────────────── */
@keyframes pulse-badge {

  0%,
  100% {
    opacity: 1
  }

  50% {
    opacity: .7
  }
}

@keyframes floatBob {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(-8px)
  }
}

@keyframes modalFloatIn {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.96);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.animate-on-scroll {
  opacity: 0;
}

.animate-on-scroll.animated {
  opacity: 1;
}

.d100 {
  animation-delay: .1s;
}

.d200 {
  animation-delay: .2s;
}

.d300 {
  animation-delay: .3s;
}

.d400 {
  animation-delay: .4s;
}

.d500 {
  animation-delay: .5s;
}

/* ─── TOPBAR ─────────────────────────────────────────────── */
.topbar {
  background: var(--dark);
  font-size: .78rem;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.topbar a {
  color: rgba(255, 255, 255, .65);
  transition: color .18s;
}

.topbar a:hover {
  color: var(--primary);
}

.live-badge {
  background: var(--primary);
  color: #fff;
  font-size: .66rem;
  font-weight: 700;
  padding: 2px 10px;
  letter-spacing: .6px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 30px;
  animation: pulse-badge 2s ease infinite;
}

/* ─── NAVBAR ─────────────────────────────────────────────── */
.main-nav {
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 2px 12px rgba(0, 0, 0, .04);
  border-bottom: 1px solid rgba(229, 114, 13, .12);
  transition: all .2s;
}

.nav-link-c {
  color: #1e293b !important;
  font-size: .85rem;
  font-weight: 500;
  padding: .6rem 1rem !important;
  border-radius: 40px;
  transition: all .2s;
}

.nav-link-c:hover,
.nav-link-c.active {
  color: var(--primary) !important;
  background: rgba(229, 114, 13, .08);
}

.nav-cta {
  background: var(--gradient);
  color: #fff !important;
  font-weight: 700 !important;
  padding: .55rem 1.4rem !important;
  border-radius: 40px;
  box-shadow: 0 2px 6px rgba(229, 114, 13, .2);
}

.nav-cta:hover {
  opacity: .9;
  transform: translateY(-1px);
}

/* ─── PAYMENT NAV ────────────────────────────────────────── */
.pay-nav {
  background: #fff;
  border-bottom: 1px solid #f0f4f8;
  padding: 14px 0;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .04);
}

/* ─── HERO ───────────────────────────────────────────────── */
.hero-section {
  padding: 70px 0 60px;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url('https://www.transparenttextures.com/patterns/circuit-board.png');
  opacity: .02;
  pointer-events: none;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(229, 114, 13, .1);
  border: 1px solid rgba(229, 114, 13, .25);
  color: var(--primary);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 7px 18px;
  border-radius: 40px;
  margin-bottom: 22px;
}

.hero-kicker .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
  animation: pulse-badge 1.4s ease infinite;
}

.hero-title {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 800;
  color: #0a192f;
  line-height: 1.1;
  letter-spacing: -.5px;
}

.hero-sub {
  color: #475569;
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: 580px;
}

.hero-pill {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #1e293b;
  font-size: .8rem;
  font-weight: 500;
  padding: 7px 16px;
  border-radius: 40px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-pill i {
  color: var(--primary);
  font-size: .78rem;
}

.btn-hero-primary {
  background: var(--gradient);
  border: none;
  color: #fff;
  font-weight: 700;
  font-size: .92rem;
  padding: 14px 32px;
  border-radius: 50px;
  transition: all .3s cubic-bezier(.2, .9, .4, 1.1);
  box-shadow: 0 10px 24px rgba(229, 114, 13, .25);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-hero-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 18px 32px rgba(229, 114, 13, .35);
  color: #fff;
}

.btn-hero-ghost {
  background: transparent;
  border: 2px solid #e2e8f0;
  color: #1e293b;
  font-weight: 600;
  font-size: .88rem;
  padding: 12px 28px;
  border-radius: 50px;
  transition: all .2s;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.btn-hero-ghost:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.hero-img-wrap {
  position: relative;
  perspective: 1200px;
}

.hero-img {
  border-radius: var(--radius-xl);
  box-shadow: 0 32px 50px -16px rgba(0, 0, 0, .12);
  transition: transform .6s ease;
  transform-style: preserve-3d;
  width: 100%;
  object-fit: contain;
}

.hero-img-wrap:hover .hero-img {
  transform: rotateY(-8deg) rotateX(4deg) translateZ(20px);
}

.hero-float-card {
  position: absolute;
  background: rgba(255, 255, 255, .98);
  backdrop-filter: blur(8px);
  border-radius: 14px;
  padding: 10px 16px;
  font-size: .78rem;
  font-weight: 700;
  color: var(--dark);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .1);
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  animation: floatBob 3.5s ease-in-out infinite;
}

.hero-float-card.card-1 {
  bottom: 24px;
  left: -16px;
}

.hero-float-card.card-2 {
  top: 24px;
  right: -14px;
  animation-delay: 1.2s;
}

.hfc-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .8rem;
}

/* ─── STATS STRIP ────────────────────────────────────────── */
.stats-strip {
  background: var(--dark);
  border-top: 1px solid rgba(229, 114, 13, .2);
  border-bottom: 1px solid rgba(229, 114, 13, .2);
}

.stat-item {
  padding: 28px 20px;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, .06);
}

.stat-item:last-child {
  border-right: none;
}

.stat-num {
  font-size: 2.4rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}

.stat-label {
  font-size: .78rem;
  color: rgba(255, 255, 255, .55);
  font-weight: 500;
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: .5px;
}

/* ─── SECTION COMMON ─────────────────────────────────────── */
.sec-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(229, 114, 13, .1);
  color: var(--primary);
  font-size: .73rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 40px;
  margin-bottom: 12px;
}

.sec-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  background: linear-gradient(120deg, #0a192f, #1e3a5f);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.2;
}

.sec-sub {
  color: #64748b;
  font-size: .95rem;
  max-width: 540px;
}

/* ─── WHY CARDS ──────────────────────────────────────────── */
.why-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  border: 1px solid #f0f4f8;
  transition: all .3s;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .04);
  height: 100%;
}

.why-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary);
  box-shadow: var(--shadow-glow);
}

.why-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 16px;
}

.wi-orange {
  background: rgba(229, 114, 13, .12);
  color: var(--primary);
}

.wi-green {
  background: rgba(1, 115, 55, .12);
  color: var(--secondary);
}

.wi-blue {
  background: rgba(37, 99, 235, .12);
  color: #2563eb;
}

.wi-purple {
  background: rgba(124, 58, 237, .12);
  color: #7c3aed;
}

/* ─── TIMELINE DARK ──────────────────────────────────────── */
.timeline-section {
  background: var(--dark);
}

.step-card {
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  transition: all .3s;
}

.step-card:hover {
  background: rgba(229, 114, 13, .08);
  border-color: rgba(229, 114, 13, .3);
  transform: translateY(-6px);
}

.step-number {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 16px;
  box-shadow: 0 6px 14px rgba(229, 114, 13, .3);
}

/* ─── TECH CARDS ─────────────────────────────────────────── */
.tech-card {
  border-radius: 20px;
  padding: 24px 18px;
  text-align: center;
  border: 1px solid #f0f4f8;
  transition: all .35s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .03);
}

.tech-card:hover {
  transform: translateY(-12px) scale(1.02);
  border-color: var(--primary);
  box-shadow: 0 24px 36px -12px rgba(229, 114, 13, .2);
}

.tech-icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(229, 114, 13, .1), rgba(245, 158, 11, .12));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto 14px;
  transition: all .3s;
}

.tech-card:hover .tech-icon-wrap {
  background: var(--gradient);
}

.tech-icon-wrap i {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transition: all .3s;
}

.tech-card:hover .tech-icon-wrap i {
  color: #fff;
  -webkit-text-fill-color: #fff;
}

.tech-label {
  font-weight: 700;
  font-size: .9rem;
  color: var(--dark);
}

.tech-sub {
  font-size: .75rem;
  color: #94a3b8;
  margin-top: 3px;
}

/* ─── PROGRAM CARDS ──────────────────────────────────────── */
.program-card-v2 {
  background: #fff;
  border-radius: var(--radius-xl);
  border: 2px solid #eef2f7;
  position: relative;
  overflow: hidden;
  transition: all .3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.program-card-v2:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -12px rgba(229, 114, 13, .2);
  border-color: var(--primary);
}

.program-card-v2.featured {
  border-color: var(--primary);
  box-shadow: 0 12px 28px rgba(229, 114, 13, .12);
}

.prog-header {
  padding: 24px 24px 16px;
  position: relative;
}

.prog-header-summer {
  background: linear-gradient(135deg, #fff7ed, #fef3c7);
}

.prog-header-intern {
  background: linear-gradient(135deg, #f0fdf4, #dcfce7);
}

.prog-header-management {
  background: linear-gradient(135deg, #f0fdf4, #dceffc);
}

.prog-ribbon-v2 {
  position: absolute;
  top: 40px;
  right: -33px;
  background: var(--gradient);
  color: #fff;
  font-size: .65rem;
  font-weight: 800;
  padding: 4px 40px;
  transform: rotate(45deg);
  letter-spacing: 1px;
  text-transform: uppercase;
  box-shadow: 0 2px 6px rgba(229, 114, 13, .3);
  z-index: 2;
}

.prog-icon-v2 {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.pi-summer {
  background: rgba(229, 114, 13, .12);
}

.pi-intern {
  background: rgba(1, 115, 55, .12);
}

.pi-management {
  background: rgba(1, 73, 115, 0.12);
}

.prog-duration-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .7rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 30px;
  margin-bottom: 10px;
  width: fit-content;
}

.pdb-summer {
  background: rgba(229, 114, 13, .1);
  color: var(--primary);
}

.pdb-intern {
  background: rgba(1, 115, 55, .1);
  color: var(--secondary);
}

.prog-title-v2 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 6px;
  line-height: 1.3;
}

.prog-price-block {
  padding: 0 24px 12px;
}

.price-amount {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.prog-body {
  padding: 0 24px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.prog-desc-v2 {
  font-size: .82rem;
  color: #475569;
  line-height: 1.55;
  margin-bottom: 16px;
}

.prog-features-v2 {
  flex: 1;
  margin-bottom: 8px;
}

.pf-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  border-bottom: 1px dashed #f1f5f9;
  font-size: .8rem;
  color: #334155;
}

.pf-item:last-child {
  border-bottom: none;
}

.pf-item i {
  color: var(--secondary);
  font-size: .7rem;
  flex-shrink: 0;
  width: 18px;
}

.prog-cta-v2 {
  margin-top: 18px;
}

.btn-prog-summer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 11px 16px;
  border-radius: 40px;
  font-weight: 700;
  font-size: .85rem;
  background: var(--gradient);
  color: #fff;
  border: none;
  cursor: pointer;
  transition: all .25s ease;
  box-shadow: 0 4px 12px rgba(229, 114, 13, .25);
}

.btn-prog-summer:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(229, 114, 13, .35);
}

.btn-prog-intern {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 11px 16px;
  border-radius: 40px;
  font-weight: 700;
  font-size: .85rem;
  background: linear-gradient(135deg, #017337, #16a34a);
  color: #fff;
  border: none;
  cursor: pointer;
  transition: all .25s ease;
  box-shadow: 0 4px 12px rgba(1, 115, 55, .25);
}

.btn-prog-intern:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(1, 115, 55, .35);
}

/* ─── HOW TO JOIN ────────────────────────────────────────── */
.hero-tag {
  background: #fff7ed;
  color: #e5720d;
  font-size: .75rem;
  font-weight: 700;
  padding: 6px 18px;
  border-radius: 40px;
  text-transform: uppercase;
}

.timeline-container {
  position: relative;
  display: flex;
  justify-content: space-between;
  margin-top: 50px;
}

.timeline-container::before {
  content: '';
  position: absolute;
  top: 35px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: #f1f5f9;
  z-index: 1;
}

.step-item {
  position: relative;
  z-index: 2;
  width: 25%;
  padding: 0 15px;
  transition: .3s;
}

.step-num {
  width: 70px;
  height: 70px;
  background: #fff;
  border: 2px solid #f1f5f9;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.5rem;
  font-weight: 800;
  color: #0f172a;
  transition: .4s;
}

.step-item:hover .step-num {
  background: #e5720d;
  border-color: #e5720d;
  color: #fff;
  transform: scale(1.1);
  box-shadow: 0 10px 20px rgba(229, 114, 13, .2);
}

.step-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 10px;
}

.step-desc {
  font-size: .88rem;
  color: #64748b;
  line-height: 1.6;
}

/* ─── TESTIMONIALS ───────────────────────────────────────── */
.testi-bubble {
  background: #f8fafc;
  padding: 30px;
  border-radius: 30px 30px 30px 5px;
  border: 1px solid #f1f5f9;
  position: relative;
  transition: all .4s ease;
}

.testi-bubble::after {
  content: "\f10e";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  bottom: 20px;
  right: 25px;
  font-size: 2rem;
  color: rgba(229, 114, 13, .05);
}

.testi-item:hover .testi-bubble {
  background: #fff;
  border-color: var(--primary);
  transform: translateY(-10px);
  box-shadow: 0 20px 40px -15px rgba(229, 114, 13, .15);
}

.testi-user-box {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 20px;
  padding-left: 10px;
}

.testi-img-circle {
  width: 45px;
  height: 45px;
  border-radius: 12px;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  box-shadow: 0 5px 15px rgba(229, 114, 13, .2);
}

.testi-stars-mini {
  color: #fbbf24;
  font-size: .7rem;
  letter-spacing: 2px;
}

.testi-quote-text {
  font-size: .9rem;
  font-style: italic;
  color: #475569;
  line-height: 1.6;
}

/* ─── APPLY CTA ──────────────────────────────────────────── */
.cta-section {
  background: radial-gradient(ellipse at 30% 50%, #0d2d42, #071624);
}

.apply-card {
  background: linear-gradient(145deg, #fff, #fef9f3);
  border-radius: 28px;
  border: 1px solid rgba(229, 114, 13, .2);
  box-shadow: 0 24px 48px rgba(0, 0, 0, .18);
}

.apply-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #94a3b8;
  font-size: .82rem;
}

.apply-divider::before,
.apply-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #e2e8f0;
}

.urgency-bar {
  background: rgba(229, 114, 13, .08);
  border: 1px dashed rgba(229, 114, 13, .3);
  border-radius: 12px;
  padding: 10px 16px;
}

.progress-seats {
  height: 7px;
  border-radius: 10px;
  background: #f1f5f9;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--gradient);
  border-radius: 10px;
  width: 65%;
}

/* ─── FAQ ────────────────────────────────────────────────── */
.faq-item {
  background: #fff;
  border-radius: 14px;
  border: 1px solid #f0f4f8;
  padding: 18px 22px;
  transition: all .2s;
}

.faq-item:hover {
  border-color: var(--primary);
  box-shadow: 0 6px 18px rgba(229, 114, 13, .1);
}

.faq-q {
  font-weight: 700;
  font-size: .9rem;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 10px;
}

.faq-q i {
  color: var(--primary);
  font-size: .82rem;
}

.faq-a {
  font-size: .84rem;
  color: #64748b;
  margin-top: 6px;
  line-height: 1.6;
  padding-left: 22px;
}

/* ─── FOOTER ─────────────────────────────────────────────── */
.ss-footer {
  padding: 30px 0 0;
  border-top: 1px solid #f1f5f9;
  position: relative;
  overflow: hidden;
}

.ss-footer-accent {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #e5720d, #f59e0b, #017337);
}

.ss-footer-desc {
  color: #64748b;
  font-size: .88rem;
  line-height: 1.8;
}

.ss-social-stack {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.ss-social-link {
  width: 36px;
  height: 36px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #475569;
  transition: .3s;
}

.ss-social-link:hover {
  background: #e5720d;
  color: #fff;
  border-color: #e5720d;
  transform: translateY(-3px);
}

.ss-footer-title {
  font-size: .85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: #0f172a;
  margin-bottom: 25px;
}

.ss-footer-links {
  list-style: none;
  padding: 0;
}

.ss-footer-links li {
  margin-bottom: 12px;
}

.ss-footer-links a {
  color: #64748b;
  font-size: .9rem;
  transition: .2s;
}

.ss-footer-links a:hover {
  color: #e5720d;
  padding-left: 5px;
}

.ss-footer-contact {
  font-size: .88rem;
  color: #475569;
  line-height: 1.6;
}

.ss-footer-hr {
  border-color: #f1f5f9;
  opacity: 1;
}

.ss-payment-icons {
  font-size: 1.5rem;
}

/* ─── STICKY BUTTONS ─────────────────────────────────────── */
.sticky-btns {
  position: fixed;
  right: 18px;
  bottom: 24px;
  z-index: 1060;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sticky-btn {
  width: 52px;
  height: 52px;
  border-radius: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.25rem;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .18);
  transition: all .22s;
}

.sticky-btn:hover {
  transform: translateY(-4px) scale(1.08);
  color: #fff;
}

.sb-wa {
  background: #25D366;
}

.sb-call {
  background: var(--primary);
}

.sb-top {
  background: var(--dark);
}

/* ─── REGISTRATION MODAL ─────────────────────────────────── */
.reg-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9998;
  backdrop-filter: blur(12px) brightness(0.92);
  background: rgba(15, 23, 42, .5);
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.reg-modal-overlay.show {
  display: flex;
}

.reg-modal-box {
  width: 100%;
  max-width: 540px;
  max-height: 90vh;
  background: #fff;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .4), 0 0 0 1px rgba(229, 114, 13, .1);
  animation: modalFloatIn .4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.reg-modal-body {
  padding: 15px 28px 16px;
  overflow-y: auto;
  flex: 1;
}

.reg-modal-body::-webkit-scrollbar {
  width: 5px;
}

.reg-modal-body::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.reg-modal-body::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 10px;
}

.reg-modal-head {
  background: linear-gradient(135deg, #fff7ed, #fef9f3);
  padding: 28px 28px 20px;
  position: relative;
  border-bottom: 3px solid var(--primary);
  flex-shrink: 0;
}

.modal-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.reg-modal-head .close-btn {
  position: absolute;
  top: 18px;
  right: 20px;
  background: rgba(229, 114, 13, .1);
  border: 1px solid rgba(229, 114, 13, .3);
  color: var(--primary-dark);
  width: 32px;
  height: 32px;
  border-radius: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  transition: all .2s;
  z-index: 10;
}

.reg-modal-head .close-btn:hover {
  background: var(--primary);
  color: #fff;
  transform: rotate(90deg);
}

.reg-modal-head h4 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--dark);
  margin: 0 0 6px;
  letter-spacing: -.3px;
}

.reg-modal-head p {
  font-size: .8rem;
  color: #64748b;
  margin: 0;
}

.reg-selected-type {
  background: rgba(229, 114, 13, .12);
  border: 1px solid rgba(229, 114, 13, .3);
  color: var(--primary-dark);
  font-size: .75rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 40px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
}

.reg-label {
  display: block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: #475569;
  margin-bottom: 5px;
}

.reg-field {
  width: 100%;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  padding: 10px 14px;
  font-size: .85rem;
  color: #0f172a;
  font-family: inherit;
  outline: none;
  transition: all .2s;
}

.reg-field:focus {
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(229, 114, 13, .12);
}

.reg-field::placeholder {
  color: #94a3b8;
  font-size: .8rem;
}

select.reg-field {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%2364748b' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 18px;
}

.reg-submit-btn {
  width: 100%;
  padding: 13px 18px;
  background: linear-gradient(135deg, var(--primary), #f49b3a);
  color: #fff;
  border: none;
  border-radius: 60px;
  font-weight: 800;
  font-size: .9rem;
  letter-spacing: .3px;
  cursor: pointer;
  font-family: inherit;
  transition: all .3s;
  box-shadow: 0 8px 20px rgba(229, 114, 13, .35);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 8px;
}

.reg-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(229, 114, 13, .45);
}

.reg-submit-btn i {
  transition: transform .2s;
}

.reg-submit-btn:hover i {
  transform: translateX(4px);
}

.secure-badge {
  text-align: center;
  margin-top: 18px;
  font-size: .7rem;
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
}

.secure-badge i.fa-lock {
  color: #22c55e;
  font-size: .75rem;
}

/* ─── PAYMENT PAGE ───────────────────────────────────────── */
.pay-wrap {
  max-width: 960px;
  margin: 40px auto;
  padding: 0 16px 60px;
}

.step-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 36px;
}

.step-bar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  position: relative;
}

.step-bar-num {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: .9rem;
  border: 2px solid #e2e8f0;
  background: #fff;
  color: #94a3b8;
  transition: all .3s;
}

.step-bar-item.done .step-bar-num {
  background: var(--secondary);
  border-color: var(--secondary);
  color: #fff;
}

.step-bar-item.active .step-bar-num {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 4px 12px rgba(229, 114, 13, .3);
}

.step-bar-label {
  font-size: .72rem;
  font-weight: 600;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.step-bar-item.done .step-bar-label,
.step-bar-item.active .step-bar-label {
  color: var(--dark);
}

.step-connector {
  flex: 1;
  max-width: 80px;
  height: 2px;
  background: #e2e8f0;
  margin: 0 4px;
  margin-bottom: 24px;
}

.summary-card {
  background: #fff;
  border-radius: 24px;
  border: 1px solid #f0f4f8;
  box-shadow: 0 4px 20px rgba(0, 0, 0, .05);
  overflow: hidden;
}

.summary-head {
  padding: 24px 28px;
  border-bottom: 1px solid #f0f4f8;
}

.summary-body {
  padding: 24px 28px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px dashed #f1f5f9;
  font-size: .88rem;
}

.summary-row:last-child {
  border-bottom: none;
}

.summary-row .label {
  color: #64748b;
}

.summary-row .val {
  font-weight: 600;
  color: var(--dark);
}

.total-row {
  background: rgba(229, 114, 13, .06);
  border-radius: 14px;
  padding: 14px 18px;
  margin-top: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.total-label {
  font-weight: 700;
  font-size: .9rem;
  color: var(--dark);
}

.total-amount {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary);
}

.secure-panel {
  background: #fff;
  border-radius: 24px;
  border: 1px solid #f0f4f8;
  box-shadow: 0 4px 20px rgba(0, 0, 0, .05);
  padding: 28px;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #f8fafc;
  font-size: .82rem;
  color: #475569;
}

.trust-badge i {
  width: 22px;
  text-align: center;
}

.trust-badge:last-child {
  border-bottom: none;
}

.trust-icon-green {
  color: #16a34a;
}

.trust-icon-blue {
  color: #2563eb;
}

.trust-icon-orange {
  color: var(--primary);
}

.pay-btn {
  width: 100%;
  padding: 16px;
  background: var(--gradient);
  color: #fff;
  border: none;
  border-radius: 60px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  cursor: pointer;
  transition: all .3s;
  box-shadow: 0 10px 28px rgba(229, 114, 13, .35);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 6px;
}

.pay-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(229, 114, 13, .45);
}

.pay-btn:disabled {
  opacity: .7;
  cursor: not-allowed;
  transform: none;
}

.rz-badge {
  text-align: center;
  margin-top: 10px;
  font-size: .72rem;
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.result-screen {
  display: none;
  text-align: center;
  padding: 40px 20px;
}

.result-screen.show {
  display: block;
}

.loading-spinner-overlay {
  text-align: center;
  padding: 60px 20px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, .05);
}

/* ─── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 991.98px) {
  .hero-section {
    padding: 50px 0 40px;
  }

  .hero-float-card {
    display: none;
  }
}

@media (max-width: 767.98px) {
  .stat-item:not(:last-child) {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .timeline-container {
    flex-direction: column;
    gap: 40px;
  }

  .timeline-container::before {
    left: 35px;
    top: 0;
    height: 100%;
    width: 2px;
  }

  .step-item {
    width: 100%;
    text-align: left;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 0;
  }

  .step-num {
    margin: 0;
    flex-shrink: 0;
    width: 60px;
    height: 60px;
  }

  .prog-header {
    padding: 20px 18px 12px;
  }

  .prog-price-block {
    padding: 0 18px 10px;
  }

  .prog-body {
    padding: 0 18px 20px;
  }

  .prog-title-v2 {
    font-size: 1.2rem;
  }

  .price-amount {
    font-size: 1.7rem;
  }

  .pf-item {
    font-size: .75rem;
    padding: 5px 0;
  }
}

@media (max-width: 600px) {
  .reg-modal-overlay {
    padding: 12px;
  }

  .reg-modal-box {
    max-width: 100%;
    max-height: 95vh;
    border-radius: 24px;
  }

  .reg-modal-head {
    padding: 20px 20px 16px;
  }

  .reg-modal-head h4 {
    font-size: 1.2rem;
  }

  .reg-modal-head p {
    font-size: .7rem;
  }

  .reg-modal-body {
    padding: 20px 20px 24px;
  }

  .reg-field {
    padding: 9px 12px;
    font-size: .8rem;
  }

  .reg-label {
    font-size: .65rem;
  }

  .reg-submit-btn {
    padding: 12px 16px;
    font-size: .85rem;
  }

  .reg-selected-type {
    font-size: .7rem;
    padding: 4px 12px;
  }

  .modal-logo img {
    max-height: 32px;
  }

  .step-connector {
    max-width: 30px;
  }

  .total-amount {
    font-size: 1.3rem;
  }

  .summary-head,
  .summary-body,
  .secure-panel {
    padding: 18px;
  }
}

@media (max-width: 480px) {
  .reg-modal-head {
    padding: 16px 16px 12px;
  }

  .reg-modal-body {
    padding: 16px 16px 20px;
  }

  .reg-modal-head h4 {
    font-size: 1.1rem;
  }

  .reg-field {
    padding: 8px 12px;
    font-size: .75rem;
  }

  .reg-submit-btn {
    padding: 10px 14px;
    font-size: .8rem;
  }

  .secure-badge {
    font-size: .6rem;
    gap: 4px;
  }

  .reg-selected-type {
    font-size: .65rem;
    margin-top: 12px;
  }
}


/* Removes the arrows from the number input for a cleaner look */
#amountInput::-webkit-outer-spin-button,
#amountInput::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}