/* ===== YouMediaCloud ===== */
:root {
  --bg: #070b18;
  --bg-soft: #0d1428;
  --card: #111a33;
  --card-border: rgba(255, 255, 255, 0.08);
  --text: #eef2ff;
  --muted: #9aa7c7;
  --accent: #5b8cff;
  --accent-2: #8b5cf6;
  --accent-grad: linear-gradient(135deg, #5b8cff 0%, #8b5cf6 100%);
  --radius: 18px;
  --maxw: 1180px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Manrope", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(7, 11, 24, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--card-border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.logo { font-weight: 800; font-size: 1.35rem; color: var(--text); text-decoration: none; letter-spacing: -0.02em; }
.logo span { background: var(--accent-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav { display: flex; gap: 26px; }
.nav a { color: var(--muted); text-decoration: none; font-size: 0.95rem; font-weight: 500; transition: color 0.2s; }
.nav a:hover { color: var(--text); }
.header-cta { display: flex; align-items: center; gap: 12px; }

.burger { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 6px; }
.burger span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: 0.3s; }

/* ===== Buttons ===== */
.btn {
  display: inline-block; padding: 14px 28px; border-radius: 999px;
  font-weight: 700; font-size: 0.95rem; text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  font-family: inherit;
}
.btn-primary { background: var(--accent-grad); color: #fff; box-shadow: 0 8px 30px rgba(91, 140, 255, 0.35); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 36px rgba(139, 92, 246, 0.45); }
.btn-ghost { border-color: var(--card-border); color: var(--text); background: rgba(255, 255, 255, 0.03); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); transform: translateY(-2px); }
.btn-sm { padding: 10px 20px; font-size: 0.88rem; }
.btn-block { display: block; text-align: center; width: 100%; }

/* ===== Hero ===== */
.hero { position: relative; padding: 110px 0 90px; text-align: center; overflow: hidden; }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(120px); opacity: 0.35; pointer-events: none; }
.hero-glow-1 { width: 520px; height: 520px; background: #3b5bdb; top: -180px; left: -120px; }
.hero-glow-2 { width: 460px; height: 460px; background: #7c3aed; bottom: -200px; right: -100px; }
.hero-inner { position: relative; z-index: 1; max-width: 880px; }
.eyebrow {
  display: inline-block; padding: 6px 16px; border-radius: 999px;
  background: rgba(91, 140, 255, 0.12); border: 1px solid rgba(91, 140, 255, 0.3);
  color: #9db8ff; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; margin-bottom: 22px;
}
.hero h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); font-weight: 800; line-height: 1.12; letter-spacing: -0.03em; margin-bottom: 22px; }
.lead { font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--muted); max-width: 720px; margin: 0 auto 36px; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-stats { display: flex; justify-content: center; gap: 56px; margin-top: 64px; flex-wrap: wrap; }
.stat strong { display: block; font-size: 2.2rem; font-weight: 800; background: var(--accent-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { color: var(--muted); font-size: 0.9rem; }

/* ===== Sections ===== */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-soft); border-top: 1px solid var(--card-border); border-bottom: 1px solid var(--card-border); }
.section h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 18px; line-height: 1.2; }
.section-lead { color: var(--muted); max-width: 780px; margin-bottom: 48px; font-size: 1.05rem; }

/* ===== Grid & Cards ===== */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius);
  padding: 32px; transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.card:hover { transform: translateY(-4px); border-color: rgba(91, 140, 255, 0.4); box-shadow: 0 18px 44px rgba(0, 0, 0, 0.35); }
.card h3 { font-size: 1.18rem; font-weight: 700; margin-bottom: 12px; }
.card p { color: var(--muted); font-size: 0.96rem; }
.card-num { font-size: 0.85rem; font-weight: 800; color: var(--accent); letter-spacing: 0.12em; margin-bottom: 14px; }
.card.mini { padding: 26px; }
.card-accent { background: linear-gradient(160deg, rgba(91, 140, 255, 0.14), rgba(139, 92, 246, 0.08)); }
.benefits-extra { margin-top: 24px; }

.list-check { list-style: none; margin-top: 16px; }
.list-check li { position: relative; padding-left: 28px; color: var(--muted); font-size: 0.95rem; margin-bottom: 10px; }
.list-check li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  width: 19px; height: 19px; border-radius: 50%; background: rgba(91, 140, 255, 0.18);
  color: #86a8ff; font-size: 0.72rem; font-weight: 800; display: flex; align-items: center; justify-content: center;
}

/* ===== Split ===== */
.split { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 64px; align-items: center; }
.split-text p { color: var(--muted); margin-bottom: 16px; }
.steps { list-style: none; margin-top: 24px; }
.steps li { padding: 16px 20px; background: var(--card); border: 1px solid var(--card-border); border-radius: 14px; margin-bottom: 12px; color: var(--muted); }
.steps li strong { color: var(--text); }

/* QR mock */
.qr-mock {
  background: var(--card); border: 1px solid var(--card-border); border-radius: 24px;
  padding: 40px; text-align: center; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}
.qr-grid {
  display: grid; grid-template-columns: repeat(3, 44px); gap: 8px; justify-content: center; margin-bottom: 24px;
}
.qr-cell { width: 44px; height: 44px; border-radius: 8px; background: rgba(255, 255, 255, 0.09); }
.qr-cell:nth-child(1), .qr-cell:nth-child(5), .qr-cell:nth-child(9) { background: var(--accent-grad); }
.qr-dot { width: 44px; height: 44px; border-radius: 50%; background: var(--accent-grad); }
.qr-sign { display: inline-block; padding: 10px 22px; border-radius: 999px; background: rgba(52, 211, 153, 0.14); border: 1px solid rgba(52, 211, 153, 0.4); color: #6ee7b7; font-weight: 700; font-size: 0.92rem; }

/* ===== Pricing ===== */
.price-card { position: relative; display: flex; flex-direction: column; }
.price-card h3 { font-size: 1.3rem; }
.price-desc { min-height: 66px; }
.price { font-size: 2.1rem; font-weight: 800; margin: 18px 0 22px; letter-spacing: -0.02em; }
.price span { font-size: 1rem; font-weight: 500; color: var(--muted); }
.price-card .btn { margin-bottom: 24px; }
.price-card .list-check { margin-top: 0; }
.price-card.featured { border-color: rgba(139, 92, 246, 0.6); background: linear-gradient(170deg, rgba(139, 92, 246, 0.16), var(--card) 60%); transform: scale(1.03); }
.badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--accent-grad); color: #fff; font-size: 0.75rem; font-weight: 800;
  padding: 5px 16px; border-radius: 999px; letter-spacing: 0.06em; text-transform: uppercase;
}

/* ===== About card ===== */
.about-card { background: var(--card); border: 1px solid var(--card-border); border-radius: 20px; padding: 16px; }
.about-row { display: flex; gap: 16px; align-items: center; padding: 18px; border-radius: 14px; transition: background 0.2s; }
.about-row:hover { background: rgba(255, 255, 255, 0.04); }
.about-row span { font-size: 1.7rem; }
.about-row strong { display: block; }
.about-row small { color: var(--muted); }

/* ===== Contact ===== */
.contact-info p { margin-bottom: 10px; }
.contact-info a { color: #9db8ff; text-decoration: none; }
.contact-info a:hover { text-decoration: underline; }
.contact-form { background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius); padding: 34px; display: flex; flex-direction: column; gap: 16px; }
.contact-form label { display: flex; flex-direction: column; gap: 7px; font-size: 0.88rem; font-weight: 600; color: var(--muted); }
.contact-form input, .contact-form textarea {
  background: var(--bg); border: 1px solid var(--card-border); border-radius: 12px;
  padding: 13px 16px; color: var(--text); font-family: inherit; font-size: 0.95rem; transition: border-color 0.2s;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--accent); }
.form-note { font-size: 0.88rem; color: #6ee7b7; min-height: 20px; margin: 0; }
.form-note.error { color: #fca5a5; }

/* ===== Footer ===== */
.site-footer { border-top: 1px solid var(--card-border); padding: 64px 0 0; background: var(--bg-soft); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; padding-bottom: 48px; }
.footer-grid h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 16px; }
.footer-grid a { display: block; color: var(--muted); text-decoration: none; font-size: 0.93rem; margin-bottom: 10px; }
.footer-grid a:hover { color: var(--text); }
.footer-desc { color: var(--muted); font-size: 0.93rem; margin-top: 14px; max-width: 420px; }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-top: 24px; padding-bottom: 28px; border-top: 1px solid var(--card-border);
  color: var(--muted); font-size: 0.85rem;
}
.footer-bottom a { color: var(--muted); text-decoration: none; }
.footer-bottom a:hover { color: var(--text); }

/* ===== Reveal animation ===== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .price-card.featured { transform: none; }
}

@media (max-width: 720px) {
  .nav {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; gap: 0;
    background: var(--bg-soft); border-bottom: 1px solid var(--card-border);
    padding: 12px 24px 20px; transform: translateY(-130%); transition: transform 0.3s ease; z-index: 90;
  }
  .nav.open { transform: none; }
  .nav a { padding: 13px 0; border-bottom: 1px solid var(--card-border); }
  .burger { display: flex; }
  .header-cta .btn { display: none; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .section { padding: 68px 0; }
  .hero { padding: 72px 0 60px; }
  .hero-stats { gap: 32px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}
