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

:root {
  --primary-color: #f8b500;
  --secondary-color: #1e1e1e;
  --accent-color: #e63946;
  --text-color: #333333;
  --light-text: #ffffff;
  --background-color: #f8f9fa;
  --card-bg: #ffffff;
  --border-color: #e6e6e6;
  --gradient-start: #f8b500;
  --gradient-end: #ff8c00;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

body {
  font-family: "Poppins", sans-serif;
  color: var(--text-color);
  background-color: var(--background-color);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 15px;
}

p {
  margin-bottom: 20px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  background-color: var(--primary-color);
  color: var(--secondary-color);
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  border: none;
  outline: none;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-primary {
  background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
  color: var(--light-text);
}

.btn-secondary {
  background-color: var(--secondary-color);
  color: var(--light-text);
}

.btn-login {
  padding: 8px 16px;
  background-color: transparent;
  color: var(--light-text);
  border: 1px solid var(--light-text);
}

.btn-register {
  padding: 8px 16px;
  background-color: var(--primary-color);
  color: var(--secondary-color);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 14px;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 18px;
}

.btn i {
  margin-right: 8px;
}

/* Header */
.header {
  background-color: rgba(0, 0, 0, 0.8);
  padding: 15px 0;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  transition: var(--transition);
  backdrop-filter: blur(10px);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 40px;
}

.header-buttons {
  display: flex;
  gap: 10px;
}

/* Preloader */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #000000;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}

.preloader-content {
  text-align: center;
}

.logo-container {
  margin-bottom: 20px;
}

.preloader-logo {
  width: 150px;
  animation: pulseLogo 2s infinite;
}

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

.loading-text {
  color: white;
  font-size: 16px;
  margin-top: 20px;
  position: relative;
}

.loading-text span {
  display: inline-block;
  position: relative;
}

.loading-text span::after {
  content: "";
  display: block;
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
  animation: loadingBar 2s infinite;
}

@keyframes loadingBar {
  0% {
    width: 0;
  }
  50% {
    width: 100%;
  }
  100% {
    width: 0;
  }
}

/* Hero Section */
.hero-section {
  position: relative;
  padding: 150px 0 100px;
  background-color: var(--secondary-color);
  color: var(--light-text);
  overflow: hidden;
  isolation: isolate;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
}

.hero-text {
  max-width: 600px;
  text-align: center;
}

.hero-title {
  font-size: 48px;
  margin-bottom: 20px;
  background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-description {
  font-size: 18px;
  margin-bottom: 30px;
  opacity: 0.9;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.hero-shape-1,
.hero-shape-2,
.hero-shape-3 {
  position: absolute;
  border-radius: 50%;
  opacity: 0.1;
}

.hero-shape-1 {
  width: 300px;
  height: 300px;
  background: var(--gradient-start);
  top: -100px;
  right: -100px;
}

.hero-shape-2 {
  width: 200px;
  height: 200px;
  background: var(--gradient-end);
  bottom: -50px;
  left: -50px;
}

.hero-shape-3 {
  width: 150px;
  height: 150px;
  background: var(--accent-color);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 60px;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 32px;
  font-weight: 700;
  color: var(--primary-color);
}

.stat-label {
  font-size: 14px;
  opacity: 0.8;
}

/* Features Section */
.features-section {
  padding: 80px 0;
  background-color: var(--background-color);
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-title {
  font-size: 36px;
  margin-bottom: 15px;
  color: var(--secondary-color);
}

.section-subtitle {
  font-size: 18px;
  color: var(--text-color);
  opacity: 0.8;
  max-width: 600px;
  margin: 0 auto;
}

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

.feature-card {
  background-color: var(--card-bg);
  padding: 30px;
  border-radius: 15px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-10px);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

.feature-icon i {
  font-size: 24px;
  color: var(--light-text);
}

.feature-title {
  font-size: 20px;
  margin-bottom: 10px;
}

.feature-description {
  font-size: 15px;
  margin-bottom: 15px;
  opacity: 0.8;
}

.feature-link {
  color: var(--primary-color);
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
}

.feature-link i {
  margin-left: 5px;
  transition: var(--transition);
}

.feature-link:hover i {
  transform: translateX(5px);
}

/* About Section */
.about-section {
  padding: 80px 0;
  background-color: var(--card-bg);
}

.about-content {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
}

.about-text {
  max-width: 600px;
}

.about-list {
  margin: 20px 0;
  list-style-type: none;
}

.about-list li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.about-list li i {
  color: var(--primary-color);
  margin-right: 10px;
}

.cta-button {
  margin-top: 30px;
}

/* Download Section */
.download-section {
  padding: 80px 0;
  background: linear-gradient(to right, var(--secondary-color), #2d2d2d);
  color: var(--light-text);
}

.download-section .section-title,
.download-section .section-subtitle {
  color: var(--light-text);
}

.download-content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
}

.download-text {
  max-width: 600px;
}

.download-steps {
  margin-bottom: 40px;
}

.step {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.step-icon {
  width: 50px;
  height: 50px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.step-icon i {
  font-size: 20px;
}

.step-number {
  position: absolute;
  top: -5px;
  right: -5px;
  width: 20px;
  height: 20px;
  background-color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--secondary-color);
}

.step-content {
  flex: 1;
}

.step-title {
  font-size: 18px;
  margin-bottom: 5px;
}

.step-description {
  font-size: 14px;
  opacity: 0.8;
}

.download-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

/* Footer */
.footer {
  background-color: var(--secondary-color);
  color: var(--light-text);
  padding: 60px 0 0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  flex: 1;
  min-width: 200px;
}

.footer-logo img {
  height: 40px;
  margin-bottom: 15px;
}

.footer-description {
  font-size: 14px;
  opacity: 0.8;
  margin-bottom: 20px;
}

.footer-social {
  flex: 1;
  min-width: 200px;
}

.footer-title {
  font-size: 18px;
  margin-bottom: 20px;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icon {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: var(--transition);
}

.social-icon:hover {
  background-color: var(--primary-color);
  color: var(--secondary-color);
}

.footer-bottom {
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.copyright {
  font-size: 14px;
  opacity: 0.8;
}

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

.footer-links a {
  font-size: 14px;
  opacity: 0.8;
  transition: var(--transition);
}

.footer-links a:hover {
  opacity: 1;
  color: var(--primary-color);
}

/* Bottom Navigation */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.9);
  display: flex;
  justify-content: space-around;
  padding: 10px 0;
  z-index: 100;
  backdrop-filter: blur(10px);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  transition: var(--transition);
}

.bottom-nav-item i {
  font-size: 20px;
  margin-bottom: 5px;
}

.bottom-nav-item.active {
  color: var(--primary-color);
}

/* Tutorial Popup */
.tutorial-popup {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.tutorial-popup.active {
  opacity: 1;
  visibility: visible;
}

.tutorial-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
}

.tutorial-content {
  position: relative;
  width: 90%;
  max-width: 800px;
  background-color: var(--card-bg);
  border-radius: 15px;
  overflow: hidden;
  z-index: 2;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}

.tutorial-header {
  background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.tutorial-header h2 {
  color: var(--light-text);
  margin: 0;
}

.close-tutorial {
  background: none;
  border: none;
  color: var(--light-text);
  font-size: 24px;
  cursor: pointer;
}

.tutorial-tabs {
  display: flex;
  background-color: #f5f5f5;
  border-bottom: 1px solid var(--border-color);
}

.tab-button {
  padding: 15px 30px;
  background: none;
  border: none;
  font-weight: 600;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: var(--transition);
}

.tab-button.active {
  border-bottom-color: var(--primary-color);
  color: var(--primary-color);
}

.tutorial-body {
  padding: 30px;
  overflow-y: auto;
  flex: 1;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.tutorial-steps {
  margin-bottom: 30px;
}

.tutorial-step {
  display: flex;
  margin-bottom: 20px;
  align-items: flex-start;
}

.tutorial-step .step-number {
  width: 30px;
  height: 30px;
  background-color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 700;
  color: var(--secondary-color);
  margin-right: 15px;
  flex-shrink: 0;
}

.tutorial-step .step-content {
  display: flex;
  gap: 15px;
  align-items: center;
}

.tutorial-step .step-icon {
  width: 50px;
  height: 50px;
  background-color: #f5f5f5;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 24px;
  color: var(--secondary-color);
  flex-shrink: 0;
}

.tutorial-step .step-text h3 {
  font-size: 18px;
  margin-bottom: 5px;
}

.tutorial-step .step-text p {
  font-size: 14px;
  color: #666;
}

.tutorial-footer {
  padding: 20px;
  background-color: #f5f5f5;
  text-align: center;
  border-top: 1px solid var(--border-color);
}

/* Media Queries */
@media (max-width: 768px) {
  .hero-title {
    font-size: 36px;
  }

  .hero-description {
    font-size: 16px;
  }

  .section-title {
    font-size: 30px;
  }

  .about-content {
    flex-direction: column;
  }

  .download-content {
    flex-direction: column;
  }

  .footer-content {
    flex-direction: column;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }

  .tutorial-step .step-content {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 28px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .feature-card {
    padding: 20px;
  }

  .step {
    flex-direction: column;
  }

  .tab-button {
    padding: 10px 15px;
    font-size: 14px;
  }
}

