/* ==========================================================================
   库洛米 (Kuromi) 网络加速器 - 极简动漫风 CSS 样式系统
   ========================================================================== */

:root {
  /* Color Palette - Minimalist Anime Kuromi Aesthetic */
  --bg-primary: #0d0b14;
  --bg-secondary: #161324;
  --bg-tertiary: #1f1a33;
  --bg-card: rgba(28, 23, 46, 0.75);
  --bg-card-hover: rgba(42, 35, 69, 0.85);
  
  --accent-primary: #9d4edd;
  --accent-secondary: #c77dff;
  --accent-light: #e0aaff;
  --accent-glow: rgba(157, 78, 221, 0.4);
  --accent-pink: #ff75c3;
  --accent-cyan: #70e000;
  
  --text-main: #f3effe;
  --text-muted: #a39bb8;
  --text-dim: #706885;
  
  --border-color: rgba(157, 78, 221, 0.2);
  --border-glow: rgba(199, 125, 255, 0.5);
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  --font-family: system-ui, -apple-system, 'PingFang SC', 'Microsoft YaHei', 'Quicksand', 'Rounded', sans-serif;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 25px rgba(157, 78, 221, 0.35);
}

/* Base Resets */
*, *::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);
  line-height: 1.6;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  background: radial-gradient(circle at 50% 0%, #21173b 0%, #0d0b14 70%);
}

/* Typography & Rounded Styles */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
}

h3 {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
}

a {
  color: var(--accent-secondary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--accent-light);
}

/* Utility Containers */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
  position: relative;
}

.text-gradient {
  background: linear-gradient(135deg, #e0aaff 0%, #c77dff 50%, #ff75c3 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-center {
  text-align: center;
}

/* Badge Style */
.anime-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(157, 78, 221, 0.15);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  color: var(--accent-light);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
  box-shadow: 0 0 15px rgba(157, 78, 221, 0.2);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-full);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-normal);
  border: none;
  outline: none;
  text-decoration: none;
  min-height: 48px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
  color: #ffffff;
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 0 30px rgba(199, 125, 255, 0.6);
  color: #ffffff;
}

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

.btn-secondary:hover {
  background: rgba(157, 78, 221, 0.2);
  border-color: var(--accent-secondary);
  transform: translateY(-3px);
  color: var(--text-main);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(13, 11, 20, 0.8);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(157, 78, 221, 0.15);
  transition: all var(--transition-fast);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-main);
  text-decoration: none;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-pink));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 900;
  font-size: 1.3rem;
  box-shadow: 0 0 15px rgba(157, 78, 221, 0.5);
}

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

.nav-link {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
  color: var(--accent-light);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
}

/* Hero Section */
.hero {
  padding-top: 10rem;
  padding-bottom: 5rem;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-title {
  margin-bottom: 1.25rem;
}

.hero-desc {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
  width: 100%;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-val {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent-light);
}

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

/* Desktop Dynamic Anime Visual Cards */
.hero-visual {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.anime-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-card);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.anime-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-pink));
}

.anime-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-glow);
  box-shadow: var(--shadow-glow);
}

.anime-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(157, 78, 221, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-secondary);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.anime-card-title {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.anime-card-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Feature Cards Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.75rem;
  margin-top: 3rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  border-color: var(--accent-secondary);
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow);
}

.feature-icon-wrapper {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(157, 78, 221, 0.2), rgba(255, 117, 195, 0.2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--accent-light);
  margin-bottom: 1.5rem;
  border: 1px solid var(--border-color);
}

/* Media & AI Grid */
.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.media-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  text-align: center;
  transition: all var(--transition-fast);
}

.media-item:hover {
  background: var(--bg-card-hover);
  border-color: var(--accent-secondary);
  transform: scale(1.03);
}

.media-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  display: block;
}

.media-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-main);
}

.media-tag {
  font-size: 0.75rem;
  color: var(--accent-light);
  margin-top: 0.25rem;
}

/* Pricing Grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 3.5rem;
}

.price-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
}

.price-card.popular {
  border-color: var(--accent-secondary);
  box-shadow: 0 0 30px rgba(157, 78, 221, 0.3);
  background: linear-gradient(180deg, rgba(35, 27, 61, 0.9) 0%, rgba(20, 16, 35, 0.9) 100%);
}

.price-card.popular::after {
  content: '⚡ 最受欢迎';
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-pink));
  color: #fff;
  padding: 0.25rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 800;
}

.price-card:hover {
  transform: translateY(-8px);
}

.price-title {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.price-val {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--accent-light);
  margin: 1rem 0;
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
}

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

.price-features {
  list-style: none;
  margin: 1.5rem 0 2rem 0;
  flex-grow: 1;
}

.price-features li {
  padding: 0.5rem 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.price-features li::before {
  content: '✓';
  color: var(--accent-pink);
  font-weight: bold;
}

/* FAQ Accordion */
.faq-list {
  max-width: 800px;
  margin: 3rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.05rem;
  font-weight: 700;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-icon {
  font-size: 1.2rem;
  transition: transform var(--transition-fast);
  color: var(--accent-secondary);
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 1.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  transition: all var(--transition-normal);
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding-bottom: 1.25rem;
}

/* Footer Section */
.footer {
  background: #08060d;
  border-top: 1px solid var(--border-color);
  padding: 4rem 0 2rem;
  margin-top: 5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

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

.footer-title {
  font-size: 1.1rem;
  margin-bottom: 1.2rem;
  color: var(--text-main);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

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

.footer-links a:hover {
  color: var(--accent-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--text-dim);
  font-size: 0.85rem;
}

/* Floating Section Nav Arrows (Right Side) */
.section-nav-arrows {
  position: fixed;
  right: 20px;
  bottom: 30px;
  z-index: 990;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nav-arrow-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(22, 19, 36, 0.85);
  border: 1px solid var(--accent-secondary);
  color: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  transition: all var(--transition-fast);
}

.nav-arrow-btn:hover:not(:disabled) {
  background: var(--accent-primary);
  color: #fff;
  transform: scale(1.1);
  box-shadow: var(--shadow-glow);
}

.nav-arrow-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  border-color: var(--border-color);
  color: var(--text-dim);
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
  .header-container {
    height: 70px;
  }
  
  .mobile-toggle {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--bg-secondary);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    display: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
  }
  
  .nav-menu.active {
    display: flex;
  }
  
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .hero-visual {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .section-nav-arrows {
    right: 12px;
    bottom: 20px;
  }
  
  .nav-arrow-btn {
    width: 38px;
    height: 38px;
    font-size: 1rem;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
