/* Mitce.homes - Main Design System & Styling */
:root {
  --bg-primary: #0A0C14;
  --bg-card: rgba(18, 22, 38, 0.65);
  --bg-card-hover: rgba(28, 34, 58, 0.85);
  --border-card: rgba(255, 255, 255, 0.12);
  --border-gold: rgba(255, 215, 0, 0.35);

  --text-main: #F0F4F8;
  --text-muted: #94A3B8;
  --text-dim: #64748B;

  /* Tech Gold Gradient */
  --gold-gradient: linear-gradient(135deg, #FFF099 0%, #F1C40F 40%, #E67E22 75%, #FFD700 100%);
  --gold-shadow: 0 0 25px rgba(241, 196, 15, 0.3);

  /* Rainbow Gradient Palette */
  --rainbow-1: #FF2A85;
  --rainbow-2: #8A2BE2;
  --rainbow-3: #00D2FF;
  --rainbow-4: #00F5A0;

  --accent-cyan: #00F5A0;
  --accent-purple: #8A2BE2;
  --accent-pink: #FF2A85;

  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 8px;

  --transition-fast: 0.25s ease;
  --transition-normal: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Ambient Rainbow Gradient Background Effect */
.rainbow-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
  background: radial-gradient(circle at 50% 10%, #0c0e1a 0%, #05060b 100%);
}

.rainbow-blob {
  position: absolute;
  filter: blur(100px);
  opacity: 0.25;
  border-radius: 50%;
  animation: rainbowFloat 18s ease-in-out infinite alternate;
}

.rainbow-blob-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--rainbow-1), var(--rainbow-2));
  top: -100px;
  left: -100px;
}

.rainbow-blob-2 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--rainbow-3), var(--rainbow-4));
  bottom: 10%;
  right: -150px;
  animation-delay: -6s;
}

.rainbow-blob-3 {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, #FF9900, #FF0055);
  top: 45%;
  left: 30%;
  animation-delay: -12s;
}

@keyframes rainbowFloat {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(60px, 40px) scale(1.15); }
  100% { transform: translate(-40px, 80px) scale(0.9); }
}

/* Grid Overlay */
.grid-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: -1;
  pointer-events: none;
}

/* Tech Gold Typography Gradient */
.gold-text {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  font-weight: 800;
  text-shadow: 0 0 30px rgba(255, 215, 0, 0.2);
}

.gold-glow {
  text-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
}

/* Header & Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 5%;
  max-width: 1300px;
  margin: 0 auto;
  backdrop-filter: blur(16px);
  background: rgba(10, 12, 20, 0.7);
  border-bottom: 1px solid var(--border-card);
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 800;
  color: #FFF;
}

.logo-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, #FFE000 0%, #FFB000 55%, #FF7700 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #080808;
  font-weight: 900;
  font-size: 1.25rem;
  box-shadow: 0 4px 14px rgba(255, 176, 0, 0.45);
}

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

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition-fast);
}

.nav-links a:hover {
  color: #FFF;
}

/* Primary CTA Buttons */
.btn-primary {
  background: var(--gold-gradient);
  color: #0F121C;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 50px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 0 25px rgba(255, 215, 0, 0.4);
  transition: var(--transition-normal);
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 10px 30px rgba(255, 215, 0, 0.6);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #FFF;
  font-weight: 600;
  padding: 12px 26px;
  border-radius: 50px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border-card);
  backdrop-filter: blur(10px);
  transition: var(--transition-normal);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

/* Recommendation Special Button */
.btn-recommend {
  background: linear-gradient(135deg, #00F5A0 0%, #00D2FF 100%);
  color: #050E17;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 50px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 0 20px rgba(0, 245, 160, 0.35);
  transition: var(--transition-normal);
}

.btn-recommend:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 25px rgba(0, 245, 160, 0.55);
}

/* Layout Container */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Hero Section */
.hero {
  padding: 70px 0 40px;
  text-align: center;
  position: relative;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  border-radius: 30px;
  background: rgba(255, 215, 0, 0.1);
  border: 1px solid var(--border-gold);
  color: #FFD700;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #00F5A0;
  border-radius: 50%;
  box-shadow: 0 0 10px #00F5A0;
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 245, 160, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(0, 245, 160, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 245, 160, 0); }
}

.hero h1 {
  font-size: 3.5rem;
  line-height: 1.25;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.hero-sub {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 780px;
  margin: 0 auto 36px;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

/* Real-time Ticker Metrics Bar */
.metrics-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin: 30px auto 60px;
  padding: 24px;
  background: rgba(15, 20, 35, 0.75);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.metric-card {
  text-align: center;
  padding: 10px;
}

.metric-number {
  font-size: 2rem;
  font-weight: 800;
  color: #FFF;
  display: block;
  margin-bottom: 4px;
}

.metric-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

/* Floating Presentation Section (价格表 & 教学表) */
.floating-section {
  padding: 60px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: 2.4rem;
  margin-bottom: 12px;
}

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

/* Floating Animation Utility */
.floating-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(20px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255,255,255,0.1);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s ease, border-color 0.5s ease;
  animation: floatAnimation 6s ease-in-out infinite alternate;
}

.floating-card:nth-child(2) {
  animation-delay: -2s;
}

.floating-card:nth-child(3) {
  animation-delay: -4s;
}

.floating-card:hover {
  transform: translateY(-12px) scale(1.02);
  border-color: var(--border-gold);
  box-shadow: 0 25px 50px rgba(255, 215, 0, 0.15), 0 0 30px rgba(138, 43, 226, 0.2);
}

@keyframes floatAnimation {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

/* Pricing Floating Grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.price-card {
  padding: 36px 30px;
  position: relative;
  display: flex;
  flex-direction: column;
}

.price-card.popular {
  border-color: var(--border-gold);
  background: rgba(26, 23, 40, 0.85);
}

.popular-badge {
  position: absolute;
  top: -14px;
  right: 24px;
  background: var(--gold-gradient);
  color: #0A0C14;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: 20px;
  text-transform: uppercase;
}

.price-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.price-amount {
  font-size: 2.8rem;
  font-weight: 900;
  margin-bottom: 16px;
  display: flex;
  align-items: baseline;
  gap: 6px;
}

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

.price-features {
  list-style: none;
  margin: 20px 0 30px;
  flex-grow: 1;
}

.price-features li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.price-features li svg {
  color: #00F5A0;
  flex-shrink: 0;
}

/* Tutorial Floating Grid */
.tutorial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.tutorial-card {
  padding: 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.platform-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 1.6rem;
  color: #00F5A0;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.tutorial-card h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.tutorial-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Article Grid Section */
.articles-section {
  padding: 80px 0;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 28px;
}

.article-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  transition: var(--transition-normal);
}

.article-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 215, 0, 0.3);
  box-shadow: 0 15px 35px rgba(0,0,0,0.4);
}

.article-tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

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

.article-title a {
  color: #FFF;
  text-decoration: none;
  transition: var(--transition-fast);
}

.article-title a:hover {
  color: #FFD700;
}

.article-excerpt {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 20px;
  line-height: 1.6;
  flex-grow: 1;
}

.read-more {
  color: #FFD700;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-fast);
}

.read-more:hover {
  gap: 10px;
  color: #FFF;
}

/* Testimonials / User Reviews */
.reviews-section {
  padding: 70px 0;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

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

.stars {
  color: #FFD700;
  margin-bottom: 14px;
}

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

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

.reviewer-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--rainbow-1), var(--rainbow-3));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #FFF;
}

.reviewer-name {
  font-weight: 600;
  font-size: 0.95rem;
}

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

/* FAQ Accordion Section */
.faq-section {
  padding: 70px 0 90px;
}

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

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

.faq-item.active {
  border-color: var(--border-gold);
  background: rgba(22, 28, 48, 0.85);
}

.faq-question {
  padding: 20px 24px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.faq-icon {
  font-size: 1.3rem;
  transition: transform 0.3s ease;
  color: #FFD700;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0, 1, 0, 1);
  padding: 0 24px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding-bottom: 20px;
  transition: max-height 0.4s ease-in-out;
}

/* Footer & PBN Weight Pipeline Requirement */
footer {
  background: rgba(6, 8, 14, 0.95);
  border-top: 1px solid var(--border-card);
  padding: 50px 0 30px;
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.footer-nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  list-style: none;
}

.footer-nav a {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition-fast);
}

.footer-nav a:hover {
  color: #FFD700;
}

/* PBN Dofollow Links styling - low key, small font, deeply integrated */
.pbn-links-area {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.82rem;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.pbn-links-area span {
  color: var(--text-dim);
}

.pbn-links-area a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
  font-size: 0.82rem;
}

.pbn-links-area a:hover {
  color: #FFD700;
}

/* Article Detail Page Layout */
.article-page {
  max-width: 900px;
  margin: 40px auto 80px;
  padding: 0 24px;
}

.article-header {
  margin-bottom: 40px;
  text-align: center;
}

.article-header h1 {
  font-size: 2.5rem;
  line-height: 1.3;
  margin: 16px 0;
}

.article-meta {
  color: var(--text-muted);
  font-size: 0.9rem;
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
}

.article-body {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 40px;
  line-height: 1.8;
  font-size: 1.05rem;
  color: #E2E8F0;
  backdrop-filter: blur(16px);
}

.article-body h2 {
  font-size: 1.7rem;
  color: #FFD700;
  margin: 36px 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

.article-body h3 {
  font-size: 1.3rem;
  color: #FFF;
  margin: 24px 0 12px;
}

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

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

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

.article-cta-box {
  margin: 40px 0;
  padding: 30px;
  background: rgba(255, 215, 0, 0.05);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  text-align: center;
}

.article-cta-box h3 {
  color: #FFD700;
  margin-bottom: 12px;
}

/* Responsive Breakpoints */
@media (max-width: 768px) {
  .hero h1 { font-size: 2.3rem; }
  .hero-sub { font-size: 1rem; }
  .navbar { padding: 1rem; }
  .nav-links { display: none; }
  .article-body { padding: 24px; font-size: 0.98rem; }
}
