/* ════════════════════════════════════════════════════
   gemini-removal.css
   Page-specific styles for /gemini-removal
   Loaded alongside style.css (shared site styles)
   ════════════════════════════════════════════════════ */

/* ── Hero overrides ── */
.hero-band.gemini-hero {
  --hero-from: #1a1a3e;
  --hero-mid:  #1565c0;
  --hero-to:   #4a148c;
  --hero-glow: rgba(66,133,244,.3);
  background: linear-gradient(135deg, #1a1a3e 0%, #1565c0 45%, #6a1b9a 100%);
}
.hero-band.gemini-hero h1 span { color: #90caf9; }

.hero-eyebrow.gemini-eyebrow {
  background: rgba(144,202,249,.15);
  border-color: rgba(144,202,249,.35);
  color: rgba(255,255,255,.92);
}
.hero-eyebrow.gemini-eyebrow::before { background: #4285f4; }

/* ── Tool card accent ── */
.gemini-tool-card {
  max-width: 780px;
  margin: 0 auto;
}

.gemini-icon-bg {
  background: #e8eaf6 !important;
}
[data-theme="dark"] .gemini-icon-bg {
  background: rgba(66,133,244,.15) !important;
}

/* ── Drop zone ── */
.gemini-drop-zone {
  border: 2.5px dashed var(--bd-strong);
  border-radius: var(--r-xl);
  padding: 3rem 2rem;
  text-align: center;
  cursor: pointer;
  background: var(--bg-subtle);
  transition: all .25s var(--ease);
  margin-bottom: 1.25rem;
  position: relative;
}
.gemini-drop-zone:hover,
.gemini-drop-zone.drag-over {
  border-color: #4285f4;
  background: #e8eaf6;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(66,133,244,.15);
}
[data-theme="dark"] .gemini-drop-zone:hover,
[data-theme="dark"] .gemini-drop-zone.drag-over {
  background: rgba(66,133,244,.1);
}
.gemini-drop-icon {
  font-size: 3.5rem;
  margin-bottom: .85rem;
  transition: transform .25s var(--ease);
}
.gemini-drop-zone:hover .gemini-drop-icon { transform: scale(1.1); }
.gemini-drop-title {
  font-size: 1.2rem; font-weight: 700;
  color: var(--tx-primary); margin-bottom: .4rem;
}
.gemini-drop-sub {
  font-size: .9rem; color: var(--tx-muted); margin-bottom: .3rem;
}
.gemini-drop-sub strong { color: var(--tx-secondary); }
.gemini-drop-note {
  font-size: .78rem; color: var(--tx-faint);
}

/* ── Controls ── */
.gemini-controls {
  display: flex; gap: .85rem; justify-content: center;
  margin-bottom: 1rem;
}
.gemini-btn-process {
  background: linear-gradient(135deg, #4285f4, #1565c0);
  color: #fff;
  padding: .95rem 2rem !important;
}
.gemini-btn-process:hover:not(:disabled) {
  filter: brightness(1.1);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(66,133,244,.4) !important;
}
.gemini-btn-process:disabled { opacity: .5; cursor: not-allowed; transform: none !important; }

.gemini-btn-clear {
  background: var(--red-bg);
  color: var(--red-tx);
  border: 1.5px solid var(--red-bd);
  padding: .95rem 1.5rem !important;
}
.gemini-btn-clear:hover {
  background: #fee2e2;
  transform: translateY(-1px);
}
[data-theme="dark"] .gemini-btn-clear:hover { background: rgba(239,68,68,.15); }

/* ── Status ── */
.gemini-status {
  min-height: 1.6em;
  font-weight: 600; font-size: .92rem;
  text-align: center; padding: .4rem;
  color: var(--tx-muted); transition: all .25s;
}
.gemini-status.success { color: var(--green); }
.gemini-status.error   { color: var(--red-tx); }

/* Spinner */
.gemini-spinner {
  display: inline-block;
  width: 1em; height: 1em;
  border: 2px solid rgba(66,133,244,.25);
  border-top-color: #4285f4;
  border-radius: 50%;
  animation: geminiSpin .6s linear infinite;
  vertical-align: middle; margin-left: .4rem;
}
@keyframes geminiSpin { to { transform: rotate(360deg); } }

/* ── Gallery ── */
.gemini-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 1.75rem;
  margin-top: 1.25rem;
}
@media (max-width: 500px) {
  .gemini-gallery { grid-template-columns: 1fr; }
}

/* ── Result card ── */
.gemini-result-card {
  background: var(--bg-elevated);
  border: 1px solid var(--bd-default);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--sh-md);
  transition: all .25s var(--ease);
  animation: fadeUp .45s cubic-bezier(.22,1,.36,1) both;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}
.gemini-result-card:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); }

/* Card header */
.gemini-card-head {
  padding: .85rem 1.25rem;
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--bd-default);
  font-weight: 700; font-size: .88rem;
  color: var(--tx-primary);
  display: flex; align-items: center; gap: .5rem;
}
.gemini-card-head span {
  font-size: .65rem; font-weight: 600;
  background: linear-gradient(135deg,#4285f4,#6a1b9a);
  color: #fff; padding: .2rem .6rem; border-radius: 999px;
  margin-left: auto; flex-shrink: 0;
}

/* Before/After preview */
.gemini-preview-wrap {
  display: grid; grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--bd-default);
  background: var(--bg-subtle);
}
.gemini-preview-half {
  position: relative; overflow: hidden;
}
.gemini-preview-half:first-child {
  border-right: 1px solid var(--bd-default);
}
.gemini-preview-half img {
  width: 100%; height: auto; display: block;
  transition: transform .3s var(--ease);
}
.gemini-preview-half:hover img { transform: scale(1.04); }

.gemini-preview-label {
  position: absolute; top: 10px;
  padding: 4px 12px; border-radius: 999px;
  font-size: .65rem; font-weight: 700; color: #fff;
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 8px rgba(0,0,0,.2);
  z-index: 10; text-transform: uppercase; letter-spacing: .08em;
}
.gemini-label-before { left: 10px; background: rgba(60,60,80,.8); }
.gemini-label-after  { right: 10px; background: rgba(22,163,74,.85); }

/* Card footer */
.gemini-card-foot {
  padding: 1.1rem 1.25rem;
  background: var(--bg-elevated);
  text-align: center;
}
.gemini-dl-btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .75rem 1.75rem;
  background: linear-gradient(135deg, #16a34a, #15803d);
  color: #fff; border-radius: var(--r-md);
  font-family: var(--font); font-weight: 700; font-size: .88rem;
  text-decoration: none; border: none; cursor: pointer;
  transition: all .2s var(--ease);
  box-shadow: 0 4px 14px rgba(22,163,74,.3);
}
.gemini-dl-btn:hover { transform: translateY(-2px); box-shadow: 0 7px 20px rgba(22,163,74,.4); }
.gemini-dl-btn svg { width: 16px; height: 16px; flex-shrink: 0; }

/* ── Tab accent overrides ── */
.gemini-tabs .sora-tab.active { color: #4285f4; }
.gemini-tabs .sora-tab:hover  { color: #4285f4; }
.gemini-tabs .capabilities-list li:hover {
  background: #e8eaf6; border-color: rgba(66,133,244,.28);
}
.gemini-tabs .sora-how-step:hover {
  background: #e8eaf6; border-color: rgba(66,133,244,.28);
}

/* ── Stat card accent ── */
.gemini-stat .stat-card:hover {
  border-color: rgba(66,133,244,.28);
  background: #e8eaf6;
}

/* ── Feature pill ── */
.gemini-pill {
  background: #e8eaf6; color: #4285f4;
  border-color: rgba(66,133,244,.2);
}

/* ── Tech grid (watermark section) ── */
.gemini-tech-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(195px,1fr));
  gap: .75rem; margin-top: 1.5rem;
}
.gemini-tech-card {
  padding: 1.1rem 1.15rem;
  background: var(--bg-subtle); border: 1px solid var(--bd-default);
  border-radius: var(--r-lg);
  transition: border-color .2s, background .2s, transform .2s;
}
.gemini-tech-card:hover {
  border-color: rgba(66,133,244,.3);
  background: #e8eaf6; transform: translateY(-2px);
}
[data-theme="dark"] .gemini-tech-card:hover {
  background: rgba(66,133,244,.1);
}
.gemini-tech-icon { font-size: 1.35rem; display: block; margin-bottom: .5rem; }
.gemini-tech-card h4 { font-weight: 700; font-size: .88rem; color: var(--tx-primary); margin-bottom: .3rem; }
.gemini-tech-card p  { font-size: .77rem; color: var(--tx-muted); line-height: 1.6; }
.gemini-tech-card code {
  background: var(--bg-muted); border-radius: 4px;
  padding: .1rem .35rem; font-family: var(--mono); font-size: .72rem;
  color: var(--tx-secondary);
}

/* ── Guide step num ── */
.gemini-step-num {
  background: linear-gradient(135deg, #4285f4, #6a1b9a) !important;
  color: #fff !important;
}

/* ── CTA btn ── */
.gemini-cta-btn {
  background: linear-gradient(135deg, #4285f4, #1565c0) !important;
}
.gemini-cta-btn:hover {
  filter: brightness(1.1);
  box-shadow: 0 8px 28px rgba(66,133,244,.45) !important;
}

/* ── Timeline reuse ── */
.tt-timeline { display: flex; flex-direction: column; gap: .5rem; margin-top: 1.1rem; }
.tt-timeline-item {
  display: flex; align-items: flex-start; gap: .8rem; padding: .78rem 1rem;
  background: var(--bg-subtle); border: 1px solid var(--bd-default); border-radius: var(--r-md);
  font-size: .83rem; color: var(--tx-muted); transition: all .18s;
}
.tt-timeline-item:hover { background: #e8eaf6; border-color: rgba(66,133,244,.28); }
.tt-timeline-dot {
  width: 32px; height: 32px; border-radius: 9px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem; font-weight: 700; color: #fff;
}
.tt-timeline-item strong {
  display: block; font-weight: 700; color: var(--tx-primary);
  font-size: .85rem; margin-bottom: 2px;
}

/* ── Responsive ── */
@media (max-width: 600px) {
  .gemini-gallery { grid-template-columns: 1fr; }
  .gemini-preview-wrap { grid-template-columns: 1fr; }
  .gemini-preview-half:first-child {
    border-right: none;
    border-bottom: 1px solid var(--bd-default);
  }
  .gemini-controls { flex-direction: column; }
  .gemini-btn-process,
  .gemini-btn-clear { width: 100%; justify-content: center; }
}