/* ========================================
   新设计 - 简约清新风格
   ======================================== */
:root {
  --primary: #1a73e8;
  --primary-hover: #1557b0;
  --success: #0f9d58;
  --success-hover: #0b7a43;
  --warning: #f4b400;
  --danger: #ea4335;
  --bg-main: #e8eaed;
  --bg-card: #ffffff;
  --bg-input: #f1f3f4;
  --text-dark: #202124;
  --text-medium: #5f6368;
  --text-light: #80868b;
  --border-color: #dadce0;
  --shadow-card: 0 1px 3px rgba(60,64,67,0.15), 0 4px 8px rgba(60,64,67,0.1);
  --shadow-btn: 0 1px 2px rgba(60,64,67,0.3), 0 1px 3px rgba(60,64,67,0.15);
  --shadow-hover: 0 2px 8px rgba(60,64,67,0.25), 0 6px 16px rgba(60,64,67,0.15);
  --radius: 8px;
  --radius-lg: 16px;
  --transition: 0.2s ease;
}

/* ========================================
   Reset & Base
   ======================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Google Sans', 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-main);
  color: var(--text-dark);
  line-height: 1.5;
  min-height: 100vh;
}

/* ========================================
   隐藏背景特效（简约风格不需要）
   ======================================== */
.background-effects,
.gradient-orbs,
.orb,
.orb-1,
.orb-2,
.orb-3,
.grid-pattern {
  display: none;
}

@keyframes float {
  0%, 100% { transform: none; }
}

/* ========================================
   Navigation Bar - 顶部导航
   ======================================== */
.navbar {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-color);
  padding: 12px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-container {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.store-logo {
  height: 32px;
  border-radius: 6px;
}

.brand-text {
  font-size: 18px;
  font-weight: 500;
  color: var(--text-dark);
}

/* ========================================
   Main Container - 主容器
   ======================================== */
.main-container {
  padding: 24px 16px 100px;
  max-width: 600px;
  margin: 0 auto;
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ========================================
   App Showcase - 应用卡片
   ======================================== */
.app-showcase {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-card);
  position: relative;
}

.app-showcase::before {
  display: none;
}

@keyframes shimmer {
  0%, 100% { opacity: 1; }
}

/* ========================================
   App Hero Section - 应用头部
   ======================================== */
.app-hero {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-color);
}

.app-visual {
  flex-shrink: 0;
}

.logo-frame {
  position: relative;
  display: inline-block;
}

.app-logo {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-btn);
}

.app-logo:hover {
  transform: none;
}

.official-badge {
  position: absolute;
  bottom: -4px;
  right: -4px;
  background: var(--success);
  color: white;
  font-size: 10px;
  font-weight: 500;
  padding: 2px 6px;
  border-radius: 4px;
}

.badge-dot {
  display: none;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
}

/* ========================================
   App Details - 应用详情
   ======================================== */
.app-details {
  flex: 1;
  min-width: 0;
}

.app-title {
  font-size: 20px;
  font-weight: 500;
  color: var(--text-dark);
  line-height: 1.3;
  margin-bottom: 8px;
}

.app-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.app-rating {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #fef3c7;
  padding: 4px 10px;
  border-radius: 12px;
  width: fit-content;
}

.rating-star {
  color: #f59e0b;
  font-size: 14px;
}

.rating-value {
  font-size: 14px;
  font-weight: 600;
  color: #92400e;
}

.app-description {
  font-size: 13px;
  color: var(--text-medium);
  margin: 0;
}

/* ========================================
   App Specs - 应用信息
   ======================================== */
.app-specs {
  display: flex;
  gap: 24px;
  margin-bottom: 24px;
}

.spec-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.spec-item:hover {
  transform: none;
}

.spec-icon {
  color: var(--text-light);
  display: flex;
  align-items: center;
}

.spec-icon svg {
  width: 18px;
  height: 18px;
}

.spec-info {
  display: flex;
  flex-direction: column;
}

.spec-label {
  font-size: 12px;
  color: var(--text-light);
}

.spec-value {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dark);
}

/* ========================================
   Download Buttons - 下载按钮
   ======================================== */
.download-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.download-btn {
  padding: 12px 24px;
  border: none;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.download-btn::before {
  display: none;
}

.download-btn:hover::before {
  display: none;
}

.primary-btn {
  background: var(--primary);
  color: white;
}

.primary-btn:hover {
  background: var(--primary-hover);
  box-shadow: var(--shadow-hover);
}

.secondary-btn {
  background: var(--success);
  color: white;
}

.secondary-btn:hover {
  background: var(--success-hover);
  box-shadow: var(--shadow-hover);
}

.btn-icon {
  display: none;
}

.btn-badge {
  display: none;
}

/* ========================================
   App Intro Card - 详细简介卡片
   ======================================== */
.app-intro-card {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-top: 16px;
}

.intro-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.intro-icon {
  font-size: 18px;
}

.intro-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--primary);
  margin: 0;
}

.intro-content {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-medium);
  margin: 0;
  text-align: justify;
}

/* ========================================
   Footer - 页脚
   ======================================== */
.footer {
  background: transparent;
  padding: 24px 16px;
  text-align: center;
}

.footer-container {
  max-width: 600px;
  margin: 0 auto;
}

.footer-copyright {
  color: var(--text-light);
  font-size: 12px;
}

.footer-links {
  display: none;
}

.footer-link {
  display: none;
}

.footer-link:hover {
  color: var(--primary);
}

/* ========================================
   Floating Action Button - 举报按钮
   ======================================== */
.floating-action-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--bg-card);
  color: var(--danger);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 500;
  box-shadow: var(--shadow-card);
  cursor: pointer;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.floating-action-btn:hover {
  background: var(--danger);
  color: white;
  border-color: var(--danger);
}

.fab-icon {
  display: flex;
  align-items: center;
}

/* ========================================
   Modal - 模态框
   ======================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(32, 33, 36, 0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  padding: 16px;
}

.modal-overlay.show {
  display: flex;
}

@keyframes modalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-container {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 400px;
  box-shadow: var(--shadow-hover);
}

@keyframes modalSlideIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 20px 0;
  margin-bottom: 16px;
}

.modal-title {
  font-size: 18px;
  font-weight: 500;
  color: var(--text-dark);
}

.modal-close {
  background: none;
  border: none;
  color: var(--text-light);
  cursor: pointer;
  padding: 4px;
  border-radius: 50%;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  background: var(--bg-input);
  color: var(--text-dark);
}

.modal-form {
  padding: 0 20px 20px;
}

.input-group {
  margin-bottom: 16px;
}

.input-group input,
.input-group textarea {
  width: 100%;
  padding: 12px;
  background: var(--bg-input);
  border: 1px solid transparent;
  border-radius: var(--radius);
  color: var(--text-dark);
  font-size: 14px;
  font-family: inherit;
  transition: var(--transition);
  resize: vertical;
}

.input-group input:focus,
.input-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--bg-card);
}

.input-group textarea {
  min-height: 100px;
}

.submit-button {
  width: 100%;
  padding: 12px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.submit-button:hover {
  background: var(--primary-hover);
}

.button-loader {
  display: none;
}

/* ========================================
   Alert Toast - 提示消息
   ======================================== */
.alert-toast {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--text-dark);
  color: white;
  border-radius: var(--radius);
  padding: 0;
  z-index: 3000;
  display: none;
  box-shadow: var(--shadow-hover);
}

.alert-toast.show {
  display: block;
}

@keyframes toastPopIn {
  from { opacity: 0; transform: translate(-50%, -50%) scale(0.95); }
  to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

.alert-content {
  padding: 16px 24px;
  text-align: center;
  font-size: 14px;
}

/* ========================================
   Responsive Design - 响应式
   ======================================== */
@media (max-width: 768px) {
  .main-container {
    padding: 16px 12px 80px;
  }
  
  .app-showcase {
    padding: 20px;
  }
  
  .app-hero {
    gap: 12px;
  }
  
  .app-logo {
    width: 64px;
    height: 64px;
  }
  
  .app-title {
    font-size: 18px;
  }
  
  .app-specs {
    flex-direction: column;
    gap: 12px;
  }
  
  .download-btn {
    padding: 14px 20px;
  }
  
  .floating-action-btn {
    bottom: 16px;
    right: 16px;
    padding: 8px 12px;
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .app-logo {
    width: 56px;
    height: 56px;
  }
  
  .app-title {
    font-size: 16px;
  }
  
  .nav-container {
    padding: 0 12px;
  }
  
  .brand-text {
    font-size: 16px;
  }
  
  .official-badge {
    font-size: 9px;
    padding: 2px 4px;
  }
}

