/* Shared styles for yglllzcw.com. Palette follows the app (android/.../ui/Theme.kt). */
:root {
  --bg: #0A1020; --card: #111A2E; --card2: #18233C; --line: #223053;
  --text: #E6EBF5; --sub: #8893AB; --brand: #2747B0; --accent: #5B8CFF; --orange: #F0955E; --ok: #3DD68C;
  --max: 1080px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.7 -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", sans-serif;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* header */
header { position: sticky; top: 0; z-index: 10; background: rgba(10, 16, 32, .86); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
header .wrap { display: flex; align-items: center; height: 64px; gap: 28px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; font-size: 17px; }
.brand:hover { text-decoration: none; }
.brand img { width: 30px; height: 30px; }
nav { display: flex; gap: 22px; margin-left: auto; font-size: 15px; }
nav a { color: var(--sub); }
nav a:hover, nav a.on { color: var(--text); text-decoration: none; }
.lang { border: 1px solid var(--line); border-radius: 8px; padding: 2px 10px; }

/* sections */
section { padding: 88px 0; }
section + section { border-top: 1px solid var(--line); }
h1 { font-size: clamp(34px, 5vw, 54px); line-height: 1.15; margin: 0 0 18px; letter-spacing: -.5px; }
h2 { font-size: clamp(26px, 3.4vw, 36px); line-height: 1.25; margin: 0 0 14px; }
h3 { font-size: 19px; margin: 0 0 6px; }
.lead { font-size: clamp(17px, 2vw, 20px); color: var(--sub); max-width: 680px; margin: 0; }
.eyebrow { color: var(--orange); font-weight: 600; font-size: 14px; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 12px; }
.muted { color: var(--sub); }

.hero { padding: 110px 0 96px; background: radial-gradient(900px 420px at 80% -10%, rgba(39, 71, 176, .45), transparent 70%); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 12px; font-weight: 600; font-size: 15px; border: 1px solid transparent; }
.btn:hover { text-decoration: none; filter: brightness(1.08); }
.btn.primary { background: var(--orange); color: #1B1209; }
.btn.ghost { border-color: var(--line); color: var(--text); background: var(--card); }
.btn.disabled { opacity: .6; cursor: default; filter: none; }

.grid { display: grid; gap: 18px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 26px; }
.card p { margin: 0; color: var(--sub); font-size: 15px; }
.icon { width: 42px; height: 42px; border-radius: 12px; background: var(--card2); display: grid; place-items: center; margin-bottom: 16px; color: var(--accent); }
.icon svg { width: 22px; height: 22px; }

.product { display: grid; grid-template-columns: 96px 1fr auto; gap: 24px; align-items: center; }
.product img { width: 96px; height: 96px; }

.phones { display: flex; gap: 18px; justify-content: center; }
.phone { width: 230px; border-radius: 30px; border: 1px solid var(--line); background: var(--card); overflow: hidden; box-shadow: 0 30px 60px rgba(0, 0, 0, .45); }
.phone.tilt { transform: translateY(28px); }
.shots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.shots figure { margin: 0; }
.shots img { border-radius: 18px; border: 1px solid var(--line); }
.shots figcaption { font-size: 14px; color: var(--sub); margin-top: 10px; text-align: center; }

.price { display: flex; flex-direction: column; gap: 10px; }
.price .tag { font-size: 13px; color: var(--orange); font-weight: 600; }
.price ul { margin: 6px 0 0; padding-left: 20px; color: var(--sub); font-size: 15px; }

dl.facts { display: grid; grid-template-columns: max-content 1fr; gap: 10px 28px; margin: 0; }
dl.facts dt { color: var(--sub); }
dl.facts dd { margin: 0; }

/* footer */
footer { border-top: 1px solid var(--line); padding: 36px 0 44px; color: var(--sub); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 10px 28px; align-items: center; }
footer .links { display: flex; flex-wrap: wrap; gap: 18px; margin-left: auto; }
footer a { color: var(--sub); }

@media (max-width: 860px) {
  .hero-grid, .g2, .g3 { grid-template-columns: 1fr; }
  .shots { grid-template-columns: repeat(2, 1fr); }
  .product { grid-template-columns: 72px 1fr; }
  .product .btn { grid-column: 1 / -1; justify-self: start; }
  .product img { width: 72px; height: 72px; }
  nav { gap: 14px; font-size: 14px; }
  nav .hide-sm { display: none; }
  section { padding: 64px 0; }
  .phone { width: 46%; }
}
.round { border-radius: 22%; }
