* { margin:0; padding:0; box-sizing:border-box }
html { scroll-behavior: smooth }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; background: #FFF8E1; color: #3E2723; line-height: 1.6 }
.container { max-width: 1000px; margin: 0 auto; padding: 0 20px }

.hero { position: relative; background: url('https://i.pinimg.com/originals/d6/7c/f1/d67cf121a20b98cec491f9deee900618.png') center/cover no-repeat; color: #fff; padding: 50px 20px; text-align: center }
.hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(61,33,19,.92), rgba(93,64,55,.85)); z-index: 1 }
.hero > * { position: relative; z-index: 2 }
.hero-inner { display: flex; align-items: center; justify-content: center; gap: 24px; max-width: 900px; margin: 0 auto; text-align: left }
.hero-icon { flex-shrink: 0 }
.hero .app-icon { width: 130px; height: 130px; border-radius: 28px; box-shadow: 0 8px 30px rgba(0,0,0,.35) }
.hero-text { flex: 1; min-width: 0 }
.hero h1 { font-size: 2em; margin-bottom: 4px; text-shadow: 0 2px 10px rgba(0,0,0,.3) }
.hero p { font-size: .92em; opacity: .95; margin-bottom: 14px; text-shadow: 0 1px 4px rgba(0,0,0,.3); line-height: 1.45 }
.hero .btn-row { display: flex; gap: 6px; flex-wrap: wrap }
.btn { display: inline-block; padding: 10px 18px; background: #E65100; color: #fff; text-decoration: none; border-radius: 8px; font-weight: bold; font-size: .92em; transition: all .2s; white-space: nowrap }
.btn:hover { background: #BF360C; transform: translateY(-1px) }

section { padding: 60px 0 }
section h2 { font-size: 2em; text-align: center; margin-bottom: 10px; color: #5D4037 }
section .sub { text-align: center; color: #8D6E63; margin-bottom: 40px; font-size: 1.1em }
.get-apk { background: linear-gradient(135deg, #5D4037, #4E342E); color: #fff; text-align: center; padding: 50px 20px }
.get-apk h2 { color: #fff; margin-bottom: 8px }
.get-apk .sub { color: #D7CCC8; margin-bottom: 24px }
footer { background: #3E2723; color: #BCAAA4; text-align: center; padding: 24px 20px; font-size: .85em; line-height: 1.7 }
footer .footer-inner { max-width: 700px; margin: 0 auto }
footer a { color: #D7CCC8; text-decoration: none }
footer a:hover { color: #fff; text-decoration: underline }
footer .footer-divider { color: #5D4037; margin: 0 6px }

/* Screenshots */
.screens-row { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; align-items: flex-start }
.screen-wrap { text-align: center; flex: 0 0 280px }
.screen-wrap h4 { margin: 12px 0 4px; color: #5D4037; font-size: 1em }
.screen-wrap .desc { font-size: .82em; color: #8D6E63; margin-bottom: 8px }

.phone { width: 270px; height: 520px; background: #fff; border-radius: 28px; border: 3px solid #3E2723; margin: 0 auto; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 8px 30px rgba(0,0,0,.15); position: relative }
.phone .notch { height: 20px; background: #5D4037 }
.phone .topbar { background: #5D4037; color: #fff; padding: 8px 12px; display: flex; align-items: center; gap: 8px; font-size: .75em; font-weight: bold }
.phone .topbar .icon { width: 18px; height: 18px; background: #D7CCC8; border-radius: 4px; aspect-ratio: 1 }
.phone .topbar .menu-dots { margin-left: auto; letter-spacing: 2px; opacity: .7 }
.phone .content { flex: 1; overflow-y: auto; padding: 10px; display: flex; flex-direction: column; gap: 7px; font-size: .68em; text-align: left }
.phone .btn-bar { padding: 8px 10px; border-top: 1px solid #eee; display: flex; justify-content: center }

.pcard { background: #fff; border-radius: 10px; padding: 10px; box-shadow: 0 1px 3px rgba(0,0,0,.1); border: 1px solid #f0ece8; position: relative }
.pcard .top { display: flex; justify-content: space-between; align-items: center }
.pcard .title { font-weight: bold; font-size: .9em; color: #3E2723 }
.pcard .chip { display: inline-block; padding: 2px 6px; border-radius: 4px; font-size: .75em; font-weight: bold }
.pcard .chip.salting { background: #FFF3E0; color: #E65100 }
.pcard .chip.curing { background: #FFF9C4; color: #FBC02D }
.pcard .chip.done { background: #E8F5E9; color: #388E3C }
.pcard .chip.eaten { background: #eee; color: #9E9E9E }
.pcard .info { color: #8D6E63; margin-top: 3px; font-size: .82em }
.pcard .green { color: #388E3C }
.pcard .yellow { color: #FBC02D }
.pcard.dim { opacity: .5 }

.inp { border: 1px solid #ccc; border-radius: 6px; padding: 6px 8px; font-size: .75em; color: #888; background: #fafafa }
.inp-label { font-size: .72em; color: #8D6E63; margin-bottom: 2px; margin-top: 4px }

.ing-row { display: flex; align-items: center; gap: 6px; padding: 6px; border-radius: 6px; font-size: .75em }
.ing-row.sel { background: #F5E6D3 }
.check { width: 14px; height: 14px; border: 2px solid #5D4037; border-radius: 3px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 10px; color: #5D4037 }
.ing-name { flex: 1; font-weight: 500 }
.ing-grams { color: #5D4037; font-weight: bold }
.ing-pct { color: #8D6E63; font-size: .7em }

.prog-bar { height: 8px; background: #eee; border-radius: 4px; margin-top: 4px }
.prog-fill { height: 8px; background: #FBC02D; border-radius: 4px; width: 95% }
.prog-fill.green { background: #388E3C; width: 100% }

.badge { display: inline-flex; align-items: center; gap: 4px; font-size: .75em; padding: 2px 6px; border-radius: 4px }
.badge.green { background: #E8F5E9; color: #388E3C }
.badge.yellow { background: #FFF9C4; color: #FBC02D }

.mini-img { width: 30px; height: 30px; background: #E0CCC0; border-radius: 5px; flex-shrink: 0 }
.meat-photo { width: 100%; height: 90px; background: linear-gradient(135deg, #D7CCC8, #BCAAA4); border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: 2em; margin-top: 6px }

.chip-row { display: flex; gap: 4px; margin-bottom: 2px }
.chip-tog { flex: 1; text-align: center; padding: 4px 0; border-radius: 6px; font-size: .7em; font-weight: bold; border: 1px solid #ccc; color: #888; background: #fafafa; transition: all .15s }
.chip-tog.active { background: #5D4037; color: #fff; border-color: #5D4037 }

.mode-btns { display: flex; flex-direction: column; gap: 2px; flex-shrink: 0 }
.mode-btn { padding: 2px 8px; border-radius: 4px; font-size: .62em; font-weight: bold; border: 1px solid #ccc; text-align: center; color: #888; background: #fafafa }
.mode-btn.active { background: #5D4037; color: #fff; border-color: #5D4037 }

.total-mass { background: #F5E6D3; border-radius: 8px; padding: 8px 10px; text-align: center }
.total-mass .big { font-size: 1.2em; font-weight: bold; color: #5D4037 }

.method-item { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border: 1px solid #eee; border-radius: 8px; margin-bottom: 4px; font-size: .78em; transition: background .15s }
.method-item.selected { background: #F5E6D3; border-color: #5D4037 }
.method-item .radio { width: 16px; height: 16px; border-radius: 50%; border: 2px solid #5D4037; flex-shrink: 0; position: relative }
.method-item.selected .radio::after { content: ''; width: 8px; height: 8px; background: #5D4037; border-radius: 50%; position: absolute; top: 2px; left: 2px }
.method-item .del { margin-left: auto; color: #ccc; font-size: .9em }

.empty-state { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #BCAAA4; gap: 12px }
.empty-state .icon-big { font-size: 3em; opacity: .5 }

/* Features grid */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px }
.fcard { background: #fff; border-radius: 12px; padding: 24px; box-shadow: 0 2px 10px rgba(0,0,0,.05); border-top: 3px solid #5D4037; transition: transform .2s, box-shadow .2s }
.fcard:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,.1) }
.fcard h3 { font-size: 1.1em; margin-bottom: 6px; color: #5D4037 }
.fcard p { color: #6D4C41; font-size: .9em }

/* Status table */
.stat-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 -10px; padding: 0 10px }
.stat-table { width: 100%; border-collapse: collapse; font-size: .9em; margin: 0 auto; max-width: 700px; min-width: 500px }
.stat-table th { background: #5D4037; color: #fff; padding: 10px 12px; text-align: left; font-size: .85em }
.stat-table td { padding: 10px 12px; border-bottom: 1px solid #f0ece8 }
.stat-table tbody tr:nth-child(even) { background: #faf7f4 }
.stat-table .chip-cell { white-space: nowrap }
.stat-badge { display: inline-block; padding: 3px 10px; border-radius: 4px; font-size: .82em; font-weight: bold }
.stat-badge.salting { background: #FFF3E0; color: #E65100 }
.stat-badge.curing { background: #FFF9C4; color: #FBC02D }
.stat-badge.done { background: #E8F5E9; color: #388E3C }
.stat-badge.eaten { background: #eee; color: #9E9E9E }

/* Lifecycle */
.flow { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px; margin: 24px 0 }
.flow-step { background: #fff; border: 2px solid #5D4037; border-radius: 10px; padding: 8px 14px; font-weight: bold; font-size: .85em; color: #5D4037; transition: transform .2s }
.flow-step:hover { transform: scale(1.05) }
.flow-arr { font-size: 1.3em; color: #8D6E63; font-weight: bold }
.flow-step.salt { border-color: #E65100; color: #E65100; background: #FFF3E0 }
.flow-step.cure { border-color: #FBC02D; color: #FBC02D; background: #FFF9C4 }
.flow-step.don { border-color: #388E3C; color: #388E3C; background: #E8F5E9 }
.flow-step.eat { border-color: #9E9E9E; color: #9E9E9E; background: #f5f5f5 }

/* Install & Upgrade steps */
.install { max-width: 700px; margin: 0 auto }
.install-step { display: flex; gap: 16px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid #f0ece8 }
.install-step:last-child { border-bottom: none }
.install-step .num { width: 36px; height: 36px; background: linear-gradient(135deg, #5D4037, #8D6E63); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: bold; font-size: 1.1em; flex-shrink: 0; box-shadow: 0 2px 6px rgba(93,64,55,.2) }
.install-step h4 { font-size: 1em; color: #3E2723; margin-bottom: 2px }
.install-step p { font-size: .88em; color: #6D4C41 }
.install-step code { background: #f0ece8; padding: 1px 5px; border-radius: 3px; font-size: .92em }

/* PDF doc mock */
.pdf-doc { background: #fff; border: 1px solid #ddd; border-radius: 4px; padding: 12px; font-size: .62em; box-shadow: 0 1px 4px rgba(0,0,0,.1) }
.pdf-doc .pdf-title { font-weight: bold; font-size: 1.1em; color: #3E2723; border-bottom: 1px solid #ccc; padding-bottom: 4px; margin-bottom: 6px }
.pdf-doc .pdf-row { display: flex; justify-content: space-between; padding: 2px 0 }
.pdf-doc .pdf-section { font-weight: bold; font-size: .95em; color: #5D4037; margin-top: 6px; margin-bottom: 2px }
.pdf-doc .pdf-img { width: 100%; height: 50px; background: #D7CCC8; border-radius: 4px; margin: 4px 0; display: flex; align-items: center; justify-content: center; color: #8D6E63; font-size: .8em }

/* Cookie consent */
.cookie-bar { position: fixed; bottom: 0; left: 0; right: 0; background: #3E2723; color: #D7CCC8; padding: 14px 20px; font-size: .82em; z-index: 1000; display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; box-shadow: 0 -2px 12px rgba(0,0,0,.3) }
.cookie-bar p { max-width: 700px; line-height: 1.5 }
.cookie-bar a { color: #FFAB91 }
.cookie-bar .btn { font-size: .82em; padding: 8px 24px; cursor: pointer; border: none }
.cookie-bar .btn:hover { transform: none }

/* Responsive */
@media (max-width: 900px) {
  .screens-row { gap: 24px; justify-content: center }
  .screen-wrap { flex: 1 1 220px; max-width: 280px }
  .flow { gap: 4px }
  .flow-arr { font-size: 1em }
  .hero-inner { gap: 18px }
  .hero h1 { font-size: 1.7em }
  .hero p { font-size: .85em }
  .hero .app-icon { width: 100px; height: 100px }
  .btn { padding: 9px 14px; font-size: .85em }
}
@media (max-width: 700px) {
  .hero { padding: 36px 20px 28px }
  .hero-inner { flex-direction: column; gap: 14px; text-align: center }
  .hero-text { text-align: center }
  .hero .btn-row { justify-content: center }
  .hero .app-icon { width: 80px; height: 80px }
  .btn { font-size: .88em; padding: 10px 16px }
}
@media (max-width: 600px) {
  .hero h1 { font-size: 1.6em }
  .hero .app-icon { width: 72px; height: 72px }
  .btn { font-size: .82em; padding: 9px 13px }
  section { padding: 40px 0 }
  section h2 { font-size: 1.5em }
  section .sub { font-size: .95em; margin-bottom: 24px }
  .features { grid-template-columns: 1fr }
  .install-step { flex-direction: column; gap: 8px }
  .install-step .num { width: 30px; height: 30px; font-size: 1em }
  .phone { width: 240px; height: 460px }
  footer { padding: 20px 15px; font-size: .78em }
}
