/* ==========================================================================
   GLANCE APPLE PRO SUPPORT PAGE (donation.css)
   Builds directly on styles.css design tokens for 100% Apple consistency
   ========================================================================== */

.apple-theme {
  background-color: var(--bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.support-page-wrap {
  flex: 1;
  width: min(var(--measure), calc(100% - 64px));
  margin: 0 auto;
  padding: clamp(30px, 5vw, 60px) 0 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Download Notification Bar */
.download-notice-bar {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(0, 113, 227, 0.15);
  border: 1px solid rgba(0, 113, 227, 0.35);
  padding: 8px 18px;
  border-radius: 100px;
  margin: 0 auto 36px;
  font-size: 14px;
  color: #cce4ff;
}

.download-notice-bar[hidden] {
  display: none;
}

.live-dot {
  width: 8px;
  height: 8px;
  background-color: #2ed573;
  border-radius: 50%;
  box-shadow: 0 0 10px #2ed573;
}

/* Two-column Split Container */
.support-split-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 84px);
  align-items: center;
}

/* ==========================================================================
   LEFT COLUMN: INTERACTIVE APPLE DISPLAY STAGE
   ========================================================================== */
.visual-column {
  position: relative;
}

.apple-art-stage {
  position: relative;
  isolation: isolate;
  display: flex;
  justify-content: center;
  align-items: center;
}

.ambient-glow {
  position: absolute;
  inset: -15% -20%;
  background: radial-gradient(ellipse at center, #132a53 0%, #0b1425 45%, transparent 72%);
  pointer-events: none;
  z-index: -1;
}

.video-display-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 22px;
  overflow: hidden;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.75), 0 0 45px rgba(0, 113, 227, 0.25);
  cursor: ew-resize;
}

.interactive-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  display: block;
}

.frame-glass-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, transparent 45%);
  pointer-events: none;
}



/* ==========================================================================
   RIGHT COLUMN: APPLE PRO SUPPORT CARD
   ========================================================================== */
.content-column {
  display: flex;
  flex-direction: column;
}

.support-card-apple {
  display: flex;
  flex-direction: column;
}

.support-heading {
  font-size: clamp(2.3rem, 4.2vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin: 12px 0 16px;
  text-align: left;
}

.support-intro {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  line-height: 1.5;
  color: #b0b3bc;
  margin: 0 0 28px;
  text-align: left;
  max-width: 32em;
}

.apple-form {
  display: flex;
  flex-direction: column;
}

.section-label {
  font-size: 13.5px;
  font-weight: 600;
  color: #8a8d98;
  margin: 0 0 12px;
}

/* Segmented Pills Grid */
.apple-pills-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  border: 0;
  padding: 0;
  margin: 0 0 16px;
}

.apple-pill {
  position: relative;
  cursor: pointer;
}

.apple-pill input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.pill-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #14161b;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 12px 10px;
  text-align: center;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.pill-inner:hover {
  background: #1a1d24;
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-1px);
}

.apple-pill input:checked + .pill-inner {
  background: rgba(0, 113, 227, 0.16);
  border-color: var(--blue);
  box-shadow: 0 0 20px rgba(0, 113, 227, 0.3);
}

.p-amount {
  font-family: var(--display);
  font-size: 17px;
  font-weight: 700;
  color: #f5f5f7;
  letter-spacing: -0.01em;
}

.apple-pill input:checked + .pill-inner .p-amount {
  color: #80bfff;
}

.p-desc {
  font-size: 12.5px;
  color: #8e909a;
  margin-top: 2px;
}

/* Dynamic Note Text (Clean Apple Subtitle, No colored box) */
.apple-preset-note {
  font-size: 13.5px;
  color: var(--text-muted);
  margin: -2px 0 18px;
  min-height: 20px;
  line-height: 1.45;
  text-align: left;
}

/* Custom Input Field */
.custom-amount-field {
  margin-bottom: 20px;
}

.custom-amount-field label {
  display: block;
  font-size: 13.5px;
  color: #8a8d98;
  margin-bottom: 8px;
}

.apple-input-wrapper {
  display: flex;
  align-items: center;
  background: #14161b;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 0 16px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.apple-input-wrapper:focus-within {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.25);
  background: #181b22;
}

.apple-input-wrapper input {
  width: 100%;
  background: transparent;
  border: 0;
  outline: 0;
  color: #f5f5f7;
  font-family: var(--display);
  font-size: 16px;
  font-weight: 600;
  padding: 13px 0;
}

.currency-label {
  font-size: 13px;
  font-weight: 700;
  color: #727480;
}

/* Apple CTA Submit Button */
.apple-submit-btn {
  width: 100%;
  min-height: 48px;
  font-size: 16px;
  box-shadow: 0 4px 18px rgba(0, 113, 227, 0.35);
  margin-top: 4px;
}

.apple-submit-btn:hover:not(:disabled) {
  box-shadow: 0 8px 24px rgba(0, 113, 227, 0.5);
  transform: translateY(-1px);
}

.support-status {
  font-size: 13.5px;
  color: #ff9f43;
  margin: 10px 0 0;
  text-align: center;
  min-height: 20px;
}

.support-status:empty {
  display: none;
}

.skip-action {
  margin-top: 18px;
  text-align: center;
}

/* ==========================================================================
   RESPONSIVE DESIGN (Tablets & Mobile)
   ========================================================================== */
@media (max-width: 900px) {
  .support-page-wrap {
    padding: 24px 0 50px;
  }
  .support-split-container {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .video-display-frame {
    max-width: 520px;
    margin: 0 auto;
  }
  .support-heading {
    font-size: 2.4rem;
  }
}
