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

:root {
  --black: #000;
  --dark: #1a1a1a;
  --dark-header: #2d2d2d;
  --white: #fff;
  --gray-light: #f5f5f5;
  --gray: #e5e5e5;
  --text-dark: #212121;
  --text-body: #111;
  --green-link: #2e7d32;
  --blue-box: #1a73e8;
  --nav-height: 56px;
}

body {
  font-family: 'Lato', sans-serif;
  background: var(--white);
  color: var(--text-body);
  overflow-x: hidden;
  font-size: 16px;
  line-height: 1.7;
}

/* ===== NAV ===== */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  background: var(--black);
  z-index: 1000;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 20px;
}

.nav-logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.peacock-svg {
  width: 42px;
  height: 42px;
}

.nav-brand {
  color: var(--white);
  font-size: 14px;
  font-weight: 400;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 240px;
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 4px;
  margin: 0;
  padding: 0;
}

.nav-link {
  color: var(--white);
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  padding: 8px 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  transition: opacity 0.2s;
  opacity: 0.85;
}

.nav-link:hover,
.nav-link.active { opacity: 1; font-weight: 700; }

/* Dropdown */
.dropdown-wrap {
  position: relative;
  list-style: none;
}

.dropdown-toggle {
  user-select: none;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--black);
  list-style: none;
  min-width: 200px;
  padding: 4px 0;
  z-index: 999;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

.dropdown-menu li a {
  display: block;
  padding: 10px 18px;
  color: var(--white);
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s;
}

.dropdown-menu li a:hover { background: rgba(255,255,255,0.08); }

.dropdown-wrap:hover .dropdown-menu,
.dropdown-wrap.open .dropdown-menu { display: block; }

.nav-search-icon {
  color: var(--white);
  cursor: pointer;
  padding: 8px 8px;
  display: flex;
  align-items: center;
  opacity: 0.85;
  transition: opacity 0.2s;
}

.nav-search-icon:hover { opacity: 1; }

.hamburger {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 22px;
  cursor: pointer;
}

/* ===== HERO BLACK (Home) ===== */
.hero-black {
  margin-top: var(--nav-height);
  background: var(--black);
  min-height: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 24px 60px;
  position: relative;
  text-align: center;
}

.hero-black h1 {
  color: var(--white);
  font-size: 38px;
  font-weight: 700;
  letter-spacing: -0.3px;
  line-height: 1.2;
  margin-bottom: 30px;
  max-width: 860px;
}

.btn-hero {
  display: block;
  width: 100%;
  max-width: 800px;
  padding: 13px 30px;
  background: var(--white);
  color: var(--black);
  font-family: 'Lato', sans-serif;
  font-size: 15px;
  font-weight: 400;
  border: 1px solid #ccc;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: background 0.2s;
}

.btn-hero:hover { background: #eee; }

.hero-chevron {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
  opacity: 0.7;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(7px); }
}

/* ===== INNER PAGE HERO (dark gray with polygons) ===== */
.hero-inner {
  margin-top: var(--nav-height);
  background: #333;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 24px;
  position: relative;
  overflow: hidden;
}

.hero-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, #2a2a2a 0%, #3a3a3a 50%, #2a2a2a 100%);
}

/* Polygon shapes */
.hero-inner::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='280'%3E%3Cpolygon points='0,280 120,0 200,0 80,280' fill='rgba(255,255,255,0.04)'/%3E%3Cpolygon points='80,280 200,0 310,0 190,280' fill='rgba(255,255,255,0.03)'/%3E%3Cpolygon points='400,0 500,280 600,280 600,0' fill='rgba(255,255,255,0.04)'/%3E%3C/svg%3E");
  background-size: cover;
  background-position: center;
}

.hero-inner h1 {
  position: relative;
  z-index: 1;
  color: var(--white);
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.3px;
  line-height: 1.2;
  max-width: 800px;
}

/* ===== CONTENT BLOCKS ===== */
.content-block {
  padding: 36px 24px;
}

.content-block.white-bg {
  background: var(--white);
}

.content-block.dark-bg {
  background: var(--black);
  color: var(--white);
}

.content-block.centered {
  text-align: center;
}

.content-block p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-body);
  font-weight: 300;
  max-width: 840px;
}

.content-block.dark-bg p {
  color: var(--white);
  font-weight: 300;
}

.content-block h2 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.2px;
  color: inherit;
}

.content-block h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-body);
  margin-top: 22px;
  margin-bottom: 8px;
}

.content-block.dark-bg h3 {
  color: var(--white);
}

.content-block a.green-link {
  color: var(--green-link);
  text-decoration: none;
  font-family: monospace;
  font-size: 15px;
}

.content-block a.green-link:hover { text-decoration: underline; }

/* Steps */
.steps-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 840px;
}

.step-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--text-body);
}

.step-box {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 3px;
}

.blue-box { background: var(--blue-box); }

.step-box svg {
  width: 11px;
  height: 11px;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--black);
  color: rgba(255,255,255,0.55);
  padding: 30px 24px;
  text-align: center;
  font-size: 13px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 18px;
  margin-bottom: 14px;
}

.footer-links a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--white); }

.footer-copy {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-links.open { display: flex; flex-direction: column; position: absolute; top: var(--nav-height); left: 0; right: 0; background: var(--black); padding: 16px; gap: 0; }
  .hamburger { display: block; }
  .hero-black h1 { font-size: 26px; }
  .hero-inner h1 { font-size: 26px; }
}

@media (max-width: 600px) {
  .nav-brand { max-width: 160px; font-size: 12px; }
  .peacock-svg { width: 34px; height: 34px; }
}
