* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  color: #1f2933;
  background-color: #f6f7fb;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

.layout {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: 260px;
  background-color: #101827;
  color: #f8fafc;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.logo {
  font-size: 20px;
  letter-spacing: 1px;
  text-transform: lowercase;
}

.ad-label {
  font-size: 12px;
  background-color: #1f2937;
  padding: 8px 10px;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 15px;
}

.nav-links a {
  padding: 6px 0;
}

.main {
  flex: 1;
  padding: 40px 56px 80px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.hero {
  display: flex;
  flex-direction: column;
  gap: 24px;
  background-color: #0f172a;
  color: #f8fafc;
  padding: 48px;
  border-radius: 28px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("https://images.unsplash.com/photo-1498050108023-c5249f4df085?w=1400&q=80");
  background-size: cover;
  background-position: center;
  opacity: 0.25;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.btn {
  background-color: #2563eb;
  color: #ffffff;
  padding: 12px 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  border: none;
}

.btn.secondary {
  background-color: #f8fafc;
  color: #0f172a;
}

.section {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 32px;
  background-color: #ffffff;
  border-radius: 22px;
}

.section.alt {
  background-color: #eef2ff;
}

.section.bg-archive {
  color: #f8fafc;
  background-color: #111827;
  background-image: url("https://images.unsplash.com/photo-1504384308090-c894fdcc538d?w=1400&q=80");
  background-size: cover;
  background-position: center;
}

.section.bg-archive .btn {
  background-color: #38bdf8;
  color: #0f172a;
}

.section.bg-insight {
  background-color: #0b1120;
  color: #f8fafc;
  background-image: url("https://images.unsplash.com/photo-1474631245212-32dc3c8310c6?w=1400&q=80");
  background-size: cover;
  background-position: center;
}

.split {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: center;
}

.split .col {
  flex: 1 1 280px;
}

.card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.card {
  flex: 1 1 220px;
  background-color: #f8fafc;
  border-radius: 18px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card img {
  width: 100%;
  height: 160px;
  border-radius: 12px;
  background-color: #dce4f7;
}

.price {
  font-weight: 700;
  font-size: 18px;
}

.inline-image {
  width: 100%;
  height: 320px;
  border-radius: 20px;
  background-color: #dbeafe;
}

.testimonial {
  padding: 18px;
  background-color: #fff7ed;
  border-radius: 16px;
}

.form-card {
  background-color: #0f172a;
  color: #f8fafc;
  padding: 28px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
}

input,
select,
textarea {
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #cbd5f5;
  font-size: 14px;
}

.sticky-cta {
  position: sticky;
  bottom: 20px;
  align-self: flex-start;
  background-color: #0f172a;
  color: #f8fafc;
  padding: 16px 20px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 14px;
  color: #475569;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cookie-banner {
  position: fixed;
  bottom: 20px;
  right: 20px;
  max-width: 360px;
  background-color: #ffffff;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.2);
  display: none;
  flex-direction: column;
  gap: 12px;
  z-index: 20;
}

.cookie-banner.show {
  display: flex;
}

.cookie-actions {
  display: flex;
  gap: 10px;
}

.cookie-actions button {
  flex: 1;
}

.banner-btn {
  background-color: #2563eb;
  color: #ffffff;
  padding: 10px 16px;
  border-radius: 999px;
  border: none;
}

.banner-btn.alt {
  background-color: #e2e8f0;
  color: #1e293b;
}

@media (max-width: 980px) {
  .layout {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
  }

  .nav-links {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .main {
    padding: 32px 24px 80px;
  }
}
