/* Rifinhos — support & presentation site
   Colors mirror rifinhos_flutter_app/lib/styles/app_styles.dart (AppColors / AppGradients) */

:root {
  --purple: #9d5cff;
  --purple-dark: #6a2ce0;
  --purple-deep: #4a1f9e;
  --pink: #ff5c9d;
  --mint: #3ce6b0;
  --gold: #ffd56b;
  --coral: #ff8a5c;
  --bg-deep: #1f1248;
  --bg-mid: #34195f;
  --bg-glow: #7b4fd0;
  --text: #ffffff;
  --text-muted: #c9bfe6;
  --card-bg: rgba(255, 255, 255, 0.06);
  --card-border: rgba(255, 255, 255, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Onest", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  color: var(--text);
  background: radial-gradient(
      130% 90% at 50% -8%,
      var(--bg-glow) 0%,
      var(--bg-mid) 46%,
      var(--bg-deep) 100%
    )
    fixed;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

.wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
header.site {
  padding: 22px 0;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
  text-decoration: none;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
}

.nav-links {
  display: flex;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  color: var(--text-muted);
  transition: color 0.15s ease;
}

.nav-links a:hover {
  color: var(--text);
}

/* Hero */
.hero {
  padding: 56px 0 40px;
  text-align: center;
}

.hero img.logo {
  width: 96px;
  height: 96px;
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(106, 44, 224, 0.45);
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(30px, 5vw, 48px);
  font-weight: 900;
  letter-spacing: -1px;
  margin: 0 0 14px;
  line-height: 1.1;
}

.hero p.lead {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

/* Store badges */
.stores {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.store-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  border: 1px solid var(--card-border);
  background: var(--card-bg);
  color: var(--text);
  transition: transform 0.15s ease, background 0.15s ease;
}

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

.store-btn.primary {
  background: linear-gradient(135deg, var(--purple), var(--pink));
  border-color: transparent;
}

.store-btn.disabled {
  opacity: 0.55;
  cursor: default;
  pointer-events: none;
}

.store-btn .glyph {
  font-size: 20px;
  line-height: 1;
}

.store-btn .label small {
  display: block;
  font-weight: 500;
  font-size: 10.5px;
  color: var(--text-muted);
}

/* Features */
.features {
  padding: 40px 0 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.feature {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 22px;
}

.feature .icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 14px;
}

.feature h3 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 800;
}

.feature p {
  margin: 0;
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.55;
}

.icon.purple {
  background: linear-gradient(135deg, var(--purple), var(--purple-dark));
}
.icon.gold {
  background: linear-gradient(135deg, var(--gold), #f0a01e);
  color: #3a2400;
}
.icon.mint {
  background: linear-gradient(135deg, #54f0c0, #15b98a);
  color: #08362a;
}
.icon.coral {
  background: linear-gradient(135deg, var(--coral), #ff5c5c);
}

/* Sections */
section.block {
  padding: 40px 0;
}

section.block h2 {
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -0.5px;
  margin: 0 0 8px;
}

section.block p.sub {
  color: var(--text-muted);
  margin: 0 0 28px;
  font-size: 14.5px;
}

/* Support contact card */
.contact-card {
  background: linear-gradient(135deg, #a06bff, #6a2ce0 55%, #4a1f9e);
  border-radius: 20px;
  padding: 26px;
  box-shadow: 0 20px 50px rgba(106, 44, 224, 0.35);
  margin-bottom: 28px;
}

.contact-card h3 {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 800;
}

.contact-card p {
  margin: 0 0 16px;
  color: #ede4ff;
  font-size: 13.5px;
}

.email-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--purple-dark);
  font-weight: 800;
  font-size: 13.5px;
  padding: 12px 20px;
  border-radius: 14px;
  text-decoration: none;
}

/* FAQ */
.faq {
  border: 1px solid var(--card-border);
  border-radius: 18px;
  overflow: hidden;
  background: var(--card-bg);
}

.faq details {
  border-bottom: 1px solid var(--card-border);
}

.faq details:last-child {
  border-bottom: none;
}

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 17px 20px;
  font-weight: 700;
  font-size: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  font-size: 18px;
  font-weight: 800;
  color: var(--text-muted);
  flex-shrink: 0;
}

.faq details[open] summary::after {
  content: "\2212";
  color: var(--purple);
}

.faq .answer {
  padding: 0 20px 18px;
  color: var(--text-muted);
  font-size: 13.5px;
  line-height: 1.6;
}

/* Footer */
footer.site {
  padding: 40px 0 60px;
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
}

footer.site a {
  color: var(--text-muted);
  text-decoration: underline;
}

footer.site .links {
  margin-top: 10px;
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
}
