/* Tunas Buruj — Kid-friendly Dark Purple Theme */

:root {
  --bg-deep: #0d0221;
  --bg-main: #150734;
  --bg-card: #1a0a3e;
  --bg-card-hover: #221052;
  --purple-900: #240046;
  --purple-700: #5a189a;
  --purple-500: #7b2cbf;
  --purple-400: #9d4edd;
  --purple-300: #c77dff;
  --purple-200: #e0aaff;
  --gold: #ffd166;
  --gold-soft: #ffe08a;
  --pink-accent: #ff6b9d;
  --text-primary: #f8f7ff;
  --text-secondary: #c8b8e8;
  --text-muted: #9a8bb8;
  --gradient-main: linear-gradient(135deg, #9d4edd 0%, #5a189a 50%, #240046 100%);
  --gradient-gold: linear-gradient(135deg, #ffd166, #ff9f1c);
  --shadow-glow: 0 0 40px rgba(157, 78, 221, 0.25);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.35);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-full: 999px;
  --font-display: 'Fredoka', sans-serif;
  --font-body: 'Nunito', sans-serif;
  --header-h: 80px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: var(--font-body);
  background: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
}

.container {
  width: min(1140px, 92vw);
  margin-inline: auto;
}

/* Animated starfield background */
.stars {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(157, 78, 221, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(255, 209, 102, 0.06) 0%, transparent 40%),
    radial-gradient(ellipse at 50% 0%, rgba(90, 24, 154, 0.2) 0%, transparent 60%);
}

.stars::before,
.stars::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 10% 20%, rgba(255,255,255,0.5), transparent),
    radial-gradient(1px 1px at 30% 65%, rgba(255,255,255,0.4), transparent),
    radial-gradient(1.5px 1.5px at 55% 15%, rgba(255,209,102,0.6), transparent),
    radial-gradient(1px 1px at 70% 45%, rgba(255,255,255,0.35), transparent),
    radial-gradient(1px 1px at 85% 75%, rgba(199,125,255,0.5), transparent),
    radial-gradient(1px 1px at 15% 85%, rgba(255,255,255,0.3), transparent),
    radial-gradient(1.5px 1.5px at 45% 90%, rgba(255,209,102,0.4), transparent),
    radial-gradient(1px 1px at 92% 30%, rgba(255,255,255,0.45), transparent);
  animation: twinkle 8s ease-in-out infinite alternate;
}

.stars::after {
  animation-delay: -4s;
  opacity: 0.6;
}

@keyframes twinkle {
  0% { opacity: 0.5; transform: scale(1); }
  100% { opacity: 1; transform: scale(1.02); }
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(13, 2, 33, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(157, 78, 221, 0.15);
  transition: var(--transition);
}

/* Kelas untuk memaksa warna Tunas Buruj kepada #e0aaff */
.tunas-buruj-color {
    color: #e0aaff !important;
}

.header.scrolled {
  background: rgba(13, 2, 33, 0.95);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.nav-logo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.nav-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-main {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--purple-200);
}

.brand-sub {
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.03em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--text-primary);
  background: rgba(157, 78, 221, 0.15);
}

.nav-cta {
  background: var(--gradient-main) !important;
  color: white !important;
  box-shadow: 0 4px 16px rgba(157, 78, 221, 0.35);
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(157, 78, 221, 0.45) !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--purple-300);
  border-radius: 2px;
  transition: var(--transition);
}

/* Main layout */
main {
  position: relative;
  z-index: 1;
}

section {
  position: relative;
}

.section {
  padding: 100px 0;
}

.section-alt {
  background: rgba(26, 10, 62, 0.5);
  border-block: 1px solid rgba(157, 78, 221, 0.08);
}

.section-header {
  margin-bottom: 48px;
}

.section-header.center {
  text-align: center;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-top: 8px;
  background: linear-gradient(135deg, var(--text-primary), var(--purple-300));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-header p {
  color: var(--text-secondary);
  margin-top: 12px;
  max-width: 560px;
}

.section-header.center p {
  margin-inline: auto;
}

.section-tag {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 40px) 0 80px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 209, 102, 0.12);
  color: var(--gold);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 209, 102, 0.25);
  margin-bottom: 20px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 8px;
}

.gradient-text {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-tagline {
  font-size: 1.1rem;
  color: var(--purple-300);
  margin-bottom: 16px;
}

.hero-desc {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 520px;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary {
  background: var(--gradient-main);
  color: white;
  box-shadow: 0 6px 24px rgba(157, 78, 221, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(157, 78, 221, 0.5);
}

.btn-outline {
  background: transparent;
  color: var(--purple-300);
  border-color: rgba(199, 125, 255, 0.4);
}

.btn-outline:hover {
  background: rgba(157, 78, 221, 0.12);
  border-color: var(--purple-400);
}

.btn-full {
  width: 100%;
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.highlight-chip {
  background: rgba(157, 78, 221, 0.15);
  border: 1px solid rgba(157, 78, 221, 0.25);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--purple-200);
}

/* Hero visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid rgba(157, 78, 221, 0.25);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  text-align: center;
  box-shadow: var(--shadow-card), var(--shadow-glow);
  overflow: hidden;
}

.hero-card-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(157, 78, 221, 0.15) 0%, transparent 60%);
  animation: rotate-glow 12s linear infinite;
}

@keyframes rotate-glow {
  to { transform: rotate(360deg); }
}

.hero-logo {
  position: relative;
  width: 220px;
  height: auto;
  max-height: 220px;
  object-fit: contain;
  margin-bottom: 24px;
  filter: drop-shadow(0 8px 24px rgba(157, 78, 221, 0.4));
}

.hero-card-stats {
  position: relative;
  display: flex;
  gap: 16px;
  justify-content: center;
}

.mini-stat {
  background: rgba(90, 24, 154, 0.3);
  border-radius: var(--radius-sm);
  padding: 12px 18px;
  border: 1px solid rgba(157, 78, 221, 0.2);
}

.mini-stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold);
}

.mini-stat-label {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.floating-icon {
  position: absolute;
  font-size: 2rem;
  animation: float 4s ease-in-out infinite;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}

.fi-1 { top: 5%; right: 5%; animation-delay: 0s; }
.fi-2 { bottom: 15%; left: 0; animation-delay: -1.5s; }
.fi-3 { top: 30%; left: -5%; animation-delay: -3s; }

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-16px) rotate(5deg); }
}

/* Statistics */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  width: 100%;
}

/* RESTORED ANIMATION FOR STAT-CARD */
.stat-card {
  background: var(--bg-card);
  padding: 20px;
  border-radius: 20px;
  text-align: center;
  border: 1px solid rgba(157, 78, 221, 0.2);
}

.stat-icon {
  font-size: 2rem;
  margin-bottom: 8px;
}

.stat-value {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 8px;
  font-weight: 600;
}

.stats-source {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 20px;
}

/* Timeline */
.timeline {
  position: relative;
  padding-left: 32px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--purple-400), var(--purple-700), var(--gold));
  border-radius: 3px;
}

/* RESTORED ANIMATION FOR TIMELINE */
.timeline-item {
  position: relative;
  margin-bottom: 40px;
  padding-left: 32px;
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.timeline-item.visible {
  opacity: 1;
  transform: translateX(0);
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -28px;
  top: 8px;
  width: 16px;
  height: 16px;
  background: var(--purple-400);
  border: 3px solid var(--bg-deep);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(157, 78, 221, 0.5);
}

.timeline-item.highlight::before {
  background: var(--gold);
  box-shadow: 0 0 16px rgba(255, 209, 102, 0.5);
}

.timeline-year {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 8px;
}

.timeline-content {
  background: var(--bg-card);
  border: 1px solid rgba(157, 78, 221, 0.15);
  border-radius: var(--radius-md);
  padding: 24px 28px;
}

.timeline-content h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--purple-200);
  margin-bottom: 10px;
}

.timeline-content p {
  color: var(--text-secondary);
  margin-bottom: 10px;
}

.timeline-content p:last-child {
  margin-bottom: 0;
}

.timeline-content em {
  color: var(--purple-300);
  font-style: normal;
  font-weight: 600;
}

.aspiration {
  padding-top: 10px;
  border-top: 1px solid rgba(157, 78, 221, 0.15);
  color: var(--purple-200) !important;
}

/* Vision & Mission */
.vision-mission-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  margin-bottom: 36px;
}

.vm-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  border: 1px solid rgba(157, 78, 221, 0.2);
  text-align: center;
  transition: var(--transition);
}

.vm-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.vision-card {
  border-top: 4px solid var(--purple-400);
}

.mission-card {
  border-top: 4px solid var(--gold);
}

.vm-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.vm-card h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin-bottom: 16px;
  color: var(--purple-200);
}

.vm-card blockquote {
  font-size: 1.05rem;
  color: var(--text-secondary);
  font-style: italic;
  line-height: 1.8;
  border: none;
}

.values-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.value-pill {
  background: rgba(157, 78, 221, 0.12);
  border: 1px solid rgba(157, 78, 221, 0.25);
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--purple-200);
}

/* Founder */
.founder-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: start;
}

.founder-photo {
  position: sticky;
  top: calc(var(--header-h) + 24px);
}

.founder-avatar {
  position: relative;
  width: 220px;
  height: 280px;
  margin: 0 auto 24px;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-glow);
  border: 4px solid rgba(199, 125, 255, 0.3);
}

.founder-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.founder-badge {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: var(--gradient-gold);
  color: var(--bg-deep);
  font-weight: 800;
  font-size: 0.85rem;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 12px rgba(255, 209, 102, 0.4);
}

.founder-credentials {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.credential {
  background: var(--bg-card);
  border: 1px solid rgba(157, 78, 221, 0.15);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 0.82rem;
  color: var(--text-secondary);
  font-weight: 600;
}

.founder-bio p {
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.founder-closing {
  padding: 16px 20px;
  background: rgba(157, 78, 221, 0.1);
  border-left: 4px solid var(--purple-400);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--purple-200) !important;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Map Address Card Styles */
.address-card {
  background: var(--bg-card);
  border: 1px solid rgba(157, 78, 221, 0.15);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  transition: var(--transition);
}

.address-card:hover {
  border-color: rgba(157, 78, 221, 0.35);
}

.address-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
}

.pin-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
}

.address-text h3 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--purple-200);
  margin-bottom: 2px;
}

.address-text p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.map-container {
  width: 100%;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid rgba(157, 78, 221, 0.15);
  margin-top: 10px;
}

.map-container iframe {
  display: block; 
}

.info-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--bg-card);
  border: 1px solid rgba(157, 78, 221, 0.15);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  transition: var(--transition);
}

.info-card:hover {
  border-color: rgba(157, 78, 221, 0.35);
}

.info-card.wide {
  grid-column: 1 / -1;
}

.info-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
}

.info-card h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--purple-200);
  margin-bottom: 2px;
}

.info-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.contact-form {
  background: var(--bg-card);
  border: 1px solid rgba(157, 78, 221, 0.2);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-card);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--purple-200);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: rgba(13, 2, 33, 0.6);
  border: 1px solid rgba(157, 78, 221, 0.25);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--purple-400);
  box-shadow: 0 0 0 3px rgba(157, 78, 221, 0.2);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-status {
  min-height: 24px;
  margin-bottom: 12px;
  font-size: 0.9rem;
  font-weight: 600;
}

.form-status.success {
  color: #6ee7a0;
}

.form-status.error {
  color: var(--pink-accent);
}

#submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Footer */
.footer {
  position: relative;
  z-index: 1;
  padding: 32px 0;
  border-top: 1px solid rgba(157, 78, 221, 0.12);
  background: rgba(13, 2, 33, 0.8);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.footer-brand strong {
  display: block;
  font-family: var(--font-display);
  color: var(--purple-200);
}

.footer-brand span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.footer-copy {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.back-top {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(157, 78, 221, 0.2);
  border-radius: 50%;
  color: var(--purple-300);
  text-decoration: none;
  font-size: 1.2rem;
  transition: var(--transition);
}

.back-top:hover {
  background: var(--purple-500);
  color: white;
  transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 900px) {
  .hero-grid,
  .founder-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .founder-photo {
    position: static;
    text-align: center;
  }

  .hero-visual {
    order: -1;
  }

  .hero-card {
    padding: 32px 24px;
  }

  .hero-logo {
    width: 140px;
    height: 140px;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: rgba(13, 2, 33, 0.97);
    flex-direction: column;
    padding: 20px;
    gap: 4px;
    border-bottom: 1px solid rgba(157, 78, 221, 0.15);
    transform: translateY(-120%);
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a {
    width: 100%;
    text-align: center;
    padding: 12px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .timeline {
    padding-left: 20px;
  }

  .timeline-item {
    padding-left: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/* Pengenalan */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  align-items: start;
}

.intro-content p {
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.intro-tagline {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--gold) !important;
  padding: 16px 20px;
  background: rgba(255, 209, 102, 0.08);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-top: 8px;
}

.intro-aside {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  text-align: center;
}

.intro-logo {
  width: 160px;
  height: 160px;
  object-fit: contain;
  margin-bottom: 20px;
  filter: drop-shadow(0 8px 24px rgba(157, 78, 221, 0.35));
}

.intro-aside-card {
  background: var(--bg-card);
  border: 1px solid rgba(157, 78, 221, 0.2);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: left;
}

.intro-aside-card h3 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--gold);
  margin-bottom: 16px;
  text-align: center;
}

.intro-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.intro-list li {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 600;
}

/* Slideshow */
.slideshow {
  position: relative;
  max-width: 900px;
  margin-inline: auto;
}

.slideshow-viewport {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid rgba(157, 78, 221, 0.25);
  box-shadow: var(--shadow-card), var(--shadow-glow);
  aspect-ratio: 16 / 10;
  background: var(--bg-card);
}

.slideshow-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.7s ease;
  pointer-events: none;
}

.slide.active {
  opacity: 1;
  pointer-events: auto;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.slideshow-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: rgba(13, 2, 33, 0.75);
  color: var(--purple-200);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(157, 78, 221, 0.3);
  transition: var(--transition);
  z-index: 2;
}

.slideshow-btn:hover {
  background: var(--purple-500);
  color: white;
}

.slideshow-prev { left: 12px; }
.slideshow-next { right: 12px; }

.slideshow-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.slideshow-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(157, 78, 221, 0.3);
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
}

.slideshow-dot.active,
.slideshow-dot:hover {
  background: var(--purple-400);
  transform: scale(1.2);
}

.slideshow-caption {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 12px;
}

/* Live visitors */
.live-visitors-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: linear-gradient(135deg, rgba(157, 78, 221, 0.15), rgba(255, 209, 102, 0.08));
  border: 1px solid rgba(157, 78, 221, 0.3);
  border-radius: var(--radius-md);
  padding: 20px 28px;
  margin-bottom: 32px;
  max-width: 480px;
  margin-inline: auto;
}

.live-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #6ee7a0;
  box-shadow: 0 0 12px rgba(110, 231, 160, 0.6);
  animation: pulse-live 2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes pulse-live {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}

.live-visitors-text {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
}

.live-label {
  font-weight: 700;
  color: var(--purple-200);
}

.live-count {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.live-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
  width: 100%;
}

/* WhatsApp button */
.btn-whatsapp {
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: white;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(37, 211, 102, 0.45);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.82rem;
  margin-top: 8px;
  display: inline-flex;
}


/* Social buttons — Bright & Actionable */
.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform var(--transition), background var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative; 
  z-index: 50; 
}

.social-btn span {
  font-size: 1.1rem;
}

.social-fb { 
  background: rgba(24, 119, 242, 0.25); 
  color: #8cb4ff; 
  border-color: rgba(24, 119, 242, 0.4);
}

.social-ig { 
  background: rgba(225, 48, 108, 0.25); 
  color: #ff9ebb; 
  border-color: rgba(225, 48, 108, 0.4);
}

.social-tt { 
  background: rgba(255, 255, 255, 0.12); 
  color: var(--text-primary); 
  border-color: rgba(255, 255, 255, 0.2);
}

.social-btn:hover {
  transform: translateY(-3px);
  color: #ffffff !important;
}

.social-fb:hover {
  background: #1877f2;
  box-shadow: 0 6px 20px rgba(24, 119, 242, 0.4);
}

.social-ig:hover {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  box-shadow: 0 6px 20px rgba(225, 48, 108, 0.4);
}

.social-tt:hover {
  background: #000000;
  border-color: #00f2fe;
  box-shadow: 0 6px 20px rgba(0, 242, 254, 0.3);
}

@media (max-width: 900px) {
  .intro-grid {
    grid-template-columns: 1fr;
  }
  .intro-aside {
    position: static;
  }
}