/* Components */

/* Navigation */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  background: rgba(9, 30, 55, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
}

.nav-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 16px;
}

.logo-img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
}

.logo-text {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.lang-toggle {
  padding: 10px 20px;
  background: var(--card-bg);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  color: white;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.lang-toggle:hover {
  background: var(--secondary);
  border-color: var(--secondary);
  transform: translateY(-2px);
}

/* Buttons */
.btn-primary {
  padding: 16px 32px;
  background: var(--secondary);
  color: white;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 24px rgba(72, 149, 239, 0.3);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary:hover {
  background: #3a7fd9;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(72, 149, 239, 0.4);
}

.btn-secondary {
  padding: 16px 32px;
  background: transparent;
  color: white;
  font-size: 16px;
  font-weight: 600;
  border: 2px solid var(--border-subtle);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-secondary:hover {
  border-color: var(--secondary);
  background: rgba(72, 149, 239, 0.1);
  transform: translateY(-2px);
}

/* Badges */
.hero-badge,
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(6, 214, 160, 0.1);
  border: 1px solid rgba(6, 214, 160, 0.3);
  border-radius: 100px;
  color: var(--accent-green);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
}

.section-badge {
  font-size: 12px;
  padding: 6px 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}

/* Cards */
.feature-card {
  padding: 32px 24px;
  background: var(--card-bg);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
}

.feature-card:hover {
  border-color: var(--secondary);
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(72, 149, 239, 0.12);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(72, 149, 239, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin: 0 auto 16px;
}

.feature-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-description {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Comparison Cards */
.comparison-card {
  padding: 40px;
  background: var(--card-bg);
  border: 2px solid var(--border-subtle);
  border-radius: 24px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.comparison-card.winner {
  border-color: var(--accent-green);
  background: rgba(6, 214, 160, 0.05);
}

.comparison-card.loser {
  opacity: 0.6;
}

.comparison-card:hover {
  transform: translateY(-4px);
}

.comparison-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin-bottom: 24px;
}

.winner .comparison-icon {
  background: rgba(6, 214, 160, 0.15);
}

.loser .comparison-icon {
  background: rgba(239, 68, 68, 0.15);
}

.comparison-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
}

.comparison-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.comparison-points li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 16px;
  line-height: 1.6;
}

.winner .comparison-points li::before {
  content: "✓";
  color: var(--accent-green);
  font-weight: 700;
  font-size: 18px;
}

.loser .comparison-points li::before {
  content: "✗";
  color: #ef4444;
  font-weight: 700;
  font-size: 18px;
}

/* Download Cards */
.download-card {
  padding: 32px;
  background: var(--card-bg);
  border: 2px solid var(--border-subtle);
  border-radius: 20px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  text-decoration: none;
  color: white;
  display: block;
}

.download-card:hover {
  border-color: var(--secondary);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(72, 149, 239, 0.2);
}

.download-card.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  border-color: #475569;
}

.download-card.disabled:hover {
  transform: none;
  box-shadow: none;
}

.download-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.platform-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  background: rgba(72, 149, 239, 0.1);
}

.download-status {
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status-available {
  background: rgba(6, 214, 160, 0.15);
  color: var(--accent-green);
}

.status-soon {
  background: rgba(255, 184, 0, 0.15);
  color: #ffb800;
}

.download-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.download-subtitle {
  font-size: 14px;
  color: var(--text-muted);
}

.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 24px;
}

.store-badge {
  height: 48px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  filter: brightness(0.9);
}

.store-badge:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

/* Developer Profile Modal */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.modal.active {
  display: flex;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
}

.modal-content {
  position: relative;
  z-index: 1001;
  max-width: 500px;
  width: 90%;
  margin: 20px;
  animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.developer-profile {
  background: linear-gradient(135deg, #1a2f4a 0%, #0d1929 100%);
  border: 2px solid var(--border-subtle);
  border-radius: 24px;
  padding: 48px 32px;
  text-align: center;
}

.developer-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 4px solid var(--secondary);
  margin: 0 auto 24px;
  display: block;
  object-fit: cover;
}

.developer-name {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 8px;
  color: white;
}

.developer-title {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.developer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.dev-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px 16px;
  background: rgba(72, 149, 239, 0.1);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  color: white;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.dev-link:hover {
  background: rgba(72, 149, 239, 0.2);
  border-color: var(--secondary);
  transform: translateY(-4px);
}

.dev-link svg, .dev-link img {
  width: 32px;
  height: 32px;
}

.modal-close {
  width: 100%;
  padding: 16px;
  background: var(--secondary);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-close:hover {
  background: #3a7fd9;
  transform: translateY(-2px);
}
