/* ======================================================
   ChatSetter — Marketing Site
   Design tokens ported from chatsetter-platform/src/index.css
   ====================================================== */

:root {
  --primary: 40 35% 42%;
  --bronze-50: #faf6ec;
  --bronze-100: #f3ecd4;
  --bronze-200: #e6d6a6;
  --bronze-300: #d4b678;
  --bronze-500: #8e7645;
  --bronze-700: #5e4a24;
  --bronze-900: #2d2317;
  --bronze-950: #1e1810;

  --grad-brand: linear-gradient(135deg, hsl(40 40% 48%) 0%, hsl(32 45% 38%) 55%, hsl(28 50% 28%) 100%);
  --grad-gold:  linear-gradient(135deg, #d4b678 0%, #8e7645 55%, #5e4a24 100%);
  --grad-hero:  linear-gradient(135deg, #1e1810 0%, #2d2317 40%, #4a3a1f 75%, #8e7645 120%);
  --grad-mesh:
      radial-gradient(at 15% 10%, #f3ecd4 0, transparent 50%),
      radial-gradient(at 85% 20%, #f0e5c6 0, transparent 50%),
      radial-gradient(at 80% 90%, #f5ead2 0, transparent 50%),
      radial-gradient(at 10% 85%, #eee0c2 0, transparent 50%);

  --shadow-card: 0 1px 3px 0 rgba(30,20,10,.04), 0 8px 24px -6px rgba(30,20,10,.06);
  --shadow-lg: 0 12px 32px -8px rgba(80,60,30,.14), 0 4px 10px -4px rgba(80,60,30,.08);
  --shadow-glow: 0 10px 40px -10px rgba(142,118,69,.45);
}

html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body { font-feature-settings: "cv02", "cv03", "cv04", "cv11"; }
h1, h2, h3, h4 { letter-spacing: -0.02em; }
h1 { letter-spacing: -0.035em; }

/* ============ SURFACES ============ */
.surface-mesh {
  background-color: #faf7f1;
  background-image: var(--grad-mesh);
}

.premium-card {
  background: #ffffff;
  border: 1px solid #ece4d0;
  border-radius: 1.1rem;
  box-shadow: var(--shadow-card);
  transition: transform .3s cubic-bezier(.4,0,.2,1), box-shadow .3s, border-color .3s;
  position: relative;
  overflow: hidden;
}
.premium-card:hover {
  border-color: rgba(142,118,69,.3);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.shine-on-hover::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.28) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform .7s ease;
  pointer-events: none;
}
.shine-on-hover:hover::before { transform: translateX(100%); }

/* ============ GRADIENTS & TEXT ============ */
.grad-brand { background: var(--grad-brand); }
.grad-gold  { background: var(--grad-gold); }
.grad-hero  { background: var(--grad-hero); }

.grad-text {
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.grad-text-gold {
  background: linear-gradient(135deg, #f3d98a 0%, #d4b678 55%, #8e7645 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ============ BUTTON ============ */
.btn-glow {
  position: relative;
  background: var(--grad-gold);
  color: white;
  box-shadow: var(--shadow-glow);
  transition: transform .25s cubic-bezier(.4,0,.2,1), box-shadow .25s;
}
.btn-glow:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 50px -10px rgba(142,118,69,.6);
}
.btn-glow:active { transform: translateY(0); }

/* ============ DIFFICULTY CHIPS ============ */
.difficulty-easy   { background: linear-gradient(135deg,#d9f2e3,#bde6cb); color:#166b3a; }
.difficulty-medium { background: linear-gradient(135deg,#fbecc5,#f4d69b); color:#8a5a1a; }
.difficulty-hard   { background: linear-gradient(135deg,#f9d6cf,#f4b4a8); color:#a43422; }

/* ============ INSTAGRAM CHAT BUBBLES ============ */
.ig-ring { background: linear-gradient(45deg,#f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%); }

.ig-bubble-sent {
  background: linear-gradient(135deg,#833ab4 0%,#fd1d1d 50%,#fcb045 100%);
  color: #fff;
  border-radius: 18px 18px 4px 18px;
  padding: 9px 13px;
  max-width: 85%;
  word-break: break-word;
}
.ig-bubble-received {
  background: #efefef;
  color: #111;
  border-radius: 18px 18px 18px 4px;
  padding: 9px 13px;
  max-width: 85%;
  word-break: break-word;
}

/* ============ WHATSAPP CHAT ============ */
.wa-wallpaper {
  background-color: #e5ddd5;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c8c0b8' fill-opacity='0.2'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.wa-bubble-sent {
  background: #dcf8c6;
  border-radius: 8px 8px 0 8px;
  padding: 6px 10px 5px;
  max-width: 85%;
  color: #111;
  box-shadow: 0 1px .5px rgba(0,0,0,.13);
  word-break: break-word;
}
.wa-bubble-received {
  background: #fff;
  border-radius: 0 8px 8px 8px;
  padding: 6px 10px 5px;
  max-width: 85%;
  color: #111;
  box-shadow: 0 1px .5px rgba(0,0,0,.13);
  word-break: break-word;
}
.wa-date-badge {
  background: rgba(255,255,255,.9);
  border-radius: 8px;
  padding: 4px 12px;
  font-size: 11px;
  color: #667781;
  box-shadow: 0 1px .5px rgba(0,0,0,.13);
  font-weight: 600;
  letter-spacing: .04em;
}

/* ============ TYPING DOTS ============ */
.typing-dot {
  width: 7px; height: 7px; border-radius: 9999px;
  background: #b0b0b0;
  animation: typing-bounce 1.2s ease-in-out infinite;
}
@keyframes typing-bounce {
  0%, 60%, 100% { transform: translateY(0); opacity: .5; }
  30%           { transform: translateY(-5px); opacity: 1; }
}

/* ============ ANIMATIONS ============ */
@keyframes float-slow {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-16px) rotate(2deg); }
}
@keyframes pulse-glow {
  0%, 100% { opacity: .6; transform: scale(1); }
  50%      { opacity: 1;  transform: scale(1.08); }
}
@keyframes fade-up {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
.animate-float-slow  { animation: float-slow 7s ease-in-out infinite; }
.animate-pulse-glow  { animation: pulse-glow 3.5s ease-in-out infinite; }
.animate-fade-up     { animation: fade-up .6s cubic-bezier(.4,0,.2,1) both; }
.animate-fade-up-delay-1 { animation: fade-up .6s cubic-bezier(.4,0,.2,1) .08s both; }
.animate-fade-up-delay-2 { animation: fade-up .6s cubic-bezier(.4,0,.2,1) .16s both; }
.animate-fade-up-delay-3 { animation: fade-up .6s cubic-bezier(.4,0,.2,1) .24s both; }

/* ============ FAQ ACCORDION ============ */
.faq-item {
  background: #fff;
  border: 1px solid #ece4d0;
  border-radius: 1rem;
  box-shadow: 0 1px 2px rgba(30,20,10,.03);
  transition: box-shadow .2s, border-color .2s;
}
.faq-item[open] {
  border-color: rgba(142,118,69,.35);
  box-shadow: 0 8px 24px -10px rgba(80,60,30,.12);
}
.faq-summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.1rem 1.25rem;
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  color: #2d2317;
  font-size: 15px;
  user-select: none;
}
.faq-summary::-webkit-details-marker { display: none; }
.faq-icon {
  width: 26px; height: 26px; border-radius: 9999px;
  background: #f7efd9;
  position: relative;
  flex: none;
  transition: transform .25s, background .2s;
}
.faq-icon::before,
.faq-icon::after {
  content: ""; position: absolute; inset: 0; margin: auto;
  background: #8e7645;
  border-radius: 2px;
}
.faq-icon::before { width: 12px; height: 2px; }
.faq-icon::after  { width: 2px;  height: 12px; transition: transform .25s; }
.faq-item[open] .faq-icon::after { transform: scaleY(0); }
.faq-item[open] .faq-icon { background: #ebe0bf; }

.faq-body {
  padding: 0 1.25rem 1.25rem;
  color: #4a3e2a;
  font-size: 15px;
  line-height: 1.65;
  animation: fade-up .35s cubic-bezier(.4,0,.2,1) both;
}

/* ============ NAV SCROLL STATE ============ */
#nav.scrolled > div > div {
  background: rgba(255,255,255,.92);
  box-shadow: 0 12px 32px -8px rgba(80,60,30,.10);
}

/* ============ RESPONSIVE HELPERS ============ */
@media (max-width: 640px) {
  .premium-card { border-radius: .95rem; }
}
