/* Jupiter Digital Marketing - Main Stylesheet */

:root {
  --yellow: #F5C518;
  --yellow-light: #FFE566;
  --yellow-dark: #D4A017;
  --black: #0D0D0D;
  --dark: #1A1A1A;
  --dark-gray: #2D2D2D;
  --medium-gray: #4A4A4A;
  --light-gray: #F5F5F5;
  --white: #FFFFFF;
  --gradient-hero: linear-gradient(135deg, #0D0D0D 0%, #1A1A1A 50%, #2D2D2D 100%);
  --gradient-yellow: linear-gradient(135deg, #F5C518 0%, #D4A017 100%);
  --shadow-card: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-hover: 0 8px 40px rgba(0,0,0,0.15);
  --border-radius: 12px;
  --transition: all 0.3s ease;
}

/* ===== BASE ===== */
*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #2D2D2D;
  background: #fff;
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.25;
  color: #0D0D0D;
}

/* H1s use Lora serif at lighter weight for elegance */
h1 {
  font-family: 'Lora', Georgia, 'Times New Roman', serif !important;
  font-weight: 500 !important;
  letter-spacing: -0.5px;
}

a { transition: var(--transition); }

img { max-width: 100%; height: auto; }

/* ===== NAVBAR ===== */
.navbar {
  background: var(--dark) !important;
  padding: 1rem 0;
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.navbar-brand {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.navbar-brand .brand-jupiter { color: var(--yellow); }

.nav-link {
  color: rgba(255,255,255,0.85) !important;
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  border-radius: 6px;
  transition: var(--transition);
}

.nav-link:hover, .nav-link:focus {
  color: var(--yellow) !important;
  background: rgba(245,197,24,0.08);
}

.dropdown-menu {
  background: var(--dark);
  border: 1px solid rgba(245,197,24,0.15);
  border-radius: var(--border-radius);
  padding: 0.5rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

.dropdown-item {
  color: rgba(255,255,255,0.8) !important;
  border-radius: 6px;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  transition: var(--transition);
}

.dropdown-item:hover {
  background: rgba(245,197,24,0.12) !important;
  color: var(--yellow) !important;
}

.nav-cta {
  background: var(--yellow) !important;
  color: var(--black) !important;
  font-weight: 700 !important;
  padding: 0.5rem 1.25rem !important;
  border-radius: 8px !important;
}

.nav-cta:hover {
  background: var(--yellow-dark) !important;
  color: var(--black) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(245,197,24,0.4);
}

/* ===== HERO ===== */
.hero {
  background: var(--gradient-hero);
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 50%, rgba(245,197,24,0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(245,197,24,0.05) 0%, transparent 50%);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(245,197,24,0.15);
  border: 1px solid rgba(245,197,24,0.3);
  color: var(--yellow);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  color: #fff;
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1.1;
}

.hero h1 .highlight {
  color: var(--yellow);
  position: relative;
  display: inline-block;
}

.hero p.lead {
  color: rgba(255,255,255,0.7);
  font-size: 1.2rem;
  max-width: 550px;
  margin-top: 1.25rem;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

.hero-stat-num {
  font-size: 2rem;
  font-weight: 900;
  color: var(--yellow);
  display: block;
  line-height: 1;
}

.hero-stat-label {
  color: rgba(255,255,255,0.55);
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-buttons { margin-top: 2.5rem; display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-visual {
  position: relative;
  z-index: 1;
}

.hero-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  backdrop-filter: blur(10px);
  padding: 1.5rem;
  margin-bottom: 1rem;
}

.hero-card-metric {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--yellow);
}

.hero-card-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
}

.hero-chart-bar {
  height: 6px;
  border-radius: 3px;
  background: rgba(255,255,255,0.1);
  margin-bottom: 0.5rem;
  overflow: hidden;
}

.hero-chart-bar-fill {
  height: 100%;
  border-radius: 3px;
  background: var(--yellow);
  transition: width 1.5s ease;
}

/* ===== BUTTONS ===== */
.btn-primary-yellow {
  background: var(--yellow);
  color: var(--black);
  border: none;
  font-weight: 700;
  padding: 0.875rem 2rem;
  border-radius: 10px;
  font-size: 1rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-primary-yellow:hover {
  background: var(--yellow-dark);
  color: var(--black);
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(245,197,24,0.45);
}

.btn-outline-yellow {
  background: transparent;
  color: var(--yellow);
  border: 2px solid var(--yellow);
  font-weight: 700;
  padding: 0.875rem 2rem;
  border-radius: 10px;
  font-size: 1rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-outline-yellow:hover {
  background: var(--yellow);
  color: var(--black);
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(245,197,24,0.3);
}

.btn-dark-solid {
  background: var(--dark);
  color: #fff;
  border: none;
  font-weight: 700;
  padding: 0.875rem 2rem;
  border-radius: 10px;
  font-size: 1rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-dark-solid:hover {
  background: #000;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(0,0,0,0.3);
}

/* ===== SECTION HEADERS ===== */
.section-badge {
  display: inline-block;
  background: rgba(245,197,24,0.12);
  color: var(--yellow-dark);
  border: 1px solid rgba(245,197,24,0.3);
  padding: 0.3rem 0.9rem;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 900;
  letter-spacing: -1px;
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--medium-gray);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 3rem;
}

/* ===== CARDS ===== */
.service-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: var(--border-radius);
  padding: 2rem;
  transition: var(--transition);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-yellow);
  opacity: 0;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(245,197,24,0.3);
}

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

.service-icon {
  width: 60px;
  height: 60px;
  background: rgba(245,197,24,0.12);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.25rem;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: var(--yellow);
}

.service-card h4 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.service-card p {
  color: var(--medium-gray);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.service-card a.card-link {
  color: var(--yellow-dark);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.service-card a.card-link:hover { gap: 0.6rem; }

/* ===== PROCESS STEPS ===== */
.process-step {
  text-align: center;
  padding: 2rem 1rem;
  position: relative;
}

.step-number {
  width: 56px;
  height: 56px;
  background: var(--yellow);
  color: var(--black);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 900;
  margin: 0 auto 1.25rem;
}

/* ===== TESTIMONIALS ===== */
.testimonial-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: var(--border-radius);
  padding: 2rem;
  height: 100%;
  transition: var(--transition);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-hover);
  border-color: rgba(245,197,24,0.2);
}

.stars { color: var(--yellow); font-size: 1.1rem; margin-bottom: 1rem; }

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.25rem;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--black);
  font-size: 1.1rem;
}

/* ===== PRICING CARDS ===== */
.pricing-card {
  background: #fff;
  border: 2px solid #eee;
  border-radius: 16px;
  padding: 2.5rem 2rem;
  height: 100%;
  transition: var(--transition);
  position: relative;
}

.pricing-card.popular {
  border-color: var(--yellow);
  transform: scale(1.03);
  box-shadow: 0 12px 48px rgba(245,197,24,0.2);
}

.pricing-card:hover {
  box-shadow: var(--shadow-hover);
}

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--yellow);
  color: var(--black);
  font-weight: 700;
  font-size: 0.78rem;
  padding: 0.3rem 1rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.price-amount {
  font-size: 3rem;
  font-weight: 900;
  color: var(--black);
  line-height: 1;
}

.price-currency {
  font-size: 1.5rem;
  font-weight: 700;
  vertical-align: top;
  margin-top: 0.5rem;
  display: inline-block;
}

.price-period {
  font-size: 0.9rem;
  color: var(--medium-gray);
  font-weight: 500;
}

.pricing-features { list-style: none; padding: 0; margin: 1.5rem 0; }

.pricing-features li {
  padding: 0.5rem 0;
  color: var(--medium-gray);
  font-size: 0.95rem;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  border-bottom: 1px solid #f5f5f5;
}

.pricing-features li:last-child { border-bottom: none; }

.pricing-features li .check {
  color: var(--yellow-dark);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.pricing-features li .cross {
  color: #ccc;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

/* ===== CTA SECTIONS ===== */
.cta-section {
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(245,197,24,0.1) 0%, transparent 60%);
}

/* ===== FOOTER ===== */
footer {
  background: #0D0D0D;
  color: rgba(255,255,255,0.7);
}

.footer-brand { font-size: 1.3rem; font-weight: 800; }

.footer-links { list-style: none; padding: 0; }

.footer-links li { margin-bottom: 0.6rem; }

.footer-links a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-links a:hover { color: var(--yellow); padding-left: 4px; }

.footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.06);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: var(--transition);
  font-size: 1rem;
}

.footer-social a:hover {
  background: var(--yellow);
  color: var(--black);
  transform: translateY(-2px);
}

/* ===== BLOG ===== */
.blog-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: var(--transition);
  height: 100%;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(245,197,24,0.2);
}

.blog-card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.blog-card-body { padding: 1.5rem; }

.blog-tag {
  display: inline-block;
  background: rgba(245,197,24,0.12);
  color: var(--yellow-dark);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.75rem;
  text-decoration: none;
}

.blog-card h5 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  line-height: 1.4;
}

.blog-card h5 a {
  color: var(--black);
  text-decoration: none;
}

.blog-card h5 a:hover { color: var(--yellow-dark); }

.blog-meta {
  font-size: 0.8rem;
  color: var(--medium-gray);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
}

/* ===== ARTICLE PAGES ===== */
.article-hero {
  background: var(--gradient-hero);
  padding: 5rem 0 4rem;
  position: relative;
}

.article-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(245,197,24,0.06) 0%, transparent 60%);
}

.article-img-top {
  border-radius: var(--border-radius);
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  margin: 2rem 0;
  box-shadow: var(--shadow-card);
}

.article-img-mid {
  border-radius: var(--border-radius);
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  margin: 2.5rem 0;
  box-shadow: var(--shadow-card);
}

.article-content h2 {
  font-size: 1.7rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: var(--black);
}

.article-content h3 {
  font-size: 1.3rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  color: var(--dark);
}

.article-content p { margin-bottom: 1.25rem; line-height: 1.8; color: #3a3a3a; }

.article-content ul, .article-content ol {
  margin-bottom: 1.5rem;
  padding-left: 1.75rem;
}

.article-content li { margin-bottom: 0.5rem; line-height: 1.7; color: #3a3a3a; }

.article-content a {
  color: var(--yellow-dark);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: rgba(212,160,23,0.3);
  text-underline-offset: 3px;
}

.article-content a:hover {
  color: var(--black);
  text-decoration-color: var(--yellow);
}

.article-sidebar {
  position: sticky;
  top: 90px;
}

.sidebar-widget {
  background: var(--light-gray);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.sidebar-widget h5 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--yellow);
  color: var(--black);
}

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

.toc-list li { margin-bottom: 0.5rem; }

.toc-list a {
  color: var(--medium-gray);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.toc-list a::before {
  content: '→';
  color: var(--yellow-dark);
  font-size: 0.8rem;
}

.toc-list a:hover { color: var(--yellow-dark); padding-left: 4px; }

.article-callout {
  background: rgba(245,197,24,0.08);
  border-left: 4px solid var(--yellow);
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
}

.article-callout p { margin: 0; font-weight: 500; }

/* ===== STATS SECTION ===== */
.stat-card {
  text-align: center;
  padding: 2rem 1rem;
}

.stat-number {
  font-size: 3rem;
  font-weight: 900;
  color: var(--yellow);
  display: block;
  line-height: 1;
}

.stat-label {
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

/* ===== FORM STYLES ===== */
.contact-form .form-control,
.contact-form .form-select {
  background: var(--light-gray);
  border: 2px solid #e8e8e8;
  border-radius: 10px;
  padding: 0.875rem 1.25rem;
  font-size: 0.95rem;
  transition: var(--transition);
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
  background: #fff;
  border-color: var(--yellow);
  box-shadow: 0 0 0 3px rgba(245,197,24,0.15);
}

.contact-form label {
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  color: var(--dark);
}

/* ===== FAQ ===== */
.accordion-item {
  border: 1px solid #eee !important;
  border-radius: var(--border-radius) !important;
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.accordion-button {
  font-weight: 600;
  color: var(--dark) !important;
  background: #fff !important;
  font-size: 1rem;
}

.accordion-button:not(.collapsed) {
  color: var(--yellow-dark) !important;
  background: rgba(245,197,24,0.05) !important;
  box-shadow: none !important;
}

.accordion-button:focus {
  box-shadow: 0 0 0 3px rgba(245,197,24,0.2) !important;
}

.accordion-button::after {
  filter: brightness(0.5);
}

.accordion-button:not(.collapsed)::after {
  filter: invert(70%) sepia(80%) saturate(300%) hue-rotate(5deg);
}

/* ===== UTILITIES ===== */
.bg-dark-section { background: var(--dark); }
.bg-yellow-section { background: var(--yellow); }
.text-yellow { color: var(--yellow) !important; }
.text-yellow-dark { color: var(--yellow-dark) !important; }
.fw-900 { font-weight: 900 !important; }

.icon-badge {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.icon-badge-yellow { background: rgba(245,197,24,0.15); }
.icon-badge-dark { background: rgba(255,255,255,0.08); }

.divider-yellow {
  width: 60px;
  height: 4px;
  background: var(--yellow);
  border-radius: 2px;
  margin: 1rem auto;
}

.divider-yellow-left {
  width: 60px;
  height: 4px;
  background: var(--yellow);
  border-radius: 2px;
  margin: 1rem 0;
}

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  background: var(--gradient-hero);
  padding: 6rem 0 5rem;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(245,197,24,0.07) 0%, transparent 60%);
}

.breadcrumb-item a { color: var(--yellow) !important; }
.breadcrumb-item.active { color: rgba(255,255,255,0.7) !important; }
.breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.3) !important; }

/* ===== SCROLL ANIMATIONS ===== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991.98px) {
  .hero { min-height: auto; padding: 5rem 0; }
  .hero h1 { font-size: 2.8rem; }
  .pricing-card.popular { transform: scale(1); }
  .hero-stats { gap: 1.5rem; }
}

@media (max-width: 767.98px) {
  .hero h1 { font-size: 2.2rem; letter-spacing: -1px; }
  .section-title { font-size: 1.8rem; }
  .hero-buttons { flex-direction: column; }
  .btn-primary-yellow, .btn-outline-yellow, .btn-dark-solid { justify-content: center; }
}
