/* ==========================================================================
   BAAN THAI - Luxury Japanese Kitchen & Cafe Coming Soon Page
   Light Theme & Japanese Pattern System (Floating Luxury Pill Navbar)
   ========================================================================== */

:root {
  /* Dark Luxury Brand Tokens - Midnight Obsidian, Crimson & Luminous Imperial Gold */
  --bg-primary: #0A080D;          /* Obsidian Midnight Base */
  --bg-secondary: #140D16;        /* Deep Crimson Night Tint */
  --bg-card: rgba(18, 14, 22, 0.88); /* Glassmorphism Dark Card */
  --burgundy-primary: #E0355A;    /* Luminous Japanese Crimson Red */
  --burgundy-dark: #C02045;       /* Deep Crimson Accent */
  --burgundy-light: #FF4D73;      /* Vibrant Crimson Highlight */
  --gold-primary: #F0CE68;        /* Imperial Champagne Gold */
  --gold-dark: #D4B24B;           /* Deep Warm Gold */
  --text-primary: #F7F3EE;        /* Luminous Cream White */
  --text-secondary: #D8CBD4;      /* Muted Champagne Warm Gray */
  --text-muted: #9E8B98;          /* Soft Neutral Muted Text */
  
  /* Borders & Shadows */
  --border-burgundy: rgba(224, 53, 90, 0.35);
  --border-gold: rgba(240, 206, 104, 0.40);
  --border-light: rgba(255, 255, 255, 0.10);

  --shadow-card: 0 20px 50px rgba(0, 0, 0, 0.65), 0 0 30px rgba(224, 53, 90, 0.15);
  --shadow-btn: 0 10px 30px rgba(224, 53, 90, 0.45);

  /* Typography */
  --font-serif: 'Cinzel', 'Cormorant Garamond', 'Noto Serif JP', serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-jp: 'Noto Serif JP', serif;
}

/* ==========================================================================
   Base & Reset Rules
   ========================================================================== */

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

html {
  font-size: 16px;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-sans);
  overflow: hidden;
  height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.dark-theme {
  position: relative;
  height: 100vh;
  background: radial-gradient(circle at 50% 35%, #1C0C16 0%, #100912 50%, #060408 100%);
  color: var(--text-primary);
  line-height: 1.65;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Hide Scrollbar Completely */
* {
  scrollbar-width: none;
  -ms-overflow-style: none;
}
::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

/* ==========================================================================
   Background Light Japanese Geometric Pattern Overlay
   ========================================================================== */

.bg-light-pattern {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 1;
  opacity: .05;
  /* background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cpath d='M30 0 L60 30 L30 60 L0 30 Z M30 0 L30 60 M0 30 L60 30 M0 0 L60 60 M60 0 L0 60' stroke='%23F0CE68' stroke-width='1.4' fill='none'/%3E%3C/svg%3E"); */
  background-size: 70px 70px;
}

/* ==========================================================================
   Background Logo Watermark System
   ========================================================================== */

.bg-logo-watermark-wrapper {
  position: fixed;
  top: 36%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90vw;
  max-width: 620px;
  height: auto;
  pointer-events: none;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bg-logo-ambient-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  border-radius: 50%;
  background: radial-gradient(
    circle at center,
    rgba(224, 53, 90, 0.28) 0%,
    rgba(240, 206, 104, 0.18) 45%,
    transparent 75%
  );
  filter: blur(55px);
  animation: ambientGlowPulse 8s ease-in-out infinite alternate;
}

.bg-logo-watermark-img {
  width: 100%;
  max-height: 80vh;
  height: auto;
  object-fit: contain;
  opacity: 0.45; /* VIBRANT VISIBLE WATERMARK */
  filter: drop-shadow(0 0 50px rgba(224, 53, 90, 0.55)) drop-shadow(0 0 25px rgba(240, 206, 104, 0.4));
  animation: watermarkFloating 12s ease-in-out infinite alternate;
}

@keyframes ambientGlowPulse {
  0% {
    transform: translate(-50%, -50%) scale(0.92);
    opacity: 0.6;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.15);
    opacity: 1;
  }
}

@keyframes watermarkFloating {
  0% {
    transform: translateY(0px) rotate(0deg) scale(1);
  }
  50% {
    transform: translateY(-12px) rotate(1deg) scale(1.03);
  }
  100% {
    transform: translateY(8px) rotate(-1deg) scale(0.98);
  }
}

/* ==========================================================================
   Floating Luxury Japanese Pill Navigation Bar
   ========================================================================== */

.floating-site-header {
  position: fixed;
  top: 20px;
  left: 0;
  width: 100%;
  z-index: 100;
  display: flex;
  justify-content: center;
  padding: 0 20px;
  pointer-events: none;
}

.floating-nav-pill {
  pointer-events: auto;
  max-width: 1200px;
  width: 100%;
  background: rgba(18, 14, 22, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-gold);
  border-radius: 60px;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.5), 0 0 20px rgba(240, 206, 104, 0.1);
  transition: all 0.3s ease;
}

.floating-nav-pill:hover {
  border-color: var(--gold-primary);
  box-shadow: 0 14px 40px rgba(224, 53, 90, 0.25);
}

.brand-mark {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-primary);
  transition: opacity 0.2s ease;
}

.brand-mark:hover {
  opacity: 0.9;
}

.brand-mark-img {
  height: 44px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(240, 206, 104, 0.4));
}

.brand-text-group {
  display: flex;
  flex-direction: column;
}

.brand-mark-text {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--gold-primary);
  line-height: 1.1;
}

.brand-tag-jp {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--burgundy-primary);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-top: 2px;
}

/* Center Minimalist Navigation Menu Links */
.nav-center-menu {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-link {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--gold-primary);
}

.nav-dot {
  color: var(--gold-primary);
  font-size: 0.75rem;
  opacity: 0.7;
}

/* Header Right Actions */
.header-right-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 15px;
  background: rgba(224, 53, 90, 0.12);
  border: 1px solid var(--border-burgundy);
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--burgundy-primary);
}

.status-dot {
  width: 8px;
  height: 8px;
  background-color: var(--burgundy-primary);
  border-radius: 50%;
}

.header-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 22px;
  background: var(--burgundy-primary);
  color: #FFFFFF;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  border: 1px solid var(--gold-primary);
  border-radius: 30px;
  cursor: pointer;
  transition: background-color 0.2s ease;
  box-shadow: 0 4px 15px rgba(122, 23, 49, 0.2);
}

.header-cta-btn:hover {
  background: var(--burgundy-dark);
}

/* ==========================================================================
   Main Hero Pure Coming Soon Section
   ========================================================================== */

.main-wrapper {
  flex: 1;
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 10;
  overflow: hidden;
}

.hero-coming-soon {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  text-align: center;
  position: relative;
  z-index: 10;
}

.hero-content {
  max-width: 840px;
  width: 100%;
  margin-top: 325px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.brand-subtitle {
  font-family: var(--font-sans);
  font-size: clamp(1.05rem, 2.2vw, 1.45rem);
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold-primary);
  text-shadow: 0 0 20px rgba(240, 206, 104, 0.45);
  margin-bottom: 4px;
}

.brand-jp-accent {
  font-family: var(--font-jp);
  font-size: clamp(1.05rem, 2.2vw, 1.45rem);
  color: var(--text-secondary);
  letter-spacing: 0.35em;
  margin-bottom: 24px; /* Gap between キッチン＆カフェ and COMING SOON */
}

/* Bold Focal Headline: COMING SOON - Japanese Crest Frame with Gold End Ornaments */
/* Bold Focal Headline: COMING SOON - Simple Elegant Letter Move Wave */
.coming-soon-headline {
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  white-space: nowrap;
  margin: 0;
  padding: 10px 20px;
  color: var(--gold-primary);
  position: relative;
  display: inline-block;
  text-shadow: 0 0 15px rgba(240, 206, 104, 0.5);
}

.coming-soon-headline .char {
  display: inline-block;
  color: var(--gold-primary);
  animation: simpleLetterMove 2s ease-in-out infinite alternate;
  animation-delay: var(--char-delay, 0s);
  transition: transform 0.3s ease, color 0.3s ease, text-shadow 0.3s ease;
  cursor: default;
}

.coming-soon-headline .char:hover {
  transform: translateY(-10px) scale(1.15);
  color: #FFFFFF;
  text-shadow: 0 0 20px rgba(240, 206, 104, 0.9);
}

@keyframes simpleLetterMove {
  0% {
    transform: translateY(0px);
  }
  100% {
    transform: translateY(-12px);
  }
}

/* Supporting Text */
.supporting-text {
  font-family: var(--font-sans);
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  font-weight: 400;
  line-height: 1.85;
  color: var(--text-secondary);
  max-width: 740px;
  margin: 0 auto 35px;
  letter-spacing: 0.01em;
}

/* CTA Button & Subtext */
.hero-cta-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-bottom: 50px;
}

.notify-trigger-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 18px 56px;
  background: linear-gradient(135deg, var(--burgundy-primary) 0%, var(--burgundy-dark) 100%);
  color: #FFFFFF;
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  border: 1px solid var(--gold-primary);
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(224, 53, 90, 0.45);
  transition: all 0.3s ease;
}

.notify-trigger-btn:hover {
  background: linear-gradient(135deg, var(--burgundy-light) 0%, var(--burgundy-primary) 100%);
  border-color: #FFFFFF;
  box-shadow: 0 14px 40px rgba(224, 53, 90, 0.65);
  transform: translateY(-2px);
}

.launching-soon-subtext {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-serif);
  font-size: 0.95rem;
  color: var(--gold-primary);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--burgundy-primary);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--burgundy-primary);
}

/* Light Luxury Countdown Card */
.countdown-wrapper {
  width: 100%;
  max-width: 680px;
}

.light-countdown-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-gold);
  border-radius: 24px;
  padding: 28px 30px;
  box-shadow: var(--shadow-card);
  position: relative;
}

.countdown-title-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
  font-family: var(--font-serif);
  font-size: 0.92rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-primary);
  font-weight: 600;
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.countdown-box {
  width: 100%;
  height: 75px;
  background: rgba(26, 18, 28, 0.85);
  border: 1px solid var(--border-gold);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.5);
}

.countdown-box .number {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 700;
  color: var(--gold-primary);
  text-shadow: 0 0 12px rgba(240, 206, 104, 0.4);
  letter-spacing: 0.05em;
}

.countdown-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 500;
}

/* ==========================================================================
   Modal Overlay & Notifications
   ========================================================================== */

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(8, 5, 10, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  padding: 20px;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: rgba(18, 14, 22, 0.94);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid var(--border-gold);
  border-radius: 28px;
  padding: 45px 40px;
  max-width: 520px;
  width: 100%;
  position: relative;
  text-align: center;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 35px rgba(224, 53, 90, 0.25);
}

.modal-close-x {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.8rem;
  cursor: pointer;
  transition: color 0.2s ease;
}

.modal-close-x:hover {
  color: var(--gold-primary);
}

.modal-header-icon {
  width: 65px;
  height: 65px;
  background: rgba(224, 53, 90, 0.15);
  border: 1px solid var(--border-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--gold-primary);
  margin: 0 auto 20px;
  box-shadow: 0 0 20px rgba(240, 206, 104, 0.2);
}

.modal-title {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold-primary);
  margin-bottom: 12px;
  text-shadow: 0 0 15px rgba(240, 206, 104, 0.3);
}

.modal-text {
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 25px;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.input-group {
  position: relative;
  width: 100%;
}

.input-icon {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold-primary);
}

.email-input {
  width: 100%;
  padding: 16px 20px 16px 50px;
  background: rgba(28, 20, 32, 0.9);
  border: 1px solid var(--border-gold);
  border-radius: 30px;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.email-input:focus {
  border-color: var(--gold-primary);
  box-shadow: 0 0 15px rgba(240, 206, 104, 0.3);
}

.modal-submit-btn {
  width: 100%;
  padding: 16px;
  border-radius: 30px;
}

.modal-success-state {
  padding: 20px 0 10px;
}

.success-icon {
  width: 60px;
  height: 60px;
  background: var(--burgundy-primary);
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 15px;
  box-shadow: 0 0 20px rgba(224, 53, 90, 0.5);
}

.modal-done-btn {
  margin-top: 20px;
  padding: 12px 30px;
  background: rgba(28, 20, 32, 0.9);
  border: 1px solid var(--border-gold);
  color: var(--gold-primary);
  border-radius: 30px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.2s ease;
}

.modal-done-btn:hover {
  background: var(--burgundy-primary);
  color: #FFFFFF;
}

/* ==========================================================================
   Minimal Footer
   ========================================================================== */

.site-footer {
  width: 100%;
  padding: 25px 20px;
  text-align: center;
  background: rgba(10, 8, 13, 0.95);
  border-top: 1px solid var(--border-light);
  position: relative;
  z-index: 10;
}

.footer-content {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.copyright {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

@media (max-width: 992px) {
  .nav-center-menu {
    display: none;
  }
}

@media (max-width: 768px) {
  .floating-site-header {
    top: 12px;
    padding: 0 12px;
  }
  .floating-nav-pill {
    padding: 8px 16px;
    border-radius: 40px;
  }
  .brand-mark-img {
    height: 38px;
  }
  .header-status-badge {
    padding: 5px 10px;
    font-size: 0.75rem;
  }
  .header-cta-btn span {
    display: none;
  }
  .header-cta-btn {
    padding: 7px 10px;
  }
  .hero-coming-soon {
    padding: 20px 15px;
  }
  .hero-logo-wrapper {
    max-width: 180px;
  }
  .countdown-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .countdown-box {
    height: 65px;
  }
}

@media (max-width: 480px) {
  .notify-trigger-btn {
    width: 100%;
    padding: 16px 30px;
    font-size: 1rem;
  }
  .coming-soon-headline {
    font-size: clamp(1.35rem, 6.2vw, 2.2rem);
    letter-spacing: 0.1em;
    white-space: nowrap;
  }
}
