/* Chibyoo Theme */

:root {
  --bg: #f8f8fc;
  --bg-card: #ffffff;
  --border: #e4e4f0;
  --border-hover: #c8c8e0;
  --text: #111118;
  --text-muted: #6b6b7a;
  --text-faint: #a0a0b0;
  --accent: #3b5bff;
  --accent-dim: #eef1ff;
  --green: #16a363;
  --green-dim: #edfaf4;
  --green-border: #b8edda;
  --radius: 20px;
  --radius-sm: 12px;
  --font: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', sans-serif;
  --font-mono: 'SF Mono', 'Fira Code', monospace;
  --shadow-sm: 0 1px 4px rgba(60,40,120,0.07), 0 1px 2px rgba(60,40,120,0.04);
  --shadow-md: 0 4px 24px rgba(60,40,120,0.10), 0 1px 4px rgba(60,40,120,0.05);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

/* ── NAV ── */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  height: 58px;
  background: rgba(248,248,252,0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
}

.nav-favicon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  object-fit: cover;
}

.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a { font-size: 14px; color: var(--text-muted); transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }

/* ── MAIN ── */
.site-main { padding-top: 58px; }

/* ── HERO ── */
.hero {
  max-width: 740px;
  margin: 0 auto;
  padding: 6rem 2rem 3.5rem;
  text-align: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-family: var(--font-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #7c5cff;
  background: rgba(124,92,255,0.08);
  border: 1px solid rgba(124,92,255,0.2);
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 1.75rem;
}

.hero h1 {
  font-size: clamp(2.2rem, 5.5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 1.1rem;
}

.hero h1 span {
  background: linear-gradient(135deg, #3b5bff 0%, #8b5cf6 50%, #c026d3 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── APPS SECTION ── */
.apps-section {
  max-width: 1060px;
  margin: 0 auto;
  padding: 1.5rem 2rem 6rem;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ── APP CARD ── */
.app-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s, border-color 0.2s;
}
.app-card:hover { box-shadow: var(--shadow-md); border-color: var(--border-hover); }

.app-card-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 400px;
}

.app-info {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* app icon */
.app-icon-wrap { margin-bottom: 1.25rem; }

.app-icon-img {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: var(--shadow-sm);
}

/* status badges */
.app-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
  margin-bottom: 0.9rem;
  width: fit-content;
}

.app-status-badge.live {
  color: var(--green);
  background: var(--green-dim);
  border: 1px solid var(--green-border);
}
.app-status-badge.live::before {
  content: '';
  width: 5px; height: 5px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.app-status-badge.soon {
  color: var(--text-faint);
  background: rgba(0,0,0,0.04);
  border: 1px solid var(--border);
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.app-name {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 0.3rem;
  color: var(--text);
}

.app-tagline {
  font-size: 0.85rem;
  background: linear-gradient(90deg, #3b5bff, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-family: var(--font-mono);
  margin-bottom: 0.85rem;
}

.app-desc {
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.app-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 1.75rem;
}
.app-features li {
  font-size: 0.875rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.app-features li::before {
  content: '';
  width: 5px; height: 5px;
  background: linear-gradient(135deg, #3b5bff, #8b5cf6);
  border-radius: 50%;
  flex-shrink: 0;
}

.app-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-appstore {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #1a1a2e, #16213e);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  transition: opacity 0.2s, transform 0.15s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
}
.btn-appstore:hover { opacity: 0.85; transform: translateY(-1px); }
.btn-appstore svg { width: 15px; height: 15px; fill: currentColor; }

.app-price { font-size: 13px; color: var(--text-faint); font-family: var(--font-mono); }

.app-policy-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}
.app-policy-links a {
  font-size: 12px;
  color: var(--text-faint);
  border-bottom: 1px solid var(--border);
  padding-bottom: 1px;
  transition: color 0.2s;
}
.app-policy-links a:hover { color: var(--text-muted); }

/* screenshots side — gradient background */
.app-screenshots {
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 30%, #4c1d95 60%, #6d28d9 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1.5rem;
  position: relative;
  overflow: hidden;
}

.app-screenshots::before {
  content: '';
  position: absolute;
  top: -20%; left: 10%;
  width: 80%; height: 80%;
  background: radial-gradient(circle, rgba(139,92,246,0.3) 0%, transparent 70%);
  pointer-events: none;
}

.app-screenshots::after {
  content: '';
  position: absolute;
  bottom: -10%; right: 5%;
  width: 60%; height: 60%;
  background: radial-gradient(circle, rgba(59,91,255,0.25) 0%, transparent 70%);
  pointer-events: none;
}

.screenshot-stack {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 320px;
}

.screenshot-frame { position: relative; flex-shrink: 0; }
.screenshot-frame img {
  width: 130px;
  border-radius: 20px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.4), 0 2px 8px rgba(0,0,0,0.2);
  display: block;
  border: 1px solid rgba(255,255,255,0.12);
}
.screenshot-frame:nth-child(1) { transform: translateX(18px) rotate(-5deg) translateY(10px); z-index: 1; }
.screenshot-frame:nth-child(2) { transform: rotate(0deg); z-index: 3; }
.screenshot-frame:nth-child(3) { transform: translateX(-18px) rotate(5deg) translateY(10px); z-index: 1; }

/* coming soon card */
.app-card.coming-soon .app-card-inner {
  grid-template-columns: 1fr;
  min-height: auto;
}
.app-card.coming-soon .app-info { padding: 2.5rem 3rem; }

.app-soon-visual {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 1rem 1.25rem;
  background: rgba(0,0,0,0.03);
  border: 1px dashed var(--border-hover);
  border-radius: var(--radius-sm);
  margin-bottom: 1.75rem;
}
.app-soon-visual-text {
  font-size: 13px;
  color: var(--text-faint);
  font-family: var(--font-mono);
  line-height: 1.6;
}

/* ── FOOTER ── */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 1.75rem 2rem;
  text-align: center;
  max-width: 1060px;
  margin: 0 auto;
}
.footer-copy { font-size: 13px; color: var(--text-faint); }

/* ── POLICY PAGE ── */
.policy-wrap {
  max-width: 700px;
  margin: 0 auto;
  padding: 5rem 2rem 6rem;
}

.policy-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  transition: color 0.2s;
}
.policy-back:hover { color: var(--text); }
.policy-back svg { width: 14px; height: 14px; stroke: currentColor; fill: none; }

.policy-app-badge {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  color: var(--text-muted);
  background: rgba(0,0,0,0.04);
  border: 1px solid var(--border);
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 1.25rem;
}

.post-title {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.policy-meta {
  font-size: 13px;
  color: var(--text-faint);
  font-family: var(--font-mono);
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.policy-content { color: var(--text-muted); line-height: 1.8; font-size: 0.95rem; }

/* ── GH-CONTENT / BETA EDITOR ── */
.gh-content > * + * { margin-top: 1em; }
.gh-content p { margin-bottom: 1em; color: var(--text-muted); }
.gh-content h1 { font-size: 1.6rem; font-weight: 700; color: var(--text); margin: 2rem 0 0.5rem; letter-spacing: -0.02em; }
.gh-content h2 { font-size: 1.1rem; font-weight: 600; color: var(--text); margin: 2.5rem 0 0.6rem; }
.gh-content h3 { font-size: 1rem; font-weight: 600; color: var(--text); margin: 1.75rem 0 0.5rem; }
.gh-content ul, .gh-content ol { padding-left: 1.5rem; margin-bottom: 1rem; color: var(--text-muted); }
.gh-content li { margin-bottom: 0.4rem; }
.gh-content strong { color: var(--text); font-weight: 600; }
.gh-content em { font-style: italic; }
.gh-content a { color: var(--accent); border-bottom: 1px solid rgba(59,91,255,0.25); transition: border-color 0.2s; }
.gh-content a:hover { border-color: var(--accent); }
.gh-content hr { border: none; border-top: 1px solid var(--border); margin: 2rem 0; }
.gh-content blockquote { border-left: 3px solid var(--border-hover); padding-left: 1rem; color: var(--text-faint); font-style: italic; }
.gh-content pre { background: #f4f4f8; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 1rem; overflow-x: auto; font-family: var(--font-mono); font-size: 13px; color: var(--text-muted); margin-bottom: 1rem; }
.gh-content code { font-family: var(--font-mono); font-size: 0.875em; background: #f4f4f8; padding: 2px 5px; border-radius: 4px; }
.gh-content table { width: 100%; border-collapse: collapse; margin-bottom: 1rem; font-size: 0.9rem; }
.gh-content th { text-align: left; padding: 8px 12px; border-bottom: 2px solid var(--border); color: var(--text); font-weight: 600; }
.gh-content td { padding: 8px 12px; border-bottom: 1px solid var(--border); color: var(--text-muted); }

/* ── KOENIG ── */
.kg-width-wide { margin-left: -4vw; margin-right: -4vw; }
.kg-width-full { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); width: 100vw; }
.kg-image { max-width: 100%; height: auto; }
.kg-image-card { margin: 1.5rem 0; }
.kg-image-card img { width: 100%; border-radius: var(--radius-sm); }
.kg-gallery-container { display: flex; flex-direction: column; gap: 8px; margin: 1.5rem 0; }
.kg-gallery-row { display: flex; gap: 8px; }
.kg-gallery-image { flex: 1; }
.kg-gallery-image img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-sm); }
.kg-embed-card { margin: 1.5rem 0; }
.kg-bookmark-card { margin: 1.5rem 0; border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }
.kg-bookmark-container { display: flex; text-decoration: none; color: inherit; }
.kg-bookmark-content { padding: 1rem; flex: 1; }
.kg-bookmark-title { font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 4px; }
.kg-bookmark-description { font-size: 13px; color: var(--text-muted); }
.kg-bookmark-thumbnail { width: 120px; flex-shrink: 0; }
.kg-bookmark-thumbnail img { width: 100%; height: 100%; object-fit: cover; }
.kg-callout-card { display: flex; gap: 12px; padding: 1rem; background: #f4f4f8; border-radius: var(--radius-sm); margin: 1.5rem 0; }
.kg-divider-card { border: none; border-top: 1px solid var(--border); margin: 2rem 0; }
.kg-code-card { margin: 1.5rem 0; }
.kg-code-card pre { background: #f4f4f8; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 1rem; overflow-x: auto; font-family: var(--font-mono); font-size: 13px; }
.kg-header-card { padding: 3rem 2rem; text-align: center; margin: 1.5rem 0; }
.kg-toggle-card { border: 1px solid var(--border); border-radius: var(--radius-sm); margin: 1.5rem 0; overflow: hidden; }
.kg-toggle-heading { padding: 1rem; cursor: pointer; font-weight: 600; }
.kg-toggle-content { padding: 0 1rem 1rem; color: var(--text-muted); }
.kg-product-card { border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 1.5rem; margin: 1.5rem 0; }
.kg-video-card { margin: 1.5rem 0; }
.kg-video-card video { width: 100%; border-radius: var(--radius-sm); }

/* ── PAGE FEATURE ── */
.post-full-image { width: 100%; margin-bottom: 2rem; border-radius: var(--radius); overflow: hidden; }
.post-full-image img { width: 100%; height: auto; display: block; }

/* ── 404 ── */
.error-page { min-height: calc(100vh - 58px); display: flex; align-items: center; justify-content: center; text-align: center; padding: 2rem; }
.error-code { font-size: 5rem; font-weight: 700; color: var(--border-hover); letter-spacing: -0.05em; }
.error-msg { font-size: 1rem; color: var(--text-muted); margin: 0.5rem 0 2rem; }
.error-home { font-size: 14px; color: var(--accent); }

/* ── RESPONSIVE ── */
@media (max-width: 800px) {
  .app-card-inner { grid-template-columns: 1fr; }
  .app-screenshots { min-height: 260px; }
  .app-info { padding: 2rem 1.75rem; }
  .app-card.coming-soon .app-info { padding: 2rem 1.75rem; }
  .hero { padding: 4.5rem 1.5rem 2.5rem; }
  .apps-section { padding: 1rem 1rem 4rem; }
  .site-nav { padding: 0 1.25rem; }
  .nav-links { display: none; }
  .site-footer { padding: 1.5rem 1.25rem; }
  .policy-wrap { padding: 3.5rem 1.25rem 4rem; }
  .screenshot-frame img { width: 105px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

/* ══════════════════════════════════════
   NEW HOME LAYOUT — hero2 + features + apps2
   ══════════════════════════════════════ */

/* HERO2 */
.hero2 {
  background: linear-gradient(135deg, #f0f4ff 0%, #faf0ff 50%, #f0f8ff 100%);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
}

.hero2-content {
  max-width: 1060px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
  min-height: 480px;
  padding: 4rem 0;
}

.hero2-eyebrow {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-family: var(--font-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #7c5cff;
  background: rgba(124,92,255,0.08);
  border: 1px solid rgba(124,92,255,0.2);
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}

.hero2-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 1rem;
}

.hero2-sub {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 2rem;
  max-width: 440px;
}

.btn-hero {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #1a1a2e, #2d1b69);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(45,27,105,0.25);
  transition: opacity 0.2s, transform 0.15s;
}
.btn-hero:hover { opacity: 0.88; transform: translateY(-1px); }

.hero2-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero2-phone-wrap {
  position: relative;
}

.hero2-phone-wrap::before {
  content: '';
  position: absolute;
  top: -10%; left: -10%;
  width: 120%; height: 120%;
  background: radial-gradient(circle, rgba(124,92,255,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero2-phone-img {
  width: 260px;
  border-radius: 28px;
  box-shadow: 0 24px 64px rgba(60,40,120,0.2), 0 4px 16px rgba(60,40,120,0.1);
  border: 1px solid rgba(255,255,255,0.8);
  display: block;
  position: relative;
  z-index: 1;
}

/* FEATURES */
.features-section {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 3.5rem 2rem;
}

.features-grid {
  max-width: 1060px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-card {
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg);
  transition: box-shadow 0.2s, border-color 0.2s;
}
.feature-card:hover { box-shadow: var(--shadow-md); border-color: var(--border-hover); }

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

.feature-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.feature-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* APPS2 */
.apps2-section {
  max-width: 1060px;
  margin: 0 auto;
  padding: 3.5rem 2rem 5rem;
}

.apps2-heading {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 1.5rem;
}

.apps2-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.app2-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.app2-card:hover { box-shadow: var(--shadow-md); border-color: var(--border-hover); }

.app2-card-soon { opacity: 0.85; }

.app2-card-top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.app2-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.app2-card-meta { flex: 1; min-width: 0; }

.app2-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 2px;
  letter-spacing: -0.01em;
}

.app2-category {
  font-size: 12px;
  color: var(--text-faint);
  font-family: var(--font-mono);
}

.app2-badge {
  flex-shrink: 0;
  font-size: 10px;
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 100px;
  font-weight: 600;
}
.app2-badge.live { background: var(--green-dim); color: var(--green); border: 1px solid var(--green-border); }
.app2-badge.soon { background: rgba(0,0,0,0.04); color: var(--text-faint); border: 1px solid var(--border); }

.app2-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.65;
  flex: 1;
}

.app2-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
  gap: 0.75rem;
  flex-wrap: wrap;
}

.app2-links { display: flex; gap: 0.75rem; }
.app2-link {
  font-size: 12px;
  color: var(--text-faint);
  border-bottom: 1px solid var(--border);
  padding-bottom: 1px;
  transition: color 0.2s;
}
.app2-link:hover { color: var(--text-muted); }

.btn-appstore2 {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--text);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 9px;
  transition: opacity 0.2s;
  white-space: nowrap;
}
.btn-appstore2:hover { opacity: 0.82; }

.app2-soon-note {
  font-size: 12px;
  color: var(--text-faint);
  font-family: var(--font-mono);
}

/* RESPONSIVE */
@media (max-width: 800px) {
  .hero2-content { grid-template-columns: 1fr; min-height: auto; padding: 3rem 0; gap: 2rem; }
  .hero2-visual { order: -1; }
  .hero2-phone-img { width: 200px; }
  .features-grid { grid-template-columns: 1fr; }
  .apps2-section { padding: 2.5rem 1rem 4rem; }
  .features-section { padding: 2.5rem 1.25rem; }
  .hero2 { padding: 0 1.25rem; }
}

/* apps-full-list — full width app cards under heading */
.apps-full-list { display: flex; flex-direction: column; }

/* ── LANG TOGGLE ── */
.lang-btn {
  background: none;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 4px 8px;
  cursor: pointer;
  margin-left: 1rem;
  transition: border-color 0.2s;
  flex-shrink: 0;
}
.lang-btn:hover { border-color: var(--accent); }

.lang-btn-inner {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 600;
  font-family: var(--font-mono);
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.lang-sep { color: var(--border-hover); }

.lang-opt { transition: color 0.15s; }
.lang-opt.lang-active { color: var(--accent); }

/* Learn more button */
.btn-learn-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  border: 1.5px solid var(--accent);
  padding: 9px 16px;
  border-radius: var(--radius-sm);
  transition: background 0.15s, color 0.15s;
}
.btn-learn-more:hover {
  background: var(--accent);
  color: #fff;
}

/* ══════════════════════════════════
   CHIBYOOFLOW PRODUCT PAGE
   ══════════════════════════════════ */

.flow-page { overflow-x: hidden; }

/* HERO */
.flow-hero {
  background: linear-gradient(135deg, #f0eeff 0%, #f7f0ff 50%, #ede8ff 100%);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
}
.flow-hero-inner {
  max-width: 1060px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
  min-height: 520px;
  padding: 5rem 0 4rem;
}
.flow-eyebrow {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-family: var(--font-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #7c3aed;
  background: rgba(124,58,237,0.1);
  border: 1px solid rgba(124,58,237,0.2);
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}
.flow-hero-title {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 1rem;
}
.flow-hero-sub {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 440px;
  margin-bottom: 2rem;
}
.flow-hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.flow-btn-store { flex-shrink: 0; }
.flow-price { font-size: 13px; color: var(--text-faint); font-family: var(--font-mono); }
.flow-policy-links { display: flex; gap: 1rem; flex-wrap: wrap; }
.flow-policy-links a {
  font-size: 12px;
  color: var(--text-faint);
  border-bottom: 1px solid var(--border);
  padding-bottom: 1px;
  transition: color 0.2s;
}
.flow-policy-links a:hover { color: var(--text-muted); }

.flow-hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.flow-hero-visual::before {
  content: '';
  position: absolute;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(124,58,237,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.flow-phone-img {
  width: 240px;
  border-radius: 28px;
  box-shadow: 0 24px 64px rgba(124,58,237,0.2), 0 4px 16px rgba(0,0,0,0.08);
  position: relative;
  z-index: 1;
}

/* PILLS */
.flow-pills-section {
  background: var(--bg2, #fff);
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 2rem;
}
.flow-pills {
  max-width: 1060px;
  margin: 0 auto;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.flow-pill {
  font-size: 13px;
  font-weight: 500;
  color: #7c3aed;
  background: rgba(124,58,237,0.07);
  border: 1px solid rgba(124,58,237,0.15);
  padding: 5px 14px;
  border-radius: 100px;
}

/* FEATURE SECTIONS */
.flow-feature {
  padding: 5rem 2rem;
  border-bottom: 1px solid var(--border);
}
.flow-feature-alt { background: var(--bg-secondary, #f7f7f8); }

.flow-feature-inner {
  max-width: 1060px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 5rem;
}
.flow-feature-left .flow-feature-inner { }

.flow-feature-num {
  font-size: 11px;
  font-family: var(--font-mono);
  letter-spacing: 0.1em;
  color: #7c3aed;
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.flow-feature-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text);
  margin-bottom: 1rem;
  line-height: 1.2;
}
.flow-feature-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}
.flow-feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.flow-feature-list li {
  font-size: 0.875rem;
  color: var(--text-muted);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}
.flow-feature-list li::before {
  content: '';
  width: 6px; height: 6px;
  background: #7c3aed;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 6px;
}

.flow-feature-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.flow-screen-img {
  width: 220px;
  border-radius: 24px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.12), 0 2px 8px rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.05);
}

/* PRIVACY BLOCK */
.flow-privacy-block {
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #4c1d95 100%);
  padding: 5rem 2rem;
}
.flow-privacy-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}
.flow-privacy-icon { font-size: 3rem; margin-bottom: 1.25rem; }
.flow-privacy-title {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
}
.flow-privacy-desc {
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.75;
  margin-bottom: 2rem;
}
.flow-privacy-badges {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}
.flow-privacy-badge {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 6px 16px;
  border-radius: 100px;
}

/* FAQ */
.flow-faq-section {
  padding: 5rem 2rem;
  border-bottom: 1px solid var(--border);
  background: var(--bg, #f8f8fc);
}
.flow-faq-inner { max-width: 720px; margin: 0 auto; }
.flow-faq-heading {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text);
  margin-bottom: 2.5rem;
  text-align: center;
}
.flow-faq-list { display: flex; flex-direction: column; gap: 0; }
.flow-faq-item {
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.flow-faq-item:first-child { border-top: 1px solid var(--border); }
.flow-faq-q {
  width: 100%;
  text-align: left;
  padding: 1.1rem 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: color 0.2s;
}
.flow-faq-q:hover { color: #7c3aed; }
.flow-faq-q::after {
  content: '+';
  font-size: 20px;
  font-weight: 300;
  color: var(--text-faint);
  flex-shrink: 0;
  transition: transform 0.2s;
}
.flow-faq-item.open .flow-faq-q::after { transform: rotate(45deg); color: #7c3aed; }
.flow-faq-item.open .flow-faq-q { color: #7c3aed; }
.flow-faq-a {
  display: none;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.75;
  padding: 0 0 1.1rem;
}
.flow-faq-a a { color: #7c3aed; border-bottom: 1px solid rgba(124,58,237,0.3); }
.flow-faq-item.open .flow-faq-a { display: block; }

/* CTA */
.flow-cta-section {
  padding: 5rem 2rem;
  background: #fff;
}
.flow-cta-inner {
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.flow-cta-icon {
  width: 80px; height: 80px;
  border-radius: 20px;
  object-fit: cover;
  box-shadow: 0 8px 24px rgba(124,58,237,0.2);
}
.flow-cta-title {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text);
}
.flow-cta-sub { font-size: 14px; color: var(--text-muted); }

/* RESPONSIVE */
@media (max-width: 800px) {
  .flow-hero-inner { grid-template-columns: 1fr; min-height: auto; padding: 3rem 0; gap: 2rem; }
  .flow-hero-visual { order: -1; }
  .flow-phone-img { width: 200px; }
  .flow-feature-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .flow-feature { padding: 3.5rem 1.25rem; }
  .flow-feature-left .flow-feature-visual { order: -1; }
  .flow-screen-img { width: 200px; }
  .flow-hero { padding: 0 1.25rem; }
  .flow-pills-section { padding: 1rem 1.25rem; }
  .flow-privacy-block { padding: 3.5rem 1.25rem; }
  .flow-faq-section { padding: 3.5rem 1.25rem; }
  .flow-cta-section { padding: 3.5rem 1.25rem; }
}

/* ══════════════════════════════════
   CHIBYOOSHELL PRODUCT PAGE
   ══════════════════════════════════ */

/* Hero — синий вместо фиолетового */
.shell-hero {
  background: linear-gradient(135deg, #eef4ff 0%, #e8f0ff 50%, #eef6ff 100%);
}
.shell-eyebrow {
  color: #2563eb;
  background: rgba(37,99,235,0.08);
  border-color: rgba(37,99,235,0.2);
}
.shell-phone-wrap::before {
  background: radial-gradient(circle, rgba(37,99,235,0.1) 0%, transparent 70%);
}
.shell-btn {
  background: linear-gradient(135deg, #1e3a8a, #1d4ed8);
}
.shell-btn:hover { opacity: 0.88; }

/* Pills */
.shell-pills-section { background: #fff; }
.shell-pill {
  color: #2563eb;
  background: rgba(37,99,235,0.07);
  border-color: rgba(37,99,235,0.15);
}

/* Feature numbers */
.shell-num { color: #2563eb; }

/* Feature list dots — синие */
.flow-feature-list li::before {
  background: #2563eb;
}

/* Privacy/Security block — тёмно-синий */
.shell-privacy-block {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #1d4ed8 100%);
}

/* ── SHELL COMING SOON BLOCK ── */
.shell-coming-section {
  padding: 4rem 2rem;
  background: var(--bg-secondary, #f7f7f8);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.shell-coming-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.shell-coming-title {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 0.5rem;
}
.shell-coming-sub {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}
.shell-coming-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  text-align: left;
}
.shell-coming-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: var(--bg2, #fff);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.5;
}
.shell-coming-icon { font-size: 18px; flex-shrink: 0; }

@media (max-width: 600px) {
  .shell-coming-grid { grid-template-columns: 1fr; }
}

/* Full width feature section (no image) */
.flow-feature-full .flow-feature-inner {
  grid-template-columns: 1fr;
  max-width: 720px;
}
.flow-feature-full .flow-feature-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
@media (max-width: 600px) {
  .flow-feature-full .flow-feature-list { grid-template-columns: 1fr; }
}
