/* ================================================
   SMPP GATEWAY PAGE — Scoped Styles
   Route: /platform/reseller/smpp-reseller
   ================================================ */

/* ----- HERO ----- */
.smpphero {
  position: relative;
  padding: calc(var(--h-head) + 44px) 0 72px;
  background: #fff;
  overflow: hidden;
}
.smpphero .hero-mesh .h1b { top: -200px; right: -60px; }
.smpphero .hero-mesh .h2b { bottom: -160px; left: -80px; }

.smpp-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 44px;
  align-items: center;
}

.smpp-copy .eyebrow { margin-bottom: 14px; }
.smpp-copy h1 {
  font-size: clamp(2.1rem, 4.4vw, 3.3rem);
  line-height: 1.07;
  letter-spacing: -.02em;
  margin-bottom: 16px;
}
.smpp-copy .sub {
  color: var(--slate);
  font-size: 1.06rem;
  max-width: 510px;
  margin-bottom: 24px;
}
.smpp-cta { display: flex; gap: 13px; flex-wrap: wrap; }

/* Breadcrumbs */
.smpp-breadcrumbs {
  margin-bottom: 20px;
}
.smpp-breadcrumbs-list {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--slate);
}
.smpp-breadcrumbs-list a {
  color: var(--slate);
  transition: color 0.2s ease;
}
.smpp-breadcrumbs-list a:hover {
  color: var(--blue);
}
.smpp-breadcrumbs-list .sep {
  color: var(--slate-light);
  font-size: 0.75rem;
}
.smpp-breadcrumbs-list .active {
  color: var(--blue);
  font-weight: 600;
}

/* Trust strip */
.smpp-trust {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.smpp-trust .tp {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .83rem;
  font-weight: 700;
  color: var(--slate);
}
.smpp-trust .tp .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 3px rgba(22,163,74,.18);
  flex: 0 0 auto;
}

/* ----- HERO VISUAL: ANIMATED SMPP SESSION MOCKUP ----- */
.smpp-stage {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 440px;
}
.smpp-stage::before {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--blue-12), transparent 66%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
}

.smpp-terminal-card {
  position: relative;
  z-index: 2;
  width: 340px;
  background: #0a1330;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 20px;
  box-shadow: var(--glow), 0 30px 70px rgba(10,19,48,.25);
  font-family: var(--font-mono);
  overflow: hidden;
  animation: floaty 6.5s ease-in-out infinite;
}

.smpp-term-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: rgba(255,255,255,.04);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.smpp-term-head .dots {
  display: flex;
  gap: 6px;
}
.smpp-term-head .dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.smpp-term-head .dots i:nth-child(1) { background: #ef4444; }
.smpp-term-head .dots i:nth-child(2) { background: #eab308; }
.smpp-term-head .dots i:nth-child(3) { background: #22c55e; }
.smpp-term-head .title {
  font-size: .68rem;
  color: #8fb2ff;
  font-weight: 700;
  letter-spacing: .06em;
}

.smpp-term-body {
  padding: 16px;
  font-size: .76rem;
  color: #dbe7ff;
  line-height: 1.6;
  min-height: 250px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.smpp-term-line {
  display: flex;
  gap: 6px;
}
.smpp-term-line .prompt {
  color: #64748b;
  user-select: none;
}
.smpp-term-line .cmd {
  color: #38bdf8;
}
.smpp-term-line .out {
  color: #a7f3d0;
}
.smpp-term-line .warn {
  color: #fde047;
}

.smpp-bind-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  margin-top: auto;
  font-size: .7rem;
}
.smpp-bind-indicator .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e;
}
.smpp-bind-indicator .dot.offline {
  background: #64748b;
  box-shadow: none;
}
.smpp-bind-indicator .lbl {
  color: #94a3b8;
}
.smpp-bind-indicator .val {
  color: #fff;
  font-weight: 700;
  margin-left: auto;
}

/* Floating status widgets */
.smpp-badge {
  position: absolute;
  z-index: 4;
  background: #fff;
  border: 1px solid var(--blue-12);
  border-radius: 13px;
  padding: 9px 13px;
  box-shadow: var(--shadow-blue);
  display: flex;
  align-items: center;
  gap: 9px;
  animation: floaty 5s ease-in-out infinite;
}
.smpp-badge .bi {
  width: 30px; height: 30px;
  border-radius: 999px;
  background: var(--blue-08);
  color: var(--blue);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}
.smpp-badge .bi svg { width: 16px; height: 16px; }
.smpp-badge span b { font-family: var(--font-head); font-size: .92rem; display: block; line-height: 1; }
.smpp-badge span small { font-size: .66rem; color: var(--slate); }
.smpp-badge.b1 { top: 6%; right: -4%; animation-delay: 0s; }
.smpp-badge.b2 { bottom: 10%; left: -6%; animation-delay: 1.6s; }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ----- WHAT IS SECTION ----- */
.smpp-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.smpp-stat-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 28px 22px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: .25s;
}
.smpp-stat-card:hover {
  border-color: var(--blue-25);
  box-shadow: var(--shadow-blue);
  transform: translateY(-4px);
}
.smpp-stat-card .snum {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 2.1rem;
  color: var(--blue);
  line-height: 1;
  margin-bottom: 8px;
}
.smpp-stat-card .slbl { font-size: .84rem; color: var(--slate); }

/* ----- FEATURES GRID ----- */
.smpp-feats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.smpp-feat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 26px 22px;
  transition: .28s;
}
.smpp-feat:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-blue);
  border-color: var(--blue-18);
}
.smpp-feat .ic {
  width: 50px; height: 50px;
  border-radius: 13px;
  background: var(--blue-08);
  color: var(--blue);
  display: grid;
  place-items: center;
  margin-bottom: 15px;
}
.smpp-feat .ic svg { width: 25px; height: 25px; }
.smpp-feat h4 { font-size: 1.04rem; margin-bottom: 8px; }
.smpp-feat p { font-size: .88rem; color: var(--slate); }

/* ----- WHO IT'S FOR ----- */
.smpp-who { background: var(--bg-tint); }
.smpp-table-wrap {
  overflow-x: auto;
  border-radius: var(--r-card);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--line);
}
.smpp-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  font-size: .93rem;
}
.smpp-table thead th {
  background: var(--navy);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .84rem;
  padding: 14px 22px;
  text-align: left;
  letter-spacing: .04em;
}
.smpp-table thead th:first-child { border-radius: var(--r-card) 0 0 0; }
.smpp-table thead th:last-child { border-radius: 0 var(--r-card) 0 0; }
.smpp-table tbody tr { border-bottom: 1px solid var(--line); transition: .15s; }
.smpp-table tbody tr:last-child { border-bottom: none; }
.smpp-table tbody tr:hover { background: var(--blue-04); }
.smpp-table tbody td { padding: 14px 22px; color: var(--slate); }
.smpp-table tbody td:first-child { font-weight: 700; color: var(--ink); }
.smpp-table tbody td .uc-icon {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.smpp-table tbody td .uc-icon svg { width: 18px; height: 18px; color: var(--blue); flex: 0 0 auto; }

/* ----- HOW IT WORKS ----- */
.smpp-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
  margin-top: 16px;
}
.smpp-steps::before {
  content: "";
  position: absolute;
  top: 30px;
  left: calc(10% + 20px);
  right: calc(10% + 20px);
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--blue-25));
  z-index: 0;
}
.smpp-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 12px;
  position: relative;
  z-index: 1;
}
.smpp-step .sn {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.3rem;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(24,104,251,.35);
  margin-bottom: 20px;
  flex: 0 0 auto;
}
.smpp-step h4 { font-size: .98rem; margin-bottom: 8px; }
.smpp-step p { font-size: .84rem; color: var(--slate); }

/* ----- TECHNICAL SPECS ----- */
.smpp-specs {
  background: var(--navy);
  color: #fff;
}
.smpp-specs .section-head h2 { color: #fff; }
.smpp-specs .section-head p { color: rgba(255, 255, 255, 0.85) !important; }
.smpp-specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.smpp-spec-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--r-card);
  padding: 24px;
  display: flex;
  gap: 16px;
}
.smpp-spec-card .icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(24,104,251,.15);
  color: #38bdf8;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}
.smpp-spec-card .icon svg { width: 22px; height: 22px; }
.smpp-spec-card h5 { color: #fff; font-size: 1rem; margin-bottom: 6px; }
.smpp-spec-card p { color: rgba(255, 255, 255, 0.75) !important; font-size: .86rem; line-height: 1.5; }

/* ----- WHY SECTION ----- */
.smpp-why { background: var(--bg-tint); }
.smpp-why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.smpp-why-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 26px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  transition: .25s;
}
.smpp-why-card:hover {
  border-color: var(--blue-25);
  box-shadow: var(--shadow-blue);
  transform: translateY(-4px);
}
.smpp-why-card .wi {
  width: 48px; height: 48px;
  border-radius: 13px;
  background: var(--blue-08);
  color: var(--blue);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}
.smpp-why-card .wi svg { width: 24px; height: 24px; }
.smpp-why-card h4 { font-size: 1.04rem; margin-bottom: 7px; }
.smpp-why-card p { font-size: .88rem; color: var(--slate); }

/* ----- PRICE TEASER ----- */
.smpp-price { background: #fff; }

/* ----- RESPONSIVE ----- */
@media (max-width: 1024px) {
  .smpp-grid { grid-template-columns: 1fr; text-align: center; }
  .smpp-copy .sub { margin: 0 auto 24px; }
  .smpp-cta { justify-content: center; }
  .smpp-trust { justify-content: center; }
  .smpp-breadcrumbs-list { justify-content: center; }
  .smpp-stage {
    display: flex;
    justify-content: center;
    margin-top: 24px;
    z-index: 1;
  }
  .smpp-feats { grid-template-columns: repeat(2, 1fr); }
  .smpp-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .smpp-specs-grid { grid-template-columns: 1fr; }
  .smpp-steps { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .smpp-steps::before { display: none; }
  .smpp-step { align-items: flex-start; text-align: left; flex-direction: row; gap: 16px; }
  .smpp-step .sn { width: 46px; height: 46px; font-size: 1rem; flex: 0 0 46px; margin-bottom: 0; }
  .smpp-why-grid { grid-template-columns: 1fr; }
  .smpp-table { min-width: 500px; }
}

/* Responsive Image replacements */
.smpp-img-wrap {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 380px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.smpp-img-responsive {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: 20px;
  box-shadow: var(--shadow-lift);
  animation: floaty 6.5s ease-in-out infinite;
}

.smpp-who-img-wrap {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}
.smpp-who-img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: var(--r-card);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--line);
}

@media (max-width: 1024px) {
  .smpp-img-wrap {
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .smpp-feats {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  .smpp-stats-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }
  .smpp-steps {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
  .smpp-step {
    flex-direction: row !important;
    align-items: flex-start !important;
    text-align: left !important;
    padding: 0 !important;
  }
  .smpp-step .sn {
    margin-bottom: 0 !important;
    flex: 0 0 42px !important;
    width: 42px !important;
    height: 42px !important;
    font-size: 0.95rem !important;
  }
  .smpp-why-grid {
    grid-template-columns: 1fr !important;
  }
  .smpp-trust {
    gap: 12px !important;
    justify-content: center !important;
  }
}


