:root {
  --bg: #0b0d10;
  --bg-soft: #11151a;
  --card: #151a21;
  --card-2: #1a2028;
  --line: #2a313b;
  --text: #f3f5f7;
  --muted: #9aa4b2;
  --accent: #9cff2e;
  --accent-2: #7fe000;
  --danger: #ff5d73;
  --success: #39d98a;
  --warning: #ffb020;
  --shadow: 0 10px 30px rgba(0,0,0,.35);
  --radius: 18px;
  --radius-sm: 12px;
  --radius-xs: 10px;
  --maxw: 1280px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(circle at top right, rgba(156,255,46,.08), transparent 28%),
    linear-gradient(180deg, #0b0d10 0%, #0e1217 100%);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: var(--text);
  text-decoration: none;
}

a:hover {
  color: var(--accent);
}

img {
  max-width: 100%;
  display: block;
}

.container,
.wrap,
.page-wrap {
  width: min(100% - 24px, var(--maxw));
  margin: 0 auto;
}

.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
  width: min(100% - 24px, var(--maxw));
  margin: 24px auto;
}

.col-12 { grid-column: span 12; }
.col-7 { grid-column: span 7; }
.col-6 { grid-column: span 6; }
.col-5 { grid-column: span 5; }
.col-4 { grid-column: span 4; }
.col-3 { grid-column: span 3; }

@media (max-width: 980px) {
  .col-7, .col-6, .col-5, .col-4, .col-3 {
    grid-column: span 12;
  }
}

.card {
  background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.01)), var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(4px);
}

h1, h2, h3, h4 {
  margin-top: 0;
  line-height: 1.1;
  letter-spacing: -.02em;
}

h1 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
}

h3 {
  font-size: 1.1rem;
  font-weight: 700;
}

p {
  color: var(--text);
  line-height: 1.6;
}

.small {
  color: var(--muted);
  font-size: .94rem;
}

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 18px 0;
}

input,
select,
textarea,
button {
  font: inherit;
}

input,
select,
textarea {
  width: 100%;
  background: #0f1318;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  outline: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(156,255,46,.14);
}

button,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
  color: #081006;
  font-weight: 800;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
  box-shadow: 0 8px 24px rgba(156,255,46,.22);
}

button:hover,
.btn:hover {
  transform: translateY(-1px);
  color: #081006;
}

button:disabled,
.btn:disabled {
  opacity: .7;
  cursor: not-allowed;
  transform: none;
}

.btn-secondary {
  background: #161c23;
  color: var(--text);
  border-color: var(--line);
  box-shadow: none;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(156,255,46,.08);
  color: var(--text);
  border: 1px solid rgba(156,255,46,.18);
  font-size: .92rem;
}

.msg-err {
  color: #ff9cab;
}

.top-hero {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(156,255,46,.16), transparent 30%),
    linear-gradient(135deg, #131820 0%, #0f141a 100%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.top-hero h1,
.top-hero h2,
.top-hero h3,
.top-hero p {
  position: relative;
  z-index: 2;
}

.top-hero::after {
  content: "";
  position: absolute;
  inset: auto -40px -40px auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(156,255,46,.18) 0%, transparent 65%);
  pointer-events: none;
}

.stat-card {
  padding: 18px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.01)), var(--card-2);
}

.stat-card .label {
  color: var(--muted);
  font-size: .92rem;
  margin-bottom: 8px;
}

.stat-card .value {
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1;
}

.stat-card .sub {
  color: var(--muted);
  margin-top: 8px;
  font-size: .9rem;
}

.table-wrap {
  overflow-x: auto;
}

.table {
  width: 100%;
  border-collapse: collapse;
}

.table th,
.table td {
  text-align: left;
  padding: 12px 10px;
  border-bottom: 1px solid var(--line);
}

.table th {
  color: var(--muted);
  font-size: .88rem;
  font-weight: 700;
}

.recipe-action-box,
.grocery-item,
.planner-item,
.planner-search-card,
.planner-selected-recipe {
  background: #12171d;
  border: 1px solid var(--line);
  box-shadow: none;
}

.recipe-action-result.success,
.msg-box.ok {
  background: rgba(57,217,138,.08);
  border: 1px solid rgba(57,217,138,.25);
  color: #a8f1ca;
}

.recipe-action-result.error,
.msg-box.err {
  background: rgba(255,93,115,.08);
  border: 1px solid rgba(255,93,115,.22);
  color: #ffb2bd;
}

.app-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(12px);
  background: rgba(11, 13, 16, 0.86);
  border-bottom: 1px solid var(--line);
}

.app-header__inner {
  width: min(100% - 24px, var(--maxw));
  margin: 0 auto;
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.app-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
  flex-shrink: 0;
}

.app-brand__mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
  color: #081006;
  font-weight: 900;
  letter-spacing: -0.03em;
  box-shadow: 0 8px 24px rgba(156,255,46,.22);
}

.app-brand__text {
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.app-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.app-nav a {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
}

.app-nav a:hover {
  color: var(--accent);
}

.app-header__right {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
}

.app-lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.app-lang-switch span {
  color: var(--muted);
}

.app-lang-switch a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 700;
}

.app-lang-switch a.is-active,
.app-lang-switch a:hover {
  color: var(--accent);
}

.app-menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #12171d;
  box-shadow: none;
}

.app-menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  margin: 3px auto;
  border-radius: 999px;
}

.app-main {
  padding-top: 10px;
}

.app-main,
.container.app-main,
main.container {
  flex: 1 0 auto;
}

.app-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.58);
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease;
  z-index: 1090;
}

.app-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(88vw, 360px);
  height: 100vh;
  background: #0f1419;
  border-left: 1px solid var(--line);
  box-shadow: -12px 0 40px rgba(0,0,0,.35);
  transform: translateX(100%);
  transition: transform .24s ease;
  z-index: 1100;
  display: flex;
  flex-direction: column;
}

.app-drawer__header {
  min-height: 74px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.app-drawer__close {
  width: 42px;
  height: 42px;
  min-height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #151a21;
  color: var(--text);
  font-size: 1.6rem;
  line-height: 1;
  box-shadow: none;
}

.app-drawer__nav {
  display: grid;
  gap: 6px;
  padding: 16px;
}

.app-drawer__nav a {
  display: block;
  padding: 13px 14px;
  border-radius: 12px;
  color: var(--text);
  background: #12171d;
  border: 1px solid var(--line);
  text-decoration: none;
  font-weight: 700;
}

.app-drawer__nav a:hover {
  border-color: rgba(156,255,46,.35);
  color: var(--accent);
}

.app-drawer__footer {
  margin-top: auto;
  padding: 16px;
  border-top: 1px solid var(--line);
}

.app-drawer__footer .app-lang-switch {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
}

.app-drawer__footer .app-lang-switch a {
  display: block;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #12171d;
  color: var(--text);
}

body.drawer-open {
  overflow: hidden;
}

body.drawer-open .app-drawer-backdrop {
  opacity: 1;
  pointer-events: auto;
}

body.drawer-open .app-drawer {
  transform: translateX(0);
}

@media (max-width: 980px) {
  .app-nav--desktop,
  .app-lang-switch--desktop,
  .app-theme-toggle--desktop {
    display: none;
  }

  .app-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
  }
}

@media (min-width: 981px) {
  .app-drawer,
  .app-drawer-backdrop {
    display: none;
  }
}

.app-footer {
  margin-top: auto;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg,#0e1217,#0b0d10);
  padding-top: 40px;
}

.footer-inner {
  width: min(100% - 24px, var(--maxw));
  margin: auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-col h4 {
  margin-bottom: 14px;
  font-size: 0.9rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
}

.footer-col a {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
  text-decoration: none;
  font-size: .95rem;
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.footer-logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(180deg,var(--accent),var(--accent-2));
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:900;
  color:#081006;
}

.footer-logo-text {
  font-weight:800;
  font-size:1.1rem;
}

.footer-tagline {
  color: var(--muted);
  margin-bottom: 16px;
  font-size: .9rem;
}

.footer-lang {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.footer-lang span {
  color: var(--muted);
  display: inline-block;
}

.footer-lang a {
  color: var(--muted);
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
}

.footer-lang a.active,
.footer-lang a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top:1px solid var(--line);
  padding:16px;
  text-align:center;
  font-size:.85rem;
  color:var(--muted);
}

@media(max-width:900px){

.footer-inner{
grid-template-columns:1fr;
gap:28px;
text-align:left;
}

}

.footer-brand .footer-lang {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.footer-brand .footer-lang a,
.footer-brand .footer-lang span {
  display: inline-block;
}

.app-nav a.is-active,
.app-nav a[aria-current="page"] {
  color: var(--accent);
}

.app-drawer__nav a.is-active,
.app-drawer__nav a[aria-current="page"] {
  color: var(--accent);
  border-color: rgba(156,255,46,.35);
  background: rgba(156,255,46,.06);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 60px 40px;
  border-radius: 26px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 80% 10%, rgba(156,255,46,.18), transparent 40%),
    radial-gradient(circle at 0% 100%, rgba(156,255,46,.12), transparent 35%),
    linear-gradient(140deg, #121720 0%, #0d1116 100%);
  box-shadow: var(--shadow);
}

.hero-content {
  max-width: 620px;
}

.hero h1 {
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.hero-accent {
  color: var(--accent);
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--muted);
  margin-bottom: 26px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-primary {
  font-size: 1rem;
}

.hero-stats {
  margin-top: 40px;
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.hero-stat {
  background: rgba(255,255,255,.02);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 18px;
  min-width: 110px;
}

.hero-stat-value {
  font-size: 1.5rem;
  font-weight: 800;
}

.hero-stat-label {
  font-size: .85rem;
  color: var(--muted);
}

@media (max-width: 800px) {
  .hero {
    padding: 40px 24px;
  }

  .hero-stats {
    gap: 16px;
  }
}

.landing-section {
  margin-top: 6px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
  flex-wrap: wrap;
}

.section-kicker {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--accent);
  font-weight: 800;
}

.feature-card,
.benefit-card {
  height: 100%;
  padding: 22px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.01)), var(--card);
  box-shadow: var(--shadow);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(156,255,46,.08);
  border: 1px solid rgba(156,255,46,.18);
  font-size: 1.4rem;
  margin-bottom: 14px;
}

.app-showcase {
  height: 100%;
  padding: 28px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at top right, rgba(156,255,46,.08), transparent 30%),
    linear-gradient(140deg, #121720 0%, #0d1116 100%);
  box-shadow: var(--shadow);
}

.showcase-metrics {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.showcase-metric {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.02);
  border-radius: 14px;
}

.showcase-metric__label {
  color: var(--muted);
}

.showcase-metric__value {
  font-weight: 800;
}

.mockup-card {
  height: 100%;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #141922 0%, #0f1318 100%);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.mockup-top {
  display: flex;
  gap: 8px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}

.mockup-top span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.18);
}

.mockup-screen {
  padding: 22px;
}

.mockup-title {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 18px;
}

.mockup-stat {
  padding: 16px;
  border-radius: 16px;
  background: rgba(156,255,46,.08);
  border: 1px solid rgba(156,255,46,.18);
  margin-bottom: 18px;
}

.mockup-stat__label {
  display: block;
  color: var(--muted);
  font-size: .85rem;
  margin-bottom: 8px;
}

.mockup-stat__value {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--accent);
}

.mockup-bars {
  display: grid;
  gap: 12px;
  margin-bottom: 18px;
}

.mockup-bar span {
  display: block;
  margin-bottom: 6px;
  font-size: .88rem;
  color: var(--muted);
}

.mockup-bar div {
  height: 10px;
  border-radius: 999px;
  background: #1a2028;
  overflow: hidden;
  border: 1px solid var(--line);
}

.mockup-bar i {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

.mockup-list {
  display: grid;
  gap: 10px;
}

.mockup-list__item {
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.02);
}

.mockup-list__item strong {
  display: block;
  margin-bottom: 4px;
}

.mockup-list__item span {
  color: var(--muted);
  font-size: .88rem;
}

.cta-panel {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  padding: 28px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at top right, rgba(156,255,46,.12), transparent 32%),
    linear-gradient(140deg, #121720 0%, #0d1116 100%);
  box-shadow: var(--shadow);
}

.cta-panel__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .section-head {
    align-items: start;
  }

  .cta-panel {
    padding: 22px;
  }
}

.platform-preview {
  margin-top: 20px;
}

.preview-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 20px;
  margin-top: 24px;
}

.preview-card {
  border-radius: 22px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg,#141922,#0f1318);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.preview-top {
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  font-weight: 800;
  font-size: .9rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted);
}

.preview-body {
  padding: 20px;
}

.preview-stat {
  display:flex;
  justify-content:space-between;
  margin-bottom:16px;
  font-size:.95rem;
}

.preview-stat strong {
  font-size:1.2rem;
}

.preview-progress {
  margin-bottom:14px;
}

.preview-progress label {
  display:block;
  font-size:.85rem;
  margin-bottom:4px;
  color:var(--muted);
}

.preview-progress div {
  height:10px;
  border-radius:999px;
  background:#1a2028;
  overflow:hidden;
}

.preview-progress i {
  display:block;
  height:100%;
  border-radius:999px;
  background:linear-gradient(90deg,var(--accent),var(--accent-2));
}

.preview-item {
  padding:12px;
  border-radius:12px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.02);
  margin-bottom:10px;
}

.preview-item strong {
  display:block;
  margin-bottom:4px;
}

.preview-item span {
  font-size:.85rem;
  color:var(--muted);
}

@media(max-width:900px){
  .preview-grid{
    grid-template-columns:1fr;
  }
}

.hero-pro{
position:relative;
border-radius:26px;
padding:60px;
overflow:hidden;
border:1px solid var(--line);
background:
radial-gradient(circle at 80% 10%,rgba(156,255,46,.18),transparent 40%),
radial-gradient(circle at 0% 100%,rgba(156,255,46,.10),transparent 40%),
linear-gradient(140deg,#121720,#0d1116);
box-shadow:var(--shadow);
}

.hero-grid{
display:grid;
grid-template-columns:1.2fr 1fr;
gap:40px;
align-items:center;
}

.hero-kicker{
font-size:.75rem;
letter-spacing:.15em;
font-weight:800;
color:var(--accent);
margin-bottom:12px;
}

.hero-title{
font-size:clamp(2.5rem,4vw,3.6rem);
line-height:1.05;
font-weight:900;
letter-spacing:-.03em;
margin-bottom:20px;
}

.hero-title span{
color:var(--accent);
}

.hero-desc{
max-width:520px;
color:var(--muted);
margin-bottom:26px;
font-size:1.05rem;
}

.hero-buttons{
display:flex;
gap:14px;
margin-bottom:30px;
flex-wrap:wrap;
}

.hero-btn-primary{
font-size:1rem;
padding:14px 22px;
}

.hero-trust{
display:flex;
gap:28px;
flex-wrap:wrap;
}

.trust-item strong{
display:block;
font-size:1.4rem;
font-weight:900;
}

.trust-item span{
font-size:.8rem;
color:var(--muted);
}

.hero-right{
display:flex;
justify-content:center;
}

.hero-dashboard{
width:100%;
max-width:320px;
border-radius:22px;
border:1px solid var(--line);
background:linear-gradient(180deg,#141922,#0f1318);
padding:24px;
box-shadow:0 20px 60px rgba(0,0,0,.4);
}

.hero-dash-title{
font-size:.85rem;
letter-spacing:.08em;
text-transform:uppercase;
color:var(--muted);
margin-bottom:16px;
font-weight:700;
}

.hero-dash-stat{
display:flex;
justify-content:space-between;
margin-bottom:16px;
}

.hero-dash-stat strong{
font-size:1.4rem;
}

.hero-dash-progress{
margin-bottom:14px;
}

.hero-dash-progress label{
display:block;
font-size:.8rem;
color:var(--muted);
margin-bottom:4px;
}

.hero-dash-progress div{
height:10px;
border-radius:999px;
background:#1a2028;
overflow:hidden;
}

.hero-dash-progress i{
display:block;
height:100%;
border-radius:999px;
background:linear-gradient(90deg,var(--accent),var(--accent-2));
animation:progressGlow 2s ease;
}

.hero-dash-bottom{
margin-top:18px;
display:flex;
justify-content:space-between;
padding-top:12px;
border-top:1px solid var(--line);
font-size:.9rem;
}

.hero-dash-bottom strong{
color:var(--accent);
}

@keyframes progressGlow{
from{width:0}
}

@media(max-width:900px){

.hero-grid{
grid-template-columns:1fr;
}

.hero-pro{
padding:40px 26px;
}

.hero-right{
margin-top:10px;
}

}

.hero-pro--photo {
  position: relative;
  isolation: isolate;
  min-height: 560px;
  padding: 64px 48px;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,.08);
  background:
    linear-gradient(135deg, rgba(7,10,12,.82) 0%, rgba(7,10,12,.60) 42%, rgba(7,10,12,.72) 100%);
  box-shadow:
    0 24px 80px rgba(0,0,0,.48),
    inset 0 1px 0 rgba(255,255,255,.04);
}

.hero-photo-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(6,9,11,.78) 0%, rgba(6,9,11,.34) 45%, rgba(6,9,11,.72) 100%),
    url('/assets/img/hero-gym.png') center center / cover no-repeat;
  transform: scale(1.02);
}

.hero-photo-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 78% 18%, rgba(156,255,46,.14), transparent 24%),
    radial-gradient(circle at 14% 88%, rgba(156,255,46,.10), transparent 28%),
    linear-gradient(180deg, rgba(0,0,0,.12), rgba(0,0,0,.26));
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  z-index: 1;
  border-radius: 999px;
  filter: blur(60px);
  pointer-events: none;
}

.hero-glow--one {
  width: 280px;
  height: 280px;
  right: -40px;
  top: 40px;
  background: rgba(156,255,46,.14);
}

.hero-glow--two {
  width: 240px;
  height: 240px;
  left: -30px;
  bottom: -20px;
  background: rgba(156,255,46,.10);
}

.hero-pro--photo .hero-grid,
.hero-pro--photo .hero-left,
.hero-pro--photo .hero-right {
  position: relative;
  z-index: 2;
}

.hero-pro--photo .hero-title {
  text-shadow: 0 8px 30px rgba(0,0,0,.42);
}

.hero-pro--photo .hero-desc {
  max-width: 560px;
  color: #d7dde5;
}

.hero-pro--photo .hero-kicker {
  color: var(--accent);
  text-shadow: 0 4px 16px rgba(0,0,0,.36);
}

.hero-dashboard--floating {
  position: relative;
  backdrop-filter: blur(10px);
  background: linear-gradient(180deg, rgba(20,25,34,.88), rgba(15,19,24,.92));
  border: 1px solid rgba(255,255,255,.08);
  box-shadow:
    0 24px 60px rgba(0,0,0,.48),
    0 0 0 1px rgba(156,255,46,.06);
}

.hero-dashboard--floating::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 22px;
  padding: 1px;
  background: linear-gradient(180deg, rgba(156,255,46,.22), rgba(255,255,255,0));
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}

.hero-dashboard--floating .hero-dash-progress div {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.05);
}

.hero-dashboard--floating .hero-dash-progress i {
  box-shadow: 0 0 18px rgba(156,255,46,.28);
}

.hero-pro--photo .hero-buttons .btn {
  backdrop-filter: blur(6px);
}

.hero-pro--photo .btn-secondary {
  background: rgba(22,28,35,.72);
  border-color: rgba(255,255,255,.08);
}

@media (max-width: 980px) {
  .hero-pro--photo {
    min-height: auto;
    padding: 40px 24px;
  }

  .hero-photo-bg {
    background-position: 62% center;
  }

  .hero-glow--one {
    width: 180px;
    height: 180px;
    right: -20px;
    top: 20px;
  }

  .hero-glow--two {
    width: 160px;
    height: 160px;
    left: -20px;
    bottom: -10px;
  }
}

.footer-social{
display:flex;
flex-direction:column;
gap:14px;
}

.social-links{
display:flex;
gap:12px;
}

.social-links a{
width:40px;
height:40px;

display:flex;
align-items:center;
justify-content:center;

border-radius:10px;

border:1px solid var(--line);
background:#12171d;

transition:.2s;
}

.social-links a:hover{
border-color:var(--accent);
background:rgba(156,255,46,.08);
transform:translateY(-2px);
}

.social-links svg{
width:18px;
height:18px;
fill:var(--text);
}

.social-links a:hover svg{
fill:var(--accent);
}
.footer-social {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.social-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.social-links a {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #12171d;
  transition: .2s;
}

.social-links a:hover {
  border-color: var(--accent);
  background: rgba(156,255,46,.08);
  transform: translateY(-2px);
}

.social-links svg {
  width: 18px;
  height: 18px;
  fill: var(--text);
}

.social-links a:hover svg {
  fill: var(--accent);
}

.admin-sidebar {
  position: sticky;
  top: 96px;
}

.admin-nav {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.admin-nav a {
  display: block;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #12171d;
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
  transition: .2s;
}

.admin-nav a:hover {
  border-color: rgba(156,255,46,.35);
  color: var(--accent);
  background: rgba(156,255,46,.05);
}

.admin-nav a.is-active,
.admin-nav a[aria-current="page"] {
  color: var(--accent);
  border-color: rgba(156,255,46,.35);
  background: rgba(156,255,46,.08);
}

.admin-quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
}

@media (max-width: 980px) {
  .admin-sidebar {
    position: static;
    top: auto;
  }
}

.admin-shell {
  width: min(100% - 24px, var(--maxw));
  margin: 24px auto;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.admin-sidebar {
  position: sticky;
  top: 96px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.01)), var(--card);
  box-shadow: var(--shadow);
  padding: 18px;
  z-index: 20;
}

.admin-sidebar__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.admin-sidebar__header h3 {
  margin: 0;
}

.admin-sidebar__close {
  display: none;
  width: 40px;
  height: 40px;
  min-height: 40px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #151a21;
  color: var(--text);
  font-size: 1.5rem;
  line-height: 1;
  box-shadow: none;
}

.admin-nav {
  display: grid;
  gap: 10px;
}

.admin-nav a {
  display: block;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #12171d;
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
  transition: .2s;
}

.admin-nav a:hover {
  border-color: rgba(156,255,46,.35);
  color: var(--accent);
  background: rgba(156,255,46,.05);
}

.admin-nav a.is-active,
.admin-nav a[aria-current="page"] {
  color: var(--accent);
  border-color: rgba(156,255,46,.35);
  background: rgba(156,255,46,.08);
}

.admin-content {
  min-width: 0;
}

.admin-mobile-bar {
  display: none;
  margin-bottom: 14px;
}

.admin-mobile-toggle {
  width: 100%;
}

.admin-drawer-backdrop {
  display: none;
}

.admin-quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
}

@media (max-width: 980px) {
  .admin-shell {
    grid-template-columns: 1fr;
  }

  .admin-mobile-bar {
    display: block;
  }

  .admin-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: min(86vw, 320px);
    height: 100vh;
    border-radius: 0 18px 18px 0;
    transform: translateX(-100%);
    transition: transform .24s ease;
    z-index: 1200;
    overflow-y: auto;
    padding-top: 20px;
  }

  .admin-sidebar__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .admin-drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.58);
    opacity: 0;
    pointer-events: none;
    transition: opacity .22s ease;
    z-index: 1190;
    display: block;
  }

  body.admin-drawer-open .admin-sidebar {
    transform: translateX(0);
  }

  body.admin-drawer-open .admin-drawer-backdrop {
    opacity: 1;
    pointer-events: auto;
  }
}

.moderation-table-wrap {
  overflow-x: auto;
}

.moderation-table {
  width: 100%;
  min-width: 1180px;
  table-layout: fixed;
}

.moderation-table th,
.moderation-table td {
  vertical-align: top;
}

.moderation-table .col-id {
  width: 52px;
}

.moderation-table .col-user {
  width: 170px;
}

.moderation-table .col-post {
  width: 320px;
}

.moderation-table .col-status {
  width: 110px;
}

.moderation-table .col-reports {
  width: 80px;
}

.moderation-table .col-latest-report {
  width: 170px;
}

.moderation-table .col-date {
  width: 120px;
}

.moderation-table .col-actions {
  width: 160px;
}

.moderation-user {
  display: grid;
  gap: 4px;
}

.moderation-user strong {
  display: block;
  line-height: 1.25;
  word-break: break-word;
}

.moderation-user span {
  display: block;
  color: var(--muted);
  font-size: .85rem;
  line-height: 1.35;
  word-break: break-word;
}

.moderation-post-content {
  line-height: 1.45;
  word-break: break-word;
  white-space: normal;
}

.moderation-report {
  display: grid;
  gap: 4px;
}

.moderation-report strong {
  display: block;
  line-height: 1.25;
}

.moderation-report span {
  display: block;
  color: var(--muted);
  font-size: .85rem;
  line-height: 1.35;
  word-break: break-word;
}

.moderation-actions {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.moderation-actions form {
  margin: 0;
}

.moderation-actions button {
  width: 100%;
}

@media (max-width: 980px) {
  .moderation-table {
    min-width: 1080px;
  }
}

.moderation-report-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.moderation-report-list h4 {
  margin: 0;
  font-size: .95rem;
}

.moderation-report-item {
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.02);
}

.moderation-report-item strong {
  display: block;
  margin-bottom: 6px;
  line-height: 1.25;
  word-break: break-word;
}

.col-8 { grid-column: span 8; }

@media (max-width: 980px) {
  .col-8 {
    grid-column: span 12;
  }
}

.community-post-card {
  overflow: hidden;
}

.community-post-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.community-author-wrap {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  min-width: 0;
}

.community-avatar {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(156,255,46,.08);
  border: 1px solid rgba(156,255,46,.18);
  color: var(--accent);
  font-weight: 900;
  flex-shrink: 0;
}

.community-author-meta {
  min-width: 0;
}

.community-author-name {
  font-weight: 800;
  line-height: 1.25;
  word-break: break-word;
}

.community-post-body {
  margin-top: 18px;
  line-height: 1.8;
  word-break: break-word;
  white-space: normal;
}

.community-post-actions {
  margin-top: 18px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.community-post-actions form {
  margin: 0;
}

@media (max-width: 980px) {
  .community-post-head {
    align-items: stretch;
  }

  .community-post-actions {
    gap: 10px;
  }
}

.community-layout {
  width: min(100% - 24px, var(--maxw));
  margin: 24px auto;
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.community-sidebar {
  min-width: 0;
}

.community-main {
  min-width: 0;
}

.community-group-list {
  display: grid;
  gap: 10px;
}

.community-topbar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.community-filter-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.community-create-form {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.community-post-card {
  overflow: hidden;
}

.community-post-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.community-author-wrap {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  min-width: 0;
  flex: 1 1 420px;
}

.community-avatar {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(156,255,46,.08);
  border: 1px solid rgba(156,255,46,.18);
  color: var(--accent);
  font-weight: 900;
  flex-shrink: 0;
}

.community-author-meta {
  min-width: 0;
}

.community-author-name {
  font-weight: 800;
  line-height: 1.25;
  word-break: break-word;
}

.community-stats {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.community-post-body {
  margin-top: 18px;
  line-height: 1.8;
  word-break: break-word;
  white-space: normal;
}

.community-post-actions {
  margin-top: 18px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.community-post-actions form {
  margin: 0;
}

@media (max-width: 980px) {
  .community-layout {
    grid-template-columns: 1fr;
  }

  .community-topbar {
    align-items: stretch;
  }

  .community-filter-buttons,
  .community-post-actions,
  .community-stats {
    gap: 10px;
  }
}

.fdp-page {
  background: #0f1115;
  color: #f3f5f7;
  min-height: 100vh;
}

.container {
  width: min(1280px, 94%);
  margin: 0 auto;
  padding: 24px 0 48px;
}

.fdp-toolbar,
.fdp-grid-layout,
.fdp-week-grid,
.fdp-favorites-list,
.fdp-shopping-list {
  display: grid;
  gap: 16px;
}

.fdp-toolbar {
  grid-template-columns: 1fr auto;
  align-items: center;
  margin-bottom: 24px;
}

.fdp-toolbar-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.fdp-grid-layout {
  grid-template-columns: 340px 1fr;
}

.fdp-sidebar-card,
.fdp-main-card,
.fdp-day-card {
  background: #171a21;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,.18);
}

.fdp-week-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.fdp-day-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.fdp-slot-block {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 12px;
  margin-top: 12px;
}

.fdp-slot-title {
  font-size: 14px;
  font-weight: 700;
  opacity: .9;
  margin-bottom: 10px;
}

.fdp-empty {
  font-size: 14px;
  opacity: .65;
}

.fdp-plan-item,
.fdp-favorite-item,
.fdp-shopping-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  background: #11141a;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 14px;
  padding: 12px;
}

.fdp-shopping-item.is-checked {
  opacity: .7;
  text-decoration: line-through;
}

.fdp-shopping-item.is-home {
  border-color: rgba(94, 234, 212, .35);
}

.fdp-plan-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.fdp-plan-macros,
.fdp-shopping-qty {
  font-size: 13px;
  opacity: .75;
  margin-top: 4px;
}

.fdp-inline-form {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.fdp-inline-form input,
.fdp-inline-form select {
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.12);
  background: #0e1117;
  color: #fff;
  padding: 10px 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  padding: 10px 14px;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,.12);
  background: #232833;
  color: #fff;
  cursor: pointer;
}

.btn-primary {
  background: #4f46e5;
  border-color: #4f46e5;
}

.btn-danger {
  background: #b91c1c;
  border-color: #b91c1c;
}

.fdp-link {
  color: #93c5fd;
  text-decoration: none;
  font-size: 14px;
}

@media (max-width: 980px) {
  .fdp-grid-layout,
  .fdp-toolbar,
  .fdp-week-grid {
    grid-template-columns: 1fr;
  }
}

.fdp-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.fdp-toolbar-actions,
.fdp-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.fdp-recipe-picker,
.fdp-shopping-list {
  display: grid;
  gap: 14px;
}

.fdp-week-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.fdp-day-card,
.fdp-mini-card,
.fdp-plan-item {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
  background: rgba(255,255,255,0.02);
}

.fdp-day-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.fdp-slot-block {
  border-top: 1px solid var(--line);
  margin-top: 12px;
  padding-top: 12px;
}

.fdp-slot-title {
  font-weight: 700;
  margin-bottom: 8px;
}

.fdp-empty,
.fdp-meta {
  opacity: .75;
  font-size: 14px;
}

.fdp-form-stack {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.fdp-form-stack input,
.fdp-form-stack select,
.fdp-form-stack textarea {
  width: 100%;
  box-sizing: border-box;
}

@media (max-width: 980px) {
  .fdp-week-grid {
    grid-template-columns: 1fr;
  }
}