/* ========================================
   SavooVid - Main Stylesheet
   ======================================== */

/* Base Styles */
body {
  font-family: 'Inter', 'SF Pro Display', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: #0a0a0f;
  background-image: 
    radial-gradient(at 0% 0%, rgba(255, 0, 80, 0.15) 0px, transparent 50%),
    radial-gradient(at 100% 0%, rgba(0, 242, 234, 0.15) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(255, 0, 80, 0.1) 0px, transparent 50%),
    radial-gradient(at 0% 100%, rgba(0, 242, 234, 0.1) 0px, transparent 50%);
  color: #fff;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.01) 0px,
      transparent 1px,
      transparent 40px
    ),
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.01) 0px,
      transparent 1px,
      transparent 40px
    );
  pointer-events: none;
  z-index: 1;
}

body::after {
  content: '';
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 0, 80, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(60px);
  animation: pulse 8s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes pulse {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.5;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.3);
    opacity: 0.8;
  }
}

/* Navbar Styles */
.navbar {
  background: rgba(10, 10, 15, 0.8);
  backdrop-filter: blur(20px) saturate(180%);
  padding: 18px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.navbar:hover {
  background: rgba(10, 10, 15, 0.95);
  box-shadow: 0 8px 32px rgba(255, 0, 80, 0.2);
}

.navbar .logo img {
  height: 45px;
  width: auto;
  filter: drop-shadow(0 2px 8px rgba(255, 0, 80, 0.3));
  transition: transform 0.3s ease;
}

.navbar .logo img:hover {
  transform: scale(1.05);
}

.nav-links {
  display: flex;
  gap: 30px;
  align-items: center;
}

.navbar a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  position: relative;
  padding: 8px 0;
  transition: all 0.3s ease;
  letter-spacing: 0.3px;
}

.navbar a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #ff0050, #00f2ea);
  transition: width 0.3s ease;
}

.navbar a:hover {
  color: #ff0050;
}

.navbar a:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  font-size: 2rem;
  cursor: pointer;
  color: #fff;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-select {
  background: rgba(255, 255, 255, 0.05);
  padding: 8px 12px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.lang-select:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 0, 80, 0.3);
}

.lang-select select {
  background: rgb(138, 219, 239);
  color: #020101;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 8px 14px;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  min-width: 130px;
  -webkit-appearance: none;
  appearance: none;
  transition: all 0.3s ease;
}

.lang-select select:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 0, 80, 0.4);
}

.lang-select select:focus {
  outline: none;
  border-color: #ff0050;
  box-shadow: 0 0 0 3px rgba(255, 0, 80, 0.1);
}

.lang-select i {
  color: #00f2ea;
  font-size: 1rem;
}

/* OAuth Button Styles */
#login-btn {
  background: linear-gradient(135deg, #4285f4, #34a853);
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(66, 133, 244, 0.3);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

#login-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(66, 133, 244, 0.5);
}

#login-btn:active {
  transform: translateY(0);
}

#user-info {
  background: rgba(255, 255, 255, 0.05);
  padding: 8px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
}

#user-info:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 0, 80, 0.3);
}

#user-email {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}

#user-info button {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  padding: 6px 10px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

#user-info button:hover {
  background: rgba(255, 0, 80, 0.3);
  transform: scale(1.05);
}

/* RTL Support */
[dir="rtl"] body {
  direction: rtl;
}

[dir="rtl"] .hero h1,
[dir="rtl"] .hero p,
[dir="rtl"] .guide h2,
[dir="rtl"] .step p {
  text-align: right;
}

/* Responsive Menu */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-right {
    gap: 8px;
  }

  .nav-links {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 20px 0;
    display: none;
    border-radius: 0 0 12px 12px;
    animation: slideDown 0.4s ease;
  }

  .nav-links.show {
    display: flex;
  }

  .nav-links a {
    font-size: 1.2rem;
    width: 100%;
    text-align: center;
    padding: 10px 0;
  }

  @keyframes slideDown {
    from {
      transform: translateY(-20px);
      opacity: 0;
    }
    to {
      transform: translateY(0);
      opacity: 1;
    }
  }
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 80px 20px 40px;
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #fff 0%, #ff0050 50%, #00f2ea 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
  line-height: 1.2;
  letter-spacing: -1px;
  animation: heroGlow 3s ease-in-out infinite;
}

@keyframes heroGlow {
  0%, 100% {
    filter: drop-shadow(0 0 20px rgba(255, 0, 80, 0.3));
  }
  50% {
    filter: drop-shadow(0 0 40px rgba(0, 242, 234, 0.4));
  }
}

.hero p {
  font-size: 1.3rem !important;
  color: rgba(255, 255, 255, 0.8) !important;
  margin: 20px 0 40px 0 !important;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.hero p i {
  color: #00f2ea !important;
  font-size: 1.4rem;
  animation: pulse 2s ease-in-out infinite;
}

/* Platforms */
.platforms {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.platform {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 8px;
  border-radius: 8px;
  color: inherit;
  background: none;
  cursor: pointer;
  transition: transform 0.25s ease;
}

.platform i {
  font-size: 1.6rem;
  transition: transform 0.3s ease, color 0.3s ease;
}

.platform span {
  font-size: 0.75rem;
  font-weight: 500;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.platform:hover i {
  transform: scale(1.2);
  color: #ff2c55;
}

.platform:hover span {
  color: #000;
}

.platform.youtube i {
  color: #ff0000;
}

.platform.instagram i {
  color: #e1306c;
}

.platform.tiktok i {
  color: #010101;
}

.platform.facebook i {
  color: #1877f2;
}

.platform.snapchat i {
  color: #fffc00;
}

/* Container */
.container {
  max-width: 700px;
  margin: 0 auto 60px;
  padding: 50px 40px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  text-align: center;
  position: relative;
  z-index: 2;
  transition: all 0.4s ease;
}

.container:hover {
  transform: translateY(-5px);
  box-shadow: 
    0 30px 80px rgba(255, 0, 80, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 0, 80, 0.3);
}

/* Form Elements */
input[type="text"] {
  width: 100%;
  padding: 18px 24px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  margin-bottom: 20px;
  font-size: 1.05rem;
  color: #fff;
  font-weight: 500;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

input[type="text"]::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

input[type="text"]:focus {
  outline: none;
  border-color: #ff0050;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 
    0 0 0 4px rgba(255, 0, 80, 0.1),
    0 8px 24px rgba(255, 0, 80, 0.2);
  transform: translateY(-2px);
}

button {
  background: linear-gradient(135deg, #ff0050, #00f2ea);
  border: none;
  color: #000;
  padding: 16px 40px;
  font-size: 1.05rem;
  font-weight: 700;
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 
    0 8px 24px rgba(255, 0, 80, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

button:hover::before {
  left: 100%;
}

button:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 
    0 12px 32px rgba(255, 0, 80, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

button:active {
  transform: translateY(-1px) scale(0.98);
}

/* ============ About Section ============ */
.about-section {
  padding: 80px 20px;
  background: rgba(10, 10, 15, 0.6);
  position: relative;
  z-index: 2;
  margin: 60px 0;
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
}

.about-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.section-badge:hover {
  background: rgba(255, 0, 80, 0.1);
  border-color: rgba(255, 0, 80, 0.3);
  transform: translateY(-2px);
}

.section-badge i {
  color: #00f2ea;
  font-size: 1.1rem;
}

.about-title {
  font-size: 2.8rem;
  font-weight: 800;
  color: #fff;
  margin: 20px 0;
  letter-spacing: -0.5px;
}

.title-underline {
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #ff0050, #00f2ea);
  margin: 20px auto 0;
  border-radius: 2px;
}

.about-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.about-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.about-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 0, 80, 0.05), rgba(0, 242, 234, 0.05));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.about-card:hover::before {
  opacity: 1;
}

.about-card:hover {
  transform: translateY(-10px);
  border-color: rgba(255, 0, 80, 0.3);
  box-shadow: 0 20px 60px rgba(255, 0, 80, 0.3);
}

.card-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 25px;
  background: linear-gradient(135deg, #ff0050, #00f2ea);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  transition: all 0.4s ease;
}

.about-card:hover .card-icon {
  transform: scale(1.1) rotate(360deg);
  box-shadow: 0 10px 30px rgba(255, 0, 80, 0.5);
}

.card-icon i {
  font-size: 2rem;
  color: #000;
}

.about-card h3 {
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 20px;
  font-weight: 700;
  position: relative;
  z-index: 1;
}

.about-card p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  line-height: 1.8;
  position: relative;
  z-index: 1;
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 25px;
  margin-top: 50px;
}

.stat-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 30px 20px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.stat-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 0, 80, 0.1), transparent);
  transition: left 0.6s ease;
}

.stat-item:hover::before {
  left: 100%;
}

.stat-item:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 0, 80, 0.3);
  box-shadow: 0 10px 30px rgba(255, 0, 80, 0.2);
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  background: linear-gradient(135deg, #ff0050, #00f2ea);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 10px;
  line-height: 1;
}

.stat-label {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Responsive Design for About Section */
@media (max-width: 768px) {
  .about-section {
    padding: 50px 15px;
  }

  .about-title {
    font-size: 2rem;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .about-card {
    padding: 30px 20px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .stat-number {
    font-size: 2.2rem;
  }

  .stat-label {
    font-size: 0.85rem;
  }
}

/* ============ How to Use Section - TikTok Focused ============ */
.how-to-use {
  padding: 80px 20px;
  background: linear-gradient(
    135deg,
    rgba(18, 30, 37, 0.98),
    rgba(20, 20, 43, 0.98)
  );
  margin-top: 50px;
  position: relative;
  overflow: hidden;
}

.how-to-use::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle,
    rgba(255, 0, 80, 0.1) 0%,
    transparent 70%
  );
  animation: tiktokPulse 8s ease-in-out infinite;
}

@keyframes tiktokPulse {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.5;
  }
  50% {
    transform: translate(-20px, -20px) scale(1.2);
    opacity: 0.8;
  }
}

.how-to-container {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Header Section */
.how-to-header {
  text-align: center;
  margin-bottom: 60px;
}

.tiktok-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #ff0050, #00f2ea);
  color: #000;
  padding: 10px 25px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9em;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
  box-shadow: 0 5px 20px rgba(255, 0, 80, 0.4);
  animation: badgeBounce 2s ease-in-out infinite;
}

@keyframes badgeBounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

.tiktok-badge i {
  font-size: 1.2em;
}

.how-to-title {
  font-size: 2.5em;
  color: #fff;
  margin: 20px 0;
  font-weight: 700;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  line-height: 1.3;
}

.how-to-subtitle {
  font-size: 1.2em;
  color: #bbb;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Timeline Steps */
.steps-timeline {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-bottom: 60px;
}

.timeline-step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 30px;
  position: relative;
}

.timeline-step::before {
  content: "";
  position: absolute;
  left: 40px;
  top: 80px;
  bottom: -40px;
  width: 3px;
  background: linear-gradient(180deg, #ff0050, #00f2ea);
  opacity: 0.3;
}

.timeline-step:last-child::before {
  display: none;
}

.step-number {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #ff0050, #00f2ea);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2em;
  font-weight: 800;
  color: #000;
  box-shadow: 0 10px 30px rgba(255, 0, 80, 0.5);
  position: relative;
  z-index: 2;
  transition: all 0.4s ease;
}

.timeline-step:hover .step-number {
  transform: scale(1.1) rotate(360deg);
  box-shadow: 0 15px 40px rgba(255, 0, 80, 0.7);
}

.step-content {
  background: rgba(255, 255, 255, 0.05);
  padding: 35px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.step-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(255, 0, 80, 0.05),
    rgba(0, 242, 234, 0.05)
  );
  opacity: 0;
  transition: opacity 0.4s ease;
}

.step-content:hover::before {
  opacity: 1;
}

.step-content:hover {
  transform: translateX(10px);
  border-color: rgba(255, 0, 80, 0.5);
  box-shadow: -5px 10px 30px rgba(255, 0, 80, 0.3);
}

.step-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.step-icon i {
  font-size: 1.8em;
  background: linear-gradient(135deg, #ff0050, #00f2ea);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.step-content:hover .step-icon {
  transform: scale(1.1) rotate(5deg);
  background: rgba(255, 0, 80, 0.2);
}

.step-title {
  font-size: 1.5em;
  color: #fff;
  margin-bottom: 15px;
  font-weight: 600;
  position: relative;
  z-index: 1;
}

.step-description {
  font-size: 1.05em;
  color: #ccc;
  line-height: 1.8;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.step-description strong {
  color: #ff0050;
  font-weight: 600;
}

.step-tip {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(0, 242, 234, 0.1);
  padding: 12px 20px;
  border-radius: 10px;
  border-left: 3px solid #00f2ea;
  position: relative;
  z-index: 1;
}

.step-tip i {
  color: #00f2ea;
  font-size: 1.2em;
  animation: tipGlow 2s ease-in-out infinite;
}

@keyframes tipGlow {
  0%,
  100% {
    opacity: 1;
    filter: drop-shadow(0 0 5px #00f2ea);
  }
  50% {
    opacity: 0.7;
    filter: drop-shadow(0 0 10px #00f2ea);
  }
}

.step-tip span {
  color: #00f2ea;
  font-size: 0.95em;
  font-weight: 500;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
  margin-top: 50px;
}

.feature-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 30px 20px;
  border-radius: 15px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #ff0050, #00f2ea);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.feature-card:hover::before {
  opacity: 0.1;
}

.feature-card:hover {
  transform: translateY(-10px);
  border-color: rgba(255, 0, 80, 0.5);
  box-shadow: 0 15px 40px rgba(255, 0, 80, 0.4);
}

.feature-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, #ff0050, #00f2ea);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
  position: relative;
  z-index: 1;
}

.feature-card:hover .feature-icon {
  transform: rotate(360deg) scale(1.1);
}

.feature-icon i {
  font-size: 1.8em;
  color: #000;
}

.feature-card h4 {
  font-size: 1.3em;
  color: #fff;
  margin-bottom: 10px;
  font-weight: 600;
  position: relative;
  z-index: 1;
}

.feature-card p {
  color: #bbb;
  font-size: 0.95em;
  position: relative;
  z-index: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
  .how-to-use {
    padding: 50px 15px;
  }

  .how-to-title {
    font-size: 1.8em;
  }

  .how-to-subtitle {
    font-size: 1em;
  }

  .timeline-step {
    grid-template-columns: 60px 1fr;
    gap: 20px;
  }

  .step-number {
    width: 60px;
    height: 60px;
    font-size: 1.5em;
  }

  .timeline-step::before {
    left: 30px;
  }

  .step-content {
    padding: 25px 20px;
  }

  .step-title {
    font-size: 1.2em;
  }

  .step-description {
    font-size: 0.95em;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .feature-card {
    padding: 20px 15px;
  }

  .feature-icon {
    width: 55px;
    height: 55px;
  }

  .feature-icon i {
    font-size: 1.4em;
  }
}

/* Footer */
footer {
  background: rgba(10, 10, 15, 0.9);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
  padding: 40px 20px 30px;
  margin-top: 80px;
  font-size: 14px;
  position: relative;
  z-index: 2;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 0, 80, 0.5), rgba(0, 242, 234, 0.5), transparent);
}

footer p {
  margin: 12px 0;
  font-size: 15px;
  font-weight: 500;
}

footer p:first-child {
  font-size: 16px;
  font-weight: 600;
  background: linear-gradient(90deg, #ff0050, #00f2ea);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

footer a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  margin: 0 8px;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  padding: 4px 0;
}

footer a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, #ff0050, #00f2ea);
  transition: width 0.3s ease;
}

footer a:hover {
  color: #fff;
}

footer a:hover::after {
  width: 100%;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 25px;
  flex-wrap: wrap;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 12px;
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.social-links a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #ff0050, #00f2ea);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.social-links a:hover::before {
  opacity: 1;
}

.social-links a i {
  position: relative;
  z-index: 1;
}

.social-links a:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 8px 24px rgba(255, 0, 80, 0.4);
  border-color: rgba(255, 0, 80, 0.5);
}

.social-links .facebook:hover {
  box-shadow: 0 8px 24px rgba(24, 119, 242, 0.5);
}

.social-links .twitter:hover {
  box-shadow: 0 8px 24px rgba(29, 161, 242, 0.5);
}

.social-links .instagram:hover {
  box-shadow: 0 8px 24px rgba(225, 48, 108, 0.5);
}

.social-links .linkedin:hover {
  box-shadow: 0 8px 24px rgba(0, 119, 181, 0.5);
}

/* Spinner */
#spinner {
  border: 5px solid rgba(255, 255, 255, 0.1);
  border-top-color: #ff0050;
  border-right-color: #00f2ea;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 0.8s cubic-bezier(0.68, -0.55, 0.27, 1.55) infinite;
  margin: 25px auto;
  display: none;
  position: relative;
}

#spinner::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 30px;
  height: 30px;
  border: 3px solid transparent;
  border-top-color: #00f2ea;
  border-bottom-color: #ff0050;
  border-radius: 50%;
  animation: spin 1.2s linear infinite reverse;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Preview */
#preview {
  margin-top: 30px;
  display: none;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 20px;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#preview img {
  border-radius: 16px;
  margin-bottom: 20px;
  max-width: 100%;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  border: 2px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease;
}

#preview img:hover {
  transform: scale(1.02);
}

#preview h3 {
  color: #fff;
  font-size: 1.3rem;
  margin: 15px 0;
  font-weight: 700;
  line-height: 1.4;
}

#preview p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

#title {
  margin: 10px 0;
  font-size: 1.2rem;
  font-weight: bold;
}

#source {
  font-size: 0.9rem;
  color: #ccc;
}

/* ========================================
   FAQs Section
   ======================================== */

.faq-section {
  padding: 80px 20px;
  background: rgba(10, 10, 15, 0.6);
  position: relative;
  z-index: 2;
  margin: 60px 0;
}

.faq-container {
  max-width: 1000px;
  margin: 0 auto;
}

.faq-header {
  text-align: center;
  margin-bottom: 50px;
}

.faq-title {
  font-size: 2.8rem;
  font-weight: 800;
  color: #fff;
  margin: 20px 0;
  letter-spacing: -0.5px;
  text-align: center;
}

.faq-subtitle {
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.15rem;
  margin-bottom: 50px;
  font-weight: 500;
  line-height: 1.6;
}

.faq-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.faq-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s ease;
  position: relative;
}

.faq-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 0, 80, 0.05), rgba(0, 242, 234, 0.05));
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.faq-item:hover::before {
  opacity: 1;
}

.faq-item:hover {
  border-color: rgba(255, 0, 80, 0.3);
  box-shadow: 0 10px 40px rgba(255, 0, 80, 0.2);
  transform: translateY(-3px);
}

.faq-item.active {
  border-color: rgba(255, 0, 80, 0.4);
  box-shadow: 0 12px 48px rgba(255, 0, 80, 0.3);
}

.faq-question {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 25px 30px;
  cursor: pointer;
  background: transparent;
  transition: all 0.3s ease;
  user-select: none;
  position: relative;
  z-index: 1;
}

.faq-question:hover {
  background: rgba(255, 0, 80, 0.05);
}

.faq-question i {
  font-size: 1.3rem;
  color: #00f2ea;
  transition: transform 0.4s ease, color 0.3s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
  color: #ff0050;
}

.faq-question h3 {
  margin: 0;
  font-size: 1.15rem;
  color: #fff;
  font-weight: 700;
  line-height: 1.5;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), padding 0.5s ease;
  background: rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 1;
}

.faq-item.active .faq-answer {
  max-height: 600px;
  padding: 25px 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.faq-answer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  line-height: 1.8;
  font-weight: 400;
}

/* Responsive Design for FAQs */
@media (max-width: 768px) {
  .faq-section {
    padding: 50px 15px;
  }

  .faq-title {
    font-size: 2rem;
  }
  
  .faq-subtitle {
    font-size: 1rem;
  }

  .faq-items {
    gap: 15px;
  }
  
  .faq-question {
    padding: 20px;
    gap: 15px;
  }
  
  .faq-question h3 {
    font-size: 1rem;
  }

  .faq-question i {
    font-size: 1.1rem;
  }
  
  .faq-answer p {
    font-size: 0.95rem;
  }

  .faq-item.active .faq-answer {
    padding: 20px;
  }
}

/* ===================================
   Legal Notice Section
   =================================== */
.legal-notice-section {
  padding: 60px 20px;
  background: linear-gradient(135deg, rgba(255, 0, 80, 0.03), rgba(0, 242, 234, 0.03));
  position: relative;
  overflow: hidden;
}

.legal-notice-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(255, 0, 80, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(0, 242, 234, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.legal-notice-container {
  max-width: 900px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 40px;
  display: flex;
  align-items: center;
  gap: 30px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.legal-notice-container:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.15);
  border-color: rgba(255, 0, 80, 0.3);
}

.legal-notice-icon {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #ff0050, #ff4d94);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 
    0 10px 30px rgba(255, 0, 80, 0.3),
    inset 0 -2px 10px rgba(0, 0, 0, 0.2);
  position: relative;
  animation: pulse-icon 3s ease-in-out infinite;
}

.legal-notice-icon::after {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, #ff0050, #00f2ea);
  border-radius: 20px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.legal-notice-container:hover .legal-notice-icon::after {
  opacity: 1;
}

.legal-notice-icon i {
  font-size: 2.5rem;
  color: #fff;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.legal-notice-content {
  flex: 1;
}

.legal-notice-content p {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
  text-align: justify;
  font-weight: 400;
}

@keyframes pulse-icon {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .legal-notice-section {
    padding: 40px 15px;
  }

  .legal-notice-container {
    flex-direction: column;
    text-align: center;
    padding: 30px 25px;
    gap: 20px;
  }

  .legal-notice-icon {
    width: 70px;
    height: 70px;
  }

  .legal-notice-icon i {
    font-size: 2rem;
  }

  .legal-notice-content p {
    font-size: 1rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .legal-notice-container {
    padding: 25px 20px;
  }

  .legal-notice-icon {
    width: 60px;
    height: 60px;
  }

  .legal-notice-icon i {
    font-size: 1.8rem;
  }

  .legal-notice-content p {
    font-size: 0.95rem;
  }
}
