/* ==========================================================================
   网际快车 (wangjikuaiche.cfd) - 错位透视风 (Distorted Perspective) 核心样式
   ========================================================================== */

:root {
  --bg-primary: #070913;
  --bg-secondary: #0d1127;
  --bg-card: rgba(18, 24, 48, 0.7);
  --bg-card-hover: rgba(28, 38, 75, 0.85);
  
  --accent-cyan: #00f3ff;
  --accent-purple: #9d4edd;
  --accent-magenta: #ff007f;
  --accent-gold: #ffb703;
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  --border-glow: rgba(0, 243, 255, 0.3);
  --border-glass: rgba(255, 255, 255, 0.08);
  
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-family);
  overflow-x: hidden;
}

body {
  line-height: 1.6;
  background: 
    radial-gradient(circle at 15% 15%, rgba(157, 78, 221, 0.15) 0%, transparent 45%),
    radial-gradient(circle at 85% 65%, rgba(0, 243, 255, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 50% 90%, rgba(255, 0, 127, 0.08) 0%, transparent 40%),
    var(--bg-primary);
  min-height: 100vh;
  position: relative;
}

/* Background Grid Effect */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: 
    linear-gradient(rgba(0, 243, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 243, 255, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
  z-index: 0;
}

/* Canvas Custom Cursor Tail Layer */
#cursor-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9999;
}

/* Typography & General Classes */
a {
  color: var(--accent-cyan);
  text-decoration: none;
  transition: all 0.3s ease;
}
a:hover {
  color: #80f9ff;
  text-shadow: 0 0 10px rgba(0, 243, 255, 0.6);
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 800;
  line-height: 1.2;
  color: #fff;
  letter-spacing: -0.5px;
}

.text-gradient {
  background: linear-gradient(135deg, #ffffff 0%, var(--accent-cyan) 50%, var(--accent-purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-gold {
  background: linear-gradient(135deg, #fff 0%, var(--accent-gold) 60%, #ff8800 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  font-size: 1.05rem;
  font-weight: 700;
  border-radius: 50px;
  cursor: pointer;
  border: none;
  outline: none;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-cyan) 0%, #0077ff 100%);
  color: #04091e;
  box-shadow: 0 0 25px rgba(0, 243, 255, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.btn-primary:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 12px 35px rgba(0, 243, 255, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.6);
  color: #000;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  border: 1px solid var(--border-glow);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(0, 243, 255, 0.15);
  border-color: var(--accent-cyan);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 243, 255, 0.25);
}

/* ==========================================================================
   错位透视风 (Distorted Perspective Style Core)
   ========================================================================== */

.perspective-wrapper {
  perspective: 1200px;
  transform-style: preserve-3d;
}

.distorted-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 32px;
  backdrop-filter: blur(16px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transform: rotateX(5deg) rotateY(-6deg) rotateZ(1deg);
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.5s ease, border-color 0.5s ease;
  position: relative;
  overflow: hidden;
}

.distorted-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple), var(--accent-magenta));
}

.distorted-card:hover {
  transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg) translateY(-8px) scale(1.02);
  border-color: var(--accent-cyan);
  box-shadow: 0 30px 60px rgba(0, 243, 255, 0.25), 0 0 20px rgba(157, 78, 221, 0.3);
}

/* Anti-gravity Floating Text / Elements */
.anti-gravity-float {
  animation: antiGravityFloat 6s ease-in-out infinite;
}

.anti-gravity-float-delayed {
  animation: antiGravityFloat 7s ease-in-out infinite 2s;
}

@keyframes antiGravityFloat {
  0% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-18px) rotate(1.5deg);
  }
  100% {
    transform: translateY(0px) rotate(0deg);
  }
}

/* Unconventional Angled Sections */
.angled-section {
  clip-path: polygon(0 4vw, 100% 0, 100% calc(100% - 4vw), 0 100%);
  background: linear-gradient(180deg, var(--bg-secondary) 0%, rgba(13, 17, 39, 0.95) 100%);
  padding: 100px 0;
  margin: 40px 0;
  position: relative;
  border-top: 1px solid var(--border-glow);
  border-bottom: 1px solid var(--border-glow);
}

/* ==========================================================================
   Header & Navbar
   ========================================================================== */

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 16px 0;
  transition: all 0.3s ease;
}

.header.scrolled {
  background: rgba(7, 9, 19, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 243, 255, 0.2);
  padding: 12px 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.5rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: 1px;
}

.logo-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: 0 0 15px rgba(0, 243, 255, 0.5);
  transform: rotate(-8deg);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.95rem;
}

.nav-links a:hover {
  color: var(--accent-cyan);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.mobile-toggle {
  display: none;
  font-size: 1.8rem;
  color: #fff;
  cursor: pointer;
  background: none;
  border: none;
}

/* Mobile nav overlay */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  top: 70px;
  left: 0;
  width: 100%;
  background: rgba(7, 9, 19, 0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glow);
  padding: 24px;
  flex-direction: column;
  gap: 20px;
  z-index: 999;
}

.mobile-nav-overlay.open {
  display: flex;
}

.mobile-nav-overlay a {
  font-size: 1.1rem;
  color: #fff;
  padding: 8px 0;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
  padding-top: 160px;
  padding-bottom: 100px;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(0, 243, 255, 0.1);
  border: 1px solid var(--accent-cyan);
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-cyan);
  margin-bottom: 24px;
  transform: rotate(-2deg);
}

.hero-title {
  font-size: 3.6rem;
  line-height: 1.15;
  margin-bottom: 24px;
}

.hero-desc {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 580px;
}

.hero-btns {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.hero-features-strip {
  display: flex;
  gap: 24px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border-glass);
}

.strip-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.strip-item i {
  color: var(--accent-cyan);
  font-size: 1.1rem;
}

/* Hero Distorted Perspective Visual Card */
.hero-visual {
  position: relative;
  perspective: 1000px;
}

.hero-distorted-box {
  background: linear-gradient(145deg, rgba(20, 28, 60, 0.8), rgba(10, 14, 30, 0.95));
  border: 1px solid rgba(0, 243, 255, 0.4);
  border-radius: 24px;
  padding: 36px;
  transform: rotateY(-14deg) rotateX(10deg) rotateZ(2deg);
  box-shadow: -20px 30px 60px rgba(0, 0, 0, 0.8), 0 0 30px rgba(0, 243, 255, 0.25);
  position: relative;
  z-index: 2;
}

.speed-meter-card {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  padding: 20px;
  margin-top: 20px;
}

.speed-val {
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--accent-cyan);
  text-shadow: 0 0 15px rgba(0, 243, 255, 0.6);
}

.node-badge-list {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.node-badge {
  background: rgba(255, 255, 255, 0.08);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  border: 1px solid var(--border-glass);
}

/* ==========================================================================
   Pricing Section (价格检索与套餐)
   ========================================================================== */

.section-title-wrap {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-subtitle {
  color: var(--accent-cyan);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.6rem;
  margin-bottom: 16px;
}

.pricing-switch {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 50px;
}

.switch-label {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-muted);
  cursor: pointer;
}

.switch-label.active {
  color: #fff;
}

.toggle-bg {
  width: 60px;
  height: 32px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--border-glow);
  border-radius: 30px;
  padding: 3px;
  cursor: pointer;
  position: relative;
  transition: background 0.3s;
}

.toggle-circle {
  width: 24px;
  height: 24px;
  background: var(--accent-cyan);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-cyan);
  transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.toggle-bg.active .toggle-circle {
  transform: translateX(28px);
  background: var(--accent-gold);
  box-shadow: 0 0 10px var(--accent-gold);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: stretch;
  perspective: 1200px;
}

.price-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.4s ease;
  position: relative;
  transform: rotateY(-3deg) rotateX(3deg);
}

.price-card.popular {
  border-color: var(--accent-cyan);
  background: linear-gradient(160deg, rgba(0, 243, 255, 0.08) 0%, rgba(13, 17, 39, 0.95) 100%);
  transform: scale(1.05) rotateY(0deg) rotateX(0deg);
  z-index: 5;
  box-shadow: 0 20px 40px rgba(0, 243, 255, 0.2);
}

.popular-badge {
  position: absolute;
  top: -14px;
  right: 20px;
  background: linear-gradient(135deg, var(--accent-cyan), #0077ff);
  color: #04091e;
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.price-header {
  margin-bottom: 24px;
}

.plan-name {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.plan-price {
  font-size: 2.8rem;
  font-weight: 900;
  color: #fff;
}

.plan-price span {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 400;
}

.plan-features {
  list-style: none;
  margin-bottom: 32px;
}

.plan-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.plan-features li i {
  color: var(--accent-cyan);
}

/* ==========================================================================
   SEO Articles Grid & Internal Linking Ecosystem
   ========================================================================== */

.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.article-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
  transform: rotateX(4deg) rotateY(-4deg);
}

.article-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: var(--accent-purple);
  box-shadow: 0 15px 35px rgba(157, 78, 221, 0.2);
}

.article-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-purple);
  background: rgba(157, 78, 221, 0.15);
  padding: 4px 12px;
  border-radius: 12px;
  margin-bottom: 16px;
  width: fit-content;
}

.article-title {
  font-size: 1.15rem;
  line-height: 1.4;
  margin-bottom: 12px;
}

.article-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.read-more-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--accent-cyan);
}

/* ==========================================================================
   Testimonials (用户评价)
   ========================================================================== */

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  padding: 28px;
  transform: rotateX(5deg) rotateY(4deg);
  transition: all 0.3s ease;
}

.review-card:hover {
  transform: rotateX(0deg) rotateY(0deg) translateY(-6px);
  border-color: var(--accent-cyan);
}

.stars {
  color: var(--accent-gold);
  margin-bottom: 12px;
  font-size: 0.9rem;
}

.review-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  font-style: italic;
}

.user-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.user-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #fff;
  box-shadow: 0 0 10px rgba(0, 243, 255, 0.4);
}

.user-name {
  font-weight: 700;
  font-size: 0.95rem;
}

.user-role {
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* ==========================================================================
   FAQ Section (常见问题)
   ========================================================================== */

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.faq-item.active {
  border-color: var(--accent-cyan);
}

.faq-question {
  padding: 22px 28px;
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
}

.faq-question i {
  transition: transform 0.3s ease;
  color: var(--accent-cyan);
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 28px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 28px 22px 28px;
}

/* ==========================================================================
   Footer & PBN Link Blood Infusion Pipe (核心任务 2)
   ========================================================================== */

footer.site-footer {
  background: #04060d;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 60px 0 30px;
  position: relative;
  z-index: 10;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 12px;
  max-width: 320px;
}

.footer-col h4 {
  font-size: 1rem;
  margin-bottom: 16px;
  color: #fff;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  color: var(--text-muted);
  font-size: 0.88rem;
}

.footer-col a:hover {
  color: var(--accent-cyan);
}

/* PBN 权重精准输血管道区 (Low-key Small Font Friendly Links) */
.pbn-footer-infusion {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 24px;
  margin-top: 30px;
  font-size: 0.78rem;
  color: var(--text-dim);
}

.pbn-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

.pbn-links-matrix {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  line-height: 1.5;
}

.pbn-links-matrix a {
  color: var(--text-dim);
  font-size: 0.78rem;
  transition: color 0.2s ease;
}

.pbn-links-matrix a:hover {
  color: var(--accent-cyan);
  text-decoration: underline;
}

.copyright {
  text-align: center;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px dashed rgba(255, 255, 255, 0.05);
  color: var(--text-dim);
  font-size: 0.8rem;
}

/* Article Detail Page Layout Styling */
.article-header {
  padding: 160px 0 40px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.article-body-container {
  max-width: 860px;
  margin: 0 auto 80px;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 24px;
  padding: 48px;
  line-height: 1.8;
  font-size: 1.05rem;
  color: #cbd5e1;
}

.article-body-container h2 {
  font-size: 1.8rem;
  margin: 40px 0 20px;
  color: var(--accent-cyan);
  border-left: 4px solid var(--accent-cyan);
  padding-left: 14px;
}

.article-body-container h3 {
  font-size: 1.35rem;
  margin: 28px 0 16px;
  color: #fff;
}

.article-body-container p {
  margin-bottom: 20px;
}

.article-body-container ul, .article-body-container ol {
  margin-bottom: 24px;
  padding-left: 24px;
}

.article-body-container li {
  margin-bottom: 10px;
}

.article-body-container blockquote {
  border-left: 4px solid var(--accent-purple);
  background: rgba(157, 78, 221, 0.1);
  padding: 20px 24px;
  border-radius: 0 16px 16px 0;
  margin: 28px 0;
  font-style: italic;
}

/* ==========================================================================
   Responsive Adaptations (移动端全适配)
   ========================================================================== */

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-desc {
    margin: 0 auto 36px;
  }

  .hero-btns {
    justify-content: center;
  }

  .hero-features-strip {
    justify-content: center;
  }

  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .articles-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }

  .hero-title {
    font-size: 2.4rem;
  }

  .distorted-card, .price-card, .article-card, .review-card {
    transform: none !important; /* Disable 3D transforms on small screens for comfortable touch reading */
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .articles-grid {
    grid-template-columns: 1fr;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .article-body-container {
    padding: 24px;
  }
}

/* ==========================================================================
   Download Modal & Download Center Styles (客户端下载弹窗与下载中心)
   ========================================================================== */

.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(4, 7, 19, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 20px;
}

.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.modal-dialog {
  background: linear-gradient(145deg, rgba(22, 28, 54, 0.95), rgba(13, 17, 39, 0.98));
  border: 1px solid var(--border-glow);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 30px rgba(0, 243, 255, 0.2);
  border-radius: var(--radius-lg);
  max-width: 520px;
  width: 100%;
  position: relative;
  overflow: hidden;
  transform: translateY(20px) scale(0.96);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 36px 32px 32px;
}

.modal-backdrop.active .modal-dialog {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  cursor: pointer;
  transition: all 0.25s ease;
}

.modal-close:hover {
  background: rgba(255, 0, 127, 0.2);
  color: #fff;
  border-color: var(--accent-magenta);
}

.modal-header {
  text-align: center;
  margin-bottom: 24px;
}

.modal-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
  background: rgba(0, 243, 255, 0.1);
  border: 1px solid rgba(0, 243, 255, 0.3);
  color: var(--accent-cyan);
  margin-bottom: 12px;
}

.modal-title {
  font-size: 1.45rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.modal-subtitle {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.modal-platforms {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

.platform-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 20px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  color: var(--text-main);
  text-decoration: none;
  transition: all 0.3s ease;
  text-align: center;
  cursor: pointer;
}

.platform-btn:hover {
  background: rgba(0, 243, 255, 0.08);
  border-color: var(--accent-cyan);
  box-shadow: 0 0 20px rgba(0, 243, 255, 0.25);
  transform: translateY(-2px);
}

.platform-btn.ios:hover {
  background: rgba(157, 78, 221, 0.1);
  border-color: var(--accent-purple);
  box-shadow: 0 0 20px rgba(157, 78, 221, 0.3);
}

.platform-icon {
  font-size: 2.2rem;
  line-height: 1;
}

.platform-name {
  font-weight: 700;
  font-size: 1.05rem;
}

.platform-tag {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.modal-tips {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.modal-tips ol {
  padding-left: 20px;
  margin-top: 6px;
}

.modal-footer {
  text-align: center;
  margin-top: 18px;
}

.modal-footer a {
  font-size: 0.88rem;
  color: var(--accent-cyan);
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 480px) {
  .modal-dialog {
    padding: 28px 20px 24px;
  }
  .modal-platforms {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

