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

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

/* ==== COLOR VARIABLES ==== */
:root {
  --primary-color: #0f0f23;
  --secondary-color: #1a1a2e;
  --accent-color: #6c5ce7;
  --accent-gradient: linear-gradient(135deg, #6c5ce7, #a29bfe);
  --text-primary: #ffffff;
  --text-secondary: #b2b2b2;
  --text-muted: #8e8e93;
  --button-primary: linear-gradient(135deg, #6c5ce7, #a29bfe);
  --button-hover: linear-gradient(135deg, #5f51d3, #9088fc);
  --card-bg: rgba(255, 255, 255, 0.05);
  --glass-bg: rgba(255, 255, 255, 0.1);
  --border-color: rgba(255, 255, 255, 0.1);
  --glow-color: rgba(108, 92, 231, 0.3);
  --success-color: #00d2ff;
  --warning-color: #ff6b35;
}

/* ==== SMOOTH SCROLLING & ANIMATIONS ==== */
html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: var(--text-primary);
  font-family: 'Inter', 'Poppins', sans-serif;
  overflow-x: hidden;
  min-height: 100vh;
}

/* ==== ANIMATED PARTICLES BACKGROUND ==== */
.particles-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.particle {
  position: absolute;
  background: linear-gradient(135deg, var(--accent-color), transparent);
  border-radius: 50%;
  opacity: 0.6;
  animation: float 6s ease-in-out infinite;
}

.particle:nth-child(1) {
  width: 8px;
  height: 8px;
  left: 10%;
  top: 20%;
  animation-delay: 0s;
}

.particle:nth-child(2) {
  width: 12px;
  height: 12px;
  left: 80%;
  top: 30%;
  animation-delay: 1s;
}

.particle:nth-child(3) {
  width: 6px;
  height: 6px;
  left: 60%;
  top: 60%;
  animation-delay: 2s;
}

.particle:nth-child(4) {
  width: 10px;
  height: 10px;
  left: 20%;
  top: 80%;
  animation-delay: 3s;
}

.particle:nth-child(5) {
  width: 14px;
  height: 14px;
  left: 90%;
  top: 70%;
  animation-delay: 4s;
}

.particle:nth-child(6) {
  width: 8px;
  height: 8px;
  left: 30%;
  top: 10%;
  animation-delay: 1.5s;
}

.particle:nth-child(7) {
  width: 12px;
  height: 12px;
  left: 70%;
  top: 40%;
  animation-delay: 2.5s;
}

.particle:nth-child(8) {
  width: 6px;
  height: 6px;
  left: 50%;
  top: 90%;
  animation-delay: 3.5s;
}

.particle:nth-child(9) {
  width: 10px;
  height: 10px;
  left: 40%;
  top: 50%;
  animation-delay: 0.5s;
}

.particle:nth-child(10) {
  width: 8px;
  height: 8px;
  left: 85%;
  top: 15%;
  animation-delay: 4.5s;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
    opacity: 0.6;
  }
  50% {
    transform: translateY(-20px) rotate(180deg);
    opacity: 1;
  }
}

/* ==== MODERN HEADER ==== */
.modern-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(15, 15, 35, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  padding: 15px 0;
  transition: all 0.3s ease;
}

.modern-header .header-content {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 40px;
}

.animated-logo {
  transition: transform 0.3s ease;
}

.animated-logo:hover {
  transform: scale(1.05);
}

.animated-logo img {
  height: 50px;
  width: auto;
}

.nav-button {
  color: var(--text-secondary);
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 25px;
  transition: all 0.3s ease;
  position: relative;
  font-weight: 500;
}

.nav-button:hover {
  color: var(--text-primary);
  text-decoration: none;
  transform: translateY(-2px);
}

.nav-button.active {
  color: var(--text-primary);
  background: var(--accent-gradient);
  box-shadow: 0 4px 15px rgba(108, 92, 231, 0.4);
  transform: translateY(-1px);
  position: relative;
}

.nav-button.active::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(135deg, #a29bfe, #6c5ce7, #00cec9);
  border-radius: 27px;
  z-index: -1;
  opacity: 0.6;
  filter: blur(4px);
  animation: activeGlow 2s ease-in-out infinite alternate;
}

.modern-login-button {
  background: var(--button-primary);
  color: var(--text-primary);
  padding: 12px 30px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px var(--glow-color);
  position: relative;
}

.modern-login-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--glow-color);
  text-decoration: none;
  background: var(--button-hover);
}

/* ==== CONTAINER & SECTIONS ==== */
.container {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  z-index: 2;
}

/* ==== HERO SECTION ==== */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  position: relative;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  width: 100%;
}

.hero-text {
  animation: slideUp 1s ease-out;
}

.gradient-text {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent-color) 50%, var(--success-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 20px;
  line-height: 1.2;
}

.highlight {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
  from {
    filter: drop-shadow(0 0 5px var(--accent-color));
  }
  to {
    filter: drop-shadow(0 0 20px var(--accent-color));
  }
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 40px;
  font-weight: 400;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.modern-cta-button {
  background: var(--button-primary);
  border: none;
  padding: 16px 40px;
  border-radius: 50px;
  color: var(--text-primary);
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 8px 30px var(--glow-color);
}

.modern-cta-button span {
  position: relative;
  z-index: 2;
}

.button-glow {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.6s ease;
}

.modern-cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px var(--glow-color);
}

.modern-cta-button:hover .button-glow {
  left: 100%;
}

.secondary-button {
  background: transparent;
  border: 2px solid var(--border-color);
  padding: 14px 35px;
  border-radius: 50px;
  color: var(--text-secondary);
  font-size: 1.1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.secondary-button:hover {
  border-color: var(--accent-color);
  color: var(--text-primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(108, 92, 231, 0.2);
}

/* ==== HERO IMAGE ==== */
.hero-image {
  position: relative;
  animation: slideIn 1s ease-out 0.3s both;
}

.image-container-modern {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.floating-image {
  width: 100%;
  height: auto;
  border-radius: 20px;
  animation: float 6s ease-in-out infinite;
}

.image-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, var(--glow-color) 0%, transparent 70%);
  animation: rotate 10s linear infinite;
  z-index: -1;
}

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

/* ==== STATS SECTION ==== */
.stats-section {
  padding: 80px 0;
  margin: 80px 0;
}

.stats-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  text-align: center;
}

.stat-item {
  background: var(--glass-bg);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 40px 20px;
  backdrop-filter: blur(20px);
  transition: all 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(108, 92, 231, 0.2);
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 10px;
}

.stat-label {
  color: var(--text-secondary);
  font-size: 1.1rem;
  font-weight: 500;
}

/* ==== BENEFITS SECTION ==== */
.benefits-section {
  padding: 120px 0;
  background: linear-gradient(135deg, rgba(108, 92, 231, 0.05) 0%, rgba(162, 155, 254, 0.05) 100%);
  border-radius: 30px;
  margin: 80px 0;
}

.benefits-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.floating-robot {
  width: 100%;
  height: auto;
  animation: float 8s ease-in-out infinite;
  filter: drop-shadow(0 20px 40px rgba(108, 92, 231, 0.3));
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 40px;
  color: var(--text-primary);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.benefit-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 30px;
  backdrop-filter: blur(20px);
  transition: all 0.3s ease;
  cursor: pointer;
}

.benefit-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 20px 40px rgba(108, 92, 231, 0.2);
  border-color: var(--accent-color);
}

.benefit-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
  display: block;
}

.benefit-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--text-primary);
}

.benefit-card p {
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 1rem;
}

/* ==== GALLERY SECTION ==== */
.gallery-section {
  padding: 120px 0;
}

.gallery-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

.gallery-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.gallery-slider {
  overflow: hidden;
  border-radius: 20px;
  position: relative;
  mask: linear-gradient(90deg, transparent, black 20px, black calc(100% - 20px), transparent);
  -webkit-mask: linear-gradient(90deg, transparent, black 20px, black calc(100% - 20px), transparent);
  width: 100%;
}

.gallery-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: infiniteScroll 20s linear infinite;
  animation-fill-mode: both;
  animation-delay: 0s;
}

.gallery-track:hover {
  animation-play-state: paused;
}

/* Ensure gallery starts animating immediately */
.gallery-section .gallery-track {
  animation-play-state: running;
}

.gallery-item {
  min-width: 200px;
  width: 200px;
  height: 260px;
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
}

.gallery-item:hover {
  transform: scale(1.05);
  box-shadow: 0 20px 40px rgba(108, 92, 231, 0.3);
}

.gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: all 0.3s ease;
  display: block;
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  padding: 15px;
  transform: translateY(100%);
  transition: all 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  transform: translateY(0);
}

.gallery-info h4 {
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 5px;
}

.gallery-info p {
  color: var(--text-secondary);
  font-size: 0.8rem;
}

@keyframes infiniteScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-990px);
  }
}

/* ==== FEATURE SECTIONS ==== */
.feature-section {
  padding: 120px 0;
  margin: 10px 0;
}

.feature-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.feature-content.reverse {
  grid-template-columns: 1fr 1fr;
}

.feature-content.reverse .feature-text {
  order: 2;
}

.feature-content.reverse .feature-image {
  order: 1;
}

.feature-title {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 30px;
  color: var(--text-primary);
}

.feature-description {
  font-size: 1.2rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 30px;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 40px;
}

.feature-item {
  color: var(--text-secondary);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.feature-item::before {
  content: '✓';
  color: var(--success-color);
  font-weight: bold;
  font-size: 1.2rem;
}

.modern-feature-img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.modern-feature-img:hover {
  transform: scale(1.05);
  box-shadow: 0 30px 80px rgba(108, 92, 231, 0.2);
}

/* ==== FLOATING ELEMENTS ==== */
.floating-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.bubble {
  position: absolute;
  background: linear-gradient(135deg, rgba(108, 92, 231, 0.1), rgba(162, 155, 254, 0.1));
  border-radius: 50%;
  animation: bubbleFloat 8s ease-in-out infinite;
}

.bubble:nth-child(1) {
  width: 60px;
  height: 60px;
  left: 10%;
  top: 20%;
  animation-delay: 0s;
}

.bubble:nth-child(2) {
  width: 80px;
  height: 80px;
  left: 85%;
  top: 60%;
  animation-delay: 2s;
}

.bubble:nth-child(3) {
  width: 40px;
  height: 40px;
  left: 60%;
  top: 80%;
  animation-delay: 4s;
}

.bubble:nth-child(4) {
  width: 100px;
  height: 100px;
  left: 20%;
  top: 70%;
  animation-delay: 6s;
}

.bubble:nth-child(5) {
  width: 50px;
  height: 50px;
  left: 70%;
  top: 30%;
  animation-delay: 1s;
}

@keyframes bubbleFloat {
  0%, 100% {
    transform: translateY(0px) scale(1);
    opacity: 0.3;
  }
  50% {
    transform: translateY(-30px) scale(1.1);
    opacity: 0.6;
  }
}

/* ==== COMPARISON SECTION ==== */
.comparison-section {
  padding: 120px 0;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 30px;
  margin: 80px 0;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.comparison-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  text-align: center;
}

.comparison-header {
  text-align: center;
  margin-bottom: 60px;
}

.comparison-section .section-title {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* ==== ENHANCED COMPARISON SECTION STYLES ==== */

/* Stats Row */
.retouch-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin: 50px 0;
  padding: 0 20px;
}

.retouch-stat-item {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 15px;
  padding: 30px 20px;
  text-align: center;
  backdrop-filter: blur(20px);
  transition: all 0.3s ease;
  cursor: pointer;
}

.retouch-stat-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(108, 92, 231, 0.2);
  border-color: var(--accent-color);
}

.retouch-stat-item .stat-icon {
  font-size: 2rem;
  margin-bottom: 15px;
  display: block;
}

.retouch-stat-item .stat-value {
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.retouch-stat-item .stat-label {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
}

/* Main Content Layout */
.comparison-main-content {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 40px;
  align-items: start;
  margin-top: 60px;
}

/* Left Side - Feature Cards */
.retouch-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.retouch-feature-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 20px;
  backdrop-filter: blur(20px);
  transition: all 0.3s ease;
  cursor: pointer;
}

.retouch-feature-card:hover {
  transform: translateX(5px);
  border-color: var(--accent-color);
  box-shadow: 0 10px 25px rgba(108, 92, 231, 0.15);
}

.feature-card-icon {
  font-size: 1.8rem;
  margin-bottom: 12px;
  display: block;
}

.retouch-feature-card h3 {
  color: var(--text-primary);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.retouch-feature-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
}

/* Center - Enhanced Comparison */
.comparison-center {
  position: relative;
}

.comparison-container {
  position: relative;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 25px;
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.comparison-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-gradient);
  color: white;
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  z-index: 10;
  box-shadow: 0 5px 15px rgba(108, 92, 231, 0.4);
}

.comparison-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 15px;
  padding: 0 10px;
}

.before-label,
.after-label {
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 5px 12px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

/* Right Side - Benefits */
.retouch-benefits h3 {
  color: var(--text-primary);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 25px;
  text-align: center;
}

.benefit-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 30px;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 15px;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  backdrop-filter: blur(20px);
  transition: all 0.3s ease;
}

.benefit-item:hover {
  transform: translateX(5px);
  border-color: var(--accent-color);
}

.benefit-icon {
  color: var(--success-color);
  font-weight: bold;
  font-size: 1rem;
}

.benefit-item span {
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
}

.retouch-cta-button {
  width: 100%;
  background: var(--button-primary);
  border: none;
  padding: 15px 30px;
  border-radius: 12px;
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px var(--glow-color);
}

.retouch-cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px var(--glow-color);
}

.retouch-cta-button span {
  position: relative;
  z-index: 2;
}

/* Mobile Responsive */
@media (max-width: 1200px) {
  .comparison-main-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .comparison-center {
    order: -1;
  }
  
  .retouch-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .retouch-stats {
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 30px 0;
  }
  
  .retouch-stat-item {
    padding: 25px 15px;
  }
  
  .retouch-stat-item .stat-value {
    font-size: 2rem;
  }
  
  .comparison-container {
    padding: 20px;
  }
  
  .comparison-main-content {
    gap: 30px;
  }
  
  .retouch-feature-card,
  .benefit-item {
    padding: 15px;
  }
}

/* ==== ANIMATION CLASSES ==== */
.animate-slide-up {
  animation: slideUp 1s ease-out;
}

.animate-slide-in {
  animation: slideIn 1s ease-out 0.3s both;
}

.animate-counter {
  animation: fadeIn 1s ease-out;
}

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

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* ==== MAIN PAGE ==== */

body {
  margin: 0;
  padding: 0;
  background-color: var(--primary-color);
  color: var(--text-color);
  /* font-size: 16px; */
}

.container {
  position: relative;
  max-width: auto;
  /*max width 1100px?*/
  margin: 80px auto;
  margin-bottom: 50px;
  /* max-width: 1200px; */
  /* padding: 10px 20px; */
}

/* ==== MAIN TITLE ==== */
.form-container {
  /* border-bottom: 1px solid #494949; */
  display: block;
}
.form-insider {
  z-index: 3;
  position: relative;
  padding: 10px 40px;
  padding-bottom: 120px;
  max-width: 1400px;
  margin: 0px auto; 
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 40px; /* Added space between elements */
  text-align: ce;
}

.form-content {
  width: 50%;

  padding-left: 40px;
}

.form-content2 {
  width: 50%;
}

.form-image {
  width: 50vw; 
  max-width: 80%;
  height: auto;
  display: block;
}

.form-container h1 {
  text-align: center;
  margin: 0 auto;
}

.form-container p{
  padding-bottom: 20px;
  padding-left: 10px;
}


h1 {
  font-size: 50px;
  max-width: 900px;
  padding-bottom: 20px;
  color: var(--text-color);
}

h2 {
  font-size: 25px;
  padding-bottom: 20px;
  max-width: 700px;
  color: var(--text-color);
}

/* .form-container h2 {
  color: #4f4f4f;
} */

p {
  font-size: 18px;
  color: var(--text-color);
  /* max-width: 700px; */
}

/* ==== BENEFITS ==== */

.container-benefits {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  padding: 20px;
}

.images {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 20px;
  width: 50%;
  
}

.images img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}

.content {
  max-width: 600px;
  padding: 20px;
}

.benefits p {
  font-size: 1.2em;
  line-height: 1.6em;
  color: var(--text-color);
}

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

.benefit h2 {
  font-size: 1.5em;
  margin-bottom: 5px;
  color: var(--text-color);
}

.benefit p {
  font-size: 1.1em;
}

/* ===== END BENEFITS ==== */

/* ====== IDEAS ====== */

.ideas-container {
  z-index: 3;
  position: relative;
  display: flex;
  justify-content: center;
  /* background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 88%, rgba(0, 0, 0, 0)); */
}

.ideas-insider {
  padding: 70px 40px;
  margin: 0px auto; 
  max-width: 1400px;
  /* margin-top: 200px; */
}

.ideas-text {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 40px;
}

.ideas-text h2 {
  font-size: 30px;
  max-width: 800px;
  text-align: center;
}

.ideas-text p {
  font-size: 18px;
  max-width: 800px;
  text-align: center;
}

.rectangles-row::-webkit-scrollbar {
  display: none;
}

.rectangle {
  display: inline-block;
  max-width: 320px;
  height: auto;
  margin: 10px;
  border: 1px solid #494949;
  border-radius: 10px;
  vertical-align: top; /* Added for top alignment */
  /* padding-bottom: 50px; */
  background-color: #1c1c1c;
}

.rectangle img {
  width: 100%;
  height: auto;
  display: block; /* Ensure the image occupies the full width of the container */
  border-radius: 10px;
}

.rectangle p {
  padding: 20px;
  margin-top: 20px; /* Adjusted top margin for the text */
  text-align: center; /* Center align the text */
  max-width: 250px;
  word-wrap: break-word; /* Ensure long words break to fit within the box */
  white-space: normal; /* Allow text to wrap to the next line */
}

.scroll-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  z-index: 1;
}

.scroll-button.left {
  left: 0;
}

.scroll-button.right {
  right: 0;
}

.ideas-container button {
  padding: 15px 35px;
  margin: 0px 0px;
  margin-top: 35px;
  font-size: 18px;
}

/* #rectangles-row div.scrollableArea *
{
    position: relative;
    display: block;
    float: left;
    margin: 0;
    padding: 0; */
    /* If you don't want the images in the scroller to be selectable, try the following
        block of code. It's just a nice feature that prevent the images from
        accidentally becoming selected/inverted when the user interacts with the scroller. */
    /* -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -o-user-select: none;
    user-select: none;
} */

/* ====== COMICS ====== */

.comics-container {
  z-index: 3;
  position: relative;
}

.comics-insider {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 70px 40px;
  margin: 0px auto; 
  max-width: 1400px;
}

.comics-container p {
  text-align: justify;
}

.comics-container img {
  width: 40%;
  height: auto;
  float: left;
  padding: 30px;
  padding-right:0px;
  position: relative;
  object-fit: contain; /* Added to maintain aspect ratio */
  
}
.comics-text {
  flex: 1;
  padding-right: 70px;
}


/* ====== GAMES ====== */

.games-container {
  z-index: 3;
  position: relative;
}

.games-insider {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 70px 40px;
  margin: 0px auto; 
  max-width: 1400px;
}

.games-text {
  flex: 1;
  padding-left: 70px;
}

.games-container p {
  text-align: justify;
}

.games-container img {
  width: 40%;
  height: auto;
  float: left;
  padding: 30px;
  padding-left:0px;
  position: relative;
  object-fit: contain; /* Added to maintain aspect ratio */
}

.games-container button {
  margin: 0px 0px;
  margin-top: 35px;
}


/* ====== COMPARISION ===== */
.image-comparison {
  max-width: 1400px;
  margin: 20px auto;
  /* border-radius: 20px; */
  overflow: hidden;
  text-align: center;
  display: flex;
  flex-direction: row;
  align-items: center;
  text-align: justify;
  padding: 40px;
}

.image-comparison-text {
  max-width: 800px;
  margin: 0px auto;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;

  padding-right: 100px;
}

.resto-comporision {
  margin: 0px auto; 
  max-width: 1400px;
  padding: 40px;
  
}
.resto-comporision h1 {
  text-align: justify;
  margin: 0 auto;
}

.resto-comporision p {
  text-align: justify;
  margin: 0 auto;
}

.images-container {
  max-width: 600px;
  margin: 0px auto;
  border-radius: 10px;
  overflow: hidden;
}

.image-comparison img {
  width: 100%; 
  height: 100%;
  object-fit: cover;
  object-position: left;
}

.image-comparison .images-container { 
  position: relative;
  display: flex;
}

.image-comparison .images-container .before-image {
  position: absolute;
  top: 0;
  width: 50%;
 }

 .image-comparison .slider {
  position: absolute;
  inset: 0;
  opacity: 0;
 }

 .image-comparison .slider-line {
  position: absolute;
  height: 100%;
  width: 4px;
  background-color: #fff;
  left: 50%;
  transform: translateX(-50%);
 }

 .image-comparison .slider-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  color: #fff;
  width: 60px;
  height: 60px;
  transform: translate(-50%, -50%) rotateZ(90deg);
 }

/* ====== END COMPARISION ===== */

/* ====== ENGINES ===== */

.engine-container {
  z-index: 3;
  position: relative;
  display: flex;
  justify-content: center;

}

.engine-insider {
  align-items: center;
  padding: 70px 20px;
  margin: 0px auto; 
  max-width: 1400px;

}

.engine-text {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 40px;
  max-width: 800px;
}

.engine-text p {
  font-size: 18px;
  text-align: center;
}

.engine-container img {
  width: 100%;
  margin: 0 auto;
  display: block;
} 



/* ====== REVIEWS ===== */

.reviews-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 70px 40px;
}

.reviews-insider {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.reviews-row {
  display: flex;
  justify-content: space-around;
  margin-top: 20px;
}

.review {
  background-color: transparent;
  padding: 40px;
  border-radius: 10px;
  margin: 10px;
  text-align: center;
  border: 3px solid var(--text-colorh2);
  width: 30%;
}

.rating {
  margin-top: 20px;
}

.rating img {
  width: 100px;
}

.review p,
.review p:last-child {
  margin: 30px 0;
}

/* ====== COLORING ====== */

.coloring-container {
  z-index: 3;
  position: relative;
}

.coloring-insider {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 70px 20px;
  margin: 0px auto; 
  max-width: 1400px;
}

.coloring-text {
  flex: 1;
  padding-left: 100px;
}

.coloring-container p {
  /* font-size: 16px; */
  text-align: justify;
}

.coloring-container img {
  width: 40%;
  height: auto;
  /* margin-left: 30px; */
  float: left;
  padding: 30px;
  position: relative;
}

.coloring-container::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 30%;
  width: 40%;
  height: 50%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  filter: blur(90px);
  z-index: 0;
}

/* ====== LOGOTIP ====== */

.logotip-container {
  z-index: 3;
  position: relative;
  border-radius: 2%;
  margin-top: 100px;
}

.logotip-insider {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin: 0px 110px;
  padding-top: 50px;
  /* margin-top: 200px; */
}

.logotip-text {
  flex: 1;
  padding-right: 100px;
}

.logotip-container p {
  /* font-size: 16px; */
  text-align: justify;
}

.logotip-container img {
  width: 40%;
  height: auto;
  /* margin-left: 30px; */
  float: right;
  padding: 30px;
  position: relative;
}

.logotip-container::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 70%;
  width: 40%;
  height: 50%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  filter: blur(90px);
  z-index: 0;
}

/* ====== FAQ ====== */

.faq-container {
  max-width: 100%;
  margin: 0 auto;
  padding: 40px;
  padding-bottom: 100px;
  padding-top: 50px;
  position: relative;
  /* border-top: 1px solid #0000005b; */

}

.faq-insider {
  max-width: 1400px;
  margin: 0 auto;
}

.faq-container h1 {
  margin: 0 auto;
  padding-bottom: 30px;
  max-width: fit-content;
}

.faq-item {
  margin-bottom: 20px;
  border-bottom: 2px solid var(--text-colorh2);
  padding-bottom: 1px;
}

.question {
  cursor: pointer;
  /* background-color: #000000; */
  padding: 10px;
  border-radius: 5px;
  display: block;
  font-size: 24px;
  font-weight: bold;
}

.answer {
  display: none;
  padding: 10px;
}

.answer p {
  margin: 0;
  font-size: 16px;
  color: var(--text-color);
  text-align: left;
}

.question:hover {
  color: #6e6e6e;
}

.question-checkbox {
  display: none;
}

.question-checkbox:checked+.question+.answer {
  display: block;
}

/* ====== BUTTONS ====== */

button {
  background: var(--button-color);
  border: none;
  color: white;
  padding: 25px 45px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 20px;
  font-weight: bold;
  margin: 10px 5px;
  cursor: pointer;
  border-radius: 50px;
  transition: background-color 0.3s;
}

button:hover {
  background: var(--buttonhover-color);
}


/* ====== HEADER ====== */
header {
  padding: 10px 0px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* position: fixed; */
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: var(--primary-color);
  font-size: 22px;
  font-weight: bold;
  /* border-bottom: solid 1px #494949; */
}

header .header-content {
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header.scrolled {
  background-color: rgba(0, 0, 0, 0.5);
}

.logo img {
  height: 60px;
  padding: 5px;
}

.header-left ul {
  display: flex;
  list-style-type: none;
  margin: 0;
  padding: 0;
  justify-content: center;
}

.header-left ul li a.button {
  /* color: #fff; */
  background-color: transparent;
  border: none;
  padding: 10px 20px;
  text-decoration: none;
  transition: color 0.3s;
}

.header-left ul li:first-child {
  margin-left: -350px;
}

.header-left ul li a.button:hover {
  color: #6e6e6e;
}

.header-right .login-button {
  background-color: var(--button-color);
  padding: 10px 50px;
  text-decoration: none;
  border-radius: 30px;
  color: var(--primary-color);
}

.header-right .login-button:hover {
  color: var(--buttonhover-color)
}
/* ==== BURGER MENU ===== */

.burger-menu {
  display: none; /* Скрываем кнопку на десктопах и планшетах */
  cursor: pointer;
  font-size: 30px;
  color: white;
  background: none;
  border: none;
  margin: 0;
}

.burger-menu:hover {
  background: none;
}

.nav-menu {
  display: none; /* Изначально меню скрыто */
  position: absolute;
  background-color: var(--primary-color); /* Черный фон */
  width: 100%; /* Меню занимает всю ширину экрана */
  top: 0; /* Расстояние от верха страницы */
  left: 0;
  z-index: 1000;
  padding-top: 30px;
  transform: translateY(-100%);
  transition: transform 0.5s ease;
  text-align: center;
}

.nav-menu ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.nav-menu ul li a {
  display: block;
  padding: 10px 20px;
  /* color: white;  */
  text-decoration: none;
  border-bottom: 1px solid #444; 
}

/* ====== FOOTER ====== */
.container-footer {
  max-width: 800px;
  margin: 50px auto;
  padding: 10px 20px;
  padding-top: 100px;
}

.footer-logos {
  text-align: center; 
  margin-top: 20px;
}

.footer-logos img {
  width: 50px;
  height: auto;
}

footer {
  background-color: var(--second-color);
  /* color: #fff; */
  padding-bottom: 20px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.footer-section {
  width: 100%;
  z-index: 1;
}

.footer-section h3 {
  /* color: #fff; */
  font-size: 20px;
  margin-bottom: 20px;
}

.footer-section pfooter {
  line-height: 1.6;

}

.footer-section ul {
  list-style: none;
  padding: 0;

}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section ul li a {
  /* color: #ffffff; */
  text-decoration: none;
}

.footer-section ul li a:hover {
  color: #6e6e6e;
}

.footer-bottom {
  margin-top: 150px;
  text-align: center;
  font-size: 14px;
}

/* ====== FOR PHONES ====== */

/* @media only screen and (max-width: 564px) { */
  /* .grid-container {
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); 
    grid-gap: 1;
    max-width: 100%;
 
  }

  .grid-item {
    max-width: 200px; 
    height: 200px; 
  }

  body {
    font-size: 14px;
  }

  h1{
    font-size: 22px;
  }

  h2{
    font-size: 18px;
  }

  .container{
    padding: 0;
  }

  .footer-section {
    width: 45%;
  } */


  /* Медиа-запросы для адаптации под мобильные устройства */
  @media only screen and (max-width: 768px) {

    /* .form-insider,
    .comics-container,
    .games-container,
    .coloring-container,
    .logotip-container,
    .faq-container {
      margin: 5px 10px;
      padding: 10px 10px;

    } */

    .container {
      margin: 0 0;
      margin-top: 100px;
    }

    .form-insider,
    .comics-insider,
    .games-insider,
    .coloring-insider,
    .logotip-insider {
      padding: 20px 25px;
    }

    .ideas-insider {
      max-width: 95%;
      padding: 5px 0px;
      padding-top: 30px;
    }

    .rectangles-row {
      max-width: 100%;
    }

    .games-text,
    .coloring-text,
    .logotip-text {
      padding: 0;
    }

    h1 {
      font-size: 30px;
    }

    h2 {
      font-size: 20px;
    }
    .form-container {
      padding-bottom: 50px;
    }
    .form-container h2 {
      max-width: 70%;
    }
    .form-container button {
      margin: 0px;
      margin-bottom: 20px;
    }

    p {
      font-size: 18px;
    }

    .review p {
      font-size: 14px;
    }
    .review {
      padding: 6px;
      margin: 5px;
    }

    .profileText,
    .ideas-container button,
    .comics-container button,
    .games-container button,
    .coloring-container button,
    .logotip-container button,
    button {
      padding: 15px 20px;
      font-size: 18px;
    }

    .comics-insider,
    .games-insider,
    .coloring-insider,
    .logotip-insider {
      flex-direction: column;
    }
    
    .comics-container img,
    .games-container img,
    .coloring-container img,
    .logotip-container img {
      width: 90%;
    }

    .faq-container {
      padding: 15px;
      margin: 0;
      padding-top: 60px;
    }

    .question {
      font-size: 18px;
    }

    .answer p {
      font-size: 16px;
    }

    .logo img {
      height: 45px;
      padding: 5px;
      padding-left: 10px;
    }


    /* header,
    .header-left ul,
    .header-right {
      text-align: center;

    }


    .header-left ul li,
    .header-right .login-button,
    .header-right .signin-button {
      width: 100%;
      margin: 10px 0;
    } */

    .footer-section {
      width: 48%;
      /* Расширяем секции подвала на всю ширину экрана */
    }
  }
  
  @media only screen and (max-width: 768px) {
    .burger-menu {
      display: block; /* Показываем кнопку на мобильных */
    }
  
    .header-left, .header-right {
      display: none; /* Скрываем десктопные элементы на мобильных */
    }
  
    .nav-menu {
      display: block; /* Изначально меню скрыто, показывается через JS */
    }
  }


  .bubbles {
    width: 300px; 
    height: 300px;
    padding-left: 20px;
    position: absolute;
    top: 2000px;
    left: 0;
  }

  .bubbles2 {
    width: 350px;
    height: 350px;
    position: absolute;
    right: 0;
    top: 4800px;
    padding-right: 20px;
  }

/* ==== REVIEWS SECTION ==== */
.reviews-section {
  padding: 120px 0;
  background: linear-gradient(135deg, rgba(108, 92, 231, 0.05) 0%, rgba(162, 155, 254, 0.05) 100%);
  border-radius: 30px;
  margin: 80px 0;
}

.reviews-content {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 60px;
}

.review-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 32px;
  backdrop-filter: blur(20px);
  transition: all 0.3s ease;
  text-align: left;
}

.review-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px rgba(108, 92, 231, 0.2);
  border-color: var(--accent-color);
}

.review-content p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 24px;
  font-style: italic;
}

.review-author {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.rating {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.author-info h4 {
  color: var(--text-primary);
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 5px 0;
}

.author-info span {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ==== FAQ SECTION ==== */
.faq-section {
  padding: 120px 0;
  margin: 80px 0;
}

.faq-content {
  max-width: 800px;
  margin: 0 auto;
}

.faq-grid {
  margin-top: 60px;
}

.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 15px;
  margin-bottom: 20px;
  overflow: hidden;
  backdrop-filter: blur(20px);
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: var(--accent-color);
  box-shadow: 0 10px 30px rgba(108, 92, 231, 0.1);
}

.question-checkbox {
  display: none;
}

.question {
  display: block;
  padding: 25px 30px;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
  border: none;
  background: none;
}

.question::after {
  content: '+';
  position: absolute;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--accent-color);
  transition: transform 0.3s ease;
}

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

.question-checkbox:checked + .question::after {
  transform: translateY(-50%) rotate(45deg);
}

.answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background: rgba(255, 255, 255, 0.02);
}

.question-checkbox:checked + .question + .answer {
  max-height: 200px;
  padding: 0 30px 25px 30px;
}

.answer p {
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 1rem;
  margin: 0;
}

/* ==== MODERN FOOTER - COMPLETELY REWRITTEN ==== */
.modern-footer {
  background: linear-gradient(135deg, var(--secondary-color) 0%, #16213e 100%);
  border-top: 1px solid var(--border-color);
  padding: 80px 0 30px;
  margin-top: 120px;
  width: 100%;
}

.modern-footer .footer-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  width: 100%;
}

.modern-footer .footer-main {
  grid-template-columns: 1fr 1fr 1fr 1fr !important;
  gap: 25px !important;
  display: grid !important;
}

.modern-footer .footer-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 100%;
}

.modern-footer .footer-section h3 {
  color: var(--text-primary);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 20px;
  margin-top: 0;
}

.modern-footer .footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.modern-footer .footer-logo img {
  height: 52px;
  width: auto;
}

.modern-footer .footer-logo h3 {
  margin: 0;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 1.2rem;
}

.modern-footer .footer-section p {
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 20px;
  max-width: 400px;
  font-size: 0.9rem;
}

.modern-footer .footer-social {
  display: flex;
  gap: 12px;
  margin-top: auto;
}

.modern-footer .social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  text-decoration: none;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(20px);
}

.modern-footer .social-link:hover {
  background: var(--accent-color);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(108, 92, 231, 0.3);
}

.modern-footer .footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
}

.modern-footer .footer-section ul li {
  margin-bottom: 10px;
}

.modern-footer .footer-section ul li a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  position: relative;
  display: block;
  padding: 2px 0;
}

.modern-footer .footer-section ul li a:hover {
  color: var(--accent-color);
  text-decoration: none;
  transform: translateX(3px);
}

.modern-footer .footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 25px;
  margin-top: 40px;
}

.modern-footer .footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.modern-footer .footer-bottom-content p {
  color: var(--text-muted);
  margin: 0;
  font-size: 0.9rem;
}

.modern-footer .payment-methods {
  display: flex;
  gap: 12px;
  align-items: center;
}

.modern-footer .payment-methods img {
  height: 28px;
  width: auto;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.modern-footer .payment-methods img:hover {
  opacity: 1;
}

/* ==== MOBILE RESPONSIVE ==== */
@media (max-width: 1200px) {
  .container {
    padding: 0 30px;
  }
  
  .hero-content {
    gap: 60px;
  }
  
  .benefits-content {
    gap: 60px;
  }
}

@media (max-width: 968px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .hero-image {
    order: -1;
  }
  
  .benefits-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .feature-content,
  .feature-content.reverse {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .feature-content.reverse .feature-text,
  .feature-content.reverse .feature-image {
    order: unset;
  }
  
  .stats-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  
  .benefits-grid {
    grid-template-columns: 1fr;
  }
  
  /* Fixed footer styles for tablet */
  .modern-footer .footer-main {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .modern-footer .footer-content {
    padding: 0 20px;
  }
  
  .modern-footer .footer-bottom-content {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }
  
  .modern-header .header-content {
    padding: 0 20px;
  }
  
  .hero-section {
    padding: 100px 0 60px;
  }
  
  .gradient-text {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .modern-cta-button,
  .secondary-button {
    width: 100%;
    max-width: 300px;
  }
  
  .stats-container {
    grid-template-columns: 1fr;
  }
  
  .reviews-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  
  .footer-main {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .feature-title {
    font-size: 1.8rem;
  }
  
  .gallery-item {
    min-width: 150px;
    height: 200px;
  }
  
  .gallery-track {
    gap: 15px;
  }
  
  .gallery-overlay {
    padding: 12px;
  }
  
  .gallery-info h4 {
    font-size: 0.9rem;
  }
  
  .gallery-info p {
    font-size: 0.75rem;
  }
  
  @keyframes infiniteScroll {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(-990px);
    }
  }
  
  /* Mobile navigation */
  .header-left,
  .header-right {
    display: none;
  }
  
  .burger-menu {
    display: block;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
  }
  
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(15, 15, 35, 0.98);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--border-color);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }
  
  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .nav-menu ul {
    flex-direction: column;
    padding: 20px;
    gap: 15px;
  }
  
  .nav-menu ul li a {
    display: block;
    padding: 15px 20px;
    background: var(--card-bg);
    border-radius: 10px;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
  }
  
  .nav-menu ul li a:hover {
    background: var(--accent-color);
    color: var(--text-primary);
  }
}

@media (max-width: 480px) {
  .benefit-card,
  .review-card {
    padding: 24px;
  }
  
  .question {
    padding: 20px;
  }
  
  .answer {
    padding: 0 20px 20px 20px;
  }
  
  .modern-footer {
    padding: 60px 0 20px;
  }
  
  .footer-content {
    padding: 0 20px;
  }
}

/* ==== ADDITIONAL ANIMATIONS ==== */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.benefit-card,
.review-card,
.faq-item {
  animation: slideInUp 0.6s ease-out;
}

.benefit-card:nth-child(1) { animation-delay: 0.1s; }
.benefit-card:nth-child(2) { animation-delay: 0.2s; }
.benefit-card:nth-child(3) { animation-delay: 0.3s; }
.benefit-card:nth-child(4) { animation-delay: 0.4s; }

.review-card:nth-child(1) { animation-delay: 0.1s; }
.review-card:nth-child(2) { animation-delay: 0.2s; }
.review-card:nth-child(3) { animation-delay: 0.3s; }

/* ==== SCROLL ANIMATIONS ==== */
.animate {
  animation: slideInUp 0.8s ease-out;
}

/* ==== NEURAL NETWORK ANIMATION ==== */
.neural-network-container {
  width: 100%;
  height: 400px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1000px;
}

.neural-network {
  width: 100%;
  height: 100%;
  border-radius: 20px;
  background: radial-gradient(circle, rgba(108, 92, 231, 0.15) 0%, rgba(26, 26, 46, 0.9) 100%);
  animation: float3D 12s ease-in-out infinite;
  transform-style: preserve-3d;
}

.neural-node {
  fill: url(#nodeGradient);
  animation: pulse 2s ease-in-out infinite;
  filter: drop-shadow(0 0 8px rgba(162, 155, 254, 0.8)) drop-shadow(0 0 15px rgba(108, 92, 231, 0.6));
}

.neural-node:nth-child(odd) {
  animation-delay: 1s;
}

.neural-node:nth-child(3n) {
  animation-delay: 0.5s;
}

.neural-connection {
  stroke: url(#lineGradient);
  stroke-width: 2;
  fill: none;
  opacity: 0.8;
  animation: connectionPulse 3s ease-in-out infinite;
  filter: drop-shadow(0 0 3px rgba(162, 155, 254, 0.5));
}

.neural-connection:nth-child(even) {
  animation-delay: 1.5s;
}

.neural-connection:nth-child(3n) {
  animation-delay: 0.7s;
}

@keyframes float3D {
  0% {
    transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg);
  }
  25% {
    transform: rotateX(5deg) rotateY(15deg) rotateZ(2deg);
  }
  50% {
    transform: rotateX(-3deg) rotateY(25deg) rotateZ(-1deg);
  }
  75% {
    transform: rotateX(4deg) rotateY(10deg) rotateZ(3deg);
  }
  100% {
    transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg);
  }
}

@keyframes pulse {
  0%, 100% {
    r: 4;
    opacity: 0.9;
  }
  50% {
    r: 7;
    opacity: 1;
  }
}

@keyframes connectionPulse {
  0%, 100% {
    opacity: 0.5;
    stroke-width: 1.5;
  }
  50% {
    opacity: 1;
    stroke-width: 3;
  }
}

@keyframes activeGlow {
  from {
    opacity: 0.4;
    transform: scale(0.98);
  }
  to {
    opacity: 0.8;
    transform: scale(1.02);
  }
  }

/* ==== AI BRAIN ANIMATION ==== */
.ai-brain-container {
  width: 100%;
  height: 500px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1000px;
}

.ai-brain {
  position: relative;
  width: 400px;
  height: 400px;
  animation: brainFloat 8s ease-in-out infinite;
  transform-style: preserve-3d;
}

.brain-svg {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  filter: drop-shadow(0 20px 40px rgba(108, 92, 231, 0.3));
}

.brain-outline {
  animation: brainPulse 4s ease-in-out infinite;
  stroke-dasharray: 2000;
  stroke-dashoffset: 2000;
  animation: drawBrain 3s ease-in-out forwards, brainPulse 4s ease-in-out infinite 3s;
}

.brain-core {
  animation: corePulse 2s ease-in-out infinite;
}

/* Neural nodes animation */
.neural-nodes circle {
  fill: url(#brainGradient);
  animation: nodePulse 3s ease-in-out infinite;
  filter: url(#glow);
}

.neural-nodes circle:nth-child(odd) {
  animation-delay: 1s;
}

.neural-nodes circle:nth-child(3n) {
  animation-delay: 2s;
}

/* Data streams */
.data-streams line {
  stroke: url(#synapseGradient);
  stroke-width: 2;
  opacity: 0.8;
  animation: dataFlow 2s ease-in-out infinite;
  filter: url(#glow);
}

.data-streams line:nth-child(even) {
  animation-delay: 1s;
}

/* Floating particles */
.ai-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.particle-stream {
  position: absolute;
  width: 6px;
  height: 6px;
  background: radial-gradient(circle, var(--accent-color), transparent);
  border-radius: 50%;
  animation: particleFloat 4s linear infinite;
}

.particle-stream-1 {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
  background: radial-gradient(circle, #fd79a8, transparent);
}

.particle-stream-2 {
  top: 60%;
  left: 80%;
  animation-delay: 1s;
  background: radial-gradient(circle, #fdcb6e, transparent);
}

.particle-stream-3 {
  top: 80%;
  left: 30%;
  animation-delay: 2s;
  background: radial-gradient(circle, #00cec9, transparent);
}

.particle-stream-4 {
  top: 40%;
  left: 70%;
  animation-delay: 3s;
  background: radial-gradient(circle, #6c5ce7, transparent);
}

/* Data indicators */
.data-indicators {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.data-indicator {
  position: absolute;
  background: rgba(108, 92, 231, 0.2);
  border: 1px solid var(--accent-color);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-primary);
  backdrop-filter: blur(10px);
  animation: indicatorPulse 3s ease-in-out infinite;
}

.data-indicator-1 {
  top: 15%;
  left: 5%;
  animation-delay: 0.5s;
}

.data-indicator-2 {
  top: 10%;
  right: 10%;
  animation-delay: 1.5s;
}

.data-indicator-3 {
  bottom: 20%;
  left: 15%;
  animation-delay: 2.5s;
}

.data-indicator-4 {
  bottom: 15%;
  right: 5%;
  animation-delay: 3.5s;
}

/* Keyframe animations */
@keyframes brainFloat {
  0%, 100% {
    transform: translateY(0px) rotateX(0deg) rotateY(0deg);
  }
  25% {
    transform: translateY(-15px) rotateX(5deg) rotateY(10deg);
  }
  50% {
    transform: translateY(-10px) rotateX(-3deg) rotateY(15deg);
  }
  75% {
    transform: translateY(-20px) rotateX(4deg) rotateY(5deg);
  }
  100% {
    transform: translateY(0px) rotateX(0deg) rotateY(0deg);
  }
}

@keyframes drawBrain {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes brainPulse {
  0%, 100% {
    stroke-width: 3;
    opacity: 0.8;
  }
  50% {
    stroke-width: 5;
    opacity: 1;
  }
}

@keyframes corePulse {
  0%, 100% {
    r: 15;
    opacity: 0.8;
  }
  50% {
    r: 20;
    opacity: 1;
  }
}

@keyframes nodePulse {
  0%, 100% {
    r: 4;
    opacity: 0.7;
  }
  50% {
    r: 7;
    opacity: 1;
  }
}

@keyframes dataFlow {
  0% {
    stroke-dasharray: 0 100;
    opacity: 0;
  }
  50% {
    stroke-dasharray: 50 50;
    opacity: 1;
  }
  100% {
    stroke-dasharray: 100 0;
    opacity: 0;
  }
}

@keyframes particleFloat {
  0% {
    transform: translateY(0px) scale(0);
    opacity: 0;
  }
  20% {
    transform: translateY(-50px) scale(1);
    opacity: 1;
  }
  80% {
    transform: translateY(-200px) scale(1);
    opacity: 1;
  }
  100% {
    transform: translateY(-250px) scale(0);
    opacity: 0;
  }
}

@keyframes indicatorPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.1);
    opacity: 1;
  }
}

/* Mobile responsive */
@media (max-width: 768px) {
  .ai-brain-container {
    height: 350px;
  }
  
  .ai-brain {
    width: 300px;
    height: 300px;
  }
  
  .data-indicator {
    padding: 6px 8px;
    font-size: 0.7rem;
  }
  }

/* ==== BLOG SECTION ==== */
.blog-section {
  padding: 120px 0;
  margin: 80px 0;
  background: linear-gradient(135deg, rgba(108, 92, 231, 0.03) 0%, rgba(162, 155, 254, 0.03) 100%);
  border-radius: 30px;
}

.blog-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  text-align: center;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin: 60px 0;
}

.blog-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  overflow: hidden;
  backdrop-filter: blur(20px);
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(108, 92, 231, 0.2);
  border-color: var(--accent-color);
}

.blog-card.featured {
  border: 2px solid var(--accent-color);
  box-shadow: 0 15px 40px rgba(108, 92, 231, 0.15);
}

.blog-card.featured::before {
  content: 'Featured';
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--accent-gradient);
  color: white;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  z-index: 2;
}

.blog-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: all 0.3s ease;
}

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

.blog-content-wrapper {
  padding: 25px;
}

.blog-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.blog-category {
  background: var(--accent-color);
  color: white;
  padding: 4px 10px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.75rem;
}

.blog-read-time {
  color: var(--text-secondary);
}

.blog-title {
  color: var(--text-primary);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 12px;
  line-height: 1.4;
  text-align: left;
}

.blog-excerpt {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
  text-align: left;
}

.blog-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 15px;
  border-top: 1px solid var(--border-color);
}

.blog-author {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
}

.blog-date {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.blog-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 15px;
}

.blog-tag {
  background: rgba(108, 92, 231, 0.1);
  color: var(--accent-color);
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 500;
}

/* Loading State */
.blog-loading {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  color: var(--text-secondary);
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--border-color);
  border-top: 3px solid var(--accent-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 20px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Blog Actions */
.blog-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.blog-cta-button {
  background: var(--button-primary);
  border: none;
  padding: 15px 35px;
  border-radius: 12px;
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px var(--glow-color);
}

.blog-cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px var(--glow-color);
}

.blog-cta-button span {
  position: relative;
  z-index: 2;
}

.blog-refresh-button {
  background: transparent;
  border: 2px solid var(--border-color);
  padding: 13px 25px;
  border-radius: 12px;
  color: var(--text-secondary);
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.blog-refresh-button:hover {
  border-color: var(--accent-color);
  color: var(--text-primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(108, 92, 231, 0.2);
}

/* Empty State */
.blog-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: var(--text-secondary);
}

.blog-empty-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  opacity: 0.5;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .blog-content {
    padding: 0 20px;
  }
  
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 25px;
    margin: 40px 0;
  }
  
  .blog-card {
    margin: 0 auto;
    max-width: 400px;
  }
  
  .blog-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .blog-cta-button,
  .blog-refresh-button {
    width: 100%;
    max-width: 280px;
  }
  
  .blog-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

/* Blog Modal Styles */
.blog-modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  opacity: 0;
  transition: all 0.3s ease;
}

.blog-modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
}

.blog-modal-content {
  background: var(--primary-color);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  width: 90%;
  max-width: 800px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  backdrop-filter: blur(20px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
  transform: translateY(50px) scale(0.9);
  transition: all 0.3s ease;
}

.blog-modal.active .blog-modal-content {
  transform: translateY(0) scale(1);
}

.blog-modal-header {
  position: relative;
  padding: 30px 80px 20px 40px;
  border-bottom: 1px solid var(--border-color);
}

.blog-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  color: var(--text-secondary);
  font-size: 1.8rem;
  font-weight: bold;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  transition: all 0.3s ease;
  z-index: 10;
}

.blog-modal-close:hover {
  color: var(--accent-color);
  background: var(--card-bg);
  transform: scale(1.1);
}

.blog-modal-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  font-size: 0.9rem;
  padding-right: 20px;
}

.blog-modal-category {
  background: var(--accent-gradient);
  color: white;
  padding: 6px 15px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.8rem;
}

.blog-modal-read-time {
  color: var(--text-secondary);
  font-weight: 500;
}

.blog-modal-title {
  color: var(--text-primary);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 15px 0;
  padding-right: 60px;
}

.blog-modal-author-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.95rem;
  padding-right: 20px;
}

.blog-modal-author {
  color: var(--text-secondary);
  font-weight: 600;
}

.blog-modal-date {
  color: var(--text-muted);
}

.blog-modal-image-container {
  width: 100%;
  height: 300px;
  overflow: hidden;
  position: relative;
}

.blog-modal-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.blog-modal-body {
  padding: 40px;
}

.blog-modal-content-text {
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: 1.1rem;
  margin-bottom: 30px;
}

.blog-modal-content-text h1,
.blog-modal-content-text h2,
.blog-modal-content-text h3 {
  color: var(--text-primary);
  margin: 30px 0 15px 0;
  font-weight: 600;
}

.blog-modal-content-text h1 {
  font-size: 1.5rem;
}

.blog-modal-content-text h2 {
  font-size: 1.3rem;
}

.blog-modal-content-text h3 {
  font-size: 1.1rem;
}

.blog-modal-content-text p {
  margin-bottom: 20px;
}

.blog-modal-content-text ul,
.blog-modal-content-text ol {
  margin: 15px 0;
  padding-left: 25px;
}

.blog-modal-content-text li {
  margin-bottom: 8px;
  color: var(--text-secondary);
}

.blog-modal-content-text strong {
  color: var(--text-primary);
  font-weight: 600;
}

.blog-modal-content-text em {
  color: var(--accent-color);
  font-style: italic;
}

.blog-modal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
}

.blog-modal-tag {
  background: rgba(108, 92, 231, 0.1);
  color: var(--accent-color);
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  border: 1px solid rgba(108, 92, 231, 0.2);
}

/* Custom scrollbar for modal */
.blog-modal-content::-webkit-scrollbar {
  width: 6px;
}

.blog-modal-content::-webkit-scrollbar-track {
  background: var(--border-color);
  border-radius: 3px;
}

.blog-modal-content::-webkit-scrollbar-thumb {
  background: var(--accent-color);
  border-radius: 3px;
}

.blog-modal-content::-webkit-scrollbar-thumb:hover {
  background: var(--text-primary);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .blog-modal-content {
    width: 95%;
    max-height: 95vh;
    border-radius: 15px;
  }
  
  .blog-modal-header {
    padding: 20px 60px 15px 25px;
  }
  
  .blog-modal-title {
    font-size: 1.5rem;
    padding-right: 50px;
  }
  
  .blog-modal-close {
    top: 15px;
    right: 15px;
    font-size: 1.5rem;
    width: 35px;
    height: 35px;
  }
  
  .blog-modal-body {
    padding: 25px;
  }
  
  .blog-modal-content-text {
    font-size: 1rem;
    line-height: 1.7;
  }
  
  .blog-modal-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding-right: 10px;
  }
  
  .blog-modal-author-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    padding-right: 10px;
  }
  
  .blog-modal-image-container {
    height: 200px;
  }
}

/* ====== LEGACY FOOTER STYLES (for other pages) ====== */
footer {
  background-color: var(--second-color);
  /* color: #fff; */
  padding-bottom: 20px;
}

/* Only apply old styles to non-modern footers */
footer:not(.modern-footer) .footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

footer:not(.modern-footer) .footer-section {
  width: 34%;
  z-index: 1;
}

footer:not(.modern-footer) .footer-section h3 {
  /* color: #fff; */
  font-size: 20px;
  margin-bottom: 20px;
}

footer:not(.modern-footer) .footer-section pfooter {
  line-height: 1.6;
}

footer:not(.modern-footer) .footer-section ul {
  list-style: none;
  padding: 0;
}

footer:not(.modern-footer) .footer-section ul li {
  margin-bottom: 10px;
}

footer:not(.modern-footer) .footer-section ul li a {
  /* color: #ffffff; */
  text-decoration: none;
}

footer:not(.modern-footer) .footer-section ul li a:hover {
  color: #6e6e6e;
}

footer:not(.modern-footer) .footer-bottom {
  margin-top: 150px;
  text-align: center;
  font-size: 14px;
}

/* ==== FORCE CORRECT FOOTER LAYOUT ==== */
footer.modern-footer .footer-main {
  grid-template-columns: 1fr 1fr 1fr 1fr !important;
  gap: 25px !important;
  display: grid !important;
  align-items: start !important;
}

@media (max-width: 968px) {
  footer.modern-footer .footer-main {
    grid-template-columns: 1fr 1fr !important;
  }
}

@media (max-width: 768px) {
  footer.modern-footer .footer-main {
    grid-template-columns: 1fr !important;
    text-align: center !important;
  }
}

/* ====== FOR PHONES ====== */

/* ==== PRICING TABLE STYLES ==== */
.pricing-table {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 15px;
  overflow: hidden;
  backdrop-filter: blur(20px);
  margin: 30px 0;
}

.pricing-row {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
  padding: 20px 25px;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.pricing-row:last-child {
  border-bottom: none;
}

.pricing-row:hover {
  background: rgba(108, 92, 231, 0.05);
}

.pricing-header {
  background: var(--accent-gradient);
  font-weight: 600;
  color: white;
}

.pricing-header:hover {
  background: var(--accent-gradient);
}

.pricing-cell {
  font-size: 1rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.pricing-header .pricing-cell {
  color: white;
  font-weight: 600;
  font-size: 1.1rem;
}

.pricing-cell.highlight {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
  font-size: 1.1rem;
}

@media (max-width: 768px) {
  .pricing-row {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 15px 20px;
    text-align: center;
  }
  
  .pricing-cell {
    font-size: 0.95rem;
  }
  
  .pricing-cell.highlight {
    font-size: 1rem;
    margin-top: 5px;
  }
  }