/* ==========================================================================
   GifGun Landing Page — Styles unique to the GifGun product landing
   (Supplement to main.css which already has hero, features, FAQ, CTA, etc.)
   ========================================================================== */

/* --- VERSION ANNOUNCEMENT --- */
.version-section { padding: 32px 0 0; }
.version-card { background-color: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-lg); overflow: hidden; }
.version-header { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; cursor: pointer; list-style: none; transition: background-color var(--transition-base); }
.version-header::-webkit-details-marker { display: none; }
.version-header:hover { background-color: var(--bg-card-hover); }
.version-title { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.version-badge { background: var(--accent-lime); color: #000; font-weight: 700; font-size: 0.7rem; padding: 4px 10px; border-radius: var(--radius-full); text-transform: uppercase; letter-spacing: 0.5px; }
.version-text { font-weight: 600; font-size: 1.1rem; color: var(--text-main); }
.version-date { font-size: 0.875rem; color: var(--text-muted); }
.version-toggle { color: var(--text-muted); transition: transform var(--transition-base); display: flex; }
details.version-card[open] .version-toggle { transform: rotate(180deg); }
.version-content { padding: 0 24px 24px; border-top: 1px solid var(--border-color); }
.version-summary { color: var(--text-secondary); font-size: 1rem; margin: 20px 0 24px; font-weight: 500; }
.changelog-categories { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; }
.changelog-category { background-color: var(--bg-main); border: 1px solid var(--border-subtle); border-radius: var(--radius-md); padding: 20px; }
.category-header { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.category-icon { width: 36px; height: 36px; background-color: var(--accent-lime-dim); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; color: var(--accent-lime); }
.category-header h4 { font-weight: 600; font-size: 1rem; color: var(--text-main); }
.category-changes { list-style: none; padding: 0; margin: 0; }
.category-changes li { position: relative; padding-left: 16px; font-size: 0.875rem; color: var(--text-secondary); line-height: 1.6; margin-bottom: 8px; }
.category-changes li:last-child { margin-bottom: 0; }
.category-changes li::before { content: ''; position: absolute; left: 0; top: 10px; width: 5px; height: 5px; background-color: var(--accent-lime); border-radius: 50%; }

/* --- LICENSE INFO --- */
.license-section { padding: var(--section-spacing) 0; }
.license-card-redesign { background: linear-gradient(135deg, var(--bg-card), var(--bg-elevated)); border: 1px solid var(--border-color); padding: 40px; border-radius: var(--radius-lg); display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
.license-card-redesign h3 { margin-bottom: 16px; color: var(--accent-lime); }
.license-list { display: flex; flex-direction: column; gap: 12px; margin: 20px 0; }
.license-list li { display: flex; align-items: center; gap: 12px; color: var(--text-secondary); }
.license-list li svg { color: var(--accent-lime); flex-shrink: 0; }
.license-note { background-color: var(--bg-card-hover); padding: 20px; border-radius: var(--radius-sm); margin-top: 20px; }
.license-note h4 { font-size: 0.95rem; margin-bottom: 8px; color: var(--text-main); }
.license-note p { font-size: 0.9rem; color: var(--text-muted); margin: 0; }
.license-note a { color: var(--accent-lime); }

/* --- DOWNLOADS --- */
.downloads-section { padding: var(--section-spacing) 0; }
.downloads-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; max-width: 700px; margin: 0 auto; }
.download-card { background-color: var(--bg-card); border: 1px solid var(--border-color); padding: 32px; border-radius: var(--radius-lg); text-align: center; transition: all var(--transition-base); }
.download-card:hover { border-color: var(--accent-lime); box-shadow: var(--shadow-glow); }
.download-icon { margin-bottom: 20px; color: var(--text-main); }
.download-card h3 { margin-bottom: 8px; }
.download-card > p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 24px; }
.download-card .btn-primary { width: 100%; margin-bottom: 12px; }
.system-note { font-size: 0.8rem; color: var(--text-dim); }

/* --- INFO TOOLTIP --- */
.info-tooltip { position: relative; display: inline-flex; align-items: center; margin-left: 6px; cursor: help; color: var(--text-muted); opacity: 0.6; transition: opacity 0.2s; }
.info-tooltip:hover { opacity: 1; }
.info-tooltip-text { visibility: hidden; opacity: 0; position: absolute; bottom: calc(100% + 10px); left: 50%; transform: translateX(-50%); width: 260px; padding: 12px 14px; background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-sm); font-size: 0.8rem; font-weight: 400; line-height: 1.5; color: var(--text-secondary); text-align: left; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3); transition: opacity 0.2s, visibility 0.2s; z-index: 100; }
.info-tooltip-text::after { content: ''; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); border: 6px solid transparent; border-top-color: var(--border-color); }
.info-tooltip:hover .info-tooltip-text { visibility: visible; opacity: 1; }

/* --- SHOWCASE (gifgun-specific placeholder gradients) --- */
.gg-showcase-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.gg-product-card { background-color: transparent; display: flex; flex-direction: column; gap: 16px; transition: transform var(--transition-base); }
.gg-product-card:hover { transform: translateY(-4px); }
.gg-product-image { aspect-ratio: 16/10; background-color: var(--bg-card); border-radius: var(--radius-lg); overflow: hidden; position: relative; border: 1px solid var(--border-color); }
.gg-product-image .placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1rem; color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,0.2); }
.placeholder.gradient-1 { background: linear-gradient(135deg, #0f2027, #203a43, #2c5364); }
.placeholder.gradient-2 { background: linear-gradient(135deg, #4b6cb7, #182848); }
.placeholder.gradient-3 { background: linear-gradient(135deg, #654ea3, #eaafc8); }
.gg-product-meta { display: flex; justify-content: space-between; align-items: flex-start; }
.gg-product-title { font-size: 1.1rem; font-weight: 600; margin-bottom: 4px; }
.gg-product-author { font-size: 0.9rem; color: var(--text-muted); }
.gg-product-badge { font-weight: 700; color: var(--accent-lime); font-size: 0.9rem; }

/* --- RESPONSIVE OVERRIDES --- */
@media (max-width: 1024px) {
  .license-card-redesign { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .downloads-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .download-card { padding: 24px 16px; }
  .gg-showcase-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .version-header { padding: 16px 20px; }
  .version-title { gap: 8px; }
  .version-text { font-size: 1rem; }
  .version-date { width: 100%; margin-top: 4px; }
  .version-content { padding: 0 20px 20px; }
  .changelog-categories { grid-template-columns: 1fr; gap: 16px; }
}
