@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {

  --bg: #0a1220;

  --bg-alt: #0e1b2e;

  --surface: #121f36;

  --surface-2: #17263f;

  --border: #223252;

  --text: #e8edf6;

  --text-dim: #8b97ae;

  --accent: #22d3a6;

  --accent-dim: #1a7a5f;

  --info: #6c94f2;

  --danger: #ff6b7a;

  --mono: 'JetBrains Mono', 'Consolas', monospace;

  --sans: 'Manrope', -apple-system, 'Segoe UI', sans-serif;

}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {

  margin: 0;

  background: var(--bg);

  background-image:

    radial-gradient(ellipse 900px 500px at 50% -10%, rgba(34, 211, 166, 0.10), transparent),

    radial-gradient(ellipse 700px 400px at 90% 20%, rgba(108, 148, 242, 0.08), transparent);

  color: var(--text);

  font-family: var(--sans);

  line-height: 1.5;

  min-height: 100vh;

}

a { color: var(--accent); }

.wrap {

  max-width: 760px;

  margin: 0 auto;

  padding: 0 20px;

}

th, td{padding:8px; border:1px solid #11213c}

th{background:#11213c}

/* ---- Header ---- */

header.top {

  padding: 28px 0 0;

}

.top-row {

  display: flex;

  align-items: center;

  justify-content: space-between;

}

.brand {

  display: flex;

  align-items: center;

  gap: 10px;

  font-weight: 800;

  font-size: 19px;

  letter-spacing: -0.02em;

}

.brand .dot {

  width: 9px; height: 9px; border-radius: 50%;

  background: var(--accent);

  box-shadow: 0 0 12px var(--accent);

}

.brand small {

  color: var(--text-dim);

  font-weight: 500;

  font-size: 13px;

}

nav.top-nav a {

  color: var(--text-dim);

  text-decoration: none;

  font-size: 14px;

  font-weight: 600;

  margin-left: 22px;

}

nav.top-nav a:hover { color: var(--text); }

/* ---- Hero ---- */

.hero { text-align: center; padding: 56px 0 8px; }

.eyebrow {

  display: inline-block;

  font-family: var(--mono);

  font-size: 12px;

  letter-spacing: 0.14em;

  text-transform: uppercase;

  color: var(--accent);

  background: rgba(34, 211, 166, 0.08);

  border: 1px solid rgba(34, 211, 166, 0.25);

  padding: 5px 12px;

  border-radius: 20px;

  margin-bottom: 22px;

}

h1 {

  font-size: 40px;

  font-weight: 800;

  letter-spacing: -0.03em;

  margin: 0 0 12px;

}

h1 span { color: var(--accent); }

.hero p.sub {

  color: var(--text-dim);

  font-size: 16px;

  max-width: 480px;

  margin: 0 auto;

}

p,ol,ul {

  color: var(--text-dim);

  font-size: 16px;

  margin: 0 auto;

}

.faq-list summary{padding:10px 0;}

/* ---- SIM-card shaped checker (signature element) ---- */

.sim-card {

  position: relative;

  margin: 40px auto 0;

  max-width: 560px;

  background: linear-gradient(155deg, var(--surface) 0%, var(--surface-2) 100%);

  border: 1px solid var(--border);

  border-radius: 22px;

  padding: 34px 32px 30px;

  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.55);

}

/* notch corner, like a physical SIM card */

.sim-card::before {

  content: '';

  position: absolute;

  top: -1px; right: -1px;

  width: 46px; height: 46px;

  background: var(--bg);

  border-left: 1px solid var(--border);

  border-bottom: 1px solid var(--border);

  border-radius: 0 22px 0 22px;

}

.sim-contacts {

  display: grid;

  grid-template-columns: repeat(6, 1fr);

  gap: 3px;

  width: 80px;

  height: 34px;

  margin-bottom: 22px;

}

.sim-contacts span {

  background: linear-gradient(180deg, #3a4d6e, #253a58);

  border-radius: 2px;

}

label.field-label {

  display: block;

  font-size: 12px;

  font-weight: 700;

  text-transform: uppercase;

  letter-spacing: 0.09em;

  color: var(--text-dim);

  margin-bottom: 10px;

}

.imei-input-row { display: flex; gap: 10px; }

input#imeiInput {

  flex: 1;

  background: var(--bg-alt);

  border: 1.5px solid var(--border);

  border-radius: 12px;

  color: var(--text);

  font-family: var(--mono);

  font-size: 20px;

  letter-spacing: 0.06em;

  padding: 15px 16px;

  outline: none;

  transition: border-color 0.15s, box-shadow 0.15s;

}

input#imeiInput::placeholder { color: #4a5b7a; letter-spacing: 0.06em; }

input#imeiInput:focus {

  border-color: var(--accent);

  box-shadow: 0 0 0 4px rgba(34, 211, 166, 0.12);

}

button#checkBtn {

  background: var(--accent);

  color: #06251c;

  border: none;

  border-radius: 12px;

  padding: 0 26px;

  font-family: var(--sans);

  font-weight: 800;

  font-size: 15px;

  cursor: pointer;

  transition: transform 0.1s, background 0.15s;

}

button#checkBtn:hover { background: #34e4b6; }

button#checkBtn:active { transform: scale(0.97); }

button#checkBtn:disabled { opacity: 0.6; cursor: default; }

.hint-row {

  display: flex;

  justify-content: space-between;

  margin-top: 10px;

  font-size: 12.5px;

  color: var(--text-dim);

}

.hint-row a { color: var(--info); text-decoration: none; cursor: pointer; }

/* ---- Result card ---- */

#resultArea { margin-top: 18px; }

.result-card {

  border-radius: 16px;

  padding: 22px 24px;

  border: 1px solid var(--border);

  background: var(--bg-alt);

  animation: rise 0.25s ease;

}

@keyframes rise {

  from { opacity: 0; transform: translateY(6px); }

  to { opacity: 1; transform: translateY(0); }

}

.result-status {

  display: flex;

  align-items: center;

  gap: 10px;

  font-weight: 800;

  font-size: 15px;

  margin-bottom: 16px;

}

.result-status .badge {

  width: 22px; height: 22px;

  border-radius: 50%;

  display: flex; align-items: center; justify-content: center;

  font-size: 13px;

  flex-shrink: 0;

}

.badge.ok { background: rgba(34,211,166,0.18); color: var(--accent); }

.badge.warn { background: rgba(255,183,77,0.18); color: #ffb74d; }

.badge.bad { background: rgba(255,107,122,0.18); color: var(--danger); }

.spec-grid {

  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 14px 20px;

}

.spec-grid .spec { border-top: 1px solid var(--border); padding-top: 10px; }

.spec .k {

  font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em;

  color: var(--text-dim); font-weight: 700; margin-bottom: 3px;

}

.spec .v { font-size: 15px; font-weight: 600; }

.spec .v.mono { font-family: var(--mono); }

.result-error {

  color: var(--danger);

  font-size: 14px;

  font-weight: 600;

}

/* ---- Info sections below fold ---- */

.info-section { padding: 60px 0 10px; }

.info-section h2 {

  font-size: 22px;

  font-weight: 800;

  letter-spacing: -0.01em;

  margin-bottom: 14px;

}

.info-section p, .info-section li {

  color: var(--text-dim);

  font-size: 14.5px;

}

.info-grid {

  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 18px;

  margin-top: 18px;

}

.info-grid .card {

  background: var(--surface);

  border: 1px solid var(--border);

  border-radius: 14px;

  padding: 18px 20px;

}

.info-grid .card h3 {

  font-size: 14.5px;

  margin: 0 0 6px;

  color: var(--text);

}

.info-grid .card p { margin: 0; font-size: 13.5px; }

.stats-strip {

  display: flex;

  justify-content: center;

  gap: 40px;

  margin-top: 44px;

  padding: 20px 0;

  border-top: 1px solid var(--border);

  border-bottom: 1px solid var(--border);

}

.stats-strip .stat { text-align: center; }

.stats-strip .stat .num {

  font-family: var(--mono);

  font-size: 24px;

  font-weight: 700;

  color: var(--accent);

}

.stats-strip .stat .lbl {

  font-size: 12px;

  color: var(--text-dim);

  text-transform: uppercase;

  letter-spacing: 0.06em;

}

footer {

  text-align: center;

  color: var(--text-dim);

  font-size: 13px;

  padding: 50px 0 40px;

}

footer a { color: var(--text-dim); text-decoration: underline; }

/* ---- Mobile Drawer Menu styles ---- */
.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 20px;
  height: 14px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.hamburger-btn .bar {
  width: 100%;
  height: 2px;
  background: var(--text-dim);
  border-radius: 2px;
  transition: all 0.2s ease-in-out;
}

.hamburger-btn:hover .bar {
  background: var(--text);
}

.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(4, 11, 22, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-menu-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 280px;
  height: 100%;
  background: var(--surface);
  border-left: 1px solid var(--border);
  box-shadow: -10px 0 30px rgba(0,0,0,0.5);
  padding: 40px 24px;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1002;
}

.mobile-menu-overlay.open .mobile-menu-drawer {
  transform: translateX(0);
}

.mobile-menu-drawer .close-btn {
  background: transparent;
  border: none;
  font-size: 32px;
  color: var(--text-dim);
  align-self: flex-end;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  margin-bottom: 30px;
}

.mobile-menu-drawer .close-btn:hover {
  color: var(--text);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mobile-nav-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.03);
  transition: color 0.15s;
}

.mobile-nav-links a:hover {
  color: var(--accent);
}

@media (max-width: 600px) {
  h1 { font-size: 30px; }
  .imei-input-row { flex-direction: column; }
  button#checkBtn { padding: 14px; }
  .info-grid { grid-template-columns: 1fr; }
  .spec-grid { grid-template-columns: 1fr; }
  nav.top-nav { display: none; }
  .hamburger-btn { display: flex; }
}
