/* Index/Landing page styles */

body {
  background: linear-gradient(135deg, #0f0f1e 0%, #1a1a2e 25%, #16213e 50%, #0f3460 75%, #1a1a2e 100%);
  background-attachment: fixed;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
}

/* Grid background pattern */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(rgba(78, 201, 176, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(78, 201, 176, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
  z-index: 0;
}

.container {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Navigation */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(78, 201, 176, 0.1);
}

.logo {
  font-size: 24px;
  font-weight: 700;
  color: #4ec9b0;
  text-decoration: none;
}

nav .nav-right {
  display: flex;
  gap: 25px;
  align-items: center;
}

nav a {
  color: #e0e0e0;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
}

nav a:hover {
  color: #4ec9b0;
}

.btn-login {
  background: #4ec9b0;
  color: #ffffff;
  padding: 8px 20px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.btn-login:hover {
  background: #3ab895;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(78, 201, 176, 0.3);
}

/* Hero Section */
main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 40px;
}

.hero-content {
  text-align: center;
  max-width: 900px;
  width: 100%;
}

.hero-content h1 {
  font-size: 54px;
  font-weight: 700;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #4ec9b0, #a0e4cb);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.hero-content > p {
  font-size: 18px;
  color: #a0a0a0;
  margin-bottom: 40px;
  line-height: 1.6;
}

.cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-bottom: 60px;
}

.btn-primary {
  background: #4ec9b0;
  color: #000;
  padding: 14px 40px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: #3ab895;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(78, 201, 176, 0.2);
}

.btn-secondary {
  background: transparent;
  color: #4ec9b0;
  padding: 14px 40px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  border: 2px solid #4ec9b0;
  transition: all 0.3s;
  cursor: pointer;
}

.btn-secondary:hover {
  background: rgba(78, 201, 176, 0.1);
}

/* Features Grid */
.features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
  margin-top: 80px;
  padding-top: 60px;
  border-top: 1px solid rgba(78, 201, 176, 0.2);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.feature-card {
  padding: 30px;
  background: rgba(37, 37, 38, 0.5);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(78, 201, 176, 0.1);
  border-radius: 8px;
  transition: all 0.3s;
}

.feature-card:hover {
  border-color: rgba(78, 201, 176, 0.4);
  background: rgba(37, 37, 38, 0.8);
  transform: translateY(-5px);
}

.feature-card h3 {
  color: #4ec9b0;
  font-size: 18px;
  margin-bottom: 10px;
  text-align: left;
}

.feature-card p {
  color: #a0a0a0;
  font-size: 14px;
  line-height: 1.6;
  text-align: left;
}

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 60px;
  padding: 40px;
  background: rgba(78, 201, 176, 0.05);
  border: 1px solid rgba(78, 201, 176, 0.2);
  border-radius: 8px;
}

.stat {
  text-align: center;
}

.stat-number {
  font-size: 36px;
  font-weight: 700;
  color: #4ec9b0;
  margin-bottom: 8px;
}

.stat-label {
  color: #a0a0a0;
  font-size: 14px;
}

/* Modules Section */
.modules {
  margin-top: 80px;
  padding-top: 60px;
  border-top: 1px solid rgba(78, 201, 176, 0.2);
}

.modules h2 {
  font-size: 36px;
  font-weight: 700;
  color: #4ec9b0;
  margin-bottom: 40px;
  text-align: center;
}

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

.module-card {
  padding: 35px;
  background: rgba(37, 37, 38, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(78, 201, 176, 0.2);
  border-radius: 10px;
  transition: all 0.3s;
}

.module-card:hover {
  border-color: rgba(78, 201, 176, 0.5);
  background: rgba(37, 37, 38, 0.9);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(78, 201, 176, 0.15);
}

.module-card h3 {
  color: #4ec9b0;
  font-size: 22px;
  margin-bottom: 15px;
  font-weight: 600;
}

.module-card p {
  color: #a0a0a0;
  font-size: 15px;
  line-height: 1.7;
}

/* Demo GIF Section */
.demo-section {
  margin: 60px 0;
  padding: 40px;
  background: rgba(37, 37, 38, 0.4);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(78, 201, 176, 0.2);
  border-radius: 12px;
}

.demo-section h2 {
  font-size: 28px;
  font-weight: 700;
  color: #4ec9b0;
  margin-bottom: 20px;
  text-align: center;
}

.demo-gif-container {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  border: 2px solid rgba(78, 201, 176, 0.3);
}

.demo-gif-container img,
.demo-gif-container video {
  width: 100%;
  height: auto;
  display: block;
}

.demo-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, rgba(78, 201, 176, 0.1), rgba(78, 201, 176, 0.05));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4ec9b0;
  font-size: 18px;
  border: 2px dashed rgba(78, 201, 176, 0.3);
}

/* Footer */
footer {
  padding: 30px 40px;
  text-align: right;
  color: #858585;
  font-size: 13px;
  border-top: 1px solid rgba(78, 201, 176, 0.1);
  background: rgba(0, 0, 0, 0.2);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 32px;
  }

  nav {
    flex-direction: column;
    gap: 15px;
  }

  nav .nav-right {
    flex-direction: column;
    width: 100%;
  }

  nav a, .btn-login {
    width: 100%;
    text-align: center;
  }

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

  .stats {
    grid-template-columns: 1fr;
  }

  .features {
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  .modules-grid {
    grid-template-columns: 1fr;
  }

  .demo-section {
    padding: 20px;
    margin: 40px 0;
  }

  .demo-section h2 {
    font-size: 24px;
  }

  .demo-gif-container {
    max-width: 100%;
  }

  footer {
    text-align: center;
  }
}
