/* Chụp Màn Hình Nhanh — shared site stylesheet */
:root {
  --pink: #ec4899;
  --pink-dark: #db2777;
  --blue: #0a84ff;
  --green: #28a745;
  --dark: #1c1c1e;
  --dark-2: #2a2a2e;
  --ink: #222;
  --muted: #666;
  --bg: #f8f9fa;
  --card: #fff;
  --border: #e8e8ea;
  --radius: 14px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
}

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

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

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Header / Nav ── */
.site-header {
  background: var(--dark);
  border-bottom: 1px solid #000;
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
}
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.brand:hover { text-decoration: none; }

nav.site-nav { display: flex; gap: 4px; }
nav.site-nav a {
  color: #bbb;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
}
nav.site-nav a:hover, nav.site-nav a.active {
  background: rgba(255,255,255,0.08);
  color: #fff;
  text-decoration: none;
}

/* Mobile nav toggle (no JS — checkbox hack) */
.nav-toggle { display: none; }
.nav-toggle-label {
  display: none;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  padding: 4px 8px;
}

@media (max-width: 640px) {
  nav.site-nav {
    position: absolute;
    top: 64px; left: 0; right: 0;
    background: var(--dark);
    flex-direction: column;
    padding: 8px 16px 16px;
    display: none;
    border-bottom: 1px solid #000;
  }
  .nav-toggle:checked ~ nav.site-nav { display: flex; }
  .nav-toggle-label { display: block; }
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: transform 0.12s, filter 0.12s;
}
.btn:hover { text-decoration: none; filter: brightness(0.95); }
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--pink); color: #fff; }
.btn-primary:hover { background: var(--pink-dark); }
.btn-secondary { background: #fff; color: var(--ink); border: 1.5px solid var(--border); }

/* ── Hero ── */
.hero {
  background:
    radial-gradient(ellipse at 15% 20%, rgba(236,72,153,0.12) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 0%, rgba(10,132,255,0.10) 0%, transparent 50%),
    #fff;
  padding: 72px 0 56px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.hero .logo {
  width: 88px; height: 88px;
  border-radius: 22px;
  margin: 0 auto 24px;
  box-shadow: 0 8px 28px rgba(236,72,153,0.28);
}
.hero h1 {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}
.hero p.subtitle {
  font-size: 17px;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 32px;
}
.hero .cta-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Sections ── */
.section { padding: 64px 0; }
.section h2 {
  font-size: 26px;
  font-weight: 700;
  color: var(--dark);
  text-align: center;
  margin-bottom: 10px;
}
.section p.lead {
  text-align: center;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 40px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 22px;
}
.feature-card .ico {
  font-size: 26px;
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  background: #fdf2f8;
  border-radius: 12px;
  margin-bottom: 14px;
}
.feature-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; color: var(--dark); }
.feature-card p { font-size: 14px; color: var(--muted); margin: 0; }

.section-alt { background: #fff; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

/* ── Content pages (Privacy / Terms) ── */
.page-header {
  background: var(--dark);
  color: #fff;
  padding: 48px 24px;
  text-align: center;
}
.page-header h1 { font-size: 28px; font-weight: 700; margin-bottom: 8px; }
.page-header p { color: #aaa; font-size: 14px; }

.content-wrap { max-width: 780px; margin: 0 auto; padding: 40px 24px; }
.content-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 40px 36px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.content-card h2 {
  font-size: 20px; font-weight: 700; color: var(--dark);
  margin: 28px 0 12px; padding-bottom: 8px; border-bottom: 2px solid #fdf2f8;
}
.content-card h2:first-child { margin-top: 0; }
.content-card h3 { font-size: 16px; font-weight: 700; color: #444; margin: 20px 0 8px; }
.content-card p, .content-card li { font-size: 15px; margin-bottom: 10px; }
.content-card ul { padding-left: 24px; margin-bottom: 16px; }
.content-card table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 14px; }
.content-card th, .content-card td { border: 1px solid var(--border); padding: 12px 16px; text-align: left; }
.content-card th { background: #f5f5f5; font-weight: 700; }

.highlight {
  background: #fdf2f8;
  border-left: 4px solid var(--pink);
  padding: 16px 20px;
  border-radius: 0 8px 8px 0;
  margin: 16px 0;
}
.highlight strong { color: var(--pink-dark); }

/* Contact info card */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 24px;
}
.contact-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
}
.contact-item .ico { font-size: 28px; margin-bottom: 10px; }
.contact-item h3 { font-size: 15px; font-weight: 700; margin-bottom: 6px; color: var(--dark); }
.contact-item p { font-size: 14px; color: var(--muted); margin: 0; }

/* ── Footer ── */
.site-footer {
  background: var(--dark);
  color: #999;
  padding: 32px 24px;
  text-align: center;
  font-size: 13px;
}
.site-footer a { color: #ccc; }
.site-footer .footer-links {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
