body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: #0f172a;
  color: #e2e8f0;
}

/* Container */
.container {
  max-width: 1200px;
  margin: auto;
  padding: 20px;
}

/* HEADER */
.header {
  background: rgba(15,23,42,0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.header-flex {
  display: flow;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 24px;
  font-weight: 800;
  color: white;
  text-decoration: none;
}

.logo span {
  color: #38bdf8;
}

.nav a {
  margin-left: 20px;
  color: #94a3b8;
  text-decoration: none;
  font-weight: 500;
}

.nav a.active,
.nav a:hover {
  color: white;
}

/* HERO */
.hero {
  text-align: center;
  padding: 5px 0;
}

.hero h1 {
  font-size: 48px;
  font-weight: 800;
}

.hero p {
  color: #94a3b8;
}

/* GRID */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px,1fr));
  gap: 30px;
}

/* CARD */
.card {
  background: #1e293b;
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  color: white;
  transition: 0.3s;
}

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

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-content {
  padding: 20px;
}

.badge {
  background: #38bdf8;
  padding: 4px 10px;
  border-radius: 10px;
  font-size: 12px;
}

.meta {
  font-size: 13px;
  color: #94a3b8;
  margin-top: 10px;
}

/* ARTICLE */
.article {
  max-width: 800px;
}

.article-img {
  width: 100%;
  border-radius: 15px;
  margin: 20px 0;
}

/* FOOTER */
.footer {
  background: #020617;
  margin-top: 60px;
  padding: 40px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 20px;
}

.footer a {
  display: block;
  color: #94a3b8;
  margin-top: 5px;
  text-decoration: none;
}

.footer a:hover {
  color: white;
}

.footer-logo {
  font-size: 20px;
  font-weight: 700;
}

.footer-desc {
  color: #94a3b8;
}

.copyright {
  text-align: center;
  margin-top: 20px;
  color: #64748b;
}
.page {
  max-width: 800px;
  margin: auto;
  line-height: 1.8;
}

.page h1 {
  font-size: 36px;
  margin-bottom: 20px;
}

.page h2 {
  margin-top: 30px;
  font-size: 22px;
}

.page p {
  color: #cbd5f5;
  margin-top: 10px;
}

.page a {
  color: #38bdf8;
}

.page ul {
  margin-top: 10px;
  padding-left: 20px;
}

.mode-switch {
  margin-bottom: 20px;
}

.mode-switch button {
  margin-right: 10px;
  padding: 8px 15px;
  background: #38bdf8;
  border: none;
  color: white;
  border-radius: 8px;
  cursor: pointer;
}

input, textarea {
  width: 100%;
  padding: 12px;
  margin-top: 10px;
  background: #1e293b;
  border: none;
  border-radius: 10px;
  color: white;
}

.btn {
  margin-top: 20px;
  padding: 12px;
  width: 100%;
  background: #38bdf8;
  border: none;
  color: white;
  border-radius: 10px;
}

.success-box {
  background: green;
  padding: 10px;
  margin-bottom: 15px;
}

.error-box {
  background: red;
  padding: 10px;
  margin-bottom: 15px;
}
#aiBox select {
  width: 100%;
  padding: 12px;
  margin-top: 10px;
  background: #1e293b;
  color: white;
  border: none;
  border-radius: 10px;
}