/* ============================================================
   Miau — Site de prezentare
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --pink:       #E8A0BF;
  --pink-dark:  #C4607A;
  --pink-light: #FFF0F6;
  --teal:       #4A9B8E;
  --teal-light: #EAF6F4;
  --text:       #1E3230;
  --text-light: #6A8C88;
  --border:     #DDF0ED;
  --bg:         #F5FAFA;
  --white:      #FFFFFF;
  --warning:    #FFD060;
  --radius:     14px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
}

.container {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 20px;
}

a { color: var(--pink-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Header ── */
header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.header-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.header-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-light);
  padding: 6px 10px;
  border-radius: 8px;
  transition: color 0.15s, background 0.15s;
}
.header-link:hover { color: var(--text); background: var(--bg); text-decoration: none; }
.header-donate { color: #A07020; }
.header-donate:hover { background: #FFF8EC; color: #7A5500; }
.lang-switch {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-light);
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid var(--border, #ddd);
  transition: color 0.15s, background 0.15s;
}
.lang-switch:hover { color: var(--text); background: var(--bg); text-decoration: none; }

.btn-primary.btn-guides { background: var(--teal); }
.btn-primary.btn-coffee { background: #C4922A; }

@media (max-width: 700px) {
  .header-nav { gap: 6px; }
  .header-nav .btn-primary { font-size: 13px; padding: 8px 12px; }
}
.logo {
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
}

/* ── Buttons ── */
.btn-primary {
  background: var(--pink-dark);
  color: white;
  padding: 10px 20px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 15px;
  display: inline-block;
  transition: opacity 0.15s;
}
.btn-primary:hover { opacity: 0.88; text-decoration: none; }

.btn-outline {
  background: white;
  color: var(--text);
  padding: 10px 20px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  border: 2px solid var(--border);
  display: inline-block;
  transition: border-color 0.15s;
}
.btn-outline:hover { border-color: var(--pink); text-decoration: none; }

.btn-large { padding: 14px 28px; font-size: 17px; border-radius: 12px; }

/* ── Hero ── */
.hero {
  padding: 64px 0 56px;
  text-align: center;
  background: linear-gradient(180deg, var(--pink-light) 0%, var(--white) 100%);
}
.hero-badge {
  display: inline-block;
  background: var(--teal-light);
  color: var(--teal);
  font-size: 13px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
  letter-spacing: 0.3px;
}
.hero h1 {
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--text);
}
.hero-sub {
  font-size: 18px;
  color: var(--text-light);
  max-width: 560px;
  margin: 0 auto 32px;
  line-height: 1.65;
}
.hero-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.hero-note {
  font-size: 13px;
  color: var(--text-light);
}

/* ── Features ── */
.features {
  padding: 64px 0;
  background: var(--bg);
}
.features h2, .install h2, .guides h2 {
  font-size: 28px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 36px;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--border);
}
.feature-icon { font-size: 32px; margin-bottom: 12px; }
.feature-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: var(--text-light); line-height: 1.6; }

/* ── Disclaimer ── */
.disclaimer { padding: 0 0 48px; }
.disclaimer-box {
  background: #FFF8EC;
  border: 1px solid var(--warning);
  border-radius: var(--radius);
  padding: 16px 20px;
  font-size: 14px;
  color: #7A5500;
  line-height: 1.6;
}

/* ── Install ── */
.install { padding: 64px 0; }
.install-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}
.install-card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--border);
  text-align: center;
}
.install-icon { font-size: 40px; margin-bottom: 12px; }
.install-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.install-card p { font-size: 14px; color: var(--text-light); margin-bottom: 14px; }
.link-more { font-size: 14px; font-weight: 600; color: var(--pink-dark); }

/* ── Guides ── */
.guides { padding: 64px 0; background: var(--bg); }
.guides-list { display: flex; flex-direction: column; gap: 10px; }
.guide-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  transition: border-color 0.15s;
}
.guide-item:hover { border-color: var(--pink); text-decoration: none; }
.guide-icon { font-size: 28px; flex-shrink: 0; }
.guide-item div { flex: 1; }
.guide-item strong { display: block; font-size: 15px; color: var(--text); margin-bottom: 2px; }
.guide-item span { font-size: 13px; color: var(--text-light); }
.guide-arrow { font-size: 18px; color: var(--text-light); }

/* ── Donate ── */
.donate { padding: 64px 0; }
.donate-box {
  background: linear-gradient(135deg, #FFF8EC, #FFF0DC);
  border: 1px solid var(--warning);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.donate-text { flex: 1; min-width: 240px; }
.donate-text h3 { font-size: 20px; font-weight: 700; color: #7A5500; margin-bottom: 8px; }
.donate-text p { font-size: 14px; color: #A07020; line-height: 1.6; }
.btn-donate {
  background: white;
  border: 2px solid var(--warning);
  color: #7A5500;
  font-weight: 700;
  font-size: 16px;
  padding: 14px 28px;
  border-radius: 12px;
  white-space: nowrap;
  transition: background 0.15s;
}
.btn-donate:hover { background: #FFF8EC; text-decoration: none; }

/* ── Contact / Feedback ── */
.contact { padding: 48px 0; background: var(--bg); }
.contact-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.contact-icon { font-size: 40px; flex-shrink: 0; }
.contact-text { flex: 1; min-width: 220px; }
.contact-text h3 { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.contact-text p { font-size: 14px; color: var(--text-light); line-height: 1.6; margin: 0; }
@media (max-width: 600px) {
  .contact-box { flex-direction: column; text-align: center; }
  .contact-box .btn-donate { width: 100%; text-align: center; }
}

/* ── Footer ── */
footer {
  padding: 32px 0;
  border-top: 1px solid var(--border);
  text-align: center;
}
footer p { font-size: 14px; color: var(--text-light); }
footer a { color: var(--pink-dark); }
.footer-note { margin-top: 6px; font-size: 13px; }

/* ── Ghid pages ── */
.page-header {
  background: linear-gradient(180deg, var(--pink-light) 0%, var(--white) 100%);
  padding: 48px 0 40px;
  border-bottom: 1px solid var(--border);
}
.page-header .back {
  display: inline-block;
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 16px;
}
.page-header h1 { font-size: clamp(22px, 4vw, 36px); font-weight: 800; }
.page-header p { font-size: 16px; color: var(--text-light); margin-top: 8px; }

.content { padding: 48px 0 64px; }
.content h2 {
  font-size: 20px;
  font-weight: 700;
  margin: 36px 0 12px;
  padding-top: 8px;
  border-top: 2px solid var(--border);
}
.content h2:first-child { border-top: none; margin-top: 0; }
.content p { font-size: 15px; color: var(--text); margin-bottom: 12px; line-height: 1.7; }
.content ol, .content ul {
  padding-left: 22px;
  margin-bottom: 16px;
}
.content li { font-size: 15px; line-height: 1.8; color: var(--text); }
.content strong { color: var(--text); }
.content a { color: var(--pink-dark); font-weight: 600; }

.note-box {
  background: #FFF8EC;
  border: 1px solid var(--warning);
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 14px;
  color: #7A5500;
  margin: 16px 0;
  line-height: 1.6;
}
.warning-box {
  background: #FFF0F0;
  border: 1px solid #F5B0B0;
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 14px;
  color: #C00000;
  margin: 16px 0;
}
.code-box {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 16px;
  font-family: 'Courier New', monospace;
  font-size: 14px;
  color: var(--text);
  margin: 8px 0 16px;
  white-space: pre-wrap;
  word-break: break-all;
}

.var-table { width: 100%; border-collapse: collapse; margin: 12px 0 20px; font-size: 14px; }
.var-table th {
  background: var(--bg);
  padding: 10px 14px;
  text-align: left;
  font-weight: 700;
  border-bottom: 2px solid var(--border);
}
.var-table td { padding: 9px 14px; border-bottom: 1px solid var(--border); }
.var-table td:first-child { font-family: monospace; color: var(--pink-dark); }

/* ── FAQ ── */
.faq { padding: 64px 0; }
.faq-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 48px; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  background: var(--white);
}
.faq-q {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}
.faq-a {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
}

/* ── Povestea Miau ── */
.miau-story {
  background: linear-gradient(135deg, var(--pink-light), var(--teal-light));
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid var(--border);
}
.miau-story p {
  font-size: 15px;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 16px;
}
.miau-story p:last-child { margin-bottom: 0; }

@media (max-width: 600px) {
  .hero { padding: 40px 0 36px; }
  .features, .install, .guides, .donate { padding: 40px 0; }
  .donate-box { flex-direction: column; text-align: center; }
  .btn-donate { width: 100%; text-align: center; }
}
