@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Bengali:wght@400;500;600;700;800;900&family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
  --red: #e11d48;
  --red-dark: #9f1239;
  --red-soft: #fff1f2;
  --green: #008000;
  --green-light: #16a34a;
  --dark: #111827;
  --gray: #6b7280;
  --bg: #f1f5f9;
  --card: #ffffff;
  --soft-card: #f8fafc;
  --border: rgba(225, 29, 72, 0.35);
  --shadow: 0 20px 45px rgba(15, 23, 42, 0.12);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', 'Noto Sans Bengali', sans-serif;
  background:
    radial-gradient(circle at top left, rgba(225, 29, 72, 0.12), transparent 35%),
    radial-gradient(circle at top right, rgba(22, 163, 74, 0.10), transparent 35%),
    linear-gradient(180deg, #fff7f7 0%, #f1f5f9 45%, #e5e7eb 100%);
  color: var(--dark);
}

/* Top Marquee */
.top-marquee {
  width: 100%;
  background: linear-gradient(90deg, #7f1d1d, #e11d48, #991b1b);
  color: #fff;
  overflow: hidden;
  padding: 10px 0;
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 8px 25px rgba(225, 29, 72, 0.35);
}

.marquee-track {
  display: flex;
  gap: 32px;
  width: max-content;
  animation: marqueeMove 18s linear infinite;
}

.marquee-track span {
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
  letter-spacing: 0.5px;
}

.marquee-track span::before {
  content: "●";
  color: #fbbf24;
  margin-right: 10px;
}

@keyframes marqueeMove {
  from {
    transform: translateX(100vw);
  }
  to {
    transform: translateX(-100%);
  }
}

/* Main Wrapper */
.app-wrapper {
  max-width: 520px;
  margin: 0 auto;
  padding-bottom: 30px;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 42px 18px 34px;
  color: #fff;
  background:
    linear-gradient(145deg, rgba(127, 29, 29, 0.98), rgba(225, 29, 72, 0.94), rgba(15, 23, 42, 0.96));
  border-radius: 0 0 38px 38px;
  box-shadow: var(--shadow);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  opacity: 0.22;
  filter: blur(2px);
}

.hero-glow.one {
  width: 180px;
  height: 180px;
  background: #22c55e;
  top: -70px;
  right: -70px;
}

.hero-glow.two {
  width: 160px;
  height: 160px;
  background: #3b82f6;
  bottom: 35px;
  left: -75px;
}

.logo-box {
  position: relative;
  z-index: 2;
  width: 108px;
  height: 108px;
  margin: 0 auto 18px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.20);
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

.logo-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 22px;
}

.hero h1 {
  position: relative;
  z-index: 2;
  font-size: 30px;
  font-weight: 900;
  margin-bottom: 10px;
}

.hero p {
  position: relative;
  z-index: 2;
  max-width: 360px;
  margin: 0 auto 22px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  line-height: 1.6;
}

/* Features */
.feature-row {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.feature-card {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.20);
  border-radius: 18px;
  padding: 15px 7px;
  backdrop-filter: blur(10px);
}

.feature-card i {
  font-size: 22px;
  color: #86efac;
  margin-bottom: 8px;
}

.feature-card h3 {
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 3px;
}

.feature-card span {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.72);
}

/* Stats */
.stats-box {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #fff;
  color: var(--dark);
  border-radius: 24px;
  padding: 16px 8px;
  margin: 20px 0;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

.stats-box div {
  border-right: 1px solid rgba(17, 24, 39, 0.10);
}

.stats-box div:last-child {
  border-right: none;
}

.stats-box strong {
  display: block;
  color: var(--red);
  font-size: 20px;
  font-weight: 900;
}

.stats-box span {
  font-size: 12px;
  font-weight: 700;
  color: var(--gray);
}

/* Install Button */
.install-btn {
  position: relative;
  z-index: 2;
  width: 92%;
  height: 58px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #22c55e, #008000);
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
  font-size: 18px;
  font-weight: 900;
  box-shadow: 0 18px 38px rgba(0, 128, 0, 0.35);
  transition: 0.25s ease;
}

.install-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 44px rgba(0, 128, 0, 0.45);
}

.install-btn:active {
  transform: scale(0.98);
}

.hero small {
  display: block;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
}

/* Banner */
.banner-section {
  padding: 24px 16px 8px;
}

.banner-card {
  background: #fff;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.banner-card img {
  width: 100%;
  display: block;
}

/* Package Section */
.package-section {
  padding: 10px 0 10px;
}

.package-main-box,
.cancel-main-box {
  background: #ffffff;
  border-radius: 34px;
  padding: 28px 18px;
  margin: 22px 0;
  box-shadow: 0 22px 50px rgba(15, 23, 42, 0.12);
}

.cancel-main-box {
  border: 3px solid #ef4444;
}

.bangla-note {
  font-family: 'Noto Sans Bengali', sans-serif;
  font-size: 20px;
  line-height: 1.55;
  text-align: center;
  margin-bottom: 20px;
  color: #111827;
  font-weight: 500;
}

.package-title {
  text-align: center;
  font-size: 25px;
  font-weight: 900;
  color: #111827;
  margin-bottom: 24px;
}

.cancel-title {
  background: #ef3434;
  color: #fff;
  text-align: center;
  padding: 18px 12px;
  border-radius: 20px;
  font-size: 22px;
  font-weight: 900;
  margin-bottom: 26px;
}

.sim-card {
  background: #f8fafc;
  border-radius: 24px;
  padding: 24px 20px;
  margin-bottom: 24px;
  position: relative;
  box-shadow:
    inset 0 0 0 1px rgba(15, 23, 42, 0.03),
    0 12px 25px rgba(15, 23, 42, 0.04);
}

.sim-card:last-child {
  margin-bottom: 0;
}

.sim-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 22px;
}

.network-badge {
  display: inline-block;
  background: #c80f3d;
  color: #fff;
  padding: 10px 18px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 900;
}

.sim-logo {
  width: 72px;
  height: 72px;
  object-fit: contain;
  background: #fff;
  border-radius: 16px;
  padding: 8px;
  box-shadow: 0 12px 25px rgba(15, 23, 42, 0.15);
}

.sim-card h3 {
  text-align: center;
  font-size: 22px;
  color: #111827;
  font-weight: 500;
  margin-bottom: 22px;
}

.code-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  align-items: center;
}

.code-row button,
.single-code button {
  border: 3px solid #be123c;
  background: #ffffff;
  color: #111827;
  border-radius: 14px;
  padding: 12px 8px;
  font-size: 18px;
  font-weight: 800;
  cursor: pointer;
  transition: 0.25s ease;
  font-family: 'Inter', 'Noto Sans Bengali', sans-serif;
}

.code-row button:hover,
.single-code button:hover {
  background: #fff1f2;
  transform: translateY(-2px);
}

.single-code {
  display: flex;
  justify-content: center;
}

.single-code button {
  padding: 13px 26px;
}

.buy-btn {
  display: block;
  width: 100%;
  background: #008000;
  color: #ffffff;
  text-decoration: none;
  text-align: center;
  border-radius: 14px;
  padding: 17px 12px;
  font-size: 22px;
  font-weight: 900;
  transition: 0.25s ease;
}

.buy-btn:hover {
  background: #16a34a;
  transform: translateY(-2px);
}

/* Footer */
.footer {
  text-align: center;
  color: #6b7280;
  padding: 22px 10px 40px;
  font-size: 16px;
  line-height: 1.5;
}

/* Toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%) translateY(100px);
  background: #111827;
  color: #fff;
  padding: 13px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  opacity: 0;
  transition: 0.3s ease;
  z-index: 2000;
  box-shadow: 0 16px 35px rgba(15, 23, 42, 0.25);
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* Mobile Responsive */
@media (max-width: 430px) {
  .app-wrapper {
    max-width: 100%;
  }

  .hero h1 {
    font-size: 28px;
  }

  .package-main-box,
  .cancel-main-box {
    border-radius: 30px;
    padding: 24px 14px;
  }

  .bangla-note {
    font-size: 18px;
  }

  .package-title {
    font-size: 22px;
  }

  .cancel-title {
    font-size: 20px;
  }

  .sim-card {
    padding: 22px 14px;
  }

  .sim-card h3 {
    font-size: 20px;
  }

  .code-row {
    gap: 10px;
  }

  .code-row button {
    font-size: 16px;
    padding: 11px 5px;
  }

  .network-badge {
    font-size: 14px;
    padding: 9px 15px;
  }

  .sim-logo {
    width: 64px;
    height: 64px;
  }
}

@media (max-width: 360px) {
  .hero h1 {
    font-size: 25px;
  }

  .feature-card h3 {
    font-size: 11px;
  }

  .code-row button {
    font-size: 14px;
  }

  .sim-card h3 {
    font-size: 18px;
  }
}