/* Root Variables */
:root {
  --primary-color: #6B4FBB;
  --secondary-color: #E67E73;
  --accent-color: #F9A826;
  --dark-bg: #1A1625;
  --dark-card: #2A2435;
  --dark-hover: #3A3445;
  --text-light: #E8E5F0;
  --text-muted: #B8B3C8;
}

/* Base Styles */
html {
  font-size: 16px;
  position: relative;
  min-height: 100%;
}

body {
  background: linear-gradient(180deg, var(--dark-bg) 0%, #0F0D15 100%);
  color: var(--text-light);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
  min-height: 100vh;
}

/* Navigation */
.navbar {
  background-color: rgba(26, 22, 37, 0.95) !important;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(107, 79, 187, 0.3);
  padding: 1rem 0;
}

.navbar-brand {
  color: var(--text-light) !important;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.navbar-brand:hover {
  color: var(--primary-color) !important;
}

.nav-link {
  color: var(--text-muted) !important;
  font-weight: 500;
  transition: color 0.3s ease;
  margin: 0 0.5rem;
}

.nav-link:hover {
  color: var(--primary-color) !important;
}

.nav-link.active {
  color: var(--text-light) !important;
}

/* Language Selector */
.language-selector {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.language-selector a {
  color: var(--text-muted);
  text-decoration: none;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.language-selector a:hover,
.language-selector a.active {
  color: var(--primary-color);
  background-color: rgba(107, 79, 187, 0.1);
}

/* Hero Section */
.hero-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, rgba(107, 79, 187, 0.1) 0%, rgba(230, 126, 115, 0.1) 100%);
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--text-light) 0%, var(--primary-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.hero-image {
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(107, 79, 187, 0.3);
}

/* Buttons */
.btn-primary {
  background: linear-gradient(135deg, var(--primary-color) 0%, #5339A3 100%);
  border: none;
  padding: 0.75rem 2rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(107, 79, 187, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(107, 79, 187, 0.6);
  background: linear-gradient(135deg, #5339A3 0%, var(--primary-color) 100%);
}

.btn-outline-light {
  border: 2px solid var(--text-light);
  color: var(--text-light);
  padding: 0.75rem 2rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.btn-outline-light:hover {
  background-color: var(--text-light);
  color: var(--dark-bg);
  transform: translateY(-2px);
}

.btn-success {
  background: linear-gradient(135deg, #4CAF50 0%, #388E3C 100%);
  border: none;
  padding: 0.75rem 2rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
}

/* Cards */
.card {
  background-color: var(--dark-card);
  border: 1px solid rgba(107, 79, 187, 0.2);
  border-radius: 15px;
  transition: all 0.3s ease;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(107, 79, 187, 0.3);
  border-color: rgba(107, 79, 187, 0.5);
}

.card-body {
  color: var(--text-light);
}

.card-title {
  color: var(--text-light);
  font-weight: 600;
}

.card-text {
  color: var(--text-muted);
}

/* Sections */
.use-cases-section,
.features-section,
.join-section,
.about-section,
.help-section,
.privacy-section {
  padding: 4rem 0;
}

.use-case-card {
  min-height: 350px;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.use-case-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(26, 22, 37, 0.95) 100%);
  z-index: 1;
}

.use-case-card .card-body {
  position: relative;
  z-index: 2;
  min-height: 150px;
}

.use-case-card img,
.card-img-top {
  height: 250px;
  object-fit: cover;
  border-bottom: 1px solid rgba(107, 79, 187, 0.2);
}

.card-img-placeholder svg,
.hero-image-placeholder svg {
  width: 100%;
  height: 100%;
}

.hero-image-placeholder {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(107, 79, 187, 0.3);
}

/* Features */
.feature-item {
    text-align: center;
    padding: 2rem 1rem;
    transition: all 0.3s ease;
    border-radius: 15px;
    background-color: var(--dark-card);
}

    .feature-item:hover {
        background-color: var(--dark-hover);
        transform: translateY(-5px);
    }

.feature-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.feature-icon i {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.feature-highlight {
  background: linear-gradient(135deg, rgba(107, 79, 187, 0.1) 0%, rgba(230, 126, 115, 0.1) 100%);
  padding: 2rem;
  border-radius: 15px;
  border: 1px solid rgba(107, 79, 187, 0.3);
}

/* Join Page */
.join-icon {
  font-size: 4rem;
  color: var(--accent-color);
}

.steps {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.step-item {
  text-align: center;
  max-width: 200px;
}

.step-number {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 1rem;
}

/* Help Page */
.help-item {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(107, 79, 187, 0.2);
}

.help-item:last-child {
  border-bottom: none;
}

.help-item h5 {
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.help-item p {
  color: var(--text-muted);
  margin-bottom: 0;
}


.privacy-icon {
    text-align: center;
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom:1rem;
}

/* Status Page */
.status-section {
  padding: 4rem 0;
}

.status-card {
  background: var(--dark-card);
  border: 1px solid rgba(107, 79, 187, 0.2);
}

.status-icon {
  font-size: 5rem;
  animation: pulse 2s ease-in-out infinite;
}

.status-icon.online {
  color: #4CAF50;
}

.status-icon.offline {
  color: #f44336;
}

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

.status-title {
  font-weight: 600;
}

.status-details {
  display: inline-block;
  text-align: left;
  padding: 1.5rem;
  background: rgba(107, 79, 187, 0.1);
  border-radius: 10px;
  margin-top: 1rem;
}

.status-detail-item {
  color: var(--text-light);
  font-size: 1.1rem;
}

/* Footer */
.footer {
  background-color: rgba(26, 22, 37, 0.95);
  border-top: 1px solid rgba(107, 79, 187, 0.3);
  padding: 2rem 0;
  margin-top: 4rem;
  color: var(--text-muted);
}

.footer a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

/* Responsive */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .app-buttons .btn {
    width: 100%;
    margin-bottom: 1rem;
  }
  
  .steps {
    gap: 2rem;
  }
}

/* Links */
a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--secondary-color);
}

/* Bootstrap Icons Integration */
.bi {
  vertical-align: middle;
}