/* Base styles */
:root {
  --background: #0f172a;
  --background-darker: #0b1120;
  --foreground: #f8fafc;
  --primary: #60a5fa;
  --primary-hover: #3b82f6;
  --muted: #94a3b8;
  --border: #1e293b;
  --card-bg: rgba(255, 255, 255, 0.05);
  --card-border: rgba(255, 255, 255, 0.1);
  --radius: 0.75rem;
}

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

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans",
    "Helvetica Neue", sans-serif;
  color: var(--foreground);
  background-color: var(--background);
  line-height: 1.5;
  min-height: 100vh;
}

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

.relative {
  position: relative;
}

.min-h-screen {
  min-height: 100vh;
}

.bg-gradient {
  background: linear-gradient(135deg, #0f172a 0%, #0b1120 100%);
}

.bg-dark {
  background-color: var(--background);
}

.bg-darker {
  background-color: var(--background-darker);
}

.bg-gradient-dark {
  background: linear-gradient(to bottom, var(--background) 0%, var(--background-darker) 100%);
}

/* Navigation */
.sticky-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background-color: rgba(15, 23, 42, 0.7);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
}

.sticky-nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.title {
  font-weight: 700;
  font-size: 1.25rem;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.lang-switch {
  background: transparent;
  color: var(--primary);
  border: none;
  font-size: 0.875rem;
  cursor: pointer;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius);
  transition: color 0.2s;
}

.lang-switch:hover {
  color: var(--primary-hover);
}

/* Hero Section */
.hero-section {
  position: relative;
  padding: 5rem 0;
  overflow: hidden;
}

.bg-effects {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.gradient-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(37, 99, 235, 0.2), rgba(147, 51, 234, 0.2));
}

.blur-circle {
  position: absolute;
  width: 18rem;
  height: 18rem;
  border-radius: 50%;
  filter: blur(100px);
}

.top-left {
  top: 5rem;
  left: 5rem;
  background-color: rgba(37, 99, 235, 0.3);
}

.bottom-right {
  bottom: 5rem;
  right: 5rem;
  background-color: rgba(147, 51, 234, 0.3);
}

.hero-content {
  max-width: 64rem;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 10;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  background: linear-gradient(to right, #60a5fa, #a78bfa);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  color: #cbd5e1;
}

/* Glass Card */
.glass-card {
  backdrop-filter: blur(16px);
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem;
  border-radius: 0.5rem;
  background-color: rgba(255, 255, 255, 0.05);
  transition: background-color 0.3s;
}

.feature-item:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.feature-icon {
  margin-bottom: 0.5rem;
}

.feature-text {
  font-size: 0.875rem;
  font-weight: 500;
}

/* Content Sections */
.content-section {
  padding: 4rem 0;
}

.section-content {
  max-width: 64rem;
  margin: 0 auto;
}

.section-title {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 2rem;
  text-align: center;
  color: var(--primary);
}

.text-content {
  color: #cbd5e1;
  line-height: 1.75;
  margin-bottom: 1rem;
}

.text-content:last-child {
  margin-bottom: 0;
}

.mb-8 {
  margin-bottom: 2rem;
}

.grid-2col {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .grid-2col {
    grid-template-columns: repeat(2, 1fr);
  }
}

.card-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #93c5fd;
}

/* Lists */
.list-decimal {
  list-style-position: inside;
  counter-reset: item;
}

.list-decimal .list-item {
  margin-bottom: 0.5rem;
  color: #cbd5e1;
}

.list-decimal .list-item::before {
  content: counter(item) ". ";
  counter-increment: item;
  font-weight: 600;
  color: var(--primary);
}

.server-list {
  list-style: none;
}

.server-item {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
}

.server-icon {
  margin-right: 0.5rem;
  flex-shrink: 0;
}

.server-url {
  font-size: 0.875rem;
  color: #cbd5e1;
  word-break: break-all;
}

/* Quote */
.quote {
  border-left: 4px solid var(--primary);
  padding-left: 1rem;
  font-style: italic;
  color: #cbd5e1;
  margin-bottom: 1rem;
}

.quote-author {
  text-align: right;
  font-size: 0.875rem;
  color: var(--muted);
}

/* Footer */
.site-footer {
  padding: 2rem 0;
  background-color: var(--background);
  border-top: 1px solid var(--border);
}

.footer-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .footer-content {
    flex-direction: row;
  }
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .footer-logo {
    margin-bottom: 0;
  }
}

.footer-links {
  display: flex;
  gap: 1rem;
}

.footer-link {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  transition: color 0.2s;
}

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

.icon-small {
  width: 1rem;
  height: 1rem;
}

.copyright {
  text-align: center;
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 1.5rem;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

[data-aos="fade-up"] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s, transform 0.8s;
}

[data-aos="fade-up"].aos-animate {
  opacity: 1;
  transform: translateY(0);
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.6);
}

::-webkit-scrollbar-thumb {
  background: rgba(59, 130, 246, 0.5);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(59, 130, 246, 0.7);
}

/* Responsive adjustments */
@media (max-width: 640px) {
  .hero-title {
    font-size: 2.25rem;
  }

  .hero-subtitle {
    font-size: 1.125rem;
  }

  .section-title {
    font-size: 1.5rem;
  }
}

