/* ============================================================
   Suika VPN — Global Styles (Light Cloudy Theme)
   ============================================================ */

:root {
  --bg: #f0f5ff;
  --surface: #ffffff;
  --surface2: #e8effc;
  --border: rgba(100, 140, 220, 0.18);
  --border-strong: rgba(100, 140, 220, 0.35);
  --primary: #4a6cf7;
  --primary-dark: #3a56d4;
  --primary-glow: rgba(74, 108, 247, 0.25);
  --secondary: #18b85c;
  --secondary-glow: rgba(24, 184, 92, 0.2);
  --accent: #ff4757;
  --text: #1a2340;
  --text-inv: #ffffff;
  --muted: #5a6a8a;
  --muted-light: #8899bb;
  --shadow: rgba(74, 108, 247, 0.12);
  --shadow-lg: rgba(74, 108, 247, 0.18);
  --radius: 20px;
  --radius-sm: 10px;
  --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 {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* ============================================================
   Logo in navbar / footer
   ============================================================ */
.navbar__logo {
  height: 36px;
  width: auto;
  display: inline-block;
  vertical-align: middle;
}

/* Feature card SVG icons */
.feature-card__icon {
  margin-bottom: 1rem;
  line-height: 1;
}
.feature-card__icon svg,
.feature-card__logo {
  display: block;
  width: 44px;
  height: 44px;
  object-fit: contain;
}

/* Widget logo images */
.widget-avatar-logo {
  width: 26px;
  height: 26px;
  object-fit: contain;
  display: block;
}
.widget-btn-logo {
  width: 38px;
  height: 38px;
  object-fit: contain;
  display: block;
}

/* ============================================================
   Navbar
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 2rem;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(240, 245, 255, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 12px var(--shadow);
}

.navbar__brand {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  letter-spacing: -0.01em;
}
.navbar__brand:hover { text-decoration: none; }

.navbar__links {
  list-style: none;
  display: flex;
  gap: 2rem;
}
.navbar__links a {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}
.navbar__links a:hover,
.navbar__links a[aria-current="page"] {
  color: var(--primary);
  text-decoration: none;
}

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

/* ============================================================
   Hero
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 2rem 60px;
  position: relative;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 80% 30%, rgba(189, 213, 244, 0.55) 0%, transparent 60%),
    radial-gradient(ellipse 60% 70% at 10% 80%, rgba(74, 108, 247, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 50% 50%, rgba(255,255,255,0.6) 0%, transparent 70%);
  pointer-events: none;
}

/* Decorative cloud blobs */
.hero__bg::before,
.hero__bg::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}
.hero__bg::before {
  width: 400px; height: 300px;
  background: rgba(189, 213, 244, 0.5);
  top: 10%; right: 5%;
}
.hero__bg::after {
  width: 300px; height: 250px;
  background: rgba(74, 108, 247, 0.08);
  bottom: 15%; left: 8%;
}

.hero__inner {
  max-width: 1100px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
}

.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(74, 108, 247, 0.1);
  border: 1px solid rgba(74, 108, 247, 0.25);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 1.2rem;
}

.hero__title {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.2rem;
  color: var(--text);
}
.hero__title .highlight {
  background: linear-gradient(135deg, var(--primary) 0%, #6a8fff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 2rem;
  max-width: 480px;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-appstore {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  text-decoration: none;
  box-shadow: 0 4px 20px var(--primary-glow);
}
.btn-appstore:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px var(--shadow-lg);
  background: var(--primary-dark);
  text-decoration: none;
  color: #fff;
}
.btn-appstore svg { width: 22px; height: 22px; }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-strong);
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}
.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(74, 108, 247, 0.05);
  text-decoration: none;
}

/* Hero visual */
.hero__visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__fruit {
  position: relative;
  width: 340px;
  height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__mascot {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 16px 40px rgba(74, 108, 247, 0.25));
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}

.hero__badge {
  position: absolute;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text);
  box-shadow: 0 8px 28px var(--shadow);
  white-space: nowrap;
  backdrop-filter: blur(8px);
}
.hero__badge--top {
  top: 10px;
  right: -10px;
  animation: badge-float 3s ease-in-out infinite;
}
.hero__badge--bottom {
  bottom: 20px;
  left: -10px;
  animation: badge-float 3.5s ease-in-out infinite reverse;
}
.hero__badge .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--secondary);
  box-shadow: 0 0 6px var(--secondary-glow);
  flex-shrink: 0;
}
@keyframes badge-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ============================================================
   Section commons
   ============================================================ */
section { padding: 80px 2rem; }

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary);
  margin-bottom: 0.8rem;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  color: var(--text);
}

.section-desc {
  font-size: 1rem;
  color: var(--muted);
  max-width: 540px;
  margin-bottom: 3rem;
}

/* ============================================================
   Features
   ============================================================ */
.features { background: var(--surface); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-card {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  cursor: default;
}
.feature-card:hover {
  border-color: var(--primary);
  transform: translateY(-5px);
  box-shadow: 0 12px 40px var(--shadow-lg);
  background: var(--surface);
}

.feature-card__icon {
  margin-bottom: 1rem;
  line-height: 1;
}

.feature-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.feature-card__text {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.75;
}

/* ============================================================
   AI Assistant preview section
   ============================================================ */
.ai-section { background: var(--bg); }

.ai-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.ai-chat-demo {
  background: var(--surface);
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 60px var(--shadow-lg);
}

.ai-chat-header {
  background: linear-gradient(135deg, var(--primary) 0%, #6a8fff 100%);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.ai-chat-header .avatar {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  border: 1.5px solid rgba(255,255,255,0.4);
}
.ai-chat-header .info { flex: 1; }
.ai-chat-header .name { font-size: 0.85rem; font-weight: 700; color: #fff; }
.ai-chat-header .status {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.8);
  display: flex; align-items: center; gap: 5px;
}
.ai-chat-header .status::before {
  content: '';
  width: 6px; height: 6px;
  background: #7dffb0;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 5px rgba(125, 255, 176, 0.8);
}

.ai-chat-body {
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  min-height: 220px;
  background: var(--bg);
}

.chat-msg {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 0.85rem;
  line-height: 1.55;
}
.chat-msg--bot {
  background: var(--surface);
  border: 1px solid var(--border);
  border-bottom-left-radius: 4px;
  align-self: flex-start;
  color: var(--text);
  box-shadow: 0 2px 8px var(--shadow);
}
.chat-msg--user {
  background: var(--primary);
  color: #fff;
  border-bottom-right-radius: 4px;
  align-self: flex-end;
}

.ai-chat-input {
  padding: 12px 16px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 8px;
  background: var(--surface);
}
.ai-chat-input-fake {
  flex: 1;
  background: var(--bg);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 0.8rem;
  color: var(--muted-light);
  border: 1px solid var(--border);
}
.ai-chat-send {
  background: var(--primary);
  border: none;
  border-radius: 8px;
  width: 36px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  color: #fff;
  font-size: 0.9rem;
  transition: background 0.2s;
}
.ai-chat-send:hover { background: var(--primary-dark); }

.ai-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}
.ai-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--muted);
}
.ai-features-list .check {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(24, 184, 92, 0.12);
  border: 1.5px solid rgba(24, 184, 92, 0.4);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.65rem;
  color: var(--secondary);
  flex-shrink: 0;
  margin-top: 2px;
}
.ai-features-list .check::after { content: '✓'; font-weight: 700; }

.open-assistant-btn {
  margin-top: 2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--primary), #6a8fff);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
  box-shadow: 0 4px 20px var(--primary-glow);
}
.open-assistant-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px var(--shadow-lg);
  text-decoration: none;
  color: #fff;
}

/* ============================================================
   Mini Game
   ============================================================ */
.game-section { background: var(--surface); }

.game-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.game-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.game-ui {
  width: 100%;
  max-width: 480px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
}

.game-score,
.game-lives {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--muted);
}
.game-score span,
.game-lives span {
  color: var(--text);
  font-size: 1.1rem;
  margin-left: 4px;
}

#suika-game {
  width: 100%;
  max-width: 480px;
  border-radius: var(--radius);
  border: 1.5px solid var(--border-strong);
  background: var(--bg);
  display: block;
  cursor: none;
  touch-action: none;
  box-shadow: 0 8px 32px var(--shadow);
}

.game-info-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}
.game-info-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--muted);
}
.game-info-list .icon {
  font-size: 1.4rem;
  width: 28px;
  text-align: center;
}

/* ============================================================
   CTA
   ============================================================ */
.cta-section {
  background: linear-gradient(135deg, #e8effc 0%, #dce9ff 50%, #e4f0ff 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.cta-section .section-title { margin-bottom: 0.5rem; }
.cta-section .section-desc { margin: 0 auto 2rem; }

.cta-store-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  padding: 15px 34px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  text-decoration: none;
  box-shadow: 0 4px 20px var(--primary-glow);
}
.cta-store-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--shadow-lg);
  background: var(--primary-dark);
  text-decoration: none;
  color: #fff;
}
.cta-store-btn svg { width: 24px; height: 24px; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: var(--surface);
  border-top: 1.5px solid var(--border);
  padding: 2.5rem 2rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-brand {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text);
  text-decoration: none;
  display: flex; align-items: center; gap: 0.5rem;
}
.footer-brand:hover { text-decoration: none; }
.footer-brand .navbar__logo { height: 32px; }

.footer-copy {
  font-size: 0.8rem;
  color: var(--muted-light);
}

.footer-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}
.footer-links a {
  font-size: 0.85rem;
  color: var(--muted);
  transition: color 0.2s;
}
.footer-links a:hover {
  color: var(--primary);
  text-decoration: none;
}

/* ============================================================
   AI Chat Widget (floating)
   ============================================================ */
.chat-widget {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 200;
  font-family: var(--font);
}

.chat-widget__btn {
  width: 58px; height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, #6a8fff 100%);
  border: none;
  cursor: pointer;
  font-size: 1.5rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px var(--primary-glow);
  position: relative;
  transition: transform 0.2s;
}
.chat-widget__btn:hover { transform: scale(1.08); }

.chat-widget__btn::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(74, 108, 247, 0.35);
  animation: pulse-ring 2s ease-out infinite;
}
@keyframes pulse-ring {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.5); opacity: 0; }
}

.chat-widget__panel {
  position: absolute;
  bottom: 70px;
  right: 0;
  width: 340px;
  background: var(--surface);
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius);
  box-shadow: 0 24px 64px var(--shadow-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  transform: translateY(12px) scale(0.97);
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s;
}
.chat-widget__panel.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}

.widget-header {
  background: linear-gradient(135deg, var(--primary) 0%, #6a8fff 100%);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.widget-header .avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  border: 1.5px solid rgba(255,255,255,0.4);
  flex-shrink: 0;
}
.widget-header .info { flex: 1; }
.widget-header .name { font-size: 0.85rem; font-weight: 700; color: #fff; }
.widget-header .status {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.8);
  display: flex; align-items: center; gap: 5px;
}
.widget-header .status::before {
  content: '';
  width: 6px; height: 6px;
  background: #7dffb0;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 5px rgba(125, 255, 176, 0.8);
}
.widget-header .close-btn {
  background: rgba(255,255,255,0.15); border: none;
  border-radius: 50%;
  color: rgba(255,255,255,0.9); font-size: 0.9rem;
  cursor: pointer; padding: 4px 7px;
  line-height: 1;
  transition: background 0.2s;
}
.widget-header .close-btn:hover { background: rgba(255,255,255,0.25); }

.widget-messages {
  padding: 1rem;
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  max-height: 300px;
  min-height: 200px;
  background: var(--bg);
}
.widget-messages::-webkit-scrollbar { width: 4px; }
.widget-messages::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 2px; }

.w-msg {
  max-width: 88%;
  padding: 9px 13px;
  border-radius: 14px;
  font-size: 0.82rem;
  line-height: 1.55;
  word-break: break-word;
}
.w-msg--bot {
  background: var(--surface);
  border: 1px solid var(--border);
  border-bottom-left-radius: 4px;
  align-self: flex-start;
  color: var(--text);
  box-shadow: 0 2px 6px var(--shadow);
}
.w-msg--user {
  background: var(--primary);
  color: #fff;
  border-bottom-right-radius: 4px;
  align-self: flex-end;
}
.w-msg--typing {
  align-self: flex-start;
}
.typing-dots {
  display: flex; gap: 4px; align-items: center;
  padding: 2px 0;
}
.typing-dots span {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--muted-light);
  animation: dot-bounce 1.2s ease-in-out infinite;
}
.typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.typing-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes dot-bounce {
  0%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-6px); }
}

.widget-form {
  padding: 10px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 8px;
  background: var(--surface);
}
.widget-input {
  flex: 1;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 8px 12px;
  color: var(--text);
  font-size: 0.82rem;
  font-family: var(--font);
  outline: none;
  transition: border-color 0.2s;
}
.widget-input::placeholder { color: var(--muted-light); }
.widget-input:focus { border-color: var(--primary); }

.widget-send {
  background: var(--primary);
  border: none;
  border-radius: 8px;
  width: 36px;
  height: 36px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  color: #fff;
  font-size: 0.9rem;
  transition: background 0.2s;
  flex-shrink: 0;
}
.widget-send:hover { background: var(--primary-dark); }

/* ============================================================
   Legal pages (privacy, terms)
   ============================================================ */
.legal-page {
  padding-top: 100px;
  padding-bottom: 80px;
  padding-left: 2rem;
  padding-right: 2rem;
}
.legal-inner {
  max-width: 740px;
  margin: 0 auto;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 3rem;
  box-shadow: 0 8px 32px var(--shadow);
}
.legal-inner h1 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 900;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
  color: var(--text);
}
.legal-inner .last-updated {
  font-size: 0.85rem;
  color: var(--muted-light);
  margin-bottom: 2.5rem;
}
.legal-content {
  color: var(--muted);
  font-size: 0.97rem;
  line-height: 1.85;
}
.legal-content b {
  display: block;
  color: var(--text);
  font-size: 1rem;
  font-weight: 700;
  margin-top: 1.8rem;
  margin-bottom: 0.4rem;
}
.legal-content ul {
  margin: 0.5rem 0 0.5rem 1.5rem;
  color: var(--muted);
}
.legal-content ul li { margin-bottom: 0.3rem; }
.legal-content a { color: var(--primary); }

/* ============================================================
   Contact page
   ============================================================ */
.contact-page {
  padding-top: 100px;
  padding-bottom: 80px;
  padding-left: 2rem;
  padding-right: 2rem;
  min-height: calc(100vh - 68px);
  display: flex;
  align-items: center;
}
.contact-inner {
  max-width: 560px;
  margin: 0 auto;
  width: 100%;
}
.contact-card {
  background: var(--surface);
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 3rem;
  text-align: center;
  box-shadow: 0 12px 40px var(--shadow-lg);
}
.contact-card h1 {
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 0.5rem;
  color: var(--text);
}
.contact-card .subtitle {
  color: var(--muted);
  margin-bottom: 2.5rem;
}
.contact-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1rem 1.5rem;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}
.contact-item .icon { font-size: 1.3rem; }
.contact-item a { color: var(--text); font-weight: 600; }
.contact-item a:hover { color: var(--primary); text-decoration: none; }
.contact-note {
  font-size: 0.82rem;
  color: var(--muted-light);
  margin-top: 1.5rem;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 900px) {
  .hero__inner,
  .ai-layout,
  .game-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .hero__visual { order: -1; }
  .hero__fruit { width: 260px; height: 260px; }
  .features-grid { grid-template-columns: 1fr; }
  .navbar__links {
    position: fixed;
    top: 68px; left: 0; right: 0;
    flex-direction: column;
    background: rgba(240, 245, 255, 0.96);
    backdrop-filter: blur(20px);
    padding: 1.5rem 2rem;
    gap: 1.2rem;
    border-bottom: 1px solid var(--border);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s, opacity 0.3s;
    box-shadow: 0 8px 24px var(--shadow);
  }
  .navbar__links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  .navbar__links a { font-size: 1rem; }
  .navbar__burger { display: flex; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .chat-widget { bottom: 20px; right: 16px; }
  .chat-widget__panel { width: calc(100vw - 32px); right: 0; }
  .contact-card { padding: 2rem 1.5rem; }
  .legal-inner { padding: 2rem 1.5rem; }
}

@media (max-width: 500px) {
  section { padding: 60px 1.2rem; }
  .hero { padding: 90px 1.2rem 50px; }
  .legal-page, .contact-page { padding-left: 1.2rem; padding-right: 1.2rem; }
  .hero__badge--top, .hero__badge--bottom { display: none; }
}
