/* Modern Indigo & Violet SaaS Design for mojiecloud.homes */
:root {
  --primary: #4f46e5;
  --primary-hover: #4338ca;
  --primary-gradient: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
  --primary-light: rgba(79, 70, 229, 0.08);
  --primary-glow: rgba(79, 70, 229, 0.25);
  --accent-cyan: #06b6d4;
  --accent-violet: #8b5cf6;
  --dark: #0f172a;
  --dark-surface: #1e1b4b;
  --bg-page: #f8fafc;
  --bg-card: #ffffff;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --border-color: #e2e8f0;
  --border-hover: #cbd5e1;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-pill: 9999px;
  --shadow-sm: 0 2px 8px rgba(79, 70, 229, 0.06);
  --shadow-md: 0 8px 24px rgba(79, 70, 229, 0.1);
  --shadow-lg: 0 16px 40px rgba(79, 70, 229, 0.14);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--primary); text-decoration: none; transition: all 0.2s ease; }
a:hover { color: var(--primary-hover); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* Top Announcement */
.top-bar {
  background: var(--dark-surface);
  color: #fff;
  padding: 8px 0;
  font-size: 0.82rem;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.top-bar span { color: #38bdf8; font-weight: 600; }

/* Navbar */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-color);
  padding: 14px 0;
  box-shadow: var(--shadow-sm);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.35rem; color: var(--dark); text-decoration: none; }
.brand-badge {
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(79, 70, 229, 0.2);
}
.nav-links { display: flex; gap: 22px; list-style: none; }
.nav-links a { color: var(--text-main); font-weight: 500; font-size: 0.95rem; }
.nav-links a:hover, .nav-links a.active { color: var(--primary); }
.nav-actions { display: flex; gap: 12px; align-items: center; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 9px 18px; font-size: 0.92rem; font-weight: 600;
  border-radius: var(--radius-sm); border: 1px solid transparent; cursor: pointer;
  transition: all 0.2s ease; text-decoration: none;
}
.btn-primary {
  background: var(--primary-gradient);
  color: #fff;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.35);
}
.btn-primary:hover { transform: translateY(-1px); color: #fff; box-shadow: 0 6px 18px rgba(79, 70, 229, 0.45); }
.btn-outline { background: transparent; border-color: var(--border-color); color: var(--dark); }
.btn-outline:hover { background: var(--primary-light); border-color: var(--primary); color: var(--primary); }
.btn-cyan { background: var(--accent-cyan); color: #fff; box-shadow: 0 4px 12px rgba(6, 182, 212, 0.3); }
.btn-cyan:hover { background: #0891b2; color: #fff; }
.btn-lg { padding: 14px 30px; font-size: 1.05rem; border-radius: var(--radius-md); }

/* Hero Section */
.hero {
  padding: 70px 0 60px;
  background: radial-gradient(circle at 10% 20%, rgba(79, 70, 229, 0.05) 0%, rgba(248, 250, 252, 1) 90%);
  position: relative; overflow: hidden;
  border-bottom: 1px solid var(--border-color);
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(79, 70, 229, 0.08);
  border: 1px solid rgba(79, 70, 229, 0.2);
  padding: 6px 14px; border-radius: var(--radius-pill);
  font-size: 0.85rem; font-weight: 600; color: var(--primary);
  margin-bottom: 20px;
}
.hero h1 { font-size: 2.8rem; font-weight: 900; line-height: 1.2; color: var(--dark); margin-bottom: 18px; }
.hero h1 .highlight {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-p { font-size: 1.15rem; color: var(--text-muted); max-width: 760px; margin-bottom: 30px; line-height: 1.7; }
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  background: #fff; padding: 24px; border-radius: var(--radius-md);
  border: 1px solid var(--border-color); box-shadow: var(--shadow-sm);
}
.stat-item h4 { font-size: 1.8rem; font-weight: 800; color: var(--primary); }
.stat-item p { font-size: 0.85rem; color: var(--text-muted); font-weight: 500; }

/* Streaming & AI Matrix Showcase */
.stream-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 35px;
}
.stream-card {
  background: #fff; border: 1px solid var(--border-color); border-radius: var(--radius-md);
  padding: 20px; text-align: center; transition: all 0.25s ease;
  position: relative; overflow: hidden;
}
.stream-card:hover {
  transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--primary);
}
.stream-icon { font-size: 2.2rem; margin-bottom: 10px; }
.stream-title { font-size: 1.05rem; font-weight: 700; color: var(--dark); margin-bottom: 6px; }
.stream-desc { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 10px; }
.stream-status {
  display: inline-block; font-size: 0.75rem; font-weight: 700;
  padding: 3px 8px; border-radius: var(--radius-pill);
  background: #ecfdf5; color: #059669; border: 1px solid #a7f3d0;
}

/* Section styling */
.section { padding: 65px 0; }
.section-alt { background: #f1f5f9; }
.section-header { text-align: center; max-width: 780px; margin: 0 auto 45px; }
.section-tag {
  display: inline-block; font-size: 0.8rem; font-weight: 700; text-transform: uppercase;
  color: var(--primary); background: var(--primary-light);
  padding: 4px 12px; border-radius: var(--radius-pill); margin-bottom: 10px;
}
.section-title { font-size: 2.2rem; font-weight: 800; color: var(--dark); margin-bottom: 14px; }
.section-sub { font-size: 1.05rem; color: var(--text-muted); }

/* Pricing Cards */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pricing-card {
  background: #fff; border: 1px solid var(--border-color); border-radius: var(--radius-lg);
  padding: 32px 28px; position: relative; transition: all 0.3s ease;
  display: flex; flex-direction: column;
}
.pricing-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--primary); }
.pricing-card.featured {
  border: 2px solid var(--primary);
  box-shadow: 0 10px 30px rgba(79, 70, 229, 0.15);
}
.popular-badge {
  position: absolute; top: -13px; right: 24px;
  background: var(--primary-gradient); color: #fff;
  font-size: 0.75rem; font-weight: 700; padding: 4px 12px;
  border-radius: var(--radius-pill); letter-spacing: 0.5px;
}
.plan-header { margin-bottom: 20px; }
.plan-name { font-size: 1.3rem; font-weight: 800; color: var(--dark); }
.plan-desc { font-size: 0.88rem; color: var(--text-muted); margin-top: 4px; }
.plan-price { font-size: 2.4rem; font-weight: 900; color: var(--dark); margin: 15px 0 5px; }
.plan-price span { font-size: 1rem; font-weight: 500; color: var(--text-muted); }
.plan-subtext { font-size: 0.82rem; color: #059669; font-weight: 600; margin-bottom: 20px; }
.plan-features { list-style: none; margin-bottom: 28px; flex-grow: 1; }
.plan-features li { display: flex; align-items: center; gap: 10px; font-size: 0.92rem; margin-bottom: 12px; color: var(--text-main); }
.plan-features li svg { color: var(--primary); flex-shrink: 0; }

/* Interactive Calculator */
.calc-box {
  background: #fff; border: 1px solid var(--border-color); border-radius: var(--radius-lg);
  padding: 36px; max-width: 860px; margin: 0 auto; box-shadow: var(--shadow-sm);
}
.calc-row { margin-bottom: 24px; }
.calc-label { display: flex; justify-content: space-between; font-weight: 600; margin-bottom: 8px; font-size: 0.95rem; }
.calc-slider { width: 100%; height: 6px; border-radius: 4px; background: #e2e8f0; outline: none; -webkit-appearance: none; }
.calc-slider::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; border-radius: 50%; background: var(--primary); cursor: pointer; }
.calc-result {
  background: var(--primary-light); border: 1px solid rgba(79, 70, 229, 0.2);
  border-radius: var(--radius-md); padding: 20px; text-align: center; margin-top: 25px;
}
.calc-result h4 { font-size: 1.3rem; color: var(--primary); font-weight: 800; margin-bottom: 6px; }

/* FAQ Accordion */
.faq-grid { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: #fff; border: 1px solid var(--border-color); border-radius: var(--radius-md);
  padding: 20px 24px; transition: all 0.2s ease;
}
.faq-item:hover { border-color: var(--primary); }
.faq-q { font-weight: 700; font-size: 1.05rem; color: var(--dark); margin-bottom: 8px; display: flex; align-items: center; justify-content: space-between; }
.faq-a { color: var(--text-muted); font-size: 0.92rem; line-height: 1.6; }

/* CTA Banner */
.cta-banner {
  background: var(--dark-surface);
  border-radius: var(--radius-lg); padding: 50px 40px; text-align: center; color: #fff;
  position: relative; overflow: hidden; margin-top: 40px;
}
.cta-banner h2 { font-size: 2.2rem; font-weight: 800; margin-bottom: 14px; }
.cta-banner p { font-size: 1.05rem; color: #cbd5e1; max-width: 650px; margin: 0 auto 28px; }

/* Footer */
.footer {
  background: #0f172a; color: #94a3b8; padding: 55px 0 30px; font-size: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-col h5 { color: #fff; font-size: 1rem; font-weight: 700; margin-bottom: 16px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a { color: #94a3b8; }
.footer-col ul a:hover { color: #fff; }
.footer-bottom {
  padding-top: 25px; border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 15px;
}
.footer-friendly-links {
  margin-top: 30px; padding: 22px; background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08); border-radius: var(--radius-md);
}
.links-title { font-weight: 700; color: #cbd5e1; margin-bottom: 12px; font-size: 0.9rem; }
.links-flex { display: flex; flex-wrap: wrap; gap: 12px; }
.friendly-link {
  display: inline-block; padding: 6px 14px; border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05); color: #94a3b8; font-size: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.friendly-link:hover { background: rgba(79, 70, 229, 0.2); color: #fff; border-color: var(--primary); }
.friendly-link.current { background: rgba(79, 70, 229, 0.3); color: #fff; font-weight: 600; border-color: var(--primary); }

@media (max-width: 900px) {
  .hero h1 { font-size: 2.1rem; }
  .pricing-grid { grid-template-columns: 1fr; }
  .stream-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}
