/* ═══════════════════════════════════════════════════════════════
   IZZ — Digital Authentication  ·  style.css
   FULL RESTORATION: Vibrant colors + all structural transitions.
═══════════════════════════════════════════════════════════════ */

/* ── DESIGN TOKENS ─────────────────────────────────────────── */
:root {
  --izz-primary:      #0159D1; 
  --izz-primary-dark: #0047AB; 
  --izz-primary-deep: #003580; 
  --izz-accent:       #3A91FF; 

  --izz-bg-start:     #0159D1; 
  --izz-bg-mid:       #0047AB; 
  --izz-bg-end:       #003580; 

  --izz-text:         #FFFFFF; 
  --izz-text-muted:   rgba(255, 255, 255, 0.7); 
  --izz-text-dim:     rgba(255, 255, 255, 0.5);
  --izz-text-soft:    #FFFFFF;

  --izz-card-bg:      rgba(255, 255, 255, 0.08); 
  --izz-card-border:  rgba(255, 255, 255, 0.15);

  --r-sm:   8px;
  --r-md:   14px;
  --r-lg:   22px;
  --r-xl:   28px;
  --r-full: 9999px;
}

/* ── RESET / BASE ───────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  height: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--izz-text);
  background-color: var(--izz-primary-dark);
  min-height: 100%;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  /* RESTORED: body transition for JS-controlled fade-out */
  transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

a  { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img, svg { display: block; max-width: 100%; }

/* ── TYPOGRAPHY UTILITIES ───────────────────────────────────── */
.font-heading { font-family: 'Manrope', sans-serif; }
.font-body    { font-family: 'DM Sans', sans-serif; }
.font-800     { font-weight: 800; }
.font-700     { font-weight: 700; }
.font-600     { font-weight: 600; }
.font-500     { font-weight: 500; }

.gjs-t-body  {}
.cls-xfdm8x  {}

/* ── PAGE WRAPPER + HERO BACKGROUND ────────────────────────── */
.hero-bg,
.page-wrapper {
  min-height: 100dvh;
  background: linear-gradient(180deg, 
    var(--izz-bg-start) 0%, 
    var(--izz-bg-mid) 100%);
  display: flex;
  flex-direction: column;
}

/* ── MAIN CONTENT ───────────────────────────────────────────── */
.main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
}

/* ── HERO SECTION ───────────────────────────────────────────── */
.hero-section {
  padding: 1.5rem 1rem 2rem;
}

.hero-visual {
  width: 100%;
  display: flex;
  justify-content: center;
}

/* ── PHONE MOCKUP FRAME ─────────────────────────────────────── */
.soft-outline-strong,
.phone-mockup-frame {
  width: 100%;
  max-width: 340px;
  margin: 0 auto;
  border-radius: var(--r-xl);
  border: 1.5px solid var(--izz-card-border);
  box-shadow:
    0 0 0 6px  rgba(255, 255, 255, 0.05),
    0 28px 70px rgba(0, 0, 0, 0.40);
  overflow: hidden;
  background: linear-gradient(180deg,
    rgba(255, 255, 255, 0.06) 0%,
    rgba(255, 255, 255, 0.02) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

/* ── PHONE MOCKUP INNER PANELS ──────────────────────────────── */
.blue-panel,
.scan-grid,
.phone-mockup {
  display: flex;
  flex-direction: column;
  background: transparent;
}

/* ── PHONE HEADER ───────────────────────────────────────────── */
.phone-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px 12px;
  border-bottom: 1px solid var(--izz-card-border);
}

.phone-title-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.phone-eyebrow {
  font-size: 0.40rem;
  font-weight: 500;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--izz-accent);
  opacity: 0.9;
}

.phone-title {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--izz-text);
  line-height: 1.2;
}

/* ── STATUS CHIP ────────────────────────────────────────────── */
.status-chip {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 0.68rem;
  letter-spacing: 0.5px;
  color: #2ECC71; 
  background: rgba(46, 204, 113, 0.12);
  border: 1px solid rgba(46, 204, 113, 0.25);
  border-radius: var(--r-full);
  padding: 4px 10px;
  white-space: nowrap;
}

/* ── SCAN ITEM WRAPPER ──────────────────────────────────────── */
.izz-scan-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 100%;
}

/* ── CIRCLE ANCHORS ─────────────────────────────────────────── */
.izz-circle-anchor,
.nfc-scan-card,
.qr-scan-card {
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-tap-highlight-color: transparent;
  text-decoration: none;
}

/* ── SCANNER CIRCLES ────────────────────────────────────────── */
.scanner-circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(145deg,
    rgba(255, 255, 255, 0.15) 0%,
    rgba(255, 255, 255, 0.05) 100%);
  border: 2px solid rgba(255, 255, 255, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 0 0 8px  rgba(255, 255, 255, 0.03),
    0 18px 40px rgba(0, 0, 0, 0.25);
  /* RESTORED: Hover and Scale transitions */
  transition: box-shadow 0.3s ease, transform 0.2s ease;
  position: relative;
}

.scanner-circle:hover {
  box-shadow:
    0 0 0 12px rgba(255, 255, 255, 0.08),
    0 22px 50px rgba(0, 0, 0, 0.35);
  transform: scale(1.03);
}

.scanner-circle:active {
  transform: scale(0.97);
}

.scanner-inner-circle {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: linear-gradient(145deg,
    rgba(255, 255, 255, 0.15) 0%,
    rgba(255, 255, 255, 0.08) 100%);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 2px 10px rgba(0,0,0,0.15);
}

/* ── BUTTON ICON ────────────────────────────────────────────── */
.izz-btn-icon {
  display: inline-block;
  width: 64px;
  height: 64px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

/* ── INFO CARDS SECTION ─────────────────────────────────────── */
.izz-info-section {
  padding: 0 1rem 1.5rem;
  max-width: 72rem;
  margin: 0 auto;
  width: 100%;
}

.izz-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.izz-info-card {
  background: var(--izz-card-bg);
  border: 1px solid var(--izz-card-border);
  border-radius: var(--r-lg);
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  /* RESTORED: Card hover transitions */
  transition: background 0.2s ease, border-color 0.2s ease;
}

.izz-info-card:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
}

.izz-info-icon {
  font-size: 1.5rem;
  line-height: 1;
}

.izz-info-title {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 0.92rem;
  color: var(--izz-text);
  line-height: 1.3;
}

.izz-info-text {
  font-size: 0.80rem;
  color: var(--izz-text-muted);
  line-height: 1.55;
}

/* ── FOOTER ─────────────────────────────────────────────────── */
.footer {
  padding: 28px 1rem 36px;
  border-top: 1px solid var(--izz-card-border);
  background: rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  margin-top: auto;
}

.footer-container {
  max-width: 72rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  text-align: center;
}

.izz-footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: center;
  align-items: center;
}

.izz-footer-link {
  font-size: 0.80rem;
  font-weight: 600;
  color: var(--izz-text-muted);
  letter-spacing: 0.2px;
  /* RESTORED: Link transition */
  transition: color 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
}

.izz-footer-link:hover {
  color: var(--izz-text-soft);
}

.izz-footer-copy {
  font-size: 0.72rem;
  color: var(--izz-text-dim);
  font-family: 'DM Sans', sans-serif;
  letter-spacing: 0.3px;
}

/* ── UTILITIES ─────────────────────────────────────────────── */
.about-us-content { display: block; }
.chat-header-info { display: flex; flex-direction: column; gap: 1px; }
.meta-box {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--izz-card-border);
  border-radius: var(--r-md);
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 10px;
}
.page-link { cursor: pointer; }

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 520px) {
  .izz-info-grid { grid-template-columns: 1fr; gap: 10px; }
}

@media (max-width: 480px) {
  .soft-outline-strong, .phone-mockup-frame { max-width: 100%; border-radius: var(--r-lg); }
  .scanner-circle { width: 140px; height: 140px; }
  .scanner-inner-circle { width: 96px; height: 96px; }
  .izz-btn-icon { width: 52px; height: 52px; }
  .footer { padding: 24px 1rem 32px; }
}