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

body {
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  background-color: #0d0e1a;
  color: #fff;
  overflow-x: hidden;
}

/* ── NAVIGATION ── */
#navigation {
  display: flex;
  align-items: center;
  padding: 14px 32px;
  background-color: #0d0e1a;
  border-bottom: 1px solid #1e2130;
  position: sticky;
  top: 0;
  z-index: 100;
}

#logo {
  background-image: url("/static/images/optimizely-logo.png");
  width: 150px;
  height: 36px;
  background-repeat: no-repeat;
  background-size: contain;
  margin-right: 32px;
  flex-shrink: 0;
}

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

.nav-button {
  background: none;
  border: none;
  color: #c8ccd8;
  padding: 8px 14px;
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: 4px;
  transition:
    color 0.2s,
    background 0.2s;
  white-space: nowrap;
}

.nav-button:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.nav-button.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.btn-login {
  color: #c8ccd8;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 4px;
  transition: color 0.2s;
}

.btn-login:hover {
  color: #fff;
}

.btn-get-started {
  background: linear-gradient(135deg, #6c3fff 0%, #9b5ef5 100%);
  color: #fff;
  padding: 9px 18px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  transition: opacity 0.2s;
}

.btn-get-started:hover {
  opacity: 0.88;
}

/* ── HERO ── */
.hero {
  background: linear-gradient(160deg, #3a1a8a 0%, #5b2fc7 35%, #7c42e8 60%, #2a1060 100%);
  padding: 90px 60px 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  min-height: 420px;
}

.hero-text {
  max-width: 520px;
}

.hero-text h1 {
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 28px;
  color: #fff;
}

.btn-hero {
  display: inline-block;
  background: #fff;
  color: #3a1a8a;
  padding: 12px 28px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  transition:
    background 0.2s,
    color 0.2s;
}

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

.hero-mockup {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 20px;
  min-width: 340px;
  max-width: 420px;
  backdrop-filter: blur(8px);
  flex-shrink: 0;
}

.hero-geo-image {
  width: 500px;
  height: auto;
  border-radius: 12px;
  flex-shrink: 0;
  object-fit: contain;
}

.mockup-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
}

.mockup-label {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.mockup-badge {
  margin-left: auto;
  background: #58de84;
  color: #0d0e1a;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 20px;
}

.mockup-lines {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mockup-line {
  height: 10px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.18);
}

.mockup-line.short {
  width: 55%;
}
.mockup-line.medium {
  width: 75%;
}
.mockup-line.long {
  width: 90%;
}

.mockup-nodes {
  display: flex;
  gap: 12px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.mockup-node {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
}

/* ── SECTION: Ready-to-use AI agents ── */
.section {
  padding: 80px 60px;
}

.section-dark {
  background-color: #0d0e1a;
}
.section-alt {
  background-color: #111220;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.section-header p {
  font-size: 1rem;
  color: #8a8fa8;
  max-width: 600px;
  margin: 0 auto;
}

.view-all-link {
  color: #7b5ef8;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 8px;
}

.view-all-link:hover {
  color: #9b7efa;
}

/* Agent cards grid */
.agents-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 32px;
}

.agent-card {
  background: #191b2e;
  border: 1px solid #252840;
  border-radius: 10px;
  padding: 22px 20px;
  transition:
    border-color 0.2s,
    transform 0.2s;
}

.agent-card:hover {
  border-color: #5b3fcc;
  transform: translateY(-2px);
}

.agent-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: linear-gradient(135deg, #4a28c8, #7b5ef8);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  font-size: 1rem;
}

.agent-card h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: #e8eaf5;
  margin-bottom: 8px;
}

.agent-card p {
  font-size: 0.8rem;
  color: #6b7090;
  line-height: 1.5;
}

/* ── SECTION: Wish list / automated ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  margin-top: 12px;
}

.feature-item h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #e8eaf5;
  margin-bottom: 10px;
}

.feature-item p {
  font-size: 0.83rem;
  color: #6b7090;
  line-height: 1.6;
}

.feature-item .feature-img {
  background: #191b2e;
  border: 1px solid #252840;
  border-radius: 8px;
  height: 90px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #3a3e5c;
  font-size: 0.75rem;
  overflow: hidden;
}

.section-intro {
  margin-bottom: 20px;
}

.section-intro h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.section-intro p {
  font-size: 0.9rem;
  color: #6b7090;
  max-width: 680px;
}

/* ── WHY OPAL ── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  margin-top: 40px;
}

.why-card {
  background: #191b2e;
  border: 1px solid #252840;
  border-radius: 12px;
  padding: 32px 28px;
}

.why-card .why-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1a3a8a, #2a5fd4);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 1.2rem;
}

.why-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #e8eaf5;
  margin-bottom: 10px;
}

.why-card p {
  font-size: 0.84rem;
  color: #6b7090;
  line-height: 1.65;
}

/* ── STEPS ── */
.steps-heading {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.steps-heading span {
  color: #58de84;
}

.steps-container {
  display: flex;
  flex-direction: column;
  gap: 80px;
  margin-top: 60px;
}

.step-row {
  display: flex;
  align-items: center;
  gap: 60px;
}

.step-row.reverse {
  flex-direction: row-reverse;
}

.step-text {
  flex: 1;
}

.step-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: #5b5f80;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.step-text h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
}

.step-text ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.step-text ul li {
  font-size: 0.9rem;
  color: #8a8fa8;
  padding-left: 18px;
  position: relative;
}

.step-text ul li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: #5b3fcc;
}

.step-mockup {
  flex: 1;
  background: #191b2e;
  border: 1px solid #252840;
  border-radius: 12px;
  padding: 28px;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.step-mockup-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.step-mockup-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, #3a1a8a, #6c3fff);
  flex-shrink: 0;
}

.step-mockup-text {
  flex: 1;
}

.step-mockup-bar {
  height: 8px;
  border-radius: 4px;
  background: #252840;
  margin-bottom: 6px;
}

.step-mockup-bar.w60 {
  width: 60%;
}
.step-mockup-bar.w80 {
  width: 80%;
}
.step-mockup-bar.w45 {
  width: 45%;
}
.step-mockup-bar.active {
  background: linear-gradient(90deg, #5b3fcc, #9b7efa);
}

/* ── UNDER THE HOOD ── */
.hood-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 40px;
}

.hood-item {
  background: linear-gradient(90deg, #5b3fcc 0%, #4a28aa 100%);
  border-radius: 10px;
  padding: 18px 24px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #fff;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hood-item-secondary {
  background: #191b2e;
  border: 1px solid #252840;
  border-radius: 10px;
  padding: 18px 24px;
  font-size: 0.9rem;
  color: #8a8fa8;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hood-chevron {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.5);
}

.hood-sub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.hood-sub-item {
  text-align: center;
  padding: 20px 16px;
}

.hood-sub-item .hood-sub-icon {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.hood-sub-item h4 {
  font-size: 0.88rem;
  font-weight: 600;
  color: #e8eaf5;
  margin-bottom: 6px;
}

.hood-sub-item p {
  font-size: 0.78rem;
  color: #5b5f80;
  line-height: 1.5;
}

/* ── CTA BANNER ── */
.cta-banner {
  background: #0d0e1a;
  padding: 80px 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 28px;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: "";
  position: absolute;
  bottom: -60px;
  left: -60px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(100, 180, 255, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.cta-bubble {
  background: #191b2e;
  border: 1px solid #2d3155;
  border-radius: 50px;
  padding: 18px 36px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.1rem;
  font-weight: 600;
  color: #e8eaf5;
}

.cta-bubble .cta-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #5b3fcc, #9b7efa);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.cta-banner p {
  font-size: 0.88rem;
  color: #5b5f80;
}

.btn-cta {
  display: inline-block;
  border: 1px solid #3a3e5c;
  color: #c8ccd8;
  padding: 11px 26px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  transition:
    border-color 0.2s,
    color 0.2s;
}

.btn-cta:hover {
  border-color: #7b5ef8;
  color: #fff;
}

/* ── FAQ ── */
.faq-section {
  padding: 80px 60px;
  background: #0d0e1a;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
}

.faq-heading {
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  align-self: start;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-item {
  border-bottom: 1px solid #1e2130;
  padding: 20px 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item:first-child {
  border-top: 1px solid #1e2130;
}

.faq-item span {
  font-size: 0.92rem;
  color: #c8ccd8;
}

.faq-plus {
  font-size: 1.3rem;
  color: #5b5f80;
  flex-shrink: 0;
  margin-left: 16px;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .hero {
    flex-direction: column;
    padding: 60px 24px;
  }
  .hero-mockup {
    min-width: unset;
    max-width: 100%;
    width: 100%;
  }
  .hero-geo-image {
    width: 100%;
    max-width: 800px;
  }
  .section {
    padding: 60px 24px;
  }
  .step-row,
  .step-row.reverse {
    flex-direction: column;
  }
  .faq-section {
    grid-template-columns: 1fr;
    padding: 60px 24px;
    gap: 32px;
  }
  .cta-banner {
    padding: 60px 24px;
  }
  #navigation {
    padding: 12px 20px;
  }
}

