:root {
  --accent: #0ea5a4;
  --dark: #0f172a;
  --muted: #6b7280;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, 'Helvetica Neue', Arial;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #f8fafc;
  color: var(--dark);
  font-family: var(--font-family, Inter), sans-serif;
}
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px;
}

.btn {
  background: var(--accent);
  color: #fff;
  padding: 10px 14px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
}

.hero {
  background: linear-gradient(90deg, #ecfeff, #f8fafc);
  padding: 28px;
  border-radius: 12px;
  margin: 18px 0;
  transition: box-shadow 0.3s ease;
  cursor: default;
}

.hero:hover {
  box-shadow: 0 10px 25px rgba(2, 132, 199, 0.3);
}

.hero-wrapper {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: nowrap;
  flex-direction: row;   
  overflow-x: auto;      
  -webkit-overflow-scrolling: touch; 
}

.hero-image-wrapper {
  background: #d0f0fd;
  padding: 12px;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(2, 132, 199, 0.15);
  flex-shrink: 0; 
}

.hero-image {
  width: 100px;
  height: auto;
  border-radius: 10px;
  display: block;
}

.hero-text {
  flex: 1;
  min-width: 220px;
  flex-shrink: 0;  
}

.hero-text h1 {
  margin: 0 0 8px 0;
  font-weight: 800;
  font-size: 2.4rem;
  color: #0369a1;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  letter-spacing: 0.04em;
}

.instant-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  font-weight: 700;
  color: white;
  background: linear-gradient(90deg, #06b6d4, #0e7490);
  padding: 6px 14px;
  border-radius: 9999px; /* pill shape */
  width: fit-content;
  text-transform: lowercase;
  box-shadow: 0 3px 8px rgba(6, 182, 212, 0.6);
  margin-bottom: 14px;
  user-select: none;
}

.instant-icon {
  width: 18px;
  height: 18px;
  stroke: white;
  flex-shrink: 0;
}

.muted {
  color: #475569;
  font-size: 1rem;
  line-height: 1.5;
}

@media (max-width: 600px) {
  .hero-wrapper {
    flex-wrap: nowrap;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    overflow-x: auto;
  }

  .hero-image-wrapper {
    width: 120px; 
    padding: 12px;
  }

  .hero-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
  }

  .hero-text {
    min-width: 200px;
    text-align: left;
  }

  .hero-text h1 {
    font-size: 1.5rem;
    margin-bottom: 6px;
  }

  .instant-badge {
    font-size: 0.85rem;
    padding: 5px 12px;
    margin-bottom: 10px;
  }

  .instant-icon {
    width: 16px;
    height: 16px;
  }

  .muted {
    font-size: 0.9rem;
  }
}
@media (max-width: 480px) {
  .hero-wrapper {
    flex-wrap: nowrap;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    overflow-x: visible;
  }

  .hero-image-wrapper {
    width: 100px;
    padding: 8px;
  }

  .hero-image {
    width: 100%;
    height: auto;
    border-radius: 6px;
  }

  .hero-text {
    min-width: 150px;
    text-align: left;
  }

  .hero-text h1 {
    font-size: 1.2rem;
    margin-bottom: 4px;
  }

  .instant-badge {
    font-size: 0.75rem;
    padding: 4px 10px;
    margin-bottom: 8px;
  }

  .instant-icon {
    width: 14px;
    height: 14px;
  }

  .muted {
    font-size: 0.8rem;
  }
}


.grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 20px;
}

.card {
  background: #fff;
  border-radius: 16px;
  padding: 36px 32px;
  border: 1.5px solid #cbd5e1;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.08);
  max-width: 600px;
  margin: 0 auto;
  font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #1e293b;
}

.card h3 {
  font-size: 22px;
  font-weight: 800;
  color: #0f766e;
  margin-bottom: 24px;
  text-align: center;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-family: 'Poppins', sans-serif;
}

.field {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

label {
  font-weight: 700;
  font-size: 15px;
  color: #334155;
  margin-bottom: 8px;
  user-select: none;
  letter-spacing: 0.02em;
}

input[type="text"] {
  padding: 14px 16px;
  font-size: 16px;
  border-radius: 14px;
  border: 1.8px solid #94a3b8;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  outline-offset: 3px;
  font-weight: 500;
  font-family: 'Poppins', sans-serif;
  color: #334155;
}

input[type="text"]:focus {
  border-color: #0ea5a4;
  box-shadow: 0 0 12px rgba(14, 165, 164, 0.35);
  outline: none;
}

input[type="text"]::placeholder {
  color: #a1aebf;
  font-style: italic;
  font-weight: 400;
}


@media (max-width: 480px) {
  .card {
    padding: 24px 20px;
    max-width: 100%;
  }

  .card h3 {
    font-size: 18px;
    margin-bottom: 18px;
    letter-spacing: 0.02em;
  }

  label {
    font-size: 13px;
    margin-bottom: 6px;
  }

  input[type="text"] {
    padding: 12px 14px;
    font-size: 14px;
    border-radius: 12px;
  }
  .package.selected {
    background: linear-gradient(135deg, #e0f7f7, #c0f0f0);
    border: 2px solid var(--accent);
    box-shadow: 0 8px 20px rgba(14, 165, 164, 0.15);
    position: relative;
  }

  .package.selected::after {
    content: "✓";
    position: absolute;
    top: 6px;
    right: 6px;
    background-color: var(--accent);
    color: #fff;
    font-weight: bold;
    font-size: 12px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

.packages {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.package {
  border: 1px solid #e6eef3;
  padding: 12px;
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  position: relative;
}

.package:hover:not(.disabled) {
  transform: scale(1.02);
  border-color: #0ea5a4;
}

.package.selected {
  background: linear-gradient(135deg, #e0f7f7, #c0f0f0);
  border: 2px solid var(--accent);
  box-shadow: 0 8px 20px rgba(14, 165, 164, 0.15);
}

.package.selected::after {
  content: "✓";
  position: absolute;
  top: 8px;
  right: 8px;
  background-color: var(--accent);
  color: #fff;
  font-weight: bold;
  font-size: 12px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.package.disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.payments {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.payment {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border-radius: 8px;
  border: 1px dashed #e6eef3;
}

.buy-wrap {
  display: flex;
  gap: 10px;
  align-items: center;
}

footer {
  margin-top: 18px;
  padding: 18px 0;
  color: #64748b;
  font-size: 13px;
}

@media (max-width: 880px) {
  .grid {
    grid-template-columns: 1fr;
  }
  .packages {
    grid-template-columns: repeat(1, 1fr);
  }
  .container {
    padding: 12px;
  }
}
#orderSummaryCard {
  position: static;
  width: 100%;
  margin-top: 12px;
  box-shadow: none;
}

@media (max-width: 880px) {
    body {
    padding-bottom: 200px;
  }
  #orderSummaryCard {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: calc(100% - 40px);
    z-index: 100;

    padding: 8px 12px;
    line-height: 1.2;
    font-size: 14px;
    height: auto;
    max-height: none;
    background: rgba(255, 255, 255, 0.4); 
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    box-shadow: 0 6px 20px rgb(14 165 164 / 0.25);
    border-radius: 12px;
  }

  #orderSummaryCard .buy-wrap {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
  }
  #orderSummaryCard p,
  #orderSummaryCard h1,
  #orderSummaryCard h2,
  #orderSummaryCard h3,
  #orderSummaryCard h4,
  #orderSummaryCard h5,
  #orderSummaryCard h6,
  #orderSummaryCard ul,
  #orderSummaryCard ol,
  #orderSummaryCard li,
  #orderSummaryCard div:not(.buy-now-container) {
    margin-top: 0;
    margin-bottom: 4px;
    padding: 0;
  }
}