/* ============================================================
   JODABRIRO — Page-Specific Styles
   Hero, About, Services, FAQ, Contact, Footer
   ============================================================ */

/* ══════════════════════════════════════════════════════════════
   HERO SECTION
   ══════════════════════════════════════════════════════════════ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: calc(var(--nav-height) + var(--space-md));
  padding-bottom: var(--space-md);
  overflow: hidden;
}

/* Background */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--bg-primary);
}

.hero-bg-image {
  position: absolute;
  inset: 0;
  background-image: url('../assets/images/hero_background.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.15;
}

.hero-bg-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 30%, rgba(124, 58, 237, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 70%, rgba(6, 182, 212, 0.1) 0%, transparent 50%),
    linear-gradient(180deg, transparent 60%, var(--bg-primary) 100%);
  animation: gradient-shift 12s ease-in-out infinite;
  background-size: 200% 200%;
}

/* Floating Geometric Shapes */
.hero-shapes {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.hero-shape {
  position: absolute;
  border: 1px solid var(--glass-border);
  opacity: 0.06;
}

.hero-shape-1 {
  width: 300px;
  height: 300px;
  top: 10%;
  right: -5%;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.08), transparent);
  animation: shape-drift-1 20s ease-in-out infinite;
}

.hero-shape-2 {
  width: 200px;
  height: 200px;
  bottom: 20%;
  left: -3%;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.08), transparent);
  animation: shape-drift-2 25s ease-in-out infinite;
}

.hero-shape-3 {
  width: 150px;
  height: 150px;
  top: 40%;
  left: 60%;
  border-radius: 20%;
  transform: rotate(45deg);
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.06), transparent);
  animation: shape-drift-3 18s ease-in-out infinite;
}

.hero-shape-4 {
  width: 100px;
  height: 100px;
  top: 25%;
  left: 10%;
  border-radius: 40% 60% 60% 40% / 40% 40% 60% 60%;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.06), transparent);
  animation: shape-drift-2 22s ease-in-out infinite reverse;
}

/* Hero Content */
.hero-content {
  text-align: center;
  max-width: 800px;
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

.hero-badge {
  margin-bottom: var(--space-md);
}

.hero-title {
  margin-bottom: var(--space-md);
}

.hero-subtitle {
  font-size: var(--fs-body-lg);
  color: var(--text-secondary);
  line-height: var(--lh-relaxed);
  max-width: 600px;
  margin-inline: auto;
  margin-bottom: var(--space-md);
}

.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  align-items: center;
}

/* Hero Stats */
.hero-stats {
  margin-top: auto;
  padding-top: var(--space-lg);
}

.hero-stats-inner {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: var(--space-md);
}

.hero-stats .stat-card {
  position: relative;
}

.hero-stats .stat-card:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: var(--glass-border);
}

/* ══════════════════════════════════════════════════════════════
   ABOUT SECTION
   ══════════════════════════════════════════════════════════════ */

.about-text {
  font-size: var(--fs-body-lg);
  color: var(--text-secondary);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--space-md);
}

.about-highlight {
  font-family: var(--font-heading);
  font-size: var(--fs-h3);
  font-weight: var(--fw-semibold);
  color: var(--text-primary);
  line-height: var(--lh-snug);
  margin-bottom: var(--space-sm);
  padding-left: var(--space-sm);
  border-left: 3px solid;
  border-image: var(--accent-gradient) 1;
}

.value-card {
  padding: var(--space-md);
}

.value-icon {
  font-size: 2rem;
  margin-bottom: var(--space-sm);
  display: block;
}

.value-title {
  font-family: var(--font-heading);
  font-size: var(--fs-h4);
  font-weight: var(--fw-bold);
  margin-bottom: var(--space-xs);
}

.value-text {
  font-size: var(--fs-small);
  color: var(--text-secondary);
  line-height: var(--lh-relaxed);
}

/* About image / visual */
.about-visual {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-visual-content {
  padding: var(--space-lg);
  text-align: center;
}

.about-visual-icon {
  font-size: 4rem;
  margin-bottom: var(--space-sm);
  display: block;
}

.about-visual-stat {
  font-family: var(--font-heading);
  font-size: var(--fs-hero);
  font-weight: var(--fw-extrabold);
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}

.about-visual-label {
  font-size: var(--fs-body);
  color: var(--text-secondary);
  margin-top: var(--space-xs);
}

/* Decorative gradient orb */
.about-visual::before {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.2) 0%, transparent 70%);
  top: -40px;
  right: -40px;
}

.about-visual::after {
  content: '';
  position: absolute;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.15) 0%, transparent 70%);
  bottom: -30px;
  left: -30px;
}

/* ══════════════════════════════════════════════════════════════
   SERVICES (BENTO) SECTION
   ══════════════════════════════════════════════════════════════ */

.services-section {
  background: var(--bg-secondary);
}

.service-card.bento-item-featured {
  padding: var(--space-lg);
}

.service-card.bento-item-featured .service-icon {
  width: 72px;
  height: 72px;
  font-size: 2.25rem;
}

.service-card.bento-item-featured .service-title {
  font-size: var(--fs-h2);
}

.service-card.bento-item-featured .service-description {
  font-size: var(--fs-body-lg);
}

/* ══════════════════════════════════════════════════════════════
   FAQ SECTION
   ══════════════════════════════════════════════════════════════ */

.faq-search-wrapper {
  margin-bottom: var(--space-md);
}

.faq-categories {
  margin-bottom: var(--space-md);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  max-width: var(--container-narrow);
  margin-inline: auto;
}

.faq-counter {
  margin-top: var(--space-sm);
}

/* ══════════════════════════════════════════════════════════════
   CONTACT SECTION
   ══════════════════════════════════════════════════════════════ */

.contact-section {
  background: var(--bg-secondary);
}

.contact-form-card {
  padding: var(--space-lg);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--glass-bg-strong);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-info-label {
  font-family: var(--font-heading);
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
  margin-bottom: var(--space-2xs);
}

.contact-info-value {
  font-size: var(--fs-body);
  color: var(--text-primary);
  line-height: var(--lh-normal);
}

.contact-info-value a {
  color: var(--accent-violet-light);
  transition: color var(--transition-fast);
}

.contact-info-value a:hover {
  color: var(--accent-cyan-light);
}

/* ══════════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════════ */

.site-footer {
  background: var(--bg-primary);
  border-top: 1px solid var(--glass-border);
  padding-block: var(--space-xl) var(--space-md);
}

.footer-brand {
  margin-bottom: var(--space-sm);
}

.footer-brand-name {
  font-family: var(--font-heading);
  font-size: var(--fs-h3);
  font-weight: var(--fw-extrabold);
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: var(--space-xs);
}

.footer-brand-desc {
  font-size: var(--fs-small);
  color: var(--text-secondary);
  line-height: var(--lh-relaxed);
  max-width: 300px;
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: var(--fs-body);
  font-weight: var(--fw-semibold);
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.footer-link {
  font-size: var(--fs-small);
  color: var(--text-secondary);
  transition: color var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
}

.footer-link:hover {
  color: var(--accent-violet-light);
}

.footer-bottom {
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid var(--glass-border);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  align-items: center;
  text-align: center;
}

.footer-copy {
  font-size: var(--fs-small);
  color: var(--text-tertiary);
}

.footer-legal {
  display: flex;
  gap: var(--space-sm);
  font-size: var(--fs-xs);
}

.footer-legal a {
  color: var(--text-tertiary);
  transition: color var(--transition-fast);
}

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

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE OVERRIDES (Page-specific)
   ══════════════════════════════════════════════════════════════ */

@media (min-width: 480px) {
  .hero-ctas {
    flex-direction: row;
    justify-content: center;
  }
}

@media (min-width: 768px) {
  .hero {
    padding-top: calc(var(--nav-height) + var(--space-lg));
  }

  .hero-content {
    max-width: 720px;
  }

  .hero-stats .stat-card:not(:last-child)::after {
    display: block;
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

@media (min-width: 1024px) {
  .hero-content {
    max-width: 800px;
  }

  .hero-shape-1 {
    width: 400px;
    height: 400px;
  }

  .hero-shape-2 {
    width: 300px;
    height: 300px;
  }
}

@media (max-width: 480px) {
  .hero-stats .stat-card:not(:last-child)::after {
    display: none;
  }

  .contact-form-card {
    padding: var(--space-md);
  }
}
