/* styles.css */

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

:root {
  --bg-main: #050510;
  --bg-card: rgba(15, 15, 30, 0.9);
  --accent: #0044ff;
  --accent-soft: rgba(64, 32, 248, 0.2);
  --text-main: #f5f5f5;
  --text-muted: #9a9ab2;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --danger: #ff4b6a;
  --success: #4ade80;
  --font-main: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

html, body {
  height: 100%;
}

body {
  font-family: var(--font-main);
  background: radial-gradient(circle at top, #18182f 0, #050510 45%, #000 100%);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
}

/* ---------- Layout Basics ---------- */

.wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.5rem;
}

/* ---------- Navbar ---------- */

.navbar {
  border-bottom: 1px solid var(--border-subtle);
  backdrop-filter: blur(16px);
  background: linear-gradient(to bottom, rgba(5,5,16,0.9), rgba(5,5,16,0.6));
  position: sticky;
  top: 0;
  z-index: 20;
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-weight: 700;
  letter-spacing: 0.12em;
  font-size: 0.95rem;
  text-transform: uppercase;
}

.brand-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Nav Links */

.nav-links {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: 0.18s ease;
}

.nav-links a:hover {
  color: var(--text-main);
  border-color: var(--accent-soft);
  background: rgba(140, 91, 255, 0.08);
}

.nav-links a.cta {
  border-color: var(--accent);
  background: linear-gradient(120deg, #000000, #0044ff);
  color: #fff;
  font-weight: 500;
  box-shadow: 0 0 18px rgba(140, 91, 255, 0.45);
}

.nav-links a.cta:hover {
  transform: translateY(-1px);
}

/* ---------- Hero / Sections ---------- */

main {
  flex: 1;
}

.hero {
  padding: 3rem 0 2.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1.1fr);
  gap: 2rem;
  align-items: center;
}

.hero-kicker {
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  line-height: 1.08;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.hero-title span {
  background: linear-gradient(120deg, #0044ff, #0044ff);
  -webkit-background-clip: text;
  color: transparent;
}

.hero-sub {
  font-size: 0.98rem;
  color: var(--text-muted);
  max-width: 30rem;
  margin-bottom: 1.3rem;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.tag {
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  font-size: 0.75rem;
  color: var(--text-muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.9rem;
  text-decoration: none;
  cursor: pointer;
  transition: 0.18s ease;
}

.btn-primary {
  background: linear-gradient(120deg, #000000, #0044ff);
  color: #fff;
  border-color: var(--accent);
  box-shadow: 0 0 18px rgba(140, 91, 255, 0.4);
}

.btn-primary:hover {
  transform: translateY(-1px);
}

.btn-ghost {
  border-color: var(--border-subtle);
  color: var(--text-main);
  background: rgba(5,5,16,0.8);
}

.btn-ghost:hover {
  border-color: var(--accent-soft);
  background: rgba(15,15,30,0.9);
}

/* Hero Card */

.hero-card {
  background: radial-gradient(circle at top left, rgba(140,91,255,0.3), rgba(5,5,16,0.95));
  border-radius: 1.5rem;
  padding: 1.4rem 1.3rem;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 0 40px rgba(0,0,0,0.8);
}

.hero-card h3 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  margin-bottom: 0.7rem;
}

.hero-card p {
  font-size: 0.9rem;
  color: var(--text-main);
  margin-bottom: 1rem;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  font-size: 0.8rem;
}

.hero-meta-block {
  padding: 0.6rem 0.7rem;
  border-radius: 0.9rem;
  background: rgba(5,5,16,0.9);
  border: 1px solid var(--border-subtle);
}

.hero-meta-block span {
  display: block;
}

.hero-meta-label {
  color: var(--text-muted);
  font-size: 0.72rem;
  margin-bottom: 0.15rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.hero-meta-value {
  font-weight: 500;
}

/* ---------- Generic Sections ---------- */

.section {
  padding: 2.5rem 0 2.25rem;
}

.section-header {
  margin-bottom: 1.75rem;
}

.section-kicker {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.section-title {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.section-sub {
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 34rem;
}

/* Cards */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.card {
  background: var(--bg-card);
  border-radius: 1rem;
  padding: 1rem;
  border: 1px solid var(--border-subtle);
}

.card h3 {
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.card p {
  font-size: 0.86rem;
  color: var(--text-muted);
}

/* Lists */

.badge-list {
  margin-top: 0.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.badge {
  font-size: 0.75rem;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
}

/* ---------- Forms ---------- */

.form {
  max-width: 520px;
}

.form-row {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.form-group {
  margin-bottom: 0.9rem;
  flex: 1;
  min-width: 180px;
}

label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

input, textarea {
  width: 100%;
  padding: 0.55rem 0.7rem;
  border-radius: 0.6rem;
  border: 1px solid var(--border-subtle);
  background: rgba(5,5,16,0.85);
  color: var(--text-main);
  font-family: var(--font-main);
  font-size: 0.9rem;
}

textarea {
  min-height: 130px;
  resize: vertical;
}

input:focus, textarea:focus {
  outline: none;
  border-color: var(--accent);
}

/* ---------- Footer ---------- */

.footer {
  border-top: 1px solid var(--border-subtle);
  padding: 1.1rem 0 1.4rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ---------- Responsive ---------- */

@media (max-width: 768px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .nav-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.7rem;
  }
  .nav-links {
    flex-wrap: wrap;
  }
}
