/* ============================================
   OurDream AI Global Hub - Main Stylesheet
   Dark Neon UI Design System
   ============================================ */

/* --- CSS Variables --- */
:root {
  --bg-primary: #07070c;
  --bg-secondary: #0f0e17;
  --bg-card: #151320;
  --bg-card-hover: #1c192b;
  --bg-sidebar: #0b0a12;
  --bg-input: #181625;
  --bg-tag: #211e31;
  --bg-tag-active: #f05aa8;
  --border-color: #282337;
  --border-hover: #f05aa8;
  --text-primary: #f5f3f7;
  --text-secondary: #b4aec5;
  --text-muted: #7d758f;
  --accent-pink: #f05aa8;
  --accent-pink-light: #ff8bc7;
  --accent-purple: #8f6bed;
  --accent-purple-dark: #7352d9;
  --accent-cyan: #72d7e2;
  --accent-gold: #f59e0b;
  --gradient-pink-purple: linear-gradient(135deg, #ff4ecd 0%, #8b5cf6 100%);
  --gradient-dark-overlay: linear-gradient(180deg, transparent 0%, rgba(6,6,9,0.95) 100%);
  --shadow-card: 0 4px 24px rgba(0,0,0,0.5);
  --shadow-card-hover: 0 8px 40px rgba(255,78,205,0.12), 0 2px 8px rgba(139,92,246,0.08);
  --shadow-glow: 0 0 24px rgba(255,78,205,0.25);
  --radius-sm: 8px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 999px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-display: 'Sora', system-ui, -apple-system, sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-main: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

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

button {
  cursor: pointer;
  border: none;
  outline: none;
  font-family: inherit;
  transition: var(--transition);
}

ul, ol {
  list-style: none;
}

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

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

::-webkit-scrollbar-thumb {
  background: var(--accent-purple);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-pink);
}

/* --- Layout Structure --- */
.app-layout {
  display: flex;
  min-height: 100vh;
}

.main-content {
  flex: 1;
  margin-left: 260px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.content-wrapper {
  flex: 1;
  padding: 24px 32px;
}

/* --- Sidebar Navigation --- */
.sidebar {
  width: 260px;
  height: 100vh;
  position: fixed;
  left: 0;
  top: 0;
  background: var(--bg-sidebar);
  border-right: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  z-index: 1000;
  overflow-y: auto;
}

.sidebar-logo {
  padding: 24px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--border-color);
  position: relative;
}

.sidebar-logo-text {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  transition: opacity 0.2s ease, width 0.2s ease;
}

.sidebar-toggle {
  width: 28px;
  height: 28px;
  background: var(--bg-tag);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 12px;
  cursor: pointer;
  flex-shrink: 0;
  transition: var(--transition);
  padding: 0;
  line-height: 1;
}

.sidebar-toggle:hover {
  background: var(--accent-pink);
  color: white;
  border-color: var(--accent-pink);
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--gradient-pink-purple);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: bold;
  color: white;
}

.logo-text {
  font-size: 20px;
  font-weight: 700;
  font-family: var(--font-display);
  letter-spacing: -0.3px;
  white-space: nowrap;
}

.logo-pink {
  color: var(--accent-pink);
}

.logo-white {
  color: var(--text-primary);
}

.logo-sub {
  font-family: var(--font-body);
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 500;
}

.sidebar-nav {
  padding: 16px 12px;
  flex: 1;
}

.nav-section {
  margin-bottom: 20px;
}

.nav-section-title {
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 0 12px;
  margin-bottom: 8px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 500;
  transition: var(--transition);
  margin-bottom: 2px;
}

.nav-item:hover {
  background: rgba(255, 78, 205, 0.06);
  color: var(--text-primary);
}

.nav-item.active {
  background: rgba(255, 78, 205, 0.08);
  color: var(--accent-pink);
  border-left: 2px solid var(--accent-pink);
  font-weight: 600;
}

.nav-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  display: block;
}

.sidebar-footer {
  padding: 16px;
  border-top: 1px solid var(--border-color);
}

.sidebar-btn {
  width: 100%;
  padding: 12px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* --- Collapsed Sidebar State --- */
body.sidebar-collapsed .sidebar {
  width: 64px;
}

body.sidebar-collapsed .main-content {
  margin-left: 64px;
}

body.sidebar-collapsed .site-footer {
  margin-left: 64px;
}

body.sidebar-collapsed .sidebar-logo {
  padding: 16px 12px;
  gap: 0;
}

body.sidebar-collapsed .sidebar-logo-text {
  opacity: 0;
  width: 0;
  overflow: hidden;
}

body.sidebar-collapsed .sidebar-toggle {
  transform: rotate(180deg);
}

body.sidebar-collapsed .nav-section-title {
  height: 0;
  opacity: 0;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

body.sidebar-collapsed .nav-item {
  font-size: 0;
  justify-content: center;
  padding: 10px 8px;
  border-left: none;
}

body.sidebar-collapsed .nav-item.active {
  border-left: none;
  border-radius: var(--radius-sm);
}

body.sidebar-collapsed .nav-icon {
  width: 20px;
  height: 20px;
  margin: 0;
}

body.sidebar-collapsed .sidebar-footer {
  opacity: 0;
  height: 0;
  overflow: hidden;
  padding: 0;
  border-top: none;
}

body.sidebar-collapsed .sidebar-btn {
  display: none;
}

.sidebar,
.main-content,
.site-footer,
.sidebar-logo,
.sidebar-logo-text,
.nav-section-title,
.nav-item,
.nav-icon,
.sidebar-footer,
.sidebar-btn {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary {
  background: var(--gradient-pink-purple);
  color: white;
  border: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.btn-secondary {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  border-color: var(--accent-pink);
  color: var(--text-primary);
  background: rgba(255, 78, 205, 0.05);
}

/* --- Header Brand --- */
.header-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.header-brand .brand-icon {
  width: 36px;
  height: 36px;
  background: var(--gradient-pink-purple);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
  color: white;
}

.header-brand .brand-text {
  font-size: 18px;
  font-weight: 800;
  background: var(--gradient-pink-purple);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  white-space: nowrap;
}

/* --- Top Header / Filter Bar --- */
.top-header {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.search-bar {
  flex: 1;
  max-width: 500px;
  position: relative;
}

.search-bar input {
  width: 100%;
  padding: 12px 16px 12px 44px;
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  color: var(--text-primary);
  font-size: 14px;
  outline: none;
  transition: var(--transition);
}

.search-bar input:focus {
  border-color: var(--accent-pink);
  box-shadow: 0 0 0 3px rgba(255, 78, 205, 0.1);
}

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

.search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 16px;
}

.filter-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.filter-tag {
  padding: 8px 16px;
  background: var(--bg-tag);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.filter-tag:hover {
  border-color: var(--accent-pink);
  color: var(--text-primary);
}

.filter-tag.active {
  background: var(--accent-pink);
  color: white;
  border-color: var(--accent-pink);
}

.filter-dropdown {
  padding: 8px 14px;
  background: var(--bg-tag);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 13px;
  cursor: pointer;
  outline: none;
}

.filter-dropdown:focus {
  border-color: var(--accent-pink);
}

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

/* --- Hero Section --- */
.hero-section {
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  margin-bottom: 40px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 78, 205, 0.08);
  background:
    radial-gradient(ellipse 80% 60% at 85% 20%, rgba(255, 78, 205, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 15% 80%, rgba(139, 92, 246, 0.04) 0%, transparent 60%),
    var(--bg-card);
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.025'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

.hero-section > * {
  position: relative;
  z-index: 1;
}

.hero-title {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.15;
  letter-spacing: -0.5px;
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, #ff4ecd 0%, #ff7fdc 30%, #8b5cf6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 560px;
  margin-bottom: 28px;
  line-height: 1.7;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 28px;
}

.stat-item {
  text-align: left;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.5px;
  margin-bottom: 2px;
}

.stat-label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 500;
}

/* --- Section Styling --- */
.section {
  margin-bottom: 48px;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.section-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: -0.3px;
}

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

.section-link {
  font-size: 14px;
  color: var(--accent-pink);
  font-weight: 500;
}

.section-link:hover {
  color: var(--accent-pink-light);
  text-decoration: underline;
}

/* --- Profile Cards Grid --- */
.profile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  grid-auto-rows: 1fr;
  gap: 20px;
}

.profile-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.35s ease, box-shadow 0.35s ease;
  cursor: pointer;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 456px;
}

.profile-card::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(255, 78, 205, 0), rgba(139, 92, 246, 0));
  z-index: -1;
  transition: opacity 0.35s ease;
  opacity: 0;
}

.profile-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 78, 205, 0.4);
  box-shadow:
    0 12px 40px rgba(255, 78, 205, 0.1),
    0 4px 12px rgba(139, 92, 246, 0.06);
}

.profile-card:hover::after {
  opacity: 1;
  background: linear-gradient(135deg, rgba(255, 78, 205, 0.15), rgba(139, 92, 246, 0.1));
}

.profile-image {
  width: 100%;
  height: 292px;
  flex: 0 0 292px;
  aspect-ratio: auto;
  object-fit: cover;
  position: relative;
  overflow: hidden;
}

.profile-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.profile-card:hover .profile-image img {
  transform: scale(1.05);
}

.profile-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 10px;
  background: var(--gradient-pink-purple);
  color: white;
  font-size: 11px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 2;
}

.profile-badge.hot {
  background: linear-gradient(135deg, #ff4e4e, #ff8c00);
}

.profile-badge.new {
  background: linear-gradient(135deg, #4eff88, #00cc66);
}

.profile-badge.video {
  background: linear-gradient(135deg, #4ff0ff, #0088ff);
}

.profile-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 12px 12px;
  background: var(--gradient-dark-overlay);
}

.profile-info {
  padding: 14px;
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 164px;
}

.profile-name {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
  letter-spacing: -0.2px;
}

.profile-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.profile-age {
  font-size: 13px;
  color: var(--accent-cyan);
  font-weight: 500;
}

.profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 10px;
  min-height: 44px;
  max-height: 44px;
  overflow: hidden;
  align-content: flex-start;
}

.tag {
  padding: 3px 8px;
  background: var(--bg-tag);
  border-radius: var(--radius-sm);
  font-size: 11px;
  color: var(--text-secondary);
}

.tag.pink {
  background: rgba(255, 78, 205, 0.15);
  color: var(--accent-pink);
}

.profile-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 10px;
  min-height: 36px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.profile-action {
  width: 100%;
  min-height: 40px;
  padding: 10px;
  background: rgba(255, 78, 205, 0.1);
  border: 1px solid rgba(255, 78, 205, 0.3);
  border-radius: var(--radius-sm);
  color: var(--accent-pink);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: auto;
}

.profile-action .nav-icon {
  width: 16px;
  height: 16px;
}

.profile-action:hover {
  background: var(--accent-pink);
  color: white;
}

/* --- Category Cards --- */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.category-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 28px;
  border: 1px solid var(--border-color);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.35s ease, box-shadow 0.35s ease;
  position: relative;
  overflow: hidden;
}

.category-card::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 20px;
  right: 20px;
  height: 2px;
  background: var(--gradient-pink-purple);
  border-radius: 0 0 2px 2px;
  transform: scaleX(0);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-card:hover {
  border-color: rgba(255, 78, 205, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(255, 78, 205, 0.08);
}

.category-card:hover::before {
  transform: scaleX(1);
}

.category-icon {
  font-size: 36px;
  margin-bottom: 14px;
}

.category-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.2px;
}

.category-desc {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.5;
}

.category-link {
  font-size: 14px;
  color: var(--accent-pink);
  font-weight: 600;
}

.category-link:hover {
  text-decoration: underline;
}

/* --- Content Cards --- */
.content-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 32px;
  border: 1px solid var(--border-color);
  margin-bottom: 20px;
  transition: border-color 0.3s ease;
}

.content-card:hover {
  border-color: rgba(255, 78, 205, 0.1);
}

.content-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text-primary);
  letter-spacing: -0.2px;
}

.content-card p {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 12px;
}

.content-card strong {
  color: var(--accent-pink-light);
}

.content-card ul {
  margin: 16px 0;
  padding-left: 20px;
}

.content-card ul li {
  list-style: disc;
  color: var(--text-secondary);
  margin-bottom: 8px;
  font-size: 14px;
  line-height: 1.6;
}

/* --- Video Cards --- */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.video-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.video-card:hover {
  border-color: var(--accent-pink);
  box-shadow: var(--shadow-card-hover);
}

.video-thumbnail {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.video-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  background: rgba(255, 78, 205, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: white;
  transition: var(--transition);
}

.video-card:hover .play-button {
  background: var(--accent-pink);
  transform: translate(-50%, -50%) scale(1.1);
}

.video-duration {
  position: absolute;
  bottom: 10px;
  right: 10px;
  padding: 4px 8px;
  background: rgba(0,0,0,0.7);
  border-radius: var(--radius-sm);
  font-size: 12px;
  color: white;
}

.video-info {
  padding: 16px;
}

.video-title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
}

.video-meta {
  font-size: 13px;
  color: var(--text-muted);
}

/* --- Pricing Cards --- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 24px;
}

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

.pricing-card:hover {
  border-color: var(--accent-pink);
  box-shadow: var(--shadow-card-hover);
}

.pricing-card.featured {
  border-color: var(--accent-pink);
  box-shadow: 0 0 30px rgba(255, 78, 205, 0.15);
}

.pricing-card.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 16px;
  background: var(--gradient-pink-purple);
  color: white;
  font-size: 12px;
  font-weight: 600;
  border-radius: var(--radius-xl);
}

.pricing-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 4px;
  letter-spacing: -0.2px;
}

.pricing-desc {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.pricing-price {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 6px;
  letter-spacing: -1px;
}

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

.pricing-features {
  margin: 24px 0;
}

.pricing-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 14px;
  color: var(--text-secondary);
}

.pricing-feature .check {
  color: var(--accent-pink);
  font-weight: bold;
}

.pricing-btn {
  width: 100%;
  padding: 14px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

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

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

.comparison-table th {
  background: var(--bg-secondary);
  padding: 16px;
  text-align: left;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  border-bottom: 2px solid var(--border-color);
}

.comparison-table td {
  padding: 14px 16px;
  font-size: 14px;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-color);
}

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

.comparison-table .highlight {
  color: var(--accent-pink);
  font-weight: 600;
}

.comparison-table .check {
  color: #4eff88;
  font-weight: bold;
}

.comparison-table .cross {
  color: #ff4e4e;
}

/* --- FAQ Accordion --- */
.faq-list {
  max-width: 800px;
}

.faq-item {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  transition: var(--transition);
}

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

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

.faq-question:hover {
  color: var(--accent-pink);
}

.faq-icon {
  font-size: 20px;
  color: var(--accent-pink);
  transition: var(--transition);
  flex-shrink: 0;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

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

.faq-item.open .faq-answer {
  max-height: 500px;
  padding: 0 24px 18px;
}

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

/* --- SEO Content Block --- */
.seo-content {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 32px;
  border: 1px solid var(--border-color);
}

.seo-content h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 24px 0 12px;
  color: var(--accent-pink-light);
}

.seo-content h3:first-child {
  margin-top: 0;
}

.seo-content p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 10px;
}

.seo-content a {
  color: var(--accent-pink);
  text-decoration: underline;
}

/* --- CTA Section --- */
.cta-section {
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(255, 78, 205, 0.06) 0%, transparent 70%),
    var(--bg-card);
  border: 1px solid rgba(255, 78, 205, 0.08);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  text-align: center;
  margin: 48px 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.02'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

.cta-section > * {
  position: relative;
  z-index: 1;
}

.cta-title {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.4px;
}

.cta-desc {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 28px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-btn {
  padding: 14px 36px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
}

/* --- Footer --- */
.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 48px 32px 24px;
  margin-left: 260px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  margin-bottom: 32px;
}

.footer-brand .logo-text {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
  display: inline-block;
  letter-spacing: -0.3px;
}

.footer-brand p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.footer-title {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-links a {
  display: block;
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 10px;
}

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

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copyright {
  font-size: 13px;
  color: var(--text-muted);
}

.footer-legal {
  display: flex;
  gap: 20px;
}

.footer-legal a {
  font-size: 13px;
  color: var(--text-muted);
}

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

.age-badge {
  display: inline-block;
  padding: 4px 10px;
  background: rgba(255, 0, 0, 0.15);
  border: 1px solid rgba(255, 0, 0, 0.3);
  border-radius: var(--radius-sm);
  font-size: 12px;
  color: #ff6b6b;
  font-weight: 600;
}

/* --- Modal --- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 440px;
  width: 90%;
  border: 1px solid var(--border-color);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  transform: translateY(20px);
  transition: var(--transition);
}

.modal-overlay.active .modal {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  background: var(--bg-tag);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 18px;
  cursor: pointer;
  border: none;
}

.modal-close:hover {
  background: var(--accent-pink);
  color: white;
}

.modal-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 8px;
  text-align: center;
  letter-spacing: -0.3px;
}

.modal-subtitle {
  font-size: 14px;
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 28px;
}

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

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-secondary);
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 14px;
  outline: none;
  transition: var(--transition);
}

.form-input:focus {
  border-color: var(--accent-pink);
  box-shadow: 0 0 0 3px rgba(255, 78, 205, 0.1);
}

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

.form-btn {
  width: 100%;
  padding: 14px;
  background: var(--gradient-pink-purple);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  margin-top: 8px;
  display: block;
  text-align: center;
}

.form-btn:hover {
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

.form-footer {
  text-align: center;
  margin-top: 20px;
  font-size: 13px;
  color: var(--text-secondary);
}

.form-footer a {
  color: var(--accent-pink);
  font-weight: 600;
}

/* --- Toast --- */
.toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  padding: 14px 24px;
  background: var(--bg-card);
  border: 1px solid var(--accent-pink);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 500;
  z-index: 3000;
  transform: translateY(100px);
  opacity: 0;
  transition: var(--transition);
  box-shadow: var(--shadow-glow);
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* --- Safety Warning --- */
.safety-warning {
  background: rgba(255, 0, 0, 0.08);
  border: 1px solid rgba(255, 0, 0, 0.2);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 32px;
}

.safety-warning h3 {
  color: #ff6b6b;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.safety-warning p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.7;
}

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

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(255, 78, 205, 0.4);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(255, 78, 205, 0);
  }
}

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

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

.animate-pulse {
  animation: pulse 2s infinite;
}

.animate-float {
  animation: float 3s ease-in-out infinite;
}

/* --- Responsive --- */

/* Tablet: ≤1024px */
@media (max-width: 1024px) {
  .sidebar {
    transform: translateX(-100%);
    transition: transform 0.3s ease;
  }

  .sidebar.open {
    transform: translateX(0);
  }

  .main-content,
  .site-footer {
    margin-left: 0;
  }

  /* Reset collapsed sidebar state on tablet/mobile */
  body.sidebar-collapsed .sidebar { width: 260px; }
  body.sidebar-collapsed .main-content,
  body.sidebar-collapsed .site-footer { margin-left: 0; }
  body.sidebar-collapsed .sidebar-logo { padding: 24px 20px; gap: 12px; }
  body.sidebar-collapsed .sidebar-logo-text { opacity: 1; width: auto; }
  body.sidebar-collapsed .nav-section-title { height: auto; opacity: 1; padding: 0 12px; margin-bottom: 8px; }
  body.sidebar-collapsed .nav-item { font-size: 14px; padding: 10px 12px; justify-content: flex-start; }
  body.sidebar-collapsed .sidebar-footer { opacity: 1; height: auto; padding: 16px; border-top: 1px solid var(--border-color); }
  body.sidebar-collapsed .sidebar-btn { display: flex; }

  .mobile-toggle {
    display: flex !important;
  }

  .top-header {
    padding: 10px 16px;
    flex-wrap: wrap;
  }

  .filter-tags {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .filter-tags::-webkit-scrollbar { display: none; }

  .content-wrapper {
    padding: 14px;
  }

  .hero-section {
    padding: 28px 18px;
  }

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

  .hero-subtitle {
    font-size: 14px;
  }

  .hero-stats {
    gap: 16px;
  }

  .stat-number {
    font-size: 20px;
  }

  .stat-label {
    font-size: 10px;
  }

  .profile-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .profile-info {
    padding: 10px;
  }

  .profile-name {
    font-size: 14px;
  }

  .profile-desc {
    font-size: 11px;
    -webkit-line-clamp: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .profile-tags {
    gap: 3px;
  }

  .profile-tags .tag {
    padding: 2px 6px;
    font-size: 10px;
  }

  .profile-action {
    font-size: 12px;
    padding: 8px;
  }

  .category-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .video-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

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

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

  .cta-section {
    padding: 28px 20px;
  }

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

  .cta-desc {
    font-size: 14px;
  }

  .section {
    margin-bottom: 32px;
  }

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

  .content-card {
    padding: 20px;
  }

  .content-card h3 {
    font-size: 17px;
  }

  .content-card p {
    font-size: 13px;
  }
}

/* Mobile: ≤768px, 2 cards per row */
@media (max-width: 768px) {
  .profile-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .profile-info {
    padding: 8px;
  }

  .profile-name {
    font-size: 13px;
  }

  .profile-age {
    font-size: 11px;
  }

  .profile-meta {
    margin-bottom: 4px;
    gap: 4px;
  }

  .profile-tags {
    margin-bottom: 6px;
  }

  .profile-tags .tag {
    padding: 2px 5px;
    font-size: 9px;
  }

  .profile-desc {
    font-size: 10px;
    margin-bottom: 6px;
  }

  .profile-action {
    font-size: 11px;
    padding: 7px;
  }

  .profile-badge {
    top: 6px;
    left: 6px;
    padding: 3px 7px;
    font-size: 9px;
  }

  .top-header {
    padding: 8px 12px;
  }

  .filter-tag {
    padding: 6px 12px;
    font-size: 11px;
  }

  .hero-section {
    padding: 20px 14px;
  }

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

  .hero-subtitle {
    font-size: 13px;
  }

  .hero-stats {
    gap: 12px;
    flex-wrap: wrap;
  }

  .stat-number {
    font-size: 18px;
  }

  .category-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .video-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

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

  .content-card {
    padding: 16px;
  }

  .content-card h3 {
    font-size: 15px;
    margin-bottom: 10px;
  }

  .content-card p {
    font-size: 12px;
    line-height: 1.6;
  }

  .cta-buttons {
    flex-direction: column;
  }

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

/* Small Mobile: ≤480px */
@media (max-width: 480px) {
  .profile-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .profile-image {
    aspect-ratio: 1/1.2;
  }

  .profile-info {
    padding: 6px;
  }

  .profile-name {
    font-size: 12px;
  }

  .profile-tags .tag {
    padding: 1px 4px;
    font-size: 8px;
  }

  .profile-desc {
    display: none;
  }

  .profile-action {
    font-size: 10px;
    padding: 6px;
  }

  .top-header {
    padding: 6px 10px;
  }

  .filter-tag {
    padding: 5px 10px;
    font-size: 10px;
  }

  .header-actions .btn-secondary {
    padding: 6px 12px;
    font-size: 11px;
  }

  .hero-section {
    padding: 16px 10px;
  }

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

  .hero-subtitle {
    font-size: 12px;
  }

  .stat-number {
    font-size: 16px;
  }

  .content-wrapper {
    padding: 10px;
  }

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }

  .section {
    margin-bottom: 24px;
  }
}

/* --- Utility Classes --- */
.gradient-text {
  background: var(--gradient-pink-purple);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-center {
  text-align: center;
}

.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }

.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }

.hidden {
  display: none !important;
}

.mobile-toggle {
  display: none;
  width: 40px;
  height: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--text-primary);
  cursor: pointer;
}

/* --- Responsive Brand Polish --- */
html,
body {
  width: 100%;
  max-width: 100%;
}

body {
  min-height: 100dvh;
  overflow-x: clip;
}

.main-content,
.content-wrapper,
.top-header,
.section,
.content-card,
.profile-card,
.category-card,
.video-card,
.pricing-card,
.seo-content {
  min-width: 0;
}

.content-wrapper {
  width: 100%;
  max-width: 1480px;
  margin: 0 auto;
}

.hero-section,
.cta-section {
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.24);
  width: 100%;
  max-width: 100%;
}

.hero-section {
  min-height: min(620px, calc(100dvh - 128px));
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-title {
  max-width: 780px;
  font-size: clamp(36px, 5vw, 72px);
  line-height: 1.03;
  letter-spacing: 0;
}

.hero-subtitle {
  max-width: 680px;
  font-size: clamp(16px, 1.5vw, 19px);
  color: #d3ccdc;
}

.hero-actions {
  align-items: center;
  width: 100%;
  max-width: 100%;
}

.hero-actions .btn-primary,
.hero-actions .btn-secondary {
  min-height: 48px;
  max-width: 100%;
  white-space: nowrap;
}

.profile-grid {
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
}

.profile-card {
  display: flex;
  flex-direction: column;
}

.profile-info {
  display: flex;
  min-height: 224px;
  flex: 1;
  flex-direction: column;
}

.profile-desc {
  flex: 1;
}

.profile-action {
  min-height: 42px;
}

.category-icon .nav-icon,
.content-card h3 .nav-icon,
.section-title .nav-icon {
  color: var(--accent-pink);
}

.content-card,
.seo-content {
  max-width: 980px;
}

.content-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
}

.modal {
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
}

@media (hover: none) {
  .profile-card:hover,
  .category-card:hover,
  .video-card:hover,
  .pricing-card:hover,
  .btn-primary:hover,
  .form-btn:hover {
    transform: none;
  }
}

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

@media (max-width: 1180px) {
  .top-header {
    align-items: flex-start;
  }

  .filter-tags {
    flex: 1 1 auto;
    min-width: 0;
  }

  .profile-grid {
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  }
}

@media (max-width: 1024px) {
  .sidebar {
    width: min(84vw, 320px);
    max-width: 320px;
    box-shadow: 28px 0 80px rgba(0, 0, 0, 0.42);
  }

  body.sidebar-collapsed .sidebar {
    width: min(84vw, 320px);
  }

  .sidebar-logo {
    min-height: 68px;
    padding: 18px 20px;
  }

  .sidebar-toggle {
    display: none;
  }

  .nav-item,
  body.sidebar-collapsed .nav-item {
    min-height: 44px;
    font-size: 14px;
  }

  .mobile-toggle {
    position: fixed;
    top: 12px !important;
    right: 14px !important;
    left: auto !important;
    z-index: 1001;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(21, 19, 32, 0.86);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
  }

  body.mobile-nav-open .mobile-toggle {
    right: auto !important;
    left: min(calc(84vw - 58px), 262px) !important;
    background: rgba(33, 30, 49, 0.92);
    font-size: 28px;
    line-height: 1;
  }

  .top-header {
    min-height: 116px;
    padding: 64px 14px 12px;
    gap: 12px;
    background: rgba(15, 14, 23, 0.88);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    overflow: hidden;
  }

  .top-header::before {
    content: "ourdream.ai";
    position: absolute;
    top: 17px;
    left: 14px;
    max-width: calc(100vw - 178px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 800;
    line-height: 1;
    background: var(--gradient-pink-purple);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  .header-actions {
    position: absolute;
    top: 12px;
    right: 68px;
  }

  .header-actions .btn-secondary {
    min-height: 42px;
    border-radius: 12px !important;
    background: rgba(21, 19, 32, 0.74) !important;
  }

  .filter-tags {
    width: 100%;
    max-width: 100%;
    gap: 8px;
    padding: 0 0 2px;
    overflow-x: auto;
    mask-image: linear-gradient(90deg, #000 0%, #000 88%, transparent 100%);
  }

  .filter-tag,
  .filter-dropdown {
    min-height: 38px;
    font-size: 12px;
  }

  .content-wrapper {
    padding: 18px 14px 28px;
    overflow-x: clip;
  }

  .hero-section {
    min-height: auto;
    padding: 32px 20px;
    margin-bottom: 32px;
  }

  .hero-title {
    max-width: 620px;
    font-size: clamp(32px, 8vw, 48px);
    line-height: 1.06;
  }

  .hero-subtitle {
    max-width: 560px;
    font-size: 15px;
    line-height: 1.65;
  }

  .hero-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
    max-width: 100%;
  }

  .stat-item {
    min-width: 0;
    overflow: hidden;
    padding: 12px 10px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.025);
  }

  .section-header {
    align-items: flex-start;
    gap: 14px;
  }

  .section-title {
    line-height: 1.2;
  }

  .profile-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .profile-info {
    min-height: 204px;
  }

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

  .content-card,
  .seo-content {
    max-width: none;
  }
}

@media (max-width: 768px) {
  .app-layout {
    display: block;
  }

  .top-header {
    min-height: 112px;
  }

  .hero-section {
    border-radius: 14px;
    padding: 28px 18px;
    background:
      radial-gradient(ellipse 110% 70% at 82% 6%, rgba(240, 90, 168, 0.11) 0%, transparent 58%),
      radial-gradient(ellipse 90% 60% at 12% 100%, rgba(143, 107, 237, 0.09) 0%, transparent 62%),
      var(--bg-card);
  }

  .hero-title {
    font-size: clamp(31px, 10.4vw, 42px);
  }

  .hero-subtitle {
    margin-bottom: 22px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-secondary {
    width: 100%;
    justify-content: center;
    padding: 13px 16px !important;
    border-radius: 12px !important;
    overflow: hidden;
    text-align: center;
    text-overflow: ellipsis;
  }

  .hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 22px;
  }

  .stat-number {
    font-size: 22px;
  }

  .stat-label {
    letter-spacing: 0.08em;
  }

  .section {
    margin-bottom: 34px;
  }

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

  .section-link {
    padding-top: 2px;
    white-space: nowrap;
  }

  .category-grid,
  .video-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .profile-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .profile-card {
    min-height: 420px;
  }

  .profile-image {
    height: 240px;
    flex-basis: 240px;
    min-height: 240px;
    aspect-ratio: auto;
  }

  .profile-info {
    min-height: 180px;
    padding: 14px;
  }

  .profile-name {
    font-size: 17px;
  }

  .profile-age {
    font-size: 12px;
  }

  .profile-tags {
    gap: 5px;
  }

  .profile-tags .tag {
    max-width: 100%;
    padding: 3px 7px;
    font-size: 10px;
  }

  .profile-desc {
    display: -webkit-box;
    margin-bottom: 10px;
    font-size: 12px;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .profile-action {
    min-height: 40px;
    font-size: 13px;
  }

  .category-card,
  .content-card,
  .seo-content,
  .pricing-card,
  .safety-warning {
    padding: 20px;
    border-radius: 12px;
  }

  .category-desc,
  .content-card p,
  .seo-content p {
    font-size: 14px;
  }

  .tag-cloud {
    gap: 8px;
  }

  .tag-cloud .tag {
    font-size: 11px;
    line-height: 1.35;
  }

  .comparison-table-wrapper {
    margin-left: -14px;
    margin-right: -14px;
    padding: 0 14px;
  }

  .cta-section {
    margin: 34px 0;
    padding: 30px 18px;
  }

  .site-footer {
    padding: 34px 18px 24px;
  }

  .footer-legal {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 16px;
  }

  .modal {
    width: calc(100% - 28px);
    padding: 30px 20px;
    border-radius: 14px;
  }

  .toast {
    right: 14px;
    bottom: 14px;
    left: 14px;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .profile-grid {
    grid-template-columns: 1fr;
  }

  .profile-card {
    display: grid;
    grid-template-columns: minmax(112px, 36%) minmax(0, 1fr);
    height: 176px;
    min-height: 176px;
  }

  .profile-image {
    height: 100%;
    min-height: 0;
    flex-basis: auto;
    aspect-ratio: auto;
  }

  .profile-info {
    min-height: 0;
    overflow: hidden;
  }

  .profile-tags {
    flex-wrap: nowrap;
    min-height: 22px;
    max-height: 22px;
    margin-bottom: 8px;
  }

  .profile-tags .tag:nth-child(n+3) {
    display: none;
  }

  .profile-desc {
    min-height: 18px;
    margin-bottom: 8px;
    -webkit-line-clamp: 1;
  }

  .profile-action {
    min-height: 34px;
    padding: 7px 10px;
  }
}

@media (max-width: 480px) {
  .top-header {
    padding: 62px 12px 10px;
  }

  .top-header::before {
    left: 14px;
    max-width: calc(100vw - 176px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .header-actions .btn-secondary {
    padding: 9px 12px !important;
    font-size: 12px !important;
  }

  .content-wrapper {
    padding: 14px 10px 24px;
  }

  .hero-section {
    padding: 24px 14px;
  }

  .hero-title {
    font-size: clamp(29px, 11vw, 36px);
  }

  .hero-subtitle {
    font-size: 14px;
  }

  .profile-card {
    grid-template-columns: 112px minmax(0, 1fr);
    height: 166px;
    min-height: 166px;
  }

  .profile-image {
    min-height: 0;
  }

  .profile-info {
    padding: 12px;
  }

  .profile-name {
    font-size: 16px;
  }

  .profile-desc {
    display: -webkit-box;
  }

  .profile-action {
    font-size: 12px;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .section-link {
    font-size: 13px;
  }

  .footer-bottom {
    align-items: flex-start;
    text-align: left;
  }
}

@media (max-width: 360px) {
  .profile-card {
    grid-template-columns: 96px minmax(0, 1fr);
    height: 160px;
    min-height: 160px;
  }

  .profile-image {
    min-height: 0;
  }

  .profile-info {
    padding: 10px;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }
}

/* --- Login Page Specific --- */
.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0a0a0f 0%, #1a1025 50%, #0a0a0f 100%);
  position: relative;
  overflow: hidden;
}

.login-page::before {
  content: '';
  position: absolute;
  top: 10%;
  left: 10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 78, 205, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.login-page::after {
  content: '';
  position: absolute;
  bottom: 10%;
  right: 10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(184, 79, 255, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.login-box {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 48px;
  max-width: 420px;
  width: 90%;
  border: 1px solid var(--border-color);
  position: relative;
  z-index: 1;
}

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

.login-logo .logo-icon {
  margin: 0 auto 12px;
}

.social-login {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}

.social-btn {
  flex: 1;
  padding: 12px;
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.social-btn:hover {
  border-color: var(--accent-pink);
  color: var(--text-primary);
}

.divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 20px 0;
  color: var(--text-muted);
  font-size: 13px;
}

.divider::before,
.divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border-color);
}

/* --- Help Centre --- */
.help-search {
  max-width: 600px;
  margin: 0 auto 40px;
}

.help-categories {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

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

.help-card:hover {
  border-color: var(--accent-pink);
  transform: translateY(-4px);
}

.help-card-icon {
  font-size: 36px;
  margin-bottom: 12px;
}

.help-card-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.help-card-desc {
  font-size: 13px;
  color: var(--text-secondary);
}

/* --- Terms & Privacy --- */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h2 {
  font-size: 22px;
  font-weight: 700;
  margin: 32px 0 16px;
  color: var(--text-primary);
}

.legal-content h3 {
  font-size: 17px;
  font-weight: 600;
  margin: 24px 0 12px;
  color: var(--accent-pink-light);
}

.legal-content p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 12px;
}

.legal-content ul {
  margin: 12px 0;
  padding-left: 24px;
}

.legal-content ul li {
  list-style: disc;
  color: var(--text-secondary);
  margin-bottom: 8px;
  font-size: 14px;
  line-height: 1.6;
}

.legal-date {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

/* --- Keyword Tags Cloud --- */
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.tag-cloud .tag {
  padding: 6px 14px;
  background: var(--bg-tag);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  font-size: 13px;
  color: var(--text-secondary);
  transition: var(--transition);
}

.tag-cloud .tag:hover {
  border-color: var(--accent-pink);
  color: var(--accent-pink);
  cursor: pointer;
}

/* --- Breadcrumb --- */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  font-size: 13px;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--text-secondary);
}

.breadcrumb a:hover {
  color: var(--accent-pink);
}

.breadcrumb .current {
  color: var(--accent-pink);
}

/* --- Trending Banner --- */
.trending-banner {
  background: linear-gradient(135deg, rgba(255, 78, 205, 0.1) 0%, rgba(184, 79, 255, 0.1) 100%);
  border: 1px solid rgba(255, 78, 205, 0.2);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.trending-banner .trending-icon {
  font-size: 28px;
  flex-shrink: 0;
}

.trending-banner h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}

.trending-banner p {
  font-size: 13px;
  color: var(--text-secondary);
}
