:root {
  --bg: #FAF9F6;
  --bg-soft: #F2EFE9;
  --surface: #FFFFFF;
  --ink: #182230;
  --ink-muted: #526071;
  --border: #E5E1D8;
  --blue: #286FBE;
  --blue-bright: #4F90E4;
  --blue-soft: #EBF4FF;
  --mint: #1FA989;
  --mint-soft: #E6F8F3;
  --amber: #E59228;
  --coral: #E05A47;
  --festive-red: #B4232C;
  --festive-gold: #C88A2B;
  --festive-bg: linear-gradient(135deg, #FFFDF9 0%, #FDF3E7 50%, #FCECEB 100%);
  --shadow-sm: 0 2px 10px rgba(24, 34, 48, 0.05);
  --shadow-md: 0 12px 32px rgba(24, 34, 48, 0.09);
  --shadow-lg: 0 22px 54px rgba(24, 34, 48, 0.14);
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --max-w: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  margin: 0;
  font-family: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { width: min(var(--max-w), calc(100% - 2.5rem)); margin-inline: auto; }

/* Festive Top Ribbon */
.festive-ribbon {
  background: linear-gradient(90deg, #8F1D24 0%, #B4232C 50%, #9E6216 100%);
  color: #FFFDF9;
  font-size: 0.92rem;
  padding: 0.6rem 1rem;
  text-align: center;
}
.festive-ribbon-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
}
.festive-pill {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  font-weight: 700;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.18rem 0.65rem;
  border-radius: 999px;
}
.festive-ribbon a {
  color: #FFE7B3;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Sticky Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 249, 246, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  gap: 1rem;
}
.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--blue);
  letter-spacing: -0.02em;
}
.brand-link:hover { text-decoration: none; }
.brand-link img {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  box-shadow: var(--shadow-sm);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  font-size: 0.95rem;
  font-weight: 600;
}
.nav-links a { color: var(--ink); opacity: 0.85; transition: color 0.15s, opacity 0.15s; }
.nav-links a:hover, .nav-links a.active { color: var(--blue); opacity: 1; text-decoration: none; }
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 700;
}
.lang-switch:hover { border-color: var(--blue-bright); text-decoration: none; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.45rem;
  border-radius: 14px;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  text-decoration: none !important;
}
.btn-primary {
  background: linear-gradient(135deg, var(--blue-bright) 0%, var(--blue) 100%);
  color: #fff;
  box-shadow: 0 8px 22px rgba(40, 111, 190, 0.28);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(40, 111, 190, 0.36); }
.btn-sm { padding: 0.55rem 1rem; font-size: 0.88rem; border-radius: 999px; }
.btn-secondary {
  background: var(--surface);
  color: var(--ink);
  border: 1.5px solid var(--border);
}
.btn-secondary:hover { border-color: var(--blue-bright); color: var(--blue); transform: translateY(-1px); }

/* Hero */
.hero {
  padding: 3.5rem 0 4rem;
  position: relative;
  overflow: hidden;
}
.hero-festive {
  background: radial-gradient(circle at 85% 15%, rgba(200, 138, 43, 0.12), transparent 45%),
              radial-gradient(circle at 12% 20%, rgba(79, 144, 228, 0.12), transparent 45%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 3rem;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue);
  font-weight: 700;
  font-size: 0.84rem;
  margin-bottom: 1rem;
}
.eyebrow-festive {
  background: #FCECEB;
  color: var(--festive-red);
  border: 1px solid rgba(180, 35, 44, 0.18);
}
.hero h1 {
  font-size: clamp(2.25rem, 4.2vw, 3.45rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 0 1.15rem;
}
.hero-lead {
  font-size: 1.15rem;
  color: var(--ink-muted);
  margin: 0 0 1.75rem;
  max-width: 60ch;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 0.65rem;
}
.cta-sub {
  font-size: 0.86rem;
  color: var(--ink-muted);
  margin: 0 0 1.5rem;
}
.qr-card {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.7rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.6rem;
}
.qr-card img { width: 68px; height: 68px; border-radius: 6px; }
.qr-card span { font-size: 0.86rem; font-weight: 600; color: var(--ink-muted); max-width: 180px; line-height: 1.35; }

.trust-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.trust-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
}
.trust-check {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: var(--mint-soft);
  color: var(--mint);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  flex-shrink: 0;
}

/* Hero Phones Showcase */
.hero-stage {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.phone-frame {
  background: #1B2430;
  padding: 10px;
  border-radius: 34px;
  box-shadow: var(--shadow-lg);
  max-width: 300px;
  position: relative;
  z-index: 2;
}
.phone-frame img {
  border-radius: 24px;
  width: 100%;
}
.phone-frame-secondary {
  position: absolute;
  right: -12px;
  bottom: -18px;
  max-width: 225px;
  transform: rotate(4deg);
  z-index: 1;
  opacity: 0.96;
}

/* Sections */
.section { padding: 4.5rem 0; }
.section-alt { background: var(--bg-soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head {
  text-align: center;
  max-width: 740px;
  margin: 0 auto 2.8rem;
}
.section-head h2 {
  font-size: clamp(1.75rem, 3vw, 2.45rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin: 0.35rem 0 0.85rem;
}
.section-head p {
  color: var(--ink-muted);
  font-size: 1.08rem;
  margin: 0;
}

/* Festive Feature Box */
.festive-showcase {
  background: var(--festive-bg);
  border: 1.5px solid rgba(200, 138, 43, 0.32);
  border-radius: var(--radius-lg);
  padding: 2.8rem;
  box-shadow: var(--shadow-md);
}
.festive-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
  margin-top: 2rem;
}
.festive-card {
  background: var(--surface);
  border: 1px solid rgba(200, 138, 43, 0.22);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.festive-kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--festive-red);
  margin-bottom: 0.4rem;
}
.festive-card h3 { margin: 0 0 0.55rem; font-size: 1.2rem; }
.festive-card p { margin: 0; color: var(--ink-muted); font-size: 0.95rem; }
.festive-dishes {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.dish-preview {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: rgba(255,255,255,0.88);
  padding: 0.65rem;
  border-radius: 14px;
  border: 1px solid rgba(200, 138, 43, 0.2);
}
.dish-preview img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
}
.dish-preview strong { font-size: 0.92rem; line-height: 1.3; }

/* 9 Pillars Grid */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.35rem;
}
.pillar-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.6rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}
.pillar-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.pillar-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.9rem;
}
.pillar-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--blue-soft);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
}
.pillar-badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
  background: var(--bg-soft);
  color: var(--ink-muted);
}
.pillar-card h3 { margin: 0 0 0.55rem; font-size: 1.15rem; line-height: 1.3; }
.pillar-card p { margin: 0; color: var(--ink-muted); font-size: 0.94rem; }

/* Interactive 4-Step Tour */
.tour-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}
.tour-steps { display: flex; flex-direction: column; gap: 0.9rem; }
.tour-step-btn {
  text-align: left;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.4rem;
  cursor: pointer;
  transition: all 0.16s ease;
  font-family: inherit;
}
.tour-step-btn:hover { border-color: var(--blue-bright); }
.tour-step-btn.active {
  border-color: var(--blue);
  background: #FFFFFF;
  box-shadow: var(--shadow-md);
}
.tour-step-num {
  display: inline-block;
  font-weight: 800;
  font-size: 0.8rem;
  color: var(--blue);
  background: var(--blue-soft);
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  margin-bottom: 0.4rem;
}
.tour-step-btn h3 { margin: 0 0 0.35rem; font-size: 1.12rem; color: var(--ink); }
.tour-step-btn p { margin: 0; font-size: 0.93rem; color: var(--ink-muted); }
.tour-preview {
  display: flex;
  justify-content: center;
}

/* Cooking School Cards */
.lessons-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}
.lesson-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.lesson-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.lesson-body { padding: 1.4rem; }
.lesson-body h3 { margin: 0 0 0.5rem; font-size: 1.18rem; }
.lesson-body p { margin: 0; color: var(--ink-muted); font-size: 0.94rem; }

/* Screenshot Gallery Tabs */
.gallery-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 1.8rem;
}
.gallery-tab {
  padding: 0.6rem 1.25rem;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  background: var(--surface);
  color: var(--ink);
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  font-family: inherit;
}
.gallery-tab.active {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}
.gallery-panel { display: none; }
.gallery-panel.active { display: block; }
.shots-grid-phone {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
  gap: 1.25rem;
}
.shots-grid-wide {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.35rem;
}
.shot-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 0.75rem;
  box-shadow: var(--shadow-sm);
  cursor: zoom-in;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.shot-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.shot-card img { border-radius: 10px; width: 100%; border: 1px solid #EEEAE2; }
.shot-caption {
  margin-top: 0.65rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink);
  text-align: center;
}

/* Windows Section */
.win-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2.5rem;
  align-items: center;
}
.win-points {
  list-style: none;
  padding: 0;
  margin: 1.4rem 0 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.win-points li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.97rem;
}
.win-frame {
  background: #1E2530;
  padding: 10px;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
}
.win-frame img { border-radius: 8px; }

/* FAQ */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.1rem 1.35rem;
}
.faq-item summary {
  font-weight: 700;
  font-size: 1.04rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.3rem; color: var(--blue); font-weight: 700; }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { margin: 0.8rem 0 0; color: var(--ink-muted); font-size: 0.96rem; }

/* Manual Page */
.manual-header { padding: 2.8rem 0 2rem; border-bottom: 1px solid var(--border); background: var(--bg-soft); }
.search-box {
  max-width: 640px;
  margin-top: 1.3rem;
  position: relative;
}
.search-input {
  width: 100%;
  padding: 0.95rem 1.2rem;
  font-size: 1rem;
  border-radius: 14px;
  border: 1.5px solid var(--border);
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  font-family: inherit;
}
.search-input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(40,111,190,0.15); }
.manual-layout {
  display: grid;
  grid-template-columns: 290px 1fr;
  gap: 2.5rem;
  padding: 2.5rem 0 4rem;
  align-items: start;
}
.manual-toc {
  position: sticky;
  top: 90px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.2rem;
  max-height: calc(100vh - 115px);
  overflow-y: auto;
}
.manual-toc h3 { margin: 0 0 0.75rem; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--ink-muted); }
.manual-toc ol { margin: 0; padding-left: 1.25rem; display: flex; flex-direction: column; gap: 0.45rem; font-size: 0.9rem; }
.manual-toc a { color: var(--ink); }
.manual-toc a:hover { color: var(--blue); }
.chapter-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
  scroll-margin-top: 92px;
}
.chapter-num {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--blue);
  letter-spacing: 0.05em;
}
.chapter-card h2 { margin: 0.25rem 0 1rem; font-size: 1.5rem; }
.chapter-card h3 { margin: 1.35rem 0 0.55rem; font-size: 1.12rem; color: var(--ink); }
.chapter-card ul { padding-left: 1.3rem; margin: 0.5rem 0 1rem; }
.chapter-card li { margin-bottom: 0.45rem; }

/* Lightbox Modal */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(15, 22, 32, 0.9);
  z-index: 999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  flex-direction: column;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-height: 84vh;
  max-width: 94vw;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.lightbox-caption { color: #fff; margin-top: 0.9rem; font-weight: 600; text-align: center; }
.lightbox-close {
  position: absolute;
  top: 1.2rem;
  right: 1.5rem;
  background: rgba(255,255,255,0.16);
  color: #fff;
  border: none;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Footer */
.site-footer {
  background: #15202E;
  color: #D7E0EC;
  padding: 3.5rem 0 2.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.site-footer h4 { color: #fff; margin: 0 0 0.8rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.45rem; }
.site-footer a { color: #B8C7DB; }
.site-footer a:hover { color: #fff; }
.footer-bottom {
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.88rem;
  color: #93A5BD;
}

@media (max-width: 960px) {
  .hero-grid, .tour-layout, .win-grid, .manual-layout { grid-template-columns: 1fr; }
  .festive-grid, .festive-dishes, .pillars-grid, .lessons-grid, .footer-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .manual-toc { position: static; max-height: none; }
  .hero { padding: 2.2rem 0 3rem; }
  .festive-showcase { padding: 1.6rem; }
  .qr-card { display: none; }
}
