/* Stylesheet for TikVerse Single Page Homepage */

.home-body {
  margin: 0;
  padding: 0;
  background-color: #0b0c10;
  color: #f2f2f2;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  overflow-x: hidden;
}

h1, h2, h3, h4, .logo-text {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Navbar */
.home-navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(15, 17, 23, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.home-nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.home-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.5px;
}

.logo-accent {
  background: linear-gradient(135deg, #00f2fe 0%, #7c5cff 50%, #fe2c55 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.home-nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.home-nav-links a {
  color: #a0a7ba;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.home-nav-links a:hover {
  color: #ffffff;
}

.home-nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.home-lang-select {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #e0e0e0;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.85rem;
  cursor: pointer;
}

.btn-primary-home {
  background: linear-gradient(135deg, #7c5cff 0%, #fe2c55 100%);
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(124, 92, 255, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary-home:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(124, 92, 255, 0.5);
}

/* Hero Section */
.hero-section {
  position: relative;
  padding: 160px 24px 100px 24px;
  text-align: center;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.25;
  pointer-events: none;
}

.hero-glow-1 {
  width: 500px;
  height: 500px;
  background: #7c5cff;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
}

.hero-glow-2 {
  width: 400px;
  height: 400px;
  background: #fe2c55;
  top: 100px;
  right: 10%;
}

.hero-container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(124, 92, 255, 0.12);
  border: 1px solid rgba(124, 92, 255, 0.3);
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 0.85rem;
  color: #b6a3ff;
  font-weight: 600;
  margin-bottom: 24px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background-color: #00f2fe;
  border-radius: 50%;
  box-shadow: 0 0 10px #00f2fe;
  animation: pulse-dot 1.5s infinite;
}

@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 20px 0;
  letter-spacing: -1px;
}

.gradient-text {
  background: linear-gradient(135deg, #00f2fe 0%, #7c5cff 50%, #fe2c55 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: #a0a7ba;
  line-height: 1.6;
  margin: 0 auto 36px auto;
  max-width: 750px;
}

.hero-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 60px;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #7c5cff 0%, #fe2c55 100%);
  color: #ffffff;
  padding: 16px 32px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(124, 92, 255, 0.4);
  transition: all 0.25s ease;
}

.btn-hero-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(124, 92, 255, 0.6);
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  padding: 16px 32px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 1.05rem;
  text-decoration: none;
  backdrop-filter: blur(10px);
  transition: all 0.25s ease;
}

.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
}

/* Stats Bar */
.hero-stats-bar {
  display: flex;
  align-items: center;
  justify-content: space-around;
  background: rgba(23, 26, 35, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  padding: 24px;
  border-radius: 20px;
  max-width: 850px;
  margin: 0 auto;
}

.stat-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.stat-number {
  font-size: 1.6rem;
  font-weight: 800;
  color: #00f2fe;
}

.stat-label {
  font-size: 0.85rem;
  color: #8b8fa0;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
}

/* Section Shared */
.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-tag {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: #fe2c55;
}

.section-title {
  font-size: 2.4rem;
  font-weight: 800;
  margin: 8px 0 12px 0;
  letter-spacing: -0.5px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: #8b8fa0;
  max-width: 600px;
  margin: 0 auto;
}

/* Features Grid */
.features-section {
  padding: 100px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

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

.feature-card {
  background: rgba(23, 26, 35, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 18px;
  padding: 28px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(124, 92, 255, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  background: rgba(23, 26, 35, 0.9);
}

.feature-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  background: rgba(255, 255, 255, 0.05);
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 10px 0;
  color: #ffffff;
}

.feature-card p {
  font-size: 0.95rem;
  color: #9aa0ac;
  line-height: 1.6;
  margin: 0;
}

.feature-card code {
  background: rgba(124, 92, 255, 0.2);
  color: #b6a3ff;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.85rem;
}

.highlight-card {
  border-color: rgba(254, 44, 85, 0.4);
  background: linear-gradient(135deg, rgba(23, 26, 35, 0.9) 0%, rgba(36, 28, 58, 0.8) 100%);
}

/* Simulator Section */
.simulator-section {
  padding: 100px 24px;
  background: rgba(15, 17, 23, 0.8);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.simulator-container {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 30px;
  align-items: start;
}

.sim-controls {
  background: rgba(23, 26, 35, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 24px;
}

.sim-controls h4 {
  margin: 0 0 16px 0;
  font-size: 1rem;
  color: #d5d8e0;
}

.sim-btn-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sim-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #f2f2f2;
  padding: 12px 16px;
  border-radius: 10px;
  text-align: left;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.sim-btn:hover {
  background: rgba(124, 92, 255, 0.2);
  border-color: #7c5cff;
  color: #ffffff;
}

.sim-screen-wrap {
  background: #000000;
  border: 2px solid #262a37;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
}

.sim-screen-header {
  background: #171a23;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid #262a37;
}

.sim-dots {
  display: flex;
  gap: 6px;
}

.sim-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot-red { background: #ff5f56; }
.dot-yellow { background: #ffbd2e; }
.dot-green { background: #27c93f; }

.sim-screen-title {
  font-size: 0.8rem;
  color: #8b8fa0;
  font-weight: 600;
}

.sim-screen-body {
  position: relative;
  min-height: 400px;
  background: radial-gradient(circle at center, #1b1e2a 0%, #090a0f 100%);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Virtual Alert Box */
.sim-alert-box {
  display: flex;
  align-items: center;
  gap: 16px;
  background: linear-gradient(135deg, rgba(36, 28, 58, 0.95) 0%, rgba(23, 26, 35, 0.95) 100%);
  border: 2px solid #7c5cff;
  padding: 16px 20px;
  border-radius: 16px;
  max-width: 450px;
  box-shadow: 0 10px 30px rgba(124, 92, 255, 0.4);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.sim-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 2px solid #fe2c55;
  object-fit: cover;
}

.sim-alert-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sim-alert-title {
  font-size: 1rem;
  color: #ffffff;
}

.sim-alert-sub {
  font-size: 0.85rem;
  color: #b6a3ff;
}

/* Virtual Music Widget */
.sim-music-widget {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(23, 26, 35, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 10px 14px;
  border-radius: 12px;
  width: max-content;
}

.sim-music-thumb {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: cover;
}

.sim-music-info {
  display: flex;
  flex-direction: column;
}

.sim-music-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #ffffff;
}

.sim-music-req {
  font-size: 0.75rem;
  color: #8b8fa0;
}

/* Virtual Ranking Card */
.sim-ranking-card {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 260px;
  background: rgba(23, 26, 35, 0.85);
  border: 1px solid rgba(124, 92, 255, 0.3);
  border-radius: 14px;
  padding: 16px;
}

.sim-ranking-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 8px;
}

.sim-ranking-title {
  font-size: 0.8rem;
  font-weight: 800;
  color: #ffd700;
}

.sim-ranking-period {
  font-size: 0.7rem;
  background: rgba(255, 215, 0, 0.15);
  color: #ffd700;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 700;
}

.sim-ranking-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sim-ranking-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
}

.sim-rank {
  font-weight: 800;
  color: #7c5cff;
  width: 20px;
}

.sim-avatar-mini {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid #7c5cff;
}

.sim-name {
  flex: 1;
  color: #d5d8e0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sim-score {
  font-weight: 700;
  color: #00f2fe;
}

/* Steps Section */
.setup-section {
  padding: 100px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

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

.step-card {
  background: rgba(23, 26, 35, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 36px 28px;
  position: relative;
}

.step-number {
  width: 46px;
  height: 46px;
  background: linear-gradient(135deg, #7c5cff, #fe2c55);
  color: #ffffff;
  font-size: 1.4rem;
  font-weight: 800;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.step-card h3 {
  font-size: 1.25rem;
  margin: 0 0 12px 0;
}

.step-card p {
  color: #8b8fa0;
  line-height: 1.6;
  margin: 0;
}

/* FAQ Section */
.faq-section {
  padding: 100px 24px;
  max-width: 800px;
  margin: 0 auto;
}

.faq-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: rgba(23, 26, 35, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 18px 24px;
}

.faq-item summary {
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  outline: none;
  color: #f2f2f2;
}

.faq-item summary:hover {
  color: #00f2fe;
}

.faq-item p {
  margin: 12px 0 0 0;
  color: #9aa0ac;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* CTA Section */
.cta-section {
  padding: 80px 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.cta-card {
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.25) 0%, rgba(254, 44, 85, 0.25) 100%);
  border: 1px solid rgba(124, 92, 255, 0.4);
  border-radius: 24px;
  padding: 60px 40px;
  text-align: center;
  backdrop-filter: blur(16px);
}

.cta-card h2 {
  font-size: 2.2rem;
  margin: 0 0 12px 0;
}

.cta-card p {
  font-size: 1.1rem;
  color: #d5d8e0;
  margin: 0 0 30px 0;
}

.btn-cta-large {
  display: inline-block;
  background: linear-gradient(135deg, #7c5cff 0%, #fe2c55 100%);
  color: #ffffff;
  padding: 18px 40px;
  border-radius: 16px;
  font-weight: 800;
  font-size: 1.1rem;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(254, 44, 85, 0.4);
  transition: transform 0.25s ease;
}

.btn-cta-large:hover {
  transform: translateY(-3px);
}

/* Subscription price at the end of the home page */
.home-pricing {
  padding: 0 24px 90px;
  max-width: 760px;
  margin: 0 auto;
}

.pricing-card {
  text-align: center;
  padding: 48px 32px;
  border: 1px solid rgba(0, 242, 254, 0.28);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(0, 242, 254, 0.10), rgba(124, 92, 255, 0.18), rgba(254, 44, 85, 0.10));
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.24);
}

.pricing-tag {
  color: #00f2fe;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 1.8px;
}

.pricing-card h2 {
  margin: 12px 0;
  font-size: 2rem;
}

.pricing-card p {
  color: #b4bac8;
  line-height: 1.6;
  margin: 0 auto 20px;
  max-width: 550px;
}

.pricing-value {
  margin: 18px 0 28px;
  color: #fff;
}

.pricing-value span {
  color: #00f2fe;
  font-family: 'Outfit', sans-serif;
  font-size: 3rem;
  font-weight: 800;
}

.pricing-value small {
  color: #aab1c2;
  font-size: 1rem;
  margin-left: 6px;
}

/* Footer */
.home-footer {
  background: #07080b;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 60px 24px 30px 24px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;

}

.footer-brand p {
  color: #676c7a;
  font-size: 0.9rem;
  margin-top: 8px;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: #9aa0ac;
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 24px;
  color: #676c7a;
  font-size: 0.85rem;
}

/* Responsive Breakpoints */
@media (max-width: 868px) {
  .hero-title { font-size: 2.4rem; }
  .simulator-container { grid-template-columns: 1fr; }
  .sim-ranking-card { position: relative; top: 0; right: 0; width: 100%; margin-top: 20px; }
  .home-nav-links { display: none; }
  .hero-stats-bar { flex-direction: column; gap: 16px; }
  .stat-divider { width: 100%; height: 1px; }
  .pricing-card { padding: 38px 22px; }
  .pricing-card h2 { font-size: 1.65rem; }
}
