@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
  /* Color Palette - Premium Warm Cosmic Violet */
  --bg-dark: #0b071e;
  --bg-deep: #110c2c;
  --bg-surface: rgba(25, 19, 58, 0.65);
  --bg-surface-opaque: #1b133d;
  --bg-glass: rgba(255, 255, 255, 0.03);
  
  --border-light: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(90, 63, 192, 0.35);
  
  --text-main: #f0ecff;
  --text-muted: #9f97c7;
  --text-bright: #ffffff;
  
  --accent: #6d4be0;
  --accent-light: #9d85f5;
  --accent-glow: rgba(109, 75, 224, 0.4);
  
  --gold: #f5a623;
  --gold-light: #ffc970;
  --gold-glow: rgba(245, 166, 35, 0.3);
  
  --green: #10b981;
  --red: #ef4444;
  
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-fast: all 0.15s ease;
  
  --shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  --glow-soft: 0 0 20px rgba(109, 75, 224, 0.15);
}

/* Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-dark);
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(90, 63, 192, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(245, 166, 35, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 50% 50%, rgba(11, 7, 30, 1) 0%, #070414 100%);
  background-attachment: fixed;
  color: var(--text-main);
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  color: var(--text-bright);
  font-weight: 700;
  letter-spacing: -0.02em;
}

a {
  color: var(--accent-light);
  text-decoration: none;
  transition: var(--transition-fast);
}

a:hover {
  color: var(--text-bright);
}

img {
  max-width: 100%;
  height: auto;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 100px 0;
}

@media (max-width: 768px) {
  .section-padding {
    padding: 60px 0;
  }
}

/* Navigation Bar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(11, 7, 30, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(11, 7, 30, 0.9);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
  gap: 18px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Outfit', sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: var(--text-bright);
  letter-spacing: 0.5px;
}

.navbar .logo {
  padding: 6px 12px;
  border-radius: 14px;
  background: transparent;
  box-shadow: none;
}

.logo-image {
  display: block;
  width: auto;
  height: 40px;
  max-width: 190px;
  object-fit: contain;
}

.navbar .lang-selector {
  position: relative;
  top: auto;
  right: auto;
  z-index: 1200;
  flex-shrink: 0;
}

.logo-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent), var(--gold));
  border-radius: 8px;
  color: white;
  font-size: 18px;
  font-weight: bold;
  box-shadow: 0 0 15px rgba(109, 75, 224, 0.4);
}

.logo-text span {
  background: linear-gradient(135deg, var(--accent-light), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 6px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--text-bright);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link.active {
  color: var(--text-bright);
}

.nav-link.active::after {
  width: 100%;
  background: var(--gold);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-bright);
  font-size: 24px;
  cursor: pointer;
  flex-shrink: 0;
  line-height: 1;
}

/* Premium Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: var(--radius-md);
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  gap: 8px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #5231c5);
  color: white;
  box-shadow: 0 4px 20px var(--accent-glow), var(--glow-soft);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--accent-glow), 0 0 30px rgba(109, 75, 224, 0.3);
  background: linear-gradient(135deg, #7c5cf0, var(--accent));
}

.btn-secondary {
  background: var(--bg-surface);
  color: var(--text-main);
  border: 1px solid var(--border-light);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-bright);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold), #bd7b00);
  color: #0b071e;
  font-weight: 700;
  box-shadow: 0 4px 15px var(--gold-glow);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--gold-glow);
  filter: brightness(1.1);
}

/* Hero Section */
.hero {
  position: relative;
  padding-top: 180px;
  padding-bottom: 120px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(109, 75, 224, 0.15);
  border: 1px solid rgba(109, 75, 224, 0.3);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-light);
  margin-bottom: 24px;
  box-shadow: 0 0 15px rgba(109, 75, 224, 0.1);
}

.hero-title {
  font-size: 54px;
  line-height: 1.15;
  margin-bottom: 24px;
}

.hero-title span {
  background: linear-gradient(135deg, var(--text-bright) 40%, var(--accent-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-circle-glow {
  position: absolute;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  filter: blur(20px);
  z-index: 1;
}

/* Floating Card Demo */
.showcase-card {
  width: 280px;
  height: 420px;
  background: linear-gradient(135deg, #241a54 0%, #100a2b 100%);
  border-radius: var(--radius-lg);
  border: 2px solid var(--border-glow);
  position: relative;
  z-index: 2;
  box-shadow: 0 30px 60px rgba(0,0,0,0.6), 0 0 40px rgba(109, 75, 224, 0.25);
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  animation: float 6s ease-in-out infinite;
  transform-style: preserve-3d;
  perspective: 1000px;
  cursor: pointer;
}

.card-hdr {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card-num {
  font-size: 11px;
  font-family: 'Outfit', sans-serif;
  color: var(--gold-light);
  letter-spacing: 1px;
  font-weight: 700;
}

.card-rarity-badge {
  font-size: 9px;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 3px 8px;
  border-radius: 20px;
  background: rgba(245, 166, 35, 0.2);
  color: var(--gold-light);
  border: 1px solid rgba(245, 166, 35, 0.3);
}

.card-img-area {
  flex: 1;
  margin: 12px 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: radial-gradient(circle, #3d2f78 0%, #150f36 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.card-avatar {
  font-size: 80px;
  line-height: 1;
  filter: drop-shadow(0 0 15px rgba(245, 166, 35, 0.6));
  animation: pulseAvatar 3s ease-in-out infinite;
}

.card-body {
  text-align: center;
}

.card-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 4px;
}

.card-emotion {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--gold-light);
  font-weight: 700;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
}

.card-quote {
  font-size: 11.5px;
  font-style: italic;
  color: var(--text-muted);
  line-height: 1.4;
  padding: 8px 4px 0;
  border-top: 1px dashed rgba(255, 255, 255, 0.1);
}

.real-card-stack {
  position: relative;
  z-index: 2;
  width: min(360px, 86vw);
  height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.real-card {
  display: block;
  width: auto;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.62), 0 0 34px rgba(109, 75, 224, 0.22);
}

.hero-real-card {
  position: absolute;
  max-height: 500px;
  transition: var(--transition);
}

.hero-real-card-front {
  z-index: 3;
  transform: translateX(0) rotate(2deg);
}

.hero-real-card-mid {
  z-index: 2;
  max-height: 455px;
  transform: translateX(-82px) rotate(-8deg);
  opacity: 0.72;
}

.hero-real-card-back {
  z-index: 1;
  max-height: 430px;
  transform: translateX(92px) rotate(8deg);
  opacity: 0.58;
}

.real-card-stack:hover .hero-real-card-front {
  transform: translateY(-8px) rotate(1deg);
}

.phone-real-card {
  width: min(230px, 82%);
  max-height: 386px;
  object-fit: contain;
  border-radius: 14px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.54);
}

@keyframes float {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(2deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes pulseAvatar {
  0% { transform: scale(1); filter: drop-shadow(0 0 10px rgba(245, 166, 35, 0.4)); }
  50% { transform: scale(1.08); filter: drop-shadow(0 0 25px rgba(245, 166, 35, 0.8)); }
  100% { transform: scale(1); filter: drop-shadow(0 0 10px rgba(245, 166, 35, 0.4)); }
}

/* Glass Section Container */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-tag {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-light);
  letter-spacing: 2px;
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-size: 38px;
  margin-bottom: 16px;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 16px;
}

/* Grid & Cards Systems */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.glass-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: var(--transition);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}

.glass-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-glow);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 0 25px rgba(109, 75, 224, 0.15);
}

.card-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: rgba(109, 75, 224, 0.15);
  border: 1px solid rgba(109, 75, 224, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 24px;
  color: var(--accent-light);
}

/* Info Section Panels */
.info-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 100px;
}

.info-panel.reverse {
  direction: rtl;
}

.info-panel.reverse .info-content {
  direction: ltr;
}

.info-content {
  max-width: 500px;
}

.info-title {
  font-size: 32px;
  margin-bottom: 20px;
  line-height: 1.25;
}

.info-text {
  color: var(--text-muted);
  margin-bottom: 24px;
  font-size: 16px;
}

.info-features {
  list-style: none;
  margin-bottom: 30px;
}

.info-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  color: var(--text-main);
  font-size: 15px;
}

.info-features li svg {
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 4px;
}

/* Phone Mockup Screen Demo */
.phone-mockup-wrap {
  display: flex;
  justify-content: center;
  position: relative;
}

.phone-shell {
  width: 320px;
  height: 640px;
  background: #0f0b24;
  border-radius: 40px;
  border: 4px solid #2d2654;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8), 0 0 40px rgba(90, 63, 192, 0.3);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

.phone-notch {
  width: 120px;
  height: 22px;
  background: #2d2654;
  border-radius: 0 0 16px 16px;
  margin: 0 auto;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.phone-screen {
  flex: 1;
  padding: 30px 16px 16px;
  overflow-y: auto;
  scrollbar-width: none;
  display: flex;
  flex-direction: column;
  background: radial-gradient(circle at top, #18113c 0%, #0b071e 100%);
}

.phone-screen::-webkit-scrollbar {
  display: none;
}

.video-phone-screen {
  padding: 0;
  overflow: hidden;
  background: #080d18;
}

.video-feed-preview {
  position: relative;
  flex: 1;
  min-height: 0;
  background-image: url("../assets/videos/emo_vid_004_paura_verifica.png");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-feed-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(7, 8, 16, 0.08), rgba(7, 8, 16, 0.22) 42%, rgba(7, 8, 16, 0.78));
}

.video-play-button {
  position: relative;
  z-index: 2;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.78);
  background: rgba(10, 12, 22, 0.54);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.44), 0 0 34px rgba(141, 114, 255, 0.28);
  backdrop-filter: blur(10px);
}

.video-play-button svg {
  width: 38px;
  height: 38px;
  fill: currentColor;
  margin-left: 4px;
}

.video-feed-caption {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 22px;
  z-index: 2;
  color: #ffffff;
}

.video-feed-caption span {
  display: block;
  margin-bottom: 7px;
  color: #c9bbff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.video-feed-caption strong {
  display: block;
  font-size: 23px;
  line-height: 1.05;
  margin-bottom: 8px;
}

.video-feed-caption p {
  max-width: 230px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 12.5px;
  line-height: 1.45;
}

/* App-like Feed Demo */
.app-feed-demo {
  height: 100%;
  min-height: 0;
  border-radius: 0;
  overflow: hidden;
  position: relative;
  background: #0b101c;
  color: #ffffff;
  display: flex;
  flex-direction: column;
}

.app-feed-statusbar,
.app-feed-topbar,
.app-feed-bottomnav {
  background: #ffffff;
  color: #080a10;
  flex-shrink: 0;
}

.app-feed-statusbar {
  height: 32px;
  padding: 7px 16px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 800;
}

.app-feed-phone-icons {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #2a2d35;
  font-size: 11px;
}

.app-feed-battery {
  border-radius: 8px;
  background: #4a4d55;
  color: #ffffff;
  padding: 2px 7px;
  font-size: 11px;
}

.app-feed-topbar {
  height: 72px;
  padding: 12px 18px 14px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.app-feed-topbar img {
  height: 34px;
  width: auto;
  margin-right: auto;
}

.app-feed-search {
  width: 30px;
  height: 30px;
  color: #07090e;
}

.app-feed-coin {
  min-width: 66px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #fff5df;
  border: 1px solid #efd9ad;
  color: #9c6414;
  font-size: 18px;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

.app-feed-coin svg {
  width: 14px;
  height: 14px;
  stroke: #9c6414;
}

.app-feed-body {
  min-height: 0;
  flex: 1;
  background: #080d18;
  padding: 22px 14px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.app-feed-author-pill {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #0d1320;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.03);
  padding: 12px 18px 12px 14px;
  color: #ffffff;
  font-size: 18px;
  font-weight: 900;
}

.app-feed-author-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.app-feed-card-wrap {
  flex: 1;
  min-height: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.app-feed-card {
  width: min(258px, 86%);
  max-height: 100%;
  object-fit: contain;
  border-radius: 16px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.42);
}

.app-feed-reactions {
  width: 100%;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.12);
  background: #161c2b;
  padding: 13px 12px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}

.app-feed-reaction {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: #ffffff;
  font-size: 15px;
  font-weight: 900;
}

.app-feed-reaction svg {
  width: 27px;
  height: 27px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.app-feed-reaction .reaction-emoji {
  font-size: 26px;
  line-height: 1;
}

.app-feed-reaction.save {
  color: #8d72ff;
}

.app-feed-bottomnav {
  height: 84px;
  padding: 12px 20px 10px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  gap: 10px;
}

.app-feed-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  color: #8c8c91;
  font-size: 13px;
  font-weight: 600;
}

.app-feed-tab svg {
  width: 28px;
  height: 28px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.app-feed-tab.active {
  color: #8c72dc;
}

.app-feed-tab.active .app-feed-tab-icon {
  width: 64px;
  height: 36px;
  border-radius: 999px;
  background: #f0edff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tiktok-feed-demo {
  height: 560px;
  border-radius: 0;
  overflow: hidden;
  position: relative;
  background: #070414;
  box-shadow: inset 0 0 40px rgba(0,0,0,0.8);
}

.feed-app-topbar {
  position: absolute;
  top: 30px;
  left: 16px;
  right: 16px;
  z-index: 8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}

.feed-app-topbar img {
  height: 26px;
  width: auto;
}

.feed-coin-chip {
  min-width: 58px;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(255, 207, 93, 0.16);
  border: 1px solid rgba(255, 207, 93, 0.32);
  color: #ffd86f;
  font-size: 11px;
  font-weight: 900;
  text-align: center;
}

.tiktok-track {
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.85, 0, 0.15, 1);
}

.tiktok-slide {
  height: 100%;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  background-size: cover;
  background-position: center;
}

.feed-real-slide {
  justify-content: center;
  align-items: center;
  padding: 62px 48px 104px 14px;
  background: radial-gradient(circle at 50% 20%, rgba(109, 75, 224, 0.24), rgba(5, 3, 15, 0.96) 68%);
}

.feed-real-card {
  position: relative;
  z-index: 2;
  width: min(238px, 100%);
  max-height: 404px;
  object-fit: contain;
  border-radius: 14px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.62);
}

.tiktok-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(5, 3, 15, 0.85) 90%);
  z-index: 1;
}

.tiktok-content-box {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
}

.feed-real-slide .tiktok-content-box {
  position: absolute;
  left: 14px;
  right: 62px;
  bottom: 14px;
  height: auto;
}

.tiktok-author {
  font-weight: 700;
  font-size: 14px;
  color: var(--text-bright);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.tiktok-author::before {
  content: '👤';
  font-size: 12px;
}

.tiktok-desc {
  font-size: 12.5px;
  color: var(--text-muted);
  margin-bottom: 8px;
  line-height: 1.4;
}

.tiktok-card-preview {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  padding: 12px;
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  gap: 12px;
  transform: translateY(0);
  transition: var(--transition);
}

.tiktok-card-icon {
  font-size: 24px;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
}

.tiktok-card-info h5 {
  font-size: 13px;
  margin-bottom: 2px;
}

.tiktok-card-info p {
  font-size: 10px;
  color: var(--gold-light);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.tiktok-controls {
  position: absolute;
  right: 10px;
  bottom: 96px;
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tiktok-btn {
  width: 42px;
  min-height: 48px;
  border-radius: 50%;
  background: transparent;
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 3px;
  color: white;
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
  border: 0;
  transition: var(--transition-fast);
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.tiktok-btn svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tiktok-btn:first-child svg {
  fill: rgba(255, 255, 255, 0.16);
}

.tiktok-btn:hover {
  transform: scale(1.1);
}

.tiktok-nav-hints {
  position: absolute;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: 6px;
}

.tiktok-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  transition: var(--transition);
}

.tiktok-dot.active {
  background: var(--accent-light);
  width: 18px;
  border-radius: 10px;
}

/* Chat Simulator */
.chat-simulator {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: rgba(11, 7, 30, 0.4);
  border: 1px solid var(--border-light);
  height: 440px;
  display: flex;
  flex-direction: column;
}

.chat-header {
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 10px;
}

.chat-avatar-status {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(109, 75, 224, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.chat-status-info h4 {
  font-size: 14px;
}

.chat-status-info p {
  font-size: 10px;
  color: var(--green);
  display: flex;
  align-items: center;
  gap: 4px;
}

.chat-status-info p::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}

.chat-messages {
  flex: 1;
  padding: 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.msg {
  max-width: 80%;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  font-size: 13px;
  line-height: 1.4;
}

.msg-bot {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.msg-user {
  background: var(--accent);
  color: white;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.chat-footer-input {
  padding: 12px;
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid var(--border-light);
  display: flex;
  gap: 8px;
}

.chat-mock-input {
  flex: 1;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 8px 12px;
  font-size: 12.5px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
}

.chat-send-btn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--accent);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 14px;
}

/* Features Highlight List */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.feat-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  transition: var(--transition);
}

.feat-item:hover {
  border-color: var(--border-glow);
  transform: translateY(-4px);
}

.feat-emoji {
  font-size: 32px;
  margin-bottom: 12px;
  display: block;
}

.feat-item h4 {
  font-size: 16px;
  margin-bottom: 8px;
}

.feat-item p {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Parents Reassurance Banner */
.parents-banner {
  background: linear-gradient(135deg, rgba(25, 19, 58, 0.7) 0%, rgba(13, 9, 36, 0.7) 100%);
  border: 1px solid rgba(245, 166, 35, 0.2);
  border-radius: var(--radius-lg);
  padding: 48px;
  margin-top: 80px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.parents-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background: var(--gold);
}

.parents-badge {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(245, 166, 35, 0.1);
  border: 1px solid rgba(245, 166, 35, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  color: var(--gold);
}

.parents-content h3 {
  font-size: 24px;
  margin-bottom: 8px;
  color: var(--gold-light);
}

.parents-content p {
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.6;
}

/* Avatars Page Grid */
.avatars-intro {
  padding-top: 140px;
  padding-bottom: 40px;
  text-align: center;
}

.avatars-filter {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 40px 0;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 8px 18px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  font-family: 'Outfit', sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}

.avatars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 30px;
  margin-bottom: 42px;
}

.avatar-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
  position: relative;
}

.avatar-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  box-shadow: inset 0 0 20px var(--aura-color);
  opacity: 0.15;
  pointer-events: none;
  transition: var(--transition);
}

.avatar-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-glow);
  box-shadow: 0 15px 35px rgba(0,0,0,0.5), 0 0 30px var(--aura-color);
}

.avatar-card:hover::after {
  opacity: 0.35;
}

.avatar-img-wrap {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: radial-gradient(circle, var(--aura-color-soft) 0%, transparent 70%);
}

.avatar-img-wrap img {
  max-height: 130px;
  object-fit: contain;
  filter: drop-shadow(0 4px 15px rgba(0,0,0,0.3));
  transition: var(--transition);
}

.avatar-card:hover .avatar-img-wrap img {
  transform: scale(1.1) translateY(-5px);
  filter: drop-shadow(0 8px 25px var(--aura-color));
}

.avatar-meta {
  padding: 20px;
  border-top: 1px solid var(--border-light);
  background: rgba(11, 7, 30, 0.4);
}

.avatar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.avatar-name-box h3 {
  font-size: 20px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.avatar-title-name {
  font-weight: 900;
}

.avatar-title-id {
  font-weight: 500;
  font-size: 0.82em;
  opacity: 0.78;
}

.avatar-id-badge {
  display: none;
}

.avatar-emotion-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--gold-light);
  letter-spacing: 1px;
}

.avatar-rarity {
  display: none;
}

.avatar-rarity.raro {
  color: var(--gold-light);
  border-color: rgba(245, 166, 35, 0.3);
  background: rgba(245, 166, 35, 0.1);
}

.avatar-rarity.epico {
  color: var(--accent-light);
  border-color: rgba(109, 75, 224, 0.3);
  background: rgba(109, 75, 224, 0.1);
}

.avatar-quote {
  font-size: 12px;
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.avatar-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 58px;
}

/* Legal Pages Styling */
.legal-container {
  padding-top: 140px;
  padding-bottom: 100px;
  max-width: 800px;
  margin: 0 auto;
}

.legal-title {
  font-size: 36px;
  margin-bottom: 12px;
}

.legal-meta {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 40px;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 16px;
}

.legal-content h2 {
  font-size: 22px;
  margin: 32px 0 16px;
}

.legal-content p {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 16px;
  line-height: 1.7;
}

.legal-content ul {
  margin-bottom: 24px;
  padding-left: 24px;
  color: var(--text-muted);
  font-size: 15px;
}

.legal-content li {
  margin-bottom: 8px;
}

/* Interactive Accordion for Avatar Tips */
.avatar-detail-drawer {
  display: none;
  background: rgba(11, 7, 30, 0.6);
  border-top: 1px solid var(--border-light);
  padding: 16px 20px;
}

.avatar-card.active .avatar-detail-drawer {
  display: block;
}

#ip-disclaimer {
  padding-top: 26px !important;
  padding-bottom: 0 !important;
}

#ip-disclaimer + .footer {
  margin-top: 34px;
}

.tips-label {
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

.tip-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  color: var(--text-main);
  margin-bottom: 8px;
  line-height: 1.4;
}

.tip-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--aura-color);
  margin-top: 5px;
  flex-shrink: 0;
}

/* Call to Action Final Section */
.cta-section {
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-box {
  background: radial-gradient(circle at center, rgba(90, 63, 192, 0.25) 0%, rgba(11, 7, 30, 0.4) 100%);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow);
}

.cta-title {
  font-size: 40px;
  margin-bottom: 16px;
}

.cta-text {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 36px;
  font-size: 16px;
}

.cta-badge-grid {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.store-badge {
  background: #000000;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 8px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  min-width: 160px;
  transition: var(--transition-fast);
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

.store-badge:hover {
  border-color: var(--accent-light);
  transform: translateY(-2px);
  background: #080517;
}

.store-badge-disabled {
  cursor: default;
  opacity: 0.72;
}

.store-badge-disabled:hover {
  border-color: var(--border-light);
  transform: none;
  background: #000000;
}

.store-badge svg {
  font-size: 24px;
}

.badge-text span {
  display: block;
  font-size: 9px;
  color: var(--text-muted);
  text-transform: uppercase;
}

.badge-text strong {
  font-size: 13px;
  color: white;
  font-weight: 600;
}

/* Footer legal */
.footer {
  background: #060412;
  border-top: 1px solid var(--border-light);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  font-size: 14px;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  font-size: 14px;
  color: var(--text-muted);
}

.footer-links a:hover {
  color: white;
}

.footer-desc {
  color: var(--text-muted);
  font-size: 13.5px;
  line-height: 1.6;
}

.footer-bottom {
  border-top: 1px solid var(--border-light);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-copy {
  font-size: 13px;
  color: var(--text-muted);
}

.footer-socials {
  display: flex;
  gap: 16px;
}

.social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  border: 1px solid var(--border-light);
  transition: var(--transition-fast);
}

.social-link:hover {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-actions {
    justify-content: center;
  }
  .grid-3 {
    grid-template-columns: 1fr 1fr;
  }
  .info-panel {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .info-panel.reverse {
    direction: ltr;
  }
  .info-content {
    max-width: 100%;
  }
  .info-features {
    display: inline-block;
    text-align: left;
  }
  .features-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-container {
    justify-content: flex-start;
    gap: 10px;
  }

  .navbar .logo {
    margin-right: auto;
    padding-left: 0;
  }

  .logo-image {
    max-width: min(42vw, 160px);
    height: 36px;
  }

  .nav-menu {
    display: none; /* Mobile Drawer toggle by JS */
  }
  .nav-menu.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: #0f0b24;
    padding: 30px;
    border-bottom: 1px solid var(--border-light);
    gap: 20px;
  }
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
  }
  .hero-title {
    font-size: 38px;
  }
  .grid-3 {
    grid-template-columns: 1fr;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .parents-banner {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 30px;
  }
  .parents-badge {
    margin: 0 auto;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ── Language Selector ── */
.lang-selector {
  position: fixed;
  top: 20px;
  right: 24px;
  z-index: 1100;
  font-family: inherit;
}
.lang-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(25, 19, 58, 0.65);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 8px 12px;
  color: var(--text-main);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: var(--transition-fast);
  user-select: none;
}
.lang-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}
.lang-flag {
  display: flex;
  align-items: center;
}
.flag-svg {
  border-radius: 2px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
  display: block;
}
.lang-arrow {
  opacity: 0.6;
  transition: transform 0.2s ease;
}
.lang-selector.active .lang-arrow {
  transform: rotate(180deg);
}
.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: rgba(11, 7, 30, 0.9);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 6px;
  min-width: 130px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255,255,255,0.05);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  opacity: 0;
  transform: translateY(-8px) scale(0.95);
  pointer-events: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.lang-selector.active .lang-dropdown {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  background: transparent;
  border: none;
  border-radius: 8px;
  padding: 8px 10px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  transition: var(--transition-fast);
}
.lang-option:hover {
  background: rgba(109, 75, 224, 0.12);
  color: var(--text-bright);
}
.lang-option.active {
  background: rgba(109, 75, 224, 0.12);
  color: var(--accent-light);
}
.lang-flag-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  flex-shrink: 0;
}
.info-li-wrap {
  display: inline;
}

@media (max-width: 768px) {
  .lang-selector {
    right: 70px;
    top: 20px;
  }

  .navbar .lang-selector {
    position: relative;
    top: auto;
    right: auto;
    margin-left: 0;
  }

  .navbar .lang-btn {
    min-width: 74px;
    height: 42px;
    justify-content: center;
    padding: 7px 10px;
  }

  .real-card-stack {
    height: 450px;
  }

  .hero-real-card {
    max-height: 430px;
  }
}
