/* =====================================================
   Initiative Code with Serah - Human-Centered Design
   A website that feels warm, authentic, and alive
   ===================================================== */

/* Performance Optimizations */
.floating-card,
.floating-emoji,
.shape,
.hero-visual,
.ambassador-card {
  will-change: transform;
}

.floating-card {
  transform: translateZ(0);
  backface-visibility: hidden;
}

.navbar {
  will-change: transform, background;
}

/* Improve rendering performance for sections */
/* Removed content-visibility: auto — it causes layout shift and scroll jumping */

/* Optimize animations to use GPU acceleration */
@media (prefers-reduced-motion: no-preference) {
  .floating-shapes .shape {
    transform: translateZ(0);
  }
}

:root {
  /* Serah's Color Palette - Organic & Warm */
  --serah-purple: #7b2cbf;
  --serah-purple-light: #9d4edd;
  --serah-purple-dark: #5a189a;
  --serah-purple-soft: #c8b2db;
  --pastel-yellow: #ffd700;
  --pastel-yellow-light: #ffe066;
  --pastel-yellow-dark: #e6c200;
  --cream: #fff8e1;
  --warm-white: #fefcf7;
  --beige: #f7f3e9;
  --beige-dark: #ede5d3;
  --peach: #ffe5cc;
  --lavender: #f3e8ff;

  /* Text Colors - More Natural */
  --text-primary: #2d1b4e;
  --text-secondary: #4a5568;
  --text-muted: #718096;
  --text-light: #a0aec0;

  /* Typography - Playful yet Professional */
  --font-primary:
    "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-handwritten: "Caveat", cursive;

  /* Font Sizes - More Organic Scaling */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --text-6xl: 3.75rem;

  /* Spacing - Natural Rhythm */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Border Radius - Organic Shapes */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-3xl: 2rem;
  --radius-organic: 2rem 1.5rem 2.5rem 1rem;
  --radius-blob: 60% 40% 30% 70% / 60% 30% 70% 40%;

  /* Shadows - More Natural */
  --shadow-soft: 0 2px 8px rgba(123, 44, 191, 0.08);
  --shadow-medium: 0 4px 20px rgba(123, 44, 191, 0.12);
  --shadow-large: 0 8px 30px rgba(123, 44, 191, 0.16);
  --shadow-xl: 0 20px 40px rgba(123, 44, 191, 0.2);

  /* Gradients - Magical & Organic */
  --gradient-purple: linear-gradient(
    135deg,
    var(--serah-purple) 0%,
    var(--serah-purple-light) 100%
  );
  --gradient-warm: linear-gradient(
    135deg,
    var(--cream) 0%,
    var(--pastel-yellow-light) 50%,
    var(--lavender) 100%
  );
  --gradient-sunset: linear-gradient(
    135deg,
    var(--pastel-yellow) 0%,
    var(--peach) 50%,
    var(--serah-purple-soft) 100%
  );
  --gradient-glass: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0.05) 100%
  );

  /* Animation Curves - Natural Motion */
  --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
  --ease-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-gentle: cubic-bezier(0.165, 0.84, 0.44, 1);

  /* Additional Standard Colors */
  --white: #ffffff;
  --text-dark: #2d1b4e;
  --text-gray: #718096;

  /* Legacy Variable Mappings (for consistency) */
  --spacing-xs: var(--space-2);
  --spacing-sm: var(--space-3);
  --spacing-md: var(--space-4);
  --spacing-lg: var(--space-6);
  --spacing-xl: var(--space-8);
  --spacing-2xl: var(--space-12);

  --font-size-sm: var(--text-sm);
  --font-size-base: var(--text-base);
  --font-size-lg: var(--text-lg);
  --font-size-xl: var(--text-xl);
  --font-size-2xl: var(--text-2xl);
  --font-size-3xl: var(--text-3xl);

  --border-radius: var(--radius-md);
  --border-radius-lg: var(--radius-lg);
  --border-radius-xl: var(--radius-xl);

  --shadow: var(--shadow-medium);
  --shadow-sm: var(--shadow-soft);
  --shadow-md: var(--shadow-medium);
  --shadow-lg: var(--shadow-large);
}

/* Reset & Base Styles with Organic Feel */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: clip;
}

body {
  font-family: var(--font-primary);
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-primary);
  background: var(--warm-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 4rem);
}

/* Typography - More Human & Expressive */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-primary);
  margin-bottom: var(--space-4);
}

h1 {
  font-size: clamp(var(--text-4xl), 5vw, var(--text-6xl));
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.5px;
}

h2 {
  font-size: clamp(var(--text-3xl), 4vw, var(--text-5xl));
  font-weight: 600;
}

h3 {
  font-size: clamp(var(--text-2xl), 3vw, var(--text-3xl));
}

h4 {
  font-size: var(--text-xl);
}

p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-4);
}

.handwritten {
  font-family: var(--font-handwritten);
  font-weight: 600;
  color: var(--serah-purple);
  transform: rotate(-1deg);
}

.tagline {
  font-size: var(--text-sm);
  color: var(--text-muted);
  font-weight: 500;
}

/* Buttons - Warm & Inviting */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: clamp(0.625rem, 1vw, 0.875rem) clamp(1.5rem, 3vw, 2rem);
  border-radius: var(--radius-2xl);
  text-decoration: none;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s var(--ease-gentle);
  border: 2px solid transparent;
  cursor: pointer;
  font-size: clamp(0.875rem, 1.5vw, 1rem);
  position: relative;
  user-select: none;
  white-space: nowrap;
}

.btn-primary {
  background: #7b2cbf;
  color: white;
}

.btn-primary:hover {
  background: #6a25a8;
  opacity: 0.9;
}

.btn-primary:active {
  opacity: 0.8;
}

.btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.btn-secondary {
  background: white;
  color: var(--serah-purple);
  font-weight: 600;
  border: 2px solid rgba(123, 44, 191, 0.2);
}

.btn-secondary:hover {
  background: rgba(123, 44, 191, 0.05);
  border-color: rgba(123, 44, 191, 0.3);
}

.btn-secondary:active {
  opacity: 0.9;
}

.btn-outline {
  background: transparent;
  color: var(--serah-purple);
  border: 2px solid var(--serah-purple);
}

.btn-outline:hover {
  background: var(--serah-purple);
  color: var(--white);
}

.btn-outline:active {
  opacity: 0.9;
}

/* Button Icon */
.btn i {
  display: inline-block;
}

.btn.loading {
  pointer-events: none;
  opacity: 0.8;
}

.btn.loading span {
  opacity: 0;
}

.btn.loading::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

/* Navigation */

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  padding: 12px;
  transition: all 0.3s var(--ease-gentle);
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  z-index: 1001;
}

@media (max-width: 1024px) {
  .hamburger {
    display: flex;
  }
}

.hamburger:hover {
  transform: scale(1.05);
}

.hamburger span {
  width: 28px;
  height: 3px;
  background: var(--serah-purple);
  border-radius: 3px;
  transition: all 0.4s var(--ease-gentle);
  box-shadow: 0 2px 4px rgba(123, 44, 191, 0.2);
}

/* Hero Section */
.hero {
  background:
    radial-gradient(
      circle at 15% 25%,
      rgba(255, 224, 102, 0.15) 0%,
      transparent 45%
    ),
    radial-gradient(
      circle at 85% 75%,
      rgba(157, 78, 221, 0.12) 0%,
      transparent 45%
    ),
    linear-gradient(180deg, var(--warm-white) 0%, rgba(247, 243, 233, 0.5) 100%);
  padding: calc(120px + var(--spacing-2xl)) 0 var(--spacing-2xl);
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(123, 44, 191, 0.1), transparent);
  border-radius: 50%;
  top: 10%;
  right: 5%;
  animation: float 6s ease-in-out infinite;
}

.hero::after {
  content: "";
  position: absolute;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.1), transparent);
  border-radius: 50%;
  bottom: 10%;
  left: 10%;
  animation: float 8s ease-in-out infinite reverse;
}

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

.hero-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-20);
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  background: rgba(255, 224, 102, 0.2);
  color: var(--serah-purple);
  border: 2px solid rgba(123, 44, 191, 0.15);
  border-radius: var(--radius-3xl);
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: var(--space-6);
  box-shadow: 0 4px 12px rgba(255, 215, 0, 0.15);
}

.hero-title {
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-6);
  line-height: 1.3;
  letter-spacing: -0.01em;
  padding-right: var(--space-4);
  overflow: visible;
}

.hero-title .highlight {
  color: var(--serah-purple);
  background: linear-gradient(135deg, #7b2cbf 0%, #9d4edd 50%, #c77dff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
  position: relative;
  padding-right: var(--space-2);
}

.hero-typing {
  font-family: "Outfit", sans-serif;
  font-size: var(--text-2xl);
  color: var(--text-primary);
  margin-bottom: var(--space-8);
  font-weight: 600;
  min-height: 2rem;
}

.typing-cursor {
  animation: blink 1s infinite;
  margin-left: 4px;
}

@keyframes blink {
  0%,
  49% {
    opacity: 1;
  }
  50%,
  100% {
    opacity: 0;
  }
}

.hero-story {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-8);
  max-width: 90%;
}

.hero-story strong {
  color: var(--serah-purple);
  font-weight: 600;
}

.hero-story em {
  color: var(--serah-purple-light);
  font-style: italic;
}

.hero-description {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-4);
  max-width: 95%;
  font-weight: 400;
}

.hero-stats {
  display: flex;
  gap: var(--space-8);
  margin-top: var(--space-6);
  flex-wrap: wrap;
}

.stat-item {
  text-align: left;
}

.stat-number {
  font-size: var(--text-4xl);
  font-weight: 700;
  color: var(--serah-purple);
  margin-bottom: var(--space-2);
  background: linear-gradient(135deg, #7b2cbf 0%, #9d4edd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: var(--text-base);
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-buttons {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-top: var(--space-8);
  margin-bottom: var(--space-2);
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  perspective: 1000px;
  position: relative;
  padding-bottom: var(--space-8);
}

.floating-card {
  background: white;
  border-radius: var(--radius-2xl);
  box-shadow: 0 20px 60px rgba(123, 44, 191, 0.12);
  border: 1px solid rgba(123, 44, 191, 0.08);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  transform-style: preserve-3d;
  animation: float-card 5s ease-in-out infinite;
  max-width: 550px;
  width: 100%;
}

.floating-card:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 0 30px 80px rgba(123, 44, 191, 0.2);
  border-color: rgba(123, 44, 191, 0.15);
}

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

.card-header {
  padding: var(--space-4);
  background: linear-gradient(
    135deg,
    rgba(157, 78, 221, 0.08) 0%,
    rgba(255, 224, 102, 0.12) 100%
  );
  border-bottom: 1px solid rgba(123, 44, 191, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.dots {
  display: flex;
  gap: var(--space-2);
}

.dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--pastel-yellow);
  opacity: 0.6;
}

.dots span:nth-child(1) {
  background: #ff6b6b;
}
.dots span:nth-child(2) {
  background: #ffd700;
}
.dots span:nth-child(3) {
  background: #7b2cbf;
}

.card-header p {
  font-family: var(--font-handwritten);
  color: var(--serah-purple);
  font-size: var(--text-sm);
  margin: 0;
  margin-left: auto;
  padding-left: var(--space-4);
}

.code-preview {
  padding: var(--space-8);
  background: linear-gradient(135deg, #2d1b4e 0%, #3a2559 100%);
  font-family: "Courier New", "Consolas", monospace;
  border-radius: 0 0 var(--radius-2xl) var(--radius-2xl);
  font-size: var(--text-sm);
}

.code-line {
  color: #f5f5f5;
  font-size: var(--text-base);
  line-height: 2.2;
}

.code-variable {
  color: #ffffff;
  font-weight: 700;
}

.code-keyword {
  color: #ff9edb;
  font-weight: 700;
}

.code-string {
  color: #fff099;
  font-weight: 600;
}

.code-function {
  color: #a4f0ff;
  font-weight: 600;
}

@keyframes code-appear {
  from {
    opacity: 0;
    transform: translateX(-10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.floating-emoji {
  position: absolute;
  font-size: 2.5rem;
  animation: float-emoji 4s ease-in-out infinite;
  opacity: 0.7;
  user-select: none;
  pointer-events: none;
  width: 80px;
  height: 80px;
  transform: translateZ(0);
  will-change: transform;
}

.floating-emoji img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.emoji-1 {
  top: -3%;
  right: 5%;
  animation-delay: 0s;
  width: 100px;
  height: 100px;
}

.emoji-2 {
  bottom: 5%;
  right: 40%;
  animation-delay: 1.5s;
  transform: translateY(4cm);
}

.emoji-3 {
  top: 40%;
  right: 8%;
  animation-delay: 3s;
}

.emoji-4 {
  top: 0%;
  right: 35%;
  animation-delay: 2s;
}

.emoji-5 {
  top: 30%;
  left: 0%;
  animation-delay: 2.5s;
}

@keyframes float-emoji {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-30px) rotate(10deg);
  }
}

/* Programs Section */
.programs {
  padding: clamp(3rem, 8vw, 6rem) 0;
  background: var(--warm-white);
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: clamp(2rem, 5vw, 4rem);
}

.section-header h2 {
  color: var(--serah-purple);
  margin-bottom: var(--space-3);
  font-size: clamp(2rem, 5vw, 3.5rem);
}

.section-header p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

.programs-showcase {
  display: flex;
  flex-direction: column;
  gap: clamp(2rem, 5vw, 4rem);
}

.program-highlight {
  position: relative;
}

.program-badge {
  display: inline-block;
  padding: var(--space-2) var(--space-4);
  background: linear-gradient(
    135deg,
    rgba(123, 44, 191, 0.15),
    rgba(255, 215, 0, 0.15)
  );
  color: var(--serah-purple);
  border-radius: var(--radius-xl);
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: var(--space-4);
}

.program-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-3xl);
  padding: clamp(2rem, 5vw, 4rem);
  border: 1px solid rgba(123, 44, 191, 0.1);
}

.program-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.laptop-mockup {
  width: 100%;
  max-width: 400px;
  aspect-ratio: 16/10;
  background: linear-gradient(
    135deg,
    var(--serah-purple) 0%,
    var(--serah-purple-light) 100%
  );
  border-radius: var(--radius-2xl);
  padding: var(--space-3);
  box-shadow: 0 20px 60px rgba(123, 44, 191, 0.2);
}

.screen {
  width: 100%;
  height: 100%;
  background: var(--warm-white);
  border-radius: var(--radius-xl);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.browser-bar {
  padding: var(--space-3) var(--space-4);
  background: rgba(123, 44, 191, 0.1);
  border-bottom: 1px solid rgba(123, 44, 191, 0.2);
}

.browser-dots {
  display: flex;
  gap: var(--space-2);
}

.browser-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--serah-purple);
  opacity: 0.5;
}

.browser-content {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
}

.typing-demo {
  color: var(--serah-purple);
  font-weight: 600;
  animation: typewriter 3s steps(20) infinite;
}

@keyframes typewriter {
  0% {
    width: 0;
  }
  50% {
    width: 100%;
  }
  100% {
    width: 100%;
  }
}

.program-info h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--text-primary);
  margin-bottom: var(--space-4);
}

.detail-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--text-secondary);
  font-size: var(--text-base);
}

.detail-item i {
  color: var(--serah-purple);
  font-size: var(--text-xl);
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.program-card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  padding: clamp(1.5rem, 3vw, 2rem);
  border-radius: var(--radius-2xl);
  box-shadow: 0 8px 32px rgba(123, 44, 191, 0.08);
  border: 1px solid rgba(123, 44, 191, 0.1);
  transition: all 0.4s var(--ease-gentle);
  position: relative;
  overflow: hidden;
}

.program-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-2xl);
  padding: 1px;
  background: linear-gradient(
    135deg,
    rgba(123, 44, 191, 0.5),
    rgba(255, 215, 0, 0.5)
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.program-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 20px 60px rgba(123, 44, 191, 0.15);
  border-color: rgba(123, 44, 191, 0.3);
}

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

.card-emoji {
  font-size: 2rem;
  margin-bottom: var(--space-3);
  display: inline-block;
}

.program-card h3 {
  color: var(--text-primary);
  margin-bottom: var(--space-2);
  font-size: clamp(1.125rem, 2vw, 1.5rem);
}

.program-card p {
  margin-bottom: var(--space-3);
  color: var(--text-secondary);
  font-size: clamp(0.875rem, 1.5vw, 1rem);
  line-height: 1.6;
}

.program-meta {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-top: auto;
}

.meta-item {
  display: block;
  font-size: var(--text-sm);
  color: var(--text-muted);
  padding: var(--space-2);
  background: rgba(123, 44, 191, 0.05);
  border-radius: var(--radius-lg);
  text-align: center;
  font-weight: 500;
}

.glass-card {
  background: rgba(255, 255, 255, 0.7) !important;
  backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(255, 255, 255, 0.5) !important;
}

/* About Section */
.about {
  padding: var(--spacing-2xl) 0;
  background: var(--beige);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-2xl);
  align-items: center;
}

.about-text h2 {
  color: var(--serah-purple);
  margin-bottom: var(--spacing-md);
}

.about-text p {
  font-size: var(--font-size-lg);
  margin-bottom: var(--spacing-md);
}

.stats {
  display: flex;
  gap: var(--spacing-xl);
  margin-top: var(--spacing-xl);
}

.stat {
  text-align: center;
}

.stat h3 {
  font-size: var(--font-size-2xl);
  color: var(--serah-purple);
  margin-bottom: var(--spacing-xs);
}

.stat p {
  color: var(--text-gray);
  font-size: var(--font-size-sm);
}

.about-image {
  display: flex;
  justify-content: center;
}

.image-placeholder {
  background: var(--white);
  width: 300px;
  height: 300px;
  border-radius: var(--border-radius-xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.image-placeholder i {
  font-size: 60px;
  color: var(--serah-purple);
  margin-bottom: var(--spacing-md);
}

.image-placeholder p {
  color: var(--text-gray);
  font-weight: 500;
}

/* Testimonials Section */
.testimonials {
  padding: var(--spacing-2xl) 0;
  background: var(--white);
}

.testimonials h2 {
  text-align: center;
  color: var(--serah-purple);
  margin-bottom: var(--spacing-2xl);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-xl);
}

.testimonial {
  background: var(--beige);
  padding: var(--spacing-xl);
  border-radius: var(--border-radius-xl);
  position: relative;
}

.quote i {
  font-size: var(--font-size-xl);
  color: var(--serah-purple);
  margin-bottom: var(--spacing-sm);
}

.quote p {
  font-size: var(--font-size-lg);
  font-style: italic;
  color: var(--text-dark);
  margin-bottom: var(--spacing-md);
}

.author h4 {
  color: var(--serah-purple);
  font-size: var(--font-size-base);
  margin-bottom: var(--spacing-xs);
}

.author span {
  color: var(--text-gray);
  font-size: var(--font-size-sm);
}

/* Contact Section */
.contact {
  padding: var(--spacing-2xl) 0;
  background: linear-gradient(
    135deg,
    var(--serah-purple-dark) 0%,
    var(--serah-purple) 100%
  );
  color: var(--white);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-2xl);
}

.contact-info h2 {
  color: var(--white);
  margin-bottom: var(--spacing-md);
}

.contact-info p {
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--font-size-lg);
  margin-bottom: var(--spacing-xl);
}

.contact-details {
  margin-bottom: var(--spacing-xl);
}

.contact-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
  color: rgba(255, 255, 255, 0.9);
}

.contact-item i {
  color: var(--pastel-yellow);
  font-size: var(--font-size-lg);
}

.social-links {
  display: flex;
  gap: var(--spacing-sm);
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
  color: var(--white);
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: var(--pastel-yellow);
  color: var(--serah-purple);
  transform: translateY(-2px);
}

/* Form Styles */
.contact-form {
  background: rgba(255, 255, 255, 0.1);
  padding: var(--spacing-xl);
  border-radius: var(--border-radius-xl);
  backdrop-filter: blur(10px);
}

.form-group {
  position: relative;
  margin-bottom: var(--spacing-lg);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: var(--spacing-sm) var(--spacing-sm);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--border-radius);
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-size: var(--font-size-base);
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--pastel-yellow);
  background: rgba(255, 255, 255, 0.15);
}

.form-group label {
  position: absolute;
  top: var(--spacing-sm);
  left: var(--spacing-sm);
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.3s ease;
  pointer-events: none;
}

.form-group input:focus + label,
.form-group input:valid + label,
.form-group select:focus + label,
.form-group select:valid + label,
.form-group textarea:focus + label,
.form-group textarea:valid + label {
  transform: translateY(-25px) scale(0.9);
  color: var(--pastel-yellow);
}

.form-group textarea {
  min-height: 100px;
  resize: vertical;
}

.form-group select option {
  background: var(--serah-purple);
  color: var(--white);
}

/* Footer */
.footer {
  background: var(--text-dark);
  color: var(--white);
  padding: var(--spacing-2xl) 0 var(--spacing-md);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-xl);
}

.footer-section h3 {
  color: var(--serah-purple-light);
  margin-bottom: var(--spacing-xs);
}

.footer-section span {
  color: var(--text-light);
  font-size: var(--font-size-sm);
  display: block;
  margin-bottom: var(--spacing-sm);
}

.footer-section h4 {
  color: var(--white);
  margin-bottom: var(--spacing-sm);
  font-size: var(--font-size-lg);
}

.footer-section a {
  display: block;
  color: var(--text-light);
  text-decoration: none;
  margin-bottom: var(--spacing-xs);
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--pastel-yellow);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--spacing-md);
  text-align: center;
  color: var(--text-light);
}

/* (Old duplicate responsive block removed — all mobile styles consolidated below) */

/* Floating Background Shapes */
.floating-shapes {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
  will-change: contents;
}

.shape {
  position: absolute;
  opacity: 0.03;
  animation: float 20s infinite ease-in-out;
  transform: translateZ(0);
  will-change: transform;
}

.shape-1 {
  width: 200px;
  height: 200px;
  background-image: url("../images/star.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  top: 10%;
  left: -5%;
  animation-delay: 0s;
  opacity: 0.08;
}

.shape-2 {
  width: 150px;
  height: 150px;
  background: var(--pastel-yellow);
  border-radius: 50%;
  top: 60%;
  right: -3%;
  animation-delay: -5s;
}

.shape-3 {
  width: 100px;
  height: 100px;
  background: var(--serah-purple-light);
  border-radius: var(--radius-organic);
  bottom: 20%;
  left: 70%;
  animation-delay: -10s;
}

.shape-4 {
  width: 80px;
  height: 80px;
  background: var(--peach);
  border-radius: 50%;
  top: 30%;
  left: 20%;
  animation-delay: -15s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  25% {
    transform: translateY(-20px) rotate(5deg);
  }
  50% {
    transform: translateY(-10px) rotate(-5deg);
  }
  75% {
    transform: translateY(-30px) rotate(3deg);
  }
}

/* Enhanced Navigation */
.navbar {
  position: fixed;
  top: var(--space-4);
  left: 50%;
  transform: translateX(-50%) translateZ(0);
  width: calc(100% - var(--space-16));
  max-width: 1200px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 4px var(--space-4);
  transition:
    transform 0.3s var(--ease-gentle),
    background 0.3s var(--ease-gentle);
  border: 1px solid rgba(123, 44, 191, 0.12);
  border-radius: 50px;
  box-shadow:
    0 4px 24px rgba(123, 44, 191, 0.08),
    0 2px 8px rgba(0, 0, 0, 0.04);
  will-change: transform, background;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-6);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
}

.nav-logo a {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.nav-logo a:hover {
  opacity: 0.8;
}

.nav-logo img {
  height: 85px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
}

.nav-logo h2 {
  font-size: var(--text-2xl);
  margin-bottom: 0;
  font-weight: 700;
  color: var(--serah-purple);
  letter-spacing: -0.5px;
  display: none;
}

.nav-menu {
  display: flex;
  gap: var(--space-2);
  align-items: center;
  flex: 1;
  justify-content: flex-end;
}

@media (max-width: 1024px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: calc(100% + var(--space-2));
    left: 0;
    right: 0;
    background: rgba(254, 252, 247, 0.98);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    flex-direction: column;
    flex: unset;
    padding: var(--space-6) var(--space-5);
    gap: var(--space-2);
    box-shadow: 0 10px 40px rgba(123, 44, 191, 0.15);
    border: 1px solid rgba(123, 44, 191, 0.1);
    border-radius: var(--radius-2xl);
    z-index: 999;
  }

  .nav-menu.active {
    display: flex;
    flex-direction: column;
  }
}

.nav-link {
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 500;
  font-size: 15px;
  position: relative;
  transition: all 0.2s ease;
  padding: var(--space-2) var(--space-4);
  letter-spacing: 0.2px;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--serah-purple);
}

.nav-link::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--serah-purple);
  transition: width 0.3s ease;
}

.nav-link:hover::before {
  width: 70%;
}

/* Enhanced Hero Section */
.hero {
  background: var(--gradient-warm);
  padding: calc(120px + var(--space-24)) 0 var(--space-20);
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 40%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(255, 224, 102, 0.3) 0%,
    transparent 70%
  );
  animation: float 15s infinite ease-in-out;
}

.hero-container {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 var(--space-8);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-20);
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.8);
  color: var(--serah-purple);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-3xl);
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: var(--space-6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  animation: gentle-bounce 2s infinite;
}

@keyframes gentle-bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3px);
  }
}

.hero-title {
  margin-bottom: var(--space-8);
  color: var(--text-primary);
  padding-right: var(--space-4);
  overflow: visible;
}

.hero-title .highlight {
  background: var(--gradient-purple);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  font-size: 1.1em;
  padding-right: var(--space-2);
}

.hero-story {
  font-size: var(--text-lg);
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: var(--space-10);
  max-width: 600px;
}

.hero-buttons {
  display: flex;
  gap: var(--space-6);
  flex-wrap: wrap;
  margin-top: var(--space-8);
}

.hero-buttons .btn {
  min-width: 200px;
  justify-content: center;
}

/* Hero Button - Main CTA */
.btn-hero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-8);
  background: var(--serah-purple);
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: var(--text-base);
  text-align: center;
  border-radius: var(--radius-2xl);
  transition: all 0.3s ease;
  border: none;
}

.btn-hero:hover {
  background: var(--serah-purple-light);
  transform: translateY(-2px);
}

.btn-hero i {
  font-size: 0.9em;
  transition: transform 0.3s ease;
}

.btn-hero:hover i {
  transform: translateX(3px);
}

/* Enhanced Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-6);
  border-radius: var(--radius-3xl);
  text-decoration: none;
  font-weight: 600;
  font-size: var(--text-base);
  text-align: center;
  transition: all 0.3s var(--ease-gentle);
  border: 2px solid transparent;
  cursor: pointer;
  position: relative;
  letter-spacing: 0.3px;
}

.btn-primary {
  background: #7b2cbf;
  color: white;
  border: 2px solid transparent;
}

.btn-primary:hover {
  background: #6a25a8;
  opacity: 0.9;
}

.btn-primary:active {
  opacity: 0.8;
}

.btn-secondary {
  background: var(--pastel-yellow);
  color: var(--text-primary);
  border: 2px solid var(--pastel-yellow);
}

.btn-secondary:hover {
  background: var(--pastel-yellow-dark);
  opacity: 0.9;
}

.btn-outline {
  background: transparent;
  color: var(--serah-purple);
  border: 2px solid var(--serah-purple);
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  background: var(--serah-purple);
  color: white;
}

/* Hero Visual */
.floating-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-3xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-xl);
  transform: rotate(3deg);
  animation: gentle-float 6s infinite ease-in-out;
}

@keyframes gentle-float {
  0%,
  100% {
    transform: rotate(3deg) translateY(0);
  }
  50% {
    transform: rotate(1deg) translateY(-10px);
  }
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid rgba(123, 44, 191, 0.1);
}

.dots {
  display: flex;
  gap: var(--space-2);
}

.dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--serah-purple-light);
  opacity: 0.6;
}

.code-preview {
  font-family: "Monaco", "Consolas", monospace;
  font-size: var(--text-sm);
}

.code-line {
  color: var(--text-secondary);
  margin-bottom: var(--space-2);
  opacity: 0;
  animation: typewriter 1s forwards;
}

.code-line:nth-child(1) {
  animation-delay: 0.5s;
}
.code-line:nth-child(2) {
  animation-delay: 1.5s;
}
.code-line:nth-child(3) {
  animation-delay: 2.5s;
}

@keyframes typewriter {
  from {
    width: 0;
    opacity: 1;
  }
  to {
    width: 100%;
    opacity: 1;
  }
}

/* ============================================
   Impact Section - Modern 2026
   ============================================ */
.impact {
  padding: var(--space-24) 0;
  background: var(--warm-white);
}

/* Bento Heading */
.bento-heading {
  text-align: center;
  margin-bottom: var(--space-8);
  font-size: clamp(var(--text-4xl), 5vw, var(--text-6xl));
  color: var(--serah-purple);
}

/* Pinterest Masonry Board */
.bento-board {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 220px;
  gap: 14px;
}

.bento-pin {
  border-radius: var(--radius-2xl);
  overflow: hidden;
  transition:
    transform 0.3s var(--ease-gentle),
    box-shadow 0.3s var(--ease-gentle);
}

.bento-pin:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(123, 44, 191, 0.12);
}

/* Image Pins */
.bento-pin img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Stat Pins — shared */
.bento-pin--stat {
  padding: var(--space-10) var(--space-6);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.bento-pin__value {
  display: block;
  font-size: clamp(var(--text-5xl), 6vw, var(--text-6xl));
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
}

.bento-pin__label {
  display: block;
  font-size: var(--text-base);
  font-weight: 600;
  margin-top: var(--space-3);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

/* Stat size variants */
.bento-pin--stat-lg {
  padding: var(--space-16) var(--space-6);
}

/* Stat color variants */
.bento-pin--stat-white {
  background: white;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.bento-pin--stat-white .bento-pin__value {
  color: var(--serah-purple-dark);
}

.bento-pin--stat-white .bento-pin__label {
  color: var(--serah-purple);
}

.bento-pin--stat-purple {
  background: var(--gradient-purple);
}

.bento-pin--stat-purple .bento-pin__value,
.bento-pin--stat-purple .bento-pin__label {
  color: #fff;
}

.bento-pin--stat-yellow {
  background: linear-gradient(
    160deg,
    var(--pastel-yellow) 0%,
    var(--pastel-yellow-light) 100%
  );
}

.bento-pin--stat-yellow .bento-pin__value {
  color: var(--serah-purple-dark);
}

.bento-pin--stat-yellow .bento-pin__label {
  color: var(--serah-purple);
}

/* Mission & Vision */
.mv-hero {
  text-align: center;
  margin-bottom: clamp(4rem, 8vw, 6rem);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.mv-headline {
  font-family: var(--font-primary);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.25;
  margin-bottom: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.02em;
}

.mv-highlight {
  background: linear-gradient(
    135deg,
    var(--serah-purple) 0%,
    var(--serah-purple-light) 50%,
    #c77dff 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.mv-statements {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  text-align: left;
}

.mv-statement {
  font-size: clamp(var(--text-base), 1.8vw, var(--text-xl));
  line-height: 1.85;
  color: var(--text-secondary);
}

.mv-statement strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* Impact Photo Marquee */
.impact-marquee-wrap {
  padding: clamp(2rem, 5vw, 4rem) 0;
  overflow: hidden;
  background: var(--warm-white);
  mask-image: linear-gradient(
    to right,
    transparent,
    black 3%,
    black 97%,
    transparent
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    black 3%,
    black 97%,
    transparent
  );
}

.impact-marquee {
  overflow: hidden;
}

.impact-marquee-track {
  display: flex;
  gap: var(--space-4);
  animation: marquee-scroll 60s linear infinite;
  width: max-content;
}

.impact-marquee-track img {
  width: 260px;
  height: 170px;
  aspect-ratio: 260 / 170;
  object-fit: cover;
  border-radius: var(--radius-xl);
  flex-shrink: 0;
}

@keyframes marquee-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media (max-width: 1024px) {
  .mv-headline {
    font-size: clamp(1.8rem, 4.5vw, 2.8rem);
  }

  .impact-marquee-track img {
    width: 240px;
    height: 158px;
    aspect-ratio: 240 / 158;
  }
}

@media (max-width: 768px) {
  .mv-statements {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  .mv-headline {
    font-size: clamp(1.6rem, 6vw, 2.2rem);
    margin-bottom: var(--space-8);
  }

  .mv-hero {
    margin-bottom: var(--space-10);
  }

  .impact-marquee-track img {
    width: 220px;
    height: 145px;
    aspect-ratio: 220 / 145;
  }

  .impact-marquee-track {
    animation-duration: 45s;
  }
}

@media (max-width: 480px) {
  .mv-statement {
    font-size: var(--text-base);
    line-height: 1.75;
  }

  .mv-headline {
    font-size: 1.5rem;
  }

  .impact-marquee-track img {
    width: 180px;
    height: 120px;
    aspect-ratio: 180 / 120;
  }
}

/* ---- Bento Responsive ---- */

@media (max-width: 768px) {
  .impact {
    padding: var(--space-16) 0;
  }

  .bento-board {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 180px;
    gap: 10px;
  }

  .bento-pin--stat {
    padding: var(--space-8) var(--space-4);
  }

  .bento-pin__value {
    font-size: var(--text-4xl);
  }

  .bento-pin__label {
    font-size: var(--text-sm);
  }
}

@media (max-width: 480px) {
  .bento-board {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    gap: 8px;
  }

  .bento-pin {
    border-radius: 12px;
  }

  .bento-pin img {
    height: 200px;
  }

  .bento-pin--stat {
    padding: var(--space-8) var(--space-4);
  }

  .bento-pin__value {
    font-size: var(--text-3xl);
  }

  .bento-pin__label {
    font-size: var(--text-xs);
  }
}

/* Impact Description */
.impact-description {
  margin: var(--space-16) 0;
  padding: var(--space-10);
  background: transparent;
  border-radius: var(--radius-2xl);
  text-align: center;
}

.impact-description p {
  font-size: var(--text-lg);
  line-height: 1.8;
  color: var(--text-secondary);
  max-width: 800px;
  margin: 0 auto;
}

/* Founding Story */
.founding-story {
  margin: var(--space-16) 0 var(--space-20) 0;
  padding: var(--space-12);
  background: rgba(123, 44, 191, 0.03);
  border-radius: var(--radius-3xl);
  border: 2px solid rgba(123, 44, 191, 0.1);
}

.founding-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--space-12);
  align-items: center;
}

.founding-images {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
  position: relative;
}

.mountain-icon {
  width: 80px;
  height: auto;
  margin: 0 auto var(--space-3);
  display: block;
  filter: drop-shadow(0 4px 8px rgba(123, 44, 191, 0.2));
}

.mountain-text {
  font-size: var(--text-base);
  color: var(--text-secondary);
  font-style: italic;
  margin: 0;
}

.founding-text h3 {
  font-size: var(--text-4xl);
  margin-bottom: var(--space-6);
  color: var(--serah-purple);
}

.founding-text p {
  font-size: var(--text-lg);
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: var(--space-4);
}

.founding-text p strong {
  color: var(--serah-purple);
  font-weight: 600;
}

.story-timeline {
  position: relative;
  padding: 0;
}

.story-timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(
    180deg,
    var(--serah-purple) 0%,
    var(--serah-purple-light) 100%
  );
  border-radius: var(--radius-sm);
  transform: translateX(-50%);
  animation: timeline-draw 1.5s ease-out forwards;
  animation-fill-mode: both;
}

@keyframes timeline-draw {
  from {
    background-size: 100% 0%;
    background-position: 0 100%;
  }
  to {
    background-size: 100% 100%;
    background-position: 0 0;
  }
}

.timeline-item {
  position: relative;
  margin-bottom: var(--space-12);
  opacity: 0;
  animation: fade-in 0.8s var(--ease-gentle) forwards;
}

.timeline-item:nth-child(odd) {
  padding-left: 0;
  padding-right: calc(50% + var(--space-6));
  text-align: right;
}

.timeline-item:nth-child(even) {
  padding-left: calc(50% + var(--space-6));
  padding-right: 0;
  text-align: left;
}

.timeline-item:nth-child(1) {
  animation-delay: 0.2s;
}
.timeline-item:nth-child(2) {
  animation-delay: 0.4s;
}
.timeline-item:nth-child(3) {
  animation-delay: 0.6s;
}
.timeline-item:nth-child(4) {
  animation-delay: 0.8s;
}

@keyframes fade-in {
  to {
    opacity: 1;
  }
}

.timeline-dot {
  position: absolute;
  left: 50%;
  top: var(--space-4);
  width: 24px;
  height: 24px;
  background: var(--warm-white);
  border-radius: 50%;
  border: 4px solid var(--serah-purple);
  box-shadow:
    0 0 0 4px var(--warm-white),
    0 8px 20px rgba(123, 44, 191, 0.2);
  transform: translateX(-50%);
  animation: pulse-dot 2s ease-in-out infinite;
  z-index: 10;
}

@keyframes pulse-dot {
  0%,
  100% {
    box-shadow:
      0 0 0 4px var(--warm-white),
      0 8px 20px rgba(123, 44, 191, 0.2),
      inset 0 0 0 0 var(--serah-purple);
  }
  50% {
    box-shadow:
      0 0 0 4px var(--warm-white),
      0 8px 20px rgba(123, 44, 191, 0.3),
      inset 0 0 0 6px var(--serah-purple);
  }
}

.timeline-content {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  padding: var(--space-6);
  border-radius: var(--radius-2xl);
  border: 1px solid rgba(123, 44, 191, 0.1);
  box-shadow: 0 8px 24px rgba(123, 44, 191, 0.08);
  transition: all 0.3s ease;
}

.timeline-item:hover .timeline-content {
  box-shadow: 0 12px 40px rgba(123, 44, 191, 0.15);
  border-color: rgba(123, 44, 191, 0.2);
}

.timeline-content h4 {
  color: var(--serah-purple);
  font-weight: 700;
  margin-bottom: var(--space-3);
  font-size: clamp(1.125rem, 2vw, 1.5rem);
}

.timeline-content p {
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--text-secondary);
}

/* Polaroid Stack */
.polaroid-stack {
  position: relative;
  width: 360px;
  max-width: 100%;
  height: 420px;
  margin: 0 auto;
}

.polaroid {
  position: absolute;
  width: 240px;
  height: 290px;
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-large);
  padding: var(--space-4);
  transition: all 0.3s var(--ease-bounce);
  cursor: pointer;
}

.polaroid-1 {
  transform: rotate(5deg);
  z-index: 3;
  top: 0;
  left: 30px;
}

.polaroid-2 {
  transform: rotate(-8deg);
  z-index: 2;
  top: 55px;
  left: 0;
}

.polaroid-3 {
  transform: rotate(12deg);
  z-index: 1;
  top: 110px;
  left: 60px;
}

.polaroid:hover {
  transform: scale(1.05) rotate(0deg) !important;
  z-index: 10 !important;
  box-shadow: var(--shadow-xl);
}

.photo {
  width: 100%;
  height: 180px;
  background: var(--lavender);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-4xl);
  margin-bottom: var(--space-4);
}

.polaroid p {
  text-align: center;
  font-size: var(--text-base);
  color: var(--text-secondary);
  margin: 0;
  transform: rotate(-1deg);
}

/* Programs Showcase */
.programs {
  padding: var(--space-24) 0;
  background: var(--warm-white);
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-16);
}

.section-header h2 {
  font-size: var(--text-5xl);
  margin-bottom: var(--space-6);
  transform: rotate(-1deg);
  letter-spacing: -0.3px;
  font-weight: 700;
}

.section-intro {
  font-size: var(--text-xl);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

.programs-showcase {
  margin-bottom: var(--space-20);
}

/* Simplified Program Section */
.program-simple {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--space-16) 0;
  gap: var(--space-8);
}

.program-simple h3 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--serah-purple);
  margin: 0;
}

.program-simple .btn {
  margin-top: var(--space-4);
}

/* Programs List */
.programs-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-6);
  margin-top: var(--space-8);
}

.program-item {
  background: white;
  padding: var(--space-6);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-medium);
  transition:
    transform 0.3s var(--ease-gentle),
    box-shadow 0.3s var(--ease-gentle);
  text-decoration: none;
  color: inherit;
  display: block;
  cursor: pointer;
}

.program-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-large);
}

.program-item:active {
  transform: translateY(-2px);
}

.program-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-4);
  flex-wrap: wrap;
  gap: var(--space-2);
}

.program-item h3 {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.program-date {
  font-size: var(--text-sm);
  padding: var(--space-1) var(--space-3);
  background: rgba(255, 235, 59, 0.3);
  color: var(--text-primary);
  border-radius: var(--radius-full);
  font-weight: 600;
}

.program-date.ongoing {
  background: rgba(168, 85, 247, 0.25);
  color: var(--serah-purple);
}

.program-oneliner {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

.laptop-mockup {
  position: relative;
  width: 300px;
  height: 200px;
  background: #1a1a1a;
  border-radius: var(--radius-xl);
  padding: var(--space-4);
  box-shadow: var(--shadow-xl);
  transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
  animation: laptop-hover 4s infinite ease-in-out;
}

@keyframes laptop-hover {
  0%,
  100% {
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg) translateY(0);
  }
  50% {
    transform: perspective(1000px) rotateY(-3deg) rotateX(3deg) translateY(-5px);
  }
}

.screen {
  width: 100%;
  height: 100%;
  background: #000;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.browser-bar {
  background: #333;
  padding: var(--space-2) var(--space-3);
  display: flex;
  align-items: center;
}

.browser-dots {
  display: flex;
  gap: var(--space-2);
}

.browser-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff5f56;
}

.browser-dots span:nth-child(2) {
  background: #ffbd2e;
}
.browser-dots span:nth-child(3) {
  background: #27ca3f;
}

.browser-content {
  padding: var(--space-4);
  height: calc(100% - 40px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.typing-demo {
  color: var(--pastel-yellow);
  font-family: "Monaco", monospace;
  font-size: var(--text-sm);
  overflow: hidden;
  white-space: nowrap;
  animation: typing 3s infinite;
}

@keyframes typing {
  0%,
  90%,
  100% {
    width: 0;
  }
  10%,
  80% {
    width: 100%;
  }
}

.program-info h3 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--serah-purple);
  margin-bottom: var(--space-5);
  font-weight: 600;
}

.program-description {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-8);
  max-width: 500px;
}

.program-details {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}

.detail-item {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  padding: var(--space-4);
  background: var(--beige);
  border-radius: var(--radius-lg);
  border-left: 3px solid var(--serah-purple);
}

.detail-label {
  font-size: var(--text-xs);
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.detail-value {
  font-size: var(--text-base);
  color: var(--text-primary);
  font-weight: 500;
}

/* Programs Grid */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-8);
}

.glass-card {
  background: var(--gradient-glass);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-3xl);
  padding: var(--space-8);
  transition: all 0.4s var(--ease-gentle);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.8),
    transparent
  );
}

.glass-card:hover {
  transform: translateY(-12px) rotate(1deg) scale(1.02);
  box-shadow: 0 20px 50px rgba(123, 44, 191, 0.25);
  border-color: rgba(123, 44, 191, 0.5);
  background: rgba(255, 255, 255, 0.35);
}

.glass-card:active {
  transform: translateY(-6px) rotate(0.5deg) scale(0.99);
}

.card-emoji {
  font-size: var(--text-5xl);
  margin-bottom: var(--space-6);
  display: block;
  animation: bounce-in 0.8s var(--ease-bounce);
}

@keyframes bounce-in {
  0% {
    transform: scale(0) rotate(180deg);
    opacity: 0;
  }
  50% {
    transform: scale(1.2) rotate(0deg);
  }
  100% {
    transform: scale(1) rotate(0deg);
    opacity: 1;
  }
}

.glass-card h3 {
  font-size: var(--text-2xl);
  color: var(--text-primary);
  margin-bottom: var(--space-4);
  font-weight: 700;
}

.glass-card p {
  margin-bottom: var(--space-6);
  line-height: 1.7;
}

.program-meta {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.meta-item {
  font-size: var(--text-sm);
  color: var(--text-muted);
  font-weight: 500;
}

/* Ambassadors Section */
.ambassadors {
  padding: var(--space-24) 0;
  background: var(--warm-white);
  overflow-x: clip;
}

.ambassadors-grid {
  display: flex;
  gap: var(--space-8);
  margin-bottom: var(--space-16);
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: var(--space-4);
  -webkit-overflow-scrolling: touch;
}

.ambassadors-grid::-webkit-scrollbar {
  display: none;
}

.ambassadors-grid {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

/* Carousel Controls */
.ambassadors-carousel-wrapper {
  position: relative;
  margin-bottom: var(--space-16);
}

.carousel-arrow {
  position: absolute;
  top: 25%;
  transform: translateY(-50%);
  background: linear-gradient(
    135deg,
    rgba(123, 44, 191, 0.95),
    rgba(147, 51, 234, 0.95)
  );
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: white;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(123, 44, 191, 0.3);
}

.carousel-arrow:hover {
  background: linear-gradient(
    135deg,
    rgba(147, 51, 234, 1),
    rgba(168, 85, 247, 1)
  );
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-50%) scale(1.15);
  box-shadow: 0 6px 30px rgba(123, 44, 191, 0.5);
}

.carousel-arrow-prev {
  left: -80px;
}

.carousel-arrow-next {
  right: -80px;
}

.carousel-arrow i {
  font-size: 20px;
  font-weight: bold;
}

.carousel-progress {
  display: flex;
  gap: var(--space-2);
  justify-content: center;
  margin-bottom: var(--space-8);
  padding: var(--space-4) 0;
}

.progress-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(123, 44, 191, 0.15);
  transition: all 0.3s ease;
  cursor: pointer;
}

.progress-dot.active {
  background: rgba(123, 44, 191, 0.5);
  width: 24px;
  border-radius: 4px;
}

.progress-dot:hover {
  background: rgba(123, 44, 191, 0.3);
}

.ambassador-card {
  background: white;
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  box-shadow: none;
  border: 1px solid rgba(0, 0, 0, 0.06);
  position: relative;
  overflow: visible;
  display: flex;
  flex: 0 0 calc(33.333% - var(--space-6));
  min-width: 350px;
  scroll-snap-align: start;
  flex-direction: column;
  align-items: center;
}

.ambassador-card::after {
  display: none;
}

.ambassador-card:hover::after {
  display: none;
}

.ambassador-photo {
  text-align: center;
  margin-bottom: var(--space-6);
  position: relative;
  z-index: 2;
}

.photo-frame {
  position: relative;
  display: inline-block;
  width: 120px;
  height: 120px;
  background: var(--gradient-warm);
  border-radius: 50%;
  border: 4px solid white;
}

@keyframes gentle-rotate {
  0%,
  100% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(2deg);
  }
  50% {
    transform: rotate(0deg);
  }
  75% {
    transform: rotate(-2deg);
  }
}

.emoji-avatar {
  font-size: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: white;
  border-radius: 50%;
  box-shadow: inset 0 2px 8px rgba(123, 44, 191, 0.1);
}

.photo-decoration {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 40px;
  height: 40px;
  background: var(--pastel-yellow);
  border-radius: 50%;
  border: 4px solid white;
  box-shadow: 0 4px 12px rgba(123, 44, 191, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

@keyframes pulse-decoration {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

.ambassador-info {
  position: relative;
  z-index: 2;
  width: 100%;
}

.ambassador-info h3 {
  text-align: center;
  color: var(--text-primary);
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  margin-bottom: var(--space-1);
  font-weight: 700;
}

.role {
  text-align: center;
  color: var(--serah-purple);
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: var(--space-4);
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.bio {
  font-size: var(--text-sm);
  line-height: 1.7;
  margin-bottom: var(--space-4);
  font-style: italic;
  text-align: center;
  color: var(--text-secondary);
  max-height: none;
  overflow: visible;
  transition: max-height 0.4s ease;
}

.ambassador-card:hover .bio {
  max-height: none;
}

.ambassador-stats {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  width: 100%;
  margin-top: var(--space-4);
}

.ambassador-stats span {
  font-size: var(--text-xs);
  color: var(--text-primary);
  padding: var(--space-3);
  background: linear-gradient(
    135deg,
    rgba(123, 44, 191, 0.08),
    rgba(255, 215, 0, 0.08)
  );
  border-radius: var(--radius-lg);
  text-align: center;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 1px solid rgba(123, 44, 191, 0.1);
}

.ambassador-card:hover .ambassador-stats span {
  background: linear-gradient(
    135deg,
    rgba(123, 44, 191, 0.12),
    rgba(255, 215, 0, 0.12)
  );
}

.become-ambassador {
  text-align: center;
}

.cta-card {
  background: var(--gradient-sunset);
  color: white;
  padding: var(--space-12) var(--space-8);
  border-radius: var(--radius-3xl);
  display: block;
  max-width: 700px;
  margin: 0 auto;
  box-shadow: var(--shadow-large);
  position: relative;
  overflow: hidden;
}

.star-decoration {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  width: 60px;
  height: 60px;
  object-fit: contain;
  animation: twinkle 2s infinite;
  pointer-events: none;
  z-index: 0;
}

.dog-decoration {
  position: absolute;
  bottom: var(--space-4);
  left: var(--space-4);
  width: 60px;
  height: 60px;
  object-fit: contain;
  animation: twinkle 2s infinite;
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 0;
}

@keyframes twinkle {
  0%,
  100% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.1) rotate(10deg);
  }
}

.cta-card h3,
.cta-card p {
  position: relative;
  z-index: 1;
}

.ambassador-btn {
  padding: var(--space-4) var(--space-10);
  font-size: var(--text-lg);
  font-weight: 600;
  border-radius: var(--radius-3xl);
  display: inline-block;
  min-width: 250px;
  text-align: center;
  position: relative;
  z-index: 1;
}

/* Real Stories - Masonry Layout */
/* Our Impact Section */
.impact-section {
  padding: var(--space-24) 0;
  background: linear-gradient(135deg, var(--lavender) 0%, var(--cream) 100%);
}

.impact-header {
  text-align: center;
  margin-bottom: var(--space-20);
}

.impact-header h2 {
  font-size: var(--text-5xl);
  margin-bottom: 0;
}

.impact-summary {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  font-size: var(--text-lg);
  color: var(--text-gray);
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-12);
  margin: 0 auto;
}

.impact-card {
  background: rgba(123, 44, 191, 0.05);
  border: 2px solid rgba(123, 44, 191, 0.15);
  border-radius: var(--radius-2xl);
  padding: var(--space-12);
  box-shadow: var(--shadow-medium);
  transition: all 0.3s var(--ease-gentle);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-6);
}

.impact-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-large);
}

.impact-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    var(--serah-purple) 0%,
    var(--serah-purple-light) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: white;
}

.impact-card h3 {
  font-size: var(--text-4xl);
  font-weight: 700;
  color: var(--serah-purple);
  margin: 0;
}

.impact-card p {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  margin: 0;
}

/* Old stories-header for compatibility */
.stories-header {
  text-align: center;
  margin-bottom: var(--space-16);
}

.stories-masonry {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-6);
  grid-auto-rows: auto;
}

.story-card {
  border-radius: var(--radius-2xl);
  padding: var(--space-6);
  box-shadow: var(--shadow-medium);
  transition: all 0.3s var(--ease-gentle);
  position: relative;
  overflow: hidden;
}

.story-card:hover {
  transform: translateY(-5px) rotate(0.5deg);
  box-shadow: var(--shadow-large);
}

.message-card {
  background: white;
  border-left: 4px solid var(--serah-purple);
}

.message-header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  box-shadow: var(--shadow-soft);
}

.message-header h4 {
  font-size: var(--text-base);
  font-weight: 600;
  margin: 0;
}

.timestamp {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.message-content p {
  line-height: 1.6;
  margin-bottom: var(--space-4);
}

.reactions {
  display: flex;
  gap: var(--space-4);
}

.reactions span {
  font-size: var(--text-sm);
  background: var(--beige);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-xl);
  font-weight: 500;
}

.photo-card {
  background: var(--gradient-warm);
}

.photo-placeholder {
  aspect-ratio: 4/3;
  background: var(--gradient-sunset);
  border-radius: var(--radius-xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
  position: relative;
  overflow: hidden;
}

.photo-emoji {
  font-size: var(--text-5xl);
  margin-bottom: var(--space-2);
}

.photo-caption p {
  font-size: var(--text-base);
  line-height: 1.6;
  margin-bottom: var(--space-2);
}

.photo-date {
  font-size: var(--text-sm);
  color: var(--text-muted);
  font-style: italic;
}

.quote-card {
  background: var(--serah-purple);
  color: white;
  text-align: center;
  position: relative;
}

.big-quote {
  font-size: var(--text-6xl);
  font-family: var(--font-handwritten);
  color: var(--pastel-yellow);
  line-height: 1;
  margin-bottom: var(--space-4);
  opacity: 0.8;
}

.quote-card p {
  font-size: var(--text-lg);
  line-height: 1.6;
  color: white;
  margin-bottom: var(--space-6);
  font-style: italic;
}

.quote-author h4 {
  color: var(--pastel-yellow);
  font-size: var(--text-xl);
  margin: 0;
  font-weight: 700;
}

.quote-author span {
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.8);
}

.update-card {
  background: var(--pastel-yellow-light);
  border: 2px solid var(--pastel-yellow);
}

.update-header {
  margin-bottom: var(--space-4);
}

.update-type {
  background: var(--gradient-purple);
  color: white;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-xl);
  font-size: var(--text-sm);
  font-weight: 600;
  display: inline-block;
}

.update-card h4 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-4);
  color: var(--text-primary);
}

.update-card ul {
  list-style: none;
  margin-bottom: var(--space-6);
}

.update-card li {
  padding: var(--space-2) 0;
  font-size: var(--text-base);
  color: var(--text-secondary);
}

.update-card .handwritten {
  font-size: var(--text-lg);
  text-align: center;
  transform: rotate(-1deg);
}

/* Homepage Bootcamp Section */
.homepage-bootcamp {
  padding: var(--space-24) 0;
  background: var(--warm-white);
}

.homepage-sprints {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-6);
  max-width: 900px;
  margin: 0 auto;
}

.sprint-card {
  background: white;
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-soft);
  text-decoration: none;
  color: inherit;
  transition:
    transform 0.2s var(--ease-gentle),
    box-shadow 0.2s var(--ease-gentle);
  display: block;
}

.sprint-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-medium);
}

.sprint-card .sprint-date {
  font-family: var(--font-handwritten);
  font-size: var(--text-lg);
  color: var(--serah-purple);
  font-weight: 600;
  display: block;
  margin-bottom: var(--space-2);
}

.sprint-card h3 {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-3);
}

.sprint-card p {
  color: var(--text-secondary);
  font-size: var(--text-sm);
  line-height: 1.7;
  margin-bottom: var(--space-4);
}

.sprint-stats {
  display: flex;
  gap: var(--space-4);
  font-size: var(--text-sm);
  color: var(--text-light);
}

.sprint-stats span {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.sprint-view {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--serah-purple);
  margin-top: var(--space-4);
}

.homepage-bootcamp-footer {
  text-align: center;
  margin-top: var(--space-10);
}

.homepage-bootcamp-footer p {
  color: var(--text-secondary);
  margin-bottom: var(--space-3);
}

/* Events & Webinars Section */
.events-webinars {
  padding: var(--space-24) 0;
  background: var(--warm-white);
}

.events-section {
  margin-bottom: var(--space-16);
}

.events-section:last-child {
  margin-bottom: 0;
}

.subsection-title {
  font-family: var(--font-handwritten);
  font-size: var(--text-3xl);
  color: var(--text-primary);
  font-weight: 600;
  margin-bottom: var(--space-8);
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 350px), 1fr));
  gap: var(--space-8);
}

.event-card {
  background: white;
  border-radius: var(--radius-2xl);
  padding: var(--space-6);
  display: flex;
  gap: var(--space-6);
  box-shadow: var(--shadow-soft);
  transition: all 0.3s var(--ease-gentle);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.event-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-large);
  border-color: rgba(123, 44, 191, 0.2);
}

/* Ongoing / featured event */
.event-card.ongoing {
  background: linear-gradient(
    135deg,
    rgba(243, 232, 255, 0.5) 0%,
    rgba(255, 248, 225, 0.3) 100%
  );
  border: 1px solid rgba(123, 44, 191, 0.15);
  box-shadow: var(--shadow-medium);
}

.event-card.ongoing:hover {
  box-shadow: var(--shadow-large);
  border-color: rgba(123, 44, 191, 0.3);
}

.ongoing-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--lavender);
  color: var(--serah-purple);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  width: fit-content;
}

.ongoing-badge::before {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--serah-purple);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(0.8);
  }
}

/* Past event cards */
.event-card.past-event {
  opacity: 0.9;
}

.event-card.past-event:hover {
  opacity: 1;
}

/* Date badge */
.event-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    var(--serah-purple) 0%,
    var(--serah-purple-light) 100%
  );
  color: white;
  border-radius: var(--radius-xl);
  padding: var(--space-3) var(--space-4);
  min-width: 80px;
  min-height: 80px;
  height: auto;
  flex-shrink: 0;
}

.event-date.past {
  background: linear-gradient(
    135deg,
    var(--serah-purple-soft) 0%,
    #d4b8e8 100%
  );
  color: var(--text-primary);
}

.date-day {
  font-size: var(--text-2xl);
  font-weight: 800;
  line-height: 1;
}

.date-month {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
}

.date-year {
  font-size: 0.65rem;
  font-weight: 500;
  opacity: 0.8;
  margin-top: 2px;
}

/* Event content */
.event-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.event-content h4 {
  font-size: var(--text-lg);
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.4;
  margin: 0;
}

.event-time {
  font-size: var(--text-sm);
  color: var(--text-muted);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin: 0;
}

.event-time i {
  color: var(--serah-purple-light);
  font-size: 0.8em;
}

.event-description {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.55;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.btn-sm {
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-sm);
  align-self: flex-start;
  margin-top: var(--space-2);
}

/* Events Bento Photo Grid */
.events-bento {
  margin-bottom: var(--space-16);
}

.events-bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 180px;
  gap: var(--space-3);
}

.eb-item {
  overflow: hidden;
  border-radius: var(--radius-xl);
}

.eb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease-gentle);
}

.eb-item:hover img {
  transform: scale(1.05);
}

.eb-item.eb-wide {
  grid-column: span 2;
}

@media (max-width: 768px) {
  .events-bento-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 140px;
    gap: var(--space-2);
  }

  .eb-item.eb-wide {
    grid-column: span 1;
  }
}

@media (max-width: 480px) {
  .events-bento-grid {
    grid-auto-rows: 120px;
  }
}

/* Newsletter Section */
.newsletter {
  padding: var(--space-24) 0;
  background: white;
  color: var(--text-primary);
  position: relative;
  overflow: hidden;
}

@keyframes gentle-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.newsletter-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
  position: relative;
  z-index: 2;
}

.email-preview {
  background: rgba(255, 255, 255, 0.95);
  border-radius: var(--radius-2xl);
  padding: var(--space-6);
  color: var(--text-primary);
  box-shadow: var(--shadow-xl);
  transform: rotate(-2deg);
  backdrop-filter: blur(20px);
}

.newsletter-gif {
  width: 100%;
  max-width: 500px;
  height: auto;
  transform: rotate(-3deg);
  transition: transform 0.4s ease;
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
}

.newsletter-gif:hover {
  transform: rotate(-1deg) scale(1.02);
}

.newsletter-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent !important;
}

.email-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-3);
  border-bottom: 2px solid var(--beige);
}

.email-header h4 {
  font-size: var(--text-xl);
  margin: 0;
  color: var(--serah-purple);
  transform: rotate(-1deg);
}

.email-time {
  font-size: var(--text-sm);
  color: var(--text-muted);
  font-weight: 500;
}

.email-body p {
  margin-bottom: var(--space-3);
  color: var(--text-secondary);
}

.email-body ul {
  list-style: none;
  margin: var(--space-4) 0;
}

.email-body li {
  padding: var(--space-1) 0;
  color: var(--text-secondary);
}

.newsletter-signup h2 {
  color: var(--serah-purple);
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: var(--space-3);
  font-weight: 600;
}

.newsletter-signup p {
  color: var(--text-secondary);
  font-size: var(--text-lg);
  line-height: 1.7;
  margin-bottom: var(--space-8);
  max-width: 600px;
}

.newsletter-signup p strong {
  font-weight: 700;
  color: var(--text-primary);
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  margin-top: var(--space-2);
  max-width: 450px;
}

.newsletter-form .form-group {
  position: relative;
}

.newsletter-form label {
  display: block;
  color: var(--text-secondary);
  font-size: var(--text-sm);
  font-weight: 500;
  margin-bottom: var(--space-2);
  transition: color 0.3s ease;
}

.newsletter-form .input-wrapper {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2);
  background: var(--beige);
  border: 2px solid rgba(123, 44, 191, 0.15);
  border-radius: var(--radius-3xl);
  transition: all 0.3s var(--ease-gentle);
}

.input-wrapper {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-1);
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-2xl);
  backdrop-filter: blur(10px);
  transition: all 0.3s var(--ease-gentle);
}

.newsletter-form .input-wrapper:focus-within {
  border-color: var(--serah-purple);
  background: white;
  box-shadow: 0 0 0 4px rgba(123, 44, 191, 0.1);
}

.input-wrapper:focus-within {
  border-color: var(--pastel-yellow);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 20px rgba(255, 224, 102, 0.3);
}

.newsletter-form .input-wrapper i {
  color: var(--serah-purple);
  font-size: var(--text-lg);
  padding: 0 var(--space-3);
}

.input-wrapper i {
  color: var(--pastel-yellow);
  font-size: var(--text-lg);
  padding: 0 var(--space-3);
}

.newsletter-form input {
  width: 100%;
  padding: var(--space-4) var(--space-6);
  border: 2px solid rgba(123, 44, 191, 0.2);
  background: var(--beige);
  color: var(--text-primary);
  font-size: var(--text-base);
  transition: all 0.3s var(--ease-gentle);
  border-radius: var(--radius-2xl);
  font-family: var(--font-primary);
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--serah-purple);
  background: white;
  box-shadow: 0 0 0 4px rgba(123, 44, 191, 0.1);
}

.newsletter-form input::placeholder {
  color: var(--text-muted);
}

.newsletter-btn {
  background: linear-gradient(135deg, #7b2cbf 0%, #9d4edd 100%);
  color: white;
  font-weight: 600;
  padding: var(--space-4) var(--space-8);
  border-radius: var(--radius-3xl);
  transition: all 0.3s var(--ease-gentle);
  box-shadow: 0 4px 16px rgba(123, 44, 191, 0.25);
  border: none;
  cursor: pointer;
  width: 100%;
  font-size: var(--text-base);
}

.newsletter-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(123, 44, 191, 0.35);
  background: linear-gradient(135deg, #6a25a8 0%, #8b3cc7 100%);
}

.newsletter-btn:active {
  transform: translateY(0);
}

.newsletter-btn:active {
  transform: translateY(-1px) scale(0.98);
}

/* Blog Preview Section */
.blog-preview {
  padding: var(--space-24) 0;
  background: var(--warm-white);
}

.blog-header {
  text-align: center;
  margin-bottom: var(--space-16);
}

.blog-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-8);
  margin-bottom: var(--space-12);
}

.blog-post {
  background: white;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: all 0.4s var(--ease-gentle);
  border: 1px solid rgba(123, 44, 191, 0.1);
  position: relative;
}

.blog-post:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 20px 50px rgba(123, 44, 191, 0.15);
  border-color: rgba(123, 44, 191, 0.2);
}

.blog-post.featured {
  grid-row: span 2;
}

.post-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-4) var(--space-6) var(--space-2);
}

.post-category {
  background: var(--gradient-sunset);
  color: white;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-xl);
  font-size: var(--text-sm);
  font-weight: 600;
  transform: rotate(-1deg);
}

.post-date {
  font-size: var(--text-sm);
  color: var(--text-muted);
  font-weight: 500;
}

.post-image {
  position: relative;
  overflow: hidden;
}

.blog-photo {
  aspect-ratio: 16/9;
  background: var(--gradient-warm);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.blog-emoji {
  font-size: var(--text-5xl);
}

.image-overlay {
  position: absolute;
  bottom: var(--space-3);
  right: var(--space-3);
}

.read-time {
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-xl);
  font-size: var(--text-sm);
  font-weight: 500;
}

.post-content {
  padding: var(--space-6);
}

.post-content h3 {
  font-size: var(--text-2xl);
  color: var(--text-primary);
  margin-bottom: var(--space-4);
  font-weight: 700;
  line-height: 1.3;
}

.post-content p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-4);
}

.read-more {
  color: var(--serah-purple);
  text-decoration: none;
  font-weight: 600;
  font-size: var(--text-base);
  transition: all 0.3s var(--ease-gentle);
  position: relative;
  padding-bottom: 2px;
  display: inline-block;
}

.read-more::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--serah-purple);
  transition: width 0.4s var(--ease-gentle);
}

.read-more:hover {
  color: var(--serah-purple-dark);
  transform: translateX(3px);
}

.read-more:hover::after {
  width: 100%;
  background: var(--serah-purple-dark);
}

.blog-cta {
  text-align: center;
}

/* Impact Stories */
.impact-stories {
  padding: var(--space-24) 0;
  background: var(--gradient-warm);
}

.impact-header {
  text-align: center;
  margin-bottom: var(--space-16);
}

.impact-flow {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-8);
  margin-bottom: var(--space-16);
  flex-wrap: wrap;
}

.impact-step {
  text-align: center;
  max-width: 200px;
  position: relative;
}

.step-visual {
  position: relative;
  margin-bottom: var(--space-4);
}

.step-emoji {
  font-size: var(--text-5xl);
  display: block;
  margin-bottom: var(--space-2);
  animation: step-bounce 3s infinite ease-in-out;
}

.impact-step:nth-child(1) .step-emoji {
  animation-delay: 0s;
}
.impact-step:nth-child(2) .step-emoji {
  animation-delay: 0.5s;
}
.impact-step:nth-child(3) .step-emoji {
  animation-delay: 1s;
}
.impact-step:nth-child(4) .step-emoji {
  animation-delay: 1.5s;
}

@keyframes step-bounce {
  0%,
  100% {
    transform: scale(1) translateY(0);
  }
  50% {
    transform: scale(1.1) translateY(-5px);
  }
}

.step-connector {
  position: absolute;
  top: 50%;
  right: -var(--space-12);
  width: var(--space-16);
  height: 2px;
  background: var(--gradient-purple);
  border-radius: var(--radius-sm);
}

.impact-step:last-child .step-connector {
  display: none;
}

.step-content h4 {
  font-size: var(--text-lg);
  color: var(--text-primary);
  margin-bottom: var(--space-2);
  font-weight: 600;
}

.step-content p {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Stat number shared style */
.stat-number {
  font-size: var(--text-5xl);
  font-weight: 800;
  color: var(--serah-purple);
  margin-bottom: var(--space-2);
  font-family: var(--font-primary);
}

/* Join Us Section */
.join-us {
  padding: var(--space-24) 0;
  background: var(--warm-white);
}

.join-content {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-16);
  align-items: start;
}

.join-text h2 {
  font-size: var(--text-5xl);
  color: var(--serah-purple);
  margin-bottom: var(--space-6);
  transform: rotate(-1deg);
}

.join-intro {
  font-size: var(--text-xl);
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: var(--space-12);
}

.join-options {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.join-option {
  display: flex;
  gap: var(--space-6);
  padding: var(--space-8);
  background: rgba(255, 255, 255, 0.75);
  border-radius: var(--radius-2xl);
  backdrop-filter: blur(15px);
  border: 2px solid rgba(123, 44, 191, 0.12);
  transition: all 0.3s var(--ease-gentle);
}

.join-option:hover {
  transform: translateX(8px) translateY(-2px);
  box-shadow: 0 15px 40px rgba(123, 44, 191, 0.15);
  border-color: rgba(123, 44, 191, 0.25);
  background: rgba(255, 255, 255, 0.9);
}

.option-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: var(--gradient-sunset);
  border-radius: 50%;
  color: white;
  font-size: var(--text-xl);
  flex-shrink: 0;
}

.option-content h4 {
  font-size: var(--text-xl);
  color: var(--text-primary);
  margin-bottom: var(--space-2);
  font-weight: 600;
}

.option-content p {
  color: var(--text-secondary);
  margin-bottom: var(--space-3);
  line-height: 1.6;
}

.option-link {
  color: var(--serah-purple);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s var(--ease-gentle);
  position: relative;
  padding-bottom: 2px;
}

.option-link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-purple);
  transition: width 0.4s var(--ease-gentle);
}

.option-link:hover {
  color: var(--serah-purple-dark);
  transform: translateX(3px);
}

.option-link:hover::after {
  width: 100%;
}

.community-preview {
  background: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-2xl);
  padding: var(--space-6);
  box-shadow: var(--shadow-medium);
  backdrop-filter: blur(20px);
  transform: rotate(2deg);
}

.preview-header h4 {
  color: var(--serah-purple);
  font-size: var(--text-xl);
  margin-bottom: var(--space-4);
  text-align: center;
  transform: rotate(-1deg);
}

.preview-messages {
  font-family: monospace;
  font-size: var(--text-sm);
  line-height: 1.6;
}

.preview-message {
  margin-bottom: var(--space-3);
  animation: message-appear 0.5s ease-in;
}

.preview-message .user {
  color: var(--serah-purple);
  font-weight: 600;
}

.typing-indicator {
  margin-top: var(--space-4);
  opacity: 0.7;
}

.typing {
  color: var(--text-muted);
  font-style: italic;
  animation: typing-dots 1.5s infinite;
}

@keyframes typing-dots {
  0%,
  60% {
    opacity: 0.7;
  }
  30% {
    opacity: 1;
  }
}

@keyframes message-appear {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Enhanced Footer */
.footer {
  background: var(--text-primary);
  color: white;
  padding: var(--space-16) 0 var(--space-8);
  position: relative;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.5fr 3fr;
  gap: var(--space-12);
  margin-bottom: var(--space-12);
}

.footer-brand h3 {
  font-size: var(--text-4xl);
  margin-bottom: var(--space-2);
  transform: rotate(-1deg);
}

.footer-brand .tagline {
  font-size: var(--text-lg);
  color: var(--text-light);
  margin-bottom: var(--space-6);
  display: block;
}

.footer-brand p {
  font-size: var(--text-lg);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--space-8);
}

.footer-logo {
  height: 60px;
  width: auto;
  max-width: 180px;
  margin-bottom: var(--space-4);
}

.footer-social {
  display: flex;
  gap: var(--space-3);
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  text-decoration: none;
  font-size: var(--text-base);
  transition: all 0.3s var(--ease-bounce);
}

.footer-social a:hover {
  background: var(--pastel-yellow);
  color: var(--serah-purple);
  transform: translateY(-3px) scale(1.1);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}

.footer-column h4 {
  color: white;
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--space-4);
}

.footer-column a {
  display: block;
  color: var(--text-light);
  text-decoration: none;
  margin-bottom: var(--space-2);
  font-size: var(--text-base);
  transition: all 0.3s var(--ease-gentle);
  padding: var(--space-1) 0;
}

.footer-column a:hover {
  color: var(--pastel-yellow);
  transform: translateX(5px);
  padding-left: var(--space-2);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: var(--space-8);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  align-items: center;
}

.footer-legal {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-legal a {
  color: white;
  text-decoration: none;
  transition: color 0.3s var(--ease-gentle);
}

.footer-legal a:hover {
  color: var(--serah-purple-light);
}

.legal-links {
  display: flex;
  gap: var(--space-8);
  flex-wrap: wrap;
}

.legal-links a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: var(--text-sm);
  pointer-events: none;
  cursor: default;
  opacity: 0.8;
}

.footer-message {
  text-align: right;
}

.footer-message p {
  color: var(--pastel-yellow);
  font-size: var(--text-lg);
  margin: 0;
  transform: rotate(1deg);
}

/* Animation Classes */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fade-up 0.8s var(--ease-gentle) forwards;
}

.fade-in-up:nth-child(1) {
  animation-delay: 0.1s;
}
.fade-in-up:nth-child(2) {
  animation-delay: 0.2s;
}
.fade-in-up:nth-child(3) {
  animation-delay: 0.3s;
}
.fade-in-up:nth-child(4) {
  animation-delay: 0.4s;
}

.fade-in-right {
  opacity: 0;
  transform: translateX(50px);
  animation: fade-right 1s var(--ease-gentle) 0.5s forwards;
}

@keyframes fade-up {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-right {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Responsive Design - Mobile First */
@media (max-width: 1024px) {
  .hero-container,
  .story-content,
  .newsletter-content,
  .join-content,
  .founding-content {
    grid-template-columns: 1fr;
    gap: var(--space-12);
  }

  .newsletter-signup {
    text-align: left;
  }

  .newsletter-signup p {
    max-width: 100%;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .impact-flow {
    flex-direction: column;
    gap: var(--space-6);
  }

  .step-connector {
    display: none;
  }

  .programs-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .program-content {
    grid-template-columns: 1fr;
  }

  .events-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }

  .hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scale(0);
  }

  .hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .nav-menu a {
    text-align: center;
    padding: var(--space-4) var(--space-3);
    border-radius: var(--radius-2xl);
    transition: all 0.3s var(--ease-gentle);
  }

  .nav-menu a:hover {
    background: rgba(123, 44, 191, 0.1);
    transform: scale(1.02);
  }

  .nav-menu a:active {
    background: rgba(123, 44, 191, 0.18);
    transform: scale(0.97);
    transition: all 0.1s ease;
  }

  .nav-menu a.active {
    background: rgba(123, 44, 191, 0.1);
    color: var(--serah-purple);
    font-weight: 600;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 var(--space-6);
  }

  .navbar {
    width: calc(100% - var(--space-8));
    padding: 4px var(--space-4);
    border-radius: 40px;
    top: var(--space-2);
  }

  .nav-container {
    padding: 0 var(--space-3);
  }

  .nav-logo img {
    height: 65px;
    max-width: 200px;
  }

  .hero {
    padding: calc(80px + var(--space-12)) 0 var(--space-12);
    min-height: auto;
  }

  .section-header {
    margin-bottom: var(--space-8);
  }

  .section-intro {
    font-size: var(--text-base);
  }

  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--space-8);
    padding: 0 var(--space-4);
  }

  .hero-title {
    font-size: clamp(var(--text-3xl), 8vw, var(--text-5xl));
    padding-right: 0;
  }

  .hero-typing {
    font-size: var(--text-xl);
  }

  .hero-description {
    font-size: var(--text-base);
    max-width: 100%;
  }

  .hero-story {
    max-width: 100%;
    font-size: var(--text-base);
    line-height: 1.7;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-buttons .btn {
    min-width: unset;
    width: 100%;
  }

  .hero-stats {
    justify-content: center;
    gap: var(--space-6);
  }

  .stat-number {
    font-size: var(--text-3xl);
  }

  .hero-visual {
    max-width: 100%;
    margin: 0 auto;
  }

  .floating-card {
    transform: rotate(0deg);
    max-width: 100%;
  }

  .floating-card:hover {
    transform: translateY(-8px) scale(1.01);
  }

  .code-preview {
    padding: var(--space-4);
  }

  .code-line {
    font-size: var(--text-sm);
    line-height: 2;
  }

  .floating-emoji {
    width: 45px;
    height: 45px;
    opacity: 0.5;
  }

  .emoji-1 {
    width: 50px;
    height: 50px;
  }

  .cta-card {
    padding: var(--space-8) var(--space-6);
  }

  .ambassador-btn {
    min-width: unset;
    width: 100%;
    font-size: var(--text-base);
    padding: var(--space-3) var(--space-6);
  }

  .program-content {
    grid-template-columns: 1fr;
  }

  .masonry-collage {
    padding: var(--space-4) 0 var(--space-16);
  }

  .masonry-grid {
    gap: 8px;
    padding: 0 var(--space-4);
  }

  .masonry-col {
    gap: 8px;
  }

  /* Programs section - single column on mobile */
  .programs-grid {
    grid-template-columns: 1fr;
  }

  .programs {
    padding: var(--space-12) 0;
  }

  .programs .section-header {
    margin-bottom: var(--space-8);
  }

  .programs-list {
    gap: var(--space-4);
    margin-top: var(--space-4);
  }

  .program-item {
    padding: var(--space-4);
  }

  .program-card {
    padding: var(--space-5);
  }

  .program-card:hover {
    transform: translateY(-4px) scale(1);
  }

  /* Ambassadors */
  .ambassadors-carousel-wrapper {
    overflow: visible;
  }

  .ambassadors-grid {
    flex-direction: column;
    overflow-x: visible;
    overflow-y: visible;
    scroll-snap-type: none;
    gap: var(--space-4);
  }

  .ambassador-card {
    flex: none;
    width: 100%;
    min-width: unset;
    padding: var(--space-6);
  }

  .carousel-arrow {
    display: none;
  }

  .carousel-progress {
    display: none;
  }

  .photo-frame {
    width: 100px;
    height: 100px;
  }

  /* Homepage bootcamp section */
  .homepage-bootcamp {
    padding: var(--space-16) 0;
  }

  /* Events section */
  .events-webinars {
    padding: var(--space-16) 0;
  }

  .events-section {
    margin-bottom: var(--space-10);
  }

  .events-grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  .event-card {
    flex-direction: column;
  }

  .event-date {
    width: 100%;
    min-width: unset;
    min-height: unset;
    padding: var(--space-3);
    flex-direction: row;
    gap: var(--space-2);
  }

  .date-month,
  .date-year {
    margin-top: 0;
  }

  .event-content {
    align-items: flex-start;
  }

  .event-time {
    justify-content: flex-start;
  }

  .btn-sm {
    align-self: stretch;
    text-align: center;
  }

  /* Newsletter */
  .newsletter {
    padding: var(--space-16) 0;
  }

  .newsletter-content {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }

  .newsletter-visual {
    text-align: center;
  }

  .newsletter-gif {
    max-width: 280px;
  }

  .newsletter-signup h3 {
    font-size: var(--text-3xl);
  }

  .newsletter-signup p {
    max-width: 100%;
    font-size: var(--text-base);
  }

  .newsletter-form {
    max-width: 100%;
  }

  /* Mission/Vision */
  .mv-statement {
    font-size: var(--text-base);
  }

  /* Founding story */
  .founding-story {
    padding: var(--space-6);
    margin: var(--space-10) 0;
  }

  .founding-text h3 {
    font-size: var(--text-2xl);
  }

  .founding-text p {
    font-size: var(--text-base);
  }

  /* Blog section */
  .blog-preview {
    padding: var(--space-16) 0;
  }

  .blog-post:hover {
    transform: translateY(-4px) scale(1);
  }

  /* Section headers */
  .section-header {
    margin-bottom: var(--space-10);
  }

  .section-intro {
    font-size: var(--text-base);
  }

  /* Impact section */
  .impact {
    padding: var(--space-16) 0;
  }

  .impact-step {
    max-width: 100%;
  }

  /* Reduce decorative element sizes */
  .star-decoration {
    width: 40px;
  }

  .dog-decoration {
    width: 40px;
  }

  /* Footer */
  .footer {
    padding: var(--space-12) 0 var(--space-6);
  }

  .footer-main {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--space-8);
    margin-bottom: var(--space-8);
  }

  .footer-social {
    justify-content: center;
  }

  .footer-links {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-4);
    text-align: left;
  }

  .footer-bottom {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--space-4);
    padding-top: var(--space-6);
  }

  .footer-legal {
    flex-direction: column;
    align-items: center;
    gap: var(--space-3);
  }

  .legal-links {
    justify-content: center;
  }

  .footer-message {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container,
  .nav-container {
    padding: 0 var(--space-4);
  }

  .navbar {
    width: calc(100% - var(--space-4));
    top: var(--space-1);
  }

  .nav-logo img {
    height: 55px;
    max-width: 170px;
  }

  .hero {
    padding: calc(70px + var(--space-10)) 0 var(--space-10);
  }

  .hero-title {
    font-size: clamp(var(--text-2xl), 7vw, var(--text-4xl));
  }

  .hero-typing {
    font-size: var(--text-lg);
    margin-bottom: var(--space-4);
  }

  .hero-visual {
    max-width: 100%;
  }

  .hero-stats {
    gap: var(--space-4);
  }

  .stat-number {
    font-size: var(--text-2xl);
  }

  .stat-label {
    font-size: var(--text-sm);
  }

  .code-preview {
    padding: var(--space-3);
  }

  .code-line {
    font-size: var(--text-xs);
    line-height: 1.8;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-buttons .btn-hero {
    width: 100%;
    max-width: 100%;
    text-align: center;
  }

  .floating-emoji {
    width: 35px;
    height: 35px;
    opacity: 0.4;
  }

  .emoji-1 {
    width: 40px;
    height: 40px;
  }

  .section-header h2 {
    font-size: clamp(var(--text-3xl), 6vw, var(--text-4xl));
  }

  .subsection-title {
    font-size: var(--text-2xl);
  }

  .bento-heading {
    font-size: var(--text-2xl);
  }

  /* Programs */
  .programs {
    padding: var(--space-12) 0;
  }

  .program-card {
    padding: var(--space-4);
  }

  .card-emoji {
    font-size: 1.5rem;
  }

  /* Homepage bootcamp */
  .homepage-bootcamp {
    padding: var(--space-12) 0;
  }

  .homepage-sprints {
    grid-template-columns: 1fr;
  }

  .sprint-card {
    padding: var(--space-6);
  }

  /* Events */
  .events-webinars {
    padding: var(--space-12) 0;
  }

  .event-card {
    padding: var(--space-4);
    gap: var(--space-4);
  }

  .event-date {
    padding: var(--space-2) var(--space-3);
  }

  .event-content h4 {
    font-size: var(--text-base);
  }

  /* Ambassador cards */
  .ambassador-card {
    padding: var(--space-4);
  }

  .photo-frame {
    width: 80px;
    height: 80px;
  }

  .star-decoration,
  .dog-decoration {
    display: none;
  }

  /* Newsletter */
  .newsletter {
    padding: var(--space-12) 0;
  }

  .newsletter-content {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .newsletter-gif {
    max-width: 100%;
    transform: rotate(-2deg);
  }

  .newsletter-form {
    max-width: 100%;
  }

  .newsletter-signup h3 {
    font-size: var(--text-2xl);
  }

  /* Blog */
  .blog-preview {
    padding: var(--space-12) 0;
  }

  /* Impact */
  .impact {
    padding: var(--space-12) 0;
  }

  .impact-icon {
    width: 60px;
    height: 60px;
  }

  .step-emoji {
    font-size: var(--text-4xl);
  }

  /* Footer */
  .footer-links {
    grid-template-columns: 1fr;
  }

  .footer-social a {
    width: 42px;
    height: 42px;
  }
}

/* Utility Classes */
.text-center {
  text-align: center;
}
.text-left {
  text-align: left;
}
.text-right {
  text-align: right;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Focus styles for accessibility */
.btn:focus,
.nav-link:focus,
input:focus,
textarea:focus,
select:focus {
  outline: 2px solid var(--serah-purple);
  outline-offset: 2px;
}

/* Special Effect Animations */
@keyframes sparkle-fly {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 1;
  }
  50% {
    transform: translate(var(--end-x, 50px), var(--end-y, -50px)) scale(1.2);
    opacity: 0.8;
  }
  100% {
    transform: translate(var(--end-x, 50px), var(--end-y, -50px)) scale(0);
    opacity: 0;
  }
}

@keyframes confetti-fall {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translateY(100vh) rotate(720deg);
    opacity: 0;
  }
}

@keyframes mega-confetti-fall {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translateY(120vh) rotate(1080deg);
    opacity: 0;
  }
}

@keyframes camera-flash {
  0% {
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

@keyframes rainbow-text {
  0% {
    color: var(--serah-purple);
  }
  16.66% {
    color: #ff6b6b;
  }
  33.33% {
    color: #ffd93d;
  }
  50% {
    color: #6bcf7f;
  }
  66.66% {
    color: #4d96ff;
  }
  83.33% {
    color: #9c88ff;
  }
  100% {
    color: var(--serah-purple);
  }
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

/* Story reveal animation */
.story-reveal {
  animation: story-pop 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

@keyframes story-pop {
  0% {
    opacity: 0;
    transform: scale(0.8) rotate(-2deg);
  }
  70% {
    transform: scale(1.05) rotate(1deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}

/* Form enhancements */
.newsletter-form input {
  transition: all 0.3s var(--ease-gentle);
}

.newsletter-form input:not(#first-name) {
  margin-bottom: var(--space-4);
}

#first-name {
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.5s var(--ease-bounce);
}

/* Active navigation link */
.nav-link.active {
  color: var(--serah-purple);
  font-weight: 600;
}

.nav-link.active::before {
  width: 80%;
}

/* Menu open body state */
body.menu-open {
  overflow: hidden;
}

/* Enhanced glassmorphism */
.glass-card,
.floating-card,
.email-preview {
  background: rgba(255, 255, 255, 0.25);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

/* Scroll progress indicator */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--gradient-sunset);
  box-shadow: 0 0 10px rgba(255, 224, 102, 0.8);
  transform-origin: 0%;
  z-index: 9999;
  transition: width 0.1s ease;
}

/* Loading states */
.btn.loading {
  position: relative;
  color: transparent;
}

.btn.loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  border: 2px solid transparent;
  border-top: 2px solid currentColor;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  transform: translate(-50%, -50%);
}

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

/* Enhanced Input Styles */
input:focus,
textarea:focus,
select:focus {
  transform: scale(1.01);
}

input::placeholder,
textarea::placeholder {
  opacity: 0.5;
}

/* Better focus visuals for form elements */
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  box-shadow: 0 0 0 3px rgba(123, 44, 191, 0.1);
}

/* Wavy Dividers */
.wave-divider {
  position: relative;
  height: 120px;
  background: transparent;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
}

.wave-divider svg {
  width: 100%;
  height: auto;
  display: block;
}

@keyframes wave-animation {
  0% {
    d: path(
      "M 0,100 Q 75,75 150,100 T 300,100 T 450,100 T 600,100 T 750,100 T 900,100 T 1050,100 T 1200,100 L 1200,0 L 0,0 Z"
    );
  }
  50% {
    d: path(
      "M 0,85 Q 75,60 150,85 T 300,85 T 450,85 T 600,85 T 750,85 T 900,85 T 1050,85 T 1200,85 L 1200,0 L 0,0 Z"
    );
  }
  100% {
    d: path(
      "M 0,100 Q 75,75 150,100 T 300,100 T 450,100 T 600,100 T 750,100 T 900,100 T 1050,100 T 1200,100 L 1200,0 L 0,0 Z"
    );
  }
}

/* Section Reveal Animation */
@keyframes section-reveal {
  from {
    opacity: 0;
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
  }
  to {
    opacity: 1;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }
}

/* Scroll Progress Indicator */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--serah-purple),
    var(--pastel-yellow),
    var(--serah-purple)
  );
  z-index: 9999;
  width: 0;
  background-size: 200% auto;
  animation: gradient-shift 3s linear infinite;
}

@keyframes gradient-shift {
  0% {
    background-position: 0% center;
  }
  100% {
    background-position: 200% center;
  }
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .floating-shapes {
    display: none;
  }

  .impact-marquee-track {
    animation: none !important;
  }

  .impact-marquee {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* Scroll to Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: #ffd700;
  border: none;
  border-radius: 50%;
  color: #2f4464;
  font-size: 20px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scroll-to-top:hover {
  background: #ffc700;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
}

.scroll-to-top:active {
  transform: translateY(-1px);
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-to-top i {
  transition: transform 0.3s ease;
}

.scroll-to-top:hover i {
  transform: translateY(-2px);
}

/* =====================================================
   Ada Lovelace, Scribble, Mountain & Gallery Sections
   ===================================================== */

/* (Old ada/mountain/scribble section styles removed — replaced by .impact) */

/* ============================================
   Pinterest Masonry Collage
   ============================================ */
.masonry-collage {
  padding: var(--space-8) 0 var(--space-24);
}

.masonry-grid {
  display: flex;
  gap: 12px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-8);
}

.masonry-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.masonry-item {
  border-radius: 16px;
  overflow: hidden;
  background: var(--beige);
}

.masonry-item img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  transition:
    transform 0.4s var(--ease-gentle),
    filter 0.4s ease;
}

.masonry-item:hover img {
  transform: scale(1.04);
}

@media (max-width: 768px) {
  .masonry-grid {
    gap: 8px;
    padding: 0 var(--space-4);
  }

  .masonry-col {
    gap: 8px;
  }
}

/* ============================================
   Mission Section - Clean & Centered
   ============================================ */
.mission-section {
  padding: var(--space-24) 0;
  background: linear-gradient(
    180deg,
    var(--warm-white) 0%,
    var(--lavender) 50%,
    var(--warm-white) 100%
  );
}

.mission-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  background: white;
  padding: var(--space-16) var(--space-12);
  border-radius: var(--radius-2xl);
  box-shadow: 0 8px 32px rgba(123, 44, 191, 0.08);
  border: 1px solid rgba(123, 44, 191, 0.06);
}

.mission-inner h3 {
  font-size: var(--text-6xl);
  color: var(--serah-purple);
  margin-bottom: var(--space-6);
}

.mission-statement {
  font-size: var(--text-xl);
  line-height: 1.9;
  color: var(--text-secondary);
}

/* Responsive: Mission */
@media (max-width: 768px) {
  .mission-section {
    padding: var(--space-16) 0;
  }

  .mission-inner {
    padding: var(--space-10) var(--space-6);
  }

  .mission-inner h3 {
    font-size: var(--text-4xl);
  }

  .mission-statement {
    font-size: var(--text-base);
  }
}

@media (max-width: 480px) {
  .mission-section {
    padding: var(--space-12) 0;
  }

  .mission-inner {
    padding: var(--space-8) var(--space-4);
  }

  .mission-inner h3 {
    font-size: var(--text-3xl);
  }

  .gallery-stage {
    height: 320px;
  }

  .gallery-heading {
    font-size: var(--text-3xl);
  }
}

/* 4. Sequential Animated Gallery */
.sequential-gallery {
  padding: var(--space-24) 0;
  background: var(--warm-white);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.gallery-heading {
  text-align: center;
  font-size: var(--text-5xl);
  color: var(--serah-purple);
  margin-bottom: var(--space-12);
}

.gallery-stage {
  position: relative;
  width: 100%;
  max-width: 800px;
  height: 600px;
  margin: 0 auto;
  perspective: 1500px;
}

.gallery-slide {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 500px;
  height: 500px;
  opacity: 0;
  transition: none;
}

.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-3xl);
  box-shadow: 0 30px 80px rgba(123, 44, 191, 0.4);
  border: 8px solid white;
}

.slide-label {
  position: absolute;
  bottom: -60px;
  left: 50%;
  transform: translateX(-50%);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--serah-purple);
  opacity: 0;
  transition: opacity 0.5s ease;
}

/* Animation states for sequential gallery */
.gallery-slide.zoom-in {
  animation: slideZoomIn 1.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.gallery-slide.zoom-in .slide-label {
  animation: labelFadeIn 0.8s ease 0.8s forwards;
}

.gallery-slide.zoom-out {
  animation: slideZoomOut 1s ease forwards;
}

.gallery-slide.show-next {
  animation: slideShowNext 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.gallery-slide.show-next .slide-label {
  animation: labelFadeIn 0.6s ease 0.5s forwards;
}

@keyframes slideZoomIn {
  0% {
    transform: translate(-50%, -50%) scale(0) rotateZ(-10deg);
    opacity: 0;
  }
  60% {
    transform: translate(-50%, -50%) scale(1.15) rotateZ(2deg);
  }
  100% {
    transform: translate(-50%, -50%) scale(1) rotateZ(0deg);
    opacity: 1;
  }
}

@keyframes slideZoomOut {
  0% {
    transform: translate(-50%, -50%) scale(1) rotateZ(0deg);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) scale(0.5) rotateZ(10deg);
    opacity: 0;
  }
}

@keyframes slideShowNext {
  0% {
    transform: translate(-50%, -50%) scale(0) translateY(50px);
    opacity: 0;
  }
  100% {
    transform: translate(-50%, -50%) scale(1) translateY(0);
    opacity: 1;
  }
}

@keyframes labelFadeIn {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

/* Responsive - Gallery */
@media (max-width: 1024px) {
  .gallery-slide {
    width: 400px;
    height: 400px;
  }

  .gallery-stage {
    height: 500px;
  }
}

@media (max-width: 768px) {
  .gallery-slide {
    width: 300px;
    height: 300px;
  }

  .gallery-stage {
    height: 400px;
  }

  .slide-label {
    font-size: var(--text-xl);
    bottom: -50px;
  }
}

@media (max-width: 480px) {
  .gallery-slide {
    width: 250px;
    height: 250px;
  }
}
