:root {
  --bg-dark: #0a0a0a;
  --glass-bg: rgba(20, 20, 20, 0.6);
  --glass-border: rgba(255, 255, 255, 0.1);
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.6);
  --accent-red: #ff5f57;
  --accent-yellow: #febc2e;
  --accent-green: #28c840;
  --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: var(--font-main);
  background-color: var(--bg-dark);
  /* Pure dark background with a subtle glow from the bottom */
  background: radial-gradient(circle at 50% 150%, rgba(255, 255, 255, 0.08) 0%, rgba(10, 10, 10, 1) 70%);
  color: var(--text-primary);
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.window-container {
  width: 90%;
  max-width: 1000px;
  height: 600px;
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 10;
}

.window-header {
  height: 40px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo-container {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  pointer-events: none;
}

.logo-icon {
  width: 18px;
  height: 18px;
  color: var(--text-primary);
  opacity: 0.9;
}

.window-url {
  font-size: 12px;
  color: var(--text-secondary);
  letter-spacing: 0.5px;
}

.window-controls {
  display: flex;
  gap: 8px;
}

.control {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.red {
  background: var(--accent-red);
}

.yellow {
  background: var(--accent-yellow);
}

.green {
  background: var(--accent-green);
}

.window-url {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  color: var(--text-secondary);
  letter-spacing: 0.5px;
}

.nav-menu {
  margin-left: auto;
  display: flex;
  gap: 24px;
}

.nav-link {
  font-size: 10px;
  text-transform: uppercase;
  color: var(--text-secondary);
  text-decoration: none;
  letter-spacing: 1px;
  transition: color 0.2s;
}

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

.main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
  text-align: center;
  position: relative;
  overflow-y: auto;
  overflow-x: hidden;
}

/* Custom Scrollbar for premium feel */
.main-content::-webkit-scrollbar {
  width: 4px;
}

.main-content::-webkit-scrollbar-track {
  background: transparent;
}

.main-content::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}

.main-content::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.2);
}

.content-section {
  position: absolute;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition);
  width: 100%;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.content-section.active {
  position: relative;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.legal-text {
  text-align: left;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  width: 100%;
}

.legal-text h2 {
  color: var(--text-primary);
  font-size: 16px;
  margin: 24px 0 12px 0;
  font-weight: 600;
}

.title {
  font-size: 44px;
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.subtitle {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.nav-link.active {
  color: var(--text-primary);
  position: relative;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--text-primary);
}

.window-footer {
  height: 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 40px;
}

.legal-section {
  position: absolute;
  bottom: 24px;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.legal-link {
  font-size: 11px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}

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

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

.social-icon {
  fill: var(--text-secondary);
  width: 18px;
  height: 18px;
  transition: fill 0.2s;
}

.social-icon:hover {
  fill: var(--text-primary);
}

/* Mobile Adjustments */
@media (max-width: 768px) {
  .window-container {
    height: auto;
    min-height: 500px;
    padding-bottom: 40px;
  }

  .nav-menu {
    display: none;
  }

  .main-content {
    padding: 40px 30px;
  }

  .title {
    font-size: 32px;
  }
}