/* ===== Dollog Home — Landing Page Styles ===== */

/* Inherit design tokens from main style.css :root */
:root {
  --bg: #ffffff;
  --card: #ffffff;
  --card-hover: #FFFEF9;
  --txt: #1A1A1A;
  --muted: #6B7280;
  --accent: #C49B2C;
  --accent-light: #FDF8E8;
  --ok: #22c583;
  --warn: #f5a623;
  --bad: #f2566b;
  --border: #E5E7EB;
  --shadow: rgba(196, 155, 44, 0.08);
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 3px rgba(196, 155, 44, 0.04);
  --shadow-md: 0 4px 16px rgba(196, 155, 44, 0.08);
  --shadow-lg: 0 8px 32px rgba(196, 155, 44, 0.12);
  --shadow-xl: 0 16px 48px rgba(196, 155, 44, 0.16);
  --glass-bg: rgba(255, 255, 255, 0.8);
  --glass-border: rgba(255, 255, 255, 0.7);
  --glass-blur: 12px;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --content-max: 1100px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Noto Sans SC', sans-serif;
  color: var(--txt);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── Region Toast (bottom-right popup) ── */
.region-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 2000;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px 24px;
  max-width: 340px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.12), 0 2px 8px rgba(0,0,0,0.06);
  animation: toastSlideIn 0.4s var(--ease-out-expo);
}
.region-toast.hiding {
  animation: toastSlideOut 0.3s ease forwards;
}
.region-toast-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--txt);
  margin-bottom: 6px;
}
.region-toast-text {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 14px;
}
.region-toast-btn {
  display: inline-flex;
  padding: 7px 20px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.region-toast-btn:hover {
  background: #b38a25;
  transform: translateY(-1px);
}

@keyframes toastSlideIn {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@keyframes toastSlideOut {
  to {
    opacity: 0;
    transform: translateY(10px) scale(0.95);
  }
}

@media (max-width: 768px) {
  .region-toast {
    bottom: 0;
    right: 0;
    left: 0;
    max-width: none;
    border-radius: 14px 14px 0 0;
    border-bottom: none;
  }
}

/* ── Public Nav ── */
.public-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 64px;
  z-index: 1000;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border-bottom: 1px solid var(--border);
  transition: all 0.3s ease;
}
.public-nav.scrolled {
  height: 56px;
  box-shadow: var(--shadow-sm);
}
.public-nav-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.public-nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-size: 18px;
  font-weight: 700;
  color: var(--accent);
}
.public-nav-logo img {
  border-radius: 6px;
}
.public-nav-links {
  display: flex;
  gap: 32px;
}
.public-nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}
.public-nav-links a:hover {
  color: var(--accent);
}
.public-nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
/* Language picker (model-picker style) */
.lang-picker {
  position: relative;
  flex-shrink: 0;
}
.lang-picker-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  border: 1.5px solid var(--border);
  color: var(--muted);
  padding: 7px 12px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.lang-picker-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.lang-picker.open .lang-picker-btn {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-light);
  box-shadow: 0 0 0 3px rgba(196, 155, 44, 0.08);
}
.lang-picker-flag {
  font-size: 15px;
  line-height: 1;
}
.lang-picker-label {
  max-width: 80px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lang-picker-arrow {
  opacity: 0.5;
  transition: transform 0.2s;
}
.lang-picker.open .lang-picker-arrow {
  transform: rotate(180deg);
}

/* Dropdown panel */
.lang-picker-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 6px;
  min-width: 180px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12), 0 2px 8px rgba(0,0,0,0.06);
  z-index: 100;
  animation: langDropDown 0.2s var(--ease-out-expo);
}
.lang-picker.open .lang-picker-dropdown {
  display: block;
}
@keyframes langDropDown {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Options */
.lang-picker-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s;
}
.lang-picker-option:hover {
  background: var(--accent-light);
}
.lang-picker-option.selected {
  background: var(--accent-light);
}
.lang-picker-option-flag {
  font-size: 16px;
  line-height: 1;
}
.lang-picker-option-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--txt);
  flex: 1;
}
.lang-picker-option.selected .lang-picker-option-label {
  color: var(--accent);
  font-weight: 600;
}
.lang-picker-check {
  color: var(--accent);
  flex-shrink: 0;
}

/* Mobile picker full-width */
.lang-picker-mobile {
  width: 100%;
}
.lang-picker-mobile .lang-picker-btn {
  width: 100%;
  justify-content: center;
  border-radius: 10px;
  padding: 10px 14px;
}
.lang-picker-mobile .lang-picker-dropdown {
  left: 0;
  right: 0;
}
.public-nav-btn {
  display: inline-flex;
  align-items: center;
  padding: 8px 20px;
  background: var(--accent);
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s;
}
.public-nav-btn:hover {
  background: #b38a25;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* Hamburger */
.public-nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.public-nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--txt);
  border-radius: 2px;
  transition: all 0.3s;
}
.public-nav-hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.public-nav-hamburger.active span:nth-child(2) {
  opacity: 0;
}
.public-nav-hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile menu */
.public-nav-mobile {
  display: none;
  flex-direction: column;
  padding: 16px 24px;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  border-bottom: 1px solid var(--border);
}
.public-nav-mobile.show {
  display: flex;
}
.public-nav-mobile a {
  padding: 12px 0;
  text-decoration: none;
  color: var(--txt);
  font-size: 15px;
  border-bottom: 1px solid var(--border);
}
.public-nav-mobile a:last-child {
  border: none;
  margin-top: 8px;
}
.public-nav-mobile .public-nav-btn {
  text-align: center;
  justify-content: center;
}

/* ── Hero Section ── */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  overflow: hidden;
  background: linear-gradient(180deg, #FFFDF5 0%, #ffffff 40%, #FDF8E8 100%);
}
.hero-bg-decor {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(196, 155, 44, 0.15) 0%, transparent 70%),
    radial-gradient(ellipse 50% 50% at 90% 80%, rgba(196, 155, 44, 0.10) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 10% 70%, rgba(196, 155, 44, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

/* Animated mesh gradient */
.hero-mesh {
  position: absolute;
  inset: -50%;
  background:
    conic-gradient(from 45deg at 30% 40%, rgba(196, 155, 44, 0.10) 0deg, transparent 90deg, transparent 360deg),
    conic-gradient(from 200deg at 70% 60%, rgba(196, 155, 44, 0.08) 0deg, transparent 120deg, transparent 360deg);
  animation: meshRotate 25s linear infinite;
  pointer-events: none;
}

/* Aurora light bands */
.hero-aurora {
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(80px);
}
.hero-aurora-1 {
  width: 600px;
  height: 300px;
  top: -5%;
  left: -10%;
  background: radial-gradient(ellipse, rgba(196, 155, 44, 0.18) 0%, rgba(212, 169, 58, 0.06) 50%, transparent 80%);
  animation: auroraShift1 12s ease-in-out infinite;
}
.hero-aurora-2 {
  width: 500px;
  height: 250px;
  bottom: -5%;
  right: -10%;
  background: radial-gradient(ellipse, rgba(196, 155, 44, 0.14) 0%, rgba(179, 138, 37, 0.04) 50%, transparent 80%);
  animation: auroraShift2 15s ease-in-out infinite;
}

/* Subtle grid pattern */
.hero-grid-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(196, 155, 44, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(196, 155, 44, 0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 70%);
  pointer-events: none;
  animation: gridPulse 8s ease-in-out infinite;
}

/* Floating orbs */
.hero-orbs {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  opacity: 0;
  animation: orbFloat 20s ease-in-out infinite;
}
.hero-orb-1 {
  width: 10px;
  height: 10px;
  background: rgba(196, 155, 44, 0.6);
  box-shadow: 0 0 16px 4px rgba(196, 155, 44, 0.3);
  top: 18%;
  left: 12%;
  animation-delay: 0s;
  animation-duration: 14s;
}
.hero-orb-2 {
  width: 7px;
  height: 7px;
  background: rgba(196, 155, 44, 0.5);
  box-shadow: 0 0 12px 3px rgba(196, 155, 44, 0.25);
  top: 30%;
  right: 18%;
  animation-delay: -3s;
  animation-duration: 17s;
}
.hero-orb-3 {
  width: 14px;
  height: 14px;
  background: rgba(196, 155, 44, 0.4);
  box-shadow: 0 0 20px 6px rgba(196, 155, 44, 0.2);
  bottom: 28%;
  left: 22%;
  animation-delay: -7s;
  animation-duration: 20s;
}
.hero-orb-4 {
  width: 8px;
  height: 8px;
  background: rgba(196, 155, 44, 0.55);
  box-shadow: 0 0 14px 4px rgba(196, 155, 44, 0.25);
  top: 55%;
  right: 10%;
  animation-delay: -11s;
  animation-duration: 16s;
}
.hero-orb-5 {
  width: 6px;
  height: 6px;
  background: rgba(196, 155, 44, 0.7);
  box-shadow: 0 0 10px 3px rgba(196, 155, 44, 0.35);
  top: 12%;
  right: 32%;
  animation-delay: -5s;
  animation-duration: 12s;
}
.hero-orb-6 {
  width: 12px;
  height: 12px;
  background: rgba(196, 155, 44, 0.35);
  box-shadow: 0 0 18px 5px rgba(196, 155, 44, 0.18);
  top: 70%;
  left: 8%;
  animation-delay: -2s;
  animation-duration: 22s;
}
.hero-orb-7 {
  width: 5px;
  height: 5px;
  background: rgba(196, 155, 44, 0.65);
  box-shadow: 0 0 8px 3px rgba(196, 155, 44, 0.3);
  bottom: 15%;
  right: 28%;
  animation-delay: -9s;
  animation-duration: 13s;
}

/* Center glow pulse */
.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 700px;
  height: 700px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(196, 155, 44, 0.14) 0%, rgba(196, 155, 44, 0.04) 40%, transparent 70%);
  border-radius: 50%;
  animation: glowPulse 5s ease-in-out infinite;
  pointer-events: none;
}

.hero-content {
  position: relative;
  max-width: 700px;
  animation: fadeInUp 0.8s var(--ease-out-expo) both;
}
.hero-title {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--txt) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  font-size: 18px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Hero Animations */
@keyframes meshRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes auroraShift1 {
  0%, 100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.7;
  }
  50% {
    transform: translate(80px, 30px) scale(1.2);
    opacity: 1;
  }
}
@keyframes auroraShift2 {
  0%, 100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.6;
  }
  50% {
    transform: translate(-60px, -25px) scale(1.15);
    opacity: 1;
  }
}
@keyframes gridPulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}
@keyframes orbFloat {
  0%, 100% {
    opacity: 0;
    transform: translateY(0) translateX(0) scale(1);
  }
  15% {
    opacity: 1;
  }
  50% {
    opacity: 0.9;
    transform: translateY(-50px) translateX(25px) scale(1.6);
  }
  85% {
    opacity: 1;
  }
}
@keyframes glowPulse {
  0%, 100% {
    opacity: 0.6;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.2);
  }
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  background: var(--accent);
  color: #fff;
  border-radius: 10px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.25s var(--ease-out-expo);
  box-shadow: 0 4px 12px rgba(196, 155, 44, 0.25);
}
.btn-primary:hover {
  background: #b38a25;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(196, 155, 44, 0.3);
}
.btn-primary.btn-large {
  padding: 18px 44px;
  font-size: 18px;
  border-radius: 12px;
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
  border-radius: 10px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.25s var(--ease-out-expo);
}
.btn-secondary:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
}

/* ── Trust Bar ── */
.trust-bar {
  padding: 24px;
  background: var(--accent-light);
  border-top: 1px solid rgba(196, 155, 44, 0.1);
  border-bottom: 1px solid rgba(196, 155, 44, 0.1);
}
.trust-bar-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}
.trust-item {
  font-size: 14px;
  font-weight: 600;
  color: var(--txt);
  white-space: nowrap;
}
.trust-divider {
  width: 1px;
  height: 16px;
  background: rgba(196, 155, 44, 0.3);
}

/* ── Section Commons ── */
.section-container {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 24px;
}
.section-title {
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 12px;
}
.section-desc {
  text-align: center;
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 48px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* ── AI Demo Section ── */
.demo-section {
  padding: 100px 24px;
  background: #FAFAFA;
}
.demo-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 32px;
}
.demo-tab {
  padding: 10px 24px;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s;
}
.demo-tab:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.demo-tab.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* Demo Window */
.demo-window {
  max-width: 700px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  background: #fff;
  border: 1px solid var(--border);
}
.demo-window-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: #F9FAFB;
  border-bottom: 1px solid var(--border);
}
.demo-dots {
  display: flex;
  gap: 6px;
}
.demo-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.demo-dots span:nth-child(1) { background: #FF5F57; }
.demo-dots span:nth-child(2) { background: #FFBD2E; }
.demo-dots span:nth-child(3) { background: #27CA40; }
.demo-window-title {
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
}
.demo-chat {
  padding: 24px;
  min-height: 320px;
  max-height: 520px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Chat bubbles */
.demo-msg {
  display: flex;
  gap: 10px;
  animation: fadeInMsg 0.3s ease both;
}
.demo-msg.user {
  justify-content: flex-end;
}
.demo-msg-bubble {
  max-width: 80%;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.7;
}
.demo-msg.user .demo-msg-bubble {
  background: linear-gradient(135deg, #C49B2C, #D4A93A);
  color: #fff;
  border-bottom-right-radius: 4px;
}
.demo-msg.ai .demo-msg-bubble {
  background: #F3F4F6;
  color: var(--txt);
  border-bottom-left-radius: 4px;
}
.demo-msg.ai .demo-msg-bubble strong {
  color: var(--accent);
}
.demo-msg.ai .demo-msg-bubble table {
  width: 100%;
  border-collapse: collapse;
  margin: 8px 0;
  font-size: 12px;
}
.demo-msg.ai .demo-msg-bubble th,
.demo-msg.ai .demo-msg-bubble td {
  padding: 4px 8px;
  border: 1px solid var(--border);
  text-align: left;
}
.demo-msg.ai .demo-msg-bubble th {
  background: #F9FAFB;
  font-weight: 600;
}
.demo-msg.ai .demo-msg-bubble ul,
.demo-msg.ai .demo-msg-bubble ol {
  padding-left: 18px;
  margin: 6px 0;
}

/* Thinking indicator */
.demo-thinking {
  display: flex;
  gap: 4px;
  padding: 4px 0;
}
.demo-thinking span {
  width: 6px;
  height: 6px;
  background: var(--muted);
  border-radius: 50%;
  animation: bounce 1.2s infinite;
}
.demo-thinking span:nth-child(2) { animation-delay: 0.2s; }
.demo-thinking span:nth-child(3) { animation-delay: 0.4s; }

/* ── Features Grid ── */
.features-section {
  padding: 100px 24px;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: all 0.3s var(--ease-out-expo);
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(196, 155, 44, 0.2);
}
.feature-icon {
  font-size: 36px;
  margin-bottom: 16px;
}
.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}
.feature-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

/* ── Testimonials ── */
.testimonials-section {
  padding: 100px 24px;
  background: linear-gradient(180deg, #fff 0%, #FAFAFA 100%);
}
.testimonials-marquee {
  position: relative;
  overflow: hidden;
  margin: 0 -24px;
  padding: 4px 0 12px;
  mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
}
.testimonials-track {
  display: flex;
  width: max-content;
  animation: testimonialsMarquee 44s linear infinite;
}
.testimonials-marquee:hover .testimonials-track {
  animation-play-state: paused;
}
.testimonials-set {
  display: flex;
  gap: 24px;
  padding-right: 24px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  flex: 0 0 340px;
  min-height: 300px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease-out-expo), box-shadow 0.3s var(--ease-out-expo), border-color 0.3s var(--ease-out-expo);
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(196, 155, 44, 0.2);
}
.testimonial-profile {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}
.testimonial-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  border-radius: 50%;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.35), 0 8px 20px rgba(17,24,39,0.08);
}
.avatar-blue {
  background: linear-gradient(135deg, #2563EB 0%, #38BDF8 100%);
}
.avatar-green {
  background: linear-gradient(135deg, #059669 0%, #34D399 100%);
}
.avatar-gold {
  background: linear-gradient(135deg, #C49B2C 0%, #F59E0B 100%);
}
.avatar-purple {
  background: linear-gradient(135deg, #7C3AED 0%, #A78BFA 100%);
}
.avatar-rose {
  background: linear-gradient(135deg, #E11D48 0%, #FB7185 100%);
}
.avatar-slate {
  background: linear-gradient(135deg, #334155 0%, #64748B 100%);
}
.testimonial-profile h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--txt);
  margin-bottom: 2px;
}
.testimonial-profile p {
  font-size: 13px;
  color: var(--muted);
}
.testimonial-quote {
  flex: 1;
  font-size: 15px;
  line-height: 1.8;
  color: #374151;
  margin-bottom: 22px;
}
.testimonial-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.testimonial-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 10px;
  border-radius: 7px;
  background: var(--accent-light);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
}
@keyframes testimonialsMarquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ── Indicators Preview ── */
.indicators-preview {
  padding: 100px 24px;
  background: #FAFAFA;
}
.indicator-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}
.indicator-preview-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: all 0.3s var(--ease-out-expo);
}
.indicator-preview-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.ipc-badge {
  display: inline-block;
  padding: 3px 10px;
  background: #EEF2FF;
  color: #4F46E5;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 12px;
}
.ipc-badge.fundamental {
  background: #FEF3C7;
  color: #92400E;
}
.ipc-badge.macro {
  background: #D1FAE5;
  color: #065F46;
}
.indicator-preview-card h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}
.indicator-preview-card p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}
.indicators-link {
  display: block;
  text-align: center;
  color: var(--accent);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: color 0.2s;
}
.indicators-link:hover {
  color: #b38a25;
}

/* ── Final CTA ── */
.final-cta {
  padding: 100px 24px;
  text-align: center;
  background: linear-gradient(180deg, #fff 0%, var(--accent-light) 100%);
}
.final-cta h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 12px;
}
.final-cta p {
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 32px;
}

/* ── Footer ── */
.landing-footer {
  padding: 32px 24px;
  border-top: 1px solid var(--border);
  background: #fff;
}
.footer-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 15px;
}
.footer-brand img {
  border-radius: 4px;
}
.footer-links {
  display: flex;
  gap: 24px;
}
.footer-links a {
  text-decoration: none;
  color: var(--muted);
  font-size: 13px;
  transition: color 0.2s;
}
.footer-links a:hover {
  color: var(--accent);
}
.footer-copy {
  font-size: 12px;
  color: var(--muted);
}

/* ── Animations ── */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeInMsg {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes bounce {
  0%, 60%, 100% { transform: translateY(0); }
  30% { transform: translateY(-4px); }
}

/* Scroll reveal */
.fade-in-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease-out-expo), transform 0.6s var(--ease-out-expo);
}
.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Demo Artifact Components ── */

/* Tool status items */
.demo-tool-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  font-size: 12px;
  color: var(--ok);
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.demo-tool-item.show {
  opacity: 1;
  transform: translateX(0);
}
.demo-tool-check {
  font-weight: 700;
  font-size: 13px;
}

/* Artifact bubble override */
.demo-msg-artifact {
  justify-content: center;
}
.demo-artifact-bubble {
  max-width: 92% !important;
  width: 92%;
  padding: 16px !important;
  background: #F9FAFB !important;
}

/* ── Quote Card ── */
.demo-quote-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 12px;
}
.demo-quote-left {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.demo-quote-ticker {
  font-size: 16px;
  font-weight: 800;
  color: var(--txt);
}
.demo-quote-name {
  font-size: 12px;
  color: var(--muted);
}
.demo-quote-right {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.demo-quote-price {
  font-size: 20px;
  font-weight: 700;
  color: var(--txt);
}
.demo-quote-change {
  font-size: 14px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 6px;
}
.demo-quote-change.up {
  color: #16a34a;
  background: rgba(22, 163, 74, 0.1);
}
.demo-quote-change.down {
  color: #dc2626;
  background: rgba(220, 38, 38, 0.1);
}

/* ── KPI Grid ── */
.demo-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}
.demo-kpi-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 8px;
  text-align: center;
}
.demo-kpi-label {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 4px;
}
.demo-kpi-value {
  font-size: 15px;
  font-weight: 700;
  color: var(--txt);
}
.demo-kpi-value.highlight {
  color: var(--ok);
}
.demo-kpi-value.accent {
  color: var(--accent);
}

/* ── Score Bars ── */
.demo-score-bars {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}
.demo-score-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.demo-score-label {
  width: 52px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  text-align: right;
  flex-shrink: 0;
}
.demo-score-track {
  flex: 1;
  height: 8px;
  background: #E5E7EB;
  border-radius: 4px;
  overflow: hidden;
}
.demo-score-fill {
  height: 100%;
  width: 0;
  border-radius: 4px;
  transition: width 0.8s var(--ease-out-expo);
}
.demo-score-fill.green { background: linear-gradient(90deg, #22c583, #16a34a); }
.demo-score-fill.yellow { background: linear-gradient(90deg, #f5a623, #eab308); }
.demo-score-fill.red { background: linear-gradient(90deg, #f2566b, #dc2626); }
.demo-score-num {
  width: 48px;
  font-size: 12px;
  font-weight: 700;
  color: var(--txt);
  flex-shrink: 0;
}
.demo-score-num.warn-text {
  color: var(--warn);
}

/* ── Risk Circle ── */
.demo-risk-circle {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}
.demo-risk-ring {
  position: relative;
  width: 100px;
  height: 100px;
}
.demo-risk-ring svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}
.demo-risk-bg {
  fill: none;
  stroke: #E5E7EB;
  stroke-width: 8;
}
.demo-risk-fg {
  fill: none;
  stroke: var(--warn);
  stroke-width: 8;
  stroke-linecap: round;
  transition: stroke-dashoffset 1s ease-out;
}
.demo-risk-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.demo-risk-num {
  font-size: 26px;
  font-weight: 800;
  color: var(--warn);
  line-height: 1;
}
.demo-risk-of {
  font-size: 12px;
  color: var(--muted);
  line-height: 1;
  margin-top: 2px;
}
.demo-risk-label-text {
  font-size: 13px;
  font-weight: 700;
  padding: 2px 12px;
  border-radius: 6px;
}
.demo-risk-label-text.warn {
  color: var(--warn);
  background: rgba(245, 166, 35, 0.12);
}

/* ── Holdings Mini Table ── */
.demo-holdings-mini {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px 12px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 4px;
}
.demo-holding-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 0;
  border-bottom: 1px solid #F3F4F6;
}
.demo-holding-row:last-child {
  border-bottom: none;
}
.demo-holding-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--txt);
}
.demo-holding-pnl {
  font-size: 13px;
  font-weight: 700;
}
.demo-holding-pnl.up { color: #16a34a; }
.demo-holding-pnl.down { color: #dc2626; }

/* ── Environment Badges ── */
.demo-env-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.demo-env-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
}
.demo-env-badge.trend {
  background: rgba(22, 163, 74, 0.1);
  color: #16a34a;
}
.demo-env-badge.vix {
  background: rgba(79, 70, 229, 0.1);
  color: #4F46E5;
}
.demo-env-badge.greed {
  background: rgba(245, 166, 35, 0.1);
  color: var(--warn);
}

/* ── Strategy Cards ── */
.demo-strategy-cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.demo-strategy-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  transition: border-color 0.2s;
}
.demo-strategy-card:first-child {
  border-color: rgba(196, 155, 44, 0.35);
}
.demo-strategy-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}
.demo-strategy-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--txt);
}
.demo-strategy-match {
  font-size: 12px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
}
.demo-strategy-match.high {
  color: #16a34a;
  background: rgba(22, 163, 74, 0.1);
}
.demo-strategy-match.mid {
  color: var(--accent);
  background: var(--accent-light);
}
.demo-strategy-match.low {
  color: var(--muted);
  background: #F3F4F6;
}
.demo-strategy-desc {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 8px;
}
.demo-strategy-bar {
  height: 4px;
  background: #E5E7EB;
  border-radius: 2px;
  overflow: hidden;
}
.demo-strategy-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--accent), #D4A93A);
  border-radius: 2px;
  transition: width 0.8s var(--ease-out-expo);
}

/* ── Guest CTA Banner (indicators page) ── */
.guest-cta-banner {
  background: var(--accent-light);
  border: 1px solid rgba(196, 155, 44, 0.2);
  border-radius: 10px;
  padding: 14px 20px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 14px;
  color: var(--txt);
}
.guest-cta-banner a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.guest-cta-banner a:hover {
  text-decoration: underline;
}

/* No-sidebar layout for guest mode */
.app-layout.no-sidebar .app-content {
  padding-top: 80px;
}

/* ── Reduced Motion ── */
@media (prefers-reduced-motion: reduce) {
  .hero-mesh,
  .hero-aurora,
  .hero-orbs,
  .hero-glow,
  .hero-grid-pattern,
  .testimonials-track {
    animation: none;
  }
  .hero-orb {
    animation: none;
    opacity: 0.4;
  }
}

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

@media (max-width: 768px) {
  .public-nav-links,
  .public-nav-actions {
    display: none;
  }
  .public-nav-hamburger {
    display: flex;
  }

  .hero {
    min-height: 70vh;
    padding: 100px 20px 60px;
  }
  .hero-title {
    font-size: 34px;
  }
  .hero-subtitle {
    font-size: 15px;
  }

  .section-title {
    font-size: 24px;
  }

  .demo-tabs {
    flex-wrap: wrap;
  }
  .demo-tab {
    padding: 8px 16px;
    font-size: 13px;
  }
  .demo-chat {
    min-height: 260px;
    max-height: 520px;
    padding: 16px;
  }
  .demo-kpi-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .demo-artifact-bubble {
    max-width: 98% !important;
    padding: 12px !important;
  }
  .demo-quote-card {
    flex-wrap: wrap;
    gap: 8px;
  }
  .demo-env-badges {
    justify-content: center;
  }

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

  .testimonials-section {
    padding: 72px 20px;
  }

  .testimonial-card {
    flex-basis: 300px;
    min-height: 0;
  }

  .trust-bar-inner {
    flex-direction: column;
    gap: 10px;
  }
  .trust-divider {
    display: none;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 28px;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .btn-primary, .btn-secondary {
    width: 100%;
    justify-content: center;
  }
  .demo-msg-bubble {
    max-width: 90%;
    font-size: 13px;
  }
  .home-login-card {
    padding: 32px 20px 24px;
  }
}

/* ── Home Login Modal ── */
.home-login-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  align-items: center;
  justify-content: center;
  animation: modalFadeIn 0.25s ease;
}
.home-login-overlay.active {
  display: flex;
}
.home-login-card {
  position: relative;
  background: rgba(255, 255, 255, 0.97);
  border-radius: 24px;
  padding: 40px 32px 32px;
  width: 90%;
  max-width: 400px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(196, 155, 44, 0.12);
  text-align: center;
  animation: modalSlideUp 0.3s var(--ease-out-expo);
}
.home-login-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  font-size: 28px;
  color: var(--muted);
  cursor: pointer;
  line-height: 1;
  padding: 4px;
  transition: color 0.2s, transform 0.2s;
}
.home-login-close:hover {
  color: var(--txt);
  transform: scale(1.1);
}

@keyframes modalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes modalSlideUp {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
