/* Global Stylesheet for Mojienet.club */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Noto+Sans+SC:wght@300;400;500;700;900&display=swap');

:root {
  --bg-primary: #0a0a12;
  --bg-secondary: #121224;
  --accent-primary: #6366f1; /* Indigo */
  --accent-secondary: #a855f7; /* Purple */
  --accent-glow: #3b82f6; /* Blue */
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-inverse: #0f172a;
  --card-bg: rgba(20, 20, 35, 0.6);
  --card-border: rgba(255, 255, 255, 0.08);
  --neon-border: rgba(99, 102, 241, 0.3);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1200px;
}

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

html {
  scroll-behavior: smooth;
  font-family: 'Outfit', 'Noto Sans SC', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-main);
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  position: relative;
  line-height: 1.6;
}

/* Background elements */
body::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1200px;
  background: linear-gradient(rgba(10, 10, 18, 0.7) 0%, rgba(10, 10, 18, 0.95) 75%, #0a0a12 100%),
              url('assets/mojie_ring_bg.jpg') no-repeat center top;
  background-size: cover;
  z-index: -1;
  pointer-events: none;
  opacity: 0.9;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
}

/* Navigation Header */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--card-border);
  background: rgba(10, 10, 18, 0.8);
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.2rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.6rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

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

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

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

.nav-links a:hover {
  color: var(--text-main);
  text-shadow: 0 0 10px rgba(99, 102, 241, 0.5);
}

.cta-button {
  background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
  color: var(--text-main);
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: var(--transition);
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(168, 85, 247, 0.5);
}

.cta-button.secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--card-border);
  box-shadow: none;
}

.cta-button.secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--accent-primary);
}

/* Sections Layout */
section {
  padding: 6rem 2rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-title {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--text-main) 30%, var(--text-muted) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-title p {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.1rem;
}

/* Hero Section */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
  padding: 8rem 2rem;
}

.hero-content h1 {
  font-size: 3.8rem;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #ffffff 40%, #a855f7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content p {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid var(--neon-border);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  color: var(--accent-primary);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  gap: 3rem;
  border-top: 1px solid var(--card-border);
  padding-top: 2rem;
}

.stat-item h3 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-main);
}

.stat-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.visual-globe {
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, rgba(168, 85, 247, 0.03) 70%);
  border: 1px dashed rgba(99, 102, 241, 0.2);
  display: flex;
  justify-content: center;
  align-items: center;
  animation: spin 30s linear infinite;
  position: relative;
}

.visual-globe::after {
  content: '';
  position: absolute;
  width: 80%;
  height: 80%;
  border-radius: 50%;
  border: 1px solid rgba(168, 85, 247, 0.15);
  animation: spin-reverse 20s linear infinite;
}

.visual-center-card {
  position: absolute;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  text-align: center;
  width: 260px;
  animation: float 6s ease-in-out infinite;
}

.visual-center-card h4 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--text-main);
}

.visual-center-card .speed-glow {
  font-size: 2.2rem;
  font-weight: 800;
  color: #10b981;
  text-shadow: 0 0 15px rgba(16, 185, 129, 0.4);
  margin: 0.5rem 0;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
  opacity: 0;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--neon-border);
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.1);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: rgba(99, 102, 241, 0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--accent-primary);
  font-size: 1.8rem;
}

.feature-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.feature-card p {
  color: var(--text-muted);
}

/* Price Search & Calculator */
.pricing-section {
  background: linear-gradient(180deg, transparent 0%, rgba(99, 102, 241, 0.02) 50%, transparent 100%);
}

.pricing-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.calc-box {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 3rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.calc-box h3 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 2rem;
}

.form-label {
  display: flex;
  justify-content: space-between;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.form-label span {
  color: var(--text-main);
  font-weight: 700;
}

.slider-input {
  width: 100%;
  height: 6px;
  -webkit-appearance: none;
  background: rgba(255, 255, 255, 0.1);
  outline: none;
  border-radius: 10px;
}

.slider-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
  cursor: pointer;
  box-shadow: 0 0 10px rgba(168, 85, 247, 0.8);
}

.calc-result {
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed var(--card-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.result-price {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent-secondary);
}

.calc-button {
  width: 100%;
}

.price-list-wrapper h3 {
  font-size: 1.8rem;
  margin-bottom: 2rem;
}

.pricing-table-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.price-row:hover {
  background: rgba(99, 102, 241, 0.05);
  border-color: var(--accent-primary);
}

.price-row.hot {
  border-color: var(--accent-secondary);
  background: rgba(168, 85, 247, 0.05);
  position: relative;
}

.price-row.hot::after {
  content: 'HOT';
  position: absolute;
  right: 1.5rem;
  top: -10px;
  background: var(--accent-secondary);
  color: var(--text-main);
  font-size: 0.65rem;
  padding: 0.1rem 0.5rem;
  border-radius: 4px;
  font-weight: 700;
}

.price-traffic {
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.price-traffic span {
  font-size: 0.8rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  font-weight: 400;
}

.price-num {
  font-weight: 800;
  color: var(--text-main);
  font-size: 1.15rem;
}

/* Blog Articles Section */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.blog-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-5px);
  border-color: var(--neon-border);
  box-shadow: 0 15px 40px rgba(99, 102, 241, 0.15);
}

.blog-img {
  height: 200px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(168, 85, 247, 0.2) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  font-size: 3rem;
  position: relative;
}

.blog-img::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, transparent 30%, rgba(10, 10, 18, 0.8) 100%);
}

.blog-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.blog-content h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  line-height: 1.4;
  font-weight: 700;
}

.blog-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.blog-link {
  margin-top: auto;
  color: var(--accent-primary);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.blog-link:hover {
  color: var(--accent-secondary);
}

/* User Reviews (Testimonials) */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.review-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  position: relative;
}

.stars {
  color: #f59e0b;
  margin-bottom: 1rem;
  display: flex;
  gap: 0.2rem;
}

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

.reviewer-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.reviewer-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--text-main);
}

.reviewer-meta h4 {
  font-size: 1rem;
  font-weight: 600;
}

.reviewer-meta p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* FAQ Accordions */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  overflow: hidden;
  transition: var(--transition);
}

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

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  transition: var(--transition);
  color: var(--accent-primary);
}

.faq-item.active {
  background: rgba(99, 102, 241, 0.02);
  border-color: var(--accent-primary);
}

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

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

.faq-item.active .faq-answer {
  max-height: 200px; /* arbitrary limit, enough for content */
  padding-bottom: 1.5rem;
}

/* Article Page Layout Styles */
.article-page {
  max-width: 800px;
  margin: 4rem auto;
  padding: 0 2rem;
}

.article-header {
  margin-bottom: 3rem;
  text-align: left;
}

.article-title {
  font-size: 2.8rem;
  line-height: 1.3;
  margin-bottom: 1.5rem;
  font-weight: 800;
}

.article-meta-info {
  display: flex;
  gap: 1.5rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  border-bottom: 1px solid var(--card-border);
  padding-bottom: 1.5rem;
  margin-bottom: 2rem;
}

.article-body {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #e2e8f0;
}

.article-body p {
  margin-bottom: 1.5rem;
}

.article-body h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin: 2.5rem 0 1rem 0;
  color: var(--text-main);
}

.article-body h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin: 2rem 0 1rem 0;
  color: var(--text-main);
}

.article-body blockquote {
  border-left: 4px solid var(--accent-primary);
  background: rgba(99, 102, 241, 0.05);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: var(--text-muted);
}

.article-body a {
  color: var(--accent-primary);
  font-weight: 600;
  border-bottom: 1px dashed var(--accent-primary);
}

.article-body a:hover {
  color: var(--accent-secondary);
  border-bottom-color: var(--accent-secondary);
}

.article-body ul, .article-body ol {
  margin-left: 2rem;
  margin-bottom: 1.5rem;
}

.article-body li {
  margin-bottom: 0.5rem;
}

.article-footer {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--card-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.article-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--text-muted);
}

.article-back-btn:hover {
  color: var(--text-main);
}

/* Footer Section */
footer {
  border-top: 1px solid var(--card-border);
  background: #06060c;
  padding: 4rem 2rem;
}

.footer-container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
}

.footer-brand p {
  color: var(--text-muted);
  margin-top: 1rem;
  font-size: 0.95rem;
}

.footer-col h4 {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

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

.footer-col ul li {
  margin-bottom: 0.75rem;
}

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

.footer-col ul li a:hover {
  color: var(--text-main);
  padding-left: 4px;
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 3rem auto 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Animations */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes spin-reverse {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(-360deg); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* Responsive Rules */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 6rem 2rem;
    text-align: center;
  }
  .hero-content h1 {
    font-size: 3rem;
  }
  .hero-actions, .hero-stats {
    justify-content: center;
  }
  .pricing-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none; /* simple hidden for mobile, in real project we would do drawer */
  }
  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
  .section-title h2 {
    font-size: 2rem;
  }
  .hero-content h1 {
    font-size: 2.5rem;
  }
  .article-title {
    font-size: 2.2rem;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .footer-container {
    grid-template-columns: 1fr;
  }
  .hero-stats {
    flex-direction: column;
    gap: 1.5rem;
  }
  .hero-actions {
    flex-direction: column;
    gap: 1rem;
  }
}
