/* ==========================================
   SOHBET TEMASI - YAZİLİMPANEL.COM.TR
   ========================================== */

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

:root {
  --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  --gradient-hero: linear-gradient(135deg, #ff6b8a 0%, #c471ed 40%, #8b5cf6 70%, #6366f1 100%);
  --gradient-btn: linear-gradient(135deg, #f5576c 0%, #ff6b8a 50%, #c471ed 100%);
  --gradient-dark: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  --gradient-card: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.85) 100%);
  --gradient-glass: linear-gradient(135deg, rgba(255,255,255,0.25) 0%, rgba(255,255,255,0.1) 100%);
  
  --pink-primary: #ff6b8a;
  --purple-primary: #c471ed;
  --blue-primary: #6366f1;
  --coral: #f5576c;
  --gold: #fbbf24;
  --cyan: #00f2fe;
  --text-dark: #1a1a2e;
  --text-gray: #64748b;
  --text-muted: #94a3b8;
  --white: #ffffff;
  --bg-light: #f8fafc;
  --glass-bg: rgba(255,255,255,0.15);
  --glass-border: rgba(255,255,255,0.25);
  
  --shadow-sm: 0 2px 10px rgba(0,0,0,0.06);
  --shadow-md: 0 8px 30px rgba(0,0,0,0.1);
  --shadow-lg: 0 15px 50px rgba(0,0,0,0.15);
  --shadow-glow: 0 0 30px rgba(255,107,138,0.3);
  --shadow-purple: 0 0 30px rgba(196,113,237,0.3);
  
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  font-family: 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

.page-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ==========================================
   ANIMATED BACKGROUND MESH
   ========================================== */
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-25px) rotate(5deg); }
  50% { transform: translateY(-15px) rotate(-3deg); }
  75% { transform: translateY(-30px) rotate(3deg); }
}

@keyframes floatReverse {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(20px) rotate(-5deg); }
  50% { transform: translateY(10px) rotate(3deg); }
  75% { transform: translateY(25px) rotate(-3deg); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.05); opacity: 1; }
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 20px rgba(255,107,138,0.3); }
  50% { box-shadow: 0 0 40px rgba(196,113,237,0.5); }
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes typing {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

@keyframes borderGlow {
  0% { border-color: rgba(255,107,138,0.5); }
  33% { border-color: rgba(196,113,237,0.5); }
  66% { border-color: rgba(99,102,241,0.5); }
  100% { border-color: rgba(255,107,138,0.5); }
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes morphBlob {
  0%, 100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
  25% { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; }
  50% { border-radius: 50% 60% 30% 60% / 30% 60% 70% 40%; }
  75% { border-radius: 60% 40% 60% 30% / 70% 30% 50% 60%; }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-15px); }
  60% { transform: translateY(-8px); }
}

/* ==========================================
   DEMO MODE BANNER
   ========================================== */
.demo-banner {
  background: linear-gradient(90deg, #667eea, #764ba2, #f093fb, #f5576c, #667eea);
  background-size: 400% 100%;
  animation: gradientShift 4s ease infinite;
  color: white;
  text-align: center;
  padding: 0.6rem 1rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  position: relative;
  z-index: 200;
}

.demo-banner a {
  color: #fbbf24;
  text-decoration: underline;
  margin-left: 0.5rem;
}

/* ==========================================
   HEADER
   ========================================== */
.header-container {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 2rem;
}

.demo-active .header-container {
  top: 38px;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px);
  border-radius: 50px;
  padding: 0.6rem 1.5rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  border: 1px solid rgba(255,255,255,0.5);
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--text-dark);
}

.logo-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gradient-btn);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(245,87,108,0.3);
  animation: pulseGlow 3s ease-in-out infinite;
}

.logo-circle-sm {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gradient-btn);
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-text { font-weight: 900; letter-spacing: -0.5px; }

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

.header-nav { display: flex; align-items: center; gap: 0.3rem; }

.nav-link-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  color: var(--text-dark);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 50px;
  transition: background-color 0.3s, color 0.3s, transform 0.2s;
}

.nav-link-item:hover {
  color: var(--pink-primary);
  background: rgba(255,107,138,0.08);
  transform: translateY(-1px);
}

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

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

.btn-hizli-giris {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1.3rem;
  background: var(--gradient-btn);
  color: white;
  border: none;
  border-radius: 50px;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(245,87,108,0.3);
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-hizli-giris:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(245,87,108,0.4);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-dark);
  padding: 0.3rem;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 1rem 1.5rem;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  border-radius: 0 0 20px 20px;
  margin-top: -10px;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  color: var(--text-dark);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 10px;
}

.mobile-nav-link:hover {
  background: rgba(255,107,138,0.1);
  color: var(--pink-primary);
}

.mobile-cta { margin-top: 0.5rem; justify-content: center; }

/* ==========================================
   HERO SECTION - CREATIVE REDESIGN
   ========================================== */
.hero-section {
  position: relative;
  background: var(--gradient-hero);
  background-size: 300% 300%;
  animation: gradientShift 12s ease infinite;
  min-height: 100vh;
  padding-top: 100px;
  overflow: hidden;
}

.demo-active .hero-section {
  padding-top: 138px;
}

/* Page Hero (for other pages like category, search, contact) */
.page-hero {
  padding-top: 120px !important;
}

.demo-active .page-hero {
  padding-top: 158px !important;
}

.hero-bg-shapes {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-pattern {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 60%, rgba(255,255,255,0.08) 0%, transparent 40%),
    radial-gradient(circle at 50% 90%, rgba(255,255,255,0.06) 0%, transparent 30%);
}

/* Animated Blobs */
.hero-bg-shapes::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  background: rgba(255,255,255,0.06);
  animation: morphBlob 15s ease-in-out infinite;
  top: -100px;
  right: -100px;
}

.hero-bg-shapes::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: rgba(255,255,255,0.05);
  animation: morphBlob 12s ease-in-out infinite reverse;
  bottom: -50px;
  left: -80px;
}

.floating-bubble {
  position: absolute;
  color: rgba(255, 255, 255, 0.1);
  animation: float 8s ease-in-out infinite;
}

.bubble-1 { top: 15%; left: 8%; animation-delay: 0s; }
.bubble-2 { top: 60%; right: 12%; animation-delay: 2s; animation-name: floatReverse; }
.bubble-3 { bottom: 20%; left: 20%; animation-delay: 4s; }
.bubble-4 { top: 30%; right: 30%; animation-delay: 6s; animation-name: floatReverse; }

/* Glass layer strips */
.hero-glass-strip-1 {
  position: absolute;
  width: 200%;
  height: 120px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.05), transparent);
  transform: rotate(-5deg);
  top: 20%;
  left: -50%;
  animation: shimmer 8s linear infinite;
  background-size: 200% 100%;
}

.hero-glass-strip-2 {
  position: absolute;
  width: 200%;
  height: 80px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.04), transparent);
  transform: rotate(3deg);
  bottom: 30%;
  left: -50%;
  animation: shimmer 10s linear infinite;
  background-size: 200% 100%;
}

/* Floating particles */
.particle {
  position: absolute;
  width: 6px;
  height: 6px;
  background: rgba(255,255,255,0.3);
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
}

.particle-1 { top: 10%; left: 15%; animation-delay: 0s; width: 8px; height: 8px; }
.particle-2 { top: 40%; left: 5%; animation-delay: 1s; }
.particle-3 { top: 70%; right: 10%; animation-delay: 2s; width: 10px; height: 10px; }
.particle-4 { top: 25%; right: 20%; animation-delay: 3s; }
.particle-5 { bottom: 15%; left: 30%; animation-delay: 4s; width: 5px; height: 5px; }
.particle-6 { top: 55%; left: 45%; animation-delay: 5s; }
.particle-7 { bottom: 25%; right: 35%; animation-delay: 1.5s; width: 7px; height: 7px; }
.particle-8 { top: 80%; left: 60%; animation-delay: 2.5s; }

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 2rem 3rem;
  position: relative;
  z-index: 2;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

/* Chat Card - Glassmorphism */
.hero-left { display: flex; justify-content: center; }

.chat-card-wrapper {
  position: relative;
  max-width: 440px;
  width: 100%;
}

.chat-card-glow {
  position: absolute;
  top: -3px; left: -3px; right: -3px; bottom: -3px;
  border-radius: calc(var(--radius-xl) + 3px);
  background: conic-gradient(from 0deg, #ff6b8a, #c471ed, #6366f1, #00f2fe, #fbbf24, #ff6b8a);
  background-size: 200% 200%;
  animation: spin 6s linear infinite;
  opacity: 0.6;
  filter: blur(8px);
  z-index: 0;
}

.chat-card {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(30px);
  border-radius: var(--radius-xl);
  padding: 2rem 2.2rem;
  width: 100%;
  box-shadow: 0 25px 80px rgba(0,0,0,0.12), inset 0 1px 0 rgba(255,255,255,0.8);
  border: 1px solid rgba(255,255,255,0.5);
  text-align: center;
  animation: slideUp 0.8s ease-out;
  overflow: hidden;
}

/* Online indicator */
.online-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
  padding: 0.35rem 0.9rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #2e7d32;
  margin-bottom: 1rem;
}

.online-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #4caf50;
  animation: pulse 1.5s ease-in-out infinite;
  display: inline-block;
}

.online-dot-sm {
  width: 6px; height: 6px; border-radius: 50%;
  background: #4caf50;
  animation: pulse 1.5s ease-in-out infinite;
  display: inline-block;
}

/* Chat Tabs */
.chat-tabs {
  display: flex;
  background: var(--bg-light);
  border-radius: 14px;
  padding: 4px;
  margin-bottom: 1.2rem;
  gap: 4px;
}

.chat-tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.55rem 0.5rem;
  border: none;
  background: transparent;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 700;
  font-family: 'Nunito', sans-serif;
  cursor: pointer;
  color: var(--text-muted);
  transition: background 0.3s, color 0.3s, box-shadow 0.3s;
}

.chat-tab.active {
  background: white;
  color: var(--pink-primary);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.chat-tab:hover:not(.active) {
  color: var(--text-dark);
}

/* Features Tab */
.features-tab-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 0.5rem 0;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-align: left;
  padding: 0.8rem;
  border-radius: 14px;
  background: var(--bg-light);
  transition: transform 0.2s, box-shadow 0.2s;
}

.feature-item:hover {
  transform: translateX(4px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.feature-icon-wrap {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--gradient-btn);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-item h4 {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 0.1rem;
}

.feature-item p {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
}

.chat-card-title {
  font-size: 1.8rem;
  font-weight: 900;
  background: var(--gradient-btn);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.3rem;
}

.chat-card-subtitle {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.chat-form { display: flex; flex-direction: column; gap: 0.8rem; }

.input-wrapper {
  display: flex;
  align-items: center;
  background: var(--bg-light);
  border-radius: var(--radius-md);
  border: 2px solid #f0f0f5;
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.input-wrapper:focus-within {
  border-color: var(--pink-primary);
  box-shadow: 0 0 0 4px rgba(255,107,138,0.1);
}

.input-icon-box { padding: 0 0.8rem; display: flex; align-items: center; justify-content: center; }

.input-icon-svg { color: var(--pink-primary); }

.chat-input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 0.9rem 0.8rem 0.9rem 0;
  font-size: 0.95rem;
  font-family: 'Nunito', sans-serif;
  color: var(--text-dark);
  outline: none;
  width: 100%;
}

.chat-input::placeholder { color: #b0b8c8; }

.btn-connect {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.9rem;
  background: var(--gradient-btn);
  background-size: 200% 200%;
  color: var(--white);
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 700;
  font-family: 'Nunito', sans-serif;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 6px 25px rgba(245,87,108,0.35);
  margin-top: 0.5rem;
  animation: gradientShift 4s ease infinite;
}

.btn-connect:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 35px rgba(245,87,108,0.45);
}

.btn-alt-version {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.9rem;
  background: var(--gradient-dark);
  color: var(--white);
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 15px rgba(26,26,46,0.2);
}

.btn-alt-version:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(26,26,46,0.3);
}

.store-section {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #f0f0f5;
}

.store-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 0.8rem;
}

.store-badges { display: flex; gap: 0.6rem; justify-content: center; }

.store-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  background: var(--white);
  border: 2px solid var(--pink-primary);
  color: var(--pink-primary);
}

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

.store-text { display: flex; flex-direction: column; text-align: left; line-height: 1.1; }
.store-small { font-size: 0.6rem; text-transform: uppercase; font-weight: 600; letter-spacing: 0.5px; }
.store-large { font-size: 0.85rem; font-weight: 800; }

/* Hero Right */
.hero-right {
  color: var(--white);
  text-align: left;
  position: relative;
  animation: slideUp 1s ease-out 0.2s both;
}

.hero-badge-wrapper { margin-bottom: 1.5rem; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  color: white;
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  border: 1px solid rgba(255,255,255,0.25);
}

.fire-icon { color: var(--gold); }

.hero-heading {
  font-size: 3.4rem;
  font-weight: 900;
  line-height: 1.12;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.15);
}

.hero-dot {
  display: inline-block;
  width: 14px;
  height: 14px;
  background: var(--gold);
  border-radius: 50%;
  margin-left: 4px;
  vertical-align: baseline;
  animation: pulse 2s ease-in-out infinite;
}

.hero-description {
  font-size: 1.1rem;
  opacity: 0.85;
  max-width: 500px;
  margin-bottom: 1rem;
  line-height: 1.7;
}

.float-badge-right {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  color: white;
  padding: 0.6rem 1.2rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  border: 1px solid rgba(255,255,255,0.2);
  position: absolute;
  right: -20px;
  top: 50%;
  animation: float 5s ease-in-out infinite;
}

.hero-avatars {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.avatar-container {
  position: relative;
  display: inline-block;
  animation: slideUp 0.8s ease-out both;
}

.avatar-container:nth-child(1) { animation-delay: 0.5s; }
.avatar-container:nth-child(2) { animation-delay: 0.7s; }
.avatar-container:nth-child(3) { animation-delay: 0.9s; }

.avatar-img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid rgba(255,255,255,0.4);
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
  transition: transform 0.3s, border-color 0.3s;
}

.avatar-img:hover {
  transform: scale(1.1);
  border-color: rgba(255,255,255,0.8);
}

.chat-bubble-mini {
  position: absolute;
  background: linear-gradient(135deg, #4caf50, #66bb6a);
  color: var(--white);
  padding: 0.3rem 0.7rem;
  border-radius: 14px;
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(76,175,80,0.3);
  animation: float 3s ease-in-out infinite;
}

.chat-bubble-mini::after {
  content: '';
  display: inline-block;
  width: 3px;
  height: 3px;
  background: white;
  border-radius: 50%;
  margin-left: 4px;
  animation: typing 1s ease-in-out infinite;
}

.bubble-top { top: -12px; left: 50%; transform: translateX(-50%); }
.bubble-bottom { bottom: -12px; left: 50%; transform: translateX(-50%); }

.float-badge-bottom {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  color: white;
  padding: 0.6rem 1.2rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  border: 1px solid rgba(255,255,255,0.2);
  margin-top: 2rem;
  animation: floatReverse 4s ease-in-out infinite;
}

.scroll-down-wrapper { text-align: center; margin-top: 2rem; }

.scroll-down-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  animation: bounce 2s infinite;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.scroll-down-btn:hover { opacity: 1; }

/* ==========================================
   BLOG SECTION
   ========================================== */
.blog-section {
  background: var(--bg-light);
  padding: 5rem 0;
  position: relative;
}

.blog-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 150px;
  background: linear-gradient(to bottom, rgba(99,102,241,0.05), transparent);
}

.blog-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
}

.section-header { text-align: center; margin-bottom: 3rem; }

.section-tag {
  display: inline-block;
  background: var(--gradient-btn);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--text-dark);
}

.blog-layout { display: grid; grid-template-columns: 1fr 350px; gap: 2rem; }
.blog-main { min-width: 0; }
.blog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.full-width-grid { grid-template-columns: repeat(3, 1fr); }

.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s, box-shadow 0.4s;
  border: 1px solid rgba(0,0,0,0.04);
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.blog-img-wrapper { position: relative; overflow: hidden; }

.blog-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.5s;
}

.blog-card:hover .blog-card-image { transform: scale(1.08); }

.blog-date-badge {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  color: var(--text-dark);
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.blog-card-content { padding: 1.2rem; }

.blog-category-tag {
  display: inline-block;
  background: var(--gradient-btn);
  color: white;
  padding: 0.2rem 0.7rem;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 700;
  text-decoration: none;
  margin-bottom: 0.6rem;
  transition: opacity 0.2s;
}

.blog-category-tag:hover { opacity: 0.85; }

.blog-card-title {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.blog-card-title a {
  color: var(--text-dark);
  text-decoration: none;
  transition: color 0.2s;
}

.blog-card-title a:hover { color: var(--pink-primary); }

.blog-card-excerpt {
  color: var(--text-gray);
  font-size: 0.85rem;
  margin-bottom: 1rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.8rem;
  border-top: 1px solid #f0f0f5;
}

.blog-author {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-gray);
}

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

.read-more-link {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  background: var(--gradient-btn);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 700;
  transition: gap 0.2s;
}

.read-more-link:hover { gap: 0.6rem; }
.read-more-link svg { color: var(--pink-primary); }

/* Pagination */
.pagination { display: flex; align-items: center; gap: 0.5rem; margin-top: 2rem; justify-content: center; }

.page-btn {
  display: flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%;
  border: 2px solid #e8e8ee; background: var(--white);
  color: var(--text-dark); font-size: 0.9rem; font-weight: 700;
  cursor: pointer; font-family: 'Nunito', sans-serif;
  transition: border-color 0.2s, background 0.2s, color 0.2s, transform 0.2s;
}

.page-btn:hover {
  border-color: var(--pink-primary);
  color: var(--pink-primary);
  transform: translateY(-2px);
}

.page-btn-active {
  background: var(--gradient-btn);
  border-color: transparent;
  color: var(--white);
}

.page-btn-active:hover { color: var(--white); }

/* ==========================================
   SIDEBAR
   ========================================== */
.blog-sidebar { display: flex; flex-direction: column; gap: 1.5rem; }

.sidebar-widget {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.04);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.sidebar-widget:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

/* Sidebar widget layers */
.sidebar-widget-search::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, #ff6b8a, #c471ed);
}

.sidebar-widget-categories::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, #c471ed, #6366f1);
}

.sidebar-widget-popular::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, #6366f1, #00f2fe);
}

/* Sidebar widget decorative layer */
.sidebar-widget::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 80px; height: 80px;
  background: linear-gradient(135deg, rgba(255,107,138,0.04), rgba(196,113,237,0.04));
  border-radius: 0 0 0 80px;
  pointer-events: none;
}

.widget-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid #f0f0f5;
  position: relative;
}

.widget-header-icon {
  color: var(--pink-primary);
}

.widget-title {
  font-size: 1.05rem; font-weight: 800; color: var(--text-dark);
  margin: 0; padding: 0; border: none; display: inline;
}

/* Category name with icon */
.cat-name {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.cat-name svg {
  color: var(--text-muted);
  flex-shrink: 0;
}

/* Popular post rank number */
.popular-post-rank {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--gradient-btn);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  flex-shrink: 0;
}

.search-form { width: 100%; }

.search-input-wrapper {
  display: flex; align-items: center;
  background: var(--bg-light); border-radius: var(--radius-md);
  border: 2px solid #f0f0f5; overflow: hidden;
  transition: border-color 0.2s;
}

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

.search-input {
  flex: 1; border: none; background: transparent;
  padding: 0.8rem 1rem; font-size: 0.9rem;
  font-family: 'Nunito', sans-serif; outline: none;
}

.search-input::placeholder { color: #b0b8c8; }

.search-btn {
  padding: 0.8rem 1rem; background: none; border: none;
  color: var(--pink-primary); cursor: pointer;
  transition: color 0.2s;
}

.search-btn:hover { color: var(--purple-primary); }

.category-list { list-style: none; display: flex; flex-direction: column; gap: 0.3rem; }

.category-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.6rem 0.8rem; text-decoration: none;
  color: var(--text-dark); font-size: 0.9rem; font-weight: 600;
  border-radius: var(--radius-sm);
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

.category-link:hover {
  background: rgba(255,107,138,0.06);
  color: var(--pink-primary);
  transform: translateX(4px);
}

.cat-count {
  background: var(--gradient-btn);
  color: white;
  padding: 0.15rem 0.6rem;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
}

.popular-posts-list { list-style: none; display: flex; flex-direction: column; gap: 0.8rem; }

.popular-post-item {
  display: flex; align-items: center; gap: 0.8rem;
  transition: transform 0.2s;
}

.popular-post-item:hover { transform: translateX(4px); }

.popular-post-img {
  width: 65px; height: 65px; border-radius: var(--radius-sm);
  object-fit: cover; flex-shrink: 0;
}

.popular-post-info h5 { font-size: 0.85rem; font-weight: 700; margin-bottom: 0.2rem; line-height: 1.3; }
.popular-post-info h5 a { color: var(--text-dark); text-decoration: none; transition: color 0.2s; }
.popular-post-info h5 a:hover { color: var(--pink-primary); }
.popular-post-date { font-size: 0.75rem; color: var(--text-muted); font-weight: 600; }

/* ==========================================
   CONTENT SECTION
   ========================================== */
.content-section { padding: 3rem 0; background: var(--white); }

.content-container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }

.content-box {
  background: linear-gradient(135deg, rgba(255,107,138,0.03) 0%, rgba(196,113,237,0.03) 50%, rgba(99,102,241,0.03) 100%);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  border: 1px solid rgba(99,102,241,0.08);
}

.content-box-title {
  font-size: 1.3rem; font-weight: 800; color: var(--text-dark);
  margin-bottom: 1.2rem; padding-bottom: 0.6rem;
  border-bottom: 3px solid;
  border-image: var(--gradient-btn) 1;
  display: inline-block;
}

.content-body { color: var(--text-gray); line-height: 1.8; font-size: 0.95rem; }
.content-body p { margin-bottom: 1rem; }
.content-body strong { color: var(--text-dark); }

/* ==========================================
   SINGLE POST
   ========================================== */
.breadcrumb {
  display: flex; align-items: center; flex-wrap: wrap;
  gap: 0.3rem; margin-bottom: 1.5rem; font-size: 0.85rem;
}

.breadcrumb a { color: var(--pink-primary); text-decoration: none; font-weight: 600; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb-sep { color: #ccc; margin: 0 0.2rem; }
.breadcrumb-current { color: var(--text-muted); font-weight: 600; }

.single-post {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.single-post-image-wrapper { position: relative; }
.single-post-image { width: 100%; height: 400px; object-fit: cover; }
.single-post-content { padding: 2rem; }

.single-post-meta {
  display: flex; align-items: center; gap: 1.2rem;
  margin-bottom: 1rem; flex-wrap: wrap;
}

.meta-item {
  display: flex; align-items: center; gap: 0.3rem;
  color: var(--text-muted); font-size: 0.85rem; font-weight: 600;
}

.meta-item a { color: var(--pink-primary); text-decoration: none; }
.meta-item a:hover { text-decoration: underline; }

.single-post-title {
  font-size: 2rem; font-weight: 900; color: var(--text-dark);
  margin-bottom: 1.5rem; line-height: 1.3;
}

.single-post-body { color: var(--text-gray); line-height: 1.8; font-size: 1rem; }
.single-post-body p { margin-bottom: 1.2rem; }
.single-post-body strong { color: var(--text-dark); }

/* ==========================================
   FOOTER - CREATIVE REDESIGN
   ========================================== */
.site-footer {
  background: var(--gradient-dark);
  color: rgba(255,255,255,0.7);
  padding: 0;
  margin-top: auto;
  position: relative;
  overflow: hidden;
}

.footer-wave {
  position: relative;
  height: 80px;
  overflow: hidden;
}

.footer-wave svg {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 80px;
}

.footer-top-section {
  padding: 3rem 0;
  position: relative;
  background: linear-gradient(180deg, rgba(255,107,138,0.08) 0%, transparent 100%);
}

.footer-top-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-logo-section {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.footer-logo-big {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
}

.footer-logo-circle {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: var(--gradient-btn);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(245,87,108,0.3);
  animation: pulseGlow 3s ease-in-out infinite;
}

.footer-logo-text-big {
  font-size: 1.8rem;
  font-weight: 900;
  color: white;
}

.footer-logo-text-big span {
  background: var(--gradient-btn);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 2rem;
  background: var(--gradient-btn);
  color: white;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 6px 20px rgba(245,87,108,0.35);
  transition: transform 0.2s, box-shadow 0.2s;
}

.footer-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(245,87,108,0.45);
}

.footer-main {
  padding: 3rem 0;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}

.footer-logo {
  display: flex; align-items: center; gap: 0.5rem;
  text-decoration: none; font-size: 1.2rem; font-weight: 900;
  margin-bottom: 1rem;
}

.footer-logo-text { color: var(--white); font-weight: 900; }

.footer-brand-desc { font-size: 0.9rem; line-height: 1.7; margin-bottom: 1.5rem; color: rgba(255,255,255,0.5); }

.footer-social { display: flex; gap: 0.6rem; }

.social-link {
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  color: var(--white); text-decoration: none;
  transition: background 0.3s, transform 0.2s, box-shadow 0.2s;
  border: 1px solid rgba(255,255,255,0.1);
}

.social-link:hover {
  background: var(--gradient-btn);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(245,87,108,0.3);
  border-color: transparent;
}

.footer-col-title {
  color: var(--white); font-size: 1rem; font-weight: 700;
  margin-bottom: 1.2rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 3px;
  background: var(--gradient-btn);
  border-radius: 2px;
}

.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }

.footer-links a {
  color: rgba(255,255,255,0.5); text-decoration: none;
  font-size: 0.9rem; font-weight: 500;
  transition: color 0.2s, transform 0.2s;
  display: inline-block;
}

.footer-links a:hover { color: var(--pink-primary); transform: translateX(4px); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
}

.footer-bottom-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  font-size: 0.82rem;
  transition: color 0.2s;
}

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

/* ==========================================
   BACK TO TOP
   ========================================== */
.back-to-top {
  position: fixed; bottom: 2rem; right: 2rem;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--gradient-btn); color: var(--white);
  border: none; display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(245,87,108,0.35);
  z-index: 999;
  transition: transform 0.2s, box-shadow 0.2s;
}

.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(245,87,108,0.45);
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero-right { text-align: center; order: -1; }
  .hero-heading { font-size: 2.5rem; }
  .hero-description { margin: 0 auto 1rem; }
  .hero-avatars { justify-content: center; }
  .float-badge-right { position: static; margin-top: 1.5rem; }
  .blog-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-top-inner { justify-content: center; text-align: center; }
  .stat-cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .header-nav, .header-actions { display: none; }
  .mobile-menu-btn { display: block; }
  .mobile-menu { display: flex; }
  .header-inner { padding: 0.5rem 1rem; }
  .hero-section { padding-top: 80px; }
  .hero-heading { font-size: 2rem; }
  .chat-card { padding: 1.5rem; max-width: 100%; }
  .blog-grid { grid-template-columns: 1fr; }
  .full-width-grid { grid-template-columns: 1fr; }
  .store-badges { flex-direction: column; align-items: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .single-post-image { height: 250px; }
  .single-post-title { font-size: 1.5rem; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .footer-logo-text-big { font-size: 1.3rem; }
  .footer-logo-circle { width: 45px; height: 45px; }
}

@media (max-width: 480px) {
  .hero-container { padding: 1rem; }
  .hero-heading { font-size: 1.7rem; }
  .avatar-img { width: 70px; height: 70px; }
  .section-title { font-size: 1.6rem; }
  .blog-container { padding: 0 1rem; }
}
