/* ========================================
   Muse Landing Page
   Aesthetic: Warm, youthful, personal
   ======================================== */

:root {
  /* Warm palette */
  --peach: #ffb5a7;
  --peach-light: #fcd5ce;
  --rose: #f28482;
  --cream: #fdf6f0;
  --cream-dark: #f5ebe0;
  --blush: #fec89a;
  --sage: #a7c4a0;
  --text: #2d2a26;
  --text-soft: #6b6560;
  --text-muted: #a39e99;
  --white: #ffffff;
  --glass: rgba(255, 255, 255, 0.65);
  --glass-border: rgba(255, 181, 167, 0.3);

  /* Sizing */
  --nav-h: 72px;
  --max-w: 1120px;
  --radius: 20px;
  --radius-sm: 12px;
  --radius-xs: 8px;
}

/* ---- Reset ---- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: 'Noto Sans TC', 'Quicksand', sans-serif;
  color: var(--text);
  background: var(--cream);
  overflow-x: hidden;
  line-height: 1.6;
}

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

em {
  font-style: normal;
  background: linear-gradient(120deg, var(--peach) 0%, var(--blush) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}

/* ---- Grain overlay ---- */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px;
}

/* ---- Ambient blobs ---- */
.ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.ambient-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  animation: float 20s ease-in-out infinite;
}

.blob-1 {
  width: 500px;
  height: 500px;
  background: var(--peach-light);
  top: -10%;
  right: -5%;
  animation-delay: 0s;
}

.blob-2 {
  width: 400px;
  height: 400px;
  background: var(--blush);
  bottom: 20%;
  left: -8%;
  animation-delay: -7s;
  opacity: 0.25;
}

.blob-3 {
  width: 300px;
  height: 300px;
  background: var(--sage);
  bottom: -5%;
  right: 20%;
  animation-delay: -14s;
  opacity: 0.2;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 15px) scale(0.95); }
}

/* ---- Navigation ---- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  z-index: 100;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(253, 246, 240, 0.8);
  border-bottom: 1px solid var(--glass-border);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: 'Quicksand', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: -0.02em;
}

.nav-logo-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  object-fit: cover;
}

.logo-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--rose);
  display: inline-block;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.7; }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 0.9rem;
  font-weight: 500;
}

.nav-links a {
  color: var(--text-soft);
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--text);
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  margin-left: 8px;
  padding-left: 16px;
  border-left: 1px solid var(--glass-border);
}

.lang-switch a {
  color: var(--text-muted);
  font-weight: 400;
}

.lang-switch a:hover {
  color: var(--text);
}

.lang-active {
  color: var(--rose);
  font-weight: 600;
}

.nav-cta {
  background: var(--text);
  color: var(--cream) !important;
  padding: 8px 20px;
  border-radius: 100px;
  font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(45, 42, 38, 0.2);
}

/* ---- Hero ---- */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--nav-h) + 40px) 24px 80px;
  gap: 60px;
  max-width: var(--max-w);
  margin: 0 auto;
}

.hero-content {
  flex: 1;
  max-width: 520px;
}

.hero-badge {
  display: inline-block;
  font-family: 'Quicksand', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--rose);
  background: rgba(242, 132, 130, 0.1);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp 0.6s 0.2s forwards;
}

.hero-title {
  font-family: 'Quicksand', sans-serif;
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero-line-1 {
  display: block;
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 500;
  color: var(--text-soft);
  opacity: 0;
  animation: fadeUp 0.6s 0.35s forwards;
}

.hero-line-2 {
  display: block;
  font-size: clamp(3.5rem, 8vw, 6rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  opacity: 0;
  animation: fadeUp 0.6s 0.5s forwards;
}

.hero-wave {
  color: var(--rose);
  display: inline-block;
  animation: wave 2s ease-in-out 1.5s infinite;
  transform-origin: bottom center;
}

@keyframes wave {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(8deg); }
  75% { transform: rotate(-5deg); }
}

.hero-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--text-soft);
  line-height: 1.8;
  margin-bottom: 36px;
  opacity: 0;
  animation: fadeUp 0.6s 0.65s forwards;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--rose) 0%, var(--peach) 100%);
  color: var(--white);
  padding: 14px 32px;
  border-radius: 100px;
  font-size: 1.05rem;
  font-weight: 600;
  transition: transform 0.25s, box-shadow 0.25s;
  box-shadow: 0 4px 20px rgba(242, 132, 130, 0.3);
  opacity: 0;
  animation: fadeUp 0.6s 0.8s forwards;
}

.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(242, 132, 130, 0.4);
}

.hero-cta svg {
  transition: transform 0.25s;
}

.hero-cta:hover svg {
  transform: translateX(4px);
}

/* ---- Chat preview ---- */
.hero-chat {
  flex: 0 0 340px;
  opacity: 0;
  animation: fadeUp 0.8s 0.6s forwards;
}

.chat-window {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow:
    0 2px 8px rgba(0,0,0,0.04),
    0 12px 40px rgba(0,0,0,0.06),
    0 0 0 1px rgba(0,0,0,0.03);
  overflow: hidden;
}

.chat-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--cream-dark);
}

.chat-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.chat-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.chat-name {
  font-weight: 600;
  font-size: 0.95rem;
}

.chat-status {
  font-size: 0.72rem;
  color: var(--sage);
  font-weight: 500;
  margin-left: auto;
}

.chat-status::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sage);
  margin-right: 4px;
  vertical-align: middle;
}

.chat-messages {
  padding: 16px 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 300px;
}

.chat-msg {
  max-width: 80%;
  opacity: 0;
  transform: translateY(10px);
}

.chat-msg span {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 0.88rem;
  line-height: 1.5;
}

.muse-msg {
  align-self: flex-start;
}

.muse-msg span {
  background: var(--cream);
  border-bottom-left-radius: 4px;
}

.user-msg {
  align-self: flex-end;
}

.user-msg span {
  background: linear-gradient(135deg, var(--rose), var(--peach));
  color: var(--white);
  border-bottom-right-radius: 4px;
}

.muse-photo {
  align-self: flex-start;
}

.chat-photo {
  width: 180px;
  max-height: 200px;
  border-radius: 16px;
  border-bottom-left-radius: 4px;
  display: block;
  object-fit: cover;
}

/* Typing indicator */
.typing-indicator {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 12px 16px !important;
  background: var(--cream);
  border-radius: 16px;
  border-bottom-left-radius: 4px;
}

.typing-indicator i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--text-muted);
  display: block;
  animation: typing-bounce 1.4s ease-in-out infinite;
}

.typing-indicator i:nth-child(2) { animation-delay: 0.15s; }
.typing-indicator i:nth-child(3) { animation-delay: 0.3s; }

@keyframes typing-bounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-4px); opacity: 1; }
}

/* Chat message stagger animation */
.chat-msg.visible {
  animation: msgAppear 0.4s forwards;
}

.msg-1.visible { animation-delay: 0.8s; }
.msg-2.visible { animation-delay: 1.6s; }
.msg-3.visible { animation-delay: 2.6s; }
.msg-4.visible { animation-delay: 3.6s; }
.msg-5.visible { animation-delay: 4.4s; }
.msg-6.visible { animation-delay: 5.4s; }

@keyframes msgAppear {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---- Sections common ---- */
.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.section-label {
  font-family: 'Quicksand', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--rose);
  margin-bottom: 12px;
}

.section-title {
  font-family: 'Quicksand', sans-serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 48px;
}

/* ---- Features ---- */
.features {
  position: relative;
  z-index: 1;
  padding: 100px 0;
}

/* Top row: 3 text-only cards; bottom row: 2 carousel cards */
.features-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}

.card-1 { grid-column: 1 / 3; }
.card-2 { grid-column: 3 / 5; }
.card-5 { grid-column: 5 / 7; }
.card-3 { grid-column: 1 / 4; }
.card-4 { grid-column: 4 / 7; }

.feature-card {
  background: var(--glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 36px 32px;
  transition: transform 0.3s, box-shadow 0.3s;
  opacity: 0;
  transform: translateY(20px);
}

.feature-card.visible {
  animation: fadeUp 0.5s forwards;
}

.card-1.visible { animation-delay: 0s; }
.card-2.visible { animation-delay: 0.1s; }
.card-3.visible { animation-delay: 0.2s; }
.card-4.visible { animation-delay: 0.3s; }
.card-5.visible { animation-delay: 0.4s; }

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.06);
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.card-1 .feature-icon { background: rgba(242, 132, 130, 0.12); color: var(--rose); }
.card-2 .feature-icon { background: rgba(254, 200, 154, 0.2); color: #e8944d; }
.card-3 .feature-icon { background: rgba(167, 196, 160, 0.2); color: #6a9a5f; }
.card-4 .feature-icon { background: rgba(180, 140, 200, 0.15); color: #8b6aad; }
.card-5 .feature-icon { background: rgba(255, 181, 167, 0.15); color: var(--peach); }

.feature-card h3 {
  font-family: 'Quicksand', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-soft);
  line-height: 1.7;
}

.feature-card p code {
  background: rgba(242, 132, 130, 0.1);
  color: var(--rose);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.82rem;
  font-family: 'Quicksand', monospace;
  font-weight: 600;
}

/* ---- Feature Carousel ---- */
.feature-carousel {
  margin-top: 16px;
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  max-height: 200px;
  background: var(--cream-dark);
}

.carousel-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: var(--radius-sm);
  opacity: 0;
  transition: opacity 0.8s ease;
}

.carousel-img.active {
  opacity: 1;
}

.carousel-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 2;
}

.carousel-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  transition: background 0.3s, transform 0.3s;
}

.carousel-dot.active {
  background: rgba(255, 255, 255, 0.9);
  transform: scale(1.2);
}

/* ---- How it works ---- */
.how {
  position: relative;
  z-index: 1;
  padding: 80px 0 100px;
}

.steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  position: relative;
}

.step {
  flex: 1;
  text-align: center;
  padding: 0 20px;
  opacity: 0;
  transform: translateY(20px);
}

.step.visible {
  animation: fadeUp 0.5s forwards;
}

.step-1.visible { animation-delay: 0s; }
.step-2.visible { animation-delay: 0.15s; }
.step-3.visible { animation-delay: 0.3s; }

.step-number {
  font-family: 'Quicksand', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--peach-light);
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -0.04em;
}

.step-content h3 {
  font-family: 'Quicksand', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.step-content p {
  font-size: 0.88rem;
  color: var(--text-soft);
  line-height: 1.7;
}

.step-connector {
  flex: 0 0 1px;
  width: 1px;
  height: 60px;
  background: var(--peach-light);
  align-self: center;
  display: none;
}

/* ---- CTA Section ---- */
.cta-section {
  position: relative;
  z-index: 1;
  padding: 60px 0 120px;
}

.cta-card {
  background: var(--white);
  border-radius: calc(var(--radius) * 1.5);
  padding: 60px 40px;
  text-align: center;
  box-shadow:
    0 2px 8px rgba(0,0,0,0.03),
    0 20px 60px rgba(0,0,0,0.06);
  position: relative;
  overflow: hidden;
}

.cta-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--rose), var(--peach), var(--blush), var(--sage));
}

.cta-deco {
  margin-bottom: 20px;
}

.cta-emoji {
  font-size: 2.5rem;
  display: inline-block;
  animation: float-emoji 3s ease-in-out infinite;
}

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

.cta-title {
  font-family: 'Quicksand', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.cta-text {
  color: var(--text-soft);
  font-size: 1rem;
  margin-bottom: 32px;
}

.telegram-login {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
  min-height: 40px;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin: 28px 0 16px;
}

.cta-role-btn {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 28px;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--text);
  text-decoration: none;
  border: 2px solid var(--glass-border);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  min-width: 260px;
  overflow: hidden;
}

.cta-role-btn:hover {
  transform: translateY(-3px);
  border-color: var(--rose);
  box-shadow: 0 12px 32px rgba(242, 132, 130, 0.15);
}

.cta-role-avatar {
  width: 44px !important;
  height: 44px !important;
  min-width: 44px;
  max-width: 44px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 20%;
  flex-shrink: 0;
  overflow: hidden;
}

.cta-role-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.cta-role-name {
  font-weight: 700;
  font-size: 1.05rem;
}

.cta-role-desc {
  font-size: 0.78rem;
  color: var(--text-soft);
}

.cta-role-arrow {
  margin-left: auto;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform 0.2s ease, color 0.2s ease;
}

.cta-role-btn:hover .cta-role-arrow {
  transform: translateX(4px);
  color: var(--rose);
}

@media (max-width: 560px) {
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  .cta-role-btn {
    width: 100%;
    max-width: 320px;
    min-width: unset;
  }
}

.cta-note {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Fallback button (if Telegram widget fails) */
.tg-fallback-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #54a9eb;
  color: var(--white);
  padding: 12px 28px;
  border-radius: 100px;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}

.tg-fallback-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(84, 169, 235, 0.3);
}

.tg-fallback-btn svg {
  width: 20px;
  height: 20px;
}

/* ---- Characters ---- */

.characters {
  padding: 100px 24px;
}

.characters-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.character-card {
  background: var(--glass);
  backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.character-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}

.character-card-dark {
  background: rgba(45, 42, 38, 0.05);
  border-color: rgba(45, 42, 38, 0.12);
}

.character-img-wrap {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.character-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transition: transform 0.4s ease;
}

.character-card:hover .character-img {
  transform: scale(1.03);
}

.character-info {
  padding: 28px;
}

.character-name {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.character-en {
  font-weight: 400;
  color: var(--text-soft);
  font-size: 0.9em;
}

.character-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.character-desc {
  font-size: 0.95rem;
  color: var(--text-soft);
  line-height: 1.7;
  margin-bottom: 16px;
}

.character-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.character-tags .tag {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  background: var(--peach-light);
  color: var(--text);
}

.character-card-dark .tag {
  background: rgba(45, 42, 38, 0.08);
}

.character-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: 50px;
  background: var(--text);
  color: var(--white);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.character-cta:hover {
  background: var(--rose);
  transform: translateX(4px);
}

@media (max-width: 768px) {
  .characters-grid {
    grid-template-columns: 1fr;
  }
}

/* ---- Feedback ---- */

.feedback-section {
  padding: 0 24px 60px;
  text-align: center;
}

.feedback-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  border: 1.5px solid var(--glass-border);
  background: var(--glass);
  backdrop-filter: blur(8px);
  color: var(--text-soft);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.feedback-btn:hover {
  border-color: var(--rose);
  color: var(--rose);
  transform: translateY(-2px);
}

.feedback-btn svg {
  transition: transform 0.2s ease;
}

.feedback-btn:hover svg {
  transform: translateX(4px);
}

/* ---- Footer ---- */
.footer {
  position: relative;
  z-index: 1;
  padding: 24px 0;
  border-top: 1px solid var(--glass-border);
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo {
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-logo-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  object-fit: cover;
}

.footer-text {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-family: 'Quicksand', sans-serif;
}

.footer-link {
  color: var(--text-soft);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s;
}

.footer-link:hover {
  color: var(--rose);
}

.footer-contact {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-family: 'Quicksand', sans-serif;
  margin-top: 4px;
}

.footer-inner {
  flex-wrap: wrap;
  gap: 8px;
}

/* ---- Language Notice Banner ---- */
.lang-notice {
  background: var(--peach-light);
  color: var(--text-soft);
  text-align: center;
  padding: 10px 24px;
  font-size: 0.82rem;
  font-weight: 500;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  z-index: 99;
}

/* ---- Animations ---- */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .card-1, .card-2, .card-3, .card-4, .card-5 {
    grid-column: auto;
  }
}

@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding-top: calc(var(--nav-h) + 32px);
    gap: 40px;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-chat {
    flex: none;
    width: 100%;
    max-width: 360px;
  }

  .hero-cta {
    margin: 0 auto;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .card-1, .card-2, .card-3, .card-4, .card-5 {
    grid-column: 1 / -1;
  }

  .chat-photo {
    width: 150px;
    max-height: 170px;
  }

  .steps {
    flex-direction: column;
    gap: 32px;
    align-items: stretch;
  }

  .step {
    text-align: left;
    display: flex;
    gap: 20px;
    padding: 0;
  }

  .step-number {
    flex: 0 0 auto;
    font-size: 2rem;
  }

  .step-connector {
    display: none;
  }

  .nav-links a:not(.nav-cta) {
    display: none;
  }

  .lang-switch {
    display: none;
  }

  .cta-card {
    padding: 40px 24px;
  }
}

@media (max-width: 480px) {
  .hero-line-2 {
    font-size: 3rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .feature-card {
    padding: 28px 24px;
  }
}
