/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

body.dark-mode .hero {
  background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 100%);
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>')
    repeat;
  background-size: 50px 50px;
  animation: float 20s infinite linear;
}

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

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 20px 50px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.1;
}

.highlight {
  background: linear-gradient(
    90deg,
    #ff6b6b,
    #ffd93d,
    #6bcf7f,
    #4d96ff,
    #9c88ff
  );
  background-size: 300% 300%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradient 3s ease infinite;
}

@keyframes gradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0.9;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
}

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

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: #ffd93d;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Hero Visual */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.mockup-container {
  position: relative;
  transform: perspective(1000px) rotateY(-15deg) rotateX(5deg);
  transition: transform 0.3s ease;
}

.mockup-container:hover {
  transform: perspective(1000px) rotateY(-10deg) rotateX(2deg);
}

.browser-mockup {
  width: 500px;
  background: #1a1a1a;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

body.dark-mode .browser-mockup {
  background: #0f0f0f;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.browser-header {
  background: #2d2d2d;
  padding: 15px 20px;
  display: flex;
  align-items: center;
  gap: 15px;
}

body.dark-mode .browser-header {
  background: #1a1a1a;
}

.browser-buttons {
  display: flex;
  gap: 8px;
}

.browser-buttons div {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.btn-close {
  background: #ff5f56;
}
.btn-minimize {
  background: #ffbd2e;
}
.btn-maximize {
  background: #27ca3f;
}

.browser-url {
  background: #404040;
  color: #ccc;
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 0.85rem;
  flex: 1;
}

body.dark-mode .browser-url {
  background: #2a2a2a;
  color: #a0a0a0;
}

.browser-content {
  background: #000;
  height: 350px;
  position: relative;
}

.youtube-mockup {
  width: 100%;
  height: 100%;
  position: relative;
}

.video-player {
  width: 100%;
  height: 200px;
  background: linear-gradient(45deg, #333, #555);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

body.dark-mode .video-player {
  background: linear-gradient(45deg, #1a1a1a, #2a2a2a);
}

.play-button {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #333;
}

.comment-overlay {
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 200px;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  border-radius: 10px;
  padding: 15px;
  color: white;
  font-size: 12px;
}

.overlay-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-weight: 600;
}

.comment-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 8px;
  border-radius: 6px;
  border-left: 3px solid #ffd93d;
}

.comment-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 5px;
}

.comment-author {
  font-weight: 600;
  color: #ff6b6b;
}

.timestamp {
  color: #4d96ff;
  cursor: pointer;
}

.toast-notification {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 180px;
  background: rgba(0, 0, 0, 0.9);
  border-radius: 8px;
  padding: 12px;
  color: white;
  font-size: 11px;
  animation: slideIn 0.3s ease;
  opacity: 1;
  transform: translateX(0);
  transition: all 0.3s ease;
}

.toast-notification.show {
  opacity: 1;
  transform: translateX(0);
}

.toast-notification.hide {
  opacity: 0;
  transform: translateX(100%);
}

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

.toast-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
}

.toast-timestamp {
  background: rgba(255, 107, 107, 0.8);
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 600;
}

.toast-likes {
  color: rgba(255, 255, 255, 0.7);
}

.toast-author {
  color: #ff6b6b;
  font-weight: 600;
  margin-bottom: 4px;
}

body.dark-mode .toast-notification {
  background: rgba(0, 0, 0, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Story Section */
.story {
  padding: 80px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

body.dark-mode .story {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

.story-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
}

.story-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.story-problem,
.story-solution {
  background: rgba(255, 255, 255, 0.9);
  padding: 30px;
  border-radius: 16px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

body.dark-mode .story-problem,
body.dark-mode .story-solution {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.story-problem h3,
.story-solution h3 {
  color: #ff6b6b;
  font-size: 1.4rem;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.story-problem h3::before {
  content: "🚨";
}

.story-solution h3::before {
  content: "💡";
}

.story-problem p,
.story-solution p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: rgba(0, 0, 0, 0.8);
  margin-bottom: 20px;
}

body.dark-mode .story-problem p,
body.dark-mode .story-solution p {
  color: rgba(255, 255, 255, 0.9);
}

.solution-highlight {
  font-size: 1.2rem;
  font-weight: 600;
  color: #ff6b6b;
  text-align: center;
  background: rgba(255, 107, 107, 0.1);
  padding: 20px;
  border-radius: 12px;
  border-left: 4px solid #ff6b6b;
}

.problem-visual,
.solution-visual {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 20px;
  padding: 15px;
  background: rgba(0, 0, 0, 0.05);
  border-radius: 8px;
}

body.dark-mode .problem-visual,
body.dark-mode .solution-visual {
  background: rgba(255, 255, 255, 0.05);
}

.problem-icon,
.solution-icon {
  font-size: 2rem;
  width: 50px;
  text-align: center;
}

.problem-text,
.solution-text {
  font-weight: 500;
  color: rgba(0, 0, 0, 0.8);
}

body.dark-mode .problem-text,
body.dark-mode .solution-text {
  color: rgba(255, 255, 255, 0.9);
}

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

.feature-card {
  background: rgba(255, 255, 255, 0.9);
  padding: 25px;
  border-radius: 12px;
  text-align: center;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

body.dark-mode .feature-card {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.feature-card h4 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: rgba(0, 0, 0, 0.9);
}

body.dark-mode .feature-card h4 {
  color: rgba(255, 255, 255, 0.9);
}

.feature-card p {
  color: rgba(0, 0, 0, 0.7);
  line-height: 1.5;
}

body.dark-mode .feature-card p {
  color: rgba(255, 255, 255, 0.7);
}

/* Responsive Design */
@media (max-width: 768px) {
  .story-main {
    grid-template-columns: 1fr;
    gap: 30px;
  }

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

  .story-content {
    gap: 40px;
  }
}
