/* ==========================================
   AINumeric Design System v1.0
   ========================================== */

:root {
  --bg-main: #0B1220;
  --bg-dark: #050A14;
  --bg-card: #111827;
  --bg-highlight: #07111F;

  --border: #374151;

  --green: #00C853;
  --green-soft: #4CAF50;

  --text-main: #F9FAFB;
  --text-body: #D1D5DB;
  --text-muted: #9CA3AF;

  --shadow: rgba(0, 0, 0, 0.35);
}

/* Base */

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg-main);
  color: var(--text-body);
}

a {
  color: var(--green);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Header */

header {
  background: var(--bg-dark);
  border-bottom: 1px solid var(--border);
  padding: 18px 7%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand,
.site-logo {
  font-size: 28px;
  font-weight: bold;
  color: var(--green);
  text-decoration: none;
}

.logo {
  max-height: 44px;
}

/* Navigation */

nav a,
.site-nav a,
.dropbtn {
  color: var(--text-main);
  text-decoration: none;
  margin-left: 24px;
  font-size: 15px;
  background: none;
  border: none;
  cursor: pointer;
}

nav a:hover,
.site-nav a:hover,
.dropbtn:hover {
  color: var(--green);
  text-decoration: none;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav li {
  display: inline-block;
}

/* Dropdown */

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  right: 0;
  background: var(--bg-card);
  min-width: 220px;
  border: 1px solid var(--border);
  z-index: 10;
}

.dropdown-content a {
  display: block;
  margin: 0;
  padding: 12px 16px;
  color: var(--text-main);
  text-align: left;
}

.dropdown-content a:hover {
  background: #1F2937;
  color: var(--green);
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* Hero */

.hero {
  padding: 90px 7% 70px;
  background: linear-gradient(
    135deg,
    var(--bg-main) 0%,
    var(--bg-card) 60%,
    var(--bg-main) 100%
  );
}

.hero h1 {
  font-size: 52px;
  line-height: 1.15;
  margin: 0 0 22px;
  color: var(--text-main);
}

.hero h1 span {
  color: var(--green);
}

.hero p {
  max-width: 880px;
  font-size: 19px;
  line-height: 1.7;
  color: var(--text-body);
}

.hero-actions {
  margin-top: 34px;
}

/* Sections */

section {
  padding: 60px 7%;
}

.highlight {
  background: var(--bg-highlight);
  border-top: 1px solid #1F2937;
  border-bottom: 1px solid #1F2937;
}

.section-title {
  font-size: 34px;
  color: var(--text-main);
  margin-bottom: 12px;
}

.section-subtitle {
  color: var(--text-muted);
  max-width: 850px;
  line-height: 1.7;
  margin-bottom: 35px;
}

/* Cards */

.card-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.card {
  width: 48%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 30px;
  margin-bottom: 28px;
  box-sizing: border-box;
  transition: all 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 25px var(--shadow);
}

.card h3 {
  color: var(--green);
  margin-top: 0;
  font-size: 22px;
}

.card p {
  color: var(--text-body);
  line-height: 1.8;
  font-size: 16px;
}

/* Buttons */

.btn {
  display: inline-block;
  padding: 13px 24px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  margin-right: 12px;
}

.btn-primary {
  background: var(--green);
  color: #06110A;
}

.btn-secondary {
  border: 1px solid var(--green);
  color: var(--green);
}

.btn:hover {
  text-decoration: none;
  opacity: 0.9;
}

/* Tables */

table {
  width: 100%;
  border-collapse: collapse;
  color: var(--text-body);
}

th {
  color: var(--green);
  text-align: left;
  border-bottom: 1px solid var(--border);
  padding: 12px;
}

td {
  border-bottom: 1px solid #1F2937;
  padding: 12px;
}

tr:hover {
  background: #111827;
}

/* Footer */

footer {
  background: var(--bg-dark);
  border-top: 1px solid var(--border);
  padding: 30px 7%;
  color: var(--text-muted);
  font-size: 14px;
}

footer a {
  color: var(--green);
}

/* Responsive */

@media screen and (max-width: 900px) {
  header {
    display: block;
  }

  nav,
  .site-nav {
    margin-top: 18px;
  }

  nav a,
  .site-nav a,
  .dropbtn {
    display: inline-block;
    margin-left: 0;
    margin-right: 18px;
    margin-bottom: 10px;
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero p {
    font-size: 17px;
  }

  .card {
    width: 100%;
  }
}