/* Dark AI Theme */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, sans-serif;
  background: #0a0a0f;
  color: #e0e0e0;
  line-height: 1.6;
}

/* Domain Banner */
.domain-banner {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 40px 20px;
  text-align: center;
}

.domain-banner h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.cta-btn {
  background: #fff;
  color: #667eea;
  padding: 12px 30px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  margin-top: 15px;
}

/* Layout */
.layout {
  display: grid;
  grid-template-columns: 250px 1fr 250px;
  gap: 30px;
  max-width: 1400px;
  margin: 40px auto;
  padding: 0 20px;
}

/* Sidebar */
aside {
  background: #12121a;
  padding: 25px;
  border-radius: 12px;
  height: fit-content;
}

aside h3 {
  margin-bottom: 20px;
  color: #667eea;
}

/* Center Content */
.center-content {
  padding: 20px;
}

.topics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin: 30px 0;
}

.topics-grid a {
  background: #1a1a25;
  padding: 20px;
  text-align: center;
  border-radius: 10px;
  color: #e0e0e0;
  text-decoration: none;
  transition: all 0.3s;
}

.topics-grid a:hover {
  background: #667eea;
  transform: translateY(-3px);
}

/* Tools Section */
.tools-section {
  background: #12121a;
  padding: 50px 20px;
  margin: 40px 0;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1400px;
  margin: 30px auto;
}

.tools-grid a {
  background: #1a1a25;
  padding: 30px;
  text-align: center;
  border-radius: 12px;
  color: #e0e0e0;
  text-decoration: none;
}

.tools-grid a:hover {
  background: #764ba2;
}

/* Modal */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: #12121a;
  padding: 40px;
  border-radius: 15px;
  max-width: 500px;
}

.modal-content form {
  display: flex;
  gap: 15px;
  flex-direction: column;
  margin: 20px 0;
}

.modal-content input,
.modal-content textarea {
  padding: 12px;
  border: 1px solid #667eea;
  border-radius: 8px;
  background: #0a0a0f;
  color: #fff;
}

/* Mobile */
@media (max-width: 900px) {
  .layout {
    grid-template-columns: 1fr;
  }
  
  .topics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .tools-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .topics-grid {
    grid-template-columns: 1fr;
  }
  
  .tools-grid {
    grid-template-columns: 1fr;
  }
}