/* ========================================
   JK Anime - AI Chat Website Styles
   ======================================== */

/* ---- CSS Custom Properties ---- */
:root {
  --bg-main: #070b25;
  --bg-deep: #050718;
  --bg-card: rgba(20, 26, 62, 0.72);
  --bg-card-soft: rgba(31, 38, 82, 0.65);
  --bg-card-hover: rgba(25, 32, 72, 0.85);
  --pink: #ff4fb8;
  --pink-light: #ff7bd5;
  --pink-glow: rgba(255, 79, 184, 0.35);
  --purple: #7c4dff;
  --purple-soft: #9b6dff;
  --purple-glow: rgba(124, 77, 255, 0.35);
  --blue: #4cc9ff;
  --cyan: #54f0d1;
  --text-main: #ffffff;
  --text-soft: #c9c9e8;
  --text-muted: #8f93b8;
  --border-soft: rgba(255, 255, 255, 0.12);
  --border-glow: rgba(255, 79, 184, 0.3);
  --gradient-primary: linear-gradient(135deg, #ff4fb8 0%, #7c4dff 100%);
  --gradient-hero: linear-gradient(135deg, #ff4fb8 0%, #7c4dff 50%, #4cc9ff 100%);
  --gradient-pink-purple: linear-gradient(135deg, #ff7bd5 0%, #9b6dff 100%);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.3);
  --shadow-glow-pink: 0 0 30px rgba(255, 79, 184, 0.25);
  --shadow-glow-purple: 0 0 30px rgba(124, 77, 255, 0.25);
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --max-width: 1280px;
  --font-main: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

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

img {
  max-width: 100%;
  display: block;
}

ul, ol {
  list-style: none;
}

/* ---- Utility Classes ---- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.gradient-text {
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-pink {
  background: linear-gradient(135deg, var(--pink-light) 0%, var(--pink) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  font-family: inherit;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 4px 20px var(--pink-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px var(--pink-glow), 0 0 60px rgba(255, 79, 184, 0.2);
}

.btn-outline {
  background: transparent;
  color: var(--text-soft);
  border: 1.5px solid var(--border-soft);
}

.btn-outline:hover {
  border-color: var(--pink);
  color: white;
  background: rgba(255, 79, 184, 0.08);
}

.btn-white {
  background: white;
  color: var(--bg-main);
  font-weight: 600;
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.3);
}

.btn-small {
  padding: 8px 20px;
  font-size: 14px;
}

/* ---- Header / Navigation ---- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(7, 11, 37, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-soft);
  transition: var(--transition);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: var(--gradient-primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: white;
}

.logo-domain {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
  margin-left: 4px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-soft);
  border-radius: 100px;
  transition: var(--transition);
  position: relative;
}

.nav-link:hover {
  color: white;
  background: rgba(255, 255, 255, 0.05);
}

.nav-link.active {
  color: var(--pink-light);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--pink);
  border-radius: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-login {
  padding: 8px 22px;
  border: 1.5px solid var(--border-soft);
  background: transparent;
  color: var(--text-soft);
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}

.btn-login:hover {
  border-color: var(--pink);
  color: white;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
  background: none;
  border: none;
}

.mobile-menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: var(--transition);
}

/* ---- Mobile Menu ---- */
.mobile-nav {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  background: rgba(7, 11, 37, 0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-soft);
  padding: 20px;
  z-index: 999;
  flex-direction: column;
  gap: 8px;
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav .nav-link {
  padding: 12px 16px;
  font-size: 16px;
}

/* ---- Hero Section ---- */
.hero {
  padding-top: 120px;
  padding-bottom: 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 79, 184, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 320px;
  gap: 40px;
  align-items: center;
  position: relative;
}

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

.hero-title {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.hero-title .gradient-text {
  display: inline;
}

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

.hero-cta {
  display: flex;
  gap: 14px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.hero-social-proof {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar-group {
  display: flex;
  align-items: center;
}

.avatar-group img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--bg-main);
  margin-left: -8px;
  object-fit: cover;
}

.avatar-group img:first-child {
  margin-left: 0;
}

.online-dot {
  width: 8px;
  height: 8px;
  background: #54f0d1;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(84, 240, 209, 0.5);
}

.social-proof-text {
  font-size: 14px;
  color: var(--text-muted);
}

.social-proof-text strong {
  color: var(--text-soft);
}

.hero-image {
  position: relative;
}

.hero-image img {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
}

/* ---- AI Chat Preview Card ---- */
.chat-preview-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-card);
}

.chat-preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.chat-preview-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-soft);
}

.chat-character-info {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.chat-character-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.chat-character-meta {
  flex: 1;
}

.chat-character-name {
  font-size: 14px;
  font-weight: 600;
}

.chat-character-status {
  font-size: 12px;
  color: var(--cyan);
  display: flex;
  align-items: center;
  gap: 4px;
}

.chat-messages {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.chat-message {
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  line-height: 1.5;
  max-width: 90%;
}

.chat-message.ai {
  background: rgba(124, 77, 255, 0.15);
  color: var(--text-soft);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.chat-message.user {
  background: rgba(255, 79, 184, 0.15);
  color: var(--text-main);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
  margin-left: auto;
}

.chat-input-wrapper {
  display: flex;
  gap: 8px;
}

.chat-input {
  flex: 1;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-soft);
  border-radius: 100px;
  color: white;
  font-size: 13px;
  font-family: inherit;
  outline: none;
}

.chat-input::placeholder {
  color: var(--text-muted);
}

.chat-send-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gradient-primary);
  border: none;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.chat-send-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 0 15px var(--pink-glow);
}

/* ---- Section Header ---- */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 16px;
}

.section-title {
  font-size: 28px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-title .star-icon {
  color: var(--pink);
  font-size: 20px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition);
}

.link-arrow:hover {
  color: var(--pink-light);
}

/* ---- Character Cards ---- */
.characters-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.character-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
}

.character-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-glow);
  box-shadow: var(--shadow-glow-pink);
}

.character-card-image {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  display: block;
}

.character-card-body {
  padding: 14px;
}

.character-card-name {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 2px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.character-card-type {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.character-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag {
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 500;
}

.tag-pink {
  background: rgba(255, 79, 184, 0.15);
  color: var(--pink-light);
}

.tag-purple {
  background: rgba(124, 77, 255, 0.15);
  color: var(--purple-soft);
}

.tag-blue {
  background: rgba(76, 201, 255, 0.15);
  color: var(--blue);
}

/* ---- Feature Cards ---- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-glow);
  box-shadow: var(--shadow-glow-pink);
}

.feature-card:nth-child(2):hover {
  border-color: rgba(124, 77, 255, 0.3);
  box-shadow: var(--shadow-glow-purple);
}

.feature-card:nth-child(3):hover {
  border-color: rgba(76, 201, 255, 0.3);
  box-shadow: 0 0 30px rgba(76, 201, 255, 0.2);
}

.feature-card:nth-child(4):hover {
  border-color: rgba(84, 240, 209, 0.3);
  box-shadow: 0 0 30px rgba(84, 240, 209, 0.2);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 18px;
}

.feature-icon.pink {
  background: rgba(255, 79, 184, 0.15);
}

.feature-icon.purple {
  background: rgba(124, 77, 255, 0.15);
}

.feature-icon.blue {
  background: rgba(76, 201, 255, 0.15);
}

.feature-icon.cyan {
  background: rgba(84, 240, 209, 0.15);
}

.feature-title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ---- Chat Styles ---- */
.chat-styles-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 14px;
}

.chat-style-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 24px 12px;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
}

.chat-style-card:hover {
  transform: translateY(-4px);
  border-color: var(--pink);
  box-shadow: var(--shadow-glow-pink);
}

.chat-style-icon {
  font-size: 32px;
  margin-bottom: 10px;
}

.chat-style-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-soft);
}

/* ---- Customization Section ---- */
.custom-section {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}

.custom-image img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.custom-content {
  max-width: 480px;
}

.custom-title {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.2;
}

.custom-title .gradient-text {
  display: inline;
}

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

.custom-checklist {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.check-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--text-soft);
}

.check-icon {
  width: 22px;
  height: 22px;
  background: rgba(255, 79, 184, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pink);
  font-size: 12px;
  flex-shrink: 0;
}

/* ---- Pricing Section ---- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: var(--transition);
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-glow);
}

.pricing-card.popular {
  border-color: var(--pink);
  box-shadow: var(--shadow-glow-pink);
  transform: scale(1.03);
}

.pricing-card.popular:hover {
  transform: scale(1.05) translateY(-4px);
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-primary);
  color: white;
  padding: 4px 16px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.plan-name {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 4px;
}

.plan-desc {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.plan-price {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 24px;
}

.plan-price span {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-muted);
}

.plan-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.plan-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-soft);
}

.feature-check {
  width: 18px;
  height: 18px;
  background: rgba(84, 240, 209, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  font-size: 10px;
  flex-shrink: 0;
}

.pricing-card .btn {
  width: 100%;
}

/* ---- Testimonials ---- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-glow);
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-name {
  font-size: 15px;
  font-weight: 700;
}

.testimonial-rating {
  color: #ffd700;
  font-size: 14px;
  letter-spacing: 2px;
}

.testimonial-text {
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.7;
  font-style: italic;
}

.quote-icon {
  font-size: 32px;
  color: var(--pink);
  opacity: 0.4;
  line-height: 1;
  margin-bottom: 8px;
}

.testimonial-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 32px;
}

.testimonial-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-soft);
  background: transparent;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  font-size: 18px;
}

.testimonial-arrow:hover {
  border-color: var(--pink);
  color: white;
  background: rgba(255, 79, 184, 0.1);
}

.testimonial-dots {
  display: flex;
  gap: 8px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: var(--transition);
}

.dot.active {
  background: var(--pink);
  width: 24px;
  border-radius: 4px;
}

/* ---- FAQ Section ---- */
.faq-section {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  align-items: start;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: rgba(255, 255, 255, 0.18);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  transition: var(--transition);
}

.faq-question:hover {
  background: rgba(255, 255, 255, 0.03);
}

.faq-icon {
  font-size: 18px;
  color: var(--text-muted);
  transition: var(--transition);
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  color: var(--pink);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 20px 18px;
}

.faq-answer p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

.faq-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.faq-image {
  width: 100%;
  max-height: 420px;
  border-radius: var(--radius-md);
  object-fit: contain;
  background: rgba(16, 20, 58, 0.3);
}

.support-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
}

.support-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}

.support-text {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

/* ---- CTA Banner ---- */
.cta-banner {
  position: relative;
  background: linear-gradient(135deg, rgba(255, 79, 184, 0.2) 0%, rgba(124, 77, 255, 0.2) 100%);
  border: 1px solid rgba(255, 79, 184, 0.3);
  border-radius: var(--radius-xl);
  padding: 60px;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(ellipse at 20% 80%, rgba(255, 79, 184, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(124, 77, 255, 0.15) 0%, transparent 50%);
  pointer-events: none;
}

.cta-banner-inner {
  display: grid;
  grid-template-columns: 1fr 240px;
  gap: 40px;
  align-items: center;
  position: relative;
}

.cta-title {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 12px;
  line-height: 1.2;
}

.cta-desc {
  font-size: 16px;
  color: var(--text-soft);
  margin-bottom: 24px;
}

.cta-banner-image {
  position: relative;
}

.cta-banner-image img {
  width: 100%;
  border-radius: var(--radius-md);
}

/* ---- Footer ---- */
.footer {
  border-top: 1px solid var(--border-soft);
  padding-top: 60px;
  padding-bottom: 30px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.25fr 0.8fr 1.7fr 0.95fr 1.35fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand {
  max-width: 280px;
}

.footer-brand .logo {
  margin-bottom: 16px;
}

.footer-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.footer-social-link {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: var(--transition);
}

.footer-social-link:hover {
  background: var(--pink);
  transform: translateY(-2px);
}

.footer-column-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 16px;
  color: white;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-type-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 18px;
  row-gap: 10px;
}

.footer-link {
  font-size: 14px;
  color: var(--text-muted);
  transition: var(--transition);
}

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

.footer-newsletter-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
}

.footer-newsletter-text {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.newsletter-form {
  display: flex;
  gap: 8px;
}

.newsletter-input {
  flex: 1;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  color: white;
  font-size: 13px;
  font-family: inherit;
  outline: none;
  transition: var(--transition);
}

.newsletter-input:focus {
  border-color: var(--pink);
}

.newsletter-input::placeholder {
  color: var(--text-muted);
}

.newsletter-btn {
  padding: 10px 18px;
  background: var(--gradient-primary);
  border: none;
  border-radius: var(--radius-sm);
  color: white;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}

.newsletter-btn:hover {
  box-shadow: 0 4px 15px var(--pink-glow);
}

.footer-bottom {
  border-top: 1px solid var(--border-soft);
  padding-top: 24px;
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
}

/* ---- Section Spacing ---- */
.section {
  padding: 60px 0;
}

.section-top {
  padding-top: 100px;
}

/* ---- Back to Top ---- */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-primary);
  border: none;
  color: white;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
  box-shadow: 0 4px 15px var(--pink-glow);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px var(--pink-glow);
}

/* ---- Decorative Elements ---- */
.sparkle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: white;
  border-radius: 50%;
  opacity: 0.3;
  animation: sparkle 3s ease-in-out infinite;
}

@keyframes sparkle {
  0%, 100% { opacity: 0.2; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.5); }
}

/* ---- Sub-page Hero ---- */
.page-hero {
  padding-top: 140px;
  padding-bottom: 60px;
  text-align: center;
}

.page-hero-title {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 12px;
}

.page-hero-desc {
  font-size: 16px;
  color: var(--text-soft);
  max-width: 600px;
  margin: 0 auto;
}

/* ---- Characters Page ---- */
.search-bar {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.search-input {
  flex: 1;
  padding: 14px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: 100px;
  color: white;
  font-size: 15px;
  font-family: inherit;
  outline: none;
  transition: var(--transition);
}

.search-input:focus {
  border-color: var(--pink);
}

.search-input::placeholder {
  color: var(--text-muted);
}

.filter-chips {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.filter-chip {
  padding: 8px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: 100px;
  font-size: 14px;
  color: var(--text-soft);
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}

.filter-chip:hover,
.filter-chip.active {
  border-color: var(--pink);
  background: rgba(255, 79, 184, 0.1);
  color: white;
}

.characters-page-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* ---- Login Page ---- */
.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: 
    radial-gradient(ellipse at 30% 20%, rgba(255, 79, 184, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 80%, rgba(124, 77, 255, 0.12) 0%, transparent 50%),
    var(--bg-main);
}

.login-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  width: 100%;
  max-width: 420px;
  backdrop-filter: blur(20px);
}

.login-logo {
  text-align: center;
  margin-bottom: 32px;
}

.login-title {
  font-size: 26px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 8px;
}

.login-subtitle {
  font-size: 14px;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 32px;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-soft);
}

.form-input {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  color: white;
  font-size: 15px;
  font-family: inherit;
  outline: none;
  transition: var(--transition);
}

.form-input:focus {
  border-color: var(--pink);
}

.form-input::placeholder {
  color: var(--text-muted);
}

.form-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  font-size: 13px;
}

.form-checkbox-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  cursor: pointer;
}

.form-checkbox {
  width: 16px;
  height: 16px;
  accent-color: var(--pink);
  cursor: pointer;
}

.form-forgot {
  color: var(--pink-light);
  transition: var(--transition);
}

.form-forgot:hover {
  color: var(--pink);
}

.btn-full {
  width: 100%;
}

.login-footer {
  text-align: center;
  margin-top: 24px;
  font-size: 14px;
  color: var(--text-muted);
}

.login-footer a {
  color: var(--pink-light);
  font-weight: 600;
  transition: var(--transition);
}

.login-footer a:hover {
  color: var(--pink);
}

/* ---- Legal Pages ---- */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h2 {
  font-size: 22px;
  font-weight: 700;
  margin: 32px 0 16px;
  color: white;
}

.legal-content h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 24px 0 12px;
  color: var(--text-soft);
}

.legal-content p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}

.legal-content ul {
  margin-bottom: 16px;
  padding-left: 24px;
  list-style: disc;
}

.legal-content ul li {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 8px;
}

/* ---- Comparison Table ---- */
.comparison-table-wrapper {
  overflow-x: auto;
  margin-top: 40px;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}

.comparison-table th,
.comparison-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border-soft);
  font-size: 14px;
}

.comparison-table th {
  font-weight: 700;
  color: white;
  background: var(--bg-card);
}

.comparison-table td {
  color: var(--text-soft);
}

.comparison-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.check-cell {
  color: var(--cyan);
  font-weight: 700;
}

.cross-cell {
  color: var(--text-muted);
}

/* ---- Chat Interface Mockup ---- */
.chat-mockup {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  max-width: 600px;
  margin: 0 auto;
}

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

.chat-mockup-body {
  padding: 20px;
  min-height: 300px;
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .chat-preview-card {
    display: none;
  }

  .characters-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .chat-styles-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .custom-section {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .custom-image {
    order: -1;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }

  .pricing-card.popular {
    transform: none;
  }

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

  .faq-section {
    grid-template-columns: 1fr;
  }

  .faq-sidebar {
    flex-direction: row;
    align-items: flex-start;
  }

  .faq-image {
    width: 200px;
    height: auto;
    aspect-ratio: 3/4;
    object-fit: cover;
  }

  .cta-banner-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .cta-banner-image {
    display: none;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .footer-type-links {
    grid-template-columns: 1fr;
  }

  .characters-page-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .nav {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .header-actions .btn {
    display: none;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

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

  .hero-title {
    font-size: 36px;
  }

  .hero-cta {
    justify-content: center;
  }

  .hero-social-proof {
    justify-content: center;
  }

  .hero-image {
    order: -1;
  }

  .hero-image img {
    max-width: 300px;
  }

  .characters-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .chat-styles-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .cta-title {
    font-size: 28px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-type-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .newsletter-form {
    flex-direction: column;
  }

  .page-hero-title {
    font-size: 32px;
  }

  .characters-page-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .faq-sidebar {
    flex-direction: column;
  }

  .faq-image {
    width: 100%;
    height: auto;
    aspect-ratio: 3/4;
    object-fit: cover;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 28px;
  }

  .btn {
    padding: 10px 20px;
    font-size: 14px;
  }

  .characters-grid {
    gap: 10px;
  }

  .character-card-body {
    padding: 10px;
  }

  .character-card-name {
    font-size: 13px;
  }

  .chat-styles-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .chat-style-card {
    padding: 16px 8px;
  }

  .section {
    padding: 40px 0;
  }

  .cta-banner {
    padding: 36px 24px;
  }

  .login-card {
    padding: 32px 24px;
  }

  .characters-page-grid {
    grid-template-columns: 1fr;
  }
}

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

.fade-in {
  animation: fadeInUp 0.6s ease forwards;
}

/* ---- Scrollbar ---- */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-deep);
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 79, 184, 0.3);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 79, 184, 0.5);
}

/* ========================================
   Reference Match Pass - Anime Night Glow
   ======================================== */

:root {
  --bg-main: #070d31;
  --bg-deep: #03061b;
  --bg-ink: #09072a;
  --bg-card: rgba(20, 24, 67, 0.74);
  --bg-card-soft: rgba(31, 30, 91, 0.58);
  --bg-card-hover: rgba(41, 35, 109, 0.78);
  --pink: #ff5bbd;
  --pink-light: #ff8bd6;
  --pink-hot: #ff3fae;
  --pink-glow: rgba(255, 91, 189, 0.42);
  --purple: #7b48f4;
  --purple-soft: #b06dff;
  --purple-glow: rgba(123, 72, 244, 0.34);
  --blue: #56b5ff;
  --cyan: #56f1cf;
  --text-main: #fff8ff;
  --text-soft: #e6dcff;
  --text-muted: #aaa6cf;
  --border-soft: rgba(255, 255, 255, 0.14);
  --border-glow: rgba(255, 91, 189, 0.42);
  --gradient-primary: linear-gradient(135deg, #ff77cf 0%, #ff4fb5 48%, #945cff 100%);
  --gradient-hero: linear-gradient(135deg, #ff8bd6 0%, #ff4fb5 48%, #a873ff 100%);
  --shadow-card: 0 18px 54px rgba(2, 4, 22, 0.42);
  --shadow-glow-pink: 0 0 0 1px rgba(255, 104, 198, 0.28), 0 18px 46px rgba(255, 74, 180, 0.22);
  --shadow-glow-purple: 0 0 0 1px rgba(176, 109, 255, 0.28), 0 18px 46px rgba(124, 77, 255, 0.2);
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --radius-xl: 22px;
  --max-width: 1240px;
  --font-main: "Nunito", "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
}

html {
  background: var(--bg-deep);
}

body {
  background:
    radial-gradient(circle at 12% 13%, rgba(255, 84, 187, 0.22), transparent 18rem),
    radial-gradient(circle at 86% 8%, rgba(110, 82, 255, 0.24), transparent 20rem),
    radial-gradient(circle at 4% 66%, rgba(103, 74, 255, 0.22), transparent 18rem),
    linear-gradient(180deg, #080e33 0%, #070b2d 28%, #09072a 67%, #050819 100%);
  font-weight: 700;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

body::before {
  background-image:
    radial-gradient(ellipse at center, rgba(255, 153, 212, 0.9) 0 28%, transparent 31%),
    radial-gradient(ellipse at center, rgba(181, 117, 255, 0.62) 0 26%, transparent 30%),
    radial-gradient(ellipse at center, rgba(255, 153, 212, 0.72) 0 27%, transparent 31%),
    radial-gradient(ellipse at center, rgba(255, 212, 235, 0.7) 0 23%, transparent 28%);
  background-size: 12px 7px, 10px 6px, 14px 8px, 9px 5px;
  background-position: 7% 23%, 92% 18%, 11% 72%, 86% 82%;
  background-repeat: no-repeat;
  filter: blur(0.2px);
  opacity: 0.78;
}

body::after {
  background:
    linear-gradient(rgba(255,255,255,0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(to bottom, transparent 0%, black 9%, black 78%, transparent 100%);
}

.container {
  max-width: var(--max-width);
  padding: 0 34px;
}

.header {
  background: rgba(4, 8, 31, 0.72);
  border-bottom: 1px solid rgba(255, 117, 207, 0.12);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.18);
}

.header-inner {
  height: 70px;
}

.logo {
  gap: 9px;
  font-size: 18px;
  letter-spacing: -0.01em;
}

.logo-icon {
  width: auto;
  height: auto;
  background: transparent;
  border-radius: 0;
  color: var(--pink-light);
  font-size: 30px;
  font-weight: 900;
  line-height: 1;
  text-shadow: 0 0 18px rgba(255, 91, 189, 0.58);
}

.nav {
  gap: 18px;
}

.nav-link {
  padding: 9px 4px;
  color: #d9d2f3;
  font-size: 13px;
  font-weight: 800;
  border-radius: 0;
}

.nav-link:hover {
  background: transparent;
  color: #ffffff;
}

.nav-link.active::after {
  bottom: 2px;
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--pink), var(--purple-soft));
  box-shadow: 0 0 16px rgba(255, 91, 189, 0.75);
}

.btn,
.btn-login,
.newsletter-btn,
.chat-send-btn,
.testimonial-arrow,
.filter-chip {
  font-weight: 900;
}

.btn {
  min-height: 44px;
  padding: 12px 24px;
  border-radius: 10px;
  letter-spacing: -0.01em;
}

.btn-primary,
.newsletter-btn {
  background: var(--gradient-primary);
  color: #ffffff;
  box-shadow: 0 10px 26px rgba(255, 75, 181, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

.btn-primary:hover,
.newsletter-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(255, 75, 181, 0.38), 0 0 34px rgba(255, 75, 181, 0.22);
}

.btn-outline,
.btn-login {
  background: rgba(10, 13, 44, 0.72);
  border: 1px solid rgba(207, 169, 255, 0.45);
  color: #f2edff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.btn-outline:hover,
.btn-login:hover {
  background: rgba(255, 91, 189, 0.12);
  border-color: rgba(255, 139, 214, 0.86);
}

.btn-small {
  min-height: 40px;
  padding: 9px 20px;
}

.hero {
  min-height: 620px;
  padding-top: 96px;
  padding-bottom: 52px;
  background:
    linear-gradient(90deg, rgba(7, 11, 43, 0.92) 0%, rgba(8, 11, 45, 0.68) 33%, rgba(17, 13, 56, 0.44) 61%, rgba(8, 9, 35, 0.82) 100%),
    radial-gradient(circle at 52% 34%, rgba(255, 119, 207, 0.24), transparent 22rem),
    radial-gradient(circle at 72% 20%, rgba(97, 68, 245, 0.3), transparent 18rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero::before {
  top: auto;
  right: 18%;
  bottom: -120px;
  width: 540px;
  height: 260px;
  background: radial-gradient(ellipse, rgba(255, 82, 185, 0.24), transparent 68%);
  filter: blur(8px);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse at center, rgba(255, 170, 222, 0.95) 0 28%, transparent 31%),
    radial-gradient(ellipse at center, rgba(255, 170, 222, 0.75) 0 24%, transparent 29%),
    radial-gradient(ellipse at center, rgba(181, 117, 255, 0.68) 0 25%, transparent 29%);
  background-size: 11px 7px, 13px 8px, 9px 6px;
  background-position: 16% 28%, 78% 17%, 92% 48%;
  background-repeat: no-repeat;
  pointer-events: none;
  opacity: 0.8;
}

.hero-inner {
  grid-template-columns: minmax(390px, 0.95fr) minmax(390px, 1.08fr) minmax(265px, 0.64fr);
  gap: 22px;
  align-items: center;
  z-index: 1;
}

.hero-content {
  max-width: 560px;
  padding-top: 12px;
  position: relative;
  z-index: 3;
}

.hero-title {
  max-width: 560px;
  margin-bottom: 22px;
  font-size: clamp(2.7rem, 4.35vw, 3.62rem);
  line-height: 1.04;
  letter-spacing: -0.025em;
  font-weight: 900;
  text-wrap: balance;
}

.gradient-text,
.gradient-text-pink {
  background: none;
  -webkit-text-fill-color: currentColor;
  color: var(--pink-light);
}

.hero-desc {
  max-width: 360px;
  margin-bottom: 30px;
  color: #d8d2f1;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.72;
}

.hero-cta {
  gap: 16px;
  margin-bottom: 26px;
}

.hero-social-proof {
  gap: 9px;
}

.avatar-group img {
  width: 34px;
  height: 34px;
  border: 2px solid #151240;
  box-shadow: 0 0 0 1px rgba(255, 139, 214, 0.25);
}

.online-dot {
  background: var(--cyan);
}

.social-proof-text {
  color: #c8c1e7;
  font-size: 13px;
  font-weight: 800;
}

.social-proof-text strong {
  color: #74ffd9;
}

.hero-image {
  align-self: end;
  margin-left: -94px;
  margin-right: -82px;
  padding: 0;
  filter:
    drop-shadow(0 26px 34px rgba(4, 4, 24, 0.58))
    drop-shadow(0 0 18px rgba(255, 123, 213, 0.32));
  z-index: 1;
}

.hero-image::before {
  content: "";
  position: absolute;
  inset: 11% 2% -3%;
  height: auto;
  background:
    radial-gradient(ellipse at 48% 45%, rgba(255, 112, 202, 0.28), transparent 56%),
    radial-gradient(ellipse at 50% 96%, rgba(137, 87, 255, 0.34), transparent 62%);
  filter: blur(10px);
  z-index: -1;
}

.hero-image img {
  width: 100%;
  height: auto;
  max-width: 600px;
  object-fit: contain;
  border-radius: 0;
}

.chat-preview-card {
  width: 100%;
  align-self: center;
  position: relative;
  z-index: 2;
  padding: 16px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(25, 23, 70, 0.88), rgba(16, 15, 50, 0.88));
  border: 1px solid rgba(213, 164, 255, 0.36);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.45), 0 0 28px rgba(123, 72, 244, 0.22);
}

.chat-preview-header::after {
  content: "x";
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  color: #d9d2f3;
  font-size: 12px;
}

.chat-preview-title,
.chat-character-name {
  color: #fff8ff;
  font-weight: 900;
}

.chat-character-name {
  color: var(--pink-light);
}

.chat-character-avatar {
  width: 42px;
  height: 42px;
  border: 2px solid rgba(255, 139, 214, 0.5);
}

.chat-messages {
  gap: 12px;
}

.chat-message {
  padding: 11px 13px;
  border-radius: 13px;
  color: #f8f4ff;
  font-size: 12px;
  font-weight: 800;
}

.chat-message.ai {
  background: rgba(255, 255, 255, 0.08);
}

.chat-message.user {
  background: linear-gradient(135deg, rgba(154, 82, 255, 0.95), rgba(101, 63, 226, 0.95));
}

.chat-input {
  min-width: 0;
  background: rgba(5, 7, 28, 0.72);
  border-color: rgba(255, 255, 255, 0.1);
  font-weight: 800;
}

.chat-input::placeholder,
.newsletter-input::placeholder,
.search-input::placeholder {
  color: #b5afd2;
}

.chat-send-btn {
  background: var(--gradient-primary);
  box-shadow: 0 0 18px rgba(255, 91, 189, 0.38);
}

.section {
  position: relative;
  padding: 40px 0;
}

.section + .section {
  border-top: 1px solid rgba(255, 255, 255, 0.055);
}

.section-header {
  margin-bottom: 26px;
}

.section-title {
  color: #f7efff;
  font-size: 25px;
  font-weight: 900;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.section-title .star-icon,
.link-arrow:hover {
  color: var(--pink-light);
}

.link-arrow {
  padding: 10px 16px;
  border: 1px solid rgba(207, 169, 255, 0.24);
  border-radius: 10px;
  background: rgba(13, 13, 47, 0.44);
  color: #d9d2f3;
  font-weight: 900;
}

.characters-grid {
  gap: 18px;
}

.character-card,
.feature-card,
.chat-style-card,
.pricing-card,
.testimonial-card,
.faq-item,
.support-card,
.search-bar,
.login-card,
.chat-interface,
.character-profile,
.pricing-detail-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025)),
    rgba(16, 20, 58, 0.76);
  border: 1px solid rgba(213, 164, 255, 0.24);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 14px 34px rgba(0, 0, 0, 0.24);
}

.character-card {
  border-radius: 15px;
}

.character-card:hover {
  box-shadow: var(--shadow-glow-pink);
}

.character-card-image {
  aspect-ratio: 0.82;
}

.character-card-body {
  padding: 12px 12px 14px;
  background: linear-gradient(180deg, rgba(19, 20, 58, 0.76), rgba(16, 15, 45, 0.96));
}

.character-card-name {
  color: #fff8ff;
  font-size: 16px;
  font-weight: 900;
}

.character-card-type {
  color: #bfb8dc;
  font-size: 12px;
  font-weight: 800;
}

.tag {
  padding: 4px 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 10px;
  font-weight: 900;
}

#features .container {
  padding-top: 24px;
  padding-bottom: 24px;
  border: 1px solid rgba(213, 164, 255, 0.18);
  border-radius: 18px;
  background: rgba(7, 10, 37, 0.36);
  box-shadow: inset 0 0 38px rgba(124, 77, 255, 0.08);
}

.features-grid {
  gap: 24px;
}

.feature-card {
  min-height: 210px;
  padding: 31px 28px;
}

.feature-card:nth-child(1) { border-color: rgba(255, 91, 189, 0.38); }
.feature-card:nth-child(2) { border-color: rgba(176, 109, 255, 0.34); }
.feature-card:nth-child(3) { border-color: rgba(86, 181, 255, 0.32); }
.feature-card:nth-child(4) { border-color: rgba(86, 241, 207, 0.32); }

.feature-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  font-size: 28px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 0 24px rgba(255, 91, 189, 0.12);
}

.feature-title {
  font-size: 17px;
  font-weight: 900;
}

.feature-text,
.custom-desc,
.testimonial-text,
.faq-answer p,
.footer-desc,
.footer-newsletter-text {
  color: #cfc8ea;
  font-weight: 700;
}

.chat-styles-grid {
  gap: 16px;
}

.chat-style-card {
  min-height: 134px;
  padding: 24px 12px 20px;
}

.chat-style-icon {
  font-size: 42px;
  line-height: 1;
  filter: drop-shadow(0 0 16px rgba(255, 91, 189, 0.36));
}

.chat-style-label {
  color: #f2edff;
  font-size: 14px;
  font-weight: 900;
}

.custom-section {
  grid-template-columns: 1.1fr 0.9fr;
  gap: 44px;
  align-items: center;
}

.custom-image {
  border: 1px solid rgba(213, 164, 255, 0.25);
  border-radius: 18px;
  background: rgba(4, 6, 24, 0.62);
  padding: 12px;
  box-shadow: var(--shadow-card);
}

.custom-image img {
  border-radius: 12px;
  box-shadow: none;
}

.custom-title {
  color: #fff8ff;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.check-item {
  color: #f2edff;
  font-weight: 800;
}

.check-icon,
.feature-check {
  background: linear-gradient(135deg, #ff77cf, #ff4fb5);
  color: #ffffff;
}

#pricing {
  background: linear-gradient(180deg, rgba(15, 12, 54, 0.18), rgba(11, 10, 42, 0.52));
}

.pricing-grid {
  max-width: 980px;
  gap: 22px;
}

.pricing-card {
  min-height: 360px;
  padding: 34px 28px 28px;
}

.pricing-card.popular {
  border-color: rgba(255, 91, 189, 0.8);
  transform: translateY(-8px);
}

.popular-badge {
  background: var(--gradient-primary);
}

.plan-name,
.plan-price {
  color: #fff8ff;
  font-weight: 900;
}

.plan-desc,
.plan-price span,
.plan-feature {
  color: #d8d2f1;
  font-weight: 800;
}

.testimonials-grid {
  gap: 22px;
}

.testimonial-card {
  min-height: 186px;
  border-radius: 14px;
}

.testimonial-avatar {
  width: 52px;
  height: 52px;
  border: 2px solid rgba(255, 139, 214, 0.42);
}

.testimonial-name {
  font-weight: 900;
}

.testimonial-rating {
  color: #ffd36d;
}

.quote-icon {
  float: right;
  color: var(--pink-light);
}

.testimonial-arrow {
  background: rgba(36, 29, 92, 0.76);
  color: #f2edff;
}

.faq-section {
  grid-template-columns: 1fr 410px;
  align-items: stretch;
}

.faq-list {
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(213, 164, 255, 0.18);
  border-radius: 15px;
  background: rgba(9, 12, 42, 0.62);
}

.faq-item {
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

.faq-item:last-child {
  border-bottom: 0;
}

.faq-question {
  color: #f7efff;
  font-weight: 900;
}

.faq-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background:
    radial-gradient(circle at 42% 35%, rgba(255, 91, 189, 0.3), transparent 13rem),
    linear-gradient(135deg, rgba(55, 23, 84, 0.42), rgba(8, 10, 39, 0.14));
  border-radius: 18px;
  overflow: hidden;
  padding: 0;
}

.faq-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px 18px 0 0;
  object-fit: cover;
  aspect-ratio: 3/4;
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.38));
}

.support-card {
  position: relative;
  z-index: 1;
  width: calc(100% - 32px);
  margin: 0 16px 16px 16px;
  padding: 22px 18px;
  border-radius: 16px;
  text-align: left;
  background: rgba(32, 25, 82, 0.8);
}

.support-title {
  font-size: 22px;
  line-height: 1.05;
  font-weight: 900;
}

.support-text {
  color: #ded7f8;
  font-weight: 800;
}

.cta-banner {
  padding: 0;
  border-radius: 18px;
  background:
    linear-gradient(90deg, rgba(7, 10, 42, 0.9) 0%, rgba(29, 17, 79, 0.52) 46%, rgba(255, 91, 189, 0.08) 100%),
    url("../images/anime-ai-chat-cta-background.jpg") center center / cover no-repeat;
  border-color: rgba(255, 139, 214, 0.52);
  min-height: 260px;
}

.cta-banner::before {
  background:
    radial-gradient(circle at 11% 20%, rgba(255, 183, 225, 0.34), transparent 10rem),
    linear-gradient(90deg, rgba(6, 8, 36, 0.78) 0%, rgba(28, 16, 72, 0.42) 48%, rgba(6, 8, 36, 0.06) 100%);
}

.cta-banner-inner {
  min-height: 260px;
  grid-template-columns: minmax(0, 1fr);
  padding: 42px 54px;
}

.cta-title {
  max-width: 560px;
  color: #fff8ff;
  font-size: clamp(1.8rem, 4vw, 2.9rem);
  font-weight: 900;
  letter-spacing: -0.02em;
}

.cta-banner-image {
  display: none;
}

.footer {
  border-top-color: rgba(255, 255, 255, 0.08);
  background: rgba(2, 5, 20, 0.28);
}

.footer-column-title,
.footer-newsletter-title {
  color: #ff97da;
  font-weight: 900;
}

.footer-link {
  color: #cfc8ea;
  font-weight: 800;
}

.footer-link:hover {
  color: #ffffff;
}

.footer-social-link,
.back-to-top {
  background: rgba(28, 25, 75, 0.8);
  border-color: rgba(213, 164, 255, 0.22);
}

.newsletter-input,
.search-input,
.login-input {
  background: rgba(6, 8, 30, 0.72);
  border-color: rgba(213, 164, 255, 0.22);
  color: #fff8ff;
  font-weight: 800;
}

.page-hero {
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 91, 189, 0.16), transparent 20rem),
    linear-gradient(180deg, rgba(7, 10, 44, 0.94), rgba(7, 10, 44, 0.24));
}

.page-hero-title {
  color: var(--pink-light);
  -webkit-text-fill-color: currentColor;
  font-weight: 900;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

.reveal-ready {
  opacity: 1;
  transform: none;
}

.reveal-ready.is-visible {
  animation: fadeInUp 0.5s ease both;
}

@media (max-width: 1180px) {
  .hero-inner {
    grid-template-columns: minmax(310px, 0.9fr) minmax(330px, 1fr);
  }

  .hero-image {
    margin-right: 0;
  }

  .chat-preview-card {
    position: absolute;
    right: 34px;
    bottom: 14px;
    width: 292px;
  }

  .faq-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1024px) {
  .container {
    padding: 0 24px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .hero-content {
    max-width: 620px;
  }

  .hero-desc {
    max-width: 520px;
  }

  .hero-image {
    order: 0;
    margin: -30px auto 0;
    max-width: 620px;
  }

  .chat-preview-card {
    display: block;
    position: relative;
    right: auto;
    bottom: auto;
    width: min(100%, 420px);
    margin: -44px 0 0 auto;
  }

  .custom-section {
    grid-template-columns: 1fr;
  }

  .pricing-card.popular {
    transform: none;
  }
}

@media (max-width: 768px) {
  .header-inner {
    height: 64px;
  }

  .header-actions .btn-login {
    display: none;
  }

  .mobile-nav {
    top: 64px;
  }

  .hero {
    min-height: 760px;
    padding-top: 86px;
    padding-bottom: 36px;
  }

  .hero-inner {
    display: block;
    min-height: 620px;
    position: relative;
  }

  .hero-cta,
  .hero-social-proof {
    text-align: center;
    justify-content: center;
  }

  .hero-content {
    max-width: 100%;
    padding-top: 305px;
    text-align: center;
    text-shadow: 0 3px 16px rgba(4, 4, 24, 0.78);
  }

  .hero-title {
    font-size: clamp(2.35rem, 11vw, 3.25rem);
  }

  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-image {
    position: absolute;
    top: 8px;
    left: 50%;
    width: min(118vw, 520px);
    margin: 0;
    opacity: 0.58;
    transform: translateX(-50%);
    z-index: 0;
  }

  .hero-image img {
    width: 100%;
    max-width: none;
  }

  .chat-preview-card {
    margin: 28px auto 0;
  }

  .section {
    padding: 34px 0;
  }

  .section-header {
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .characters-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .chat-styles-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .faq-sidebar {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0;
  }

  .faq-image {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 3/4;
    object-fit: cover;
  }

  .support-card {
    width: min(100%, 260px);
    margin: 0 0 22px;
    text-align: center;
  }

  .cta-banner {
    background:
      linear-gradient(180deg, rgba(6, 8, 36, 0.72) 0%, rgba(20, 11, 58, 0.62) 46%, rgba(6, 8, 36, 0.86) 100%),
      url("../images/anime-ai-chat-cta-background.jpg") 61% center / cover no-repeat;
  }

  .cta-banner-inner {
    min-height: 360px;
    padding: 36px 24px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 18px;
  }

  .logo span {
    font-size: 15px;
  }

  .logo-icon {
    font-size: 26px;
  }

  .hero-title {
    font-size: 2.25rem;
  }

  .hero-cta .btn {
    width: 100%;
  }

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

  .feature-card,
  .pricing-card,
  .testimonial-card {
    padding: 24px 20px;
  }

  .chat-style-card {
    min-height: 112px;
  }
}

/* ========================================
   Character Type Landing Pages
   ======================================== */

.archetype-page {
  --type-accent: var(--pink);
  --type-accent-2: var(--purple-soft);
  --type-accent-rgb: 255, 91, 189;
}

.theme-pure { --type-accent: #ff9fd8; --type-accent-2: #9ec7ff; --type-accent-rgb: 255, 159, 216; }
.theme-genki { --type-accent: #ffb34f; --type-accent-2: #ff5bbd; --type-accent-rgb: 255, 179, 79; }
.theme-kuudere { --type-accent: #75c7ff; --type-accent-2: #8b8dff; --type-accent-rgb: 117, 199, 255; }
.theme-bookish { --type-accent: #a887ff; --type-accent-2: #56f1cf; --type-accent-rgb: 168, 135, 255; }
.theme-kawaii { --type-accent: #ff82cf; --type-accent-2: #ffd1ea; --type-accent-rgb: 255, 130, 207; }
.theme-tsundere { --type-accent: #ff627b; --type-accent-2: #ffb15f; --type-accent-rgb: 255, 98, 123; }
.theme-yandere { --type-accent: #ff476f; --type-accent-2: #8b3fff; --type-accent-rgb: 255, 71, 111; }
.theme-maid { --type-accent: #56f1cf; --type-accent-2: #ff91d8; --type-accent-rgb: 86, 241, 207; }
.theme-athlete { --type-accent: #5ef0a8; --type-accent-2: #56b5ff; --type-accent-rgb: 94, 240, 168; }
.theme-art { --type-accent: #c982ff; --type-accent-2: #56d8ff; --type-accent-rgb: 201, 130, 255; }
.theme-realistic { --type-accent: #84b7ff; --type-accent-2: #ff8aaf; --type-accent-rgb: 132, 183, 255; }
.theme-mature { --type-accent: #ff6f9f; --type-accent-2: #ffd18a; --type-accent-rgb: 255, 111, 159; }

.archetype-hero {
  min-height: 560px;
  padding: 126px 0 58px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.075);
  background:
    radial-gradient(circle at 18% 25%, rgba(var(--type-accent-rgb), 0.26), transparent 18rem),
    radial-gradient(circle at 78% 18%, rgba(176, 109, 255, 0.2), transparent 18rem),
    linear-gradient(180deg, rgba(7, 10, 44, 0.96), rgba(8, 9, 35, 0.48));
}

.archetype-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 130px;
  background: linear-gradient(180deg, transparent, rgba(5, 8, 25, 0.48));
  pointer-events: none;
}

.archetype-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: 42px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.archetype-hero-copy h1 {
  max-width: 760px;
  margin-bottom: 18px;
  color: #fff8ff;
  font-size: clamp(2.8rem, 5.6vw, 5.15rem);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.archetype-hero-copy p {
  max-width: 640px;
  margin-bottom: 28px;
  color: #ddd6f4;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.7;
}

.breadcrumb-link {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--type-accent);
  font-size: 13px;
  font-weight: 900;
}

.archetype-hero-visual {
  position: relative;
  width: min(100%, 430px);
  justify-self: end;
  margin: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid rgba(var(--type-accent-rgb), 0.44);
  border-radius: 18px;
  background: rgba(10, 12, 42, 0.5);
  box-shadow: 0 26px 64px rgba(0, 0, 0, 0.38), 0 0 44px rgba(var(--type-accent-rgb), 0.18);
}

.archetype-hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 28%),
    linear-gradient(0deg, rgba(7, 10, 44, 0.18), transparent 42%);
  pointer-events: none;
}

.archetype-hero-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
}

.archetype-hero-panel {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 26px;
  border: 1px solid rgba(var(--type-accent-rgb), 0.42);
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 24%, rgba(var(--type-accent-rgb), 0.32), transparent 10rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.095), rgba(255, 255, 255, 0.025)),
    rgba(11, 13, 48, 0.72);
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.34), 0 0 40px rgba(var(--type-accent-rgb), 0.13);
}

.archetype-orbit {
  min-height: 190px;
  display: grid;
  place-items: center;
  text-align: center;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  background:
    radial-gradient(circle, rgba(var(--type-accent-rgb), 0.2), transparent 62%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
}

.archetype-orbit span {
  display: block;
  max-width: 15ch;
  color: #fff8ff;
  font-size: 34px;
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.archetype-orbit strong {
  display: block;
  margin-top: 12px;
  color: var(--type-accent-2);
  font-size: 13px;
  font-weight: 900;
}

.archetype-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 18px;
}

.archetype-keywords span {
  padding: 7px 10px;
  border: 1px solid rgba(var(--type-accent-rgb), 0.28);
  border-radius: 10px;
  color: #f5efff;
  background: rgba(var(--type-accent-rgb), 0.11);
  font-size: 12px;
  font-weight: 900;
}

.archetype-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.archetype-card {
  cursor: default;
}

.archetype-card-photo {
  object-fit: cover;
  object-position: center top;
}

.placeholder-portrait {
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 30%, rgba(var(--type-accent-rgb), 0.38), transparent 32%),
    linear-gradient(145deg, rgba(var(--type-accent-rgb), 0.22), rgba(124, 77, 255, 0.2) 48%, rgba(8, 10, 36, 0.96));
}

.placeholder-portrait::before {
  content: "";
  width: 42%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--type-accent), var(--type-accent-2));
  opacity: 0.92;
  filter: blur(0.2px);
  box-shadow: 0 24px 0 28px rgba(255, 255, 255, 0.05);
}

.placeholder-portrait span {
  position: absolute;
  color: rgba(255, 255, 255, 0.82);
  font-size: 46px;
  font-weight: 900;
}

.explainer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 36px;
  align-items: start;
}

.explainer-copy {
  padding: 36px;
  border: 1px solid rgba(213, 164, 255, 0.18);
  border-radius: 18px;
  background: rgba(7, 10, 37, 0.42);
}

.explainer-copy h2 {
  max-width: 780px;
  margin-bottom: 18px;
  color: #fff8ff;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.explainer-copy p {
  max-width: 76ch;
  color: #d8d2f1;
  font-size: 16px;
  font-weight: 750;
  line-height: 1.82;
}

.explainer-copy p:last-child {
  margin-bottom: 0;
}

.best-for-panel {
  padding: 26px;
  border: 1px solid rgba(var(--type-accent-rgb), 0.36);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(var(--type-accent-rgb), 0.12), rgba(255, 255, 255, 0.025)),
    rgba(12, 13, 45, 0.78);
}

.best-for-panel h3 {
  margin-bottom: 18px;
  color: var(--type-accent);
  font-size: 20px;
  font-weight: 900;
}

.best-for-panel ul {
  display: grid;
  gap: 13px;
}

.best-for-panel li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #f3edff;
  font-size: 14px;
  font-weight: 850;
}

.related-link-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.related-type-link {
  display: block;
  min-height: 96px;
  padding: 18px;
  border: 1px solid rgba(213, 164, 255, 0.2);
  border-radius: 14px;
  background: rgba(16, 20, 58, 0.54);
  transition: var(--transition);
}

.related-type-link:hover {
  transform: translateY(-3px);
  border-color: rgba(var(--type-accent-rgb), 0.52);
  box-shadow: 0 12px 28px rgba(var(--type-accent-rgb), 0.12);
}

.related-type-link span {
  display: block;
  margin-bottom: 5px;
  color: #fff8ff;
  font-weight: 900;
}

.related-type-link small {
  color: #bfb8dc;
  font-size: 12px;
  font-weight: 800;
}

.archetype-faq {
  max-width: 860px;
}

.character-type-hub {
  margin-top: 24px;
}

.jk-types-section {
  background:
    radial-gradient(circle at 12% 24%, rgba(255, 91, 189, 0.1), transparent 18rem),
    radial-gradient(circle at 86% 10%, rgba(86, 181, 255, 0.09), transparent 16rem);
}

.jk-types-header {
  align-items: flex-end;
}

.jk-types-intro {
  max-width: 760px;
  margin-top: 12px;
  color: #d8d2f1;
  font-size: 15px;
  font-weight: 750;
  line-height: 1.72;
}

.jk-type-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.jk-type-card {
  display: flex;
  min-height: 238px;
  flex-direction: column;
  align-items: flex-start;
  padding: 22px;
  border: 1px solid rgba(213, 164, 255, 0.24);
  border-radius: 15px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025)),
    rgba(16, 20, 58, 0.76);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 14px 34px rgba(0, 0, 0, 0.22);
  transition: var(--transition);
}

.jk-type-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 139, 214, 0.58);
  box-shadow: var(--shadow-glow-pink);
}

.jk-type-card-image {
  width: 100%;
  aspect-ratio: 3 / 4;
  max-height: 178px;
  margin-bottom: 16px;
  object-fit: cover;
  object-position: center top;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
}

.jk-type-card h3 {
  margin-bottom: 10px;
  color: #fff8ff;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.15;
}

.jk-type-card p {
  flex: 1;
  margin-bottom: 18px;
  color: #cfc8ea;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.65;
}

.jk-type-card .btn {
  width: 100%;
  white-space: nowrap;
}

@media (max-width: 1024px) {
  .archetype-hero-inner,
  .explainer-grid {
    grid-template-columns: 1fr;
  }

  .archetype-hero-visual {
    width: min(100%, 390px);
    justify-self: start;
  }

  .archetype-hero-panel {
    min-height: 280px;
  }

  .archetype-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .related-link-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .jk-type-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .archetype-hero {
    min-height: auto;
    padding: 88px 0 30px;
  }

  .archetype-hero-copy h1 {
    font-size: clamp(2.1rem, 10vw, 2.9rem);
  }

  .archetype-hero-copy p {
    font-size: 15px;
    margin-bottom: 20px;
  }

  .archetype-hero-inner {
    gap: 22px;
  }

  .archetype-hero-visual {
    width: min(100%, 340px);
    border-radius: 14px;
  }

  .archetype-hero-panel {
    min-height: auto;
    padding: 16px;
  }

  .archetype-orbit {
    min-height: 118px;
  }

  .archetype-orbit span {
    font-size: 24px;
  }

  .archetype-keywords {
    margin-top: 12px;
  }

  .archetype-keywords span {
    padding: 6px 8px;
    font-size: 11px;
  }

  .archetype-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .explainer-copy {
    padding: 26px 22px;
  }

  .jk-types-header {
    align-items: center;
  }

  .jk-type-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .archetype-card-grid,
  .related-link-grid,
  .jk-type-grid {
    grid-template-columns: 1fr;
  }
}

/* ====== MEET YOUR PERFECT AI GIRL SECTION (Taste Skill) ====== */
.archetype-meet-section {
  padding: 80px 0;
}

.meet-emotion {
  max-width: 720px;
  margin: 0 auto 40px;
  text-align: center;
  font-size: 1.08rem;
  line-height: 1.85;
  color: var(--text-secondary);
}

.meet-emotion strong {
  color: var(--text-primary);
  font-weight: 700;
}

.meet-scenarios {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 960px;
  margin: 0 auto 44px;
}

.meet-scenario-card {
  background: rgba(16, 20, 58, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 24px 20px;
  backdrop-filter: blur(10px);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.meet-scenario-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.18);
}

.meet-scenario-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 12px;
}

.theme-pure .meet-scenario-label { background: rgba(255,150,180,0.18); color: #ffb3cc; }
.theme-genki .meet-scenario-label { background: rgba(255,170,100,0.18); color: #ffbe8c; }
.theme-kuudere .meet-scenario-label { background: rgba(130,180,255,0.18); color: #9ec5ff; }
.theme-bookish .meet-scenario-label { background: rgba(160,140,220,0.18); color: #c4b5f0; }
.theme-kawaii .meet-scenario-label { background: rgba(255,140,180,0.18); color: #ffb8d0; }
.theme-tsundere .meet-scenario-label { background: rgba(255,120,150,0.18); color: #ff9eaf; }
.theme-yandere .meet-scenario-label { background: rgba(220,100,130,0.18); color: #ee90a4; }
.theme-maid .meet-scenario-label { background: rgba(140,180,210,0.18); color: #b0cce8; }
.theme-athlete .meet-scenario-label { background: rgba(100,200,160,0.18); color: #8ae0bf; }
.theme-realistic .meet-scenario-label { background: rgba(180,170,160,0.18); color: #cec8bf; }

.meet-scenario-card h4 {
  font-size: 1.02rem;
  font-weight: 700;
  margin: 0 0 6px;
  color: var(--text-primary);
}

.meet-scenario-card p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0;
}

.meet-psychology {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text-secondary);
  font-style: italic;
  opacity: 0.82;
  padding: 0 16px;
}

@media (max-width: 768px) {
  .meet-scenarios {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .meet-emotion {
    font-size: 1rem;
    padding: 0 12px;
  }
}
