/* ══════════════════════════════════════════
   INFINITY APEX — qrcode.css
   Mobile-Optimized Digital Contact Page
   ══════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,400&display=swap');

:root {
  --gold: #d4af37;
  --gold-lt: #fdf0a6;
  --gold-dk: #aa8825;
  --gold-glow: rgba(212, 175, 55, 0.25);
  --gold-glow-subtle: rgba(212, 175, 55, 0.1);
  --black: #05070a;
  --dark: #0a0e17;
  --dark2: #121824;
  --dark3: #1a2334;
  --white: #fdfcf7;
  --gray: #9ba4b5;
  --gray-lt: #c5cdd9;
  --border: rgba(212, 175, 55, 0.2);
  --border-glass: rgba(255, 255, 255, 0.08);
  --card-bg: rgba(18, 24, 36, 0.82);
  --card-bg-hover: rgba(26, 35, 52, 0.9);
  --whatsapp: #25d366;
  --whatsapp-glow: rgba(37, 211, 102, 0.25);
  --primary-font: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --serif-font: 'Playfair Display', Georgia, serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  font-size: 16px;
  background-color: var(--black);
  color-scheme: dark;
}

body {
  font-family: var(--primary-font);
  background-color: var(--black);
  color: var(--white);
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 16px 14px 40px;
  position: relative;
  overflow-x: hidden;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* ── Ambient Background Lighting ── */
.ambient-glow {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  max-width: 600px;
  height: 480px;
  background: radial-gradient(circle at 50% 20%, rgba(212, 175, 55, 0.15) 0%, rgba(212, 175, 55, 0.03) 55%, transparent 75%);
  pointer-events: none;
  z-index: 0;
}

.ambient-glow-bottom {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  max-width: 600px;
  height: 350px;
  background: radial-gradient(circle at 50% 90%, rgba(18, 24, 36, 0.8) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* ── Mobile Container ── */
.mobile-wrapper {
  width: 100%;
  max-width: 440px;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0 auto;
}

/* ── Brand Hero Header ── */
.brand-card {
  background: linear-gradient(180deg, rgba(22, 30, 46, 0.85) 0%, var(--card-bg) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 28px 20px 24px;
  text-align: center;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.brand-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 15%;
  right: 15%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.logo-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 18px;
}

.brand-logo {
  max-width: 210px;
  height: auto;
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.5));
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.35);
  color: var(--gold-lt);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: 100px;
  margin-bottom: 12px;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px var(--gold);
}

.company-title {
  font-family: var(--serif-font);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--white);
  margin-bottom: 6px;
}

.company-title span {
  color: var(--gold);
}

.company-desc {
  font-size: 0.88rem;
  color: var(--gray);
  line-height: 1.45;
  max-width: 340px;
  margin: 0 auto 16px;
}

.company-meta-strip {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  font-size: 0.78rem;
  color: var(--gray-lt);
  border-top: 1px solid var(--border-glass);
  padding-top: 14px;
}

.company-meta-strip span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.company-meta-strip .bullet {
  color: var(--gold);
  opacity: 0.7;
}

/* ── Primary Action Buttons (Call / WhatsApp / Save) ── */
.primary-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.btn-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 12px;
  border-radius: 18px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.88rem;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid transparent;
  cursor: pointer;
  text-align: center;
}

.btn-action:active {
  transform: scale(0.97);
}

.btn-action-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all 0.2s ease;
}

/* Call Button (Gold) */
.btn-call {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dk) 100%);
  color: #030508;
  box-shadow: 0 8px 24px var(--gold-glow);
  grid-column: span 1;
}

.btn-call .btn-action-icon {
  background: rgba(0, 0, 0, 0.15);
  color: #030508;
}

.btn-call:hover {
  filter: brightness(1.08);
}

/* WhatsApp Button (Green) */
.btn-whatsapp {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #ffffff;
  box-shadow: 0 8px 24px var(--whatsapp-glow);
  grid-column: span 1;
}

.btn-whatsapp .btn-action-icon {
  background: rgba(0, 0, 0, 0.15);
  color: #ffffff;
}

.btn-whatsapp:hover {
  filter: brightness(1.08);
}

/* Full Width Save Contact Button */
.btn-save-contact {
  grid-column: span 2;
  flex-direction: row;
  background: linear-gradient(180deg, rgba(28, 37, 54, 0.95) 0%, rgba(18, 24, 36, 0.95) 100%);
  border: 1px solid var(--border);
  color: var(--gold-lt);
  padding: 14px 20px;
  gap: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.btn-save-contact .btn-action-icon {
  width: 34px;
  height: 34px;
  background: rgba(212, 175, 55, 0.15);
  color: var(--gold);
  font-size: 1rem;
}

.btn-save-contact:hover {
  background: rgba(28, 37, 54, 1);
  border-color: var(--gold);
}

/* ── Section Title ── */
.section-label {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin: 6px 4px 2px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border-glass);
}

/* ── Contact Details List ── */
.contact-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-card {
  background: var(--card-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-glass);
  border-radius: 18px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: all 0.2s ease;
}

.contact-card:hover {
  border-color: var(--border);
  background: var(--card-bg-hover);
}

.contact-card-left {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  flex: 1;
}

.contact-icon-bubble {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.2);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.15rem;
}

.contact-info {
  min-width: 0;
}

.contact-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gray);
  margin-bottom: 2px;
}

.contact-val {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
  text-decoration: none;
}

.contact-val:hover {
  color: var(--gold-lt);
}

.contact-subval {
  font-size: 0.78rem;
  color: var(--gray);
  margin-top: 1px;
}

.contact-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.btn-mini {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  color: var(--gray-lt);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn-mini:hover,
.btn-mini:active {
  background: rgba(212, 175, 55, 0.18);
  border-color: var(--gold);
  color: var(--gold-lt);
}

.btn-mini.copy-active {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
}

/* ── Service Highlights Grid ── */
.services-card {
  background: var(--card-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  padding: 18px 16px;
}

.services-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 10px;
}

.service-chip {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  color: var(--gray-lt);
  font-size: 0.78rem;
  padding: 6px 12px;
  border-radius: 100px;
  transition: all 0.2s ease;
}

.service-chip:hover {
  border-color: var(--border);
  color: var(--gold-lt);
  background: rgba(212, 175, 55, 0.08);
}

/* ── Secondary Quick Links (Website & Share) ── */
.secondary-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.btn-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--card-bg);
  border: 1px solid var(--border-glass);
  color: var(--white);
  padding: 13px 14px;
  border-radius: 16px;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn-secondary:hover,
.btn-secondary:active {
  background: var(--card-bg-hover);
  border-color: var(--border);
  color: var(--gold-lt);
}

.btn-secondary svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

/* ── Footer ── */
.page-footer {
  text-align: center;
  padding: 12px 10px 0;
  font-size: 0.74rem;
  color: var(--gray);
  line-height: 1.5;
}

.page-footer a {
  color: var(--gold);
  text-decoration: none;
}

/* ── Toast Notification ── */
.toast-msg {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: rgba(18, 24, 36, 0.95);
  border: 1px solid var(--gold);
  color: var(--white);
  padding: 11px 22px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 15px var(--gold-glow);
  pointer-events: none;
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

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

.toast-icon {
  color: var(--gold);
  font-size: 1rem;
}

/* ── Responsive adjustments for very small screens ── */
@media (max-width: 360px) {
  .company-title {
    font-size: 1.35rem;
  }
  .btn-action {
    padding: 14px 8px;
    font-size: 0.82rem;
  }
  .contact-card {
    padding: 12px;
  }
}
