/**
 * Nag 官方网站 - 组件样式
 * 精致还原 iOS HIG 质感与交互体验
 */

/* Hero Section */
.hero {
  padding: 80px 0 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-content {
  max-width: 820px;
  margin: 0 auto 56px auto;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}

.hero-pill .dot {
  width: 8px;
  height: 8px;
  background: var(--accent-orange);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-orange);
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 64px;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  color: var(--text-primary);
}

.hero-title span {
  display: block;
}

.hero-subtitle {
  font-size: 20px;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto 36px auto;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.app-store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--accent-color);
  color: var(--accent-contrast);
  padding: 12px 28px;
  border-radius: var(--radius-full);
  font-weight: 600;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-fast);
}

.app-store-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  opacity: 0.95;
}

.app-store-btn svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.app-store-btn .btn-text-wrap {
  text-align: left;
  line-height: 1.15;
}

.app-store-btn .btn-text-wrap small {
  font-size: 10px;
  display: block;
  opacity: 0.8;
  font-weight: 400;
}

.app-store-btn .btn-text-wrap strong {
  font-size: 15px;
  display: block;
  font-weight: 600;
}

/* 模拟 iPhone 硬件与锁屏通知展示 */
.hero-mockup-wrapper {
  position: relative;
  max-width: 360px;
  margin: 0 auto;
}

.mockup-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 380px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 149, 0, 0.15) 0%, rgba(0, 113, 227, 0.08) 50%, transparent 75%);
  filter: blur(60px);
  z-index: 0;
  pointer-events: none;
}

.iphone-frame {
  position: relative;
  z-index: 1;
  background: #0D0D0E;
  border-radius: 54px;
  padding: 12px;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.45), inset 0 0 0 2px #3A3A3C, inset 0 0 0 5px #1C1C1E;
  border: 4px solid #48484A;
}

.iphone-screen {
  background: linear-gradient(180deg, #1C1C24 0%, #0F0F14 100%);
  border-radius: 42px;
  overflow: hidden;
  height: 590px;
  display: flex;
  flex-direction: column;
  color: #FFFFFF;
  position: relative;
  user-select: none;
}

/* 灵动岛 */
.dynamic-island {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 28px;
  background: #000000;
  border-radius: 20px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
}

.camera-lens {
  width: 10px;
  height: 10px;
  background: #0F172A;
  border-radius: 50%;
  box-shadow: inset 0 0 2px #1E293B;
}

/* 锁屏时间 */
.lockscreen-header {
  margin-top: 48px;
  text-align: center;
}

.lockscreen-date {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  margin-bottom: 2px;
}

.lockscreen-time {
  font-size: 68px;
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

/* 通知中心列表 */
.notification-container {
  margin-top: auto;
  padding: 16px 12px 24px 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ios-notification {
  background: rgba(36, 36, 40, 0.85);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border-radius: 22px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  animation: slideInNotification 0.5s var(--ease-spring);
  text-align: left;
}

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

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

.notif-icon {
  width: 18px;
  height: 18px;
  border-radius: 4px;
}

.notif-app-title {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: -0.01em;
}

.notif-time {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
  margin-left: auto;
}

.notif-title {
  font-size: 14px;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 2px;
}

.notif-body {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.35;
  margin-bottom: 10px;
}

.notif-actions {
  display: flex;
  gap: 8px;
}

.notif-btn {
  flex: 1;
  padding: 7px 0;
  font-size: 12px;
  font-weight: 600;
  border-radius: 12px;
  text-align: center;
  transition: all var(--transition-fast);
}

.notif-btn-snooze {
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
}

.notif-btn-snooze:hover {
  background: rgba(255, 255, 255, 0.22);
}

.notif-btn-done {
  background: #FFFFFF;
  color: #000000;
}

.notif-btn-done:hover {
  background: #E5E5EA;
}

/* 交互式体验 Widget (Interactive Section) */
.demo-section {
  background: var(--bg-card);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.demo-card {
  background: var(--bg-card-secondary);
  border-radius: var(--radius-xl);
  padding: 40px;
  border: 1px solid var(--border-subtle);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}

.demo-controls h3 {
  font-family: var(--font-serif);
  font-size: 26px;
  margin-bottom: 12px;
}

.demo-controls p {
  color: var(--text-secondary);
  margin-bottom: 24px;
  font-size: 15px;
}

.reminder-selector-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.reminder-item-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  text-align: left;
  transition: all var(--transition-fast);
}

.reminder-item-btn.selected {
  border-color: var(--text-primary);
  background: var(--bg-card-hover);
}

.reminder-item-btn .circle-badge {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid var(--accent-orange);
}

.demo-status-box {
  padding: 16px;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px dashed var(--border-color);
  font-size: 13px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 10px;
}

