/* Amii — site vitrine amiiapp.com */
:root {
  --orange: #FF8C42;
  --orange-dark: #E06B00;
  --orange-soft: #FFF3E8;
  --green: #7FB069;
  --bg: #F7F4F0;
  --bg-alt: #FFFFFF;
  --text: #1A1A1A;
  --text-muted: #6B7280;
  --border: #E5E7EB;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 8px 40px rgba(0, 0, 0, 0.08);
  --max: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

img { max-width: 100%; height: auto; display: block; }

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

.container { width: min(100% - 32px, var(--max)); margin-inline: auto; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}
.brand:hover { text-decoration: none; }
.brand img { height: 40px; width: auto; }
.brand-name { font-size: 1.5rem; font-weight: 800; color: var(--orange); letter-spacing: -0.5px; }

.site-nav { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.site-nav a {
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 10px;
  text-decoration: none;
}
.site-nav a:hover { background: var(--orange-soft); color: var(--orange-dark); text-decoration: none; }
.site-nav a.active { background: var(--orange-soft); color: var(--orange-dark); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 1.1rem;
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, transform 0.1s;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-dark); color: #fff; }
.btn-outline { background: #fff; color: var(--orange); border: 2px solid var(--orange); }
.btn-outline:hover { background: var(--orange-soft); color: var(--orange-dark); }

/* Hero */
.hero {
  padding: 64px 0 48px;
  text-align: center;
}
.hero-badge {
  display: inline-block;
  background: var(--orange-soft);
  color: var(--orange-dark);
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 6px 16px;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  max-width: 18ch;
  margin-inline: auto;
}
.hero-lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 52ch;
  margin: 0 auto 32px;
}
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 40px; }

.store-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; align-items: center; }
.store-btn {
  display: flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
}
.store-btn:hover { text-decoration: none; opacity: 0.92; }
.store-btn img { height: 40px; width: auto; }
.store-btn-play img { height: 60px; }
.store-label { font-size: 10px; color: #aaa; line-height: 1; }
.store-name { font-weight: 700; font-size: 15px; line-height: 1.3; }

/* Sections */
.section { padding: 56px 0; }
.section-alt { background: var(--bg-alt); }
.section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  text-align: center;
  margin-bottom: 12px;
}
.section-lead {
  text-align: center;
  color: var(--text-muted);
  max-width: 56ch;
  margin: 0 auto 40px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  align-items: center;
}

.card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 28px;
  border: 1px solid var(--border);
}
.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--orange-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
}
.card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.card p { color: var(--text-muted); font-size: 0.95rem; }

.pro-banner {
  background: linear-gradient(135deg, #1A1A1A 0%, #2d2d2d 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
}
.pro-banner h2 { font-size: 1.6rem; margin-bottom: 8px; }
.pro-banner p { color: #ccc; max-width: 48ch; }
.pro-badge {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}

/* Legal pages */
.page-hero {
  padding: 48px 0 24px;
  border-bottom: 1px solid var(--border);
  background: #fff;
  margin-bottom: 32px;
}
.page-hero h1 { font-size: clamp(1.75rem, 4vw, 2.25rem); margin-bottom: 8px; }
.page-meta { color: var(--text-muted); font-size: 0.9rem; }

.legal-content {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 32px;
  margin-bottom: 48px;
}
.legal-content h2 {
  font-size: 1.15rem;
  margin: 28px 0 12px;
  color: var(--text);
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content p, .legal-content li {
  color: var(--text-muted);
  margin-bottom: 12px;
  font-size: 0.95rem;
}
.legal-content ul { padding-left: 1.25rem; margin-bottom: 16px; }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}
.contact-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.contact-card h3 { margin-bottom: 8px; font-size: 1rem; }
.contact-card p { color: var(--text-muted); font-size: 0.9rem; }

/* Footer */
.site-footer {
  background: #1A1A1A;
  color: #aaa;
  padding: 48px 0 32px;
  margin-top: auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 32px;
  margin-bottom: 32px;
}
.footer-grid h4 { color: #fff; font-size: 0.9rem; margin-bottom: 12px; }
.footer-grid a {
  display: block;
  color: #aaa;
  font-size: 0.9rem;
  margin-bottom: 8px;
  text-decoration: none;
}
.footer-grid a:hover { color: var(--orange); text-decoration: none; }
.footer-bottom {
  border-top: 1px solid #333;
  padding-top: 24px;
  font-size: 0.85rem;
  text-align: center;
}

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 12px 16px 16px;
    box-shadow: var(--shadow);
  }
  .site-nav.open { display: flex; }
  .site-header-inner { position: relative; }
  .hero { padding-top: 40px; }
  .legal-content { padding: 20px; }
}
