/* ===============================================================
   MakanDimanaYa — Static styles (no Tailwind, no build step)
   Matches the React/Tailwind version 1:1
   =============================================================== */
::selection {
  background-color: var(--primary);
  color: white;
}

:root {
  --background: oklch(1 0 0);
  --foreground: oklch(0.27 0 0);
  --card: oklch(1 0 0);
  --muted: oklch(0.97 0 0);
  --muted-foreground: oklch(0.5 0 0);
  --primary: oklch(0.658 0.234 32);
  --primary-foreground: oklch(1 0 0);
  --primary-glow: oklch(0.72 0.21 35);
  --border: oklch(0.9 0 0);

  --gradient-brand: linear-gradient(135deg, oklch(0.658 0.234 32), oklch(0.72 0.21 35));
  --shadow-brand: 0 20px 50px -15px oklch(0.658 0.234 32 / 0.4);
  --shadow-elevated: 0 10px 40px -10px oklch(0.18 0.02 50 / 0.1);
  --shadow-card: 0 4px 20px -4px oklch(0.18 0.02 50 / 0.08);

  --radius: 0.75rem;
  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

#mouse-spotlight {
  position: fixed;
  top: 0;
  left: 0;
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle, 
    rgba(234, 50, 0, 0.08) 0%, 
    rgba(234, 50, 0, 0.03) 40%, 
    transparent 70%
  );
  border-radius: 50%;
  pointer-events: none; /* Agar tidak menghalangi klik pada tombol/input */
  z-index: 1; /* Di atas background tapi di bawah konten card */
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease;
  opacity: 0; /* Mulai dengan tidak terlihat */
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

img {
  max-width: 100%;
  display: block;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

input {
  font-family: inherit;
}

.hidden {
  display: none !important;
}

.icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.icon-sm {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.icon-primary {
  color: var(--primary);
}

.container {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---------- HERO ---------- */
/* =========================================================
   HERO BACKGROUND MARQUEE GALLERY
========================================================= */
.hero-bg-gallery {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 24px;
  justify-content: flex-start; /* KEMBALIKAN KE ATAS */
  background: oklch(85.148% 0.07695 35.578);
}

.gallery-row {
  display: flex;
  width: 100%;
  overflow: hidden;
  user-select: none;
}

.gallery-track {
  display: flex;
  gap: 24px; /* Jarak antar foto (kiri-kanan) */
  width: max-content;
}

/* Ukuran foto - Sesuaikan dengan resolusi foto kamu */
.gallery-track img {
  width: 220px; 
  height: 160px;
  object-fit: cover; /* Agar foto tidak gepeng */
  border-radius: 8px; /* Sudut agak membulat agar modern */
  opacity: 0.35; /* Sedikit transparan agar tidak terlalu mencolok */
}

/* Animasi Bergerak */
@keyframes scrollRight {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

@keyframes scrollLeft {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Pengaturan arah dan kecepatan */
.gallery-row[data-direction="right"] .gallery-track {
  animation: scrollRight 40s linear infinite;
}

.gallery-row[data-direction="left"] .gallery-track {
  animation: scrollLeft 45s linear infinite; /* Sedikit lebih lambat agar tidak terlalu seragam */
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -10;
  background-image: url("assets/restaurant-bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  /* Gradasi transparan di tengah, putih pekat di bawah */
  background: linear-gradient(
    to bottom, 
    rgba(253, 253, 253, 0) 0%,     /* Atas bening */
    rgba(253, 253, 253, 0.4) 50%,  /* Tengah agak putih */
    rgba(253, 253, 253, 1) 95%     /* Bawah putih solid menyatu dengan section fitur */
  );
}

.site-header {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
}
@media (min-width: 768px) {
  .site-header {
    padding: 1.25rem 3rem;
  }
}

.logo-wrap {
  display: flex;
  align-items: center;
}

.logo {
  height: 6rem;
  width: auto;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.25));
}
@media (min-width: 768px) {
  .logo {
    height: 8rem;
  }
}

.badge-launching {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.75rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  margin-bottom: 24px;
}
@media (min-width: 768px) {
  .badge-launching {
    padding: 0.375rem 1rem;
  }
}
.badge-text {
  font-size: 0.75rem;
  font-weight: 500;
  color: #000000;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}
.ping-dot {
  position: relative;
  display: inline-flex;
  width: 0.5rem;
  height: 0.5rem;
}
.ping {
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  background: var(--primary);
  opacity: 0.75;
  animation: ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}
.dot {
  position: relative;
  display: inline-flex;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
  background: var(--primary);
}

.hero-inner {
  position: relative;
  z-index: 10;
  max-width: 56rem;
  margin: 0 auto;
  padding: 4rem 1.5rem;
  min-height: calc(100svh - 90px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
@media (min-width: 768px) {
  .hero-inner {
    padding: 6rem 1.5rem;
  }
}

.hero-card {
  width: 100%;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.7);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-elevated);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
@media (min-width: 768px) {
  .hero-card {
    padding: 3rem;
  }
}

.coming-soon {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--foreground);
}
.coming-soon .icon-sm {
  width: 14px;
  height: 14px;
}

.hero-title {
  margin: 0;
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--foreground);
  text-wrap: balance;
  transition: none !important;
}
@media (min-width: 640px) {
  .hero-title {
    font-size: 3rem;
  }
}
@media (min-width: 768px) {
  .hero-title {
    font-size: 3.75rem;
  }
}
@media (min-width: 1024px) {
  .hero-title {
    font-size: 4.5rem;
  }
}

.text-gradient-brand {
  /* Pastikan display-nya flex agar 'for' dan mood tidak pisah */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: none !important; /* WAJIB ADA */
}

.hero-sub {
  max-width: 42rem;
  margin: 1.5rem auto 0;
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(0, 0, 0, 0.8);
  text-wrap: pretty;
}
@media (min-width: 640px) {
  .hero-sub {
    font-size: 1.125rem;
  }
}
.brand-name {
  font-weight: 600;
  color: var(--primary);
}

/* ---------- Waitlist form ---------- */
.error-text {
  color: #ff4d4d;
  font-size: 0.85rem;
  margin-top: 8px;
  margin-left: 12px;
  height: 20px; /* Agar layout tidak goyang saat pesan muncul */
  opacity: 0;
  transform: translateY(-5px);
  transition: all 0.3s ease;
  text-align: left;
  font-weight: 500;
}

.error-text.visible {
  opacity: 1;
  transform: translateY(0);
}

input.input-error {
  border-color: #ff4d4d !important;
  background-color: rgba(255, 77, 77, 0.05) !important;
}

.waitlist-wrap {
  width: 100%;
  max-width: 36rem;
  margin: 2.5rem auto 0;
}
.waitlist-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0.5rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.waitlist-form:focus-within {
  border-color: oklch(0.658 0.234 32 / 0.5);
  box-shadow: var(--shadow-elevated);
}
@media (min-width: 640px) {
  .waitlist-form {
    flex-direction: row;
    gap: 0.5rem;
  }
}
.waitlist-input {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0 1rem;
  flex: 1;
  color: var(--muted-foreground);
}
.waitlist-input input {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  padding: 0.75rem 0;
  color: var(--foreground);
  font-size: 0.875rem;
}
.waitlist-input input::placeholder {
  color: var(--muted-foreground);
}
@media (min-width: 640px) {
  .waitlist-input input {
    font-size: 1rem;
  }
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  border-radius: 0.75rem;
  background: var(--gradient-brand);
  color: var(--primary-foreground);
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: var(--shadow-brand);
  transition: transform 0.25s, box-shadow 0.25s;
  text-decoration: none;
}
.btn-primary:hover {
  transform: scale(1.02);
  box-shadow: 0 25px 60px -10px oklch(0.685 0.215 41 / 0.7);
}
.btn-primary:active {
  transform: scale(0.98);
}
@media (min-width: 640px) {
  .btn-primary {
    font-size: 1rem;
  }
}

.waitlist-success {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1.25rem;
  border-radius: 1rem;
  border: 1px solid oklch(0.658 0.234 32 / 0.3);
  background: oklch(0.658 0.234 32 / 0.1);
  text-align: left;
}
.success-icon {
  display: flex;
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: var(--gradient-brand);
  box-shadow: var(--shadow-brand);
  color: var(--primary-foreground);
}
.waitlist-success p {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
}
.waitlist-success .muted {
  font-weight: 400;
  color: rgba(0, 0, 0, 0.7);
}

.waitlist-note {
  margin: 0.75rem 0 0;
  font-size: 0.75rem;
  color: rgba(0, 0, 0, 0.7);
}

/* ---------- Wave dividers ---------- */
.wave-divider {
  position: relative;
  z-index: 10;
  width: 100%;
  margin-bottom: -1px;
  pointer-events: none;
  overflow: hidden;
  line-height: 0;
}
.wave-divider svg {
  display: block;
  width: 100%;
  height: 4rem;
}
@media (min-width: 768px) {
  .wave-divider svg {
    height: 6rem;
  }
}
.wave-into-bg {
  color: var(--background);
}
.wave-into-card {
  color: var(--card);
  margin-top: 5rem;
}
@media (min-width: 768px) {
  .wave-into-card {
    margin-top: 7rem;
  }
}

/* ---------- Features ---------- */
.marquee-group {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  
  /* KUNCI 1: Ubah ke flex-start agar jarak mutlak 40px, tidak melar */
  justify-content: flex-start; 
  
  gap: 40px;
  padding-right: 40px; 
  
  /* KUNCI 2: Pastikan lebarnya tidak dibatasi oleh layar */
  width: max-content; 
}

.marquee-group img {
  width: 280px; /* Ukuran dikembalikan agak besar agar 10 foto cukup menutupi layar */
  height: 180px;
  object-fit: cover;
  border-radius: 16px;
  opacity: 0.25;
  flex-shrink: 0;
}

.features, .site-footer {
  position: relative;
  background: var(--background);
  
  /* Setting Grid-nya (tingkat ketebalan 0.08) */
  background-image: 
    linear-gradient(rgba(234, 50, 0, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(234, 50, 0, 0.08) 1px, transparent 1px);
  background-size: 40px 40px; 
  background-position: center center;
}

.site-footer{
  background-image: 
    linear-gradient(rgba(234, 50, 0, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(234, 50, 0, 0.08) 1px, transparent 1px) !important;
  background-size: 40px 40px !important; 
  background-position: center center !important;
}

@media (min-width: 768px) {
  .features {
    padding: 8rem 1.5rem;
  }
}

.section-head {
  max-width: 42rem;
  margin: 0 auto;
  text-align: center;
}
.eyebrow {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  background: oklch(0.658 0.234 32 / 0.1);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.section-title {
  margin: 1rem 0 0;
  font-size: 1.875rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--foreground);
  text-wrap: balance;
}
@media (min-width: 768px) {
  .section-title {
    font-size: 3rem;
  }
}
.section-sub {
  margin: 1rem 0 0;
  font-size: 1rem;
  color: var(--muted-foreground);
}
@media (min-width: 768px) {
  .section-sub {
    font-size: 1.125rem;
  }
}

.features-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 3.5rem;
}
@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
    margin-top: 5rem;
  }
}

.feature-card {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: var(--card);
  padding: 1.75rem;
  box-shadow: var(--shadow-card);
  transition: border-color 0.3s, box-shadow 0.4s, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.feature-card:hover {
  border-color: oklch(0.658 0.234 32 / 0.4);
  box-shadow: var(--shadow-elevated);
  transform: translateY(-6px);
}
.feature-card .card-glow {
  position: absolute;
  right: -3rem;
  top: -3rem;
  width: 8rem;
  height: 8rem;
  border-radius: 9999px;
  background: var(--gradient-brand);
  opacity: 0;
  filter: blur(60px);
  transition: opacity 0.5s;
}
.feature-card:hover .card-glow {
  opacity: 0.3;
}
.feature-icon {
  position: relative;
  display: inline-flex;
  width: 3rem;
  height: 3rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  background: var(--gradient-brand);
  box-shadow: var(--shadow-brand);
  color: var(--primary-foreground);
  margin-bottom: 1.25rem;
  transition: transform 0.5s;
}
.feature-card:hover .feature-icon {
  transform: scale(1.1) rotate(3deg);
}
.feature-icon .icon {
  width: 24px;
  height: 24px;
  color: var(--primary-foreground);
}
.feature-card h3 {
  position: relative;
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--foreground);
}
.feature-card p {
  position: relative;
  margin: 0.75rem 0 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--muted-foreground);
}

/* ---------- Footer / B2B ---------- */
.site-footer {
  background: var(--background);
  padding: 3.5rem 1.5rem;

  background-image: 
    linear-gradient(rgba(234, 50, 0, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(234, 50, 0, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
}
.b2b-card {
  border-radius: 1.5rem;
  border: 1px solid var(--border);
  background: var(--card);
  padding: 2rem;
  box-shadow: var(--shadow-elevated);
}
@media (min-width: 768px) {
  .b2b-card {
    padding: 3rem;
  }
}
.b2b-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.b2b-head .section-title {
  max-width: 36rem;
  font-size: 1.5rem;
}
@media (min-width: 768px) {
  .b2b-head .section-title {
    font-size: 2.25rem;
  }
}
.b2b-head .section-sub {
  max-width: 36rem;
  font-size: 0.875rem;
}
@media (min-width: 768px) {
  .b2b-head .section-sub {
    font-size: 1rem;
  }
}

.benefits-grid {
  display: grid;
  gap: 1rem;
  margin-top: 2.5rem;
  padding: 0;
  list-style: none;
  grid-auto-rows: 1fr;
}
@media (min-width: 640px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .benefits-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.benefit-item {
  display: flex;
  gap: 1rem;
  height: 100%;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: var(--background);
  padding: 1.25rem;
  box-shadow: var(--shadow-card);
  transition: border-color 0.3s, box-shadow 0.4s, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.benefit-item:hover {
  border-color: oklch(0.658 0.234 32 / 0.4);
  box-shadow: var(--shadow-elevated);
  transform: translateY(-6px);
}
.benefit-icon {
  display: flex;
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  background: var(--gradient-brand);
  box-shadow: var(--shadow-brand);
  color: var(--primary-foreground);
  transition: transform 0.5s;
}
.benefit-icon .icon-sm {
  width: 20px;
  height: 20px;
  color: var(--primary-foreground);
}
.benefit-item:hover .benefit-icon {
  transform: scale(1.1) rotate(-3deg);
}
.benefit-item h4 {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--foreground);
}
.benefit-item p {
  margin: 0.25rem 0 0;
  font-size: 0.75rem;
  line-height: 1.6;
  color: var(--muted-foreground);
}

.b2b-cta {
  display: flex;
  justify-content: center;
  margin-top: 2.5rem;
}
.btn-mail {
  padding: 0.75rem 1.5rem;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
  padding: 1.25rem 1.5rem 0;
  border-top: 1px solid var(--border);
}
@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
  }
}
.footer-logo img {
  height: 5rem;
  width: auto;
}
@media (min-width: 768px) {
  .footer-logo img {
    height: 6rem;
  }
}
.footer-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.footer-links button {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  transition: color 0.2s;
}
.footer-links button:hover {
  color: var(--primary);
}
.footer-copy {
  margin: 0;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

/* ---------- Modal ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  animation: fade-in 0.2s ease-out;
}
.modal-content {
  position: relative;
  width: 100%;
  max-width: 32rem;
  border-radius: 1rem;
  background: var(--card);
  padding: 1.5rem;
  box-shadow: var(--shadow-elevated);
  animation: scale-in 0.2s ease-out;
}
.modal-close {
  position: absolute;
  top: 0.5rem;
  right: 0.75rem;
  width: 2rem;
  height: 2rem;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--muted-foreground);
}
.modal-close:hover {
  color: var(--foreground);
}
.modal-title {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}
.modal-sub {
  margin: 0.25rem 0 1rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
}
.modal-scroll {
  max-height: 50vh;
  overflow-y: auto;
  padding-right: 0.5rem;
}
.modal-scroll p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--muted-foreground);
}

/* ---------- Animations ---------- */
.fade-in {
  animation: fade-in 0.6s ease-out both;
}
.fade-in-up {
  animation: fade-in-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.pulse-glow {
  animation: pulse-glow 2.4s ease-in-out infinite;
}

.typewriter::after {
  content: "";
  display: inline-block;
  width: 3px;
  height: 0.8em;
  margin-left: 4px;
  vertical-align: middle;
  background: currentColor;
  animation: cursor-blink 0.9s step-end infinite;
}
.typewriter.done::after {
  display: none;
}
/* Container untuk baris kedua */
.dynamic-row {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 1.5em; /* Mencegah layout melompat */
}

#rotating-text {
  color: var(--primary) !important;
  min-width: 2px;
  font-weight: 800;
  display: inline-block;
  border-right: 3px solid var(--primary); /* Kursor ketik */
  padding-right: 4px;
  /* HAPUS SEMUA TRANSITION DI SINI JIKA ADA */
  transition: none !important; 
  line-height: 1.2;
}

.typewriter-dynamic {
  display: inline-block;
  text-align: left; /* Teks diketik ke kanan */
  min-width: 2ch; /* Memberi ruang minimal agar tidak collapse */
  border-right: 3px solid var(--primary); /* Kursor */
  padding-right: 4px;
  line-height: 1;
}

/* Hilangkan kursor bawaan tw1 agar tidak double */
#tw1::after {
  display: none !important;
}

/* Animasi kursor khusus baris kedua */
.typing-active {
  animation: cursor-blink 0.9s step-end infinite;
}

@keyframes cursor-blink {
  50% { border-color: transparent; }
}

/* Pastikan static-text "for" terlihat */
.static-text {
  opacity: 0;
  transition: opacity 0.5s ease;
  white-space: pre; /* Menjaga spasi setelah kata 'for' */
}

.static-text.visible {
  opacity: 1;
}

.wave-slow {
  animation: wave-drift 15s linear infinite;
  opacity: 0.3;
}
.wave-fast {
    animation: wave-drift 7s linear infinite reverse;
    opacity: 0.6;
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes scale-in {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes ping {
  75%, 100% {
    transform: scale(2);
    opacity: 0;
  }
}
@keyframes pulse-glow {
  0%, 100% {
    box-shadow:
      0 0 0 0 oklch(0.658 0.234 32 / 0.55),
      0 0 18px 2px oklch(0.658 0.234 32 / 0.25);
  }
  50% {
    box-shadow:
      0 0 0 8px oklch(0.658 0.234 32 / 0),
      0 0 28px 6px oklch(0.658 0.234 32 / 0.45);
  }
}
@keyframes cursor-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}
@keyframes wave-drift {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(-3%); }
}

/* Pastikan row membentang penuh dan gerbongnya berjejer ke samping */
.gallery-row {
  display: flex;
  width: 100%;
  overflow: hidden;
  user-select: none;
}

/* 1. Animasi sekarang menggunakan -50% */
@keyframes scrollLeft {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes scrollRight {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

/* 2. Animasi dipasang ke .gallery-track */
.gallery-row[data-direction="left"] .gallery-track {
  animation: scrollLeft 45s linear infinite;
}

.gallery-row[data-direction="right"] .gallery-track {
  animation: scrollRight 45s linear infinite;
}

/* 3. Waktu mulai acak juga dipasang ke .gallery-track */
.gallery-row:nth-child(1) .gallery-track { animation-delay: -5s; }
.gallery-row:nth-child(2) .gallery-track { animation-delay: -18s; }
.gallery-row:nth-child(3) .gallery-track { animation-delay: -10s; }
.gallery-row:nth-child(4) .gallery-track { animation-delay: -25s; }
.gallery-row:nth-child(5) .gallery-track { animation-delay: -32s; }

@media (max-width: 410px) {
  /* 1. JUDUL & TEXT */
  #tw1, .static-text, #rotating-text {
    font-size: 28px !important;
  }

  /* 2. RESET HERO CARD (BAGIAN ATAS) */
  .hero-card {
    height: auto !important; 
    min-height: 0 !important; /* Paksa hapus batas tinggi minimal */
    padding: 1.5rem 1rem !important; /* Buat padding jadi ramping */
    margin: 0 auto !important;
    display: block !important; /* Ubah dari flex ke block agar tidak ada peregangan */
  }

  .btn-primary {
    width: 100% !important;
    height: 45px !important;
    margin: 0 !important;
  }
}

@media (max-width: 630px) {
  /* 4. RESET CARD RESTORAN (BAGIAN B2B) */
  .b2b-card {
    height: auto !important; 
    min-height: 0 !important; /* Paksa hapus tinggi minimal */
    padding: 1.5rem 1rem !important;
    margin-top: 2rem !important;
  }

  .benefits-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important; /* Jarak antar kotak fitur dibuat sangat rapat */
    margin-top: 1.5rem !important;
  }

  .benefit-item {
    height: auto !important;
    min-height: 0 !important;
    padding: 1rem !important;
  }

.btn-mail {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    
    /* Paksa tombol tetap satu baris */
    white-space: nowrap !important; 
    width: auto !important;
    max-width: 95% !important; /* Jaga agar tidak mentok ke pinggir kotak putih */
    
    /* FONT DINAMIS: Mengecil otomatis mengikuti lebar HP */
    /* clamp(min, preferred, max) */
    font-size: clamp(9px, 3.2vw, 13px) !important; 
    
    padding: 8px 14px !important; /* Padding lebih ramping agar muat */
    margin: 0 auto !important;
    overflow: visible !important;
    text-overflow: clip !important;
  }

  /* Kecilkan juga icon di dalam tombol agar seimbang */
  .btn-mail .icon-sm {
    width: clamp(12px, 3vw, 16px) !important;
    height: clamp(12px, 3vw, 16px) !important;
  }

  /* Mengecilkan logo di bagian paling bawah */
  .footer-logo img {
    height: 3rem !important; /* Menurunkan ukuran logo agar pas di HP */
    width: auto !important;
    margin: 0 auto !important;
  }

  /* Memberi ruang di sekitar footer */
  .footer-bottom {
    padding: 1rem !important;
    gap: 0.5rem !important;
  }
}

/* ===============================================================
   FEATURE SHOWCASE (HORIZONTAL MOCKUP)
   =============================================================== */
.showcase-grid {
  display: grid;
  gap: 3rem;
  margin-top: 2rem;
}

/* Di Desktop (layar lebar), jadikan 3 kolom berjajar menyamping */
@media (min-width: 768px) {
  .showcase-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.showcase-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Angka 01, 02, 03 di atas */
.showcase-number {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0.9;
}

/* Jendela Mockup ala Browser/Aplikasi */
.mockup-window {
  width: 100%;
  background: white;
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  margin-bottom: 1.5rem;
  transition: transform 0.3s, box-shadow 0.3s;
}

.mockup-window:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-elevated);
}

/* Bagian atas jendela (Tombol merah, kuning, hijau Mac) */
.mockup-header {
  background: #f3f4f6;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border);
  position: relative;
}

.mockup-header i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e5e7eb;
  margin-right: 6px;
}

.mockup-header i:nth-child(1) { background: #ff5f56; } /* Merah */
.mockup-header i:nth-child(2) { background: #ffbd2e; } /* Kuning */
.mockup-header i:nth-child(3) { background: #27c93f; } /* Hijau */

.mockup-header span {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.7rem;
  color: #6b7280;
  font-weight: 500;
}

.mockup-window img {
  width: 100%;
  height: auto;
  display: block;
}

/* Teks Judul dan Deskripsi */
.showcase-item h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--foreground);
  margin: 0 0 0.75rem 0;
}

.showcase-item p {
  font-size: 0.9rem;
  color: var(--muted-foreground);
  line-height: 1.6;
  margin: 0;
}

/* ===============================================================
   IMAGE LIGHTBOX (POP-UP GAMBAR BESAR)
   =============================================================== */
.lightbox-trigger {
  cursor: pointer; /* Mengubah kursor jadi gambar tangan saat diarahkan ke foto */
  transition: transform 0.3s ease, filter 0.3s ease;
}

.lightbox-trigger:hover {
  transform: scale(1.02); /* Efek zoom sedikit saat di-hover */
  filter: brightness(0.9);
}

#image-lightbox {
  z-index: 9999; /* Pastikan selalu di paling depan */
}

#image-lightbox .lightbox-content {
  position: relative;
  z-index: 10000;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: transparent;
  box-shadow: none;
  padding: 0;
}

#image-lightbox img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

/* ===============================================================
   BACKGROUND KOTAK-KOTAK UNTUK FEATURE SHOWCASE (FIX ORANYE SAMAR)
   =============================================================== */
.feature-showcase {
  position: relative;
  background-color: transparent !important;
  
  /* Menggunakan kode warna oranye pudar yang sama persis dengan bagian lain */
  background-image: 
    linear-gradient(rgba(234, 50, 0, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(234, 50, 0, 0.08) 1px, transparent 1px) !important;
    
  background-size: 40px 40px !important; 
  background-position: center center !important;
}

/* Kita matikan efek gradient pemudar agar warnanya tidak belang */
.feature-showcase::before {
  display: none !important;
}