/* ==========================================================================
   Kitty Network - Kawaii Magic Anime Style CSS (kitty-network.top)
   Pure Native CSS | Zero Frameworks | Millisecond Instant Load
   ========================================================================== */

:root {
  --bg-primary: #0a0b18;
  --bg-secondary: #12142d;
  --bg-card: rgba(22, 25, 52, 0.72);
  --bg-card-hover: rgba(32, 36, 74, 0.86);
  --border-pink: rgba(255, 117, 140, 0.32);
  --border-magic: rgba(196, 113, 237, 0.3);
  --color-pink: #ff758c;
  --color-rose: #ff7eb3;
  --color-purple: #c471ed;
  --color-gold: #ffd166;
  --color-cyan: #48cae4;
  --text-main: #fdf2f8;
  --text-muted: #cbd5e1;
  --text-dim: #94a3b8;
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --shadow-magic: 0 0 28px rgba(255, 117, 140, 0.28);
  --shadow-purple: 0 0 28px rgba(196, 113, 237, 0.25);
  --max-width: 1200px;
}

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

html {
  scroll-behavior: smooth;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
}

body {
  position: relative;
  overflow-x: hidden;
  background: radial-gradient(circle at 10% 20%, rgba(255, 117, 140, 0.12) 0%, transparent 45%),
              radial-gradient(circle at 85% 30%, rgba(196, 113, 237, 0.12) 0%, transparent 50%),
              radial-gradient(circle at 50% 85%, rgba(255, 209, 102, 0.08) 0%, transparent 60%),
              var(--bg-primary);
  min-height: 100vh;
}

/* Floating Soft Anime Stars */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.12) 1.2px, transparent 1.2px),
                    radial-gradient(circle, rgba(255, 117, 140, 0.15) 1px, transparent 1px);
  background-size: 50px 50px, 80px 80px;
  background-position: 0 0, 25px 25px;
  pointer-events: none;
  z-index: 0;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* Header & Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(10, 11, 24, 0.84);
  border-bottom: 1px solid var(--border-pink);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
}

.logo-neko-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--color-pink), var(--color-purple));
  border-radius: 12px;
  font-size: 1.3rem;
  box-shadow: 0 0 15px rgba(255, 117, 140, 0.4);
}

.nav-logo span.brand-text {
  background: linear-gradient(90deg, #ffffff 10%, #ff758c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.nav-menu a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--color-pink);
  text-shadow: 0 0 8px rgba(255, 117, 140, 0.6);
}

.nav-badge-news {
  position: relative;
  color: var(--color-rose) !important;
  font-weight: 700 !important;
}

.nav-badge-news::after {
  content: "NEW";
  position: absolute;
  top: -8px;
  right: -26px;
  font-size: 0.62rem;
  background: linear-gradient(135deg, #ff758c, #c471ed);
  color: #fff;
  padding: 1px 6px;
  border-radius: 10px;
  font-weight: 800;
}

/* Global Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  font-size: 0.98rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
  min-height: 46px;
  border: 1px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, #ff758c 0%, #ff7eb3 50%, #c471ed 100%);
  color: #fff;
  box-shadow: 0 0 22px rgba(255, 117, 140, 0.45);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 32px rgba(255, 117, 140, 0.7);
}

.btn-magic {
  background: linear-gradient(135deg, #c471ed 0%, #12c2e9 100%);
  color: #fff;
  box-shadow: 0 0 20px rgba(196, 113, 237, 0.4);
}

.btn-magic:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(196, 113, 237, 0.65);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-pink);
  color: #ff9ebb;
  backdrop-filter: blur(8px);
}

.btn-glass:hover {
  background: rgba(255, 117, 140, 0.15);
  border-color: var(--color-pink);
  box-shadow: 0 0 18px rgba(255, 117, 140, 0.35);
  transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
  padding: 85px 0 60px;
  position: relative;
}

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

.hero-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(255, 117, 140, 0.14);
  border: 1px solid rgba(255, 117, 140, 0.35);
  border-radius: 30px;
  color: #ff9ebb;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 22px;
}

.hero-title {
  font-size: 3.1rem;
  line-height: 1.22;
  font-weight: 900;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.text-gradient {
  background: linear-gradient(90deg, #ff758c 0%, #ff7eb3 40%, #c471ed 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.12rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 34px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 36px;
}

.hero-features-list {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-feat-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: #f1f5f9;
}

.hero-feat-item span.icon {
  color: var(--color-pink);
}

/* Anime Visual Art Frame */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.anime-art-wrapper {
  position: relative;
  width: 100%;
  max-width: 440px;
  border-radius: var(--radius-lg);
  padding: 12px;
  background: linear-gradient(135deg, rgba(255, 117, 140, 0.25), rgba(196, 113, 237, 0.25));
  border: 1px solid rgba(255, 117, 140, 0.4);
  box-shadow: 0 0 35px rgba(255, 117, 140, 0.25), 0 0 50px rgba(196, 113, 237, 0.2);
}

.anime-art-img {
  width: 100%;
  height: auto;
  border-radius: 18px;
  display: block;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.anime-art-wrapper:hover .anime-art-img {
  transform: scale(1.02);
}

.anime-floating-badge {
  position: absolute;
  bottom: -15px;
  right: -15px;
  background: rgba(18, 20, 45, 0.94);
  border: 1px solid var(--color-pink);
  padding: 10px 18px;
  border-radius: 16px;
  backdrop-filter: blur(12px);
  box-shadow: 0 0 20px rgba(255, 117, 140, 0.35);
  display: flex;
  align-items: center;
  gap: 10px;
}

.anime-floating-badge .speed-val {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-pink);
}

.anime-floating-badge .speed-desc {
  font-size: 0.78rem;
  color: var(--text-dim);
}

/* Glass Panels & Section Headings */
.section {
  padding: 80px 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 50px;
}

.section-tag {
  display: inline-block;
  padding: 4px 14px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-pink);
  background: rgba(255, 117, 140, 0.12);
  border: 1px solid rgba(255, 117, 140, 0.3);
  border-radius: 20px;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-title {
  font-size: 2.3rem;
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.3;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
}

.glass-card {
  background: var(--bg-card);
  border: 1px solid var(--border-pink);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  transition: all 0.3s ease;
  backdrop-filter: blur(14px);
  position: relative;
  overflow: hidden;
}

.glass-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(255, 117, 140, 0.6);
  transform: translateY(-4px);
  box-shadow: var(--shadow-magic);
}

/* Core Advantages 3-Card Grid */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.adv-icon-box {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 117, 140, 0.2), rgba(196, 113, 237, 0.2));
  border: 1px solid var(--border-pink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  margin-bottom: 22px;
}

.adv-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #fff;
}

.adv-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Streaming & AI Cards */
.media-ai-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.media-ai-card {
  background: var(--bg-card);
  border: 1px solid rgba(196, 113, 237, 0.3);
  border-radius: var(--radius-md);
  padding: 36px 32px;
  transition: all 0.3s ease;
}

.media-ai-card:hover {
  border-color: var(--color-purple);
  box-shadow: var(--shadow-purple);
  transform: translateY(-4px);
}

.media-ai-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.media-ai-icon {
  font-size: 2.2rem;
}

.tags-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.tag-item {
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  font-size: 0.85rem;
  color: #fce7f3;
  font-weight: 500;
}

.tag-item.highlight {
  background: rgba(255, 117, 140, 0.16);
  border-color: rgba(255, 117, 140, 0.45);
  color: #ff9ebb;
}

/* Pricing Table */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-pink);
  border-radius: var(--radius-md);
  padding: 36px 24px 30px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  position: relative;
}

.pricing-card.featured {
  border-color: var(--color-pink);
  background: linear-gradient(180deg, rgba(255, 117, 140, 0.1) 0%, rgba(22, 25, 52, 0.88) 100%);
  transform: scale(1.03);
  box-shadow: var(--shadow-magic);
}

.featured-ribbon {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, #ff758c, #c471ed);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 12px;
  box-shadow: 0 0 12px rgba(255, 117, 140, 0.5);
  letter-spacing: 0.5px;
}

.plan-name {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #fff;
}

.plan-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  min-height: 38px;
}

.plan-price-box {
  margin-bottom: 24px;
}

.plan-currency {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-pink);
}

.plan-amount {
  font-size: 2.5rem;
  font-weight: 900;
  color: #fff;
}

.plan-cycle {
  font-size: 0.85rem;
  color: var(--text-dim);
}

.plan-features {
  list-style: none;
  margin-bottom: 28px;
  flex-grow: 1;
}

.plan-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: #e2e8f0;
  margin-bottom: 12px;
}

.plan-features li span.check {
  color: #ff758c;
  font-weight: bold;
}

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

.review-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 28px;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.author-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-pink), var(--color-purple));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
}

.author-info h4 {
  font-size: 0.98rem;
  color: #fff;
}

.author-info p {
  font-size: 0.82rem;
  color: var(--text-dim);
}

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

.review-content {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* FAQ */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.faq-card {
  background: var(--bg-card);
  border: 1px solid var(--border-pink);
  border-radius: var(--radius-md);
  padding: 24px;
}

.faq-q {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.faq-q span.q-badge {
  color: var(--color-pink);
  font-weight: 800;
}

.faq-a {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Footer: STRICT SPECIFICATION */
/* ONLY 4 TITLES RETAINED, OPENING IN NEW PAGE */
.site-footer {
  background: #060710;
  border-top: 1px solid var(--border-pink);
  padding: 45px 0 35px;
  margin-top: 80px;
}

.footer-nav-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 36px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.footer-nav-container a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.98rem;
  font-weight: 600;
  transition: all 0.2s ease;
  padding: 6px 12px;
  border-radius: 6px;
}

.footer-nav-container a:hover {
  color: var(--color-pink);
  text-shadow: 0 0 10px rgba(255, 117, 140, 0.6);
  background: rgba(255, 117, 140, 0.1);
}

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

/* Article / Sub-page styling */
.article-header {
  margin-bottom: 30px;
}

.article-meta {
  display: flex;
  gap: 16px;
  color: var(--text-dim);
  font-size: 0.88rem;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.article-body {
  font-size: 1.02rem;
  line-height: 1.85;
  color: #cbd5e1;
}

.article-body h2 {
  font-size: 1.65rem;
  color: #fff;
  margin: 40px 0 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-pink);
}

.article-body h3 {
  font-size: 1.28rem;
  color: var(--color-pink);
  margin: 28px 0 14px;
}

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

.article-body ul, .article-body ol {
  margin: 16px 0 24px 28px;
}

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

.article-body code {
  background: rgba(255, 117, 140, 0.12);
  color: #ff9ebb;
  padding: 2px 6px;
  border-radius: 4px;
  font-family: Consolas, Monaco, monospace;
  font-size: 0.9em;
}

.article-body pre {
  background: #060712;
  border: 1px solid var(--border-pink);
  border-radius: 10px;
  padding: 18px;
  overflow-x: auto;
  margin: 20px 0 26px;
}

.article-body pre code {
  background: transparent;
  padding: 0;
  color: #fdf2f8;
}

.callout-box {
  background: rgba(255, 117, 140, 0.08);
  border-left: 4px solid var(--color-pink);
  padding: 20px 24px;
  border-radius: 0 14px 14px 0;
  margin: 28px 0;
}

.article-toc {
  background: rgba(18, 20, 45, 0.88);
  border: 1px solid var(--border-pink);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  margin: 28px 0 36px;
}

.article-toc h4 {
  font-size: 1.1rem;
  color: var(--color-pink);
  margin-bottom: 12px;
}

.article-toc ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.article-toc li {
  margin-bottom: 8px;
}

.article-toc a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.article-toc a:hover {
  color: var(--color-purple);
}

/* ==========================================================================
   Responsive Media Queries (@media)
   ========================================================================== */

@media (max-width: 1024px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pricing-card.featured {
    transform: none;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }
  
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    text-align: center;
  }
  
  .hero-title {
    font-size: 2.2rem;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .hero-cta-group .btn {
    width: 100%;
  }

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

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

  .media-ai-container {
    grid-template-columns: 1fr;
  }

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

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

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

  .footer-nav-container {
    gap: 18px;
  }

  .anime-art-wrapper {
    max-width: 320px;
    margin: 0 auto;
  }
}
