/* =========================================================
   Davka Food & Drinks — Synapse dark theme
   Vantablack base, Instrument Serif + Inter, neon glows
   ========================================================= */

:root {
  --bg: #030303;
  --bg-2: #050505;
  --bg-3: #080808;
  --violet: #8B5CF6;
  --violet-200: #a78bfa;
  --cyan: #06B6D4;
  --cyan-200: #22d3ee;
  --emerald: #10B981;

  --white-2: rgba(255,255,255,0.02);
  --white-5: rgba(255,255,255,0.05);
  --white-10: rgba(255,255,255,0.10);
  --white-20: rgba(255,255,255,0.20);
  --white-40: rgba(255,255,255,0.40);
  --white-60: rgba(255,255,255,0.60);
  --white-80: rgba(255,255,255,0.80);

  --neutral-400: #a3a3a3;
  --neutral-500: #737373;
  --neutral-600: #525252;

  --ease: cubic-bezier(0.23, 1, 0.32, 1);
}

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

html, body { margin: 0; padding: 0; }

body {
  background: var(--bg);
  color: #fafafa;
  font-family: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul, ol { list-style: none; padding: 0; margin: 0; }

.mono { font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace; }

/* Global ambient orbs */
.orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(110px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
  animation: float 12s ease-in-out infinite;
}

.orb-violet {
  width: 520px; height: 520px;
  background: rgba(139, 92, 246, 0.4);
  top: -140px; left: 50%; transform: translateX(-50%);
}

.orb-cyan {
  width: 460px; height: 460px;
  background: rgba(6, 182, 212, 0.35);
  top: 45%; left: -120px;
  animation-duration: 15s;
  animation-delay: -4s;
}

.orb-bottom {
  top: auto; bottom: -200px; left: auto; right: -120px;
  transform: none;
  width: 480px; height: 480px;
  background: rgba(139, 92, 246, 0.28);
  animation-duration: 14s;
  animation-delay: -6s;
}

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

.orb-violet { animation-name: floatCenter; }
@keyframes floatCenter {
  0%, 100% { transform: translateX(-50%) translateY(0) scale(1); }
  50%      { transform: translateX(-50%) translateY(-20px) scale(1.05); }
}

/* =========================================================
   Typography helpers
   ========================================================= */
.kicker, .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--neutral-500);
}

.hero-title,
.section-title {
  font-family: 'Instrument Serif', serif;
  font-weight: 400;
  letter-spacing: -0.03em;
  color: #fff;
  line-height: 0.95;
  margin: 0;
}

.section-title em {
  font-style: italic;
  color: #e5e5e5;
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

.section-title { font-size: clamp(34px, 6vw, 56px); margin: 14px 0 14px; }

.section-sub {
  color: var(--neutral-400);
  font-size: 16px;
  line-height: 1.6;
  max-width: 560px;
  margin: 0 auto;
}

.status-dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.8);
  animation: pulseDot 2s ease-in-out infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(1.15); }
}

/* =========================================================
   Navigation Pill
   ========================================================= */
.nav-pill {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 24px);
  max-width: 672px;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 8px 8px 18px;
  background: rgba(10, 10, 10, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--white-10);
  border-radius: 9999px;
  box-shadow: 0 10px 40px -20px rgba(0,0,0,0.8);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
}

.brand-dot {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: conic-gradient(from 180deg, var(--violet), var(--cyan), var(--violet));
  box-shadow: 0 0 12px rgba(139,92,246,0.5);
}

.brand-text {
  font-family: 'Instrument Serif', serif;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: #fff;
}

.nav-links {
  display: none;
  flex: 1;
  justify-content: center;
  gap: 24px;
}

.nav-links a {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--neutral-400);
  transition: color .5s var(--ease);
}

.nav-links a:hover { color: #fff; }

.nav-cta {
  margin-left: auto;
  background: #fff;
  color: #000;
  padding: 9px 18px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.005em;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 22px -6px rgba(255,255,255,0.4);
}

@media (min-width: 780px) {
  .nav-links { display: flex; }
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 160px 24px 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(139,92,246,0.35), transparent 70%),
    radial-gradient(ellipse 50% 60% at 0% 40%, rgba(6,182,212,0.08), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-inner {
  position: relative;
  text-align: center;
  max-width: 900px;
  z-index: 2;
}

.hero-title {
  font-size: clamp(44px, 10vw, 112px);
  letter-spacing: -0.04em;
  margin: 16px 0 28px;
}

.shimmer {
  background: linear-gradient(90deg, #a78bfa 0%, #ffffff 40%, #ffffff 60%, #22d3ee 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: shimmer 6s linear infinite;
  font-style: italic;
}

@keyframes shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.hero-sub {
  color: var(--neutral-400);
  max-width: 620px;
  margin: 0 auto 40px;
  font-size: 18px;
  line-height: 1.6;
}

.hero-ctas {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 60px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--neutral-400);
  font-size: 14px;
  font-weight: 500;
  transition: color .5s var(--ease), gap .5s var(--ease);
}

.text-link:hover { color: #fff; gap: 12px; }

/* Staggered entrance */
.stagger {
  opacity: 0;
  transform: translateY(20px);
  animation: rise 0.9s var(--ease) forwards;
  animation-delay: var(--d, 0s);
}

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

/* Shiny Border Button */
.shiny-btn {
  position: relative;
  display: inline-block;
  padding: 1px;
  border-radius: 9999px;
  overflow: hidden;
  border: none;
  background: transparent;
  isolation: isolate;
}

.shiny-btn::before {
  content: "";
  position: absolute;
  inset: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, transparent 0%, var(--violet) 40%, var(--cyan) 50%, transparent 60%);
  animation: spin 4s linear infinite;
  z-index: 0;
}

.shiny-btn-inner {
  position: relative;
  display: inline-block;
  background: #0a0a0a;
  border-radius: 9999px;
  padding: 16px 36px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: #fff;
  z-index: 1;
}

.shiny-btn-inner a { color: #fff; }

@keyframes spin {
  to { transform: rotate(360deg); }
}

.hero-countdown {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 20px;
  max-width: 560px;
  margin: 0 auto;
  padding: 18px 20px;
  background: rgba(10,10,10,0.5);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--white-10);
  border-radius: 20px;
}

.count-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 10px;
}

.count-num {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 20px;
  font-weight: 500;
  color: #fff;
  letter-spacing: -0.02em;
}

.count-label {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--neutral-500);
}

@media (min-width: 620px) {
  .hero-countdown { grid-template-columns: repeat(4, 1fr); }
}

/* =========================================================
   Metrics Ticker
   ========================================================= */
.ticker {
  position: relative;
  z-index: 2;
  height: 60px;
  overflow: hidden;
  background: rgba(0,0,0,0.4);
  border-top: 1px solid var(--white-5);
  border-bottom: 1px solid var(--white-5);
}

.ticker-track {
  display: flex;
  width: max-content;
  height: 100%;
  animation: ticker 40s linear infinite;
}

.ticker-group {
  display: flex;
  align-items: center;
  gap: 48px;
  padding: 0 24px;
  flex-shrink: 0;
}

.tk-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.tk-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--neutral-500);
}

.tk-value {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  color: #fff;
  letter-spacing: -0.005em;
}

.tk-violet { color: var(--violet-200); }
.tk-cyan   { color: var(--cyan-200); }
.tk-emerald{ color: var(--emerald); }

@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* =========================================================
   Feature Grid
   ========================================================= */
.features {
  position: relative;
  padding: 120px 24px;
  z-index: 2;
}

.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 1180px;
  margin: 0 auto;
}

@media (min-width: 720px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px){ .grid { grid-template-columns: repeat(3, 1fr); } }

.feature-card {
  position: relative;
  padding: 40px;
  border: 1px solid var(--white-5);
  background: var(--white-2);
  border-radius: 24px;
  transition: transform .6s var(--ease), border-color .6s var(--ease), background .6s var(--ease), box-shadow .6s var(--ease);
  overflow: hidden;
}

.feature-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 0%, rgba(139,92,246,0.12), transparent 60%);
  opacity: 0;
  transition: opacity .6s var(--ease);
  pointer-events: none;
}

.feature-card:hover {
  transform: translateY(-12px);
  border-color: rgba(139,92,246,0.4);
  background: rgba(255,255,255,0.035);
  box-shadow: 0 0 40px -10px rgba(139,92,246,0.4);
}

.feature-card:hover::after { opacity: 1; }

.feat-icon {
  width: 48px; height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(139,92,246,0.1);
  border: 1px solid rgba(139,92,246,0.25);
  color: var(--violet-200);
  margin-bottom: 28px;
  transition: transform .6s var(--ease);
}

.feature-card:hover .feat-icon {
  transform: scale(1.1) rotate(-4deg);
  color: var(--cyan-200);
  border-color: rgba(6,182,212,0.35);
  background: rgba(6,182,212,0.08);
}

.feature-card h3 {
  font-family: 'Instrument Serif', serif;
  font-size: 28px;
  font-weight: 400;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  color: #fff;
}

.feature-card p {
  color: var(--neutral-400);
  font-size: 15px;
  margin: 0 0 22px;
  line-height: 1.6;
}

.feat-tag {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--neutral-500);
  padding: 6px 12px;
  border: 1px solid var(--white-10);
  border-radius: 9999px;
}

/* =========================================================
   Reservation form
   ========================================================= */
.book {
  position: relative;
  padding: 80px 24px 120px;
  z-index: 2;
}

.reserve-card {
  max-width: 780px;
  margin: 0 auto;
  background: rgba(10,10,10,0.7);
  border: 1px solid var(--white-10);
  border-radius: 28px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 0 80px -30px rgba(139,92,246,0.35), 0 0 80px -40px rgba(6,182,212,0.25);
}

.rc-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 680px) {
  .rc-row { grid-template-columns: 1fr 1fr 1fr; }
}

.rc-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rc-field > span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--neutral-500);
}

.rc-field input,
.rc-field select {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  padding: 14px 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--white-10);
  border-radius: 14px;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  outline: none;
  transition: border-color .4s var(--ease), background .4s var(--ease);
}

.rc-field input::placeholder { color: var(--neutral-500); }

.rc-field input:focus,
.rc-field select:focus {
  border-color: rgba(139,92,246,0.5);
  background: rgba(255,255,255,0.05);
}

.rc-field select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'><path d='M3 5l3 3 3-3' stroke='%23a3a3a3' stroke-width='1.4' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.rc-field input[type="date"] { color-scheme: dark; }

.reserve-submit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
}

.reserve-submit .shiny-btn { background: transparent; }

.reserve-note {
  font-size: 12px;
  color: var(--neutral-500);
  letter-spacing: 0.02em;
}

/* =========================================================
   Story / About
   ========================================================= */
.story {
  padding: 80px 24px 120px;
  position: relative;
  z-index: 2;
}

.story-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}

@media (min-width: 920px) { .story-grid { grid-template-columns: 1.2fr 1fr; gap: 60px; } }

.story-copy h2 { margin: 12px 0 24px; }

.story-copy p {
  color: var(--neutral-400);
  font-size: 16px;
  line-height: 1.75;
  margin: 0 0 16px;
  max-width: 560px;
}

.story-copy .mono {
  color: var(--cyan-200);
  font-size: 14px;
  background: rgba(6,182,212,0.08);
  padding: 2px 8px;
  border-radius: 6px;
}

.story-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.story-tags span {
  padding: 8px 14px;
  border: 1px solid var(--white-10);
  border-radius: 9999px;
  color: var(--neutral-400);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.story-card {
  padding: 32px;
  background: rgba(10,10,10,0.7);
  border: 1px solid var(--white-10);
  border-radius: 24px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.sc-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 0;
  border-bottom: 1px solid var(--white-5);
}

.sc-row:last-child { border-bottom: none; }

.sc-label {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--neutral-500);
  font-family: 'JetBrains Mono', monospace;
}

.sc-value {
  color: #fafafa;
  font-size: 15px;
  line-height: 1.5;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.sc-emerald { color: var(--emerald); }

/* =========================================================
   Timeline
   ========================================================= */
.timeline { padding: 80px 24px 120px; position: relative; z-index: 2; }

.tl-list {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 780px) { .tl-list { grid-template-columns: repeat(3, 1fr); } }

.tl-item {
  padding: 28px;
  background: var(--white-2);
  border: 1px solid var(--white-5);
  border-radius: 20px;
  transition: border-color .5s var(--ease), transform .5s var(--ease);
}

.tl-item:hover { border-color: rgba(6,182,212,0.35); transform: translateY(-4px); }

.tl-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan-200);
}

.tl-item h4 {
  font-family: 'Instrument Serif', serif;
  font-size: 26px;
  font-weight: 400;
  margin: 10px 0 10px;
  color: #fff;
  letter-spacing: -0.02em;
}

.tl-item p { margin: 0; color: var(--neutral-400); font-size: 15px; line-height: 1.6; }

/* =========================================================
   Visit
   ========================================================= */
.visit { padding: 60px 24px 120px; position: relative; z-index: 2; }

.visit-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

@media (min-width: 880px) { .visit-grid { grid-template-columns: 1.1fr 1fr; gap: 60px; } }

.visit-copy h2 { margin: 12px 0 20px; font-size: clamp(30px, 5vw, 44px); }

.visit-copy p { color: var(--neutral-400); font-size: 16px; line-height: 1.7; margin: 0 0 24px; max-width: 520px; }

.visit-card {
  padding: 30px;
  background: rgba(10,10,10,0.7);
  border: 1px solid var(--white-10);
  border-radius: 24px;
  backdrop-filter: blur(16px);
}

.vc-line {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 0;
  border-bottom: 1px solid var(--white-5);
}

.vc-line:last-child { border-bottom: none; }

.vc-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--neutral-500);
}

.vc-line > span:last-child { color: #fff; font-size: 15px; }

/* =========================================================
   Footer
   ========================================================= */
.footer {
  position: relative;
  background: #050505;
  border-top: 1px solid var(--white-5);
  padding: 70px 24px 30px;
  z-index: 2;
}

.foot-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}

@media (min-width: 720px) { .foot-inner { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; } }

.foot-col h5 {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--neutral-400);
  margin: 0 0 18px;
  font-weight: 600;
}

.foot-col a {
  display: block;
  color: var(--neutral-500);
  font-size: 14px;
  padding: 5px 0;
  transition: color .4s var(--ease);
}

.foot-col a:hover { color: #fff; }

.foot-brand .brand-lg .brand-dot { width: 18px; height: 18px; }
.foot-brand .brand-lg .brand-text { font-size: 32px; }

.foot-tag { color: var(--neutral-500); margin: 12px 0 0; font-size: 14px; max-width: 280px; }

.foot-bar {
  max-width: 1180px;
  margin: 48px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--white-5);
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 12px;
  color: var(--neutral-500);
  letter-spacing: 0.02em;
}

@media (min-width: 640px) {
  .foot-bar { flex-direction: row; align-items: center; justify-content: space-between; }
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--emerald);
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* =========================================================
   Reveal on scroll
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}

.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Small device tune */
@media (max-width: 480px) {
  .hero { padding-top: 130px; }
  .feature-card { padding: 30px; }
  .ide-code { font-size: 12.5px; padding: 20px 18px; }
  .nav-links { display: none; }
}
