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

/* ==========================================
   LOADING STATE & FADE-IN ANIMATION
========================================== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}
.fade-in-delay-1 { animation-delay: 0.1s; }
.fade-in-delay-2 { animation-delay: 0.2s; }
.fade-in-delay-3 { animation-delay: 0.3s; }

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Selection Color (Biar keren saat highlight teks) */
::selection {
  background: var(--red-primary);
  color: #fff;
}

:root {
  --text-dark: #111111;
  --text-muted: #666666;
  --red-primary: #FF1A1A;
  --card-dark: #161719;
  --card-input: #242528;
  --pill-bg: rgba(228, 224, 216, 0.75);
  --font-main: 'Plus Jakarta Sans', sans-serif;
}

body {
  font-family: var(--font-main);
  color: var(--text-dark);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 30px 20px;
  overflow-x: hidden;
  position: relative;
  background-color: #EFECE6;
}

/* FULL SCREEN BACKGROUND STYLING */
.full-screen-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
}
.full-screen-bg .bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0; 
  animation: fadeInBg 1s ease forwards;
}

@keyframes fadeInBg {
  to { opacity: 1; }
}

.full-screen-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(239, 236, 230, 0.2) 0%, rgba(239, 236, 230, 0.6) 100%);
  display: none;
}

/* PAGE CONTAINER & CONTENT */
.page-container {
  width: 100%;
  max-width: 1280px;
  position: relative;
  z-index: 1;
}

/* NAVBAR */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.brand-group {
  display: flex;
  align-items: center;
  gap: 14px;
}
.logo-icon {
  width: 54px;
  height: 54px;
  object-fit: contain;
  display: block;
  cursor: help;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
/* EFFECT LOGO: miring + membesar saat hover (trigger easter egg) */
.logo-icon:hover {
  transform: rotate(-8deg) scale(1.08);
}
.brand-name {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.5px;
}
/* BRAND SEBAGAI LINK HOME */
.brand-link {
  text-decoration: none;
  color: inherit;
  display: inline-block;
  transition: transform 0.2s ease;
}
.brand-link:hover {
  transform: translateX(2px);
}
.dot-red {
  color: var(--red-primary);
  display: inline-block;
}
.brand-link:hover .dot-red {
  animation: dot-pulse 0.5s ease;
}
@keyframes dot-pulse {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.6); }
  100% { transform: scale(1); }
}
.tagline {
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--text-muted);
  font-weight: 600;
  margin-left: 10px;
}
.nav-icons {
  display: flex;
  gap: 12px;
}
.icon-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.15);
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--text-dark);
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s ease;
}
.icon-circle svg {
  display: block;
  fill: currentColor;
  transition: fill 0.2s ease;
}
.icon-circle:hover {
  background: var(--text-dark);
  color: #fff;
  transform: translateY(-2px);
}

/* HERO SECTION */
.hero-section {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  position: relative;
  min-height: 520px;
  gap: 20px;
}
.badge-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  color: var(--text-dark);
  margin-bottom: 20px;
}
.square-red {
  width: 8px;
  height: 8px;
  background-color: var(--red-primary);
}
.main-title {
  font-size: 88px;
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -3px;
  margin-bottom: 20px;
}
.text-red {
  color: var(--red-primary);
}
.description-block {
  margin-bottom: 20px;
}
.desc-bold {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
}
.desc-sub {
  font-size: 15px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* PILLS */
.pill-list {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: var(--pill-bg);
  backdrop-filter: blur(6px);
  padding: 8px 18px;
  border-radius: 50px;
  margin-bottom: 35px;
  flex-wrap: wrap;
}
.pill {
  font-size: 13px;
  font-weight: 600;
}
.red-bullet {
  color: var(--red-primary);
  font-size: 10px;
}

/* FEATURES GRID */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 540px;
}
.feature-card h3 {
  font-size: 13px;
  font-weight: 700;
  margin-top: 8px;
  margin-bottom: 4px;
}
.feature-card p {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
}

/* HERO RIGHT */
.hero-right {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 520px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}
.hero-character {
  position: relative;
  height: 580px;
  width: auto;
  object-fit: contain;
  margin-bottom: -15px;
  filter: drop-shadow(-10px 10px 25px rgba(0,0,0,0.18));
  transition: transform 0.1s ease-out;
  opacity: 0;
  animation: fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.2s forwards;
}

/* FLOATING EMAIL BAR */
.email-bar {
  background-color: var(--card-dark);
  color: #fff;
  border-radius: 20px;
  padding: 16px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 15px;
  position: relative;
  gap: 20px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}
.email-info {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: #ccc;
  max-width: 260px;
}
.red-accent-icon {
  color: var(--red-primary);
  font-size: 18px;
}
.email-form {
  position: relative;
  width: 320px;
}
.email-form input {
  width: 100%;
  background-color: var(--card-input);
  border: 1px solid #333;
  padding: 12px 48px 12px 18px;
  border-radius: 50px;
  color: #fff;
  font-size: 13px;
  outline: none;
  transition: border-color 0.2s ease;
}
.email-form input:focus {
  border-color: var(--red-primary);
}
.btn-arrow {
  position: absolute;
  right: 4px;
  top: 4px;
  bottom: 4px;
  width: 34px;
  background-color: var(--red-primary);
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 15px;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.btn-arrow:hover {
  background-color: #e00000;
  transform: scale(1.05);
}
.email-quote {
  border-left: 1px solid #333;
  padding-left: 20px;
}
.kanji-quote {
  font-size: 11px;
  color: #888;
  margin-bottom: 3px;
}
.quote-trans {
  font-size: 11px;
  color: #aaa;
}

/* FOOTER */
.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 25px;
}
.footer-left, .footer-right {
  display: flex;
  align-items: center;
  gap: 10px;
}
.separator {
  color: #CCC;
}
.red-dot-footer {
  color: var(--red-primary);
  font-size: 10px;
}

/* TOAST NOTIFICATION */
.toast {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--card-dark);
  color: #fff;
  padding: 12px 20px;
  border-radius: 12px;
  border-left: 4px solid var(--red-primary);
  font-size: 13px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
  pointer-events: none;
  z-index: 100;
}
.toast.show {
  opacity: 1;
  transform: translateY(0);
}
.toast.success {
  border-left-color: #22c55e;
}
.toast.error {
  border-left-color: var(--red-primary);
}

/* ==========================================
   SECRET EASTER EGG TOOLTIP — BARU
========================================== */
.secret-tip {
  position: fixed;
  z-index: 120;
  background: var(--text-dark);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  font-style: italic;
  letter-spacing: 0.5px;
  padding: 8px 14px;
  border-radius: 4px 12px 12px 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.35);
  opacity: 0;
  transform: translate(-50%, 8px) scale(0.85);
  transform-origin: top center;
  pointer-events: none;
  white-space: nowrap;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.secret-tip::before {
  content: '';
  position: absolute;
  top: -4px;
  left: 50%;
  width: 10px;
  height: 10px;
  background: var(--text-dark);
  transform: translateX(-50%) rotate(45deg);
}
.secret-tip.show {
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
}

/* ==========================================
   TAKU FLOATING WIDGET (KANAN BAWAH)
========================================== */
.hidden {
  display: none !important;
}
.taku-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}
.taku-bubble {
  position: relative;
  width: 270px;
  max-width: calc(100vw - 48px);
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 16px 16px 4px 16px;
  padding: 16px 20px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.2);
  animation: taku-pop 0.35s cubic-bezier(0.21, 1.02, 0.73, 1);
}
.taku-bubble::after {
  content: '';
  position: absolute;
  bottom: -8px;
  right: 22px;
  width: 16px;
  height: 16px;
  background: #fff;
  transform: rotate(45deg);
  border-right: 1px solid rgba(0,0,0,0.06);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.taku-bubble-title {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--red-primary);
  margin-bottom: 6px;
}
.taku-message {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text-dark);
}
.taku-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 24px;
  height: 24px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 12px;
  cursor: pointer;
  border-radius: 50%;
  transition: all 0.2s ease;
}
.taku-close:hover {
  background: rgba(0,0,0,0.06);
  color: var(--text-dark);
}
.taku-avatar {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: var(--red-primary);
  color: #fff;
  font-family: var(--font-main);
  font-size: 22px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
  transition: transform 0.2s ease;
  animation: taku-pulse 2.5s infinite;
}
.taku-avatar:hover {
  transform: translateY(-3px) scale(1.05);
}
@keyframes taku-pop {
  from { opacity: 0; transform: translateY(12px) scale(0.9); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes taku-pulse {
  0%   { box-shadow: 0 10px 25px rgba(0,0,0,0.3), 0 0 0 0 rgba(255,26,26,0.45); }
  70%  { box-shadow: 0 10px 25px rgba(0,0,0,0.3), 0 0 0 14px rgba(255,26,26,0); }
  100% { box-shadow: 0 10px 25px rgba(0,0,0,0.3), 0 0 0 0 rgba(255,26,26,0); }
}

/* RESPONSIVE DESIGN */
@media (max-width: 992px) {
  body { padding: 20px 16px; }
  .full-screen-bg .bg-img { object-position: 75% center; }
  .full-screen-bg::after { display: block; }
  .tagline { display: none; }
  .hero-section { grid-template-columns: 1fr; text-align: center; gap: 30px; min-height: auto; }
  .badge-tag { justify-content: center; }
  .main-title { font-size: 52px; }
  .pill-list { justify-content: center; }
  .features-grid { grid-template-columns: 1fr; max-width: 100%; gap: 16px; margin: 0 auto; }
  .hero-right { min-height: 380px; }
  .hero-character { height: 400px; }
  .email-bar { flex-direction: column; text-align: center; padding: 24px 20px; gap: 16px; }
  .email-info { max-width: 100%; justify-content: center; }
  .email-form { width: 100%; max-width: 400px; }
  .email-quote { border-left: none; border-top: 1px solid #333; padding-left: 0; padding-top: 16px; width: 100%; }
  .footer { flex-direction: column; gap: 12px; text-align: center; }
  .footer-left, .footer-right { flex-wrap: wrap; justify-content: center; }
}

@media (max-width: 480px) {
  .logo-icon { width: 44px; height: 44px; }
  .main-title { font-size: 38px; line-height: 1; }
  .brand-name { font-size: 22px; }
  .hero-character { height: 320px; }
  .pill-list { padding: 6px 12px; gap: 6px; }
  .pill { font-size: 11px; }
  .red-bullet { font-size: 8px; }
  .separator { display: none; }
  .footer-left span, .footer-right span { display: block; width: 100%; }
  .taku-widget { bottom: 16px; right: 16px; }
}
