/* =========================================================
   EMO AI Living Pet // Flagship Luxury Storefront Stylesheet
   Rich Modern Typography, Big Rounded Corners & Fluid Spacing
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800;900&family=JetBrains+Mono:wght@500;700&display=swap');

:root {
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Global Zero-Overflow & Responsive Reset */
*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden !important;
  position: relative;
}

body {
  font-family: var(--font-sans);
  background-color: #ffffff;
  color: #0f172a;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, video, iframe, canvas, svg {
  max-width: 100%;
}

/* Text Wrapping & Mobile Scaling */
h1, h2, h3, h4, h5, h6, p, span, a, li, button, td, th {
  overflow-wrap: break-word;
  word-wrap: break-word;
}

@media (max-width: 640px) {
  .minimal-card {
    border-radius: 1.25rem !important;
  }
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}
::-webkit-scrollbar-track {
  background: #f8fafc;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Big Rounded Luxury Cards */
.minimal-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 1.5rem;
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05), 0 2px 6px -1px rgba(15, 23, 42, 0.02);
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s var(--ease-spring), border-color 0.3s ease;
}

.minimal-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -8px rgba(15, 23, 42, 0.1), 0 6px 16px -2px rgba(15, 23, 42, 0.04);
  border-color: #cbd5e1;
}

/* Pills */
.minimal-pill {
  display: inline-flex;
  align-items: center;
  padding: 7px 20px;
  border-radius: 9999px;
  background-color: #f1f5f9;
  color: #334155;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: all 0.25s var(--ease-spring);
}
.minimal-pill:hover {
  background-color: #e2e8f0;
  transform: scale(1.02);
}

/* Luxury Proportional Action Buttons */
.btn-apple {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0071e3 0%, #0056b3 100%);
  color: #ffffff;
  font-weight: 700;
  border-radius: 9999px;
  box-shadow: 0 8px 24px -2px rgba(0, 113, 227, 0.38);
  transition: transform 0.25s var(--ease-spring), box-shadow 0.25s var(--ease-spring), background 0.25s ease;
  position: relative;
  overflow: hidden;
}
.btn-apple:hover {
  box-shadow: 0 14px 32px -4px rgba(0, 113, 227, 0.55);
  transform: translateY(-2px);
}
.btn-apple:active {
  transform: scale(0.97);
}

.btn-apple-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
  color: #0071e3;
  border: 1.5px solid #0071e3;
  font-weight: 700;
  border-radius: 9999px;
  transition: all 0.25s var(--ease-spring);
}
.btn-apple-outline:hover {
  background-color: #f0f7ff;
  border-color: #0056b3;
  color: #0056b3;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px -2px rgba(0, 113, 227, 0.18);
}
.btn-apple-outline:active {
  transform: scale(0.97);
}

/* Interactive Robot Screen Frame */
.robot-screen-frame {
  background: #090a0f;
  border: 3px solid #334155;
  border-radius: 28px;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 35px rgba(0, 0, 0, 0.9), 0 15px 35px rgba(0,0,0,0.1);
  transition: all 0.4s var(--ease-spring);
}

.robot-screen-scanline {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%);
  background-size: 100% 4px;
  pointer-events: none;
  z-index: 10;
}

/* Robot Eyes */
.robot-eye {
  width: 52px;
  height: 68px;
  background: #38bdf8;
  border-radius: 18px;
  box-shadow: 0 0 20px #38bdf8, 0 0 45px rgba(56, 189, 248, 0.6);
  transition: all 0.35s var(--ease-bounce);
  position: relative;
}

.robot-eye::after {
  content: '';
  position: absolute;
  top: 9px;
  right: 9px;
  width: 13px;
  height: 13px;
  background: #ffffff;
  border-radius: 50%;
  opacity: 0.95;
}

/* Mood Animations */
.mood-happy .robot-eye {
  height: 38px;
  border-radius: 22px 22px 0 0;
  transform: translateY(10px) rotate(5deg);
}
.mood-happy .robot-eye:last-child {
  transform: translateY(10px) rotate(-5deg);
}

.mood-sassy .robot-eye:first-child {
  transform: rotate(-14deg) scaleY(0.8);
  border-radius: 8px 22px 22px 22px;
}
.mood-sassy .robot-eye:last-child {
  transform: rotate(14deg) scaleY(1.1);
}

.mood-sleepy .robot-eye {
  height: 8px;
  border-radius: 6px;
  background: #60a5fa;
  box-shadow: 0 0 10px #60a5fa;
}
.mood-sleepy .robot-eye::after {
  display: none;
}

.mood-dj .robot-eye {
  background: #f43f5e;
  box-shadow: 0 0 25px #f43f5e;
  animation: djBounce 0.35s infinite alternate ease-in-out;
}

.mood-neural .robot-eye {
  background: #a855f7;
  box-shadow: 0 0 25px #a855f7;
  animation: neuralWave 1.1s infinite ease-in-out;
}

@keyframes djBounce {
  0% { transform: scaleY(0.75) scaleX(1.15); }
  100% { transform: scaleY(1.2) scaleX(0.85); }
}

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

/* Video Player */
.video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 24px;
}
.video-container iframe,
.video-container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Clean, Spacious FAQ Cards with Big Rounded Corners */
.faq-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 1.25rem;
  overflow: hidden;
  transition: all 0.3s var(--ease-spring);
}

.faq-card:hover {
  border-color: #94a3b8;
  box-shadow: 0 10px 25px -4px rgba(15, 23, 42, 0.06);
}

.faq-card[open] {
  border-color: #3b82f6;
  box-shadow: 0 12px 30px -4px rgba(59, 130, 246, 0.12);
}

.faq-card summary {
  list-style: none;
  cursor: pointer;
  padding: 1.25rem 1.5rem;
  font-weight: 800;
  font-size: 1rem;
  color: #0f172a;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.2s ease;
}
.faq-card summary::-webkit-details-marker {
  display: none;
}

.faq-card summary:hover {
  color: #0071e3;
}

.faq-card .faq-icon {
  transition: transform 0.35s var(--ease-bounce), color 0.2s ease;
  color: #64748b;
}

.faq-card[open] summary .faq-icon {
  transform: rotate(180deg);
  color: #0071e3;
}

.faq-card .faq-body {
  padding: 0 1.5rem 1.5rem 1.5rem;
  color: #475569;
  font-size: 0.925rem;
  line-height: 1.7;
}

/* Scroll Reveal */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease-spring), transform 0.6s var(--ease-spring);
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}
