/* ======================================================
   UPAY — DARK PAGES DESIGN SYSTEM
   Used by: all inner marketing pages (CRED-style dark)
   ====================================================== */

/* ── PAGE ROOT ── */
.dp-page {
  background: #060606;
  color: rgba(255,255,255,0.88);
  min-height: 100vh;
  padding-top: 72px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  overflow-x: hidden;
}

.dp-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ── HERO ── */
.dp-hero {
  min-height: 88vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 0 80px;
}

.dp-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 780px;
}

.dp-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 100px;
  padding: 6px 18px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 28px;
}

.dp-hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  flex-shrink: 0;
}

.dp-hero-title {
  font-size: clamp(2.6rem, 5.5vw, 4.8rem);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -0.025em;
  color: #ffffff;
  margin: 0 0 24px 0;
}

.dp-hero-title .accent {
  background: linear-gradient(120deg, #818cf8, #34d399);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.dp-hero-subtitle {
  font-size: 1.1rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.42);
  max-width: 580px;
  margin: 0 0 42px 0;
}

.dp-hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

/* Hero background orbs */
.dp-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 1;
}
.dp-orb-1 { width: 560px; height: 560px; background: rgba(79,70,229,0.1);  top: -120px; right: -80px; }
.dp-orb-2 { width: 360px; height: 360px; background: rgba(16,185,129,0.07); bottom: -60px; left: 35%; }
.dp-orb-3 { width: 280px; height: 280px; background: rgba(245,158,11,0.06); top: 30%;    right: 20%; }

/* Hero right visual panel */
.dp-hero-visual {
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 420px;
}

/* ── SECTIONS ── */
.dp-section        { padding: 100px 0; }
.dp-section-sm     { padding: 70px 0; }
.dp-section-alt    { background: rgba(255,255,255,0.018); }

/* Section header */
.dp-tag {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 5px 14px;
  margin-bottom: 20px;
}

.dp-h2 {
  font-size: clamp(1.9rem, 3.5vw, 2.9rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin: 0 0 14px 0;
  line-height: 1.12;
}

.dp-h2 .accent {
  background: linear-gradient(120deg, #818cf8, #34d399);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.dp-lead {
  font-size: 0.98rem;
  color: rgba(255,255,255,0.38);
  line-height: 1.75;
  max-width: 580px;
  margin: 0 0 56px 0;
}

/* ── GRIDS ── */
.dp-grid-2 { display: grid; grid-template-columns: 1fr 1fr;       gap: 20px; align-items: center; }
.dp-grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.dp-grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }

/* ── CARDS ── */
.dp-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 8px;
  padding: 32px;
  transition: background 0.25s, border-color 0.25s, transform 0.3s cubic-bezier(0.16,1,0.3,1);
}
.dp-card:hover {
  background: rgba(255,255,255,0.055);
  border-color: rgba(255,255,255,0.14);
  transform: translateY(-4px);
}

.dp-card-icon {
  width: 48px; height: 48px;
  border-radius: 10px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.09);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
}

.dp-card h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: rgba(255,255,255,0.88);
  margin: 0 0 10px 0;
  letter-spacing: -0.01em;
}

.dp-card p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.36);
  line-height: 1.72;
  margin: 0;
}

/* Wide two-column content card */
.dp-card-wide {
  grid-column: span 2;
}

/* ── STATS ROW ── */
.dp-stats {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 1px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 8px;
  overflow: hidden;
  margin: 56px 0;
}

.dp-stat {
  background: #060606;
  padding: 40px 28px;
  text-align: center;
}

.dp-stat-num {
  font-size: 2.4rem;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 0 0 8px 0;
}

.dp-stat-num span {
  background: linear-gradient(120deg, #818cf8, #34d399);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.dp-stat-label {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.28);
}

/* ── GRADIENT HIGHLIGHT PANEL ── */
.dp-highlight {
  border-radius: 8px;
  padding: 56px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.07);
}

.dp-highlight::after {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(79,70,229,0.12);
  filter: blur(80px);
  top: -100px; right: -80px;
  pointer-events: none;
}

.dp-highlight h2 {
  font-size: clamp(1.8rem,3vw,2.8rem);
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin: 0 0 16px 0;
  line-height: 1.12;
  position: relative; z-index: 1;
}

.dp-highlight p {
  font-size: 0.98rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.75;
  max-width: 520px;
  margin: 0 0 36px 0;
  position: relative; z-index: 1;
}

/* ── BUTTONS ── */
.dp-btn-white {
  display: inline-flex; align-items: center; gap: 8px;
  background: #ffffff; color: #0a0a0a;
  padding: 13px 26px; border-radius: 6px;
  font-size: 0.88rem; font-weight: 800;
  text-decoration: none; letter-spacing: 0.02em;
  border: none; cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}
.dp-btn-white:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(255,255,255,0.15); color: #0a0a0a; }

.dp-btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: rgba(255,255,255,0.65);
  padding: 13px 26px; border-radius: 6px;
  font-size: 0.88rem; font-weight: 700;
  text-decoration: none; letter-spacing: 0.02em;
  border: 1px solid rgba(255,255,255,0.16); cursor: pointer;
  transition: all 0.2s;
}
.dp-btn-ghost:hover { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.38); color: #ffffff; }

/* ── DIVIDER ── */
.dp-divider { height: 1px; background: rgba(255,255,255,0.07); margin: 0; }

/* ── CHECKLIST ── */
.dp-checklist { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.dp-checklist li { display: flex; align-items: flex-start; gap: 12px; font-size: 0.92rem; color: rgba(255,255,255,0.58); line-height: 1.6; }
.dp-check-icon {
  width: 22px; height: 22px; border-radius: 50%;
  background: rgba(16,185,129,0.12); color: #10b981;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.68rem; font-weight: 900; flex-shrink: 0; margin-top: 1px;
}

/* ── HOW-IT-WORKS STEPS ── */
.dp-steps { display: flex; flex-direction: column; gap: 0; }
.dp-step {
  display: flex; gap: 24px; align-items: flex-start;
  padding: 28px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.dp-step:last-child { border-bottom: none; }
.dp-step-num {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 900; color: rgba(255,255,255,0.5);
  flex-shrink: 0;
}
.dp-step-body h4 { font-size: 1rem; font-weight: 800; color: rgba(255,255,255,0.85); margin: 0 0 6px 0; }
.dp-step-body p  { font-size: 0.86rem; color: rgba(255,255,255,0.35); margin: 0; line-height: 1.65; }

/* ── FORM (contact) ── */
.dp-form { display: flex; flex-direction: column; gap: 18px; }
.dp-field label { display: block; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 8px; }
.dp-field input,
.dp-field textarea,
.dp-field select {
  width: 100%; background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px; padding: 13px 16px;
  color: rgba(255,255,255,0.85); font-size: 0.9rem;
  font-family: inherit; outline: none; resize: vertical;
  transition: border-color 0.2s, background 0.2s;
  box-sizing: border-box;
}
.dp-field input:focus,
.dp-field textarea:focus,
.dp-field select:focus {
  border-color: rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.06);
}
.dp-field input::placeholder,
.dp-field textarea::placeholder { color: rgba(255,255,255,0.2); }

/* ── CTA BOTTOM ── */
.dp-cta {
  padding: 120px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  text-align: center;
}
.dp-cta h2 {
  font-size: clamp(2rem,4vw,3.6rem);
  font-weight: 900; color: #ffffff;
  letter-spacing: -0.025em; line-height: 1.1;
  margin: 0 0 16px 0;
}
.dp-cta p { font-size: 1rem; color: rgba(255,255,255,0.38); margin: 0 0 40px 0; }
.dp-cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── REVEAL ANIMATION INIT (set by GSAP before animating) ── */
.dp-reveal { will-change: transform, opacity; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .dp-hero-visual { display: none; }
  .dp-hero-inner { max-width: 100%; }
}

@media (max-width: 900px) {
  .dp-grid-3, .dp-grid-4 { grid-template-columns: repeat(2,1fr); }
  .dp-grid-2 { grid-template-columns: 1fr; gap: 40px; }
  .dp-stats { grid-template-columns: repeat(2,1fr); }
  .dp-highlight { padding: 40px 32px; }
  .dp-card-wide { grid-column: span 1; }
}

@media (max-width: 600px) {
  .dp-container { padding: 0 20px; }
  .dp-section { padding: 70px 0; }
  .dp-section-sm { padding: 50px 0; }
  .dp-grid-3, .dp-grid-4, .dp-stats { grid-template-columns: 1fr; }
  .dp-card { padding: 24px; }
  .dp-hero { min-height: 70vh; padding: 90px 0 60px; }
  .dp-highlight { padding: 28px; }
  .dp-stat { padding: 28px 20px; }
}
