:root {
  color-scheme: dark;
  --bg: #070b12;
  --panel: rgba(255,255,255,.075);
  --panel-strong: rgba(255,255,255,.11);
  --line: rgba(255,255,255,.15);
  --text: #f8fbff;
  --muted: #c2ccda;
  --muted-strong: #e1e9f4;
  --accent: #55d8ff;
  --accent2: #37e1ac;
  --warm: #d99b63;
  --gold: #ffd166;
  --violet: #9b7dff;
  --shadow: 0 24px 80px rgba(0,0,0,.38);
  --radius: 26px;
  --ease: cubic-bezier(.2,.8,.2,1);
  --container: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 12% 0%, rgba(85,216,255,.14), transparent 26rem), linear-gradient(180deg, #09111e, #060912 68%);
  line-height: 1.65;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
:focus-visible { outline: 3px solid rgba(85,216,255,.85); outline-offset: 4px; border-radius: 12px; }
.container { width: min(var(--container), calc(100% - 36px)); margin: 0 auto; }
.skip-link { position: fixed; left: 1rem; top: .75rem; z-index: 99; transform: translateY(-180%); background: var(--text); color: #07101d; padding: .65rem 1rem; border-radius: 999px; font-weight: 900; }
.skip-link:focus { transform: translateY(0); }
.demo-topbar { position: sticky; top: 0; z-index: 50; backdrop-filter: blur(18px); background: rgba(5,9,16,.76); border-bottom: 1px solid var(--line); }
.demo-nav { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.demo-brand { display: flex; align-items: center; gap: .75rem; font-weight: 950; }
.demo-mark { width: 40px; height: 40px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, var(--accent), var(--accent2)); color: #05111c; }
.demo-links { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: .6rem; }
.demo-links a, .btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; border-radius: 999px; border: 1px solid var(--line); padding: .72rem 1rem; font-weight: 950; transition: transform .2s var(--ease), border-color .2s ease, background .2s ease, box-shadow .2s ease; }
.demo-links a:hover, .btn:hover { transform: translateY(-3px); border-color: rgba(85,216,255,.42); box-shadow: 0 16px 40px rgba(0,0,0,.28); }
.btn-primary { background: linear-gradient(135deg, var(--accent), var(--accent2)); color: #05111c; border-color: transparent; }
.btn-soft { background: rgba(255,255,255,.075); color: var(--text); }
.hero { position: relative; padding: clamp(64px, 10vw, 116px) 0 64px; overflow: hidden; }
.hero::before { content: ""; position: absolute; width: 34rem; height: 34rem; border-radius: 999px; right: -10rem; top: -12rem; background: radial-gradient(circle, rgba(85,216,255,.22), transparent 62%); animation: glowDrift 10s var(--ease) infinite alternate; pointer-events: none; }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, .85fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; position: relative; }
.eyebrow { margin: 0 0 .9rem; color: var(--accent); text-transform: uppercase; letter-spacing: .2em; font-size: .78rem; font-weight: 950; }
h1,h2,h3 { margin: 0; line-height: 1.05; letter-spacing: -.045em; }
h1 { font-size: clamp(2.5rem, 7vw, 5.8rem); }
h2 { font-size: clamp(1.9rem, 4vw, 3.6rem); }
h3 { font-size: 1.15rem; }
p { margin: 0; color: var(--muted); }
.hero p.lead { margin-top: 1.1rem; max-width: 720px; color: var(--muted-strong); font-size: 1.1rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.7rem; }
.visual-card, .panel, .feature-card, .menu-card, .product-card, .service-card, .gallery-card, .project-card, .cta-panel {
  border: 1px solid var(--line); background: linear-gradient(180deg, var(--panel-strong), var(--panel)); border-radius: var(--radius); box-shadow: var(--shadow); backdrop-filter: blur(18px);
}
.visual-card { min-height: 430px; position: relative; overflow: hidden; padding: 1.25rem; display: grid; align-content: end; isolation: isolate; }
.visual-card::before { content: ""; position: absolute; inset: 1rem; border-radius: 24px; background: linear-gradient(135deg, rgba(255,255,255,.16), rgba(255,255,255,.035)); z-index: -1; }
.visual-card::after { content: ""; position: absolute; width: 180px; height: 180px; border-radius: 999px; right: -45px; top: -45px; background: rgba(255,255,255,.16); z-index: -1; }
.visual-lines { display: grid; gap: .7rem; margin-bottom: auto; }
.visual-lines span { display: block; height: 14px; border-radius: 999px; background: rgba(255,255,255,.18); }
.visual-lines span:nth-child(1) { width: 78%; }
.visual-lines span:nth-child(2) { width: 58%; }
.visual-lines span:nth-child(3) { width: 68%; }
.visual-bottom { padding: 1rem; border-radius: 22px; background: rgba(0,0,0,.22); }
.section { padding: clamp(64px, 9vw, 104px) 0; }
.section-heading { max-width: 760px; margin-bottom: 2rem; }
.section-heading.center { text-align: center; margin: 0 auto 2.2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.feature-card, .menu-card, .product-card, .service-card, .gallery-card, .project-card { padding: 1.25rem; transition: transform .22s var(--ease), border-color .22s ease, box-shadow .22s ease; }
.feature-card:hover, .menu-card:hover, .product-card:hover, .service-card:hover, .gallery-card:hover, .project-card:hover { transform: translateY(-7px); border-color: rgba(85,216,255,.38); box-shadow: 0 26px 70px rgba(0,0,0,.33); }
.icon { width: 44px; height: 44px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 1rem; background: rgba(255,255,255,.1); color: var(--accent); font-weight: 950; }
.gallery-card { min-height: 230px; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; position: relative; }
.gallery-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 76% 18%, rgba(255,255,255,.24), transparent 25%), linear-gradient(135deg, rgba(85,216,255,.18), rgba(255,255,255,.04)); transition: transform .6s var(--ease); }
.gallery-card:hover::before { transform: scale(1.06); }
.gallery-card > * { position: relative; }
.badge { display: inline-flex; align-items: center; width: max-content; border-radius: 999px; padding: .35rem .65rem; background: rgba(255,255,255,.12); color: var(--muted-strong); font-size: .78rem; font-weight: 950; margin-bottom: .8rem; }
.cta-panel { display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: center; padding: clamp(1.3rem, 3vw, 2.4rem); background: radial-gradient(circle at 90% 20%, rgba(85,216,255,.18), transparent 40%), linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.055)); }
.footer { padding: 1.4rem 0; border-top: 1px solid var(--line); color: var(--muted); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; }
.footer a { color: var(--muted-strong); font-weight: 850; }

/* Demo overview */
.overview-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.overview-card { min-height: 320px; display: flex; flex-direction: column; overflow: hidden; padding: 0 1.15rem 1.15rem; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, var(--panel-strong), var(--panel)); box-shadow: var(--shadow); transition: transform .22s var(--ease), border-color .22s ease; }
.overview-card:hover { transform: translateY(-7px); border-color: rgba(85,216,255,.4); }
.overview-art { height: 140px; margin: 0 -1.15rem 1.1rem; background: radial-gradient(circle at 80% 15%, rgba(255,255,255,.2), transparent 22%), linear-gradient(135deg, rgba(85,216,255,.22), rgba(155,125,255,.16)); }
.overview-card span { margin-top: auto; color: var(--accent); font-weight: 950; }

/* Personalities */
body.cafe { --accent: #e8a66e; --accent2: #ffd7a8; background: radial-gradient(circle at 15% 0%, rgba(232,166,110,.20), transparent 26rem), linear-gradient(180deg, #130d0a, #080707 70%); }
body.restaurant { --accent: #ffd166; --accent2: #9b7dff; background: radial-gradient(circle at 82% 6%, rgba(255,209,102,.16), transparent 28rem), linear-gradient(180deg, #100c12, #07070d 72%); }
body.digital-menu { --accent: #55d8ff; --accent2: #37e1ac; background: radial-gradient(circle at 50% -10%, rgba(85,216,255,.20), transparent 28rem), linear-gradient(180deg, #06111b, #060912 72%); }
body.shop { --accent: #37e1ac; --accent2: #ffd166; background: radial-gradient(circle at 18% 0%, rgba(55,225,172,.17), transparent 26rem), linear-gradient(180deg, #07130e, #060a09 72%); }
body.service { --accent: #55d8ff; --accent2: #cbd5e1; background: radial-gradient(circle at 86% 8%, rgba(85,216,255,.18), transparent 28rem), linear-gradient(180deg, #07101d, #05080f 72%); }
body.personal { --accent: #9b7dff; --accent2: #55d8ff; background: radial-gradient(circle at 18% 0%, rgba(155,125,255,.18), transparent 26rem), linear-gradient(180deg, #0c0a18, #060912 72%); }
body.cafe .visual-card::before { background: radial-gradient(circle at 54% 40%, rgba(232,166,110,.30), transparent 24%), linear-gradient(135deg, rgba(255,215,168,.22), rgba(255,255,255,.04)); }
body.restaurant .visual-card::before { background: radial-gradient(circle at 72% 20%, rgba(255,209,102,.30), transparent 26%), linear-gradient(135deg, rgba(155,125,255,.20), rgba(255,255,255,.04)); }
body.shop .visual-card::before { background: radial-gradient(circle at 78% 24%, rgba(55,225,172,.28), transparent 26%), linear-gradient(135deg, rgba(255,209,102,.15), rgba(255,255,255,.04)); }
body.service .visual-card::before { background: radial-gradient(circle at 78% 24%, rgba(85,216,255,.30), transparent 26%), linear-gradient(135deg, rgba(255,255,255,.14), rgba(255,255,255,.04)); }
body.personal .visual-card::before { background: radial-gradient(circle at 78% 24%, rgba(155,125,255,.32), transparent 26%), linear-gradient(135deg, rgba(85,216,255,.15), rgba(255,255,255,.04)); }
.steam { position: absolute; left: 20%; bottom: 44%; width: 90px; height: 130px; pointer-events: none; }
.steam span { position: absolute; bottom: 0; width: 18px; height: 80px; border-radius: 999px; background: linear-gradient(180deg, rgba(255,255,255,.38), transparent); filter: blur(6px); animation: steam 4s ease-in-out infinite; }
.steam span:nth-child(2) { left: 28px; animation-delay: -1.1s; }
.steam span:nth-child(3) { left: 56px; animation-delay: -2.2s; }
.restaurant .hero::before { animation-name: elegantDrift; }
.personal .project-card { transform-origin: center; }
.shop .product-card { position: relative; overflow: hidden; }
.shop .product-card::after { content: attr(data-badge); position: absolute; right: 1rem; top: 1rem; background: linear-gradient(135deg, var(--accent), var(--accent2)); color: #06110d; border-radius: 999px; padding: .32rem .6rem; font-weight: 950; font-size: .72rem; }
.service .cta-panel { border-color: rgba(85,216,255,.42); }

/* Digital menu filter */
.filter-bar { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1.4rem; }
.filter-btn { border: 1px solid var(--line); color: var(--muted-strong); background: rgba(255,255,255,.07); border-radius: 999px; padding: .72rem 1rem; font-weight: 950; transition: transform .18s var(--ease), background .18s ease, color .18s ease, border-color .18s ease; }
.filter-btn:hover { transform: translateY(-2px); border-color: rgba(85,216,255,.38); }
.filter-btn[aria-pressed="true"] { color: #05111c; background: linear-gradient(135deg, var(--accent), var(--accent2)); border-color: transparent; }
.menu-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.menu-card { display: grid; gap: .35rem; transition: opacity .2s ease, transform .2s ease, border-color .2s ease; }
.menu-card.is-filtered-out { opacity: 0; transform: scale(.97) translateY(8px); }
.menu-meta { display: flex; justify-content: space-between; gap: 1rem; color: var(--accent); font-weight: 950; }

.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: translateY(0); }
.js .delay-1 { transition-delay: .08s; }
.js .delay-2 { transition-delay: .16s; }
.js .delay-3 { transition-delay: .24s; }

@keyframes glowDrift { from { transform: translate3d(0,0,0) scale(.95); opacity: .62; } to { transform: translate3d(-45px,38px,0) scale(1.06); opacity: .9; } }
@keyframes elegantDrift { from { transform: translate3d(0,0,0) rotate(0deg); } to { transform: translate3d(-30px,20px,0) rotate(8deg); } }
@keyframes steam { 0% { transform: translateY(20px) scale(.85); opacity: 0; } 35% { opacity: .42; } 100% { transform: translateY(-70px) scale(1.25); opacity: 0; } }

@media (max-width: 900px) {
  .hero-inner, .grid-2, .cta-panel { grid-template-columns: 1fr; }
  .grid-3, .overview-grid { grid-template-columns: repeat(2, 1fr); }
  .demo-nav { align-items: flex-start; flex-direction: column; padding: .9rem 0; }
  .demo-links { width: 100%; justify-content: flex-start; }
  .visual-card { min-height: 320px; }
}
@media (max-width: 640px) {
  .container { width: min(100% - 28px, var(--container)); }
  .grid-3, .overview-grid, .menu-list { grid-template-columns: 1fr; }
  .demo-links { flex-direction: column; align-items: stretch; }
  .demo-links a, .btn, .filter-btn { width: 100%; }
  .hero-actions { flex-direction: column; }
  .visual-card { min-height: 280px; }
  h1 { font-size: clamp(2.35rem, 13vw, 4rem); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
