/* ==========================================================================
   DeskCharm Mobile Lock Screen Coming Soon Modal Styles
   Matches the DeskCharm core editorial design system & light theme
   ========================================================================== */

.mobile-popup-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(5, 4, 20, 0.5);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s;
}

.mobile-popup-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.mobile-popup-dialog {
  background: #ffffff;
  background-image: linear-gradient(180deg, #ffffff 0%, #f8faff 100%);
  border: 1px solid var(--line, #e6ebf4);
  border-radius: var(--r-card, 24px);
  max-width: 920px;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  box-shadow: 0 24px 60px -12px rgba(5, 4, 20, 0.25), 0 8px 24px -6px rgba(5, 4, 20, 0.12);
  transform: scale(0.95) translateY(12px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  color: var(--ink, #050414);
  font-family: var(--sans, Inter, system-ui, sans-serif);
  display: flex;
  flex-direction: column;
}

.mobile-popup-backdrop.active .mobile-popup-dialog {
  transform: scale(1) translateY(0);
}

.mobile-popup-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--tint, #f1f5ff);
  border: 1px solid var(--line, #e6ebf4);
  color: var(--muted, #595967);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  z-index: 10;
  transition: background 0.15s, transform 0.15s, color 0.15s;
}

.mobile-popup-close:hover {
  background: #e4ecfc;
  color: var(--ink, #050414);
  transform: scale(1.06);
}

/* 2-Column Responsive Layout */
.mobile-popup-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 36px;
  padding: 36px;
  align-items: start;
}

@media (max-width: 820px) {
  .mobile-popup-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 28px 20px;
  }
}

/* Column 1: Interactive Phone Mockup */
.mockup-column {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.phone-mockup-frame {
  width: 280px;
  height: 510px;
  background: #090c17;
  background-image: 
    radial-gradient(circle at 50% 20%, rgba(3, 53, 252, 0.28), transparent 65%),
    linear-gradient(180deg, #090c17 0%, #121a36 60%, #090c17 100%);
  border: 9px solid #1c202d;
  border-radius: 46px;
  box-shadow: 0 20px 45px -10px rgba(5, 4, 20, 0.35), 0 0 0 1px rgba(5, 4, 20, 0.08);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 14px 14px 18px;
  user-select: none;
}

.mockup-notch {
  width: 90px;
  height: 24px;
  background: #000;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
}

.mockup-notch .notch-sensor {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #111;
  border: 1px solid #333;
}

.mockup-notch .notch-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2ebd6b;
  box-shadow: 0 0 6px #2ebd6b;
}

/* Mockup Physics Canvas */
.mockup-physics-stage {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 30;
}

.mockup-touch-handle {
  position: absolute;
  width: 80px;
  height: 100px;
  left: 50%;
  transform: translate(-50%, 0);
  cursor: grab;
  touch-action: none;
  pointer-events: auto;
  z-index: 40;
}
.mockup-touch-handle:active {
  cursor: grabbing;
}

.mockup-clock-block {
  text-align: center;
  margin-top: 24px;
  z-index: 20;
}

.mockup-date-tamil {
  font-size: 11px;
  font-weight: 600;
  color: #f7d57f;
  margin-bottom: 2px;
}

.mockup-date-en {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 4px;
}

.mockup-time {
  font-family: var(--display, "Host Grotesk", sans-serif);
  font-size: 50px;
  font-weight: 700;
  line-height: 0.95;
  color: #fff;
  letter-spacing: -0.02em;
}

.mockup-widget {
  margin-top: 10px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
  padding: 5px 12px;
  border-radius: 14px;
  font-size: 10px;
  color: #cfd9f7;
}

.mockup-bottom-hint {
  font-size: 9.5px;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
  z-index: 20;
}

.mockup-home-bar {
  width: 80px;
  height: 3.5px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 3px;
  z-index: 20;
}

.mockup-flick-hint {
  font-size: 13px;
  color: var(--muted, #595967);
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}

/* Column 2: Content, Charms & Form */
.info-column {
  display: flex;
  flex-direction: column;
}

.popup-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(3, 53, 252, 0.08);
  border: 1px solid rgba(3, 53, 252, 0.18);
  color: var(--cta, #0335fc);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 12px;
  border-radius: 99px;
  width: fit-content;
  margin-bottom: 12px;
}

.popup-title {
  font-family: var(--display, "Host Grotesk", sans-serif);
  font-size: clamp(24px, 3.2vw, 30px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--ink, #050414);
  letter-spacing: -0.025em;
  margin: 0 0 8px;
}

.popup-subtitle {
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted, #595967);
  margin: 0 0 20px;
}

/* Tamil Culture Showcase */
.tamil-charms-picker {
  background: var(--tint, #f1f5ff);
  border: 1px solid #dce4f7;
  border-radius: 18px;
  padding: 14px 16px;
  margin-bottom: 20px;
}

.tamil-picker-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--blue, #104fc8);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tamil-picker-title .picker-hint {
  font-size: 11.5px;
  color: var(--faint, #5f6070);
  font-weight: 500;
  text-transform: none;
}

.popup-charm-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(68px, 1fr));
  gap: 8px;
}

.popup-charm-item {
  background: #ffffff;
  border: 1px solid var(--line, #e6ebf4);
  border-radius: 12px;
  padding: 8px 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  box-shadow: var(--sh-hair, 0 1px 1px rgba(5,4,20,0.06));
  transition: all 0.16s ease;
}

.popup-charm-item:hover {
  border-color: #cbd5e1;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(5, 4, 20, 0.08);
}

.popup-charm-item.active {
  border-color: var(--cta, #0335fc);
  background: #ffffff;
  box-shadow: 0 0 0 1.5px var(--cta, #0335fc), 0 4px 12px rgba(3, 53, 252, 0.16);
  transform: translateY(-2px);
}

.popup-charm-item img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.popup-charm-item span {
  font-size: 11px;
  font-weight: 600;
  text-align: center;
  color: var(--ink, #050414);
  line-height: 1.2;
}

/* Architecture Callout */
.arch-card {
  background: #ffffff;
  border: 1px solid var(--line, #e6ebf4);
  border-left: 3.5px solid var(--cta, #0335fc);
  border-radius: 0 14px 14px 0;
  padding: 13px 16px;
  margin-bottom: 20px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--muted, #595967);
  box-shadow: var(--sh-hair, 0 1px 1px rgba(5,4,20,0.06));
}

.arch-card strong {
  color: var(--ink, #050414);
}

/* Waitlist Form */
.popup-waitlist-box {
  background: #ffffff;
  border: 1px solid var(--line, #e6ebf4);
  border-radius: 18px;
  padding: 18px;
  box-shadow: var(--sh-card, 0 8px 8px -3px rgba(5,4,20,0.04));
}

.popup-waitlist-box .waitlist-label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink, #050414);
  margin-bottom: 6px;
}

.waitlist-form-row {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

@media (max-width: 540px) {
  .waitlist-form-row {
    flex-direction: column;
  }
}

.popup-input {
  flex: 1;
  background: #ffffff;
  border: 1px solid var(--line, #e6ebf4);
  border-radius: 12px;
  padding: 12px 16px;
  color: var(--ink, #050414);
  font-family: var(--sans, Inter, system-ui, sans-serif);
  font-size: 14.5px;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.03);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.popup-input:focus {
  border-color: var(--cta, #0335fc);
  box-shadow: 0 0 0 3px rgba(3, 53, 252, 0.12);
}

.popup-submit-btn {
  background: var(--cta, #0335fc);
  border: none;
  border-radius: 99px;
  padding: 12px 22px;
  color: #fff;
  font-family: var(--sans, Inter, system-ui, sans-serif);
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(3, 53, 252, 0.25);
  white-space: nowrap;
  transition: transform 0.16s, background 0.16s, box-shadow 0.16s;
}

.popup-submit-btn:hover {
  background: var(--blue-2, #0230e8);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(3, 53, 252, 0.32);
}

.popup-submit-btn:active {
  transform: translateY(0);
}

.platform-radios {
  display: flex;
  gap: 16px;
  margin-top: 10px;
  font-size: 13px;
  color: var(--muted, #595967);
}

.platform-radios label {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.platform-radios input[type="radio"] {
  accent-color: var(--cta, #0335fc);
}

.waitlist-stats-text {
  font-size: 12.5px;
  color: var(--blue, #104fc8);
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}

/* Real Mobile Test QR Row */
.qr-test-row {
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line, #e6ebf4);
}

.qr-code-box {
  width: 68px;
  height: 68px;
  background: #ffffff;
  border: 1px solid var(--line, #e6ebf4);
  border-radius: 12px;
  padding: 5px;
  flex: 0 0 auto;
  box-shadow: var(--sh-hair, 0 1px 1px rgba(5,4,20,0.06));
}

.qr-code-box svg {
  width: 100%;
  height: 100%;
  display: block;
}

.qr-text-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.qr-text-title {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink, #050414);
}

.qr-text-desc {
  font-size: 12.5px;
  color: var(--muted, #595967);
  line-height: 1.4;
}

.qr-text-desc a {
  color: var(--blue, #104fc8);
  font-weight: 600;
  text-decoration: underline;
}

.qr-text-desc a:hover {
  color: var(--cta, #0335fc);
}
