
/* style.css */

:root {

  --bg: #08111f;
  --bg-secondary: #0d1726;

  --card: #101c2d;

  --text: #f8fafc;
  --muted: #b6c2d1;

  --primary: #3b82f6;
  --primary-dark: #2563eb;

  --secondary: #06b6d4;

  --border: #1e293b;

  --radius: 20px;

  --shadow:
    0 20px 60px rgba(0,0,0,0.35);

}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {

  font-family: 'Inter', sans-serif;

  background:
    radial-gradient(
      circle at top left,
      rgba(59,130,246,0.10),
      transparent 30%
    ),

    radial-gradient(
      circle at bottom right,
      rgba(6,182,212,0.08),
      transparent 30%
    ),

    var(--bg);

  color: var(--text);

  line-height: 1.8;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {

  width: min(1180px, 92%);

  margin: auto;
}

/* HEADER */

.site-header {

  position: sticky;

  top: 0;

  z-index: 1000;

  background: rgba(8,17,31,0.92);

  backdrop-filter: blur(12px);

  border-bottom: 1px solid var(--border);
}

.site-header .container {

  display: flex;

  justify-content: space-between;

  align-items: center;

  padding: 1rem 0;
}

.logo {

  font-size: 1.4rem;

  font-weight: 800;

  color: var(--primary);

  display: flex;

  align-items: center;

  gap: 0.7rem;
}

nav {

  display: flex;

  gap: 1.5rem;

  flex-wrap: wrap;
}

nav a {

  color: var(--muted);

  transition: 0.25s;
}

nav a:hover {
  color: var(--primary);
}

/* HERO */

.hero {

  text-align: center;

  padding: 6rem 0 4rem;
}

.hero-badge {

  display: inline-block;

  margin-bottom: 1.5rem;

  padding: 0.5rem 1rem;

  border-radius: 999px;

  background: rgba(59,130,246,0.12);

  border: 1px solid rgba(59,130,246,0.2);

  color: #93c5fd;

  font-size: 0.8rem;

  letter-spacing: 1px;
}

.hero h1 {

  font-size: clamp(2.5rem, 6vw, 5rem);

  line-height: 1.1;

  margin-bottom: 1rem;

  font-weight: 800;
}

.article-content * {
  color: var(--text) !important;
  background-color: inherit !important;
}

.hero p {

  color: var(--muted);

  font-size: 1.15rem;

  max-width: 800px;

  margin: auto;
}

/* BUTTONS */

.hero-buttons {

  display: flex;

  gap: 1rem;

  justify-content: center;

  margin-top: 2rem;

  flex-wrap: wrap;
}

.btn-primary {

  background: linear-gradient(
    135deg,
    var(--primary),
    var(--primary-dark)
  );

  color: white;

  padding: 1rem 1.6rem;

  border-radius: 14px;

  font-weight: 700;

  transition: 0.25s;
}

.btn-primary:hover {

  transform: translateY(-2px);
}

.btn-secondary {

  border: 1px solid var(--border);

  padding: 1rem 1.6rem;

  border-radius: 14px;

  color: var(--text);

  background: rgba(255,255,255,0.03);
}

/* DASHBOARD */

.dashboard-grid {

  display: grid;

  grid-template-columns:
    repeat(auto-fit, minmax(260px, 1fr));

  gap: 1.5rem;

  margin-bottom: 4rem;
}

.dashboard-card {

  background: rgba(16,28,45,0.9);

  border: 1px solid var(--border);

  border-radius: var(--radius);

  padding: 2rem;

  transition: 0.25s;

  box-shadow: var(--shadow);
}

.dashboard-card:hover {

  transform: translateY(-6px);

  border-color: var(--primary);
}

.dashboard-icon {

  font-size: 2rem;

  margin-bottom: 1rem;

  color: var(--primary);
}

.dashboard-card h3 {

  margin-bottom: 0.8rem;
}

.dashboard-card p {

  color: var(--muted);
}

/* FEATURED */

.featured {

  margin-bottom: 4rem;
}

.featured-content {

  background:
    linear-gradient(
      135deg,
      rgba(59,130,246,0.10),
      rgba(6,182,212,0.08)
    );

  border: 1px solid var(--border);

  border-radius: var(--radius);

  padding: 3rem;
}

.featured-badge {

  display: inline-block;

  margin-bottom: 1rem;

  color: #93c5fd;

  font-size: 0.85rem;

  letter-spacing: 1px;
}

.featured h2 {

  font-size: clamp(2rem, 5vw, 3rem);

  margin-bottom: 1rem;
}

.featured p {

  color: var(--muted);

  max-width: 700px;
}

/* ARTICLES */

.articles-grid {

  display: grid;

  grid-template-columns:
    repeat(auto-fit, minmax(320px, 1fr));

  gap: 2rem;

  padding-bottom: 5rem;
}

.card {

  background: var(--card);

  border: 1px solid var(--border);

  border-radius: var(--radius);

  overflow: hidden;

  transition: 0.25s;

  box-shadow: var(--shadow);
}

.card:hover {

  transform: translateY(-8px);

  border-color: var(--primary);
}

.card img {

  width: 100%;

  height: 240px;

  object-fit: cover;
}

.card-content {

  padding: 1.5rem;
}

.tracking-tags {

  display: flex;

  gap: 0.5rem;

  flex-wrap: wrap;

  margin-bottom: 1rem;
}

.tracking-tags span {

  background:
    rgba(59,130,246,0.12);

  color: #93c5fd;

  padding: 0.35rem 0.8rem;

  border-radius: 999px;

  font-size: 0.75rem;

  border:
    1px solid rgba(59,130,246,0.2);
}

.category {

  display: inline-block;

  margin-bottom: 1rem;

  padding: 0.4rem 0.8rem;

  border-radius: 999px;

  font-size: 0.82rem;

  background: rgba(6,182,212,0.12);

  color: #67e8f9;
}

.card h3 {

  font-size: 1.4rem;

  margin-bottom: 1rem;

  line-height: 1.3;
}

.card h3 a:hover {
  color: var(--primary);
}

.card p {

  color: var(--muted);

  margin-bottom: 1.2rem;
}

.meta {

  display: flex;

  gap: 1rem;

  flex-wrap: wrap;

  color: var(--muted);

  font-size: 0.9rem;
}

/* ARTICLE */

.article-page {

  padding: 3rem 0 5rem;
}

.article-layout {

  display: grid;

  grid-template-columns: 1fr 320px;

  gap: 2rem;
}

.article {

  background: var(--bg-secondary);

  border: 1px solid var(--border);

  border-radius: var(--radius);

  overflow: hidden;

  box-shadow: var(--shadow);
}

.article-image {

  width: 100%;

  height: 480px;

  object-fit: cover;
}

.article-header {

  padding: 2.5rem 2.5rem 1rem;
}

.article-header h1 {

  font-size: clamp(2rem, 5vw, 3.5rem);

  line-height: 1.1;

  margin: 1rem 0;

  font-weight: 800;
}

.status-badge {

  display: inline-block;

  padding: 0.6rem 1rem;

  border-radius: 999px;

  font-size: 0.85rem;

  font-weight: 700;

  margin-bottom: 1.5rem;
}

.status-badge.active {

  background:
    rgba(59,130,246,0.15);

  color: #93c5fd;
}

.article-content {

  padding: 0 2.5rem 3rem;

  font-size: 1.1rem;

  line-height: 2;

  color: var(--text);
}

.article-content h1,
.article-content h2,
.article-content h3,
.article-content h4 {

  color: #ffffff;
}

.article-content a {

  color: var(--primary);
}

.article-content p {

  margin-bottom: 1.5rem;
}

.article-content ul,
.article-content ol {

  padding-left: 1.5rem;

  margin-bottom: 1.5rem;
}

/* SIDEBAR */

.sidebar {

  position: sticky;

  top: 100px;

  height: fit-content;
}

.sidebar-box {

  background: var(--card);

  border: 1px solid var(--border);

  border-radius: var(--radius);

  padding: 1.5rem;

  margin-bottom: 1.5rem;
}

.sidebar-box h3 {

  margin-bottom: 1rem;
}

.sidebar-box ul {

  list-style: none;
}

.sidebar-box li {

  padding: 0.7rem 0;

  border-bottom:
    1px solid rgba(255,255,255,0.05);

  color: var(--muted);
}

/* FOOTER */

.site-footer {

  border-top: 1px solid var(--border);

  background: #050b14;

  padding: 2rem 0;

  text-align: center;

  color: var(--muted);
}

/* MOBILE */

@media (max-width: 900px) {

  .article-layout {

    grid-template-columns: 1fr;
  }

  .sidebar {

    position: relative;

    top: auto;
  }

}

@media (max-width: 768px) {

  .site-header .container {

    flex-direction: column;

    gap: 1rem;
  }

  nav {

    justify-content: center;
  }

  .article-image {

    height: 260px;
  }

  .article-header,
  .article-content {

    padding-left: 1.2rem;
    padding-right: 1.2rem;
  }

}

