:root {
  --bg: #0b1224;
  --bg-alt: #121a30;
  --card: #141f3b;
  --text: #e8edf5;
  --muted: #a5b1c8;
  --accent: #ffd24d;
  --accent-strong: #f7b731;
  --line: rgba(255, 255, 255, 0.08);
  --shadow: 0 20px 40px rgba(4, 8, 22, 0.45);
  --radius: 18px;
}

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

body {
  font-family: "Space Grotesk", "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  background: radial-gradient(circle at top, #16243f 0%, #0a1224 55%, #05090f 100%);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.page-hero {
  position: relative;
  padding: 32px 0 120px;
  background-image: linear-gradient(120deg, rgba(7, 11, 21, 0.85), rgba(8, 12, 25, 0.45)), var(--hero-image);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(255, 210, 77, 0.15), transparent 55%);
  pointer-events: none;
}

.navbar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  font-family: "Bebas Neue", "Oswald", "Impact", sans-serif;
  font-size: 32px;
  letter-spacing: 1.5px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo span {
  color: var(--accent);
}

.nav-links {
  display: flex;
  gap: 22px;
  align-items: center;
}

.nav-links a {
  font-size: 15px;
  color: var(--muted);
  transition: color 0.2s ease;
  display: block;
  width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: rgba(8, 12, 25, 0.6);
  color: var(--text);
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 14px;
}

.hero-content {
  position: relative;
  z-index: 2;
  margin-top: 80px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 32px;
  align-items: center;
}

.hero-title {
  font-family: "Bodoni 72", "Playfair Display", serif;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.05;
  letter-spacing: 0.5px;
}

.hero-title span {
  color: var(--accent);
}

.hero-subtitle {
  margin-top: 18px;
  color: var(--muted);
  font-size: 16px;
}

.hero-actions {
  margin-top: 28px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  background: linear-gradient(120deg, var(--accent) 0%, var(--accent-strong) 100%);
  color: #0c1224;
  box-shadow: 0 14px 30px rgba(255, 210, 77, 0.2);
}

.btn-secondary {
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(10, 18, 36, 0.6);
  color: var(--text);
}

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

.hero-card {
  background: rgba(13, 20, 38, 0.75);
  border-radius: var(--radius);
  padding: 20px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(6px);
}

.hero-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.hero-card ul {
  list-style: none;
  display: grid;
  gap: 10px;
}

.hero-card li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
}

.hero-card li::before {
  content: "•";
  color: var(--accent);
}

.section {
  padding: 80px 0;
}

.section-title {
  font-family: "Bodoni 72", "Playfair Display", serif;
  font-size: 32px;
  margin-bottom: 12px;
}

.section-subtitle {
  color: var(--muted);
  margin-bottom: 32px;
}

.feature-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.feature-card {
  background: var(--card);
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.feature-card h4 {
  font-size: 18px;
  margin-bottom: 10px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 210, 77, 0.4);
  color: var(--accent);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

.card {
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card img {
  height: 180px;
  object-fit: cover;
}

.card-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.card-meta {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 13px;
}

.card h3 {
  font-size: 18px;
  line-height: 1.3;
}

.card p {
  color: var(--muted);
  font-size: 14px;
}

.tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 210, 77, 0.12);
  color: var(--accent);
  font-size: 12px;
}

.listing-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.filter-btn {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(10, 18, 36, 0.7);
  color: var(--muted);
  font-size: 13px;
  cursor: pointer;
}

.filter-btn.active {
  border-color: rgba(255, 210, 77, 0.5);
  color: var(--accent);
}

.pagination {
  margin-top: 28px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.pagination button {
  background: rgba(10, 18, 36, 0.7);
  border: 1px solid var(--line);
  color: var(--muted);
  padding: 8px 12px;
  border-radius: 10px;
  cursor: pointer;
}

.pagination button.active {
  color: #0c1224;
  background: var(--accent);
  border-color: var(--accent);
}

.highlight-section {
  background: linear-gradient(120deg, rgba(255, 210, 77, 0.12), rgba(10, 18, 36, 0.2));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

.price-card {
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 24px;
  box-shadow: var(--shadow);
}

.price-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.price {
  font-size: 32px;
  color: var(--accent);
  margin-bottom: 12px;
}

.form-grid {
  display: grid;
  gap: 16px;
}

.form-grid input,
.form-grid textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(8, 12, 25, 0.7);
  color: var(--text);
}

.form-grid textarea {
  min-height: 140px;
  resize: vertical;
}

.post-body {
  display: grid;
  gap: 18px;
  color: var(--muted);
}

.post-body h2 {
  color: var(--text);
  font-size: 22px;
}

.post-nav {
  margin-top: 32px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.post-nav a {
  border: 1px solid var(--line);
  padding: 10px 14px;
  border-radius: 12px;
  color: var(--muted);
}

.footer {
  padding: 40px 0;
  border-top: 1px solid var(--line);
  background: rgba(7, 11, 21, 0.7);
}

.footer-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.footer p,
.footer a {
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 900px) {
  .hero-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: fixed;
    top: 72px;
    right: 16px;
    background: rgba(9, 14, 28, 0.95);
    flex-direction: column;
    align-items: flex-start;
    padding: 16px;
    border-radius: 14px;
    border: 1px solid var(--line);
    min-width: 180px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    z-index: 20;
  }

  body.nav-open .nav-links {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .hero-content {
    margin-top: 56px;
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  animation: fadeUp 0.6s ease forwards;
}
