/* ═══════════════════════════════════════════════════
   箭魚VPN — Pure CSS (Tailwind → Standard CSS)
   Apple Product Page Design Language
   ═══════════════════════════════════════════════════ */

/* ── Reset & Base ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans TC', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: #ffffff;
  color: #1d1d1f;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ── Container ── */
.container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding-left: 2rem;
    padding-right: 2rem;
    max-width: 1280px;
  }
}

/* ── Sticky Header ── */
.sticky-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: background-color 0.5s ease, backdrop-filter 0.5s ease, border-bottom 0.5s ease;
  background-color: rgba(255, 255, 255, 0);
  border-bottom: 1px solid transparent;
}

.sticky-header.scrolled {
  background-color: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.header-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 44px;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-logo img {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
}

.header-logo:hover img {
  transform: scale(1.1);
}

.header-logo span {
  font-size: 14px;
  font-weight: 700;
  color: #1d1d1f;
  letter-spacing: -0.02em;
}

.header-download-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding: 0 14px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 600;
  background-color: #0071e3;
  color: #ffffff;
  transition: all 0.2s ease;
}

.header-download-btn:hover {
  background-color: #0077ed;
}

.header-download-btn:active {
  transform: scale(0.97);
}

.header-download-btn svg {
  width: 12px;
  height: 12px;
}

/* ── Hero Section ── */
.hero-section {
  position: relative;
  padding-top: 56px;
  background-color: #fbfbfd;
  overflow: hidden;
}

/* Aurora blobs */
.aurora-container {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.aurora-blob {
  position: absolute;
  border-radius: 50%;
}

.blob-blue {
  width: 500px;
  height: 500px;
  opacity: 0.30;
  background: radial-gradient(circle, #007AFF 0%, transparent 70%);
  filter: blur(80px);
  top: -5%;
  left: -8%;
  animation: blob-drift-1 18s linear infinite;
}

.blob-purple {
  width: 450px;
  height: 450px;
  opacity: 0.25;
  background: radial-gradient(circle, #AF52DE 0%, transparent 70%);
  filter: blur(90px);
  top: 5%;
  right: -10%;
  animation: blob-drift-2 22s linear infinite;
}

.blob-pink {
  width: 400px;
  height: 400px;
  opacity: 0.22;
  background: radial-gradient(circle, #FF2D55 0%, transparent 70%);
  filter: blur(100px);
  bottom: 5%;
  left: 20%;
  animation: blob-drift-3 20s linear infinite;
}

.blob-teal {
  width: 360px;
  height: 360px;
  opacity: 0.20;
  background: radial-gradient(circle, #5AC8FA 0%, transparent 70%);
  filter: blur(80px);
  bottom: 15%;
  right: 5%;
  animation: blob-drift-4 16s linear infinite;
}

@keyframes blob-drift-1 {
  0%   { transform: translate(0, 0); }
  33%  { transform: translate(120px, 40px); }
  66%  { transform: translate(60px, 80px); }
  100% { transform: translate(0, 0); }
}

@keyframes blob-drift-2 {
  0%   { transform: translate(0, 0); }
  33%  { transform: translate(-80px, 60px); }
  66%  { transform: translate(-40px, 120px); }
  100% { transform: translate(0, 0); }
}

@keyframes blob-drift-3 {
  0%   { transform: translate(0, 0); }
  33%  { transform: translate(60px, -80px); }
  66%  { transform: translate(-30px, -40px); }
  100% { transform: translate(0, 0); }
}

@keyframes blob-drift-4 {
  0%   { transform: translate(0, 0); }
  33%  { transform: translate(-50px, -60px); }
  66%  { transform: translate(30px, 20px); }
  100% { transform: translate(0, 0); }
}

/* Hero content */
.hero-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 48px;
  padding-bottom: 40px;
}

@media (min-width: 768px) {
  .hero-content {
    padding-top: 80px;
    padding-bottom: 64px;
  }
}

.hero-logo {
  width: 56px;
  height: 56px;
  margin-bottom: 20px;
}

@media (min-width: 768px) {
  .hero-logo {
    width: 72px;
    height: 72px;
  }
}

.hero-title {
  font-size: 2.75rem;
  font-weight: 900;
  color: #1d1d1f;
  letter-spacing: -0.03em;
  line-height: 1.05;
  text-align: center;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 4.5rem;
  }
}

/* Android badge */
.android-badge {
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  color: #86868b;
}

.android-badge svg {
  width: 14px;
  height: 14px;
}

.android-badge span {
  font-size: 13px;
  font-weight: 500;
}

/* Gradient tagline */
.hero-tagline {
  margin-top: 12px;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-align: center;
  background: linear-gradient(135deg, #007AFF 0%, #AF52DE 40%, #FF2D55 70%, #FF9500 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@media (min-width: 768px) {
  .hero-tagline {
    font-size: 1.75rem;
  }
}

/* Promo pill */
.promo-pill {
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 9999px;
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid #e8e8ed;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.promo-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #ff3b30;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.promo-pill .label {
  font-size: 13px;
  font-weight: 600;
  color: #1d1d1f;
}

.promo-pill .price {
  font-size: 13px;
  font-weight: 700;
  color: #0071e3;
}

.promo-pill .sub {
  font-size: 12px;
  color: #86868b;
}

/* Divider */
.hero-divider {
  margin-top: 40px;
  margin-bottom: 32px;
  width: 32px;
  height: 1px;
  background-color: #d2d2d7;
}

/* Selling points */
.selling-points {
  width: 100%;
  max-width: 512px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.selling-point {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.selling-point.visible {
  opacity: 1;
  transform: translateY(0);
}

.sp-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.selling-point:hover .sp-icon {
  transform: scale(1.1);
}

.sp-icon svg {
  width: 20px;
  height: 20px;
  stroke-width: 2;
}

.sp-icon.blue   { background-color: #eff6ff; }
.sp-icon.blue svg   { color: #3b82f6; }
.sp-icon.green  { background-color: #ecfdf5; }
.sp-icon.green svg  { color: #10b981; }
.sp-icon.amber  { background-color: #fffbeb; }
.sp-icon.amber svg  { color: #f59e0b; }
.sp-icon.rose   { background-color: #fff1f2; }
.sp-icon.rose svg   { color: #f43f5e; }
.sp-icon.violet { background-color: #f5f3ff; }
.sp-icon.violet svg { color: #8b5cf6; }

.sp-text {
  padding-top: 2px;
}

.sp-title {
  font-size: 15px;
  font-weight: 700;
  color: #1d1d1f;
  line-height: 1.3;
}

.sp-desc {
  font-size: 13px;
  color: #86868b;
  margin-top: 2px;
  line-height: 1.4;
}

/* ── CTA Section ── */
.cta-section {
  position: relative;
  padding: 64px 0;
  background-color: #f5f5f7;
}

@media (min-width: 768px) {
  .cta-section {
    padding: 96px 0;
  }
}

.cta-top-line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, #d2d2d7, transparent);
}

.cta-inner {
  max-width: 448px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.cta-inner.visible {
  opacity: 1;
  transform: translateY(0);
}

.cta-label {
  font-size: 12px;
  font-weight: 600;
  color: #0071e3;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.cta-headline {
  font-size: 2rem;
  font-weight: 900;
  color: #1d1d1f;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

@media (min-width: 768px) {
  .cta-headline {
    font-size: 2.75rem;
  }
}

.cta-sub {
  margin-top: 8px;
  font-size: 15px;
  color: #86868b;
}

/* Price */
.cta-price {
  margin-top: 24px;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.cta-price .amount {
  font-size: 3.5rem;
  font-weight: 900;
  color: #1d1d1f;
  line-height: 1;
  letter-spacing: -0.04em;
}

@media (min-width: 768px) {
  .cta-price .amount {
    font-size: 4.5rem;
  }
}

.cta-price .period {
  font-size: 1.125rem;
  color: #86868b;
  font-weight: 500;
}

@media (min-width: 768px) {
  .cta-price .period {
    font-size: 1.25rem;
  }
}

/* Countdown */
.countdown-wrapper {
  margin-top: 32px;
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 0.6s ease 0.3s, transform 0.6s ease 0.3s;
}

.countdown-wrapper.visible {
  opacity: 1;
  transform: scale(1);
}

.countdown-label {
  font-size: 12px;
  color: #86868b;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.countdown-digits {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.digit-box {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.digit-inner {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  border: 1px solid #e8e8ed;
}

@media (min-width: 768px) {
  .digit-inner {
    width: 72px;
    height: 72px;
  }
}

.digit-value {
  font-size: 28px;
  font-weight: 900;
  color: #1d1d1f;
  font-variant-numeric: tabular-nums;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

@media (min-width: 768px) {
  .digit-value {
    font-size: 34px;
  }
}

.digit-label {
  margin-top: 6px;
  font-size: 11px;
  color: #86868b;
  font-weight: 500;
}

.digit-colon {
  font-size: 1.25rem;
  font-weight: 700;
  color: #d2d2d7;
  margin-top: 16px;
}

/* Download buttons */
.download-buttons {
  margin-top: 40px;
  width: 100%;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease 0.45s, transform 0.6s ease 0.45s;
}

.download-buttons.visible {
  opacity: 1;
  transform: translateY(0);
}

.apk-download-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  border-radius: 12px;
  background-color: #0071e3;
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  box-shadow: 0 10px 15px -3px rgba(59, 130, 246, 0.15);
  transition: all 0.2s ease;
}

.apk-download-btn:hover {
  background-color: #0077ed;
  transform: translateY(-1px);
}

.apk-download-btn:active {
  transform: scale(0.98);
}

.apk-download-btn .android-icon {
  width: 16px;
  height: 16px;
}

.apk-download-btn .arrow-icon {
  width: 14px;
  height: 14px;
  opacity: 0.6;
}

.google-play-btn {
  display: block;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.2s ease;
}

.google-play-btn:hover {
  transform: translateY(-1px);
}

.google-play-btn:active {
  transform: scale(0.97);
}

.google-play-btn img {
  height: 44px;
  width: auto;
}

@media (min-width: 768px) {
  .google-play-btn img {
    height: 48px;
  }
}

/* ── Footer ── */
.site-footer {
  padding: 16px 0;
  background-color: #f5f5f7;
  border-top: 1px solid #e8e8ed;
}

.site-footer p {
  font-size: 11px;
  color: #86868b;
  text-align: center;
}

/* ── Scroll animations ── */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up-slow {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s ease-out, transform 0.9s ease-out;
}

.fade-up-slow.visible {
  opacity: 1;
  transform: translateY(0);
}
