/* =====================================================
   770 SIM — Complete Design System
   Inspired by the 770 SIM logo:
   - Light silvery-blue background (#dce8ef)
   - "770" in sky blue (#3da2e0)
   - "SIM" in warm gold (#f0b03e)
   - 770 building photo texture
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Heebo:wght@300;400;500;600;700;800;900&family=Outfit:wght@400;500;600;700;800;900&display=swap');

:root {
  --font-hebrew: 'Heebo', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Outfit', 'Heebo', sans-serif;

  /* Logo-Inspired Palette */
  --bg-body: #e8eff4;
  --bg-hero: linear-gradient(165deg, #d0dfe8 0%, #e8eff4 40%, #f2f6f9 100%);
  --bg-card: #ffffff;
  --bg-card-hover: #f8fbfd;
  --bg-section-alt: #f2f6f9;

  --blue-primary: #3da2e0;
  --blue-dark: #2b7cb8;
  --blue-light: #6bbef0;
  --blue-ghost: rgba(61, 162, 224, 0.08);
  --blue-border: rgba(61, 162, 224, 0.25);

  --gold-primary: #f0b03e;
  --gold-dark: #d4901a;
  --gold-light: #f7c96e;
  --gold-ghost: rgba(240, 176, 62, 0.1);
  --gold-border: rgba(240, 176, 62, 0.3);

  --green-check: #22c55e;

  --text-dark: #1a2b3d;
  --text-body: #3d5168;
  --text-muted: #7b91a5;
  --text-light: #a4b6c5;

  --border-soft: rgba(0, 0, 0, 0.07);
  --border-card: rgba(0, 0, 0, 0.08);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
}

@keyframes spin-anim {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.spin-anim {
  display: inline-block;
  animation: spin-anim 1s linear infinite;
}

:root {
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.1);
  --shadow-card: 0 4px 24px rgba(61, 162, 224, 0.08);
  --shadow-card-hover: 0 12px 40px rgba(61, 162, 224, 0.15);
  --shadow-gold: 0 6px 24px rgba(240, 176, 62, 0.25);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-hebrew);
  background-color: var(--bg-body);
  color: var(--text-dark);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* =====================================================
   Floating Layover Widget
   ===================================================== */
.floating-layover-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 99;
  background: linear-gradient(135deg, var(--blue-primary), var(--blue-dark));
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  box-shadow: 0 8px 28px rgba(43, 124, 184, 0.35);
  display: flex;
  align-items: center;
  gap: 10px;
  border: 2px solid rgba(255, 255, 255, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  font-family: var(--font-hebrew);
}

.floating-layover-btn:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 14px 36px rgba(43, 124, 184, 0.45);
}

.pulse-icon {
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}

/* =====================================================
   Ambient Background Accents
   ===================================================== */
.ambient-glow {
  position: fixed;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(180px);
  pointer-events: none;
  z-index: -1;
  opacity: 0.5;
}

.glow-1 {
  top: -200px;
  right: -150px;
  background: radial-gradient(circle, rgba(61, 162, 224, 0.15), transparent 70%);
}

.glow-2 {
  bottom: -100px;
  left: -150px;
  background: radial-gradient(circle, rgba(240, 176, 62, 0.12), transparent 70%);
}

/* =====================================================
   Navbar
   ===================================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(232, 239, 244, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-soft);
  padding: 10px 0;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-group {
  display: flex;
  align-items: center;
}

.brand-logo-img {
  height: 50px;
  width: auto;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease;
}

.brand-logo-img:hover {
  transform: scale(1.05);
}

.card-logo-img {
  height: 42px;
  width: auto;
  border-radius: 10px;
}

.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}

.nav-links a {
  color: var(--text-body);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  transition: color 0.2s;
  position: relative;
}

.nav-links a:hover {
  color: var(--blue-primary);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--blue-primary);
  border-radius: 2px;
  transition: width 0.25s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-link-btn {
  background: var(--blue-ghost);
  border: 1.5px solid var(--blue-border);
  color: var(--blue-primary);
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  font-family: var(--font-hebrew);
  transition: all 0.2s ease;
}

.nav-link-btn:hover {
  background: var(--blue-primary);
  color: #fff;
  border-color: var(--blue-primary);
}

.nav-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

/* =====================================================
   Hero Section
   ===================================================== */
.hero-section {
  padding: 60px 0 50px;
  background: var(--bg-hero);
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('/logo.jpg') no-repeat center;
  background-size: 500px;
  opacity: 0.025;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  background: var(--blue-ghost);
  border: 1.5px solid var(--blue-border);
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 24px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--blue-primary);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--blue-primary);
  animation: badge-pulse 2s ease-in-out infinite;
}

@keyframes badge-pulse {
  0%, 100% { box-shadow: 0 0 8px var(--blue-primary); }
  50% { box-shadow: 0 0 18px var(--blue-primary); }
}

h1 {
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.gradient-text {
  background: linear-gradient(135deg, var(--blue-primary) 0%, var(--gold-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-body);
  margin-bottom: 28px;
  max-width: 540px;
  line-height: 1.8;
}

.hero-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.feature-tag {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.02rem;
  color: var(--text-dark);
  font-weight: 500;
}

.feature-tag svg {
  color: var(--green-check);
  flex-shrink: 0;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* =====================================================
   eSIM Card Preview (Hero Visual)
   ===================================================== */
.esim-card-preview {
  padding: 28px;
  background: #fff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(61, 162, 224, 0.06);
  transform: perspective(1000px) rotateY(-3deg) rotateX(1deg);
  transition: transform 0.5s ease;
  position: relative;
  overflow: hidden;
}

.esim-card-preview::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue-primary), var(--gold-primary));
}

.esim-card-preview:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.network-badge {
  background: rgba(34, 197, 94, 0.1);
  color: var(--green-check);
  border: 1px solid rgba(34, 197, 94, 0.25);
  padding: 5px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.qr-box {
  position: relative;
  background: #f9fafb;
  padding: 18px;
  border-radius: var(--radius-md);
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 22px;
  border: 1px solid var(--border-soft);
}

.qr-box img {
  width: 170px;
  height: 170px;
}

.qr-overlay {
  position: absolute;
  bottom: -12px;
  background: linear-gradient(135deg, var(--blue-primary), var(--blue-dark));
  color: #fff;
  font-weight: 800;
  font-size: 0.82rem;
  padding: 5px 18px;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 14px rgba(43, 124, 184, 0.35);
}

.card-details {
  border-top: 1px solid var(--border-soft);
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
}

.detail-label {
  color: var(--text-muted);
  font-weight: 500;
}

.detail-val {
  font-weight: 700;
  color: var(--text-dark);
}

/* =====================================================
   Plans Section
   ===================================================== */
.section-plans {
  padding: 80px 0;
  background: var(--bg-section-alt);
}

.section-transit {
  padding: 80px 0;
  background: var(--bg-body);
}

.section-header {
  margin-bottom: 48px;
}

.section-subtitle {
  color: var(--gold-dark);
  font-weight: 800;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  display: block;
  margin-bottom: 4px;
}

.section-header h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin: 8px 0 12px;
  color: var(--text-dark);
}

.section-header p {
  color: var(--text-body);
  font-size: 1.08rem;
  max-width: 600px;
}

.text-center .section-header p {
  margin: 0 auto;
}

.plans-grid, .transit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  align-items: stretch;
}

/* =====================================================
   Plan Cards
   ===================================================== */
.plan-card {
  padding: 28px 22px;
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  transition: all 0.3s ease;
  height: 100%;
}

.plan-card .btn-primary {
  margin-top: auto;
}

.plan-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--blue-border);
}

.plan-card.popular {
  border-color: var(--gold-primary);
  background: linear-gradient(180deg, rgba(240, 176, 62, 0.06) 0%, #ffffff 50%);
  box-shadow: var(--shadow-gold);
}

.plan-card.popular:hover {
  box-shadow: 0 16px 48px rgba(240, 176, 62, 0.3);
}

.popular-ribbon {
  position: absolute;
  top: -13px;
  right: 20px;
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
  color: #fff;
  font-weight: 800;
  font-size: 0.82rem;
  padding: 5px 18px;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 14px rgba(240, 176, 62, 0.35);
  letter-spacing: 0.3px;
}

.transit-flag {
  position: absolute;
  top: -13px;
  right: 18px;
  background: #fff;
  border: 1.5px solid var(--blue-border);
  color: var(--blue-dark);
  font-weight: 700;
  font-size: 0.82rem;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
}

.plan-header h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-dark);
}

.plan-duration {
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 500;
}

.plan-price {
  margin: 18px 0 14px;
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.plan-price .currency {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold-primary);
}

.plan-price .amount {
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--text-dark);
  line-height: 1;
  font-family: var(--font-heading);
}

.plan-price .period {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-right: 6px;
}

.plan-desc {
  color: var(--text-body);
  font-size: 0.9rem;
  margin-bottom: 20px;
  min-height: 44px;
  line-height: 1.6;
}

.plan-features {
  list-style: none;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-grow: 1;
}

.plan-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-body);
}

.plan-features svg {
  color: var(--green-check);
  flex-shrink: 0;
}

/* =====================================================
   Buttons
   ===================================================== */
.btn-primary {
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
  color: #fff;
  font-family: var(--font-hebrew);
  font-weight: 700;
  border: none;
  border-radius: var(--radius-sm);
  padding: 13px 28px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(240, 176, 62, 0.3);
  letter-spacing: 0.2px;
}

.btn-primary:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(240, 176, 62, 0.4);
}

.btn-secondary {
  background: #fff;
  color: var(--text-dark);
  border: 1.5px solid var(--border-card);
  padding: 11px 22px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-hebrew);
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  border-color: var(--blue-primary);
  color: var(--blue-primary);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--text-muted);
  border: 1.5px solid var(--border-soft);
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-outline:hover {
  border-color: var(--blue-primary);
  color: var(--blue-primary);
}

.btn-block {
  width: 100%;
}

.btn-lg {
  padding: 15px 32px;
  font-size: 1.08rem;
}

.btn-sm {
  padding: 7px 16px;
  font-size: 0.85rem;
}

.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 28px; }
.text-center { text-align: center; }

/* =====================================================
   Global Catalog Modal
   ===================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(26, 43, 61, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.hidden {
  display: none;
}

.modal-card {
  width: 100%;
  max-width: 540px;
  padding: 36px;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.18);
}

.modal-lg {
  max-width: 880px;
}

.modal-grid {
  grid-template-columns: repeat(2, 1fr) !important;
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--bg-section-alt);
  border: 1px solid var(--border-soft);
  color: var(--text-muted);
  font-size: 1.4rem;
  cursor: pointer;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.modal-close-btn:hover {
  background: #fff;
  border-color: var(--blue-primary);
  color: var(--blue-primary);
}

.modal-title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 6px;
  color: var(--text-dark);
}

.modal-subtitle {
  color: var(--text-body);
  margin-bottom: 24px;
  font-size: 0.95rem;
}

.modal-card h3 {
  color: var(--text-dark);
  font-weight: 800;
  font-size: 1.3rem;
  margin-bottom: 4px;
}

.highlight-text {
  color: var(--gold-dark);
  font-weight: 700;
}

/* Global Search Input */
.search-box-wrapper {
  margin-bottom: 24px;
}

.global-search-input {
  width: 100%;
  background: var(--bg-section-alt);
  border: 2px solid var(--blue-border);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  color: var(--text-dark);
  font-size: 1.08rem;
  font-family: var(--font-hebrew);
  transition: all 0.2s;
}

.global-search-input:focus {
  outline: none;
  border-color: var(--blue-primary);
  box-shadow: 0 0 0 4px var(--blue-ghost);
}

.global-search-input::placeholder {
  color: var(--text-light);
}

.global-catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 16px;
  max-height: 55vh;
  overflow-y: auto;
  padding: 4px;
}

.country-catalog-card {
  background: var(--bg-section-alt);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.25s ease;
}

.country-catalog-card:hover {
  border-color: var(--gold-primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.country-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.country-plan-text {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.country-price-tag {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--gold-dark);
  margin-bottom: 12px;
  font-family: var(--font-heading);
}

/* =====================================================
   Compatibility Section
   ===================================================== */
.section-compat {
  padding: 40px 0 80px;
}

.compat-box {
  padding: 40px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.compat-info h2 {
  font-size: 1.8rem;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.compat-info p {
  color: var(--text-body);
  margin-bottom: 20px;
}

.supported-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.supp-item {
  background: var(--bg-section-alt);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-soft);
  font-size: 0.92rem;
  color: var(--text-body);
}

.supp-item strong {
  color: var(--text-dark);
}

.compat-checker {
  background: var(--blue-ghost);
  border: 2px dashed var(--blue-border);
  padding: 28px;
  border-radius: var(--radius-md);
}

.compat-checker h3 {
  color: var(--blue-dark);
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.compat-checker p {
  color: var(--text-body);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* =====================================================
   Forms (Checkout)
   ===================================================== */
.form-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: right;
}

.form-group label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-body);
}

.form-group input {
  background: var(--bg-section-alt);
  border: 1.5px solid var(--border-soft);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: var(--text-dark);
  font-size: 1rem;
  font-family: var(--font-hebrew);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus {
  outline: none;
  border-color: var(--blue-primary);
  box-shadow: 0 0 0 3px var(--blue-ghost);
}

.payment-box {
  margin: 4px 0;
}

.payment-label {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text-dark);
  display: block;
  margin-bottom: 10px;
}

.payment-summary {
  background: var(--bg-section-alt);
  padding: 16px;
  border-radius: var(--radius-sm);
  margin: 8px 0;
  border: 1px solid var(--border-soft);
}

.sum-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  color: var(--text-dark);
}

.sum-amount {
  font-size: 1.4rem;
  color: var(--gold-dark);
  font-family: var(--font-heading);
  font-weight: 900;
}

/* =====================================================
   Success / Step 2
   ===================================================== */
.success-icon {
  font-size: 3.2rem;
  margin-bottom: 12px;
}

.generated-qr-wrapper {
  background: #f9fafb;
  padding: 18px;
  border-radius: var(--radius-md);
  display: inline-block;
  margin: 20px 0;
  border: 1px solid var(--border-soft);
}

.generated-qr-wrapper img {
  width: 200px;
  height: 200px;
  display: block;
}

.activation-codes-box {
  background: var(--bg-section-alt);
  padding: 18px;
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
  text-align: right;
  border: 1px solid var(--border-soft);
}

.code-field {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.85rem;
}

.code-field code {
  background: #fff;
  padding: 5px 10px;
  border-radius: 6px;
  font-family: 'SF Mono', monospace;
  direction: ltr;
  border: 1px solid var(--border-soft);
  font-size: 0.82rem;
  color: var(--text-dark);
}

.code-label {
  color: var(--text-muted);
  font-weight: 600;
}

.btn-copy {
  background: var(--blue-ghost);
  color: var(--blue-primary);
  border: 1.5px solid var(--blue-border);
  padding: 4px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.8rem;
  font-family: var(--font-hebrew);
  font-weight: 600;
  transition: all 0.2s;
}

.btn-copy:hover {
  background: var(--blue-primary);
  color: #fff;
}

.guide-steps-box {
  text-align: right;
  background: var(--bg-section-alt);
  padding: 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-soft);
}

.guide-steps-box h4 {
  color: var(--text-dark);
  margin-bottom: 8px;
}

.steps-list {
  padding-right: 20px;
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-body);
}

.hidden {
  display: none !important;
}

/* =====================================================
   Footer
   ===================================================== */
.footer {
  border-top: 1px solid var(--border-soft);
  padding: 30px 0;
  color: var(--text-muted);
  font-size: 0.88rem;
  background: #fff;
}

/* =====================================================
   Glass Panel Override (for modals that still use it)
   ===================================================== */
/* =====================================================
   How It Works Guide Section
   ===================================================== */
.section-guide {
  padding: 80px 0;
  background: var(--bg-section-alt);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}

.guide-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.guide-step-card {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 28px 20px;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.guide-step-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--blue-border);
}

.step-num-badge {
  position: absolute;
  top: -14px;
  right: 20px;
  background: linear-gradient(135deg, var(--blue-primary), var(--blue-dark));
  color: #fff;
  font-weight: 900;
  font-size: 0.9rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(61, 162, 224, 0.3);
}

.step-icon {
  font-size: 2.5rem;
  margin-bottom: 14px;
}

.guide-step-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.guide-step-card p {
  font-size: 0.88rem;
  color: var(--text-body);
  line-height: 1.6;
}

@media (max-width: 900px) {
  .guide-steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .guide-steps-grid {
    grid-template-columns: 1fr;
  }
}

.glass-panel {
  background: #fff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

/* =====================================================
   Package Details & Covered Countries Box
   ===================================================== */
.checkout-brand-logo {
  height: 48px;
  width: auto;
  border-radius: 8px;
  margin-bottom: 8px;
}

.package-details-card {
  background: var(--bg-section-alt);
  border: 1.5px solid var(--blue-border);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-bottom: 20px;
}

.pkg-detail-header {
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--blue-dark);
  margin-bottom: 10px;
  border-bottom: 1px solid var(--border-soft);
  padding-bottom: 6px;
}

.pkg-detail-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.88rem;
}

.pkg-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pkg-detail-row .label {
  color: var(--text-muted);
  font-weight: 500;
}

.pkg-detail-row .val {
  color: var(--text-dark);
  font-weight: 700;
}

.countries-coverage-box {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  margin-top: 6px;
}

.coverage-title {
  font-weight: 700;
  color: var(--gold-dark);
  font-size: 0.85rem;
  margin-bottom: 4px;
}

.coverage-list {
  font-size: 0.84rem;
  color: var(--text-body);
  line-height: 1.5;
}

/* Terms Checkbox */
.terms-checkbox-group {
  margin: 6px 0;
  background: rgba(240, 176, 62, 0.08);
  border: 1px dashed var(--gold-border);
  padding: 12px 14px;
  border-radius: var(--radius-sm);
}

.checkbox-container {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--text-dark);
  line-height: 1.4;
  user-select: none;
}

/* =====================================================
   Quantity Selector Styling
   ===================================================== */
.quantity-selector-box {
  background: var(--bg-section-alt);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  margin: 4px 0;
}

.qty-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-dark);
  display: block;
  margin-bottom: 8px;
}

.qty-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-qty {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--blue-border);
  background: #fff;
  color: var(--blue-dark);
  font-size: 1.4rem;
  font-weight: 900;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.btn-qty:hover {
  background: var(--blue-primary);
  color: #fff;
  border-color: var(--blue-primary);
}

#sim-qty-input {
  width: 50px;
  height: 36px;
  text-align: center;
  font-size: 1.1rem;
  font-weight: 800;
  border: 1.5px solid var(--border-soft);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--text-dark);
  font-family: var(--font-heading);
}

.qty-calc-hint {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--gold-dark);
  margin-right: auto;
}

.multi-esim-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 16px 0;
}

.single-esim-item-card {
  background: var(--bg-section-alt);
  border: 1.5px solid var(--blue-border);
  border-radius: var(--radius-sm);
  padding: 16px;
  text-align: center;
}

.single-esim-item-card h4 {
  color: var(--blue-dark);
  font-size: 1rem;
  margin-bottom: 10px;
}

/* =====================================================
   Admin Dashboard Styling
   ===================================================== */
.admin-dashboard-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-soft);
  padding-bottom: 16px;
}

.pricing-header-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background: var(--bg-section-alt);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
}

.admin-header-logo {
  height: 50px;
  width: auto;
  border-radius: 10px;
}

.admin-tabs-bar {
  display: flex;
  gap: 10px;
  border-bottom: 2px solid var(--border-soft);
  margin-bottom: 24px;
}

.admin-tab-btn {
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  padding: 10px 18px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  font-family: var(--font-hebrew);
  transition: all 0.2s ease;
}

.admin-tab-btn:hover {
  color: var(--blue-primary);
}

.admin-tab-btn.active {
  color: var(--blue-primary);
  border-bottom-color: var(--blue-primary);
}

.analytics-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.stat-card {
  background: var(--bg-section-alt);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stat-card.highlight-profit {
  background: rgba(34, 197, 94, 0.08);
  border-color: rgba(34, 197, 94, 0.3);
}

.stat-card.highlight-profit .stat-value {
  color: var(--green-check);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
}

.stat-value {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--text-dark);
  font-family: var(--font-heading);
}

.table-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.orders-table-wrapper {
  overflow-x: auto;
  margin-bottom: 20px;
}

.orders-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  text-align: right;
}

.orders-table th {
  background: var(--bg-section-alt);
  color: var(--text-dark);
  padding: 10px 12px;
  border-bottom: 2px solid var(--border-soft);
  font-weight: 700;
}

.orders-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border-soft);
  color: var(--text-body);
}

.prices-grid-editor {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 16px;
  max-height: 50vh;
  overflow-y: auto;
  padding-left: 6px;
}

.price-edit-item {
  background: var(--bg-section-alt);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.price-edit-item label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-dark);
}

.price-edit-item input {
  width: 80px;
  padding: 6px 10px;
  border: 1.5px solid var(--border-soft);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 800;
  font-family: var(--font-heading);
  text-align: center;
}


.checkbox-container input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--gold-primary);
  margin-top: 2px;
  cursor: pointer;
}

/* =====================================================
   Official Branded 770 SIM Email Receipt
   ===================================================== */
.official-email-card {
  background: #ffffff;
  border: 2px solid var(--blue-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 16px;
}

.email-header-banner {
  background: linear-gradient(135deg, #e8eff4 0%, #d0dfe8 100%);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  border-bottom: 2px solid var(--gold-primary);
}

.email-brand-logo {
  height: 52px;
  width: auto;
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
}

.email-title-group h3 {
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--text-dark);
  margin-bottom: 2px;
}

.email-subtitle-tag {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--blue-dark);
}

.email-body-content {
  padding: 22px;
  font-size: 0.92rem;
  line-height: 1.7;
}

.receipt-summary-box {
  background: var(--bg-section-alt);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin: 16px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.receipt-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
}

.receipt-row span {
  color: var(--text-muted);
}

.receipt-row strong {
  color: var(--text-dark);
}

.qr-scan-hint {
  display: block;
  font-size: 0.82rem;
  color: var(--blue-dark);
  font-weight: 700;
  margin-top: 4px;
}

.email-footer-note {
  border-top: 1px solid var(--border-soft);
  padding-top: 14px;
  margin-top: 18px;
  color: var(--text-muted);
  font-size: 0.84rem;
}

.action-buttons-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}


/* =====================================================
   Responsive Design
   ===================================================== */
@media (max-width: 1024px) {
  .plans-grid, .transit-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .hero-grid, .compat-box {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: -1;
    max-width: 380px;
    margin: 0 auto;
  }

  h1 {
    font-size: 2rem;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    right: 0;
    width: 100%;
    background: #fff;
    padding: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    z-index: 1000;
  }
  .nav-links.active {
    display: flex !important;
  }
  .mobile-only {
    display: block !important;
  }

  .section-header h2 {
    font-size: 1.7rem;
  }

  .floating-layover-btn {
    bottom: 16px;
    right: 16px;
    font-size: 0.82rem;
    padding: 10px 16px;
  }

  .modal-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 640px) {
  .plans-grid, .transit-grid {
    grid-template-columns: 1fr;
  }

  .hero-ctas {
    flex-direction: column;
  }

  .hero-ctas .btn-primary,
  .hero-ctas .btn-secondary {
    width: 100%;
  }

  h1 {
    font-size: 1.7rem;
  }

  .container {
    padding: 0 16px;
  }

  .plan-card {
    padding: 24px 18px;
  }

  .modal-card {
    padding: 24px;
  }
}
