:root {
  --color-bg-primary: #090f1d;
  --color-bg-secondary: #0f172a;
  --color-bg-card: #131c37;
  --color-bg-card-soft: #182446;
  --color-border: rgba(148, 163, 184, 0.18);
  --color-border-strong: rgba(148, 163, 184, 0.28);
  --color-text-primary: #f8fbff;
  --color-text-secondary: #d5dceb;
  --color-text-muted: #aab6d6;
  --color-accent: #ffd166;
  --color-accent-strong: #ffaa2b;
  --color-highlight: #1f2a44;
}

html,
body {
  height: 100%;
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  background: radial-gradient(circle at top, #16213f 0%, #090f1d 60%, #04070f 100%);
  color: var(--color-text-primary);
  /* overflow: hidden !important; */ /* Removed as per instructions */
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: hidden;
  overflow-y: auto;
}

nav {
  background-color: rgba(9, 15, 29, 0.92);
  color: var(--color-text-primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-left a,
.nav-right a {
  color: var(--color-text-primary);
  text-decoration: none;
  margin: 0 1rem;
  font-weight: 600;
}

.nav-right a.active {
  color: var(--color-accent);
}

.nav-left a:hover,
.nav-right a:hover {
  color: var(--color-accent);
}

.nav-toggle {
  display: none;
  font-size: 2rem;
  color: white;
  cursor: pointer;
  padding-left: 1rem;
  user-select: none;
  transition: transform 0.3s;
}

.nav-toggle.open {
  transform: rotate(90deg);
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .nav-right {
    display: none;
    flex-direction: column;
    background-color: rgba(9, 15, 29, 0.96);
    width: 100%;
    position: absolute;
    top: 60px;
    left: 0;
    padding: 1rem 2rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    transition: all 0.3s;
  }

  .nav-right.show {
    display: flex;
    animation: slideDown 0.3s;
  }

  .nav-right a {
    padding: 0.8rem 0;
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.15);
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

section {
  padding: 4rem 2rem;
  text-align: center;
  background-color: rgba(19, 28, 55, 0.78);
  backdrop-filter: blur(6px);
  width: 100%;
  box-sizing: border-box;
  flex-grow: 1;
  border: 1px solid var(--color-border);
  border-radius: 26px;
}

section h1,
section h2 {
  margin-top: 0;
  margin-bottom: 1.2rem;
  font-size: 2rem;
  color: var(--color-text-primary);
}

section p,
section li {
  font-size: 1.15rem;
  margin: 0.8rem 0;
  color: var(--color-text-secondary);
}

ul {
  list-style: none;
  padding: 0;
}

@media (min-width: 769px) {
  body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
  }
  main.card-wrapper {
    flex: 1 0 auto;
    display: flex;
    align-items: center; /* Vertical centering */
    min-height: calc(100vh - 120px); /* adjust for header/footer */
  }
  section.card-content {
    text-align: left;
    max-width: 600px;
    background-color: var(--color-bg-card);
    border-radius: 22px;
    box-shadow: 0 20px 40px rgba(3, 8, 20, 0.55);
    padding: 3rem 3rem 2.5rem 3rem;
    margin-left: 5vw;
    margin-top: 0;
    margin-bottom: 0;
    margin-right: auto;
    border: 1.5px solid var(--color-border);
  }
}

@media (min-width: 769px) {
  section.card-content h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.2rem;
    letter-spacing: -1px;
    background: linear-gradient(
      90deg,
      var(--color-text-primary),
      var(--color-accent),
      var(--color-text-primary) 65%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
  section.card-content p {
    font-size: 1.18rem;
    line-height: 1.8;
    color: #f1f1f1;
    font-weight: 400;
    margin-top: 0.7rem;
    margin-bottom: 0.7rem;
  }
}
section.card-content {
  /* Add a soft blur/fade for the text on any size */
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.13);
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
}

footer {
  background-color: var(--color-bg-secondary); /* changed from rgba(0,0,0,0.8) */
  color: var(--color-text-primary);
  text-align: center;
  padding: 1.5rem 0 1rem;
  font-size: 0.95rem;
  margin-top: auto;
}

@media (max-width: 768px) {
  footer {
    font-size: 0.8rem;
    padding: 1.2rem 0 0.8rem 0;
    margin-top: auto;
  }
}

section.card-content h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 1.6rem;
  letter-spacing: -0.5px;
  background: linear-gradient(90deg, #fff, #ffe484 50%, #fff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
}

section.card-content ul {
  margin: 1.8rem 0 0 0;
  padding: 0;
  list-style: none;
}

section.card-content li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1.3rem;
  font-size: 1.12rem;
  color: #fafafa;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0.04em;
}

section.card-content li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: bold;
  font-size: 1.05em;
  top: 0.12em;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.18);
}

main.card-wrapper {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 0; /* prevents overflow */
}

section.card-content {
  max-height: 80vh;
  overflow-y: auto;
}
@media (max-width: 768px) {
  section,
  section.card-content {
    backdrop-filter: none !important;
    background-color: transparent !important;
    box-shadow: none !important;
    border: none !important;
  }
}

@media (max-width: 768px) {
  section.card-content h1,
  section.card-content h2 {
    font-size: 1.55rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 1.1rem;
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
    background-clip: unset;
    color: #fff;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.14);
  }

  section.card-content p,
  section.card-content li {
    font-size: 1.02rem;
    line-height: 1.6;
    color: #f7f7f7;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.11);
  }

  section.card-content li:before {
    font-size: 1em;
    color: var(--color-accent);
    left: 0;
    top: 0.2em;
  }
}

.page-wrapper {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  gap: clamp(2rem, 4vw, 3.5rem);
  padding: clamp(2.2rem, 5vw, 3.8rem)
    clamp(1.5rem, 6vw, 6rem)
    clamp(3rem, 6vw, 4.8rem);
  box-sizing: border-box;
}

.page-wrapper > section {
  background: var(--color-bg-card);
  border-radius: 28px;
  padding: clamp(2rem, 3.5vw, 3.6rem);
  box-shadow: 0 26px 48px rgba(3, 8, 20, 0.55);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.page-wrapper > section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(140deg, rgba(255, 210, 102, 0.18), rgba(17, 25, 48, 0.35) 60%, transparent 85%);
  pointer-events: none;
}

.page-wrapper > section > * {
  position: relative;
  z-index: 1;
}

.hero {
  display: grid;
  gap: clamp(2rem, 4vw, 3.5rem);
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  align-items: center;
  text-align: left;
}

.hero-copy {
  text-align: left;
  max-width: 520px;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--color-accent);
  background: rgba(255, 209, 102, 0.16);
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font-weight: 600;
}

.hero h1 {
  font-size: clamp(2.45rem, 5vw, 3.25rem);
  line-height: 1.1;
  margin-bottom: 1.2rem;
  text-align: left;
  color: var(--color-text-primary);
}

.hero p {
  margin-bottom: 1.8rem;
  font-size: 1.12rem;
  line-height: 1.8;
  color: var(--color-text-secondary);
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.hero-points {
  list-style: none;
  padding: 0;
  margin: 0 0 1.8rem 0;
  display: grid;
  gap: 0.6rem;
  font-size: 1.02rem;
  color: var(--color-text-secondary);
}

.hero-points li {
  position: relative;
  padding-left: 1.8rem;
  line-height: 1.7;
}

.hero-points li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0.1rem;
  color: var(--color-accent);
  font-weight: 700;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.7rem 1.4rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #fefefe;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  margin: 0 auto;
  box-sizing: border-box;
}

.store-badge::before {
  content: "";
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.75);
}

.store-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.32);
}

.store-badge.app-store {
  background: linear-gradient(135deg, #101010, #2b2b2b);
}

.store-badge.play-store {
  background: linear-gradient(135deg, #1f4037, #4caf50);
}

.store-badge.app-store::before {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='%23fff' d='M17.2 15.4c-.3.6-.6 1-1 1.5-.5.6-1 .8-1.5.8-.5 0-.9-.1-1.5-.4-.6-.3-1.1-.4-1.5-.4-.4 0-.9.1-1.5.4-.6.3-1.1.4-1.4.4-.5 0-1-.3-1.5-.8-.4-.4-.8-.9-1.1-1.5-.8-1.4-1.2-2.8-1.2-4.2 0-1.3.3-2.4.9-3.2.6-.9 1.5-1.3 2.4-1.3.5 0 1.1.1 1.6.4.5.2.9.4 1.3.4.3 0 .7-.1 1.1-.3.5-.2 1-.3 1.5-.3 1.1 0 2 .4 2.6 1.3-.1.1-.2.2-.2.3-.6.9-.9 1.9-.9 3 0 1.5.4 2.9 1.1 4.2zM12.8 4c0-.5.2-1 .6-1.6.4-.5 1-.9 1.5-1.1.1.6-.1 1.1-.4 1.7-.4.5-.9.9-1.7 1z'/%3E%3C/svg%3E")
    center/contain no-repeat;
}

.store-badge.play-store::before {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='%23fff' d='M2 2.8a1 1 0 0 1 1.4-1l11.7 6.5c1 .6 1 2 0 2.6L3.4 17.4A1 1 0 0 1 2 16.4V2.8zM15.4 7.6 18 6a1 1 0 0 1 1.6.8v6.4a1 1 0 0 1-1.6.8l-2.6-1.6a1 1 0 0 1 0-1.6z'/%3E%3C/svg%3E")
    center/contain no-repeat;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.7rem;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s;
}

.btn.small {
  padding: 0.55rem 1.3rem;
  font-size: 0.95rem;
}

.btn.primary {
  background: linear-gradient(120deg, var(--color-accent), var(--color-accent-strong));
  color: #271400;
  box-shadow: 0 12px 30px rgba(255, 175, 64, 0.45);
}

.btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(255, 175, 64, 0.55);
}

.btn.ghost {
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-text-primary);
  border: 1px solid var(--color-border);
}

.btn.ghost:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-2px);
}

.hero-media {
  display: grid;
  gap: 1.4rem;
  justify-items: center;
}

.app-mascot {
  margin: 0 auto;
  max-width: min(320px, 100%);
  display: flex;
  justify-content: center;
}

.app-mascot img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 30px;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.45);
  object-fit: contain;
  box-sizing: border-box;
}

.app-mascot.tall-art img {
  border-radius: 26px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.05));
  padding: 0.9rem;
  box-shadow: 0 18px 40px rgba(3, 8, 20, 0.55);
}

.cheflist-page .app-mascot img {
  max-height: 320px;
}

.hero-card {
  background: var(--color-bg-card-soft);
  border-radius: 22px;
  padding: 1.6rem 1.8rem;
  box-shadow: 0 20px 40px rgba(3, 8, 20, 0.55);
  width: min(100%, 320px);
  border: 1px solid var(--color-border);
}

.hero-card h3 {
  margin-top: 0;
  font-size: 1.1rem;
  margin-bottom: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--color-text-primary);
}

.hero-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.8rem;
}

.hero-card li {
  font-size: 1rem;
  color: var(--color-text-secondary);
}

.hero-card strong {
  color: var(--color-accent);
}

.mini-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.7rem;
  font-size: 1rem;
  color: var(--color-text-secondary);
}

.mini-list li {
  position: relative;
  padding-left: 1.5rem;
  line-height: 1.6;
}

.mini-list li::before {
  content: "•";
  position: absolute;
  left: 0.2rem;
  color: var(--color-accent);
  font-size: 1.3rem;
  line-height: 1;
}

.capabilities {
  text-align: center;
}

.capabilities h2 {
  font-size: clamp(1.9rem, 3.5vw, 2.4rem);
  margin-bottom: 1rem;
}

.capabilities p {
  max-width: 720px;
  margin: 0 auto 2.2rem auto;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--color-text-secondary);
}

.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.6rem;
}

.capabilities-grid article {
  background: var(--color-bg-card-soft);
  border-radius: 18px;
  padding: 1.6rem;
  text-align: left;
  box-shadow: 0 16px 34px rgba(3, 8, 20, 0.45);
  border: 1px solid var(--color-border);
}

.capabilities-grid h3 {
  margin-top: 0;
  margin-bottom: 0.8rem;
  font-size: 1.2rem;
  color: var(--color-accent);
}

.capabilities-grid p {
  margin: 0;
  color: var(--color-text-secondary);
  font-size: 1rem;
  line-height: 1.7;
}

.app-features {
  text-align: center;
}

.feature-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
  margin-top: 2.2rem;
}

.feature-columns article {
  background: var(--color-bg-card-soft);
  border-radius: 20px;
  padding: 1.7rem;
  text-align: left;
  box-shadow: 0 18px 36px rgba(3, 8, 20, 0.5);
  border: 1px solid var(--color-border);
}

.feature-columns h3 {
  margin: 0 0 1rem 0;
  font-size: 1.25rem;
  color: var(--color-accent);
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.9rem;
}

.feature-list li {
  position: relative;
  padding-left: 1.8rem;
  line-height: 1.7;
  color: var(--color-text-secondary);
}

.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.15rem;
  color: var(--color-accent);
  font-weight: 700;
}

.consulting-overview {
  text-align: center;
}

.consulting-overview h2 {
  font-size: clamp(1.9rem, 3.3vw, 2.5rem);
  margin-bottom: 1rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.6rem;
  margin-top: 2rem;
}

.service-grid article {
  background: var(--color-bg-card-soft);
  border-radius: 18px;
  padding: 1.8rem;
  text-align: left;
  box-shadow: 0 18px 36px rgba(3, 8, 20, 0.5);
  border: 1px solid var(--color-border);
}

.service-grid h3 {
  margin-top: 0;
  margin-bottom: 0.8rem;
  color: var(--color-accent);
  font-size: 1.2rem;
}

.service-grid p {
  margin: 0;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

.contact-page .contact-hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(1.8rem, 4vw, 3rem);
  align-items: center;
  background: linear-gradient(135deg, rgba(21, 32, 58, 0.92), rgba(8, 13, 28, 0.88));
  border: 1px solid var(--color-border);
  border-radius: 28px;
  padding: clamp(2rem, 4vw, 3.2rem);
  box-shadow: 0 24px 48px rgba(3, 8, 20, 0.55);
  position: relative;
  overflow: hidden;
}

.contact-page .contact-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(255, 209, 102, 0.15), transparent 55%);
  pointer-events: none;
}

.contact-page .contact-hero > * {
  position: relative;
  z-index: 1;
}

.contact-page .contact-hero-copy .hero-label {
  background: rgba(255, 255, 255, 0.12);
  color: var(--color-accent);
}

.contact-page .contact-hero-copy h1 {
  font-size: clamp(2.1rem, 4.5vw, 2.9rem);
  margin-bottom: 1rem;
  color: var(--color-text-primary);
}

.contact-page .contact-hero-copy p {
  color: var(--color-text-secondary);
  margin-bottom: 1.2rem;
}

.contact-points {
  margin: 0 0 1.6rem 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.7rem;
}

.contact-points li {
  position: relative;
  padding-left: 1.6rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

.contact-points li::before {
  content: "★";
  position: absolute;
  left: 0;
  top: 0.05rem;
  color: var(--color-accent);
  font-size: 0.95rem;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 0.5rem;
}

.contact-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

.contact-hero-info {
  display: grid;
  gap: 1rem;
}

.contact-hero-info:empty {
  display: none;
}

.info-bubble {
  background: var(--color-bg-card-soft);
  border-radius: 20px;
  padding: 1.6rem;
  border: 1px solid var(--color-border);
  box-shadow: 0 18px 38px rgba(3, 8, 20, 0.45);
  color: var(--color-text-secondary);
}

.info-bubble h3 {
  margin-top: 0;
  margin-bottom: 0.6rem;
  color: var(--color-text-primary);
}

.info-bubble .hours {
  color: var(--color-accent);
  font-weight: 600;
  margin-top: 0.8rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(1.2rem, 3vw, 2rem);
}

.contact-card {
  background: var(--color-bg-card-soft);
  border-radius: 18px;
  padding: 1.7rem;
  border: 1px solid var(--color-border);
  box-shadow: 0 18px 40px rgba(3, 8, 20, 0.45);
  position: relative;
}

.contact-card h3 {
  margin-top: 0.4rem;
  color: var(--color-accent);
  margin-bottom: 0.6rem;
}

.contact-card p {
  margin: 0;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

.contact-card a {
  color: var(--color-text-primary);
  text-decoration: none;
}

.contact-card a:hover {
  text-decoration: underline;
}

.card-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-text-muted);
}

.contact-cta {
  text-align: center;
  background: linear-gradient(120deg, rgba(23, 32, 58, 0.9), rgba(14, 20, 40, 0.92));
  border-radius: 26px;
  padding: clamp(2rem, 4vw, 3rem);
  border: 1px solid var(--color-border);
  box-shadow: 0 24px 46px rgba(3, 8, 20, 0.5);
}

.contact-cta h2 {
  margin-top: 0;
  margin-bottom: 0.8rem;
}

.contact-cta p {
  color: var(--color-text-secondary);
  margin: 0 auto clamp(1.2rem, 3vw, 1.8rem);
  max-width: 640px;
}

.contact-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  justify-content: center;
}

.mobile-apps {
  text-align: center;
}

.mobile-apps h2 {
  font-size: clamp(1.9rem, 3.3vw, 2.5rem);
  margin-bottom: 1rem;
}

.mobile-apps p {
  max-width: 720px;
  margin: 0 auto 1.8rem auto;
  color: var(--color-text-secondary);
  line-height: 1.8;
}

.app-tablist {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.app-tab,
.app-tab.disabled {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.3rem;
  padding: 1rem 1.4rem;
  border-radius: 16px;
  text-decoration: none;
  min-width: 200px;
  background: var(--color-bg-card-soft);
  border: 1px solid var(--color-border);
  color: var(--color-text-primary);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border 0.25s ease,
    background 0.25s ease;
}

.app-tab:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(3, 8, 20, 0.45);
  border-color: rgba(255, 210, 102, 0.5);
}

.app-tab.active {
  background: linear-gradient(
    120deg,
    rgba(255, 210, 102, 0.28),
    rgba(255, 153, 51, 0.24)
  );
  border-color: rgba(255, 210, 76, 0.7);
}

.app-tab.disabled {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}

.app-name {
  font-weight: 700;
  font-size: 1.1rem;
}

.app-tagline {
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

.app-summary {
  margin: 0.6rem 0 0 0;
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

.app-tab .btn {
  margin-top: 1rem;
}

.store-actions-large .store-badge {
  padding: 0.85rem 1.8rem;
  font-size: 1.02rem;
}

.store-actions,
.store-actions-large {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 0 auto 1.6rem auto;
  justify-content: center;
  width: 100%;
  align-items: center;
  align-self: center;
  text-align: center;
  padding: 0;
  box-sizing: border-box;
}

.app-feature-detail,
.app-gallery {
  text-align: center;
}

.app-feature-detail h2,
.app-gallery h2 {
  font-size: clamp(1.9rem, 3.3vw, 2.4rem);
  margin-bottom: 1rem;
}

.app-feature-detail p,
.app-gallery p {
  max-width: 720px;
  margin: 0 auto 1.8rem auto;
  color: var(--color-text-secondary);
  line-height: 1.8;
}

.cheflist-page .hero {
  align-items: flex-start;
  grid-template-columns: minmax(340px, 1.25fr) minmax(260px, 1fr);
  gap: clamp(1.2rem, 2.6vw, 2.4rem);
  justify-items: center;
  overflow: visible;
}

.cheflist-page .app-hero {
  padding: clamp(1.6rem, 4vw, 2.8rem)
    clamp(1.4rem, 4vw, 3rem);
}

.cheflist-page .hero-copy {
  max-width: 660px;
  width: 100%;
  margin: 0 auto;
}

.cheflist-page .hero h1 {
  font-size: clamp(2.1rem, 4.4vw, 2.8rem);
  margin-bottom: 0.9rem;
  line-height: 1.15;
}

.cheflist-page .hero-copy p {
  margin-bottom: 1.1rem;
}

.cheflist-page .hero-points {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 0.6rem 1.2rem;
}

.cheflist-page .hero-points li {
  font-size: 0.98rem;
  line-height: 1.55;
}

.cheflist-page .hero-media {
  display: flex;
  justify-content: center;
  width: 100%;
  overflow: hidden;
}

.cheflist-page .store-actions {
  margin: 0 auto 1rem auto;
  gap: 0.6rem;
  justify-content: center;
  width: 100%;
  max-width: 360px;
}

.cheflist-page .cta-group {
  margin-top: 0.4rem;
}

.cheflist-page .feature-columns {
  max-width: 1100px;
  margin: 0 auto;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.cheflist-page .feature-columns article {
  padding: 1.5rem 1.6rem;
}
.release-notes {
  text-align: center;
}

.release-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.8rem;
  margin-top: 1.8rem;
}

.release-grid article {
  background: var(--color-bg-card-soft);
  border-radius: 20px;
  padding: 1.8rem;
  box-shadow: 0 20px 40px rgba(3, 8, 20, 0.5);
  text-align: left;
  border: 1px solid var(--color-border);
}

.release-grid h3 {
  margin-top: 0;
  font-size: 1.3rem;
  color: var(--color-accent);
  margin-bottom: 1rem;
}

.photo-showcase {
  text-align: center;
}

.photo-showcase h2 {
  font-size: clamp(1.9rem, 3.5vw, 2.4rem);
  margin-bottom: 0.9rem;
}

.photo-showcase p {
  max-width: 720px;
  margin: 0 auto 2.2rem auto;
  color: #f2f2f2;
  font-size: 1.05rem;
  line-height: 1.8;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.6rem;
}

.photo-grid figure {
  margin: 0;
  background: var(--color-bg-card-soft);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 22px 44px rgba(3, 8, 20, 0.55);
  border: 1px solid var(--color-border);
}

.photo-grid img {
  width: 100%;
  display: block;
  height: auto;
  object-fit: cover;
}

.photo-grid figure {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1.2rem 1.4rem;
}

.photo-grid figure img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 320px;
  max-width: 100%;
  border-radius: 16px;
  object-fit: contain;
}

.photo-grid figure.tall img {
  max-height: 360px;
  max-width: 100%;
}

.photo-grid figcaption {
  padding: 1rem 1.2rem;
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  line-height: 1.5;
}

.cta-banner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  background: linear-gradient(120deg, rgba(16, 24, 48, 0.85), rgba(20, 32, 60, 0.92));
}

.cta-banner h2 {
  margin: 0 0 0.6rem 0;
  font-size: clamp(1.8rem, 3.4vw, 2.3rem);
}

.cta-banner p {
  margin: 0;
  max-width: 560px;
  font-size: 1.05rem;
  line-height: 1.8;
}

.cta-banner .btn {
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .page-wrapper {
    padding: 2rem 1.5rem 3.5rem;
  }

  .page-wrapper > section {
    border-radius: 22px;
  }

  .hero-copy {
    max-width: none;
  }

  .store-actions {
    justify-content: center;
  }

  .contact-page .contact-hero {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .contact-page .contact-hero-info {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

@media (max-width: 640px) {
  .hero {
    text-align: left;
  }

  .cheflist-page .hero {
    grid-template-columns: 1fr;
  }

  .hero-points {
    padding-left: 0;
  }

  .hero-card {
    width: 100%;
  }

  .capabilities-grid article {
    text-align: left;
  }

  .store-badge {
    width: 100%;
    justify-content: center;
  }

  .feature-columns article {
    text-align: left;
  }

  .store-actions {
    justify-content: center;
  }

  .app-tablist {
    flex-direction: column;
    align-items: stretch;
  }

  .app-tab,
  .app-tab.disabled {
    align-items: flex-start;
  }

  .photo-grid img {
    height: auto;
    max-height: 260px;
  }

  .cta-banner {
    text-align: left;
  }

  .contact-page .contact-hero-info {
    grid-template-columns: 1fr;
  }

  .contact-actions,
  .contact-cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .contact-meta {
    gap: 0.6rem;
  }
}

@media (max-width: 768px) {
  main.cheflist-page > section {
    background: var(--color-bg-card) !important;
    border: 1px solid var(--color-border);
    box-shadow: 0 18px 36px rgba(3, 8, 20, 0.5);
    text-align: left;
  }

  .cheflist-page .hero {
    text-align: center;
    align-items: center;
    justify-items: center;
  }

  .cheflist-page .hero-copy {
    margin: 0 auto;
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .cheflist-page .hero h1,
  .cheflist-page .hero p,
  .cheflist-page .hero-points li {
    color: var(--color-text-primary);
  }

  .cheflist-page .hero-points {
    grid-template-columns: 1fr;
    gap: 0.8rem;
    text-align: center;
    width: 100%;
    margin: 0 auto;
  }

  .cheflist-page .hero-media {
    order: 2;
    margin-top: 2rem;
    width: 100%;
    justify-content: center;
  }

  .cheflist-page .app-hero .store-actions {
    flex-direction: column;
    align-items: center;
    gap: 0.9rem;
    width: 100%;
    max-width: 320px;
    margin: 0 auto 1.2rem auto;
    overflow: hidden;
  }

  .cheflist-page .app-hero .store-badge {
    width: 100%;
    max-width: 100%;
    justify-content: center;
    margin: 0 auto;
    display: flex;
  }

  .cheflist-page .app-mascot {
    max-width: min(260px, 100%);
    margin: 0 auto;
    padding: 0 0.8rem;
  }

  .cheflist-page .app-mascot img {
    max-height: 260px;
    width: 100%;
    object-fit: contain;
  }

  .cheflist-page .feature-columns {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .cheflist-page .feature-columns article {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
  }

  .cheflist-page .photo-grid {
    grid-template-columns: 1fr;
  }
}

.orientation-warning {
  display: none;
}

@media screen and (orientation: landscape) and (max-width: 900px) {
  body > *:not(.orientation-warning) {
    display: none !important;
  }
  .orientation-warning {
    display: flex !important;
    position: fixed;
    z-index: 99999;
    inset: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(120deg, #232526 0%, #414345 100%);
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.35rem;
    text-align: center;
    padding: 2rem;
    line-height: 1.6;
    letter-spacing: 0.03em;
    font-family: "Segoe UI", Arial, sans-serif;
    flex-direction: column;
    transition: background 0.25s;
  }
  .orientation-warning::before {
    content: "🔄";
    font-size: 3.5rem;
    margin-bottom: 1.2rem;
    display: block;
  }
}
.store-actions,
.store-actions-large {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.6rem;
  justify-content: center;
}

.store-actions-large {
  width: 100%;
}
